# Patent

## Title
Method and system for providing remote access to a state of an application program

## Abstract

A method and system for providing remote access to a state of an application executing on a remote server. A client computer includes a client remote access program that is used to connect to a server remote access program. At the client computer, a client difference program having encoded data indicative of a change of a state of the application last received from the server computer is generated and transmitted to the server remote access program. At the server computer, the client difference program is executed to update the state of the application and a server difference program is generated having encoded a difference between the updated state of the application and the state of the application last sent to the client computer. The server difference program is transmitted to the client computer to update the state of the application since it was last received from the server computer.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 14/450,491 filed Aug. 4, 2014, entitled “METHOD AND SYSTEM FOR PROVIDING REMOTE ACCESS TO A STATE OF AN APPLICATION PROGRAM,” which is a continuation of U.S. patent application Ser. No. 12/592,473, filed Nov. 25, 2009, entitled “METHOD AND SYSTEM FOR PROVIDING REMOTE ACCESS TO A STATE OF AN APPLICATION PROGRAM,” now U.S. Pat. No. 8,799,354, and claims the benefit of priority to U.S. Provisional Patent Application No. 61/193,423 filed Nov. 26, 2008. The disclosure of each of the aforementioned patent applications is incorporated herein by reference in its entirety.


FIELD OF THE INVENTION
The instant invention relates to computer networking and in particular to a method and system for providing remote access to a state of an application via a computer network.
BACKGROUND
Healthcare institutions, such as hospitals and diagnostic clinics, utilize information systems such as Hospital Information Systems (HIS), Radiology Information Systems (RIS), Clinical Information Systems (CIS), Picture Archive and Communication Systems (P ACS), Library Information Systems (LIS), Electronic Medical Records (EMR), to name a few. Information stored and processed in such systems includes, for example, patient medical histories, imaging data, test results, diagnosis information, management information, and scheduling information. The information is stored centrally or divided at a plurality of locations of a computer network—typically comprising a client-server architecture. Healthcare practitioners access the patient information or other information at various time instants and locations using sophisticated software application programs to gather, analyze, manipulate, and store data.
For example, using a PACS workstation a radiologist performs an image reading for a diagnosis based on content of diagnostic images and reports the results electronically in a patient application file. Because of the large volume of data and intensive computing requirements, the software used to perform this task typically requires dedicated workstation hardware and high bandwidth network access to the diagnostic images. As a consequence, there is limited or no access to the diagnostic information and analysis capability off-site from the P ACS workstation. This limits the ability of radiologists, technicians, and other specialists who are not on-site to be able to gain access to the necessary software and data to provide timely diagnosis, for example, in an urgent situation.
Presently, this problem is typically overcome by providing remote network access to the screen or console of the workstation hardware, or by downloading sensitive data such as, for example, diagnostic data, to a remote system. In the first case, remote access software does not have any special knowledge of the application programs that are executed and are not able to optimize the presentation of the display of the application program to the user based on the state of the application program—resulting in inefficient use of network bandwidth and poor performance for the remote user. In the second case, the transmission of patient related information to an uncontrolled remote site is a security risk for such sensitive information, and furthermore, in the case of diagnostic imaging data, requires transmission of large amounts of information which is beyond the capacity of many networks.
SUMMARY OF EMBODIMENTS OF THE INVENTION
In accordance with embodiments of the present invention there is provided a method for providing remote access to a state of an application. The method may include providing remote access to an application program being executed on a server computing device by establishing over a network, a remote connection at the server computing device with a client computing device to enable the remote access to the application program; communicating, over the remote connection, a difference program containing data representing a change in a state of the application made by either execution of the application program or the client computing device, the difference program capturing changes in the state of the application program since the state of the application was last received by the server computing device or the client computing device; and synchronizing, between the server computing device and the client computing device, the change in the state of the application using the difference program.
Other systems, methods, features and/or advantages will be or may become apparent to one with skill in the art upon examination of the following drawings and detailed description. It is intended that all such additional systems, methods, features and/or advantages be included within this description and be protected by the accompanying claims.



BRIEF DESCRIPTION OF THE DRAWINGS
Exemplary embodiments of the invention will now be described in conjunction with the following drawings, in which:
FIG. 1 is a simplified block diagram of a system for providing remote access to a state of an application according to a preferred embodiment of the invention;
FIGS. 2 to 4 are simplified flow diagrams of a method for providing remote access to a state of an application according to a preferred embodiment of the invention;
FIG. 5 is a simplified flow diagram of a preferred implementation of the method for providing remote access to a state of an application illustrated in FIG. 2; and
FIG. 6 is a simplified flow diagram of another implementation of the method for providing remote access to a state of an application illustrated in FIG. 2.



DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. Although any methods and materials similar or equivalent to those described herein can be used in the practice or testing of the present invention, the preferred methods and materials are now described.
While embodiments of the invention will be described for patient application files in a clinical environment only for the sake of simplicity, it will become evident to those skilled in the art that the embodiments of the invention are not limited thereto, but are applicable in numerous other fields where users remotely access a state of an application program via a computer network.
Referring to FIG. 1, a system 100 for providing remote access to the state of an application according to a preferred embodiment of the invention is shown. The system comprises a plurality of client computers 110A, 110B—for example, workstations, personal computers, laptop computers, and/or wireless handheld devices—connected via a communication network 108 to a server computer 102—for example, a central computer or a high performance workstation. For example, in a clinical environment numerous tasks executed on the system 100 are related to: viewing medical images of a patient and entering a diagnostic report into a respective patient application file; and for entering other information such as scheduling information of the patient's appointments with medical practitioners. The communication network 108 comprises, for example, a Local Area Network (LAN) connecting the client computers with one or more server computers within an organization such as, for example, a hospital. Alternatively, the communication network 108 comprises a Wide Area Network (WAN) or the Internet connecting client computers of various organizations such as, for example, hospitals, diagnostic clinics, and family physicians offices.
In the system 100 an application program for performing an application associated therewith is executed on processor 104 of the server computer 102, for example, by executing executable commands stored in memory 106. For example, applications enable: viewing and modifying of medical images, viewing and modifying of a patient file, entering a diagnostic report, and scheduling a patient's appointments. A state of an application is changed, for example, when a user changes information in a patient file or requests a different view of a medical image.
For example, using the system 100 a radiologist is enabled to perform an image reading for a diagnosis by remotely accessing an imaging application executed on a dedicated P ACS workstation and to enter a report into a patient file by remotely accessing a patient file application.
Typically, an application such as, for example, the patient file application is processed at different client computers 110A, 110B connected via the communication network 108 to the server computer 102. For example, at client computer 110B a medical practitioner enters his diagnosis of a medical image into the patient application file while at client computer 110A a health care worker enters scheduling information for an appointment into the patient application file. The processing of the same patient file application at two different client computers 110A, 110B results in different states of the patient file application.
The system 100 provides remote access as well as synchronizes the states of an application by executing a method for providing remote access to the state of an application according to embodiments of the invention, as will be described herein below. The method for providing remote access to the state of an application is performed, for example, by executing a remote access program on processors 112A, 112B. For example, the remote access program is performed by executing executable commands stored in memory 114A, 114B. The remote access program is in communication with a remote server access program executed on the processor 104 of the server computer 102, which is in communication with the application program. Alternatively, the remote access program is in direct communication with the application program. When performing the method for providing remote access to the state of an application, the processor of the server computer 102 communicates with respective processors 112A, 112B of the client computers 110A, 110B using standard communication protocols such as, for example, Hyper Text Transfer Protocol (HTTP)—of the communication network 108, which are well known to those skilled in the art.
In the method for providing remote access to the state of an application, “view data” of the state of the application are generated and transmitted in a fashion according to hardware capabilities of the client computer—for example, processing capacity, memory size, type of graphical display, and type of user interface. For example, “view data” generated and transmitted for a personal computer are different from “view data” generated and transmitted for a wireless handheld device. For example, during a remote access a user modifies data of a patient file. First, “view data” indicative of the data of the patient file are generated at the server computer and transmitted to the client computer where the “view data” are displayed. The user using a user interface of the client computer then provides data indicative of a change of data of the patient file as “view data” which are then encoded and transmitted to the server computer. The server computer then changes the state of the application in dependence upon the data indicative of a change provided by the user and the application then stores data in dependence thereupon in the patient file stored in a database. Using “view data” enables presentation of the state of an application without transmitting sensitive and/or voluminous diagnostic data and avoids replicating of the application's data processing on the client computer.
Referring to FIG. 2, a method for providing remote access to the state of an application according to a preferred embodiment of the invention is shown. At the server computer 102 an application program for performing an application associated therewith is executed—10—on processor 104. At client computer 110A connected to the server computer 102, via the communication network 108 a remote access program is executed—12—on processor 112A for providing remote access to a state of the performed application. At the client computer 110A a client difference program is generated—14. The client difference program has encoded data indicative of a change of a state of the application last received from the server computer 102. The data indicative of a change of a state of the application are, for example, received from a user interface 118A, 118B of the client computer 110A, 110B, respectively.
The difference programs comprise executable commands for execution by a processor. The encoded data are indicative of: a path to the change in the state of the application; a type of the change; and a value of the change. The type of change is, for example, a “modification”, a “deletion”, or an “insertion”, with the value for deletion changes being empty. An example of a difference program is:
Path=“Patient/Name/First”
Type=“Modification”
Value=“Jane”
Path=“Patient/Hobby”
Type=“Insertion”
Value=“Knitting”
Path=“Patient/Career”
Type=“Deletion”
Value=“ ”
The client difference program is then transmitted—16—to the server computer 102 via the communication network 108. At the server computer 102 the client difference program is executed—18—for determining an updated state of the application followed by generating a server difference program. The server difference program has encoded a difference between the updated state of the application and the state of the application last sent to the client computer, 110A. This difference also captures changes, for example, received from another client computer—for example, client computer 110B—or generated due to execution of the application program in dependence upon the executed client difference program for determining the updated state of the application. The server difference program is then transmitted—20—to the client computer 110A via the communication network 108. At the client computer 110A the server difference program is executed—22—for updating the state of the application last received from the server computer 102. Display data indicative of the updated state of the application last received from the server computer 102 are generated—24—and displayed in a human comprehensible fashion on display 116A. Optionally, step 24 is omitted, for example, in situations where the updated state of the application does not affect the data displayed on the display 116A.
Preferably, a remote server access program is executed on the processor 104 of the server computer 102 for executing the client difference program; communicating with the application program for determining the updated state of the application; and generating the server difference program. Provision of the remote server access program enables remote access to off-the-shelf application programs, increases substantially flexibility for the provision of the remote access absent modifications of the application program, and substantially facilitates implementation of the remote access as a retrofit. Alternatively, the application program is enabled to perform the operations of the remote server access program.
Further preferably, the method for providing' remote access to the state of an application enables limited access to a predetermined portion of the state of the application. For example, the limited access is enabled for:
meeting hardware capabilities for example, processing capacity, memory size, type of graphical display, and type of user interface—of the client computer—for example,
the hardware capabilities of a personal computer are substantially different to the hardware capabilities of a wireless handheld device;
being compatible with different operating systems of different client computers; and,
implementing user access restrictions to information for providing different users with different access to the state of an application—for example, an administrative user for scheduling a patient's appointments is prevented from accessing diagnostic information of the patient.
Further preferably, the method for providing remote access to the state of an application enables remote access for a plurality of client computers 110A, 110B, which are, for example, simultaneously, connected to the server computer 102 via the communication network 108 for accessing the state of a same application.
As illustrated in FIG. 3, upon receipt a second client difference program received from a second client computer 110B is executed—26—at the server computer 102 for determining a second updated state of the application followed by generating a second server difference program. The second server difference program has encoded a difference between the second updated state of the application and the state of the application last sent to the second client computer. The second server difference program is then transmitted—28—to the second client computer 110B via the communication network 108. At the second client computer 1106 the second server difference program is executed—30—for updating the state of the application last received from the server computer 102. Display data indicative of the updated state of the application last received from the server computer 102 are generated—32—and displayed in a human comprehensible fashion on display 116B. Optionally, step 32 is omitted, for example, in situations where the updated state of the application does not affect the data displayed on the display 116B.
At the server computer 102 a third server difference program is generated 34. The third server difference program has encoded a difference between the second updated state of the application and the state of the application last sent to the client computer 110A. The third server difference program is then transmitted—36—to the client computer 110A via the communication network 108. At the client computer 110A the third server difference program is executed—38—for updating the state of the application last received from the server computer 102. Display data indicative of the updated state of the application last received from the server computer 102 are generated—40—and displayed in a human comprehensible fashion on display 116A. Optionally, step 40 is omitted, for example, in situations where the updated state of the application does not affect the data displayed on the display 116A. Preferably, the steps 34 to 40 are executed simultaneously to the execution of steps 26 to 32. Alternatively, the steps 34 to 40 are omitted and the changes received from the second client computer 110B are provided to the client computer 110A after receipt of a client difference program from the client computer 110A.
Upon initiation of the remote access for the client computer a state of the application is provided as illustrated in FIG. 4. Upon receipt of a request from the client computer 110A for the state of the application a server application state program is generated—42—at the server computer 102. The server application state program has encoded data indicative of the state of the application. The server application state program is then transmitted—44—to the client computer 110A via the communication network 108. At the client computer 110A the server application state program is executed—46—for determining the server state of the application. Display data indicative of the server state of the application are generated—48—and displayed in a human comprehensible fashion on display 116A. Optionally, the steps 42 to 48 are also performed during provision of the remote access to ensure a provision of a same state of the application at the server computer 102 and the client computer 110A. For example, the steps 42 to 48 are performed in predetermined time intervals or after data loss during transmission. Further optionally, step 48 is omitted, for example, in situations where the updated state of the application does not affect the data displayed on the display 116A.
Referring to FIG. 5, a preferred implementation of the method for providing remote access to the state of an application is illustrated—with reference to the method shown in FIG. 2. In the memory 106 of the server computer 102 data indicative of a state of the application such as, for example, a patient file application, are stored—10A—in two states thereof: server data indicative of the server state of the application—the state of the application at the server (and possibly changed by the server); and, server client data indicative of the state of the application last sent to the client computer 110A. In the memory 114A of the client computer 110A data indicative of a state of the application are stored—12A—in two states thereof: client server data indicative of the state of the application last received from the server computer 102; and, client data indicative of the state of the application after client interaction. In step 14 a difference between the state of the application after client interaction and the state of the application last received from the server computer is encoded—14A—with the difference being the difference between the client data and the client server data. In step 18: second server client data are determined—18A—by executing the client difference program on the server client data; updated server data are determined—18B—by executing the client difference program on the server data; a server difference program is generated—18C—that encodes a difference between the updated server data and the second server client data; third server client data are determined—18D—by executing the server difference program on the second server client data; and, the server client data are replaced—18E—with the third server client data. Optionally, a locking process is provided for locking the server data in order to prevent the same from being modified by other processes prior step 18B, which is released, for example, after step 18C. In step 22: second client server data are determined—22A—by executing the server difference program on the client server data; second client data are determined—22B—by executing the server difference program on the client data; the client server data are replaced—22C—with the second client server data; and, the client data are replaced—22D—with the second client data. Optionally, a locking process is provided for locking the client server data and the client data during execution of the steps 22A to 22D.
Referring to FIG. 6, an alternative implementation of the method for providing remote access to the state of an application is illustrated—with reference to the method shown in FIG. 2. In the memory 106 of the server computer 102 data indicative of a state of the application are stored—10A—in two states thereof: server data indicative of the server state of the application—the state of the application at the server computer (and possibly changed by the server computer); and, server client data indicative of the state of the application last sent to the client computer 110B as a server state application program. In step 18: updated server data are determined—18F—by executing the client difference program on the server data; and, a server difference program is generated 18G—that encodes a difference between the updated server data and the server client data. In step 22 display data indicative of the updated state of the application last received from the server computer are directly generated—22E—by executing the received server difference program and displayed—23—in a human comprehensible fashion on display 116B. This implementation obviates storage of data related to the state of the application in memory of the client computer 110B which is beneficial for client computers having limited storage capacity such as hand held devices. Preferably, a server application state program that has encoded data indicative of the server state of the application is generated and transmitted, as disclosed herein above, to the client computer, for example, in predetermined time intervals.
As is evident to those skilled in the art, the embodiments of the system 100 and method for providing remote access to the state of an application according to the invention have been described with respect to a client-server network architecture comprising two client computers for the sake of simplicity but are not limited thereto and are applicable for other network architectures as well as various numbers of client computers.
The embodiments of the method for providing remote access to the state of an application are performed, for example, by executing executable commands stored in storage mediums—for example, the memory 106 using processor 104 of the server computer 102 and the memory 114A using the processor 112A of the client computer 110A. The executable commands for being stored in the memory of the client computers are, for example, transmitted from the server computer 102 via the communication network 108.
The present invention has been described herein with regard to preferred embodiments. However, it will be obvious to persons skilled in the art that a number of variations and modifications can be made without departing from the scope of the invention as described herein.

## Claims

1. An apparatus for remote access to an application program executing on a server computer, comprising:
a server remote access program executing on the server computer, the server remote access program being in communication with the application program, receiving a communication from a client remote access program that provides the remote access to the application program and executes on a client computer, generating a difference program that contains encoded data indicative of a change in a state of the application program, and communicating the difference program from the server remote access program to the client remote access program,
wherein the difference program is executed by the client remote access application to synchronize the state of the application program at both the server computer and the client computer, and
wherein the difference program only captures changes in the state of the application program since the state of the application was last received by the server computer from the client remote access program.

2. The apparatus of claim 1, wherein the change in the state of the application is determined in accordance with execution of the application program.

3. The apparatus of claim 2, further comprising generating view data of the state of the application.

4. The method of claim 3, further comprising generating the view data in accordance with hardware capabilities of the client computer.

5. The apparatus of claim 1, further comprising:
wherein the change in the state of the application is synchronized between the server computer, the client computer and a second client computer using the difference program.

6. The apparatus of claim 5, wherein an updated state of the application program is displayed at the client computer and the second client computer using the difference program.

7. The apparatus of claim 1, wherein the state of the application is synchronized by processing the encoded data in the difference program.

8. An apparatus for remote access to an application program executing on a server computer, the application program being in communication with a server remote access program executing on the server computer, the apparatus comprising:
a client remote access program that provides the remote access to the application program and executes on a client computer, the client remote access program remotely accessing the application program by establishing a communication connection with the server remote access program, generating a difference program that contains encoded data indicative of a change in a state of the application program, and communicating the difference program from the client remote access program to the server remote access program,
wherein the difference program is executed by the server remote access application to synchronize the state of the application program at both the client computer and the server computer, and
wherein the difference program only captures changes in the state of the application program since the state of the application was last received by the client computer from the server remote access program.

9. The apparatus of claim 8, wherein the change in the state of the application is determined in accordance with one of user inputs received at the client computer.

10. The apparatus of claim 8, wherein an updated state of the application program is displayed at the client computer using the difference program.

11. The apparatus of claim 8, further comprising:
a second client remote access program executed on a second client computer, the second client remote access program remotely accessing the application program by establishing a second communication connection with the server remote access program,
wherein the difference program further contains data representing a change in the state of the application made by the second client computer, and
wherein the change in the state of the application is synchronized between the server computer, the client computer and the second client computer using the difference program.

12. The apparatus of claim 11, wherein an updated state of the application program is displayed at the client computer and the second client computer using the difference program.

13. The apparatus of claim 8, wherein the state of the application is synchronized by processing the encoded data in the difference program.

14. An apparatus for remote access to an application program executing on a server computer, comprising:
a server remote access program that provides the remote access to the application program and executes on the server computer, the server remote access program being in communication with the application program, generating a server difference program that contains encoded data indicative of a change in a state of the application program, and communicating the server difference program from the server remote access program to a client remote access program that executes the server difference program to synchronize the state of the application at both the server computer and a client computer; and
the client remote access program that provides the remote access to the application program and executes on the client computer, the client remote access program remotely accessing the application program by establishing a communication connection with the server remote access program, generating a client difference program that contains encoded data indicative of a change in a state of the application program, and communicating the client difference program from the client remote access program to the server remote access program that executes the client difference program to synchronize the state of the application at both the client computer and the server computer,
wherein the server difference program and the client difference program each only capturing changes in the state of the application program since the state of the application was last received by the server computer and the client computer, respectively.

15. The apparatus of claim 14, wherein the change in the state of the application is determined in accordance with one of user inputs received at the client computer or execution of the application program.

16. The apparatus of claim 14, wherein an updated state of the application program is displayed at the client computer using the server difference program.

17. The apparatus of claim 14, further comprising:
a second client remote access program executed on a second client computer, the second client remote access program remotely accessing the application program by establishing a second communication connection with the server remote access program,
wherein the client difference program further contains data representing a change in the state of the application made by the second client computer, and
wherein the change in the state of the application is synchronized between the server computer, the client computer and the second client computer using the client difference program.

18. The apparatus of claim 17, wherein an updated state of the application program is displayed at the client computer and the second client computer using the client difference program.

19. The apparatus of claim 14, wherein the state of the application is synchronized by processing the encoded data in the server difference program and the client difference program.

20. The apparatus of claim 19, wherein the encoded data are indicative of at least one of a path to the change in the state of the application, a type of the change, and a value of the change.