Search

CN-122027451-A - Network resource scheduling method, device and equipment

CN122027451ACN 122027451 ACN122027451 ACN 122027451ACN-122027451-A

Abstract

The embodiment of the specification discloses a network resource scheduling method, a device and equipment. The scheme includes the steps of receiving local data transmitted by a client, acquiring content distribution network state data transmitted by a content distribution network node, analyzing according to the local data and the content distribution network state data, determining a network resource state corresponding to the client, generating a corresponding network resource control strategy according to the network resource state, and feeding back the network resource control strategy to the client so that the client executes the network resource control strategy.

Inventors

  • LIU XIANGYANG
  • JIANG JIAJIA
  • KOU GUANNAN
  • XU MINGXING
  • WENG XINDAN

Assignees

  • 支付宝(杭州)数字服务技术有限公司

Dates

Publication Date
20260512
Application Date
20260213

Claims (20)

  1. 1. A network resource scheduling method, comprising: receiving local data transmitted by a client and acquiring content distribution network state data transmitted by a content distribution network node; analyzing according to the local data and the content distribution network state data, and determining a network resource state corresponding to the client; and generating a corresponding network resource control strategy according to the network resource state, and feeding back the network resource control strategy to the client so that the client executes the network resource control strategy.
  2. 2. The method of claim 1, wherein the receiving the local data transmitted by the client specifically comprises: receiving static user data transmitted by a client for describing user characteristics, and establishing a user portrait based on the static user data; and receives dynamic service data transmitted by the client for describing the service execution process in real time.
  3. 3. The method of claim 2, wherein the analyzing according to the local data and the content distribution network status data determines a network resource status corresponding to the client, and specifically includes: Based on a plurality of preset network state dimensions, determining a corresponding network fault index according to the content distribution network state data; And obtaining the network resource state corresponding to the client according to the network fault index and the dynamic service data.
  4. 4. The method of claim 3, generating a corresponding network resource control policy according to the network resource status, specifically comprising: Determining that the bandwidth utilization rate is higher than a first preset threshold according to the content distribution network state data, determining that a preset business abnormal event exists according to the dynamic business data, and determining that the network failure index is lower than a second preset threshold; and generating a corresponding network resource control strategy to reduce the network resource consumption corresponding to the client through the network resource control strategy.
  5. 5. The method of claim 4, generating a corresponding network resource control policy to reduce network resource consumption corresponding to the client by the network resource control policy, specifically comprising: Determining a service type corresponding to the dynamic service data; If the service type belongs to a preset type, determining a current service stage based on the executed front-end service action in the dynamic service data; And if the service stage belongs to a preset stage, generating a corresponding network resource control strategy to keep the network resource consumption corresponding to the client in the process of executing the service stage through the network resource control strategy, and reducing the network resource consumption corresponding to the client after the service stage is executed.
  6. 6. The method of claim 3, generating a corresponding network resource control policy according to the network resource status, specifically comprising: if the network fault index is higher than a second preset threshold, determining a corresponding standby content distribution network node according to the main content distribution network node currently corresponding to the client; According to the dynamic service data, corresponding service data are cached to the standby content distribution network node in advance; and generating a corresponding network resource control strategy so that the client switches the standby content distribution network node based on the network resource control strategy.
  7. 7. The method of claim 6, generating a corresponding network resource control policy to cause the client to switch the standby content distribution network node based on the network resource control policy, comprising: if the number of the clients needing to be switched to the standby content distribution network node is determined to be higher than the preset number, an inquiry instruction is generated; Sending the inquiry instruction to each client so as to enable each client to perform local calculation, determining corresponding switching benefits based on local data corresponding to each client, and determining corresponding switching strategies based on the switching benefits; Receiving switching strategies returned by each client and combining to obtain a switching strategy set; And according to the number of the switching strategies of each type, adjusting part of the switching strategies in the switching strategy set to generate corresponding network resource control strategies, so that each client executes the corresponding switching strategies based on the network resource control strategies.
  8. 8. The method of claim 6, determining a corresponding handover benefit based on its own corresponding local data, comprising: based on a plurality of preset profit dimensions, corresponding switching profit is determined according to local data corresponding to the profit dimensions; the profit dimension comprises an experience gain estimation dimension and a switching cost estimation dimension; the experience gain estimation dimension comprises a plurality of first sub-dimensions, each first sub-dimension is determined according to each network state dimension, and the weight corresponding to each first sub-dimension is determined by the service type corresponding to the dynamic service data; The handover cost estimation dimension includes a plurality of second sub-dimensions, each second sub-dimension being determined according to the static user data and the service type.
  9. 9. The method of claim 3, generating a corresponding network resource control policy according to the network resource status, specifically comprising: determining the service level corresponding to the client according to the user portrait and the service type corresponding to the dynamic service data; Acquiring a network fault index and a bandwidth utilization rate corresponding to each content distribution network node; And generating a corresponding network resource control strategy to allocate a corresponding content distribution network node to the client according to the service grade, and allocating a corresponding network resource use mode to the client based on the network failure index and the bandwidth utilization rate.
  10. 10. The method of claim 1, wherein the analyzing according to the local data and the content distribution network status data determines a network resource status corresponding to the client, and specifically includes: Based on a plurality of preset network state dimensions, fitting to obtain a state curve corresponding to each network state dimension according to the content distribution network state data; Based on the state curve, estimating the corresponding network state dimension.
  11. 11. A network resource scheduling apparatus, comprising: The data receiving module is used for receiving the local data transmitted by the client and acquiring the content distribution network state data transmitted by the content distribution network node; the state confirmation module is used for analyzing according to the local data and the content distribution network state data and determining the network resource state corresponding to the client; And the strategy executing module generates a corresponding network resource control strategy according to the network resource state and feeds the network resource control strategy back to the client so that the client executes the network resource control strategy.
  12. 12. The apparatus of claim 11, the data receiving module to receive static user data transmitted by a client describing user characteristics and to create a user representation based on the static user data; and receives dynamic service data transmitted by the client for describing the service execution process in real time.
  13. 13. The apparatus of claim 12, the status validation module to determine a corresponding network failure index from the content delivery network status data based on a preset plurality of network status dimensions; And obtaining the network resource state corresponding to the client according to the network fault index and the dynamic service data.
  14. 14. The apparatus of claim 13, the policy enforcement module to determine, from the content delivery network status data, that bandwidth utilization is above a first preset threshold, and to determine, from the dynamic traffic data, that a preset traffic anomaly event exists, and to determine that the network failure index is below a second preset threshold; and generating a corresponding network resource control strategy to reduce the network resource consumption corresponding to the client through the network resource control strategy.
  15. 15. The apparatus of claim 14, the policy enforcement module determining a traffic type corresponding to the dynamic traffic data; If the service type belongs to a preset type, determining a current service stage based on the executed front-end service action in the dynamic service data; And if the service stage belongs to a preset stage, generating a corresponding network resource control strategy to keep the network resource consumption corresponding to the client in the process of executing the service stage through the network resource control strategy, and reducing the network resource consumption corresponding to the client after the service stage is executed.
  16. 16. The apparatus of claim 13, wherein the policy enforcement module determines a corresponding backup content distribution network node according to a primary content distribution network node to which the client currently corresponds if the network failure index is determined to be higher than a second preset threshold; According to the dynamic service data, corresponding service data are cached to the standby content distribution network node in advance; and generating a corresponding network resource control strategy so that the client switches the standby content distribution network node based on the network resource control strategy.
  17. 17. The apparatus of claim 16, the policy enforcement module to generate an inquiry command if it is determined that the number of clients that need to switch to the backup content distribution network node is greater than a preset number; Sending the inquiry instruction to each client so as to enable each client to perform local calculation, determining corresponding switching benefits based on local data corresponding to each client, and determining corresponding switching strategies based on the switching benefits; Receiving switching strategies returned by each client and combining to obtain a switching strategy set; And according to the number of the switching strategies of each type, adjusting part of the switching strategies in the switching strategy set to generate corresponding network resource control strategies, so that each client executes the corresponding switching strategies based on the network resource control strategies.
  18. 18. The apparatus of claim 16, wherein the policy enforcement module determines a corresponding handover benefit from its corresponding local data based on a preset plurality of benefit dimensions; the profit dimension comprises an experience gain estimation dimension and a switching cost estimation dimension; the experience gain estimation dimension comprises a plurality of first sub-dimensions, each first sub-dimension is determined according to each network state dimension, and the weight corresponding to each first sub-dimension is determined by the service type corresponding to the dynamic service data; The handover cost estimation dimension includes a plurality of second sub-dimensions, each second sub-dimension being determined according to the static user data and the service type.
  19. 19. The apparatus of claim 13, wherein the policy enforcement module determines a service class corresponding to the client based on the user profile and a service type corresponding to the dynamic service data; Acquiring a network fault index and a bandwidth utilization rate corresponding to each content distribution network node; And generating a corresponding network resource control strategy to allocate a corresponding content distribution network node to the client according to the service grade, and allocating a corresponding network resource use mode to the client based on the network failure index and the bandwidth utilization rate.
  20. 20. The apparatus of claim 11, wherein the state confirmation module fits a state curve corresponding to each network state dimension based on a plurality of preset network state dimensions according to the content distribution network state data; Based on the state curve, estimating the corresponding network state dimension.

Description

Network resource scheduling method, device and equipment Technical Field The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, and a device for scheduling network resources. Background With the development of digitization and mobile internet, video, audio and other large-flow content distribution and key business scenes become core components of application services. Users are placing higher demands on fluency, high quality experience, and high availability of services. In the conventional scheme, before service release, an operation and maintenance person or a research and development team usually configures a scheduling policy in a cloud in advance according to a service type (such as payment, live broadcast and on demand), so that network resource scheduling is performed through a static scheduling policy based on the preset rule of the cloud, and content is statically released. And with the burst of service traffic or operation activity, the burst of service request brings about the burst traffic of the content delivery network (Content Delivery Network, CDN), possibly bringing about additional CDN bandwidth cost, and at this time, the conventional scheme generally adopts global throttling, and sets a global bandwidth threshold through a static scheduling policy, so that all users share the same set of traffic control rules. Meanwhile, in the situations of node failure, abnormal links, blocked domain names and the like of the CDN or the back-end cloud system, cloud service failure switching depends on manual intervention or DNS re-analysis. Based on this, there is a need for a more efficient and capable of personalizing network resource scheduling schemes for different users. Disclosure of Invention One or more embodiments of the present disclosure provide a network resource scheduling method, apparatus, device, and storage medium, so as to solve the technical problem that a network resource scheduling scheme that is more efficient and can be personalized for different users is needed. To solve the above technical problems, one or more embodiments of the present specification are implemented as follows: One or more embodiments of the present disclosure provide a network resource scheduling method, including: receiving local data transmitted by a client and acquiring content distribution network state data transmitted by a content distribution network node; analyzing according to the local data and the content distribution network state data, and determining a network resource state corresponding to the client; and generating a corresponding network resource control strategy according to the network resource state, and feeding back the network resource control strategy to the client so that the client executes the network resource control strategy. One or more embodiments of the present disclosure provide a network resource scheduling apparatus, including: The data receiving module is used for receiving the local data transmitted by the client and acquiring the content distribution network state data transmitted by the content distribution network node; the state confirmation module is used for analyzing according to the local data and the content distribution network state data and determining the network resource state corresponding to the client; And the strategy executing module generates a corresponding network resource control strategy according to the network resource state and feeds the network resource control strategy back to the client so that the client executes the network resource control strategy. One or more embodiments of the present disclosure provide a network resource scheduling apparatus, including: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor, the instructions are executable by the at least one processor to enable the at least one processor to: receiving local data transmitted by a client and acquiring content distribution network state data transmitted by a content distribution network node; analyzing according to the local data and the content distribution network state data, and determining a network resource state corresponding to the client; and generating a corresponding network resource control strategy according to the network resource state, and feeding back the network resource control strategy to the client so that the client executes the network resource control strategy. One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer-executable instructions configured to: receiving local data transmitted by a client and acquiring content distribution network state data transmitted by a content distribution network node; analyzing according to the local data and the content distribution network state data, and determining a network