A resource may be identified according to multiple uniform resource Locators (“URL”) according to systems and methods for encapsulating an alternative url inside a primary “carrier” url to form a compound url or “smart link” and for processing smart links thereby formed. A preferred url may be encapsulated into a smart link for use by client devices that support handling of the preferred url, while other client devices may use a default or fallback url that is also encapsulated into the smart link. The alternative url is indicated by a pre-determined key included in the primary carrier url.
|
1. A computer-implemented method for accessing a compound uniform resource locater (“URL”), the method comprising:
obtaining, by a client device, an indication to access a particular resource identified by the compound url, the compound url identifying said particular resource according to at least a primary scheme-name, a hierarchical portion, and a key/value portion, said key/value portion including at least one key/value pair;
parsing said key/value portion, by said client device, to determine whether said at least one key/value pair includes an alternative-url key/value pair identified according to a predetermined alternative-url key; and
when said at least one name/value pair is determined to include said alternative-url key/value pair:
extracting a value string from said alternative-url key/value pair, said value string encapsulating an alternative-url payload representing at least an alternate scheme-name;
determining whether an alternative-application for accessing resources according to said alternate scheme-name is installed on the computer; and
when said alternative-application is installed on the computer, invoking said alternate application to access said particular resource.
12. A computer-implemented method for encoding an alternative uniform resource locater (“URL”) into a compound url, the method comprising:
obtaining, by the computer, a first url identifying a particular resource that is accessible via a first application on a first plurality of client devices and a second application on a second plurality of client devices, said first url comprising a first scheme-name, which refers to a first identifier-scheme that can be handled by said first application, but that cannot be handled by said second application, a first hierarchical portion, and a first key/value portion including zero or more key-value pairs;
obtaining, by the computer, a second url identifying said particular resource, said second url comprising a second scheme-name referring to a second identifier-scheme that can be handled by said second application, but that cannot be handled by said first application;
generating, by the computer, an alternative-url payload string that can be validly represented within said first url according to said first identifier-scheme and that encapsulates information sufficient to indicate said second url;
obtaining, by the computer, a predetermined alternative-url key recognized by url-handling routines on said second plurality of client devices as indicating the presence of an alternative url;
generating, by the computer, an alternative-url key/value pair comprising said predetermined alternative-url key and said alternative-url payload string;
inserting, by the computer, said alternative-url key/value pair into said first key/value portion to form an alternative-url-encoded compound url; and
storing said alternative-url-encoded compound url in a memory associated with the computer.
2. The method of
3. The method of
determining that a primary-application for handling said primary scheme-name is installed on the computer; and
invoking said primary-application to access said particular resource.
4. The method of
5. The method of
6. The method of
7. The method of
8. The method of
9. The method of
10. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, perform the method of
11. A computing apparatus comprising a processor and a storage medium storing instructions that, when executed by the processor, perform the method of
13. The method of
14. The method of
encoding said alternative-url-encoded compound url into an optically machine-scannable code; and
providing said optically machine-scannable code for transmission to said first and said second pluralities of client devices.
15. The method of
16. The method of
determining, by the computer, a set of reserved characters that are disallowed according to said first identifier-scheme; and
encoding, by the computer, said second url into said encoded second url such that any members of said set of reserved characters that appear in said second url are represented in said encoded second url by an equivalent data octet.
17. The method of
18. The method of
19. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, perform the method of
20. A computing apparatus comprising a processor and a storage medium storing instructions that, when executed by the processor, perform the method of
|
The present disclosure relates to networked computing services, and more particularly to generating and handling compound URLs that encapsulate an alternative URL inside a primary “carrier” URL.
A Uniform Resource Identifier (“URI”), as the term is used herein, is a string of characters used to identify a resource on a computing device and/or a network, such as the Internet. Such identification enables interaction with representations of the resource using specific protocols. “Schemes” specifying a syntax and associated protocols define each URI.
A Uniform Resource Locator (“URL”) is a URI that specifies where an identified resource is available and the mechanism for retrieving it. URLs are commonly used to identify web page resources on the World Wide Web. For example, the URL “http://www.wikipedia.org/” identifies a resource (Wikipedia's home page) and implies that a representation of that resource (such as the home page's current HTML code, as encoded characters) is obtainable via the Hypertext Transfer Protocol (“HTTP”) networking protocol from a network host named www.wikipedia.org.
The generic syntax for URI schemes is defined in Request for Comments (“RFC”) memorandum 3986 published by the Internet Engineering Task Force (“IETF”). According to RFC 3986, a URI (including a URL) consists of four parts:
<scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]
A URI (e.g., URI 100) begins with a scheme name 105 that refers to a specification for assigning identifiers within that scheme. The scheme name 105 consists of a letter followed by any combination of letters, digits, and the plus (“+”), period (“.”), or hyphen (“-”) characters; and is terminated by a colon (“:”).
The hierarchical portion 120 of the URL is intended to hold identification information that is hierarchical in nature. Often this part is delineated with a double forward slash (“//”), followed by an optional authority part 110 and an optional path 115.
The optional authority part 110 holds an optional user information part (not shown) terminated with “@” (e.g. username:password@), a hostname (i.e., domain name or IP address, here “example.com”), and an optional port number preceded by a colon “:” (not shown).
The path part 115 is a sequence of one or more segments (conceptually similar to directories, though not necessarily representing them) separated by a forward slash (“/”). If a URI includes an authority part, then the path part may be empty.
The optional query portion 125 is delineated with a question mark and contains additional identification information that is not necessarily hierarchical in nature. Together, the path part 115 and the query portion 125 identify a resource within the scope of the URI's scheme and authority. The query string syntax is not generically defined, but is commonly organized as a sequence of zero or more <key>=<value> pairs 130, 135 separated by a semicolon or ampersand, for example:
key1=value1;key2=value2;key3=value3 (Semicolon), or
key1=value1&key2=value2&key3=value3 (Ampersand)
Much of the above information is taken from RFC 3986, which provides additional information related to the syntax and structure of URIs. RFC 3986 is hereby incorporated by reference, for all purposes.
Many web-enabled services are available via a web interface, designed to be used in a general-purpose web browser, as well as via one or more platform-specific, special-purpose applications. For example, in many desktop operating systems, YouTube videos (provided by YouTube, LLC of San Bruno, Calif.) are typically accessed via YouTube's web interface in a general-purpose web browser, whereas on iOS devices (e.g., iPhones, iPads, and the like, provided by Apple Inc. of Cupertino, Calif.), YouTube videos are typically accessed via a special-purpose iOS-native YouTube application.
Similarly, the Twitter messaging service may be accessed via a web interface in a general-purpose browser, or in any number of special-purpose applications available for many different platforms.
For yet another example, on many platforms, an Application-store may be accessible (possibly with limited functionality) via a web browser, but certain operations (e.g., purchasing an application) may be available only via a special-purpose Application-store application.
The iOS operating system includes special provisions for handling http-scheme links to resources such as YouTube videos and Google Maps locations (provided by Google Inc. of Mountain View, Calif.). For example, when an iOS application requests that a http-scheme link to a YouTube video be opened on the device, the standard iOS URL-handling routines will detect that the link is to a YouTube video (e.g., by inspecting the authority, path, and/or query portions of the URL), and invoke the special-purpose YouTube application, rather than a general-purpose web browsing application. Google Maps http-scheme links are specially detected and handled by a standardly-installed Maps application.
In many cases, a developer or other individual may wish to provide a locator or identifier for a particular resource that may be accessed via either a general-purpose web browser or a special-purpose application. For example, a developer may wish to provide a single URL that can be used to view an application either in an Application-store application or, if the Application-store application is not available on a requesting device, in a web browser.
Similar behavior exists on iOS devices for URLs to applications in the iTunes Store, but it relies on special behavior implemented by the http server responding to an URL request. For example, the following URL will be accessible via an iTunes store application on devices that have it installed; otherwise, the URL provides content via a general-purpose web browser: http://itunes.apple.com/us/artist/uplake-media-11c/id317833657?ign-mpt=uo%3D4
When a device requests the identified resource, the http server returns a HTML page that includes javascript code for detecting whether the iTunes application is installed on the requesting device. If the javascript code indicates that the iTunes application is installed, another piece of javascript launches the iTunes application with the appropriate parameters. Otherwise, an html page is displayed in the general-purpose web browser.
For yet another example, an individual may wish to provide a single URL that can be used to view a particular social network discussion either in a dedicated social network application (if one is installed) or in a web browser (if no dedicated application is installed). However, http-scheme links to social network hosts may not be specially handled by standard URL-handling routines on any given device, and without altering the behavior of a social network host's web server (e.g., by returning javascript code that detects whether a special-purpose application is installed and redirects accordingly), it is currently difficult or impossible to provide a single URL that can alternatively invoke a special-purpose application (if installed on a device) or a general-purpose application (otherwise).
The detailed description that follows is represented largely in terms of processes and symbolic representations of operations by conventional computer components, including a processor, memory storage devices for the processor, connected display devices and input devices. Furthermore, these processes and operations may utilize conventional computer components in a heterogeneous distributed computing environment, including remote file Servers, computer Servers and memory storage devices. Each of these conventional distributed computing components is accessible by the processor via a communication network.
The phrases “in one embodiment,” “in various embodiments,” “in some embodiments,” and the like are used repeatedly. Such phrases do not necessarily refer to the same embodiment. The terms “comprising,” “having,” and “including” are synonymous, unless the context dictates otherwise.
In various embodiments, as discussed below, a resource may be identified according to multiple URLs by encapsulating an “alternative” URL inside a “primary” URL to form a “compound” URL, also referred to herein as a “smart link.” In some cases, either the alternative URL may be usable by a special-purpose application that may or not be installed on a client device, while the primary URL may be usable by a general-purpose application (e.g. a web browser) or other application that is standardly installed on a client device. In other cases, the primary URL may be usable by a special-purpose application that may or not be installed on a client device, while the alternative URL may be a “fallback” URL, usable by a general-purpose application (e.g. a web browser) or other application that is standardly installed on a client device. In some cases, two or more alternative URLs may be encapsulated in a single primary URL.
The one or more alternative URLs are indicated within the primary URL by a pre-determined “key” that indicates the presence of an alternative URL. In many cases, such a pre-determined key will be ignored by an authority handling access to the resource identified by the primary URL.
Reference is now made in detail to the description of the embodiments as illustrated in the drawings. While embodiments are described in connection with the drawings and related descriptions, there is no intent to limit the scope to the embodiments disclosed herein. On the contrary, the intent is to cover all alternatives, modifications and equivalents. In alternate embodiments, additional devices, or combinations of illustrated devices, may be added to, or combined, without limiting the scope to the embodiments disclosed herein.
In various embodiments, network 250 may include the Internet, a local area network (“LAN”), a wide area network (“WAN”), and/or other data network. In some embodiments, other servers and/or devices (not shown) may also be present. For example, in some embodiments, one or more proxy devices, firewalls, and/or other intermediaries (not shown) may exist between network 250 and one or more of the other devices shown in
The client device 300 also includes a processing unit 310, a memory 350, and a display 340, all interconnected along with the network interface 330 via a bus 320. The memory 350 generally comprises a random access memory (“RAM”), a read only memory (“ROM”), and a permanent mass storage device, such as a disk drive, flash memory, or other persistent storage technology. The memory 350 stores program code for a “preferred” smart link handling routine 900 (see
In some embodiments, client device 300 also includes a scanner 345 capable of capturing information encoded in machine-scannable codes. For example, in some embodiments, scanner 345 may comprise a camera or other optical scanner for capturing optically-encoded machine-scannable codes, such as barcodes, two-dimensional barcodes, and the like. In other embodiments, scanner 345 may comprise a radio transmitter and/or receiver for capturing radio-frequency identification (“RFID”) tags and the like. In still other embodiments, scanner 345 may comprise suitable components for scanning or reading codes encoded in other machine-scannable media.
The smart link server 400 also includes a processing unit 410, a memory 450, and an optional display 440, all interconnected along with the network interface 430 via a bus 420. The memory 450 generally comprises a random access memory (“RAM”), a read only memory (“ROM”), and a permanent mass storage device, such as a disk drive. The memory 450 stores program code for a smart link encoding/distribution routine 800 (see
Although an exemplary client device 300 and smart link server 400 have been described that generally conform to conventional general purpose computing devices, in various embodiments client device 300 and/or smart link server 400 may be any of a great number of devices capable of communicating with the network 150 and/or resource server 205, for example, a personal computer, a game console, a set-top box, a handheld computer, a cell phone, or any other suitable device.
However, unlike prior-art URL 100, “key/value” portions 540, 640, 740 include “alternative-URL” key/value pairs 525B, 625B, 725B that encapsulate alternative-URL payloads 535B, 635B, 735B. Alternative-URL key/value pairs 525B, 625B, 725B also include predetermined alternative-URL keys 530B, 630B, 730B, which may be recognized as indicating the presence of an alternative-URL by URL-handling routines on various client devices, in accordance with various embodiments.
Exemplary smart links 500, 600, 700 identify a resource hosted by a device named “fb.com,” the resource being identified according to the path “mu” and the key/value pair “v=wall”. This resource (“mu/v=wall”) is identified according to two different schemes: the ordinary http scheme, and a hypothetical scheme named “fbck”. The hypothetical scheme “fbck” may be considered for simplicity of explanation to have identical syntax and structure to the ordinary http scheme. However, the systems and methods described herein are, with few exceptions, equally applicable to schemes that do not share syntax and/or structure.
Again for purposes of explanation, it is considered that some, but not all, client devices have installed a special-purpose application for accessing resources identified according to the fbck scheme; whereas virtually all client devices of interest have at least a general-purpose web browsing application for accessing resources identified according to the http scheme.
It is also assumed that users who have installed the special-purpose application on their client devices would prefer to access mu/v=wall via the special-purpose application, rather than via a general-purpose web browsing application. For example, the special-purpose application may offer extended functionality and/or be easier to use when accessing mu/v=wall, as compared to using a general-purpose web browsing application to access mu/v=wall via a web interface. Given this assumption that the special-purpose application is preferable to the general-purpose web browsing application for accessing mu/v=wall, one who wishes to distribute a link to the mu/v=wall resource is faced with a conundrum. If he or she distributes an URL according to the fbck scheme, then client devices that have the special-purpose application installed will access mu/v=wall in the preferred manner; however, client devices that do not have the special-purpose application installed will be unable to handle the fbck-scheme URL, and will be thus unable to access the resource. Contrariwise, If he or she distributes an URL identifying the resource according to the http scheme, then all client devices may be able to access the resource, but only via the less-desirable general-purpose web browsing application.
However, if the client devices of interest implement a URL-handling routine such as routine 900 or 1100 (see
The generation and use of these and other like smart links or compound URLs is discussed at length below, referring back to various components of smart links 500, 600, 700 as appropriate. The http-scheme and the hypothetical fbck-scheme are used throughout for explanation.
In various embodiments, the first and second URLs may be obtained from a data file, such as an HTML file, a text file, an XML file, or the like; from a database or other data store; from an input interface, such as a keyboard, camera, scanner, microphone, touch screen, or the like; from a network interface, such as via a web form, http request, or the like; or from another suitable source.
In alternate embodiments, the first URL and the second URL may not identify exactly the same resource. For example, in one embodiment, the first URL may identify a resource accessible only via a special-purpose application, such as a particular level in a gaming application. In such an embodiment, the second URL may identify a resource from which the gaming application may be obtained and installed on the device (e.g., the second URL may identify an application-store resource corresponding to the gaming application). In some embodiments, the converse may also be the case—the first URL may identify a resource from which a gaming application may be obtained and installed on the device, and the second URL may identify a resource accessible only via the special-purpose application.
In some embodiments, routine 800 may in block 815 optionally obtain additional information about a special-purpose application beyond information included in the first and/or second URLs. For example, in one embodiment, routine 800 may obtain information such as an application-identifier with which the special-purpose application may be identified in an application-store application or web page. In various embodiments, such additional information may or may not take the form of an URL.
In block 820, routine 800 generates an alternative-URL payload string encapsulating the second URL. For example, in one embodiment, routine 800 may percent-encode the second URL as described in RC 3986, or otherwise encode the second URL so that can be validly represented within the first URL according to the scheme named in the first URL. Briefly, the generic URI syntax and/or various scheme-specific syntaxes may define a set of reserved characters that are disallowed. For example, the generic URI syntax disallows a set of characters that are used as delimiters, including the following characters:
: / ? # [ ] @ ! $ & ' ( ) * + , ; =
In some embodiments, in block 820, routine 800 may replace such disallowed characters with an equivalent data octet using a substitution scheme. For example, according to the commonly-used percent-encoding scheme, the colon (“:”) character is encoded as “%3A”, the forward-slash character (“/”) is encoded as “%2F”, the equals character (“=”) is encoded as “%3D”, the question mark character (“?”) is encoded as “%3F”, and so on. For example, in one embodiment, routine 800 may encapsulate the second URL into an alternative-URL payload as follows:
second URL: ”fbck://fb.com/mu?v=wall”
alternative-URL payload:
”fbck%3A%2F%2Ffb.com%2Fmu%3Fv%3Dwall” (535B)
Alternately:
second URL: ”http://fb.com/mu?v=wall”
alternative-URL payload:
”http%3A%2F%2Ffb.com%2Fmu%3Fv%3Dwall” (635B)
In some embodiments, routine 800 may additionally or alternately perform other operations to generates an alternative-URL payload, such as encrypting and/or obfuscating the second URL (or the encoded second URL).
In block 830, routine 800 obtains a key to indicate the presence of an alternative-URL payload within a smart link. For example, in one embodiment, routine 800 may obtain a key such as “appURI”, 530B as shown in
”appURI=fbck%3A%2F%2Ffb.com%2Fmu%3Fv%3Dwall” (525B)
”altURI=http%3A%2F%2Ffb.com%2Fmu%3Fv%3Dwall” (625B)
In block 840, routine 800 inserts the alternative-URL key/value pair into the key/value portion of the first URL, creating thereby a compound URL or smart link. A smart link thus created will conform to the generic URI syntax and structure described in RFC 3986 and discussed above, assuming that the first URL is so conformant.
In most embodiments, one or more pre-determined alternative-URL keys may be established by convention and/or standards to indicate such payloads. As discussed above, the alternative-URL key is inserted into the key/value portion of the first URL to form a compound URL or smart link; therefore, in most embodiments, it may be desirable that the alternative-URL key be a key that is unlikely to be used for other purposes. For example, commonly-used keys such as “id”, “q”, “tab”, and the like would be unsuitable alternative-URL keys, as their insertion into the first URL would likely break many existing web applications or services. For purposes of illustration, alternative-URL keys such as “appURI” and “altURI” are used herein, but other embodiments are not limited to these exact keys. Rather, any arbitrary string may be adopted, so long as at least some client devices recognize the string as indicating the presence of an alternative-URL payload within a smart link (as discussed below in reference to
(a) http://tools.ietf.org/html/rfc3986#section-3.1
(b) http://tools.ietf.org/html/rfc3986?foo=bar#section-3.1
Similarly the web host named en.wikipedia.org treats URL (c) and smart link (d) identically, as the alternative-URL key “appURL” is not recognized by that host.
(c) http://en.wikipedia.org/w/index.php?title=URI_scheme&oldid=
400713352
(d) http://en.wikipedia.org/w/index.php?title=URI_scheme&oldid=
400713352&appURL=wiki%3A%2F%2Fen.wikipedia.-
org%2Fw%2Findex.php%3Ftitle%3DURI_scheme%26oldid%-
3D400713352
Accordingly, alternative-URL keys that are not likely to be used by existing web applications are not likely to break those web applications, maintaining backwards compatibility for smart links.
Referring again to
Within a smart link, the first URL may be referred to herein as the “primary” and the second, encapsulated, URL may be referred to as the alternative URL, when it is necessary to make a distinction. For example, in smart link 500 (aka compound URL 500), the “primary” URL includes primary scheme 505, primary hierarchical portion 520, and key/value pair 525A, while the alternative URL is encapsulated in key/value pair 525B. These designations do not imply that the first URL has primacy over the alternative URL. Rather, in various embodiments, either the primary or the alternative URL may represent a preferred scheme for accessing a resource.
If, however, routine 800 determines in decision block 845 that it obtained additional information about a special-purpose application, then in block 855, routine 800 generates an application-information key/value pair including the application-information key and a payload encapsulating the application-information key (possibly percent-encoded, as described above). In block 860, routine 800 inserts the application-information key/value pair into the smart link generated in block 840 before storing and/or providing the smart link for distribution in block 850, as discussed above.
Routine 800 ends in block 899. In some embodiments, routine 800 may be performed sequentially or in parallel to generate additional smart links.
Referring to
In block 910, routine 900 receives an indication to access a resource identified by the smart link. For example, in one embodiment, a user of the device that is performing routine 900 may indicate to access the smart link by tapping, clicking, or otherwise selecting the smart link via an input associated with the device.
In subroutine block 1000, routine 900 calls alternative-URL access subroutine 1000 (see
Otherwise, in decision block 925, routine 900 determines whether an application is installed for accessing resources according to the primary scheme, and if so, in block 930, routine 900 invokes or calls the installed application to access the resource. In some embodiments, this invocation operation may include passing the smart link to the installed application. If the smart link cannot be handled by an installed application, then routine 900 indicates an error handling the smart link in block 935.
For example, in some embodiments, an operating system or other shared resource may provide a mechanism for querying whether an application is installed and/or has registered as being able to handle the primary scheme. In such embodiments, routine 900 may identify an appropriate installed application and pass the smart link to that application in block 930. In other embodiments, routine 900 may simply ask the operating system or other shared resource on the device to open the smart link in block 925, and if the “open” operation fails, routine 900 may indicate an error in block 935.
Routine 900 ends in block 999.
In decision block 1015, subroutine 1000 determines whether the key of the current key/value pair indicates that the current key/value pair is an alternative-URL key/value pair that encapsulates an alternative URL. For example, subroutine 1000 may determine whether the current key matches any of a list of one or more pre-determined alternative-URL keys. If the current key/value pair is not indicated to be an alternative-URL key/value pair, then subroutine 1000 proceeds to ending loop block 1040, and iterates back to block 1010 to process the next key/value pair (if any).
However, if the current key/value pair is indicated to be an alternative-URL key/value pair, then in block 1020, subroutine 1000 obtains an alternate-URL payload from the current value-string. For example, in one embodiment, subroutine 1000 may substitute zero or more encoded data octets in the current value-string for equivalent characters (e.g., by reversing a percent-encoding process, such as that described above) to obtain an alternate-URL payload. In other embodiments, subroutine 1000 may perform other operations to transform the current value-string into an alternate-URL payload, such as decrypting or de-obfuscating the current value-string. In some embodiments, the alternate-URL payload will conform to the generic URL syntax and structure described in RFC 3986 and discussed above, and will thus include an alternative scheme and hierarchical portion, and optionally, a key/value portion. In alternate embodiments, the alternate-URL payload may include a partial URL from which a complete alternative URL may be formed. For example, in one embodiment, the alternative-URL payload may consist of only an alternative scheme, in which case a complete alternative-URL may be formed by copying the alternative scheme to replace the primary scheme in the compound URL.
In block 1025, subroutine 1000 determines whether the alternative URL can be handled by an installed application for accessing resources according to the alternative scheme named by the alternative URL.
For example, in some embodiments, an operating system or other shared resource may provide a mechanism for querying whether an application is installed and/or has registered as being able to handle the primary scheme. In such embodiments, routine 1000 may identify an appropriate installed application and pass the smart link to that application in block 1030. In other embodiments, routine 1000 may simply ask the operating system or other shared resource on the device to open the smart link in block 1025, and if the “open” operation fails, routine 1000 may proceed to decision block 1035. In decision block 1035, subroutine 1000 determines whether it can obtain and/or install an application for handling the alternative-URL scheme. For example, in some embodiments, a key/value pair of the smart link may include information from which an appropriate application may be identified and presented to the user to purchase and/or download and install. In other embodiments, subroutine 1000 may query the user for an appropriate application or otherwise attempt to identify an appropriate application without using additional information from the smart link.
If the alternative-URL is determined to be able to be handled in either block 1025 or block 1035, then in block 1030, subroutine 1000 invokes or calls an installed application to access the resource. In some embodiments, this invocation operation may include passing the smart link to the installed application. Then, subroutine 1000 returns in block 1098, indicating that the alternative resource was accessed.
However, if in block 1035, no application was able to handle the alternative-URL, then in ending loop block 1040, subroutine 1000 iterates back to block 1010 to process the next key/value pair (if any).
If all key/value pairs are processed without accessing an alternative resource, then subroutine 1000 ends in block 1099, indicating that no alternative resource was accessed.
In block 1105, routine 1100 obtains a smart link, e.g., by receiving or reading an html document, email, or other link-bearing data. As discussed above, smart links will conform to the generic URI syntax and structure described in RFC 3986 and discussed above, as long as the first URL from which it was generated was so conformant. Thus, the smart link or compound URL received in block 1105 identifies a particular resource by naming a primary scheme, which refers to a specification for assigning identifiers within the primary scheme, a hierarchical portion (including an authority and/or path), and a key/value portion, which includes at least one key/value pair
In block 1110, routine 1100 receives an indication to access a resource identified by the smart link. For example, in one embodiment, a user of the device that is performing routine 1100 may indicate to access the smart link by tapping, clicking, or otherwise selecting the smart link via an input associated with the device.
In decision block 1125, routine 1100 determines whether an application is installed for accessing resources according to the primary scheme, and if so, in block 1130, routine 1100 invokes or calls the installed application to access the resource, and routine 1100 ends in block 1199. In some embodiments, this invocation operation may include passing the smart link to the installed application. If the smart link cannot be handled by an installed application, then routine 1100 calls alternative-URL access subroutine 1000 (see
For example, in some embodiments, an operating system or other shared resource may provide a mechanism for querying whether an application is installed and/or has registered as being able to handle the primary scheme. In such embodiments, routine 1100 may identify an appropriate installed application and pass the smart link to that application in block 1130. In other embodiments, routine 1100 may simply ask the operating system or other shared resource on the device to open the smart link in block 1125, and if the “open” operation fails, routine 1100 calls alternative-URL access subroutine 1000 (see
In decision block 1120, routine 1100 determines whether subroutine 1000 returned a value indicating that an alternative application was used to access a resource identified by the smart link. If such an alternative application was so used, then routine 1100 ends in block 1199. Otherwise, routine 1100 indicates an error handling the smart link in block 1135, and routine 1100 ends in block 1199.
http://www.facebook.com/maruthecat?v=wall&appURI=
fbck%3A%2F%2Fwww.facebook.com%2Fmaruthecat%3Fv%3Dwall
Machine-scannable code 1205 encodes the entire smart link string as raw data. Machine-scannable code 1210 encodes a “short” URL that re-directs to the smart link. Machine-scannable code 1210 therefore is less information-dense than machine-scannable code 1205, and in some embodiments, machine-scannable code 1210 may be easier to scan, especially on client devices with limited image-capture capabilities.
Table 1-Table 4 illustrate various exemplary smart links (and constituent components thereof) in accordance with various embodiments, as described herein.
TABLE 1
primary URL
sms:+15105550101?body=hello%20there
alternative URL
mailto:me@example.com?body=hello %20there
smart link
sms:+15105550101?body=hello%20there&altURI=mailto%3Ame%40examp
le.com%3F%20body%3Dhello%2520there
In one embodiment, the smart link shown in Table 1 might be provided to preferably invoke an email application on a client device such as a smart phone, desktop/laptop computer, or the like. On other client devices, such as feature phones that may lack an email application, an SMS application may be invoked.
TABLE 2
primary URL
tel:+1-816-555-1212
alternative URL
gvoice:+1-816-555-1212
smart link
tel:+1-816-555-1212?altURI=gvoice%3A%2B1-816-555-1212
In one embodiment, the smart link shown in Table 2 might be provided to preferably invoke a free or low-cost phone call application if one is installed on a client device such as a smart phone, desktop/laptop computer, or the like. On other client devices, such as feature phones or smart phones that do not have such an application installed, a standard phone dialer may be invoked.
TABLE 3
primary URL
http://torrents.example.org/example.torrent
alternative URL
magnet:?xt=urn:btih:41c599438e5971ed
959b93296n=example
smart link
http://torrents.example.org/example.torrent?altURI=magnet%3A%3
Fxt%3Durn%3Abtih%3A41c599438e5971ed959b93296n%3Dexample
In one embodiment, the smart link shown in Table 3 might be provided to preferably invoke a peer-to-peer file sharing application, if one is installed on a client device, to obtain an identified file. On other client devices that do not have such an application installed a general-purpose web browser may be invoked.
TABLE 4
primary URL
geo:47.611950,−122.337570
alternative URL
http://maps.google.com/maps?
q=47.611950,+−122.337570&num=1&t=h&
sll=47.610531,−122.337913&sspn=0.071946,0.071946&
hl=en&ie=UTF8&ll=47.61195,−122.33757&spn=0.007189,0.011276&
z=17&iwloc=A
smart link
geo:47.611950,−122.337570&altURI=http%3A%2F%2Fmaps.google.com
%2Fmaps%3Fq%3D47.611950%2C%2B−122.337570%26num%3Dl%26
t%3Dh%26sll%3D47.610531%2C-122.337913%26sspn%3D0.071946%2C
0.071946%26hl%3Den%26ie%3DUTF8%2611%3D47.61195%2C−
122.33757%26spn%3D0.007189%2C0.011276%26z%3D17%26iwloc%3DA
In one embodiment, the smart link shown in Table 4 might be provided to invoke a special-purpose map application if one is installed on a client device. On other client devices that do not have such an application installed a general-purpose web browser may be invoked as a fallback.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that alternate and/or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the present disclosure. This application is intended to cover any adaptations or variations of the embodiments discussed herein.
Patent | Priority | Assignee | Title |
10042946, | Jun 07 2016 | Hashtag, deep link and linket for more user interactions | |
10051086, | Mar 15 2013 | Verizon Patent and Licensing Inc | Computerized system and method for creating a resource URL for rendering the resource in a resource specific application |
10346826, | Jul 28 2015 | Blockchain and deep links for mobile apps | |
10503533, | Jan 04 2016 | App streaming, bidirectional linket, phone number for mobile deep links | |
10521070, | Oct 23 2015 | Verizon Patent and Licensing Inc | Method to automatically update a homescreen |
10534850, | May 13 2013 | International Business Machines Corporation | Presenting a link label for multiple hyperlinks |
10565269, | Aug 16 2016 | App social network of linket and deep link users | |
10625854, | Aug 10 2017 | Drone interacting with a stranger having a cellphone | |
10673924, | Nov 02 2016 | Mobile maps connected to augmented reality games via linket | |
10789306, | Aug 16 2016 | Bots for linkets and deep links | |
10831766, | Dec 21 2015 | YAHOO ASSETS LLC | Decentralized cards platform for showing contextual cards in a stream |
10834546, | Oct 14 2013 | Verizon Patent and Licensing Inc | Systems and methods for providing context-based user interface |
10845949, | Sep 28 2015 | Verizon Patent and Licensing Inc | Continuity of experience card for index |
11354486, | May 13 2013 | International Business Machines Corporation | Presenting a link label for multiple hyperlinks |
11516161, | Sep 22 2012 | MOTION OFFENSE, LLC | Methods, systems, and computer program products for processing a data object identification request in a communication |
11611520, | Sep 22 2012 | MOTION OFFENSE, LLC | Methods, systems, and computer program products for processing a data object identification request in a communication |
8667539, | Aug 03 2011 | HARTSON, TED ELLIOTT | System for scanable icon detection and management |
8826340, | Oct 14 2011 | Symbol Shifters, LLC | Method for more efficient collecting of information |
8935400, | Feb 28 2011 | Verizon Patent and Licensing Inc | Smartlink system and method |
9762521, | Jan 15 2016 | International Business Machines Corporation | Semantic analysis and delivery of alternative content |
9792101, | Nov 10 2015 | Capacity and automated de-install of linket mobile apps with deep links | |
9838458, | Jun 08 2015 | Cookies and anti-ad blocker using deep links in mobile apps | |
ER6875, |
Patent | Priority | Assignee | Title |
7779149, | Jun 27 2003 | Fujitsu Limited | Compound contents delivery method and delivery system |
20020092019, | |||
20040267908, | |||
20060015904, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 28 2011 | Mskynet Inc. | (assignment on the face of the patent) | / | |||
Feb 28 2011 | CHOR, JESSE | MSKYNET, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028483 | /0216 | |
Feb 05 2014 | MSKYNET INC | Yahoo! Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 032275 | /0344 | |
Jun 13 2017 | Yahoo! Inc | YAHOO HOLDINGS, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 042963 | /0211 | |
Dec 31 2017 | YAHOO HOLDINGS, INC | OATH INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045240 | /0310 | |
Oct 05 2020 | OATH INC | VERIZON MEDIA INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 054258 | /0635 | |
Aug 01 2021 | VERIZON MEDIA INC | Verizon Patent and Licensing Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 057453 | /0431 |
Date | Maintenance Fee Events |
Apr 01 2016 | STOL: Pat Hldr no Longer Claims Small Ent Stat |
Oct 13 2016 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Oct 02 2020 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Dec 16 2024 | REM: Maintenance Fee Reminder Mailed. |
Date | Maintenance Schedule |
Apr 30 2016 | 4 years fee payment window open |
Oct 30 2016 | 6 months grace period start (w surcharge) |
Apr 30 2017 | patent expiry (for year 4) |
Apr 30 2019 | 2 years to revive unintentionally abandoned end. (for year 4) |
Apr 30 2020 | 8 years fee payment window open |
Oct 30 2020 | 6 months grace period start (w surcharge) |
Apr 30 2021 | patent expiry (for year 8) |
Apr 30 2023 | 2 years to revive unintentionally abandoned end. (for year 8) |
Apr 30 2024 | 12 years fee payment window open |
Oct 30 2024 | 6 months grace period start (w surcharge) |
Apr 30 2025 | patent expiry (for year 12) |
Apr 30 2027 | 2 years to revive unintentionally abandoned end. (for year 12) |