Method and System for Retrieval and Usage of Remote Entry Points
A method for communicating between a client application and one or more servers is disclosed. In one embodiment, it is first determined whether a particular client application operation is the type of operation that requires a remote entry point. If a remote entry point is needed, the client application obtains a remote entry point file from a remote server computer and retrieves the remote entry point required by the client application operation such that it can direct the operation to the proper remote server.
This application is a divisional application of U.S. patent application Ser. No. 10/833,387, filed Apr. 27, 2004, entitled “METHOD AND SYSTEM FOR RETRIEVAL AND USAGE OF REMOTE ENTRY POINTS”, which is herein incorporated by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to client-server computer environments and, more specifically, to interactions between client applications (e.g., media management applications) and server computers.
2. Description of the Related Art
Media players, such as digital media players, are specialized portable computing devices that store and present (e.g., play, display) digital media (e.g., music, videos, or images). Often media players are small hand-held devices with limited media storage capacity and limited media management capability. As a result, media players typically associate with a host computer. The host computer can utilize an application resident on the host computer to perform media management for the host computer and the media player, such management including purchasing of media items, downloading purchased media items, and transfer of the media items and their attributes between the host computer and the media player. One such media management application is iTunes™, produced by and available from Apple Inc. of Cupertino, Calif. An example of a popular media player is an iPod™ which is also produced by and available from Apple Inc.
In designing a media management application, decisions must be made regarding how to implement various features such as searching, browsing, previewing, purchasing, and delivering media items. Many of these features may be hard coded into the application or, alternately, they may be associated with a server application.
However, it can be difficult to predict in advance which specific servers are going to be used to run the various server applications. Hard coding of addresses to specific server computers directly into an application is not desirable, given that servers may go down, addresses changed or otherwise become inaccessible. In addition, hard coding of addresses to specific servers in an application is problematic because any changes in the addresses requires that the application be altered through a program update or reinstallation in order for the application to properly interact with servers whose addresses have changed.
Thus, there is a need for improved techniques to implement a client application, such as a media management application, whereby access to server application is able to be altered without code changes to the client applications.
SUMMARY OF THE INVENTIONThe invention pertains to improved techniques for communicating between a client application operating on a client computer and one or more server computers. The improved techniques enable remote entry points on remote servers to be flexibly assigned and utilized at client applications without code changes at the client applications.
The invention can be implemented in numerous ways, including as a method, system, device, apparatus, graphical user interface, or computer readable medium. Several embodiments of the invention are discussed below.
According to one embodiment of the invention, a client application operating on a client computer can check if a client application operation requires a remote entry point. Upon determining that a remote entry point is required, the client computer can obtain a set of remote entry points for at least one remote server computer. The remote entry point associated with the client application operation can then be retrieved from the set of remote entry points and the client application operation is directed to a remote server in accordance with the retrieved remote entry point.
According to another embodiment of the invention, a server computer receives a request from a client computer for a set of remote entry points. The server computer can retrieve an appropriate set of remote entry points and then transmits them to the client computer.
According to another embodiment of the invention, a computer-implemented method for communicating between a client application operating on a client computer and a plurality of remote server computers can, for example, include at least the acts of: determining if a client application operation requires a remote entry point; and determining whether the client application operation requires a secure entry point. If it is determined that the client application operation requires a remote entry point and it is determined that a secure entry point is not required, then: requesting a non-secure entry point file from a remote server computer; receiving the non-secure entry point file from the remote server computer; and storing the non-secure entry point file on the client computer. Alternatively, if it is determined that the client application operation requires a remote entry point and it is determined that a secure entry point is required, then: requesting a secure entry point file from the remote server computer; receiving the secure entry point file from the remote server computer; and storing the secure entry point file on the client computer.
According to another embodiment of the invention, a computer implemented method can securely communicate between a client application operating on a client computer and a plurality of server computers. The computer implemented method can, for example, include at least the acts of: determining if a client application operation requires a secure remote entry point; obtaining, at the client computer, a set of secure remote entry points for at least one remote server computer; retrieving a particular secure remote entry point from the set of secure remote entry points, the particular secure remote entry point being associated with the client application operation; and directing the client application operation to the remote server in accordance with the particular secure remote entry point.
According to another embodiment of the invention, a computer-implemented method for delivering a set of remote entry points from a server computer to a client computer can, for example, include at least the acts of: receiving, at the server computer, a request from a client computer for a set of secure remote entry points; retrieving, at the server computer, the set of secure remote entry points; and transmitting the set of secure remote entry points to the client computer.
According to another embodiment of the invention, a system for communicating between a client computer and a plurality of server computers can, for example, include at least: a client computer including at least a processor, volatile memory and a storage disk drive; and a plurality of server computers. The client computer can communicate with the server computer via a data network. The client computer can perform a client application and in doing so the processor can execute computer program code. The computer program code can operate to at least: determine if a client application operation requires a secure remote entry point; obtain, at the client computer, a set of secure remote entry points for at least one remote server computer; retrieve a particular secure remote entry point from the set of secure remote entry points, the particular secure remote entry point being associated with the client application operation; and direct the client application operation to the remote server in accordance with the particular secure remote entry point.
According to still another embodiment of the invention, a computer readable medium including at least executable computer program code stored thereon for communicating between a client application operating on a client computer and at least one server computer can, for example, include at least: computer code for receiving, at a server computer, a request from a client computer for at least one secure remote entry point; computer code for retrieving, at the server computer, the at least one secure remote entry point; and computer code for transmitting the at least one secure remote entry point to the requesting client computer.
Other aspects and advantages of the invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings which illustrate, by way of example, the principles of the invention.
The invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:
The invention pertains to improved techniques for communicating between a client application operating on a client computer and one or more server computers. The improved techniques enable remote entry points on remote servers to be flexibly assigned and utilized at client applications without code changes at the client applications.
One example of a client application is iTunes™, which is produced by and available from Apple Inc. of Cupertino, Calif. The iTunes™ application can produce a graphical user interface that resembles the generic application window 100 containing several program controls 105. The iTunes™ application can be referred to as a media management application for various media items. The media items can pertain to audio items (e.g., audio files or songs, such as for music or audiobooks), video items (e.g., video files or movies), or image items (e.g., photos). The program controls 105 for the iTunes™ application might pertain to operations, such as, search, browse, login, buy, or might be a hyperlink to a remote server. In any case, once an operation is activated or initiated at the iTunes™ application, the iTunes™ application executes the associated operation, which can require access to remote server computers as described in reference to
The client-side remote entry point retrieval process 300 begins with a decision 303 that determines whether an operation being performed at the client computer uses a remote entry point. The operation is typically one of many different operations that can be performed by a client application operating on the client computer. In one implementation, the client application is a media management application. The operation being performed can be initiated by a user control provided on a graphical user interface for the client application. For example, the user controls provided on the graphical user interface can be, for example, a text box, a radio button, or other user control. A remote entry point can be, for example, a uniform resource locator (URL) or an Internet protocol (IP) address (with or without sub-domain or path). When the decision 303 determines that an entry point is not used, then the operation is performed 313 at the client computer and the process ends without any usage of remote entry points.
On the other hand, if the decision 303 determines that the operation uses a remote entry point, then a decision 305 determines whether a remote entry point file having the remote entry point is stored on the client computer. If the decision 305 indicates that the remote entry point file is stored on the client computer, then the stored remote entry point file is accessed 307 in order to retrieve 309 the remote entry point associated with the operation. Once the remote entry point associated with the operation has been retrieved 309, the client-side remote entry point retrieval process 300 directs 311 the operation to a remote server in accordance with the remote entry point and the remote entry point retrieval process 300 ends. As such, the operation being performed by the client application can communicate with the appropriate remote server (or server application thereon).
Alternatively, if the decision 305 determines that the remote entry point file is not stored on the client computer, then the client-side remote entry point retrieval process 300 makes a request 315 for the remote entry point file from a remote server computer. Next, a decision 317 determines whether the remote entry point file has been received. When the decision 317 determines that the remote entry point file has not yet been received, the client-side remote entry point retrieval process 300 returns to repeat the decision 317 until the remote entry point file is received. When the decision 317 determines that the remote entry point file has been received, the remote entry point file is stored 319 on the client computer and the client-side remote entry point retrieval process 300 returns to decision 305 and subsequent blocks.
In one embodiment, there can be multiple sets of remote entry points that a client application might use to interact with a remote server. Each of these sets of remote entry points can be provided as a file containing a list of remote entry points. As an example, a client application operating on a client machine can perform non-secure or secure communication with remote servers. For example, the secure communications can use a secure protocol, such as https or secure sockets layer techniques for security. The remote server can be referred to as a secure server when secure communications are used with client applications. For example, secure communications can be used for a user login because any communication of a user's private data (e.g., password) should be protected.
The client-side secure/non-secure remote entry point file retrieval process 500 begins with a decision 503 that determines whether an operation being performed at the client computer uses a remote entry point. The operation is typically one of many different operations that can be performed by a client application operating on the client computer. In one implementation, the client application is a media management application. The operation being performed can be initiated by a user control provided on a graphical user interface for the client application. For example, the user controls provided on the graphical user interface can be, for example, a text box, a radio button, or other user control. A remote entry point can be, for example, a uniform resource locator (URL) or an internet protocol (IP) address (with or without sub-domain or path). When the decision 503 determines that a remote entry point is not used, then the operation is performed 504 and the secure/non-secure remote entry point retrieval process 500 ends without any usage of remote entry points.
On the other hand, if decision 503 determines that the operation uses a remote entry point, then a decision 505 determines whether the operation being performed uses a secure remote entry point or a non-secure entry point. If the operation uses a secure remote entry point, then a decision 507 determines whether the secure remote entry point file having the remote entry point is stored on the client computer. If the decision 507 determines that the secure remote entry point file is not stored on the client computer, then the client-side secure/non-secure remote entry point file retrieval process 500 makes a request 509 for a secure remote entry point file from a remote server computer. Thereafter, a decision 511 determines whether the secure remote entry point file has been received. When the decision 511 determines that the secure remote entry point file has not yet been received, the client-side secure/non-secure remote entry point process 500 returns to repeat the decision 511 until the secure remote entry point file has been received. Once the decision 511 determines that the secure remote entry point file has been received, the secure remote entry point file is stored 513 on the client computer and the client-side secure/non-secure remote entry point file retrieval process 500 proceeds to access 515 the stored remote entry point file, retrieve 517 the remote entry point associated with the operation, and then direct 519 the operation to a remote server in accordance with the remote entry point. Thereafter, the client-side secure/non-secure remote entry point file retrieval process 500 ends. Alternatively, if decision 507 determines that the secure remote entry point file is stored on the client computer, the secure/non-secure remote entry point retrieval process 500 continues directly to operation 515 and subsequent blocks.
On the other hand, if the decision 505 determines that the operation uses a non-secure remote entry point, then a decision 521 determines whether the non-secure remote entry point file is stored on the client computer. If decision 521 determines that the secure remote entry point file is stored on the client computer, then client-side secure/non-secure remote entry point file retrieval process 500 continues on to operation 515 and subsequent blocks. Alternatively, if the decision 521 determines that the non-secure remote entry point file is not stored on the client computer, then the client-side secure/non-secure remote entry point file retrieval process 500 makes a request 523 for the non-secure remote entry point file from a remote server computer. Here, the remote server computer can be the same or different than the remote server computer used at operation 509. After making the request 523, a decision 525 determines whether the non-secure remote entry point file has been received. If the non-secure remote entry point file has not yet been received, the client-side secure/non-secure remote entry point file retrieval process 500 returns to repeat the decision 525 until the non-secure remote entry point file has been received. Once the decision 525 determines that the non-secure remote entry point file has been received, then the non-secure remote entry point file is stored on the client computer and the client-side secure/non-secure remote entry point file retrieval process 500 continues to operation 515 and subsequent blocks.
The server-side secure/non-secure remote entry point file retrieval process 600 begins with a decision 603 that determines whether a request for a remote entry point file has been received. If no request has been received, the server-side secure/non-secure remote entry point file retrieval process 600 returns to repeat the decision 603. Here, the server computer can await a request for a remote entry point file from a client computer. When decision 603 determines that a request has been received, a decision 605 determines whether a secure or non-secure remote entry point file has been requested. If a secure remote entry point file has been requested, then the server-side secure/non-secure entry point retrieval process 600 retrieves 607 a secure remote entry point file. Alternatively, if the decision 605 determines that a non-secure remote entry point file has been requested, then a non-secure remote entry point file is retrieved 607. The retrieval 607 of the secure remote entry point file or the retrieval 611 of the non-secure remote entry point file can be performed by or at the server computer. Following the retrieval 607 and 611, the retrieved remote entry point file is transmitted 609 to the requesting client computer. Following the operation 609, the server-side secure/non-secure remote entry point file retrieval process 600 ends.
As noted above, when a client application invokes an operation, the operation may utilize a remote entry point to direct performance of some or all of the operation to a remote server. The nature or type of operation using remote entry points can vary with client application. One example of a client application is a media management application. For example, one representative media management application is iTunes™, produced by and available from Apple Inc. of Cupertino, Calif. Examples of operations associated with a media management application that could utilize remote entry points can, for example, include search, browse, buy, login, customer service, etc. By way of example, a search operation via a client application is described below according to one embodiment of the invention. Referring back to
- search<string>http://server.domain.com/DirectAction/search</string>
In this example, “search” is the type of operation and the associated remote entry point is “http://server.domain.com/DirectAction/search”. The search string is passed to the remote server according to the remote entry point, where the search is performed. The appropriate information is passed back to the requesting client application such that the results are displayed to the user.
The system bus architecture of computer system 725 is represented by arrows 767. However, these arrows are illustrative of any interconnection scheme serving to link the subsystems. For example, a local bus could be utilized to connect the central processor to the system memory and display adapter. Computer system 725 shown in
The various aspects, features, embodiments or implementations of the invention described above can be used alone or in various combinations.
The invention is preferably implemented by software, but can also be implemented in hardware or a combination of hardware and software. The invention can also be embodied as computer readable code on a computer readable medium. The computer readable medium is any data storage device that can store data which can thereafter be read by a computer system. Examples of the computer readable medium include read-only memory, random-access memory, CD-ROMs, DVDs, magnetic tape, optical data storage devices, and carrier waves. The computer readable medium can also be distributed over network-coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
The advantages of the invention are numerous. Different embodiments or implementations may, but need not, yield one or more of the following advantages. One advantage of the invention is that an application using a remote entry point file does not require remote entry points to be hard-coded, thus allowing for flexibility as to which remote server will be used for a particular operation at any given time. Another advantage of the invention is that a remote entry point file may be generated dynamically upon request from a client computer, thereby better enabling network managers to balance server-load among several remote servers. Still another advantage of the invention is the possibility of having entry point files tailored specifically according to geographical location of the client computer, thus using remote servers that are closer in proximity to the client computers.
The many features and advantages of the present invention are apparent from the written description and, thus, it is intended by the appended claims to cover all such features and advantages of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, the invention should not be limited to the exact construction and operation as illustrated and described. Hence, all suitable modifications and equivalents may be resorted to as falling within the scope of the invention.
Claims
1. A computer-implemented method for communicating between a client application operating on a client computer and a plurality of remote server computers, comprising:
- determining if a client application operation requires a remote entry point;
- determining whether the client application operation requires a secure entry point;
- if it is determined that the client application operation requires a remote entry point and it is determined that a secure entry point is not required, then: requesting a non-secure entry point file from a remote server computer; receiving the non-secure entry point file from the remote server computer; and storing the non-secure entry point file on the client computer;
- if it is determined that the client application operation requires a remote entry point and it is determined that a secure entry point is required, then: requesting a secure entry point file from the remote server computer; receiving the secure entry point file from the remote server computer; and storing the secure entry point file on the client computer.
2. A computer-implemented method of claim 27, further comprising:
- accessing the stored secure or non-secure remote entry point file;
- retrieving the remote entry point or the secure entry point associated with the client application operation; and
- directing the client application operation to a remote server computer in accordance with the remote entry point or the secure entry point.
3. A computer implemented method for securely communicating between a client application operating on a client computer and a plurality of server computers, comprising:
- determining if a client application operation requires a secure remote entry point;
- obtaining, at the client computer, a set of secure remote entry points for at least one remote server computer;
- retrieving a particular secure remote entry point from the set of secure remote entry points, the particular secure remote entry point being associated with the client application operation; and
- directing the client application operation to the remote server in accordance with the particular secure remote entry point.
4. A computer-implemented method as recited in claim 3, wherein the secure remote entry points in the set of secure remote entry points pertaining to different operations that are able to be performed at the least one remote server computer.
5. A computer-implemented method as recited in claim 3, wherein said obtaining comprises:
- requesting the set of secure remote entry points from a remote server computer; and
- receiving the set of secure remote entry points from the remote server computer.
6. A computer-implemented method as recited in claim 5, wherein said obtaining further comprises:
- storing the set of secure remote entry points on the client computer.
7. A computer-implemented method as recited in claim 6, wherein said storing operates to store the set of secure remote entry points in volatile memory at the client computer.
8. A computer-implemented method as recited in claim 7, wherein said obtaining further comprises:
- determining whether the set of secure remote entry points is already stored in the volatile memory at the client computer; and
- receiving the set of secure remote entry points from the volatile memory at the client computer when said determining determines that the set of secure remote entry points is already stored in the volatile memory at the client computer.
9. A computer-implemented method as recited in claim 3, wherein said obtaining further comprises:
- determining whether the set of secure remote entry points is already stored at the client computer and is valid; and
- receiving the set of secure remote entry points from the client computer when said determining determines that the set of secure remote entry points is already stored and is valid at the client computer.
10. A computer-implemented method as recited in claim 3, wherein the set of secure remote entry points is provided as an entry point file.
11. A computer-implemented method as recited in claim 3, wherein the set of secure remote entry points includes at least a list of URLs.
12. A computer-implemented method as recited in claim 3, wherein the client application operation is a secure operation.
13. A computer-implemented method as recited in claim 3, wherein the client application is a media management application.
14. A computer-implemented method as recited in claim 3, wherein said retrieving comprises:
- searching through the set of secure remote entry points to locate the particular secure remote entry point that has an attribute that matches the client application operation; and
- retrieving the particular secure remote entry point that has been identified by said searching.
15. A computer-implemented method as recited in claim 14, wherein said searching uses text string matching to locate the particular secure remote entry point.
16. A computer-implemented method as recited in claim 3, wherein the set of secure remote entry points is provided as an entry point file.
17. A computer-implemented method for delivering a set of remote entry points from a server computer to a client computer, comprising:
- receiving, at the server computer, a request from a client computer for a set of secure remote entry points;
- retrieving, at the server computer, the set of secure remote entry points; and
- transmitting the set of secure remote entry points to the client computer.
18. A computer-implemented method as recited in claim 17, wherein the client computer operates a media management application that utilizes the set of secure remote entry points to interact with one or more server computers.
19. A computer-implemented method as recited in claim 17, wherein the set of remote entry points is provided as an entry point file, and wherein the set of remote entry points includes at least a list of URLs.
20. A computer-implemented method as recited in claim 17, wherein said retrieving comprises dynamically generating the set of secure remote entry points at the server computer upon receiving the request for the set of remote entry points.
21. A system for communicating between a client computer and a plurality of server computers, comprising:
- a client computer including at least a processor, volatile memory and a storage disk drive; and
- a plurality of server computers,
- wherein said client computer can communicate with said server computer via a data network, and
- wherein said client computer performs a client application and in doing so said processor executes computer program code, said computer program code operates to at least: determine if a client application operation requires a secure remote entry point; obtaining, at said client computer, a set of secure remote entry points for at least one remote server computer; retrieve a particular secure remote entry point from the set of secure remote entry points, the particular secure remote entry point being associated with the client application operation; and direct the client application operation to the remote server in accordance with the particular secure remote entry point.
22. A system as recited in claim 21, wherein the set of secure remote entry points is stored at said client computer only in the volatile memory.
23. A computer readable medium including at least executable computer program code stored thereon for communicating between a client application operating on a client computer and at least one server computer, comprising:
- computer code for receiving, at a server computer, a request from a client computer for at least one secure remote entry point;
- computer code for retrieving, at the server computer, the at least one secure remote entry point; and
- computer code for transmitting the at least one secure remote entry point to the requesting client computer.
24. A computer readable medium as recited in claim 23, wherein the at least one remote entry point being at least one of a plurality of remote entry points pertaining to different operations that are able to be performed at the server computer.
Type: Application
Filed: Dec 15, 2008
Publication Date: Apr 9, 2009
Inventors: Patrice Gautier (San Francisco, CA), Jeffrey L. Robbin (Los Altos, CA)
Application Number: 12/335,399
International Classification: G06F 15/16 (20060101); G06F 7/04 (20060101); G06F 17/30 (20060101);