Resource management methods, systems, proxy servers, and computer programs

JP7879052B2Active Publication Date: 2026-06-23ZTE CORP

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
ZTE CORP
Filing Date
2021-06-15
Publication Date
2026-06-23

AI Technical Summary

Benefits of technology

を達成することができ、詳細はこれまでの実施例を参照でき、ここでは説明を省略する。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007879052000001
    Figure 0007879052000001
  • Figure 0007879052000002
    Figure 0007879052000002
  • Figure 0007879052000003
    Figure 0007879052000003
Patent Text Reader

Abstract

The present disclosure discloses a resource management method, system, proxy server, and storage medium, belonging to the field of communications technology, which includes the steps of: when resource update information of a microserver exists, reporting the resource update information to the load balancing server via the proxy server of the microserver; broadcasting the resource update information to the proxy servers corresponding to each microserver via the load balancing server; and updating the resource usage status of each microserver pre-stored locally via the proxy server corresponding to each microserver based on the resource update information, thereby performing load balancing operations based on the resource usage status. Global load balancing is performed based on global resource information, improving the accuracy of load balancing and improving the reliability and accuracy of resource management.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A resource management method applied to a resource management system, comprising a plurality of microservers, a proxy server corresponding to each microserver, and a load balancing server, If resource update information exists for the microserver, the step of reporting the resource update information to the load balancing server via the microserver's proxy server, The steps include broadcasting the resource update information to the proxy server corresponding to each microserver via the load balancing server, The steps include updating the resource usage status of each microserver, which is stored locally in advance, via a proxy server corresponding to each microserver, based on the resource update information, and performing load balancing operations based on the resource usage status, If resource update information exists for the microserver, the step of reporting the resource update information to the load balancing server via the microserver's proxy server, broadcasting the resource update information to the proxy server corresponding to each microserver via the load balancing server, and updating the resource usage status of each microserver, which is stored locally in advance, via the proxy server corresponding to each microserver, is as follows: The steps include: initiating a request via the requesting microserver and obtaining the requested resource occupancy information; The steps include reporting the resource usage information to the load balancing server via the requesting proxy server, The steps include broadcasting the resource allocation information to the proxy server corresponding to each microserver via the load balancing server, The process includes updating the resource usage status of each microserver, which is stored locally in advance, based on the resource usage information, via a proxy server corresponding to each microserver. Resource management methods.

2. The step of performing load balancing operations based on the resource usage status is: The steps include determining the receiving microserver to respond to the request based on the resource usage status of each microserver stored locally in advance and the pre-configured load balancing policy via the requesting proxy server, The process includes the steps of sending the request to the receiving proxy server via the requesting proxy server, and forwarding the request to the receiving microserver via the receiving proxy server. The resource management method according to claim 1.

3. The load balancing policy prioritizes the minimum number of connections, and the step of determining the receiving microserver to respond to the request based on the resource usage of each microserver stored locally in advance and the pre-configured load balancing policy via the requesting proxy server is as follows: The process includes setting, via the requesting proxy server, the microserver instance corresponding to the one with the fewest connections among multiple microservers, based on the resource usage of each microserver instance stored locally and a load balancing policy prioritizing the minimum number of connections, as the receiving microserver instance corresponding to the request. The step of forwarding the request to the receiving microserver via the receiving proxy server is: The step includes forwarding the request to an instance of the receiving microserver via the receiving proxy server, The resource management method according to claim 2.

4. The load balancing policy prioritizes response speed, and the step of determining the receiving microserver to respond to the request based on the resource usage of each microserver stored locally in advance and the pre-configured load balancing policy via the requesting proxy server is as follows: The process includes setting the microserver instance corresponding to the fastest response time among multiple microservers, based on the resource usage status of each microserver instance stored locally in advance and a load balancing policy prioritizing response speed, via the requesting proxy server, as the receiving microserver instance corresponding to the request. The step of forwarding the request to the receiving microserver via the receiving proxy server is: The step includes forwarding the request to an instance of the receiving microserver via the receiving proxy server, The resource management method according to claim 2.

5. The load balancing policy is weighted round robin, and the step of determining the receiving microserver to respond to the request based on the resource usage of each microserver stored locally in advance and the pre-configured load balancing policy via the requesting proxy server is as follows: The requesting proxy server, based on the resource usage of each microserver instance stored locally and a weighted round-robin load balancing policy, sets the microserver instance corresponding to the one with the smallest weight among multiple microservers as the receiving microserver instance corresponding to the request, and the weight is the weight of the resources consumed to process the request, including a step. The step of forwarding the request to the receiving microserver via the receiving proxy server is: The step includes forwarding the request to an instance of the receiving microserver via the receiving proxy server, The resource management method according to claim 2.

6. If resource update information exists for the microserver, the following steps are taken: report the resource update information to the load balancing server via the microserver's proxy server; broadcast the resource update information to the proxy server corresponding to each microserver via the load balancing server; and update the resource usage status of each microserver, which is stored locally in advance, via the proxy server corresponding to each microserver, based on the resource update information. The receiving microserver completes processing of the request initiated by the requesting party, then obtains resource release information for the request via the receiving proxy server and reports the resource release information to the load balancing server. The steps include broadcasting the resource release information to the proxy server corresponding to each microserver via the load balancing server, The process includes updating the resource usage status of each microserver, which is stored locally in advance, via a proxy server corresponding to each microserver, based on the resource release information. The resource management method according to claim 1.

7. The steps include deploying a proxy server corresponding to each microserver in the resource management system, and deploying a load balancing server, The steps include sending a registration request to the load balancing server via the proxy server of each microserver, The step further includes establishing a connection relationship between the load balancing server and the proxy server of each microserver based on the registration request, The resource management method according to any one of claims 1 to 6.

8. A resource management method applied to a proxy server, wherein the proxy server is a proxy server corresponding to the requesting microserver. If resource update information is detected on a microserver, the process includes reporting the resource update information to the load balancing server and updating the resource usage status of each microserver, which is stored locally in advance, based on the resource update information. The step includes performing a load balancing operation based on the resource usage, If resource update information is detected on a microserver, the step of reporting the resource update information to the load balancing server and updating the resource usage status of each microserver, which is stored locally in advance, based on the resource update information, is as follows: The steps include: obtaining resource usage information initiated by the requesting microserver; The steps include reporting the resource usage information to the load balancing server, The process includes the step of updating the resource usage status of each microserver, which is stored locally in advance, based on the aforementioned resource usage information. Resource management methods.

9. The step of performing load balancing operations based on the resource usage status is: Based on the resource usage and load balancing policy prioritizing the minimum number of connections, the step of setting the microserver instance corresponding to the one with the minimum number of connections among multiple microservers as the receiving microserver instance that responds to the request, The process includes the step of sending the request to the receiving proxy server, which then forwards the request to an instance of the receiving microserver. The resource management method according to claim 8.

10. The step of performing load balancing operations based on the resource usage status is: Based on the resource usage and a load balancing policy prioritizing response speed, the step of setting the microserver instance corresponding to the fastest response speed among multiple microservers as the receiving microserver instance that responds to the request, The process includes the step of sending the request to the receiving proxy server, which then forwards the request to an instance of the receiving microserver. The resource management method according to claim 8.

11. The step of performing load balancing operations based on the resource usage status is: Based on the resource usage and the weighted round-robin load balancing policy, the microserver instance corresponding to the one with the smallest weight among multiple microservers is set as the receiving microserver instance corresponding to the request, and the weight is the weight of the resources consumed to process the request. The process includes the step of sending the request to the receiving proxy server, which then forwards the request to an instance of the receiving microserver. The resource management method according to claim 8.

12. The step of performing load balancing operations based on the resource usage status is: The load balancing server receives resource release information broadcast by the load balancing server, and the resource release information is reported to the load balancing server via the receiving proxy server after the receiving microserver has completed processing for the request initiated by the requesting party. The process includes the step of updating the resource usage status of each microserver instance, which is stored locally in advance, based on the resource release information. The resource management method according to claim 8.

13. The process further includes the steps of sending a registration request to the load balancing server and establishing a connection relationship with the load balancing server based on the registration request, or sending a logout request to the load balancing server and logging out the connection relationship with the load balancing server based on the logout request. The resource management method according to any one of claims 8 to 12.

14. The system includes multiple microservers, a proxy server corresponding to each microserver, and a load balancing server, wherein the load balancing server is connected to each proxy server and is used to perform the resource management method described in any one of claims 1 to 7. Resource management system.

15. A memory in which a computer program is stored, and a processor that executes the resource management method described in any one of claims 8 to 13 when calling a computer program in the memory, Proxy server.

16. Loaded by a processor and executing the resource management method described in any one of claims 1 to 7, or loaded by a processor and executing the resource management method described in any one of claims 8 to 13. Computer program.