Persistence of resource requests and responses in proxy communications
By using the network proxy to update the URL on the client device, including the proxy service and resource location, the problem of resource location information loss in the communication between the proxy service and the IDP is solved, and the persistence of resource requests and responses in proxy communication is achieved. and efficiency.
Patent Information
- Application Number
- CN202380019543.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-31
- Filing Date
- 2023-01-06
- Publication Date
- 2024-09-10
AI Technical Summary
During the communication process between the proxy service and the identity provider (IDP), the resource location information in the virtual address may be lost, resulting in the user being unable to seamlessly obtain the requested resources. It is necessary to achieve persistence of resource requests and responses in proxy communication. sex.
Ensure that requests are effectively redirected to the proxy service by intercepting resource requests using a network proxy on the client device, learning and updating the Uniform Resource Locator (URL), and adding the proxy service's indication and resource location before redirecting to the proxy service. , thereby maintaining the persistence of resource locations.
It achieves the stability and durability of resource requests and responses in proxy communication, avoids the loss of resource location information, and users do not need to repeatedly request resources, improving communication efficiency and user experience.
Smart Images

Figure CN118633263A
Abstract
Description
Background Art
[0001] Proxy services that provide many security features are widely used by today's Internet users. In conventional use, a proxy service can act as a relay between a client of the proxy service (e.g., a user of a communication network) and one or more other parties (e.g., web and / or cloud service providers) with which the client is communicating through a communication network (e.g., the Internet). That is, a proxy service can be used as a "middleman" between a user and a web / cloud service and relay messages between the two parties. In addition to serving the communication relay, a proxy service can monitor the communication between a user and a web / cloud service provider. When monitoring the communication, the proxy service can provide security services to the user by implementing one or more security policies. The proxy service can analyze the communication between the two parties in the context of a security policy. For example, if one or more data packets between the parties violate a security policy, the proxy service can employ security intervention to protect the user from malicious and / or inappropriate communication. Such security intervention can include isolating and / or blocking the transmission of data packets associated with malicious and / or inappropriate communication (e.g., as defined by a security policy) from either party. Such security policies may be configured by the user or an administrator of the user's computing device (eg, the user's employer in the event that the user is utilizing the employer's computing / network assets).
[0002] Another service currently widely used for Internet communications is an identity provider (IDP). IDP can store, maintain and / or manage digital identities that enable users to log in and access resources (e.g., information, data and / or other content). For example, when the above-mentioned user attempts to access resources from a web / cloud service provider (e.g., an operator of an application), the application operator can redirect the user to the IDP. The IDP can authenticate the user's login credentials and provide an indication to the application operator that the user is authorized to access the resource. Some IDPs can act as "bouncers" that bounce users to proxy services. When a "bounce" event is performed, the IDP can redirect (or bounce) the user to the proxy service. The IDP can implement the bounce action via one or more "session control" policies that characterize which users should be subject to the proxy's communication. For example, in order to protect hardware / network resources, the user's administrator can configure the IDP to bounce specific users (e.g., employees of a company) to the proxy service.
[0003] Communications on a network are typically managed via virtual "addresses" such as uniform resource locators (URLs). In addition to the locations of the computing devices of the parties, the URL may encode the location of the requested resource, the location of the proxy service, the location of the IDP, or other such information. When a user "bounces" from the IDP to the proxy service, various information encoded in the URL (e.g., the location of the requested resource) may be "lost" during the bounce. Thus, due to the loss of information encoded in the URL, the intended communication (e.g., retrieval of a resource) may not be achieved. Summary of the invention
[0004] Various aspects of the technology described herein generally relate to systems, methods, and computer storage media, particularly to providing persistence of resource requests and responses in proxy communications. As described herein, in various scenarios, a user may request resources from a service domain associated with an application service provider (ASP). The ASP may route the user to an identity provider (IDP) that provides user authentication services. Based on a session control policy configured at the IDP, the IDP may redirect the user to a proxy service. During the redirection to the proxy service, the context of the request (e.g., the location of the resource within the service domain) may be lost. Therefore, the ASP may not have the context to provide the requested resource without the user requesting the requested resource a second time (e.g., after the user has been authenticated by the IDP and a session with the proxy service has been established as a "relay" between the user and the ASP).
[0005] More specifically, a non-limiting method embodiment includes intercepting a request for a resource. The request can be intercepted before the request is received at the service domain. In some embodiments, a request can be initiated at a client device, and the request can be intercepted before the request is sent from the client device. For example, the client device can implement a network agent (agent) that monitors and intercepts such requests. The request can be encoded in a first uniform resource locator (URL), and the first URL encodes an indication of the service domain and an indication of a location in the service domain associated with the resource. In response to determining that the request is associated with a proxy service, a second URL can be generated. For example, the network agent can generate a second URL. The second URL encodes an indication of the service domain, an indication of the location in the service domain, and an indication of the proxy service. The second URL can be used to send a request for a resource. Based on the indication of the proxy service encoded in the second URL, the request can be directed to the proxy service before being sent to the service domain.
[0006] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The technology described herein is described in detail below with reference to the accompanying drawings, in which:
[0008] Figure 1A Included is a block diagram illustrating an example operating environment 100 in which some embodiments of the present disclosure may be employed;
[0009] Figure 1B Various embodiments of universal resource locators employed by various embodiments are shown;
[0010] Figure 1C A block diagram illustrating an example proxy communication session is shown;
[0011] Figure 2 shows a block diagram illustrating another example proxy communication session in accordance with various embodiments;
[0012] Figure 3 A flow chart illustrating a method for providing persistence of resource requests and responses in proxy communications according to various embodiments is provided;
[0013] Figure 4 A flow chart illustrating a method for learning and unlearning a service domain associated with a proxy service according to various embodiments is provided; and
[0014] Figure 5 is a block diagram of an exemplary computing environment suitable for implementing aspects of the techniques described herein. DETAILED DESCRIPTION Overview of technical problems, technical solutions and technical improvements
[0015] Various embodiments enable stable and persistent communication between a user and a web / cloud service provider in a situation where the user would otherwise bounce from an identity provider (IDP) to a proxy service. Because web / cloud service providers typically provide their services through applications and / or web browsers, web / cloud service providers may be referred to as application service providers (ASPs). Various information (e.g., the location of the resource that the user is trying to retrieve) may be embedded in a virtual address, such as a uniform resource locator (URL). As described above, when bouncing from an IDP to a proxy service, some information in the URL may be lost. Therefore, in various scenarios, a user may request a resource (e.g., a document, file, data, information, or other content) from an ASP via a URL that encodes the resource location. The ASP may direct the user to the IDP to authenticate their access credentials. Based on the user's identity and / or one or more "session control" policies implemented by the IDP, the IDP may bounce the user to a proxy service that monitors and manages the communication between the user and the APD. During the bounce, at least a portion of the URL encoding the location of the requested resource may be lost. When this happens, the ASP may not be able to seamlessly provide the requested resource.
[0016] Various embodiments avoid this scenario (and thus provide a stable and persistent response to resource requests in proxy communications) by employing a network proxy on a user's computing device (e.g., a client computing device). By monitoring the user's communications with various ASPs, the network proxy "learns" (and "unlearns") which ASPs the user needs to proxy communications with. Some embodiments are N=1 embodiments, in which only a redirection to a single instance of a proxy service is required to learn the association between an ASP (or a service domain associated with an ASP) and a user's proxy service. Other embodiments are N>1 embodiments, in which at least N instances of redirection are required to learn the association. When unlearning the association between a service domain and a proxy service, some embodiments are N=1 embodiments, while other embodiments are N>1 embodiments. If a user requests information from an ASP to which the user is normally proxied (via a URL that encodes the location of the requested resource), the learning proxy can update the URL to include the location of the proxy service before sending the request to the ASP. In addition to including the proxy location, the update of the URL can save the location of the requested resource. When the updated request is sent, the user's request is effectively redirected to the proxy service instead of being routed directly to the ASP. Because the updated request that has been rerouted to the proxy service directly from the client device rather than from the IDP includes the location of the requested resource, the location of the requested resource is saved (e.g., the location of the requested resource is maintained) during the proxy's communication. Due to the persistence of the location of the requested resource within the URL, once the user has been authenticated, the ASP can provide the requested resource to the user without the user providing a second request for the resource. In various embodiments, redirection to the proxy service can be enabled via a suffix included in the URL sent in the redirect. Such a proxy service may be referred to as a suffix proxy service.
[0017] As described above, the user's network proxy learns and unlearns which ASP domains (e.g., service domains) the user needs to proxy for. Upon learning that the user needs proxy services to communicate with a certain service domain, when the user attempts to communicate with the service domain, the proxy can automatically update the URL including the service domain with an indication that the communication will be redirected to the proxy service before sending a request to the service domain. If the session control policy is changed so that the proxy service is no longer needed for the user (and for the service domain), the network proxy can stop updating the URL (e.g., to include the location of the proxy service) before relaying the request, so that the request is sent directly from the client device to the ASP's domain.
[0018] Therefore, the embodiment ensures the persistence of resource requests and responses in proxy communications. That is, a user can request a resource from an ASP, and even when the user requires proxy services between the user's client computing device and the ASP's domain, the ASP can seamlessly provide the requested resource without requiring the user to submit a second request for the resource.
[0019] The location of the resource within the service domain (encoded in the URL associated with the request for the resource) can be referred to as the context of the resource request. In addition, the ASP can be referred to as a third party, which is a provider and / or operator of a web / cloud service (e.g., a third party application). Various embodiments maintain (e.g., save and / or maintain) the context without any changes made by a service domain third-party application. This can be achieved by having the network proxy replace the non-suffix domain with the suffix domain before redirecting to the IDP, so the context is not lost. The network proxy can be referred to as an endpoint proxy. As described above, the network proxy learns which domains will be suffixed. In conventional scenarios, this information may only be available at the IDP. However, in various embodiments, a dedicated header (from the user's bounce from the IDP to the proxy service) can be returned to the client device. The network proxy can use these headers to learn which service domains are associated with the proxy service. Environment overview for persistent communication via proxy services
[0020] Figure 1A Includes a block diagram showing an example operating environment 100 in which some embodiments of the present disclosure may be adopted. It should be understood that this and other arrangements described herein are only set forth as examples. In addition to or in place of the arrangements and elements shown, other arrangements and elements (e.g., machines, interfaces, functions, sequences, and functional groupings) may be used, and for clarity, some elements may be omitted completely. In addition, many elements described herein are functional entities, which may be implemented as discrete or distributed components or combined with other components, and implemented in any suitable combination and position. The various functions described herein as being performed by an entity may be implemented by hardware, firmware, and / or software. For example, some functions may be implemented by a processor executing instructions stored in a memory.
[0021] In addition to other components not shown, the example operating environment 100 includes a client computing device 102 and an application service provider (ASP) 104, a proxy service 106, and an identity provider (IDP) 108. The client computing device 102, the ASP 104, the proxy service 106, and the IDP 108 may be communicatively coupled via a communication network 110. To achieve persistence of resource requests and responses in proxy communications, the client computing device 102 may implement a network broker 112, as discussed throughout, including at least one embodiment of the present invention in conjunction with at least Figure 2 discussed.
[0022] The communication network 110 may be a general or specific communication network and may be directly and / or indirectly communicatively coupled to the client computing device 102 and the server computing device 104. The communication network 110 may be any communication network, including virtually any wired and / or wireless communication technology, wired and / or wireless communication protocol, etc. The communication network 110 may be virtually any communication network that communicatively couples multiple computing devices and storage devices in a manner in which the computing devices exchange information via the communication network 110.
[0023] It should be understood that the environment 100 shown in FIG. 1 is an example of a suitable operating environment. For example, each component shown in FIG. 1 can be accessed via any type of computing device (such as a combination of Figure 5 The components may communicate with each other via a network 110, which may include, but is not limited to, a local area network (LAN) and / or a wide area network (WAN). In an exemplary implementation, the communication network 110 includes the Internet and / or a cellular network, as well as any of a variety of possible public and / or private networks. The operating environment 100 may be used to implement any of the various embodiments described herein. For example, the operating environment 100 is also used to implement the Figure 1C-Figure 4 Various aspects of description. Overview of Agent Communication
[0024] You can refer to the examples and Figure 1B and additional diagrams below to describe various aspects of the technical solution. Figure 1B Various embodiments of uniform resource locators (URLs) used in various embodiments are shown. Note that Figure 1B The URLs 114 may include a Hypertext Transfer Protocol (HTTP) call (e.g., https: / / ). In other embodiments, one or more of the URLs may not include an HTTP call. URL 114 may include a domain of an application service provider (ASP). For example, URL 114 includes a service domain "some-app.com," which may correspond to a particular ASP (e.g., a party operating an application, referred to as "some-app"). Figure 1A The service domain encoded in URL 114 is associated with ASP 104.
[0025] URL 132 encodes the service domain of URL 114 and the location of the resource (within the service domain). More specifically, URL 132 includes a call 152 to the service domain and an address 154 of the requested resource of the service domain. For example, a user (e.g., Figure 1AA user of client computing device 102 may employ a web browser and / or application (e.g., “some-app”) installed on client device 102 to send a request to an ASP (e.g., ASP 104) for providing a resource indicated by resource address 154. Note that resource address 154 is the “suffix” URL in URL 132.
[0026] URL 134 may be a URL from an identity provider (e.g. Figure 1A For example, an ASP (e.g., ASP 104 associated with service domain 114) may employ URL 134 to request a login service from an IDP (e.g., IDP 108) in order to verify that a user has access rights to a resource indicated by resource address 154. That is, service domain "login.IDP.com" may be a service domain associated with an IDP. URL 138 may be a URL that includes a proxy service (e.g., Figure 1A The service domain "proxy-service.com" may be the service domain of the proxy service. The IDP (or client device) may redirect the communication to the proxy service via URL 138.
[0027] URL 140 is a "suffix" URL that includes an address for an ASP (prefix 152) and an address for a proxy service (suffix 156). An IDP (e.g., IDP 108) and / or a client device (e.g., client device 102) can redirect communications to a proxy service (e.g., proxy service 106) via URL 140. URL 234 is another suffix URL having a prefix address 152 indicating a service domain. The first suffix of URL 134 is a suffix URL 156 indicating a proxy service, and the second suffix 154 is a suffix 154 included in URL 13 indicating a requested resource. As combined with at least Figure 2 As described, a client device (e.g., client device 10) can employ URL 234 to redirect a request for a resource (indicated by suffix URL 154) remote from an ASP (e.g., ASP 104) storing the resource and to a proxy service (e.g., proxy service 106).
[0028] Figure 1C A block diagram is shown for illustrating an example proxy communication session 120. The communication session 120 is between a client device 102 and an application service provider (ASP) 104. Figure 1CIn the scenario depicted in , a proxy service (e.g., proxy service 106) will provide a secure proxy service for a client device 102, which requires that communications between the client device 102 and the ASP 104 be redirected to the proxy service 106, which acts as a "middleman" between the client device 102 and the ASP 104. As described below, the initial redirection to the proxy service 106 causes the context of the request to be lost. Moreover, the initial redirection causes the termination (or abandonment) of the session 120 (e.g., the first communication session) and the initiation of a second communication session between the client device 102 and the ASP 104. The first session 120 is indicated by a solid arrow, while the second communication is indicated by a dashed arrow. The second communication session between the client device 102 and the ASP 104 is mediated by the proxy service 106, so that the proxy service 106 acts as a monitoring "middleman" between the client device 102 and the ASP 104.
[0029] First communication session 120 may begin with client device 102 requesting access to a resource from ASP 104. Step 122 (e.g., indicated by a solid arrow) of communication session 120 includes client device 102 requesting access to a resource via URL 132. For example, a user of a client device may initiate a first communication session with ASP 104 by selecting a link in an application (e.g., "some.app") associated with URL 132 and / or typing URL 132 into their web browser. Figure 1B As discussed, URL 132 includes prefix 152, which indicates a service domain associated with ASP 104 (e.g., "some-app.com" 114). URL 132 also includes a suffix URL (e.g., suffix URL 154), which indicates the location of the requested resource within the service domain indicated by URL prefix 152 of ASP 104. In various embodiments, location suffix 154 can be referred to as the context of the resource request because it provides context for the request. Once received at ASP 104, ASP 104 can initiate a first communication session with client device 102.
[0030] Step 124 of communication session 120 shows that ASP 104 redirects client device 102 to identity provider (IDP) 108 for login (eg, authentication) service. ASP 104 may use URL 134 (eg, in conjunction with Figure 1B104) to redirect the client device 102 to the IDP 106 so that the user of the client device 102 can provide their login credentials. Based on one or more session control policies implemented at the IDP 108, the client device can be redirected to the proxy service 106. For example, a session policy may have been implemented that stipulates that users associated with a particular company must use the proxy service 106 during a communication session with the ASP 104. Step 126 of the communication session shows that the ISP 108 redirects the client device 102 to the proxy service 106 via the URL 136. Note that the URL 136 does not include the context of the resource request (e.g., the URL suffix 154). Therefore, the proxy service 104 does not know the location of the requested resource.
[0031] Based on one or more policies implemented at the proxy service 106, the proxy service 106 can determine whether the proxy service will allow the session, block the session, or control the session. In the scenario depicted in the communication session 120, the proxy service has determined to control the session and redirected the communication back to the ASP 104 via the URL 138 in step 128, which indicates the domain of the proxy service 106. Note that the URL 138 is similar to the URL suffix 156, which indicates the redirection to the proxy service 104. At this stage of the communication session 120, the ASP 104 knows to employ the proxy service 106 to communicate with the client device 102. In order to redirect the communication to the proxy service 104, the URL can be updated to include the URL suffix 156.
[0032] As described above, due to the redirection through proxy service 106, ASP 104 can initiate a second communication session with client device 102. The second communication session (e.g., steps 130 and 142) is shown via the dashed arrow. Also at this stage, the context (e.g., as indicated by URL suffix 154) has been lost. Therefore, the user is redirected to the "home page" or "landing page" of ASP 104 instead of being served with the resource they have requested. Dashed arrow 130 shows that ASP 104 responds to the request via URL 140. URL 140 includes URL prefix 152 (which indicates the domain of ASP 104) and URL suffix 156 (which indicates that the communication should be rerouted through proxy service 106). For clarity, the context is shown in Figure 142. Figure 1C1, a dashed arrow 130 is shown originating from ASP 104 and going directly to client device 102. Note, however, that since the communication is proxied, dashed arrow 130 may be redirected from ASP 104 to proxy service 106 via URL suffix 156 ("proxy-service.com"). After receiving the communication, proxy service 106 may then process, analyze, and relay the communication of dashed arrow 130 to client device 102 via the redirection (as shown) of dashed arrow 130 from ASP 104 to proxy service 106. For clarity in the figure, the dashed arrow 130 is not shown in FIG. Figure 1C The redirection and relaying (via proxy service 106) of dashed arrow 130 are not shown.
[0033] Note that URL 140 does not include URL suffix 154, which indicates the location of the requested resource (e.g., the context of the request). Therefore, the user of client device 102 will have to request the resource a second time in this second communication session. Dashed arrow 142 shows that subsequent communications (of the second communication session) between client device 102 and ASP 104 are rerouted through proxy service 106.
[0034] Figure 2 A block diagram illustrating another example proxy communication session 220 is shown. Figure 1C , the communication session 220 is between the client device 102 and the application service provider (ASP) 104. Figure 1C ,exist Figure 2 In the illustrated scenario, a proxy service (e.g., proxy service 106) provides secure proxy services to client device 102. Figure 1C In contrast, the context of the resource request is not lost during the redirection to the proxy service 106. Preventing the context of the resource request (e.g., URL suffix 154) from being lost is achieved via the client device 102 implementing the network proxy 112. The network proxy 112 can act as a relay or "middleman" for each communication packet sent from and / or delivered to the client device 102. That is, the network proxy 112 can monitor all network traffic to and from the client device 102. As described below, the network proxy can "learn" from the proxy service 106 the service domains for which the user (or the user's administrator) requires proxy services. At least in conjunction with the following Figure 4 Various "learning" and "unlearning" embodiments are discussed. For the following discussion, it is assumed that the learning agent 112 has learned that the user needs to be redirected to the proxy service 106 when communicating with the service domain of the ASP 104 (eg, "some-app.com").
[0035] Similar to Figure 1C1, the communication session 220 begins with arrow 222 indicating that the client device 102 requests access to a resource located at the ASP 104 via the URL 132. Before the request is sent from the client device 102, the network proxy 112 of the client device intercepts the request and analyzes the content of the URL 132. Due to the prior learning of the network proxy 112 (e.g., as combined with at least Figure 4 As discussed above, the network proxy 11 recognizes that the user needs proxy services from the proxy service 106 when communicating with the service domain "some-app.com", and the network generates a second URL (e.g., URL 234) based on the first URL (e.g., URL 132). Figure 1B As discussed, the second URL 234 generated by the network proxy 112 includes the URL prefix 152 (indicating the service domain for the ASP 104), the first URL suffix 156 (indicating that the communication will be redirected to the proxy service 106), and the second URL suffix 154 (indicating the location of the requested resource). In other words, the network proxy generates a URL indicating that the communication will be redirected to the proxy service.
[0036] Arrow 224 of communication session 220 shows that the request is redirected to proxy service 106 (and away from ASP 104). That is, network proxy 112 will generate a redirect for client device 102 via URL 234 including URL suffix 156. Via URL 234 (and the included URL suffix 156), client device 102 will then redirect communication 124 and send it to proxy service 106. Figure 1C In contrast, where the communication session was initially directed to ASP 104, in communication session 220, the request is directed from client device 102 directly to proxy service 106 via updated (or second) URL 234 generated by network proxy 112. Note that the context of the request (e.g., URL suffix 154) is not lost during the redirection to proxy service 106. Thus, proxy service 106 is aware of the context of the request via the redirection and URL 234, both of which are generated by network proxy 112.
[0037] Step 226 of communication session 220 indicates that the request is forwarded to ASP 104. The forwarded request preserves the initial context of the request. Similar to communication session 120, step 126 of communication session 220 shows ASP 104 redirecting the user to IDP 108 for logging into the service. After a successful login, ASP 104 may provide a response to the request via step 230 of communication session 220. Note that similar to Figure 1CIn the case of redirection of communication 130, the response to request 230 may be redirected through proxy service 106 (via URL suffix 156), where proxy service 106 may monitor, analyze, and relay response 230 to client device 102. Figure 2 , arrow 230 is shown as going directly from ASP 104 to client device 102 for clarity only, without being redirected through proxy service 106. As described above, response 230 to request 224 may be routed through proxy service 106, similar to Figure 1C The proxy service 106 relays the response 230 to the client device 102.
[0038] Note also that the requested resource is provided to the client device 102 via URL 234, which indicates both the context of the request and the redirection through the proxy service 106. Thus, the network proxy 112 implements persistence of resource requests and responses in proxy communications. Figure 1C In contrast, when the client device 102 uses the network agent 112, the user does not need to Figure 1C In the case of communication session 120, the resource is requested for the second time. Example method for persistence of requests and responses in proxy communication
[0039] refer to Figure 3 to Figure 4 , a flowchart illustrating a method for implementing persistence of resource requests and responses in proxy communications is provided. The method may be performed using any embodiment of the proxy communication environment described herein. In an embodiment, one or more computer storage media having computer executable instructions embodied thereon, when executed by one or more processors, may cause the one or more processors to perform the method in a storage system.
[0040] Go to Figure 3 , a flowchart illustrating a method 300 for providing persistence of resource requests and responses in proxy communications is provided. In general, Figure 3 The flowchart can be used above combined with at least Figure 1A-Figure 2 For example, any suitable combination of parts of method 300 may be implemented by a network agent (such as but not limited to Figure 1A and Figure 2 It is implemented by the network agent 112).
[0041] Initially, method 300 begins at block 302 by intercepting a request for a resource. The resource request may be made in a request to a service domain (e.g., such as in conjunction with Figure 1A-Figure 2 In various embodiments, the request originates from a client computing device (e.g., Figure 1A-Figure 2The intended target for sending the resource request may be an application service provider (ASP), such as but not limited to Figure 1A-Figure 2 ASP 104. A network agent implemented by a client computing device (e.g., Figure 1A-Figure 2 The network proxy 112 can intercept the resource request before the client computing device sends the resource request. For example, Figure 1C Step 222 of the communication session 200 shows that the network proxy 112 intercepts the resource request before sending the resource request. The resource request may be encoded in a first uniform resource locator (URL), such as but not limited to Figure 1B-Figure 2 URL 132. Thus, the first URL may be an indication of the service domain (e.g., Figure 1B The URL prefix 152 of the URL 132 and the indication of the location within the service domain associated with the resource (e.g., the context of the resource request) are encoded. For example, the indication of the resource location can be indicated in the URL suffix 154 of the URL 132.
[0042] At block 304, a resource request may be determined to be consistent with a proxy service (eg, Figure 1A-Figure 2 Determining that the request is associated with the proxy service may include determining that at least one of a client device, a user of the client device, or a service domain is associated with the proxy service. Determining that the request is associated with the proxy service may include employing a network proxy to determine that the request is associated with the proxy service. For example, Figure 4 Method 400 provides a method for associating service domains with a proxy service (for a particular user). A network proxy may maintain a list and / or set of multiple service domains for which a user requires a proxy communication session. Determining that a resource request is associated with a proxy service may include employing the network proxy to monitor communications sent to and from a client device. Based on monitoring the communications, the network proxy may be employed to determine multiple service domains associated with the proxy service, such as in combination with at least Figure 4 As discussed. Determining a set of service domains associated with a service domain may be based on analyzing URLs associated with the proxy service. Previously, the network proxy may have learned that a service domain (eg, "some-app.com") is included in multiple service domains associated with the proxy service.
[0043] At block 306, and in response to determining that the request is associated with a proxy service, a second URL may be generated. For example, the network proxy may generate a second URL based on the first URL (e.g., Figure 1B and Figure 2URL 234). In at least one embodiment, the network proxy updates the first URL to generate a second URL. The second URL encodes an indication of a service domain (e.g., URL prefix 152), an indication of a proxy service (e.g., first URL suffix 156), and an indication of a location of a resource within the service domain (second URL suffix 154). In various embodiments, generating the second URL may include generating a first URL suffix (e.g., URL suffix 156) that encodes an indication of a proxy service. Generating the second URL (e.g., URL 234) may be based on a combination of the first URL (e.g., URL 132) and the first URL (e.g., URL 132). Figure 1B As shown, a first URL (e.g., URL 132) may include a prefix URL (e.g., URL prefix 152) encoding an indication of a service domain and a second URL suffix (e.g., URL suffix 154) encoding an indication of a location within the service domain associated with a resource (e.g., the context of a resource request). In such an embodiment, generating a second URL (e.g., URL 234) may be based on a combination of the first URL suffix (152), the second URL suffix (154), and the first URL prefix (156).
[0044] At block 308, the second URL may be used to send the resource request to the proxy service. The second URL may implement redirection of the service request from the initial target of the ASP to the second target of the proxy service based at least on the indication of the proxy service encoded in the second URL (e.g., the first URL suffix 156). That is, since the network proxy updates the first URL and / or generates the second URL, the service request is sent to the proxy service instead of the ASP at block 308. For example, Figure 2 Step 224 of communication session 220 shows that the service request is redirected to the proxy service 106 .
[0045] At block 310, the client computing device may receive the requested resource. For example, step 230 of communication session 220 illustrates receiving the requested resource at the network proxy, and thus the resource may be received by the client computing device. In various embodiments, the requested resource may be received via a proxy service.
[0046] Figure 4 A flowchart is provided showing a method 400 for learning and unlearning a service domain associated with a proxy service according to various embodiments. The method 400 begins at block 402, where a client device (e.g., Figure 1A-Figure 2For example, a network proxy (e.g., network proxy 112) can monitor communications to and from a client device. As discussed throughout, a network proxy can be implemented by a client computing device.
[0047] At block 404, based on monitoring the communications, the network proxy may determine (e.g., "learn") that a particular service domain is associated with the proxy service. In some embodiments, only a single instance of the network proxy observing communications between a client device and a particular service domain (e.g., "some-app.com") being rerouted to the proxy service may be employed to learn that the service domain is associated with the proxy service (e.g., N=1 embodiment). In other embodiments (N>1 embodiments), the network proxy may employ more instances of rerouting communications with the particular service domain to learn that the particular service domain is associated with the proxy service.
[0048] Learning which service domains (or applications) are associated with a proxy service (for a user) can be achieved by placing a special header in a response originating from a service domain responsible for routing requests to the proxy service. Such a header can help the network proxy learn that the service domain (or application) is suffixed. In other embodiments, the network proxy can learn by monitoring the service domain of each request and see if the service domain ends with the suffix proxy of the domain. If the proxy service uses "suffix.com" as its suffix, the domain of the application (e.g., "app.com") can be rewritten as "app.com.suffix.com". By analyzing the service domain of the request, the network proxy can learn which service domains (or applications) are associated with the service proxy for the user. In yet other embodiments, a special header can be inserted into a response originating from a proxy service. Such a special header can help the network proxy learn that the service domain (or application) is suffixed. That is, determining a set of multiple service domains associated with the proxy service can be based on monitoring communications received from the service domain at the client device. Learning the set of service domains can additionally include monitoring requests to the service domain originating from the client device. Learning the set of service domains may additionally include monitoring communications received at the client device from the proxy service.
[0049] At box 406, in response to determining that the specific service domain is associated with the proxy service, the specific service domain can be added to a list or set of service domains associated with the proxy service. At box 408, the network proxy can continue to monitor communications to and from the client device. At box 410, based on continuing to monitor communications, the network proxy can determine that the association of the specific service domain with the proxy service has been terminated. That is, in the case where one or more policies have been updated so that the user no longer needs the proxy service to communicate with the specific service domain, the network proxy can "unlearn" the association. As with learning, some embodiments are N=1 embodiments for canceling the learned association, while other embodiments are N>1 embodiments for canceling the learned association. In response to learning and / or determining that the association between the service domain and the proxy service (for the user) has been terminated, the network proxy can remove the specific service domain from the set of service domains or multiple service domains associated with the proxy service. At box 412, in response to determining that the association between the specific service domain and the proxy service has been terminated (for example, the session control policy has changed), the specific service domain can be deleted and / or removed from the multiple service domains and / or service domain list associated with the proxy service. Additional Embodiments
[0050] Some embodiments include a computer-implemented method comprising intercepting a request for a resource associated with a service domain before receiving the request at a service domain. The request may include an identifier of a client computing device, an indication of the service domain, and a first uniform resource locator (URL) encoding an indication of a location within the service domain associated with the resource. The method may also include determining that the intercepted request is associated with a proxy service. In response to determining that the request is associated with the proxy service, a second URL may be generated. The second URL may encode an indication of the service domain, an indication of a location within the service domain, and an indication of the proxy service. The second URL may be used to send a request for a resource. Based on the indication of the proxy service encoded in the second URL, the request may be directed to the proxy service before being sent to the service domain.
[0051] In some embodiments, generating the second URL may include generating a first URL suffix that encodes an indication of the proxy service. The second URL may be generated based on a combination of the first URL and the first URL suffix. In various embodiments, the first URL may include a prefix URL that encodes an indication of the service domain. The first URL may additionally include a second URL suffix that encodes an indication of a location within the service domain associated with the resource. Generating the second URL may also include generating the second URL based on a combination of the first URL suffix, the second URL suffix, and the URL prefix.
[0052] In any combination of the foregoing embodiments, the method may further include, before the client device sends the request, using a network proxy implemented on the client device to intercept the request. The network proxy may also be used to determine that the request is associated with a proxy service. In such an embodiment, the network proxy may also be used to generate a second URL.
[0053] In any combination of the foregoing embodiments, the method may further include: employing a network proxy to monitor communications sent to and from the client device. The network proxy may be implemented on the client device. Based on monitoring the communications, the network proxy may be employed to determine a plurality of service domains associated with the proxy service. Determining the plurality of service domains may also be based on analyzing a URL associated with the communication. The plurality of service domains may include a service domain.
[0054] In any combination of the above embodiments, the method may further include: using a network proxy to determine that an association of a service domain with a proxy service has been terminated. Determining that the association has been terminated may be based on monitoring communications. In response to determining that the association has been terminated, the service domain may be removed from the plurality of service domains.
[0055] In any combination of the above embodiments, determining that the plurality of service domains include the service domain can be based on at least one of: monitoring communications received at the client device from the service domain, monitoring requests to the service domain originating from the client device, or monitoring communications received at the client device from a proxy service.
[0056] In any combination of the above embodiments, determining that the request is associated with the proxy service may include determining that at least one of the client device, a user of the client device, or a service domain is associated with the proxy service.
[0057] Various other embodiments may include a system. The system may include one or more hardware processors and one or more computer-readable media on which executable instructions are embodied. When the instructions are executed by the one or more processors, the one or more hardware processors may be caused to perform an action, the action comprising: intercepting the request for a resource before receiving the request at the service domain. The request may include an identifier of the client computing device, an indication of the service domain, and a first uniform resource locator (URL) encoding an indication of a location within the service domain associated with the resource. In response to determining that the request is associated with a proxy service, a second URL may be generated. The second URL may encode an indication of the service domain, an indication of a location within the service domain, and an indication of the proxy service. The second URL may be used to send a request for the resource. The request may be directed to the proxy service before sending the request to the service domain based on the indication of the proxy service encoded in the second URL. The executed instructions may implement any combination of the above embodiments, including any of the above method embodiments.
[0058] In addition, other embodiments include one or more computer storage media storing computer-usable instructions. When the instructions are used by one or more computing devices, one or more computing devices can be caused to perform an action, the action including: intercepting the request before receiving a request for a resource at a service domain. The request may have been initiated at a client computing device. The request can be encoded in a first uniform resource locator (URL), which encodes an indication of the service domain and an indication of a location within the service domain associated with the resource. In response to determining that the request is associated with a proxy service, a second URL can be generated. The second URL can encode an indication of the service domain, an indication of a location within the service domain, and an indication of the proxy service. The second URL can be used to send a request for a resource. Based on the indication of the proxy service encoded in the second URL, the request can be directed to the proxy service before being sent to the service domain. The executed instructions can implement any combination of the above embodiments, including any of the above methods and / or system embodiments. Example computing device
[0059] refer to Figure 5 , computing device 500 includes bus 510 that directly or indirectly couples the following devices: memory 512, one or more processors 514, one or more presentation components 516, one or more input / output (I / O) ports 518, one or more I / O components 520, and an illustrative power supply 522. Bus 510 represents what may be one or more buses (such as an address bus, a data bus, or a combination thereof). Although shown with lines for clarity, Figure 5 , but in reality, these boxes represent logical, not necessarily actual components. For example, presentation components such as display devices can be considered I / O components. In addition, processors have memory. The inventors of the present disclosure recognize that this is the nature of the art and reiterate that Figure 5 The figures are merely illustrations of exemplary computing devices that may be used in conjunction with one or more embodiments of the present disclosure. No distinction is made between categories such as "workstation," "server," "laptop," "handheld device," etc., as all are contemplated. Figure 5 within the scope of and with reference to a “computing device”.
[0060] The computing device 500 typically includes various computer-readable media. Computer-readable media can be any available media that can be accessed by the computing device 500, and includes volatile and non-volatile media, removable and non-removable media. As an example and not limitation, computer-readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, cassettes, tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by the computing device 500. Computer storage media do not include signals themselves. Communication media typically embody computer-readable instructions, data structures, program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and include any information delivery media. The term "modulated data signal" refers to a signal that sets or changes one or more of its characteristics in a manner that encodes the information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer-readable media.
[0061] Memory 512 includes computer storage media in the form of volatile and / or non-volatile memory. Memory may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, and the like. Computing device 500 includes one or more processors 514 that read data from various entities such as memory 512 or I / O components 520. Presentation component 516 presents data indications to a user or other device. In some embodiments, presentation component 220 of system 200 may be embodied as presentation component 516. Other examples of presentation components may include a display device, a speaker, a printing component, a vibration component, and the like.
[0062] I / O port 518 allows computing device 500 to be logically coupled to other devices, including I / O components 520, some of which may be built-in. Illustrative components include microphones, joysticks, game pads, satellite dishes, scanners, printers, wireless devices, etc. I / O components 520 may provide a natural user interface (NUI) that processes air gestures, voice, or other physiological inputs generated by a user. In some cases, the input may be sent to an appropriate network element for further processing. NUI may implement any combination of voice recognition, touch and stylus recognition, facial recognition, biometric recognition, gesture recognition on and near the screen, air gestures, head and eye tracking, and touch recognition associated with a display on computing device 500. Computing device 500 may be equipped with a depth camera for gesture detection and recognition, such as a stereo camera system, an infrared camera system, an RGB camera system, and a combination thereof. In addition, computing device 500 may be equipped with an accelerometer or gyroscope capable of detecting motion. The output of the accelerometer or gyroscope may be provided to a display of computing device 500 to render an immersive augmented reality or virtual reality.
[0063] Some embodiments of the computing device 500 may include one or more radios 524 (or similar wireless communication components). The radio 524 sends and receives radio or wireless communications. The computing device 500 may be a wireless terminal suitable for receiving communications and media through various wireless networks. The computing device 500 may communicate via wireless protocols such as code division multiple access ("CDMA"), global system for mobile ("GSM"), or time division multiple access ("TDMA"), etc.) to communicate with other devices. The radio communication may be a short-range connection, a long-range connection, or a combination of both short-range and long-range wireless telecommunication connections. When referring to "short" and "long" types of connections, it is not meant to refer to a spatial relationship between two devices. Instead, we generally refer to short distances and long distances as different categories or types of connections (i.e., primary and secondary connections). By way of example and not limitation, a short-range connection may include a Wi-Fi connection to a device that provides access to a wireless communication network (e.g., a mobile hotspot), such as a WLAN connection using the 802.11 protocol; a Bluetooth connection to another computing device is a second example of a short-range connection or a near field communication connection. By way of example and not limitation, long range connections may include connections using one or more of CDMA, GPRS, GSM, TDMA, and 802.16 protocols.
[0064] Many different arrangements of the various components depicted, as well as components not shown, are possible without departing from the scope of the following claims. The embodiments of the present disclosure have been described with illustrative, not restrictive, intent. Alternative embodiments will become apparent to the reader of the present disclosure after and because of reading. Alternative ways of implementing the above may be accomplished without departing from the scope of the following claims. Certain features and sub-combinations are useful and may be employed without reference to other features and sub-combinations and are contemplated to be within the scope of the claims.
[0065] With reference to the technical solution environment described herein, the embodiments described herein support the technical solutions described herein. The components of the technical solution environment may be integrated components including a hardware architecture and a software framework that support constraint computation and / or constraint query functionality within the technical solution system. The hardware architecture refers to the physical components and their interrelationships, and the software framework refers to software that provides functionality that can be implemented with hardware embodied on a device.
[0066] End-to-end software-based systems can operate within system components to operate computer hardware to provide system functions. At a low level, a hardware processor executes instructions selected from a given processor's machine language (also referred to as machine code or native) instruction set. The processor recognizes native instructions and performs corresponding low-level functions associated with, for example, logic, control, and memory operations. Low-level software written in machine code can provide more complex functions to high-level software. As used herein, computer executable instructions include any software, including low-level software written in machine code, high-level software such as application software, and any combination thereof. In this regard, system components can manage resources and provide services for system functions. The embodiments of the present disclosure contemplate any other variations and combinations thereof.
[0067] As an example, the technical solution system may include an application programming interface (API) library that includes specifications for routines, data structures, object classes, and variables that can support interaction between the hardware architecture of the device and the software framework of the technical solution system. These APIs include configuration specifications for the technical solution system so that different components therein can communicate with each other in the technical solution system, as described herein.
[0068] Various components utilized herein have been identified, and it should be understood that within the scope of the present disclosure, any number of components and arrangements may be used to implement the desired functions. For example, for conceptual clarity, the components in the embodiments depicted in the figure are shown with lines. Other arrangements of these and other components may also be implemented. For example, although some components are depicted as single components, many elements described herein may be implemented as discrete or distributed components or in combination with other components, and implemented in any suitable combination and position. Some elements may be omitted completely. In addition, various functions described herein as being performed by one or more entities may be implemented by hardware, firmware and / or software, as described below. For example, various functions may be implemented by a processor executing instructions stored in a memory. In this way, in addition to or in place of those shown, other arrangements and elements (e.g., machines, interfaces, functions, sequences, and functional groupings) may be used.
[0069] The embodiments described in the following paragraphs may be combined with one or more of the specifically described alternatives. In particular, in alternatives, the claimed embodiments may contain references to more than one other embodiment. The claimed embodiments may specify further limitations of the claimed subject matter.
[0070] The subject matter of the embodiments of the present disclosure is specifically described herein to meet statutory requirements. However, the description itself is not intended to limit the scope of this patent. On the contrary, the inventors have contemplated that the claimed subject matter may also be embodied in other ways to include different steps or combinations of steps similar to the steps described in this document in conjunction with other current or future technologies. In addition, although the terms "step" and / or "box" may be used herein to represent different elements of the method employed, these terms should not be interpreted as implying any particular order among or between the various steps disclosed herein, unless the order of the various steps is explicitly described.
[0071] For purposes of this disclosure, the word "including" has the same broad meaning as the word "comprising," and the word "accessing" includes "receiving," "referencing," or "retrieving." In addition, the word "communicating" has the same broad meaning as the word "receiving" or "sending," which is facilitated by a software or hardware-based bus, receiver, or transmitter using the communication media described herein. In addition, unless otherwise indicated to the contrary, words such as "a" and "an" include the plural as well as the singular. Thus, for example, the constraint of "feature" is satisfied where there is one or more features. In addition, the term "or" includes conjunctive, disjunctive, and both (a or b therefore includes a or b and a and b).
[0072] For the purpose of the above detailed discussion, embodiments of the present disclosure are described with reference to a distributed computing environment; however, the distributed computing environment depicted herein is merely exemplary. Components may be configured to perform novel aspects of the embodiments, where the term "configured to" may refer to "programmed to" perform a specific task or implement a specific abstract data type using code. In addition, while embodiments of the present disclosure may generally refer to the technical solution environments and schematic diagrams described herein, it should be understood that the described techniques may be extended to other implementation contexts.
[0073] The embodiments of the present disclosure have been described with respect to specific embodiments, which are intended in all respects to be illustrative rather than restrictive. Alternative embodiments will become apparent to those of ordinary skill in the art to which the present disclosure pertains without departing from the scope of the present disclosure.
[0074] From the foregoing it will be seen that this disclosure is well adapted to attain all the ends and objects set forth above, together with other advantages which are obvious and inherent to the structure.
[0075] It will be understood that certain features and subcombinations are of utility and may be employed without reference to other features or subcombinations. This is contemplated by the claims and is within the scope of the claims.
Claims
1. A computer-implemented method comprising: for a request for a resource associated with a service domain, intercepting the request before the request for the resource is received at the service domain, the request including an identifier of a client computing device and a first uniform resource locator (URL) encoding an indication of the service domain and an indication of a location within the service domain associated with the resource; determining that the request is associated with a proxy service; responsive to determining that the request is associated with the proxy service, generating a second URL encoding the indication of the service domain, the indication of the location within the service domain, and an indication of the proxy service; as well as The request for the resource is sent using the second URL, wherein based on the indication of the proxy service encoded in the second URL, the request is directed to the proxy service before being sent to the service domain.
2. The method of claim 1, wherein generating the second URL comprises: generating a first URL suffix encoding the indication of the proxy service, and The second URL is generated based on a combination of the first URL and the first URL suffix.
3. The method of claim 2, wherein the first URL comprises a prefix URL encoding the indication of the service domain and a second URL suffix encoding the indication of the location associated with the resource within the service domain, and generating the second URL further comprises: The second URL is generated based on a combination of the first URL suffix, the second URL suffix and the URL prefix.
4. The method according to any one of claims 1 to 3, further comprising: Before the client device sends the request, intercepting the request using a network proxy implemented on the client device; employing the network proxy to determine that the request is associated with a proxy service; as well as The second URL is generated by using the network proxy.
5. The method according to any one of claims 1 to 4, further comprising: employing a network agent implemented on the client device to monitor communications sent to and from the client device; Based on monitoring the communication, the network proxy is employed to determine a plurality of service domains associated with the proxy service, the plurality of service domains being determined based on analyzing a URL associated with the communication, wherein the plurality of service domains includes the service domain.
6. The method according to claim 5, further comprising: determining, based on monitoring the communications, using the network proxy to determine that the association of the service domain with the proxy service has terminated; as well as In response to determining that the association has been terminated, the serving domain is removed from the plurality of serving domains.
7. The method according to any one of claims 5 or 6, wherein determining the plurality of service domains comprises the service domains being based on at least one of: monitoring communications received at the client device from the service domain; monitoring requests to the service domain originating from the client device; and Communications received at the client device from the proxy service are monitored.
8. The method of any one of claims 1 to 7, wherein determining that the request is associated with the proxy service comprises: It is determined that at least one of the client device, a user of the client device, or the service domain is associated with a proxy service.
9. A system comprising: one or more hardware processors; as well as One or more computer-readable media having executable instructions embodied thereon, the executable instructions, when executed by the one or more processors, causing the one or more hardware processors to perform actions, the actions comprising: intercepting a request for a resource before the request is received at a service domain, wherein the request includes an identifier of a client computing device, a first uniform resource locator (URL), the first URL encoding an indication of the service domain and an indication of a location within the service domain associated with the resource; responsive to determining that the request is associated with a proxy service, generating a second URL encoding the indication of the service domain, the indication of the location within the service domain, and an indication of the proxy service; and The request for the resource is sent using the second URL, wherein based on the indication of the proxy service encoded in the second URL, the request is directed to the proxy service before being sent to the service domain.
10. The system of claim 9, wherein generating the second URL comprises: generating a first URL suffix encoding the indication of the proxy service; as well as The second URL is generated based on a combination of the first URL and the first URL suffix.
11. The system of claim 10, wherein the first URL comprises a prefix URL encoding the indication of the service domain and a second URL suffix encoding the indication of the location associated with the resource within the service domain, and generating the second URL further comprises: The second URL is generated based on a combination of the first URL suffix, the second URL suffix and the URL prefix.
12. The system according to any one of claims 9 to 11, wherein the actions further comprise: Before the client device sends the request, intercepting the request using a network proxy implemented on the client device; employing the network proxy to determine that the request is associated with a proxy service; as well as The second URL is generated by using the network proxy.
13. The system according to any one of claims 9 to 12, wherein the actions further comprise: employing a network agent implemented on the client device to monitor communications sent to and from the client device; Based on monitoring the communication, the network proxy is employed to determine a plurality of service domains associated with the proxy service based on analyzing a URL associated with the communication, wherein the plurality of service domains includes the service domain.
14. The system of claim 13, wherein the actions further comprise: determining, based on monitoring the communications, using the network proxy to determine that the association of the service domain with the proxy service has terminated; as well as In response to determining that the association has been terminated, the serving domain is removed from the plurality of serving domains.
15. The system of any one of claims 13 or 14, wherein determining the plurality of service domains includes the service domains is based on at least one of: monitoring communications received at the client device from the service domain; monitoring requests to the service domain originating from the client device; and Communications received at the client device from the proxy service are monitored.
