Systems and methods for controlling a local application through a web page
First Claim
1. A computer-implemented method for controlling a local utility comprising:
- at a client computer having a processor and memory storing instructions for execution by the processor;
at a web browser displaying a control for a local utility executed on the client computer, wherein the control includes a link that includes a domain that resolves to a loopback network address, wherein the loopback network address is a self-referencing address for a local web server at the client computer, and the local utility is distinct from the web browser;
receiving a user input selecting the control;
scanning a plurality of ports associated with a network address of a local web server to identify an open port;
in accordance with a determination that there is no open port associated with the network address of the local web server, executing a uniform resource indicator (URI) recognizable by the client computer, wherein execution of the URI causes initiation of the local utility and the local web server associated with the local utility; and
after initiating the local utility and the local web server associated with the local utility, issuing a request through the link of the selected control to the local web server at the client computer, the local web server coupled with the local utility;
at the local web server;
receiving, from the web browser, the request; and
providing the local utility with a command portion of the request; and
at the local utility coupled with the local web server;
in response to receiving the command portion of the request from the local web server, taking one or more actions based on the command portion of the request, wherein the one or more actions are selected from the group consisting of;
playing a media file;
stopping a media file;
pausing a media file;
fast forwarding a media file;
rewinding a media file;
skipping a media file;
changing a playback order of a playlist;
adding a media file to a playlist; and
removing a media file from a playlist.
0 Assignments
0 Petitions
Accused Products
Abstract
A system, computer-readable storage medium storing at least one program, and a computer-implemented method for controlling a local utility are disclosed. A first request originating from an application and including a first token is received at a local utility. The application received a web page, including a plurality of links and the first token, from a first server. The plurality of links are received by the application from a second server. The first token is authenticated. Authentication includes sending the first token to a third server. In response to authenticating the first token, a second token is generated at the local utility. The second token is sent to the application for inclusion in subsequent requests from the application.
-
Citations
14 Claims
-
1. A computer-implemented method for controlling a local utility comprising:
-
at a client computer having a processor and memory storing instructions for execution by the processor; at a web browser displaying a control for a local utility executed on the client computer, wherein the control includes a link that includes a domain that resolves to a loopback network address, wherein the loopback network address is a self-referencing address for a local web server at the client computer, and the local utility is distinct from the web browser; receiving a user input selecting the control; scanning a plurality of ports associated with a network address of a local web server to identify an open port; in accordance with a determination that there is no open port associated with the network address of the local web server, executing a uniform resource indicator (URI) recognizable by the client computer, wherein execution of the URI causes initiation of the local utility and the local web server associated with the local utility; and after initiating the local utility and the local web server associated with the local utility, issuing a request through the link of the selected control to the local web server at the client computer, the local web server coupled with the local utility; at the local web server; receiving, from the web browser, the request; and providing the local utility with a command portion of the request; and at the local utility coupled with the local web server; in response to receiving the command portion of the request from the local web server, taking one or more actions based on the command portion of the request, wherein the one or more actions are selected from the group consisting of; playing a media file; stopping a media file; pausing a media file; fast forwarding a media file; rewinding a media file; skipping a media file; changing a playback order of a playlist; adding a media file to a playlist; and removing a media file from a playlist. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A client computer, comprising:
-
one or more processors; and memory storing two or more programs including a local utility and a web browser distinct from the local utility, wherein the two or more programs are stored in the memory and configured to be executed by the one or more processors, the two or more programs including instructions for; at the web browser; displaying a control for the local utility, wherein the control includes a link that includes a domain that resolves to a loopback network address, wherein the loopback network address is a self-referencing address for a local web server at the client computer; receiving a user input selecting the control; scanning a plurality of ports associated with a network address of a local web server to identify an open port; in accordance with a determination that there is no open port associated with the network address of the local web server, executing a uniform resource indicator (URI) recognizable by the client computer, wherein execution of the URI causes initiation of the local utility and the local web server associated with the local utility; and after initiating the local utility and the local web server associated with the local utility, issuing a request through the link of the selected control to the local web server at the client computer, the local web server coupled with the local utility; at the local web server; receiving, from the web browser, the request; and providing the local utility with a command portion of the request; and at the local utility coupled with the local web server; in response to receiving the command portion of the request from the local web server, taking one or more actions based on the command portion of the request, wherein the one or more actions are selected from the group consisting of; playing a media file; stopping a media file; pausing a media file; fast forwarding a media file; rewinding a media file; skipping a media file; changing a playback order of a playlist; adding a media file to a playlist; and removing a media file from a playlist.
-
-
14. A non-transitory computer-readable storage medium storing one or more programs comprising instructions, executable by a client computer, for:
-
displaying, at a web browser, a control for a local utility executed on the client computer, wherein the control includes a link that includes a domain that resolves to a loopback network address, wherein the loopback network address is a self-referencing address for a local web server at the client computer, and the local utility is distinct from the web browser; and scanning a plurality of ports associated with a network address of a local web server to identify an open port; in accordance with a determination that there is no open port associated with the network address of the local web server, executing a uniform resource indicator (URI) recognizable by the client computer, wherein execution of the URI causes initiation of the local utility and the local web server associated with the local utility; and after initiating the local utility and the local web server associated with the local utility and in response to a user input selecting the control, issuing a request through the link of the selected control to the local web server at the client computer, the local web server coupled with the local utility, wherein the request comprises a command portion to instruct the local utility to take one or more actions, wherein the one or more actions are selected from the group consisting of; playing a media file; stopping a media file; pausing a media file; fast forwarding a media file; rewinding a media file; skipping a media file; changing a playback order of a playlist; adding a media file to a playlist; and removing a media file from a playlist.
-
Specification