A resource calling method and device

By using the pre-authorization mechanism on the proxy server, the problem of slow resource call response speed is solved, and a more efficient resource call process is achieved.

CN116545754BActive Publication Date: 2026-05-29HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
Filing Date
2023-06-08
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies, when calling third-party resources, are limited by network conditions and local storage space, and cannot effectively improve the response speed of resource calls.

Method used

The proxy server pre-stores the pre-authorization information of resource users and resource service providers, generates a pre-authorization resource pool, and responds to the authorization requests of resource users by directly providing pre-authorization information to call the target resources of resource service providers.

Benefits of technology

It reduces the response time for resource users to obtain resource authorization and improves the response efficiency of resource invocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116545754B_ABST
    Figure CN116545754B_ABST
Patent Text Reader

Abstract

The application discloses a resource calling method and device, which is applied to a proxy server, and in response to receiving a resource authorization request of a resource user, pre-authorization information matched with the resource authorization request is obtained, and the pre-authorization information is sent to the resource user, so that the resource user calls a target resource provided by a resource service party based on the pre-authorization information. The proxy server pre-stores pre-authorization information of the resource user and the resource service party, and the pre-authorization information is used to realize the authentication of the resource service party to the resource user. The resource user can obtain the pre-authorization information from the proxy server, so that the response time of the resource user for obtaining resource authorization is reduced, and the response efficiency of resource calling is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information processing technology, and in particular to a resource retrieval method and apparatus. Background Technology

[0002] With the continuous development of the Internet, resource sharing has also developed. When calling third-party resources, the response speed can usually be improved by optimizing the network environment for resource calls or by caching resources locally. However, in practical applications, due to network limitations or limited local storage space, these methods cannot effectively improve the response speed of resource calls. Summary of the Invention

[0003] To address the aforementioned problems, this application provides a resource invocation method and apparatus, which improves the response efficiency of resource invocation.

[0004] To achieve the above objectives, this application provides the following technical solution:

[0005] A resource invocation method, applied to a proxy server, the method comprising:

[0006] In response to receiving a resource authorization request from a resource user, the proxy server obtains pre-authorization information matching the resource authorization request. The proxy server pre-stores pre-authorization information of the resource user and the resource service provider. The pre-authorization information is used to enable the resource service provider to authenticate the resource user.

[0007] The pre-authorization information is sent to the resource user so that the resource user can invoke the target resource provided by the resource service provider based on the pre-authorization information.

[0008] Optionally, it also includes:

[0009] Based on the feature information of the resource service provider, pre-authorized resource association parameters are generated. The pre-authorized resource association parameters include at least authorization signature information and resource location information.

[0010] A pre-authorized resource pool is generated based on the pre-authorized resource association parameters;

[0011] The step of obtaining pre-authorization information matching the resource authorization request includes:

[0012] The resource authorization request is parsed to obtain the resource service provider information corresponding to the resource authorization request;

[0013] Based on the resource service provider information, a search is performed in the pre-authorized resource pool to obtain pre-authorized information.

[0014] Optionally, obtaining pre-authorization information matching the resource authorization request includes:

[0015] Determine the characteristic information of the resource user that matches the resource acquisition request and the resource information to be used by the resource user;

[0016] Send the characteristic information of the resource user and the information of the resource to be used to the resource service provider;

[0017] Receive pre-authorization information from the resource service provider that matches the characteristic information of the resource user and the information of the resource to be used.

[0018] Optionally, the method further includes:

[0019] Based on the resource usage information of the resource user, the target information in the pre-authorized resource pool is cleaned up, wherein the target information includes unused resource location information.

[0020] Optionally, the resource user invokes the target resource provided by the resource service provider based on the pre-authorization information, including: the resource user sends the pre-authorization information to the resource service provider; after the resource service provider authenticates the pre-authorization information, it returns the target resource to the resource user and sends the resource usage information matching the target resource to the proxy server.

[0021] The step of cleaning up the target information in the pre-authorized resource pool based on the resource usage information of the resource user includes:

[0022] Based on the resource usage information, unused resource information is determined. The unused resource information includes resource storage address information allocated by the proxy server to the resource user for resource storage on the resource service provider, and / or resource access address information allocated by the proxy server to the resource user for accessing the resources of the resource service provider.

[0023] The unused resource information that meets a specific duration is identified as the target information;

[0024] Clean up the target information.

[0025] A resource retrieval device, applied to a proxy server, the device comprising:

[0026] The acquisition unit is used to obtain pre-authorization information matching the resource authorization request in response to receiving a resource authorization request from a resource user. The proxy server pre-stores pre-authorization information of the resource user and the resource service provider. The pre-authorization information is used to enable the resource service provider to authenticate the resource user.

[0027] The sending unit is configured to send the pre-authorization information to the resource user, so that the resource user can invoke the target resource provided by the resource service provider based on the pre-authorization information.

[0028] Optionally, it also includes:

[0029] The first generation unit is used to generate pre-authorized resource association parameters based on the feature information of the resource service provider. The pre-authorized resource association parameters include at least authorization signature information and resource location information.

[0030] The second generation unit is used to generate a pre-authorized resource pool based on the pre-authorized resource association parameters;

[0031] The acquisition unit includes:

[0032] The parsing subunit is used to parse the resource authorization request and obtain the resource service provider information corresponding to the resource authorization request;

[0033] The search subunit is used to search the pre-authorized resource pool based on the resource service provider information to obtain pre-authorized information.

[0034] Optionally, the acquisition unit includes:

[0035] A determining subunit is used to determine the characteristic information of the resource user that matches the resource acquisition request and the resource information to be used by the resource user;

[0036] A sending subunit is used to send the characteristic information of the resource user and the information of the resource to be used to the resource service provider;

[0037] The receiving subunit is used to receive pre-authorization information from the resource service provider that matches the feature information of the resource user and the information of the resource to be used.

[0038] Optionally, the device further includes:

[0039] The cleanup unit is used to clean up the target information in the pre-authorized resource pool based on the resource usage information of the resource user, wherein the target information includes unused resource location information.

[0040] Optionally, the resource user invokes the target resource provided by the resource service provider based on the pre-authorization information, including: the resource user sends the pre-authorization information to the resource service provider; after the resource service provider authenticates the pre-authorization information, it returns the target resource to the resource user and sends the resource usage information matching the target resource to the proxy server.

[0041] Specifically, the cleaning unit is used for:

[0042] Based on the resource usage information, unused resource information is determined. The unused resource information includes resource storage address information allocated by the proxy server to the resource user for resource storage on the resource service provider, and / or resource access address information allocated by the proxy server to the resource user for accessing the resources of the resource service provider.

[0043] The unused resource information that meets a specific duration is identified as the target information;

[0044] Clean up the target information.

[0045] Compared to existing technologies, this application provides a resource invocation method and apparatus applied to a proxy server. In response to receiving a resource authorization request from a resource user, the method obtains pre-authorization information matching the request and sends the pre-authorization information to the resource user, enabling the user to invoke a target resource provided by a resource service provider based on the pre-authorization information. The proxy server pre-stores pre-authorization information for both the resource user and the resource service provider, which is used for authentication by the resource service provider. The resource user can obtain pre-authorization information from the proxy server, reducing the response time for obtaining resource authorization and improving the efficiency of resource invocation. Attached Figure Description

[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0047] Figure 1 A flowchart illustrating a resource retrieval method provided in an embodiment of this application;

[0048] Figure 2 An application system architecture diagram provided for an embodiment of this application;

[0049] Figure 3 A timing diagram of an application system for resource retrieval provided in an embodiment of this application;

[0050] Figure 4 This is a schematic diagram of a resource retrieval device provided in an embodiment of this application. Detailed Implementation

[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0052] The terms "first" and "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units may include steps or units not listed, but rather not listed.

[0053] This application provides a resource invocation method, applicable to the field of internet technology, primarily for developing interfaces for inter-service resource invocation. This method can be applied to a proxy server, which can be a proxy server itself or a processing module within a data-processing terminal. Specifically, the architecture of the proxy server can be determined based on the actual application scenario. See also... Figure 1 The above is a flowchart illustrating a resource retrieval method provided in an embodiment of the invention. The method may include the following steps:

[0054] S101. In response to receiving a resource authorization request from a resource user, obtain pre-authorization information that matches the resource authorization request.

[0055] S102. Send the pre-authorization information to the resource user so that the resource user can call the target resource provided by the resource service provider based on the pre-authorization information.

[0056] A resource user is the initiator of resource usage, which can be a terminal or server requiring resource storage or access. A resource authorization request is a request generated by a resource user when needing to obtain corresponding resources. This includes authorization requests that require authentication of the resource user's identity, as well as requests to access specific resources. A resource service provider is the service provider that actually provides the resources to external parties. It can perform pre-authorization functions for resources, authenticate resource requests, and provide resource responses to those that have passed authentication.

[0057] The proxy server acts as a proxy for resource services. It maintains a pre-authorized resource pool and pre-authorizes resources through a resource allocation module. This pre-authorization can include searching for, generating, and allocating resource locations. In other words, the proxy server pre-stores pre-authorized information for both the resource user and the resource service provider. This pre-authorized information is used by the resource service provider to authenticate the resource user.

[0058] In one implementation, the proxy server can also generate pre-authorized resource association parameters based on the resource service provider's characteristic information. These parameters include at least authorization signature information and resource location information. A pre-authorized resource pool is then generated based on these parameters. Obtaining pre-authorized information matching the resource authorization request includes: parsing the resource authorization request to obtain resource service provider information corresponding to the request; and searching the pre-authorized resource pool based on the resource service provider information to obtain the pre-authorized information.

[0059] The proxy server has resource allocation and authorization permissions for the resource service, and can allocate resources on the resource service. The proxy server can generate a set of pre-authorization parameters and provide them to the resource user. The resource user can then use these pre-authorization parameters to obtain / store the corresponding resources from the resource service.

[0060] In another implementation, after the proxy server receives a resource authorization request from a resource user, it can also generate corresponding pre-authorization information based on the resource authorization request. Obtaining the pre-authorization information matching the resource authorization request includes:

[0061] The process involves identifying the characteristic information of a resource user matching the resource acquisition request, as well as the resource information to be used by that user; sending the characteristic information and the resource information to be used to the resource service provider; and receiving pre-authorization information from the resource service provider that matches the characteristic information and the resource information to be used. Specifically, after receiving a resource acquisition request, if the request is for resource storage, the proxy server can determine the storage address to be allocated to the resource service provider based on the request, send the resource allocation information and the relevant information for resource authorization to the resource service provider, receive the result response information from the resource service provider, and obtain the pre-authorization information.

[0062] Correspondingly, the proxy server can also maintain a thread module for cleaning up expired and unused resources, which cleans up pre-occupied but unused resources. This also includes: cleaning up target information in the pre-authorized resource pool based on the resource usage information of the resource user, where the target information includes the location information of unused resources.

[0063] Furthermore, the resource user invokes the target resource provided by the resource service provider based on the pre-authorization information, including: the resource user sends the pre-authorization information to the resource service provider; after the resource service provider authenticates the pre-authorization information, it returns the target resource to the resource user and sends the resource usage information matching the target resource to the proxy server.

[0064] Specifically, based on the resource usage information of the resource user, the target information in the pre-authorized resource pool is cleaned up, including: determining unused resource information based on the resource usage information, wherein the unused resource information includes resource storage address information allocated by the proxy server to the resource user for resource storage on the resource service provider, and / or resource access address information allocated by the proxy server to the resource user for accessing resources on the resource service provider; determining the unused resource information that meets a specific time period as target information; and cleaning up the target information.

[0065] Specifically, the resource user's need to utilize resources can include accessing resources from the resource service provider or storing resources on the resource service provider's website. Since the proxy server has the authority to allocate resources, its pre-allocated resource access addresses or resource storage addresses, if not used by the resource user within a certain period, can be periodically cleared to reduce storage resource consumption.

[0066] See Figure 2 This is an application system architecture diagram provided in an embodiment of the present application. The application system includes a resource user, a proxy service, and a resource service.

[0067] Specifically, the resource user is the initiator of the resource usage service; the proxy service acts as an agent for the resource service and may include a proxy service resource allocation module, a proxy service pre-authorized resource pool maintenance thread module, and a proxy service expired and unused resource cleanup thread module. The proxy service resource allocation module can perform tasks such as finding, generating, and allocating resources. The proxy service has resource allocation and authorization permissions from the resource service and can allocate resources on the resource service. The proxy service can generate a set of pre-authorization parameters and provide them to the resource user. The resource user can then use these pre-authorization parameters to obtain or store the corresponding resource from the resource service. Specifically, the pre-authorization process may include: the proxy service, or upon request from the resource user, sending the resource user's information and the information of the resource to be used to the resource service; the resource service generating and returning the pre-authorization information to the proxy service; and the proxy service processing the pre-authorization information and sending it to the resource user. Essentially, pre-authorization is the process of obtaining resource authorization parameters. These authorization parameters include, but are not limited to, authorization signatures and resource locations (such as a unique database ID or the storage location of a file). The proxy service maintains a pre-authorization resource thread module, which performs proxy authorization for resources using a pre-authorization method. It sets relevant parameters for pre-authorized resources and performs authentication synchronization. The proxy service also maintains an expired and unused resource cleanup thread, used to clean up pre-occupied but unused resources. The resource service is the service that actually provides resources externally, including the following functions: a resource service pre-authorization module (performing pre-authorization of resources); a resource service authentication module (authenticating resource requests); and a resource provisioning module (providing resource responses to authenticated resources).

[0068] See Figure 3 This is a timing diagram of an application system for resource invocation provided in an embodiment of this application. The pre-authorized resource management module of the proxy service maintains a pre-authorized resource pool, performs pre-authorization of resources through the resource allocation module, and transmits the allocated resources and resource authorization information to the resource service;

[0069] The resource user requests resource authorization from the proxy service, and the proxy service directly returns a valid pre-authorization from the pre-authorization pool;

[0070] Resource users request resources from resource services by providing pre-authorization information;

[0071] Resource services, through pre-authorization authentication and resource authentication, respond to resource users with resource information;

[0072] The resource service notifies the agent service of the pre-authorized resource information used;

[0073] The proxy service's expired and unused resource cleanup module removes expired and unused pre-authorized resource information.

[0074] In this embodiment, the proxy service maintains a pre-authorized resource pool. Resource users can directly obtain resource authorizations from the proxy service, avoiding the proxy service requesting authorization from the resource service only when the resource user uses the resource. This reduces the response time when the resource user obtains resource authorizations, improves response speed, and enhances service performance.

[0075] Correspondingly, another embodiment of this application also provides a resource invocation device applied to a proxy server, see [link to relevant documentation]. Figure 4 The device may include:

[0076] The acquisition unit 201 is used to obtain pre-authorization information matching the resource authorization request in response to receiving a resource authorization request from a resource user. The proxy server pre-stores pre-authorization information of the resource user and the resource service provider. The pre-authorization information is used to enable the resource service provider to authenticate the resource user.

[0077] The sending unit 202 is used to send the pre-authorization information to the resource user, so that the resource user can call the target resource provided by the resource service provider based on the pre-authorization information.

[0078] This application provides a resource invocation device applied to a proxy server. An acquisition unit, in response to receiving a resource authorization request from a resource user, obtains pre-authorization information matching the request. A sending unit sends the pre-authorization information to the resource user, enabling the resource user to invoke a target resource provided by a resource service provider based on the pre-authorization information. The proxy server pre-stores pre-authorization information for both the resource user and the resource service provider, which is used for authentication of the resource user by the resource service provider. The resource user can obtain pre-authorization information from the proxy server, reducing the response time for obtaining resource authorization and improving the efficiency of resource invocation.

[0079] Optionally, it also includes:

[0080] The first generation unit is used to generate pre-authorized resource association parameters based on the feature information of the resource service provider. The pre-authorized resource association parameters include at least authorization signature information and resource location information.

[0081] The second generation unit is used to generate a pre-authorized resource pool based on the pre-authorized resource association parameters;

[0082] The acquisition unit includes:

[0083] The parsing subunit is used to parse the resource authorization request and obtain the resource service provider information corresponding to the resource authorization request;

[0084] The search subunit is used to search the pre-authorized resource pool based on the resource service provider information to obtain pre-authorized information.

[0085] Optionally, the acquisition unit includes:

[0086] A determining subunit is used to determine the characteristic information of the resource user that matches the resource acquisition request and the resource information to be used by the resource user;

[0087] A sending subunit is used to send the characteristic information of the resource user and the information of the resource to be used to the resource service provider;

[0088] The receiving subunit is used to receive pre-authorization information from the resource service provider that matches the feature information of the resource user and the information of the resource to be used.

[0089] Optionally, the device further includes:

[0090] The cleanup unit is used to clean up the target information in the pre-authorized resource pool based on the resource usage information of the resource user, wherein the target information includes unused resource location information.

[0091] Optionally, the resource user invokes the target resource provided by the resource service provider based on the pre-authorization information, including: the resource user sends the pre-authorization information to the resource service provider; after the resource service provider authenticates the pre-authorization information, it returns the target resource to the resource user and sends the resource usage information matching the target resource to the proxy server.

[0092] Specifically, the cleaning unit is used for:

[0093] Based on the resource usage information, unused resource information is determined. The unused resource information includes resource storage address information allocated by the proxy server to the resource user for resource storage on the resource service provider, and / or resource access address information allocated by the proxy server to the resource user for accessing the resources of the resource service provider.

[0094] The unused resource information that meets a specific duration is identified as the target information;

[0095] Clean up the target information.

[0096] Based on the foregoing embodiments, embodiments of this application provide a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the resource retrieval method as described above.

[0097] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of a resource access method when executing the program.

[0098] It should be noted that the aforementioned processor or CPU can be at least one of the following: Application-Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, and microprocessor. Understandably, the electronic device implementing the above processor function can also be other types, and this application does not specifically limit its capabilities.

[0099] It should be noted that the aforementioned computer storage media / memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; it can also be various terminals that include one or any combination of the above-mentioned memory, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0100] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0101] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0102] Furthermore, in the various embodiments of this application, all functional units can be integrated into one processing module, or each unit can be a separate unit, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0103] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0104] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0105] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0106] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0107] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0108] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A resource invocation method, characterized in that, Applied to a proxy server, the method includes: In response to receiving a resource authorization request from a resource user, the proxy server obtains pre-authorization information matching the resource authorization request. The proxy server pre-stores pre-authorization information for both the resource user and the resource service provider. This pre-authorization information is used by the resource service provider to authenticate the resource user. The pre-authorization information is then sent to the resource user, enabling the resource user to invoke the target resource provided by the resource service provider based on the pre-authorization information. The method further includes: The proxy server has resource allocation and authorization permissions for resource services, and performs proxy authorization for resources. The proxy authorization adopts a pre-authorization method. Based on the characteristic information of the resource service provider, pre-authorized resource association parameters are generated. The pre-authorized resource association parameters include at least authorization signature information and resource location information. A pre-authorized resource pool is generated based on the pre-authorized resource association parameters; The step of obtaining pre-authorization information matching the resource authorization request includes: The resource authorization request is parsed to obtain the resource service provider information corresponding to the resource authorization request; Based on the resource service provider information, a search is performed in the pre-authorized resource pool to obtain pre-authorized information.

2. The method according to claim 1, characterized in that, Obtaining pre-authorization information matching the resource authorization request can also be achieved through the following methods: Determine the characteristic information of the resource user that matches the resource authorization request, as well as the resource information to be used by the resource user; Send the characteristic information of the resource user and the information of the resource to be used to the resource service provider; Receive pre-authorization information from the resource service provider that matches the characteristic information of the resource user and the information of the resource to be used.

3. The method according to claim 1, characterized in that, The method further includes: Based on the resource usage information of the resource user, the target information in the pre-authorized resource pool is cleaned up, wherein the target information includes unused resource location information.

4. The method according to claim 3, characterized in that, The resource user invokes the target resource provided by the resource service provider based on the pre-authorization information, including: the resource user sends the pre-authorization information to the resource service provider; after the resource service provider authenticates the pre-authorization information, it returns the target resource to the resource user and sends the resource usage information matching the target resource to the proxy server. The step of cleaning up the target information in the pre-authorized resource pool based on the resource usage information of the resource user includes: Based on the resource usage information, unused resource information is determined. The unused resource information includes resource storage address information allocated by the proxy server to the resource user for resource storage on the resource service provider, and / or resource access address information allocated by the proxy server to the resource user for accessing the resources of the resource service provider. The unused resource information that meets a specific duration is identified as the target information; Clean up the target information.

5. A resource allocation device, characterized in that, The device, applied to a proxy server, includes: The acquisition unit is used to obtain pre-authorization information matching the resource authorization request in response to receiving a resource authorization request from a resource user. The proxy server pre-stores pre-authorization information of the resource user and the resource service provider. The pre-authorization information is used to enable the resource service provider to authenticate the resource user. A sending unit is configured to send the pre-authorization information to the resource user, so that the resource user can invoke the target resource provided by the resource service provider based on the pre-authorization information; The device further includes: The first generation unit is used to grant resource allocation and authorization permissions to the proxy server that has resource services, and to grant proxy authorization to the resources using a pre-authorization method; based on the feature information of the resource service provider, it generates pre-authorized resource association parameters, which include at least authorization signature information and resource location information; The second generation unit is used to generate a pre-authorized resource pool based on the pre-authorized resource association parameters; The acquisition unit includes: The parsing subunit is used to parse the resource authorization request and obtain the resource service provider information corresponding to the resource authorization request; The search subunit is used to search the pre-authorized resource pool based on the resource service provider information to obtain pre-authorized information.

6. The apparatus according to claim 5, characterized in that, The acquisition unit further includes: A determining subunit is used to determine the characteristic information of the resource user that matches the resource authorization request and the resource information to be used by the resource user; A sending subunit is used to send the characteristic information of the resource user and the information of the resource to be used to the resource service provider; The receiving subunit is used to receive pre-authorization information from the resource service provider that matches the feature information of the resource user and the information of the resource to be used.

7. The apparatus according to claim 5, characterized in that, The device further includes: The cleanup unit is used to clean up the target information in the pre-authorized resource pool based on the resource usage information of the resource user, wherein the target information includes unused resource location information.

8. The apparatus according to claim 7, characterized in that, The resource user invokes the target resource provided by the resource service provider based on the pre-authorization information, including: the resource user sends the pre-authorization information to the resource service provider; after the resource service provider authenticates the pre-authorization information, it returns the target resource to the resource user and sends the resource usage information matching the target resource to the proxy server. Specifically, the cleaning unit is used for: Based on the resource usage information, unused resource information is determined. The unused resource information includes resource storage address information allocated by the proxy server to the resource user for resource storage on the resource service provider, and / or resource access address information allocated by the proxy server to the resource user for accessing the resources of the resource service provider. The unused resource information that meets a specific duration is identified as the target information; Clean up the target information.