WO2022166609A1 - Service scheduling method and apparatus, device, and storage medium - Google Patents
Service scheduling method and apparatus, device, and storage medium Download PDFInfo
- Publication number
- WO2022166609A1 WO2022166609A1 PCT/CN2022/073053 CN2022073053W WO2022166609A1 WO 2022166609 A1 WO2022166609 A1 WO 2022166609A1 CN 2022073053 W CN2022073053 W CN 2022073053W WO 2022166609 A1 WO2022166609 A1 WO 2022166609A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- edge node
- bandwidth
- bandwidth value
- quality
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 10
- 238000004422 calculation algorithm Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000003672 processing method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
Definitions
- the embodiments of the present disclosure relate to the field of CDN technologies, and in particular, to a service scheduling method, apparatus, device, and storage medium.
- the central scheduling device can schedule edge nodes that are closer to users to provide services to users.
- CDN Content Delivery Network
- different scheduling methods have different effects on the quality and cost of CDN services. Therefore, how to take into account the quality and/or cost of CDN services in the scheduling process is a technical problem to be solved by those skilled in the art.
- the embodiments of the present disclosure provide a service scheduling method, apparatus, device, and storage medium.
- a first aspect of the embodiments of the present disclosure provides a service scheduling method, which is applicable to a content delivery network (Content Delivery Network, CDN for short), wherein the CDN includes a method for periodically determining each edge node in the CDN
- the service quality and cost bandwidth value of the central service platform the cost bandwidth value refers to the bandwidth value when the cost of the edge node is optimal
- the method includes the first edge node in the CDN receiving the service request of the client, so
- the service request includes the service type and the IP address of the client; at least according to its current bandwidth value and cost bandwidth value, determine whether the service request needs to be rescheduled; if so, based on the IP address and the service type Request from the central service platform the bandwidth margin and service quality of at least one second edge node that belongs to the same area as the client and matches the service type, wherein the bandwidth margin refers to the The difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node; according to the bandwidth margin and service quality of the at
- a second aspect of the embodiments of the present disclosure provides a service scheduling apparatus, the service scheduling apparatus is set in a first edge node of a CDN, and the CDN includes a device for periodically determining the service quality of each edge node in the CDN and a central service platform for cost bandwidth value, the service scheduling device includes: a receiving module for receiving a service request from a client, the service request including the service type and the IP address of the client; a judging module for at least according to The current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node are used to determine whether the service request needs to be rescheduled; the request module is used to determine whether the service request needs to be rescheduled.
- the execution module During scheduling, based on the IP address and the service type, request the central service platform for the bandwidth margin and service of at least one second edge node that belongs to the same area as the client and matches the service type. quality, wherein the bandwidth margin refers to the difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node; the execution module, according to the at least one second edge node the bandwidth margin and service quality, and reschedule the service request to one or more second edge nodes.
- a third aspect of the embodiments of the present disclosure provides an edge node, including a memory and a processor, wherein the memory includes a computer program, and when the computer program is executed by the processor, the processor can execute The method described in the first aspect above.
- a fourth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the processor causes the processor to execute the above-mentioned first aspect.
- the embodiment of the present disclosure regularly determines the service quality and cost bandwidth value of each edge node in the CDN through the central service platform.
- the first edge node in the CDN receives the service request from the client, the first edge node judges whether the service request needs to be rescheduled at least according to its current bandwidth value and cost bandwidth value, and when judging that rescheduling is necessary, Based on the IP address and service type carried in the service request, request from the central service platform at least one second edge node that belongs to the same area as the client and matches the service type requested by the client for the bandwidth margin and service quality of the second edge node.
- the service request is rescheduled to one or more of the second edge nodes.
- the first edge node in the embodiment of the present disclosure does not acquiesce by itself after receiving the service request from the client.
- it will judge whether it needs to be rescheduled according to its current actual bandwidth and its own cost bandwidth.
- it will request the central service platform for at least one second edge node.
- This scheduling method not only meets the service scheduling requirements of the CDN, but also takes into account the cost and service quality of each edge node in the CDN, thereby realizing the refined control of the CDN cost and ensuring the service quality of the CDN.
- FIG. 1 is a flowchart of a service scheduling method provided by an embodiment of the present disclosure
- FIG. 2 is a network architecture diagram of a CDN provided by an embodiment of the present disclosure
- FIG. 3 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of a service scheduling apparatus provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of an edge node provided by an embodiment of the present disclosure.
- Edge node refers to a business platform built on the edge side of the network close to users to provide users with resources such as storage, computing, and networks.
- Cost bandwidth value refers to the bandwidth value when the edge node obtains the optimal cost.
- the cost bandwidth value is related to the charging mode of the edge node. When the charging mode is determined, the cost bandwidth value of the edge node can be calculated based on the charging mode. For the calculation method of the cost bandwidth value, refer to the related art, which will not be repeated here.
- Bandwidth margin the bandwidth margin of the edge node refers to the difference between the cost bandwidth value of the edge node and the actual bandwidth value of the edge node.
- the service scheduling methods of CDN mainly include the following two:
- the client's service request is first sent to the local DNS system.
- the local DNS system requests the central scheduling device of the CDN for the address of the edge node for processing the service request, and feeds back the address of the edge node to the client.
- the client After the client receives the address of the edge node, it initiates a service request to the edge node, so that the edge node provides a business service for the client.
- the client's service request is first sent to the local DNS system, and the local DNS system requests the address of the central scheduling device from the DNS system dedicated to the CDN service operator according to the service request, and then feeds back the address of the central scheduling device. to the client.
- the client After receiving the address of the central dispatching device, the client sends a service request to the central dispatching device according to the address.
- the central scheduling device After receiving the client's service request, the central scheduling device allocates an edge node in the same area as the client according to the client's IP address to process the client's service request, and feeds back the address of the edge node to the client. The edge node re-initiates the service request.
- the service scheduling lacks the perception of the cost and service quality of edge nodes, and there are problems that the cost cannot be controlled in a refined manner and the service quality cannot be guaranteed.
- the edge node will generally provide services for the client by itself by default, and will not perform 302 scheduling again, so there is a problem of a single scheduling path.
- the embodiments of the present disclosure provide a service scheduling solution applicable to CDN.
- This solution innovatively sets up a central service platform in the CDN.
- the central service platform can periodically determine the service quality and cost bandwidth value of each edge node in the CDN, and the edge nodes in the CDN need to reschedule service requests ( 302 scheduling), provide the edge node with the service quality data and bandwidth margin data of other edge nodes, so that the edge node can reschedule the service request to one or more other edge nodes according to the service quality and bandwidth margin of other edge nodes. on edge nodes.
- FIG. 1 is a flowchart of a service scheduling method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method may include the following steps:
- Step 101 A first edge node in the CDN receives a service request from a client, where the service request includes a service type and an IP address of the client.
- Step 102 The first edge node determines whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value, and if so, step 103 is performed.
- Step 103 Based on the IP address and the service type in the service request, the first edge node requests the central service platform for the bandwidth margin of at least one second edge node that belongs to the same area as the client and matches the service type requested by the client. and business quality.
- Step 104 The first edge node reschedules the service request of the client to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node obtained by the request.
- first edge node and “second edge node” in this embodiment are only for convenience of distinction and have no other meaning.
- FIG. 2 is a network architecture diagram of a CDN provided by an embodiment of the present disclosure.
- the CDN network architecture of FIG. 2 at least includes a client, a local DNS, a DNS dedicated to the CDN, and a central scheduling device. , a central service platform and N edge nodes, where N is an integer greater than 1.
- the charging methods of the N edge nodes may be the same or different, and the charging methods of each edge node are not fixed, but can be adjusted according to needs, such as using different charging methods in different time periods.
- the central service platform determines data such as cost bandwidth value and service quality of each edge node according to a preset period, and feeds back the cost bandwidth value and service quality of the edge node to the edge node.
- data such as cost bandwidth value and service quality of each edge node according to a preset period
- the central server determines the cost bandwidth value and service quality of each edge node:
- an edge node may be configured to periodically update its own billing method, real-time bandwidth value, and quality parameters of multiple dimensions (for example, 4XX, 5XX, stall rate and other parameters) are reported to the central service platform.
- the central service platform calculates the cost bandwidth value and service quality of the edge node based on the data.
- the cost bandwidth value of the edge node may be calculated based on the charging mode of the edge node using a first preset algorithm corresponding to the charging mode.
- the service quality of the edge node can be calculated based on the quality parameter reported by the edge node using the second preset algorithm, wherein the first preset algorithm and the second preset algorithm can be set as required, and need not be limited to a certain one specific algorithm.
- the central service platform may first perform weighting processing on the quality parameters of each dimension according to the weights corresponding to the quality parameters of each dimension, and then perform weighting on the weighted quality parameters.
- the summation process is performed, and the result of the summation process is used as the service quality of the edge node.
- the central server may also measure parameters such as 4XX, 5XX, and stall rate by periodically sending test data to edge nodes, and then calculate based on these parameters. Obtain the service quality of the edge node.
- the billing method and real-time bandwidth value of the edge node can also be obtained from the edge node by periodically sending request messages, and then the cost bandwidth value of the edge node can be calculated based on the obtained billing method. Based on the obtained real-time bandwidth value and cost bandwidth value, the bandwidth margin of the edge node is calculated.
- the embodiments of the present disclosure exemplarily integrate the computing capabilities of cost bandwidth value and service quality on the central service platform, and in other embodiments, if the computing power of edge nodes is not considered pressure, the computing power can also be integrated on the edge node, that is, the edge node regularly calculates its own cost bandwidth value and service quality, and reports the calculated cost bandwidth value and service quality to the central service platform for storage.
- the method for the node to calculate the cost bandwidth value and the quality of service is similar to the above method, and will not be repeated here.
- the service scheduling method of this embodiment can be described as follows:
- the client first sends a service request to the local DNS, and the service request includes the client's IP address and the requested service type.
- the local DNS obtains the address of the central dispatching device from the DNS dedicated to the CDN, and feeds the address back to the client.
- the client sends a service request to the central dispatching device based on the address.
- the central dispatching device determines the IP address of the client and the requested service type.
- the address of the edge node 1 ie, the first edge node
- the client sends a service request to the edge node 1 according to the address of the edge node 1.
- the edge node 1 judges whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value. Among them, there are various methods for judging whether rescheduling is required according to the current bandwidth value and cost bandwidth value. For example, in a feasible judgment method, edge node 1 can compare its current bandwidth value with its current cost bandwidth value. , if its current bandwidth value is greater than or equal to its current cost bandwidth value, that is, its current bandwidth value has exceeded the optimal cost bandwidth value, it is determined that the client's service request needs to be rescheduled.
- the difference between the current cost bandwidth value and the current actual bandwidth value of the user can be obtained to obtain the bandwidth margin, and then the calculated bandwidth margin can be compared with the preset value. If the calculated bandwidth margin is less than the first bandwidth threshold, it is determined that the service request of the client needs to be rescheduled, otherwise it is determined that rescheduling is not required.
- this judgment method by setting the first bandwidth threshold, it can be ensured that the edge node will not cause the bandwidth to exceed the cost bandwidth value due to processing the service request of the client, thereby realizing fine control of the cost. It should be noted that the above two judging methods are only exemplary descriptions, rather than unique limitations. In fact, the methods for judging whether rescheduling is required based on the bandwidth value and the cost bandwidth value can be set as required.
- the edge node 1 if the client's service request needs to be rescheduled, the edge node 1 will carry the client's IP address and the service type requested by the client in the request message, and request the central service platform for other edge nodes in the CDN. Bandwidth margin and quality of service.
- the central service platform can process at least one of the following processing methods:
- edge nodes that are in the same area as the client and match the service type requested by the client are selected from the CDN according to the client's IP address and the requested service type. Then, the bandwidth margin and service quality of at least one edge node (ie, at least one second edge node) among these edge nodes are fed back to edge node 1 .
- the edge node that matches the service type requested by the client for example, can be understood as an edge node that can support the service type.
- the central service platform selects the edge nodes that are in the same area as the client and matches the service type requested by the client from all the edge nodes, and then compares the bandwidth margin and the bandwidth margin among these edge nodes.
- the bandwidth margin and service quality of at least one edge node (ie, at least one second edge node) whose service quality is greater than the preset value are fed back to edge node 1 .
- the processing is performed according to the first processing method.
- the edge node 1 can at least use one of the following methods to reschedule the service request of the client :
- edge node 1 After requesting bandwidth headroom and service quality from at least one second edge node, edge node 1 first determines from these second edge nodes that the bandwidth headroom is greater than or equal to a second bandwidth threshold, and the service The edge nodes whose quality is greater than or equal to the quality threshold corresponding to the service type requested by the client, then request the addresses of these edge nodes from the central scheduling device, and feed back the addresses of these edge nodes to the client, so that the client can send these Edge nodes send service requests.
- the edge node 1 may first determine from the requested at least one second edge node that the bandwidth margin is greater than or equal to is equal to the second bandwidth threshold, and the second edge node whose service quality is greater than or equal to the quality threshold corresponding to the service type requested by the client is regarded as a candidate edge node; then the service quality and bandwidth margin of each candidate edge node are weighted to calculate and processing, and use the candidate edge node whose weighted summation result is greater than the second preset threshold as the target edge node, request the address of the target edge node from the central scheduling device, and feed back the address of the target edge node to the client, so that the client The service request of the terminal is rescheduled to the target edge node.
- scheduling methods in this embodiment are not limited to the above two, but can be set as required.
- any service rescheduling method that can be implemented based on the bandwidth margin and/or service quality of the edge node can be applied to the solutions of the embodiments of the present disclosure.
- the embodiment of the present disclosure regularly determines the service quality and cost bandwidth value of each edge node in the CDN through the central service platform.
- the first edge node in the CDN receives the service request from the client, the first edge node judges whether the service request needs to be rescheduled at least according to its current bandwidth value and cost bandwidth value, and when judging that rescheduling is necessary, Based on the IP address and service type carried in the service request, request from the central service platform at least one second edge node that belongs to the same area as the client and matches the service type requested by the client for the bandwidth margin and service quality of the second edge node.
- the service request is rescheduled to one or more of the second edge nodes according to the requested bandwidth margin and service quality of the at least one second edge node.
- the first edge node in the embodiment of the present disclosure does not acquiesce by itself after receiving the service request from the client.
- it will judge whether it needs to be rescheduled according to its current actual bandwidth and its own cost bandwidth.
- it will request the central service platform for at least one second edge node. and service quality, and reschedules the service request to other edge nodes according to the requested margin and service quality of the at least one second edge node.
- This scheduling method not only meets the service scheduling requirements of the CDN, but also takes into account the cost and service quality of each edge node in the CDN, thereby realizing the refined control of the CDN cost and ensuring the service quality of the CDN.
- FIG. 3 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure. As shown in FIG. 3 , the method includes:
- Step 301 the first edge node in the CDN receives the service request of the client, and the service request includes the service type and the IP address of the client:
- Step 302 The first edge node determines a bandwidth value after a preset time based on its own current bandwidth value and its own bandwidth change trend obtained in advance.
- the bandwidth change trend of the edge node can be obtained by the edge node itself.
- the edge node in the CDN can be configured to collect its own real-time bandwidth value every preset time period, and then periodically A real-time bandwidth value is statistically processed to obtain the real-time bandwidth variation trend of edge nodes. After the first edge node receives the service request from the client, it predicts and obtains the bandwidth value after the preset time according to the newly obtained bandwidth change trend and its own current bandwidth value.
- Step 303 The first edge node judges whether the bandwidth value after the preset time is greater than or equal to its current cost bandwidth value, and if so, executes step 304.
- the cost bandwidth of the first edge node is 10GB, and based on the pre-obtained bandwidth change trend, it is predicted that the bandwidth of the first edge node may reach 12GB after 1 second. Then, the first edge node will The client's service request is rescheduled.
- Step 304 Based on the IP address and the service type in the service request, the first edge node requests the central service platform for the bandwidth margin of at least one second edge node that belongs to the same area as the client and matches the service type requested by the client. and business quality.
- Step 305 The first edge node reschedules the service request of the client to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node obtained by the request.
- This embodiment predicts the bandwidth value of the first edge node after a preset time according to the bandwidth change trend of the first edge node and the current bandwidth value of the first edge node, and determines whether rescheduling is required according to the prediction result, which can prevent The bandwidth value of the first edge node exceeds the cost bandwidth value, thereby realizing the refined control of the cost.
- FIG. 4 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure. As shown in FIG. 4 , the method includes:
- Step 401 A first edge node in the CDN receives a service request from a client, where the service request includes a service type and an IP address of the client.
- Step 402 The first edge node judges whether the service request needs to be rescheduled according to its current bandwidth value, cost bandwidth value and service quality, wherein, if yes, step 403 is executed.
- the first edge node can determine whether it is necessary to reschedule the service request of the client in various ways:
- the first edge node may first calculate the current bandwidth margin according to its current cost bandwidth value and its own current bandwidth value, and then compare its current bandwidth margin with the preset No. A bandwidth threshold is compared, and its current service quality is compared with the quality threshold corresponding to the service type requested by the client. If its current bandwidth margin is less than the first bandwidth threshold, and its current service quality is less than the quality threshold, it is determined that the client's service request needs to be rescheduled, otherwise it is determined that rescheduling is not required.
- the first edge node after calculating the current bandwidth margin of the first edge node, can also determine the current bandwidth margin for itself according to the weight corresponding to the preset bandwidth margin and the weight corresponding to the quality of service.
- the current bandwidth headroom and service quality are weighted, and then the weighted bandwidth headroom and the weighted service quality are summed. If the summation result is less than the preset threshold, it is judged that rescheduling needs to be performed. Judgment does not require rescheduling.
- Step 403 Based on the IP address and the service type in the service request, the first edge node requests the central service platform for the bandwidth margin of at least one second edge node that belongs to the same area as the client and matches the service type requested by the client. and business quality.
- Step 404 The first edge node reschedules the service request of the client to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node obtained by the request.
- the first edge node judges whether it needs to reschedule the service request of the client according to its current bandwidth value, cost bandwidth value, and service quality, which can take into account both cost and service quality, and realizes fine control of cost. Guaranteed business quality.
- the method of the first edge node after judging that rescheduling is necessary can also be performed by the client, that is, the first edge node will feedback to the client after judging that rescheduling is necessary.
- a notification message After receiving the notification message, the client obtains the bandwidth headroom and service quality of at least one second edge node from the central service platform, and then obtains the bandwidth headroom and service quality of the second edge node according to the obtained bandwidth headroom and service quality.
- the service request is rescheduled to one or more second edge nodes, and the execution manner and intentional effect thereof are similar to those of the above-mentioned embodiment, and will not be repeated here.
- FIG. 5 is a schematic structural diagram of a service scheduling apparatus provided by an embodiment of the present disclosure.
- the service scheduling apparatus can be exemplarily understood as the first edge node in the above-mentioned embodiment or a part of functional modules in the first edge node.
- the service scheduling device 50 includes:
- the receiving module 51 is configured to receive the service request of the client, and the service request includes the service type and the IP address of the client;
- the judgment module 52 is configured to judge whether the service request needs to be rescheduled according to at least the current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node;
- the request module 53 is configured to, when judging that rescheduling is required, request the central service platform based on the IP address and the business type to request at least one of the same area as the client and matching the business type.
- Bandwidth headroom and service quality of the second edge node wherein the bandwidth headroom refers to the difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node;
- the execution module 54 is configured to reschedule the service request to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node.
- the judging module 52 includes:
- a first judgment submodule configured to judge the size between the current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node
- the second judging submodule is configured to judge that the service request needs to be rescheduled when the current bandwidth value of the first edge node is greater than or equal to the current cost bandwidth value of the first edge node.
- the judging module 52 includes:
- a first determining submodule configured to determine the bandwidth value of the first edge node after a preset time based on the current bandwidth value of the first edge node and the pre-obtained bandwidth variation trend of the first edge node;
- a third judging submodule configured to judge the size between the bandwidth value of the first edge node after a preset time and the current cost bandwidth value of the first edge node
- the fourth judging submodule is configured to judge that rescheduling is required when the bandwidth value of the first edge node after the preset time is greater than or equal to the current cost bandwidth value of the first edge node.
- the judgment module 52 is further configured to: according to the current bandwidth value, cost bandwidth value and service quality of the first edge node, judge whether the service request needs to be rescheduled.
- the judging module 52 includes:
- the second determination submodule is configured to determine the current bandwidth margin of the first edge node according to the current bandwidth value and cost bandwidth value of the first edge node;
- the fifth judging sub-module is configured to judge whether the current bandwidth margin of the first edge node is less than the first bandwidth threshold, and whether the current service quality of the first edge node is less than the quality threshold corresponding to the service type, if so, judge that the need The service request is rescheduled.
- the execution module 54 includes:
- the first execution sub-module is configured to reschedule the service request according to the bandwidth headroom and service quality of the at least one second edge node so that the bandwidth headroom is greater than or equal to the second bandwidth threshold, and the service quality is greater than or equal to the specified bandwidth. on the second edge node with the quality threshold corresponding to the service type.
- the execution module 54 further includes:
- a first processing submodule configured to not include a second edge node whose bandwidth margin is greater than or equal to the second bandwidth threshold and whose service quality is greater than or equal to the quality threshold in the at least one second edge node , respectively perform weighted summation processing on the service quality and bandwidth margin of each second edge node, and obtain the weighted summation result corresponding to each second edge node;
- the second execution submodule is configured to reschedule the service request to the second edge node whose weighted sum result is higher than the first preset threshold.
- the execution module 54 includes:
- a third determining submodule configured to determine, from the at least one second edge node, a second edge node whose bandwidth margin is greater than or equal to a second bandwidth threshold, and whose service quality is greater than or equal to the quality threshold corresponding to the service type, as a candidate edge node;
- the second processing submodule is set to carry out weighted summation processing to the quality of service of each candidate edge node and the bandwidth margin respectively, and the candidate edge node whose weighted summation result is greater than the second preset threshold is used as the target edge node;
- the third execution submodule is configured to reschedule the service request to the target edge node.
- the apparatus provided in this embodiment can execute the method in any of the foregoing embodiments in FIG. 1 to FIG. 4 , and the execution manner and beneficial effects thereof are similar, which will not be repeated here.
- FIG. 6 is a schematic structural diagram of an edge node provided by an embodiment of the present disclosure.
- the edge node 1600 includes a processor 1601 and a memory 1602 .
- Processor 1601 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and/or instruction execution capabilities, and may control other components in edge node 1600 to perform desired functions.
- CPU central processing unit
- Processor 1601 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and/or instruction execution capabilities, and may control other components in edge node 1600 to perform desired functions.
- Memory 1602 may be various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and/or cache memory, among others. Non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like.
- RAM random access memory
- ROM read only memory
- a computer program is stored in the memory 1602. When the computer program is executed by the processor 1601, the processor 1601 executes the method of any of the above-mentioned embodiments in FIG. 1 to FIG. 4 .
- the edge node 1600 may further include a receiving device 1603 and a sending device 1604, these components being interconnected by a bus system and/or other form of connection mechanism (not shown).
- the receiving means 1603 may receive data or information sent by a client in the CDN, a central service platform, a central scheduling device, and other devices.
- the sending means 1604 may send data or information to a client in the CDN, a central service platform, a central scheduling device, and other devices.
- edge node 1600 may also include any other components.
- An embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by the processor, the processor can execute any one of the foregoing implementations in FIG. 1 to FIG. 4 . example method.
- the service scheduling method provided by the present disclosure not only satisfies the service scheduling requirements of CDN, but also takes into account the cost and service quality of each edge node in the CDN, thereby realizing the refined control of the CDN cost, ensuring the service quality of the CDN, and having high performance. Strong industrial applicability.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present disclosure relates to a service scheduling method and apparatus, a device, and a storage medium. The method comprises: after receiving a service request of a client, a first edge node in a CDN determining, at least according to the current bandwidth value thereof and a cost bandwidth value thereof, whether the service request needs to be re-scheduled; when re-scheduling is required, requesting, from a central service platform, the remaining bandwidth and the quality of service of at least one second edge node on the basis of an IP address and a service type that are carried in the service request; and re-scheduling the service request onto one or more second edge nodes according to the requested remaining bandwidth and quality of service of the at least one second edge node. By means of the method provided in embodiments of the present disclosure, refined control over a CDN cost can be realized, and the quality of service can be improved.
Description
本公开要求2021年2月2日提交的申请号为202110143761.2、发明名称为“业务调度方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application with the application number 202110143761.2 filed on February 2, 2021 and the invention title is "service scheduling method, apparatus, device and storage medium", the entire contents of which are incorporated in this disclosure by reference.
本公开实施例涉及CDN技术领域,尤其涉及一种业务调度方法、装置、设备及存储介质。The embodiments of the present disclosure relate to the field of CDN technologies, and in particular, to a service scheduling method, apparatus, device, and storage medium.
在内容分发网络(Content Delivery Network,简称CDN)中,中心调度设备可以调度距离用户距离较近的边缘节点为用户提供服务。但是不同的调度方式对CDN业务的质量和成本有不同的影响,因此,如何在调度过程中兼顾CDN业务的质量和/或成本是本领域技术人员需要解决的技术问题。In a Content Delivery Network (CDN), the central scheduling device can schedule edge nodes that are closer to users to provide services to users. However, different scheduling methods have different effects on the quality and cost of CDN services. Therefore, how to take into account the quality and/or cost of CDN services in the scheduling process is a technical problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
(一)要解决的技术问题(1) Technical problems to be solved
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种业务调度方法、装置、设备及存储介质。In order to solve the above technical problem or at least partially solve the above technical problem, the embodiments of the present disclosure provide a service scheduling method, apparatus, device, and storage medium.
(二)技术方案(2) Technical solutions
本公开实施例的第一方面提供了一种业务调度方法,该方法适用于一种内容分发网络(Content Delivery Network,简称CDN),所述CDN中包括用于定期确定所述CDN中各边缘节点的业务质量和成本带宽值的中心服务平台,所述成本带宽值是指所述边缘节点成本最优时的带宽值,该方法包括所述CDN中的第一边缘节点接收客户端的业务请求,所述业务请求中包括业务类型和所述客户端的IP地址;至少根据自身当前的带宽值和成本带宽值,判断是否需要对业务请求进行重新调度;若是,则基于所述IP地址和所述业务类型向所述中心服务平台请求与所述客户端同属一个区域,且与所述业务类型相匹配的至少一个第二边缘节点 的带宽余量和业务质量,其中,所述带宽余量是指所述第二边缘节点的成本带宽值与所述第二边缘节点当前的带宽值之间的差值;根据所述至少一个第二边缘节点的带宽余量和业务质量,将业务请求重新调度到一个或多个第二边缘节点上。A first aspect of the embodiments of the present disclosure provides a service scheduling method, which is applicable to a content delivery network (Content Delivery Network, CDN for short), wherein the CDN includes a method for periodically determining each edge node in the CDN The service quality and cost bandwidth value of the central service platform, the cost bandwidth value refers to the bandwidth value when the cost of the edge node is optimal, the method includes the first edge node in the CDN receiving the service request of the client, so The service request includes the service type and the IP address of the client; at least according to its current bandwidth value and cost bandwidth value, determine whether the service request needs to be rescheduled; if so, based on the IP address and the service type Request from the central service platform the bandwidth margin and service quality of at least one second edge node that belongs to the same area as the client and matches the service type, wherein the bandwidth margin refers to the The difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node; according to the bandwidth margin and service quality of the at least one second edge node, reschedule the service request to one or more on multiple second edge nodes.
本公开实施例的第二方面提供了一种业务调度装置,所述业务调度装置设置在CDN的第一边缘节点中,所述CDN中包括用于定期确定所述CDN中各边缘节点的业务质量和成本带宽值的中心服务平台,所述业务调度装置包括:接收模块,用于接收客户端的业务请求,所述业务请求中包括业务类型和所述客户端的IP地址;判断模块,用于至少根据所述第一边缘节点当前的带宽值和所述第一边缘节点当前的成本带宽值,判断是否需要对所述业务请求进行重新调度;请求模块,用于在判断需要对所述业务请求进行重新调度时,基于所述IP地址和所述业务类型向所述中心服务平台请求与所述客户端同属一个区域,且与所述业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量,其中,所述带宽余量是指所述第二边缘节点的成本带宽值与所述第二边缘节点当前的带宽值之间的差值;执行模块,根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到一个或多个第二边缘节点上。A second aspect of the embodiments of the present disclosure provides a service scheduling apparatus, the service scheduling apparatus is set in a first edge node of a CDN, and the CDN includes a device for periodically determining the service quality of each edge node in the CDN and a central service platform for cost bandwidth value, the service scheduling device includes: a receiving module for receiving a service request from a client, the service request including the service type and the IP address of the client; a judging module for at least according to The current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node are used to determine whether the service request needs to be rescheduled; the request module is used to determine whether the service request needs to be rescheduled. During scheduling, based on the IP address and the service type, request the central service platform for the bandwidth margin and service of at least one second edge node that belongs to the same area as the client and matches the service type. quality, wherein the bandwidth margin refers to the difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node; the execution module, according to the at least one second edge node the bandwidth margin and service quality, and reschedule the service request to one or more second edge nodes.
本公开实施例的第三方面提供了一种边缘节点,包括存储器和处理器,其中,所述存储器中包括计算机程序,当所述计算机程序被所述处理器执行时,所述处理器可以执行上述第一方面所述的方法。A third aspect of the embodiments of the present disclosure provides an edge node, including a memory and a processor, wherein the memory includes a computer program, and when the computer program is executed by the processor, the processor can execute The method described in the first aspect above.
本公开实施例的第四方面提供了一种计算机可读存储介质,该存储介质中存储有计算机程序,当所述计算机程序被处理器执行时,使得所述处理器执行上述第一方面所述的方法。A fourth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the processor causes the processor to execute the above-mentioned first aspect. Methods.
本公开实施例提供的上述技术方案与相关技术相比具有如下优点:Compared with the related art, the above technical solutions provided by the embodiments of the present disclosure have the following advantages:
本公开实施例通过中心服务平台定期确定CDN中各边缘节点的业务质量和成本带宽值。当CDN中的第一边缘节点接收到客户端的业务请求时,使得第一边缘节点至少根据自身当前的带宽值和成本带宽值判断是否需要对业务请求进行重新调度,并在判断需要重新调度时,基于业务请求中携带的IP地址和业务类型向中心服务平台请求至少一个与客户端同属一个区域,且与客户端请求的业务类型相匹配的第二边缘节点的带宽余量和业务质量,然后再根据请求到的至少一个第二边缘节点的带宽余量和业务质量,将业务请求重新调度到其中的一个或多个 第二边缘节点上。与相关技术提供的中央302调度方式和域名系统(Domain Name System,简称DNS)调度方式不同的是,本公开实施例中的第一边缘节点在接收到客户端的业务请求之后,并不是默认由自身来处理该业务请求,而是会根据自身当前的实际带宽和自身的成本带宽来判断是否需要进行重新调度,当判断需要重新调度时,再向中心服务平台请求至少一个第二边缘节点的带宽余量和业务质量,并根据请求到的至少一个第二边缘节点的宽余量和业务质量将业务请求重新调度到其他边缘节点上。这种调度方式不但满足了CDN的业务调度要求,还兼顾了CDN中各边缘节点的成本和业务质量,从而实现了CDN成本的精细化控制,保证了CDN的服务质量。The embodiment of the present disclosure regularly determines the service quality and cost bandwidth value of each edge node in the CDN through the central service platform. When the first edge node in the CDN receives the service request from the client, the first edge node judges whether the service request needs to be rescheduled at least according to its current bandwidth value and cost bandwidth value, and when judging that rescheduling is necessary, Based on the IP address and service type carried in the service request, request from the central service platform at least one second edge node that belongs to the same area as the client and matches the service type requested by the client for the bandwidth margin and service quality of the second edge node. According to the requested bandwidth margin and service quality of the at least one second edge node, the service request is rescheduled to one or more of the second edge nodes. Different from the central 302 scheduling method and the Domain Name System (Domain Name System, DNS for short) scheduling method provided by the related art, the first edge node in the embodiment of the present disclosure does not acquiesce by itself after receiving the service request from the client. To process the service request, it will judge whether it needs to be rescheduled according to its current actual bandwidth and its own cost bandwidth. When it is judged that it needs to be rescheduled, it will request the central service platform for at least one second edge node. and service quality, and reschedules the service request to other edge nodes according to the requested margin and service quality of the at least one second edge node. This scheduling method not only meets the service scheduling requirements of the CDN, but also takes into account the cost and service quality of each edge node in the CDN, thereby realizing the refined control of the CDN cost and ensuring the service quality of the CDN.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the accompanying drawings required for describing the embodiments or related technologies will be briefly introduced below. Obviously, for those skilled in the art, On the premise of no creative labor, other drawings can also be obtained from these drawings.
图1是本公开实施例提供的一种业务调度方法的流程图;1 is a flowchart of a service scheduling method provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种CDN的网络架构图;FIG. 2 is a network architecture diagram of a CDN provided by an embodiment of the present disclosure;
图3是本公开实施例提供的另一种业务调度方法的流程图;3 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure;
图4是本公开实施例提供的又一种业务调度方法的流程图;4 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种业务调度装置的结构示意图;5 is a schematic structural diagram of a service scheduling apparatus provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种边缘节点的结构示意图。FIG. 6 is a schematic structural diagram of an edge node provided by an embodiment of the present disclosure.
为使本公开实施例的目的、技术方案和优点更加清楚,下面将对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的 范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than All examples. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present disclosure.
为了方便理解,下面首先对本公开实施例中涉及到的部分专业术语进行解释:For the convenience of understanding, some professional terms involved in the embodiments of the present disclosure will be explained below first:
边缘节点:边缘节点指在靠近用户的网络边缘侧构建的业务平台,用于向用户提供存储、计算、网络等资源。Edge node: An edge node refers to a business platform built on the edge side of the network close to users to provide users with resources such as storage, computing, and networks.
成本带宽值,边缘节点的成本带宽值是指边缘节点取得最优成本时的带宽值。成本带宽值与边缘节点的计费方式相关,在计费方式确定时边缘节点的成本带宽值可以基于计费方式计算得到,成本带宽值的计算方法可以参见相关技术,这里不再赘述。Cost bandwidth value, the cost bandwidth value of the edge node refers to the bandwidth value when the edge node obtains the optimal cost. The cost bandwidth value is related to the charging mode of the edge node. When the charging mode is determined, the cost bandwidth value of the edge node can be calculated based on the charging mode. For the calculation method of the cost bandwidth value, refer to the related art, which will not be repeated here.
带宽余量,边缘节点的带宽余量是指边缘节点的成本带宽值与边缘节点的实际带宽值之间的差值。Bandwidth margin, the bandwidth margin of the edge node refers to the difference between the cost bandwidth value of the edge node and the actual bandwidth value of the edge node.
在相关技术中,CDN的业务调度方式主要包括如下两种,In the related art, the service scheduling methods of CDN mainly include the following two:
一、DNS调度方式1. DNS scheduling method
在DNS调度方式中,客户端的业务请求首先会发送给本地DNS系统。本地DNS系统根据该业务请求向CDN的中心调度设备请求用于处理该业务请求的边缘节点的地址,并将该边缘节点的地址反馈给客户端。客户端接收到该边缘节点的地址后,向该边缘节点发起业务请求,以使该边缘节点为客户端提供业务服务。In the DNS scheduling mode, the client's service request is first sent to the local DNS system. According to the service request, the local DNS system requests the central scheduling device of the CDN for the address of the edge node for processing the service request, and feeds back the address of the edge node to the client. After the client receives the address of the edge node, it initiates a service request to the edge node, so that the edge node provides a business service for the client.
但是在DNS调度方式中,经常会出现域名劫持、调度不准确或不及时等问题,这些问题对CDN的业务质量和成本带来了一定的不可控性。However, in the DNS scheduling method, there are often problems such as domain name hijacking, inaccurate or untimely scheduling, etc. These problems bring certain uncontrollability to the service quality and cost of CDN.
二、中央302调度方式2. Central 302 scheduling method
在中央302调度方式中,客户端的业务请求首先会发送给本地DNS系统,本地DNS系统根据该业务请求向CDN业务运营商专用的DNS系统请求中心调度设备的地址,然后将中心调度设备的地址反馈给客户端。客户端接收到中心调度设备的地址后,根据该地址向中心调度设备发送业务请求。中心调度设备接收到客户端的业务请之后,根据客户端的IP地址分配一个与客户端在同一区域的边缘节点来处理客户端的业务请求,并将该边缘节点的地址反馈给客户端,客户端向该边缘节点重新发起业务请求。In the central 302 scheduling mode, the client's service request is first sent to the local DNS system, and the local DNS system requests the address of the central scheduling device from the DNS system dedicated to the CDN service operator according to the service request, and then feeds back the address of the central scheduling device. to the client. After receiving the address of the central dispatching device, the client sends a service request to the central dispatching device according to the address. After receiving the client's service request, the central scheduling device allocates an edge node in the same area as the client according to the client's IP address to process the client's service request, and feeds back the address of the edge node to the client. The edge node re-initiates the service request.
在中央302调度方式中,业务调度缺乏对边缘节点的成本和业务质量的感知,存在无法精细化控制成本、不能保障服务质量的问题。并且中心调度设备在将客户端的业务调度到某个边缘节点上后,该边缘节点一般会默认由自身来为客户端来提供服务,而不会再次进行302调度,因而存在调度路径单一的问题。In the central 302 scheduling method, the service scheduling lacks the perception of the cost and service quality of edge nodes, and there are problems that the cost cannot be controlled in a refined manner and the service quality cannot be guaranteed. In addition, after the central scheduling device schedules the client's business to an edge node, the edge node will generally provide services for the client by itself by default, and will not perform 302 scheduling again, so there is a problem of a single scheduling path.
针对相关技术存在的上述问题,本公开实施例提供了一种可用于CDN的业务调度方案。该方案创新性的在CDN中设置了一种中心服务平台,该中心服务平台可以定期确定得到CDN中各边缘节点的业务质量和成本带宽值,并在CDN中的边缘节点需要重新调度业务请求(302调度)时,为边缘节点提供其他边缘节点的业务质量数据和带宽余量数据,使得边缘节点可以根据其他边缘节点的业务质量和带宽余量,将业务请求重新调度到其他的一个或多个边缘节点上。In view of the above problems existing in the related art, the embodiments of the present disclosure provide a service scheduling solution applicable to CDN. This solution innovatively sets up a central service platform in the CDN. The central service platform can periodically determine the service quality and cost bandwidth value of each edge node in the CDN, and the edge nodes in the CDN need to reschedule service requests ( 302 scheduling), provide the edge node with the service quality data and bandwidth margin data of other edge nodes, so that the edge node can reschedule the service request to one or more other edge nodes according to the service quality and bandwidth margin of other edge nodes. on edge nodes.
示例的,图1是本公开实施例提供的一种业务调度方法的流程图,如图1所示,该方法可以包括如下步骤:Illustratively, FIG. 1 is a flowchart of a service scheduling method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method may include the following steps:
步骤101、CDN中的第一边缘节点接收客户端的业务请求,该业务请求中包括业务类型和客户端的IP地址。Step 101: A first edge node in the CDN receives a service request from a client, where the service request includes a service type and an IP address of the client.
步骤102、第一边缘节点至少根据自身当前的带宽值和成本带宽值,判断是否需要对业务请求进行重新调度,其中若是则执行步骤103。Step 102: The first edge node determines whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value, and if so, step 103 is performed.
步骤103、第一边缘节点基于业务请求中的IP地址和业务类型向中心服务平台请求与客户端同属一个区域,且与客户端请求的业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量。Step 103: Based on the IP address and the service type in the service request, the first edge node requests the central service platform for the bandwidth margin of at least one second edge node that belongs to the same area as the client and matches the service type requested by the client. and business quality.
步骤104、第一边缘节点根据请求获得的至少一个第二边缘节点的带宽余量和业务质量,将客户端的业务请求重新调度到一个或多个第二边缘节点上。Step 104: The first edge node reschedules the service request of the client to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node obtained by the request.
本实施例中对于“第一边缘节点”和“第二边缘节点”的命名仅是为了便于区分而不具有其他含义。The names of "first edge node" and "second edge node" in this embodiment are only for convenience of distinction and have no other meaning.
示例的,图2是本公开实施例提供的一种CDN的网络架构图,如图2所示,在图2的CDN网络架构中至少包括客户端、本地DNS、CDN专用的DNS、中心调度设备、中心服务平台和N个边缘节点,N为大于1的整数。其中,N个边缘节点的计费方式可以相同也可以不同,并且各边缘节点的计费方式并非固定不变,而是可以根据需要进行调整,比如在不同的时段采用不同的计费方式等。By way of example, FIG. 2 is a network architecture diagram of a CDN provided by an embodiment of the present disclosure. As shown in FIG. 2 , the CDN network architecture of FIG. 2 at least includes a client, a local DNS, a DNS dedicated to the CDN, and a central scheduling device. , a central service platform and N edge nodes, where N is an integer greater than 1. Among them, the charging methods of the N edge nodes may be the same or different, and the charging methods of each edge node are not fixed, but can be adjusted according to needs, such as using different charging methods in different time periods.
在本公开实施例中,中心服务平台按照预设的周期确定各边缘节点成本带宽值和业务质量等数据,并将边缘节点的成本带宽值和业务质量反馈给边缘节点。其中,中心服务器确定各边缘节点成本带宽值和业务质量的方法可以有多种:In the embodiment of the present disclosure, the central service platform determines data such as cost bandwidth value and service quality of each edge node according to a preset period, and feeds back the cost bandwidth value and service quality of the edge node to the edge node. There are various methods for the central server to determine the cost bandwidth value and service quality of each edge node:
比如,在一种实施方式中,边缘节点可以被配置为定期将自身的计费方式、实时带宽值,以及多个维度的质量参数(比如,边缘节点在预设时间端内收集到的4XX、5XX、卡顿率等参数)上报给中心服务平台,中心服务平台在收到这些数 据后,基于这些数据分别计算得到边缘节点的成本带宽值和业务质量。其中,边缘节点的成本带宽值,可以基于边缘节点的计费方式,采用与该计费方式相对应的第一预设算法计算得到。边缘节点的业务质量可以基于边缘节点上报的质量参数,采用第二预设算法计算得到,其中,第一预设算法和第二预设算法可以根据需要进行设定,而不必局限于某一种特定的算法。例如,当第二预设算法被具体为加权求和算法时,中心服务平台可以先根据各维度质量参数对应的权值,对各维度的质量参数进行加权处理,然后再对加权后的质量参数进行求和处理,并将求和处理的结果作为边缘节点的业务质量。For example, in one embodiment, an edge node may be configured to periodically update its own billing method, real-time bandwidth value, and quality parameters of multiple dimensions (for example, 4XX, 5XX, stall rate and other parameters) are reported to the central service platform. After receiving the data, the central service platform calculates the cost bandwidth value and service quality of the edge node based on the data. Wherein, the cost bandwidth value of the edge node may be calculated based on the charging mode of the edge node using a first preset algorithm corresponding to the charging mode. The service quality of the edge node can be calculated based on the quality parameter reported by the edge node using the second preset algorithm, wherein the first preset algorithm and the second preset algorithm can be set as required, and need not be limited to a certain one specific algorithm. For example, when the second preset algorithm is specifically a weighted summation algorithm, the central service platform may first perform weighting processing on the quality parameters of each dimension according to the weights corresponding to the quality parameters of each dimension, and then perform weighting on the weighted quality parameters. The summation process is performed, and the result of the summation process is used as the service quality of the edge node.
再比如,在本公开实施例的另一种实施方式中,中心服务器也可以通过定期向边缘节点发送测试数据的方式,测量得到诸如4XX、5XX、卡顿率等参数,然后再基于这些参数计算得到边缘节点的业务质量。与此类似的,边缘节点的计费方式和实时的带宽值也可以通过定期发送请求消息的方式,从边缘节点上获取得到,然后再基于得到的计费方式计算得到边缘节点的成本带宽值,基于得到的实时带宽值和成本带宽值计算得到边缘节点的带宽余量。For another example, in another implementation of the embodiment of the present disclosure, the central server may also measure parameters such as 4XX, 5XX, and stall rate by periodically sending test data to edge nodes, and then calculate based on these parameters. Obtain the service quality of the edge node. Similarly, the billing method and real-time bandwidth value of the edge node can also be obtained from the edge node by periodically sending request messages, and then the cost bandwidth value of the edge node can be calculated based on the obtained billing method. Based on the obtained real-time bandwidth value and cost bandwidth value, the bandwidth margin of the edge node is calculated.
需要说明的是本公开实施例为了减少边缘节点的计算压力,示例性的将成本带宽值和业务质量的计算能力集成在了中心服务平台上,而在其他实施方式中如果不考虑边缘节点的计算压力,也可以将该计算能力集成在边缘节点上,即由边缘节点定期计算自身的成本带宽值和业务质量,并将计算得到的成本带宽值和业务质量上报到中心服务平台进行存储,其中边缘节点计算成本带宽值和业务质量的方法与上述方法类似,在这里不在赘述。It should be noted that in order to reduce the computing pressure of edge nodes, the embodiments of the present disclosure exemplarily integrate the computing capabilities of cost bandwidth value and service quality on the central service platform, and in other embodiments, if the computing power of edge nodes is not considered pressure, the computing power can also be integrated on the edge node, that is, the edge node regularly calculates its own cost bandwidth value and service quality, and reports the calculated cost bandwidth value and service quality to the central service platform for storage. The method for the node to calculate the cost bandwidth value and the quality of service is similar to the above method, and will not be repeated here.
参见图2,基于上述中心服务平台定期得到的带宽余量数据和成本带宽值数据,本实施例的业务调度方法可以描述如下:Referring to FIG. 2 , based on the bandwidth margin data and cost bandwidth value data periodically obtained by the above-mentioned central service platform, the service scheduling method of this embodiment can be described as follows:
客户端先向本地DNS发送业务请求,业务请求中包括客户端的IP地址和请求的业务类型。本地DNS从CDN专用的DNS中获取中心调度设备的地址,并将该地址反馈给客户端,客户端基于该地址向中心调度设备发送业务请求,中心调度设备根据客户端的IP地址和请求的业务类型将支持该业务类型,且距离客户端距离最近的边缘节点1(即第一边缘节点)的地址反馈给客户端,客户端根据边缘节点1的地址向边缘节点1发送业务请求。The client first sends a service request to the local DNS, and the service request includes the client's IP address and the requested service type. The local DNS obtains the address of the central dispatching device from the DNS dedicated to the CDN, and feeds the address back to the client. The client sends a service request to the central dispatching device based on the address. The central dispatching device determines the IP address of the client and the requested service type. The address of the edge node 1 (ie, the first edge node) that supports the service type and is closest to the client is fed back to the client, and the client sends a service request to the edge node 1 according to the address of the edge node 1.
边缘节点1在接收到客户端的业务请求之后,至少根据自身当前的带宽值和成本带宽值,判断是否需要对该业务请求进行重新调度。其中,根据当前的带宽 值和成本带宽值判断是否需要重新调度的方法有多种,比如在一种可行判断方法中,边缘节点1可以将自身当前的带宽值和自身当前的成本带宽值进行比较,如果自身当前的带宽值大于或等于自身当前的成本带宽值,即自身当前的带宽值已经超出了最优成本的带宽值,则判断需要对客户端的业务请求进行重新调度。再比如,在另一种可行判断方法中,还可以先对自身当前的成本带宽值和自身当前的实际带宽值进行求差处理,得到带宽余量,然后将计算得到的带宽余量与预设的第一带宽阈值进行比较,如果计算得到的带宽余量小于第一带宽阈值,则判断需要对客户端的业务请求进行重新调度,否则判断不需要重新调度。这种判断方式通过对第一带宽阈值进行设置,可以保证边缘节点不会因为处理该客户端的业务请求而导致带宽超出成本带宽值,从而实现了对成本的精细控制。需要说明的是上述两种判断方法仅是示例性说明,而不是唯一限定,实际上基于带宽值和成本带宽值判断是否需要重新调度的方法可以根据需要进行设定。After receiving the service request from the client, the edge node 1 judges whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value. Among them, there are various methods for judging whether rescheduling is required according to the current bandwidth value and cost bandwidth value. For example, in a feasible judgment method, edge node 1 can compare its current bandwidth value with its current cost bandwidth value. , if its current bandwidth value is greater than or equal to its current cost bandwidth value, that is, its current bandwidth value has exceeded the optimal cost bandwidth value, it is determined that the client's service request needs to be rescheduled. For another example, in another feasible judgment method, the difference between the current cost bandwidth value and the current actual bandwidth value of the user can be obtained to obtain the bandwidth margin, and then the calculated bandwidth margin can be compared with the preset value. If the calculated bandwidth margin is less than the first bandwidth threshold, it is determined that the service request of the client needs to be rescheduled, otherwise it is determined that rescheduling is not required. In this judgment method, by setting the first bandwidth threshold, it can be ensured that the edge node will not cause the bandwidth to exceed the cost bandwidth value due to processing the service request of the client, thereby realizing fine control of the cost. It should be noted that the above two judging methods are only exemplary descriptions, rather than unique limitations. In fact, the methods for judging whether rescheduling is required based on the bandwidth value and the cost bandwidth value can be set as required.
在一些实施方式中,如果需要对客户端的业务请求进行重新调度,边缘节点1会将客户端的IP地址和客户端请求的业务类型携带在请求消息中,向中心服务平台请求CDN中其他边缘节点的带宽余量和业务质量。其中,中心服务平台在接收到边缘节点1的请求后,至少可以基于如下中的一种处理方式进行处理:In some embodiments, if the client's service request needs to be rescheduled, the edge node 1 will carry the client's IP address and the service type requested by the client in the request message, and request the central service platform for other edge nodes in the CDN. Bandwidth margin and quality of service. Wherein, after receiving the request from the edge node 1, the central service platform can process at least one of the following processing methods:
第一种处理方式,根据客户端的IP地址和请求的业务类型从CDN中筛选出与客户端在同一区域,且与客户端请求的业务类型相匹配的边缘节点。然后再将这些边缘节点中的至少一个边缘节点(即至少一个第二边缘节点)的带宽余量和业务质量反馈给边缘节点1。其中,与客户端请求的业务类型相匹配的边缘节点,比如可以理解为能够支持该业务类型的边缘节点。In the first processing method, edge nodes that are in the same area as the client and match the service type requested by the client are selected from the CDN according to the client's IP address and the requested service type. Then, the bandwidth margin and service quality of at least one edge node (ie, at least one second edge node) among these edge nodes are fed back to edge node 1 . The edge node that matches the service type requested by the client, for example, can be understood as an edge node that can support the service type.
第二种处理方式,中心服务平台在从所有的边缘节点中筛选出与客户端在同一区域,且与客户端请求的业务类型相匹配的边缘节点后,将这些边缘节点中,带宽余量和业务质量大于预设值的至少一个边缘节点(即至少一个第二边缘节点)的带宽余量和业务质量反馈给边缘节点1。而若是CDN中不存在带宽余量和业务质量大于预设值的边缘节点,则按照第一种处理方式进行处理。In the second processing method, the central service platform selects the edge nodes that are in the same area as the client and matches the service type requested by the client from all the edge nodes, and then compares the bandwidth margin and the bandwidth margin among these edge nodes. The bandwidth margin and service quality of at least one edge node (ie, at least one second edge node) whose service quality is greater than the preset value are fed back to edge node 1 . However, if there is no edge node in the CDN whose bandwidth margin and service quality are greater than the preset value, the processing is performed according to the first processing method.
在一些实施方式中,在从中心服务平台中请求到至少一个第二边缘节点的带宽余量和业务质量之后,边缘节点1至少可以采用如下中的一种方法来对客户端的业务请求进行重新调度:In some embodiments, after requesting the bandwidth margin and service quality of the at least one second edge node from the central service platform, the edge node 1 can at least use one of the following methods to reschedule the service request of the client :
在一种调度方法中,边缘节点1在请求到至少一个第二边缘节点的带宽余量 和业务质量后,先从这些第二边缘节点中确定出带宽余量大于或等于第二带宽阈值,业务质量大于或等于客户端请求的业务类型所对应的质量阈值的边缘节点,然后再从中心调度设备上请求这些边缘节点的地址,并将这些边缘节点的地址反馈给客户端,使得客户端向这些边缘节点发送业务请求。而若是请求到的第二边缘节点中不存在带宽余量大于或等于第二带宽阈值,且业务质量大于或等于客户端请求的业务类型所对应的质量阈值的边缘节点时,则通过对每个第二边缘节点的业务质量和带宽余量进行加权求和处理,得到每个第二边缘节点对应的加权求和结果,然后再向中心调度设备请求加权求和结果大于第一预设阈值的第二边缘节点的地址,并将请求到的地址发送给客户端,使得客户端根据这些地址重新发起业务请求。In a scheduling method, after requesting bandwidth headroom and service quality from at least one second edge node, edge node 1 first determines from these second edge nodes that the bandwidth headroom is greater than or equal to a second bandwidth threshold, and the service The edge nodes whose quality is greater than or equal to the quality threshold corresponding to the service type requested by the client, then request the addresses of these edge nodes from the central scheduling device, and feed back the addresses of these edge nodes to the client, so that the client can send these Edge nodes send service requests. However, if the requested second edge node does not have an edge node whose bandwidth margin is greater than or equal to the second bandwidth threshold and whose service quality is greater than or equal to the quality threshold corresponding to the service type requested by the client, the Perform weighted summation processing on the quality of service and bandwidth margin of the second edge node to obtain the weighted summation result corresponding to each second edge node, and then request the central scheduling device for the third edge whose weighted summation result is greater than the first preset threshold. address of the second edge node, and send the requested address to the client, so that the client re-initiates the service request according to these addresses.
在另一种调度方法中,边缘节点1在请求到至少一个第二边缘节点的带宽余量和业务质量后,还可以先从请求到的至少一个第二边缘节点中确定出带宽余量大于或等于第二带宽阈值,业务质量大于或等于客户端请求的业务类型对应的质量阈值的第二边缘节点,作为候选边缘节点;然后再对每个候选边缘节点的业务质量和带宽余量进行加权求和处理,并将加权求和结果大于第二预设阈值的候选边缘节点作为目标边缘节点,通过向中心调度设备请求目标边缘节点的地址,并将目标边缘节点的地址反馈给客户端,使得客户端的业务请求被重新调度到目标边缘节点上。In another scheduling method, after requesting the bandwidth margin and service quality of the at least one second edge node, the edge node 1 may first determine from the requested at least one second edge node that the bandwidth margin is greater than or equal to is equal to the second bandwidth threshold, and the second edge node whose service quality is greater than or equal to the quality threshold corresponding to the service type requested by the client is regarded as a candidate edge node; then the service quality and bandwidth margin of each candidate edge node are weighted to calculate and processing, and use the candidate edge node whose weighted summation result is greater than the second preset threshold as the target edge node, request the address of the target edge node from the central scheduling device, and feed back the address of the target edge node to the client, so that the client The service request of the terminal is rescheduled to the target edge node.
需要说明的是,上述虽然仅提供了两种调度方法,但是本实施例的调度方法并于局限于上述两种,而是可以根据需要进行设定。实际上凡是能够基于边缘节点的带宽余量和/或业务质量实现的业务重新调度方法均可被应用在本公开实施例的方案中。It should be noted that although only two scheduling methods are provided above, the scheduling methods in this embodiment are not limited to the above two, but can be set as required. In fact, any service rescheduling method that can be implemented based on the bandwidth margin and/or service quality of the edge node can be applied to the solutions of the embodiments of the present disclosure.
本公开实施例通过中心服务平台定期确定CDN中各边缘节点的业务质量和成本带宽值。当CDN中的第一边缘节点接收到客户端的业务请求时,使得第一边缘节点至少根据自身当前的带宽值和成本带宽值判断是否需要对业务请求进行重新调度,并在判断需要重新调度时,基于业务请求中携带的IP地址和业务类型向中心服务平台请求至少一个与客户端同属一个区域,且与客户端请求的业务类型相匹配的第二边缘节点的带宽余量和业务质量,然后再根据请求到的至少一个第二边缘节点带宽余量和业务质量,将业务请求重新调度到其中的一个或多个第二边缘节点上。与相关技术提供的中央302调度方式和域名系统(Domain Name System,简称DNS)调度方式不同的是,本公开实施例中的第一边缘节点在接收到客户端的业务请求之后,并不是默认由自身来处理该业务请求,而是会根据自身当前的实际带宽和自身的成本带宽来判断是否需要进行重新调度,当判断需要重新调度时,再向中心服务平台请求至少一个第二边缘节点的带宽余量和业务质量,并根据请求到的至少一个第二边缘节点的宽余量和业务质量将业务请求重新调度到其他边缘节点上。这种调度方式不但满足了CDN的业务调度要求,还兼顾了CDN中各边缘节点的成本和业务质量,从而实现了CDN成本的精细化控制,保证了CDN的服务质量。The embodiment of the present disclosure regularly determines the service quality and cost bandwidth value of each edge node in the CDN through the central service platform. When the first edge node in the CDN receives the service request from the client, the first edge node judges whether the service request needs to be rescheduled at least according to its current bandwidth value and cost bandwidth value, and when judging that rescheduling is necessary, Based on the IP address and service type carried in the service request, request from the central service platform at least one second edge node that belongs to the same area as the client and matches the service type requested by the client for the bandwidth margin and service quality of the second edge node. The service request is rescheduled to one or more of the second edge nodes according to the requested bandwidth margin and service quality of the at least one second edge node. Different from the central 302 scheduling method and the Domain Name System (Domain Name System, DNS for short) scheduling method provided by the related art, the first edge node in the embodiment of the present disclosure does not acquiesce by itself after receiving the service request from the client. To process the service request, it will judge whether it needs to be rescheduled according to its current actual bandwidth and its own cost bandwidth. When it is judged that it needs to be rescheduled, it will request the central service platform for at least one second edge node. and service quality, and reschedules the service request to other edge nodes according to the requested margin and service quality of the at least one second edge node. This scheduling method not only meets the service scheduling requirements of the CDN, but also takes into account the cost and service quality of each edge node in the CDN, thereby realizing the refined control of the CDN cost and ensuring the service quality of the CDN.
示例的,图3是本公开实施例提供的另一种业务调度方法的流程图,如图3所示,该方法包括:Illustratively, FIG. 3 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure. As shown in FIG. 3 , the method includes:
步骤301、CDN中的第一边缘节点接收客户端的业务请求,业务请求中包括业务类型和客户端的IP地址: Step 301, the first edge node in the CDN receives the service request of the client, and the service request includes the service type and the IP address of the client:
步骤302、第一边缘节点基于自身当前的带宽值和预先得到的自身的带宽变化趋势,确定预设时间后的带宽值。Step 302: The first edge node determines a bandwidth value after a preset time based on its own current bandwidth value and its own bandwidth change trend obtained in advance.
在本实施例中,边缘节点的带宽变化趋势可由边缘节点自身处理得到,比如可以配置CDN中的边缘节点每隔预设时长采集一次自身的实时带宽值,然后定期对一段时间内采集到的多个实时带宽值进行统计处理得到边缘节点实时的带宽变化趋势。当第一边缘节点接收到客户端的业务请求之后根据最新得到的带宽变化趋势和自身当前的带宽值来预测得到预设时间后的带宽值。In this embodiment, the bandwidth change trend of the edge node can be obtained by the edge node itself. For example, the edge node in the CDN can be configured to collect its own real-time bandwidth value every preset time period, and then periodically A real-time bandwidth value is statistically processed to obtain the real-time bandwidth variation trend of edge nodes. After the first edge node receives the service request from the client, it predicts and obtains the bandwidth value after the preset time according to the newly obtained bandwidth change trend and its own current bandwidth value.
步骤303、第一边缘节点判断预设时间后的带宽值是否大于或等于自身当前的成本带宽值,若是,则执行步骤304。Step 303: The first edge node judges whether the bandwidth value after the preset time is greater than or equal to its current cost bandwidth value, and if so, executes step 304.
举例来说,假设第一边缘节点的成本带宽值为10GB,基于预先得到的带宽变化趋势预测得到第一边缘节点在1秒后的带宽可能会达到12GB,那么,这时第一边缘节点会对客户端的业务请求进行重新调度。For example, assuming that the cost bandwidth of the first edge node is 10GB, and based on the pre-obtained bandwidth change trend, it is predicted that the bandwidth of the first edge node may reach 12GB after 1 second. Then, the first edge node will The client's service request is rescheduled.
步骤304、第一边缘节点基于业务请求中的IP地址和业务类型向中心服务平台请求与客户端同属一个区域,且与客户端请求的业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量。Step 304: Based on the IP address and the service type in the service request, the first edge node requests the central service platform for the bandwidth margin of at least one second edge node that belongs to the same area as the client and matches the service type requested by the client. and business quality.
步骤305、第一边缘节点根据请求获得的至少一个第二边缘节点的带宽余量和业务质量,将客户端的业务请求重新调度到一个或多个第二边缘节点上。Step 305: The first edge node reschedules the service request of the client to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node obtained by the request.
本实施例根据第一边缘节点的带宽变化趋势和第一边缘节点当前的带宽值 对第一边缘节点在预设时间后的带宽值进行预测,并根据预测结果判断是否需要进行重新调度,能够防止第一边缘节点客的带宽值超过成本带宽值,从而实现了对成本的精细化控制。This embodiment predicts the bandwidth value of the first edge node after a preset time according to the bandwidth change trend of the first edge node and the current bandwidth value of the first edge node, and determines whether rescheduling is required according to the prediction result, which can prevent The bandwidth value of the first edge node exceeds the cost bandwidth value, thereby realizing the refined control of the cost.
示例的,图4是本公开实施例提供的又一种业务调度方法的流程图,如图4所示,该方法包括:Exemplarily, FIG. 4 is a flowchart of another service scheduling method provided by an embodiment of the present disclosure. As shown in FIG. 4 , the method includes:
步骤401、CDN中的第一边缘节点接收客户端的业务请求,业务请求中包括业务类型和客户端的IP地址。Step 401: A first edge node in the CDN receives a service request from a client, where the service request includes a service type and an IP address of the client.
步骤402、第一边缘节点根据自身当前的带宽值、成本带宽值以及业务质量,判断是否需要对所述业务请求进行重新调度,其中,若是,则执行步骤403。Step 402: The first edge node judges whether the service request needs to be rescheduled according to its current bandwidth value, cost bandwidth value and service quality, wherein, if yes, step 403 is executed.
在本实施例中,第一边缘节点根据自身当前的带宽值、成本带宽值以及业务质量,判断是否需要对客户端的业务请求进行重新调度的方法可以有多种:In this embodiment, according to its current bandwidth value, cost bandwidth value, and service quality, the first edge node can determine whether it is necessary to reschedule the service request of the client in various ways:
比如,在一种实施方式中,第一边缘节点可以先根据自身当前的成本带宽值和自身当前的带宽值,计算得到当前的带宽余量,然后将自身当前的带宽余量与预设的第一带宽阈值进行比较,将自身当前的业务质量与客户端请求的业务类型相对应的质量阈值进行比较。如果自身当前的带宽余量小于第一带宽阈值,且自身当前的业务质量小于所述质量阈值,则判断需要对客户端的业务请求进行重新调度,否则判断不需要重新调度。For example, in one embodiment, the first edge node may first calculate the current bandwidth margin according to its current cost bandwidth value and its own current bandwidth value, and then compare its current bandwidth margin with the preset No. A bandwidth threshold is compared, and its current service quality is compared with the quality threshold corresponding to the service type requested by the client. If its current bandwidth margin is less than the first bandwidth threshold, and its current service quality is less than the quality threshold, it is determined that the client's service request needs to be rescheduled, otherwise it is determined that rescheduling is not required.
再比如,在另一种实施方式中,第一边缘节点在计算得到的自身当前的带宽余量后,还可以根据预先设定的带宽余量对应的权值和业务质量对应的权值对自身当前的带宽余量和业务质量进行加权处理,然后,将加权后的带宽余量和加权后的业务质量进行求和处理,若求和结果小于预设的阈值,则判断需要进行重新调度,否则判断不需要重新调度。For another example, in another implementation manner, after calculating the current bandwidth margin of the first edge node, the first edge node can also determine the current bandwidth margin for itself according to the weight corresponding to the preset bandwidth margin and the weight corresponding to the quality of service. The current bandwidth headroom and service quality are weighted, and then the weighted bandwidth headroom and the weighted service quality are summed. If the summation result is less than the preset threshold, it is judged that rescheduling needs to be performed. Judgment does not require rescheduling.
本领域技术人员应该理解的是上述两种实施方式仅是两种示例性的方式而不是本实施例的全部实施方式,实际上,凡是基于边缘节点的带宽余量和业务质量执行的业务重新调度方法均可以被应用到本实施例中。It should be understood by those skilled in the art that the above two implementations are only two exemplary implementations rather than all implementations of this embodiment. In fact, any service rescheduling performed based on the bandwidth margin and service quality of the edge node All methods can be applied to this embodiment.
步骤403、第一边缘节点基于业务请求中的IP地址和业务类型向中心服务平台请求与客户端同属一个区域,且与客户端请求的业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量。Step 403: Based on the IP address and the service type in the service request, the first edge node requests the central service platform for the bandwidth margin of at least one second edge node that belongs to the same area as the client and matches the service type requested by the client. and business quality.
步骤404、第一边缘节点根据请求获得的至少一个第二边缘节点的带宽余量和业务质量,将客户端的业务请求重新调度到一个或多个第二边缘节点上。Step 404: The first edge node reschedules the service request of the client to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node obtained by the request.
本实施例中的第一边缘节点根据自身当前的带宽值、成本带宽值和业务质量来判断是否需要对客户端的业务请求进行重新调度,能够同时兼顾成本和业务质量,实现了成本的精细控制,保障了业务质量。In this embodiment, the first edge node judges whether it needs to reschedule the service request of the client according to its current bandwidth value, cost bandwidth value, and service quality, which can take into account both cost and service quality, and realizes fine control of cost. Guaranteed business quality.
需要说明的是,上述实施例中第一边缘节点在判断需要进行重新调度之后的方法也可以由客户端来执行,也就是说,第一边缘节点在判断需要进行重新调度之后会向客户端反馈一个通知消息,客户端在接收到该通知消息后,从中心服务平台上获取至少一个第二边缘节点的带宽余量和业务质量,然后根据获取到的第二边缘节点的带宽余量和业务质量,将业务请求重新调度到一个或多个第二边缘节点上,其执行方式和有意效果与上述实施例类似在这里不在赘述。It should be noted that, in the above embodiment, the method of the first edge node after judging that rescheduling is necessary can also be performed by the client, that is, the first edge node will feedback to the client after judging that rescheduling is necessary. A notification message. After receiving the notification message, the client obtains the bandwidth headroom and service quality of at least one second edge node from the central service platform, and then obtains the bandwidth headroom and service quality of the second edge node according to the obtained bandwidth headroom and service quality. , the service request is rescheduled to one or more second edge nodes, and the execution manner and intentional effect thereof are similar to those of the above-mentioned embodiment, and will not be repeated here.
图5是本公开实施例提供的一种业务调度装置的结构示意图,该业务调度装置可以示例性的理解为上述实施例中的第一边缘节点或者第一边缘节点中的部分功能模块。如图5所示,业务调度装置50包括:FIG. 5 is a schematic structural diagram of a service scheduling apparatus provided by an embodiment of the present disclosure. The service scheduling apparatus can be exemplarily understood as the first edge node in the above-mentioned embodiment or a part of functional modules in the first edge node. As shown in FIG. 5, the service scheduling device 50 includes:
接收模块51,设置为接收客户端的业务请求,所述业务请求中包括业务类型和所述客户端的IP地址;The receiving module 51 is configured to receive the service request of the client, and the service request includes the service type and the IP address of the client;
判断模块52,设置为至少根据所述第一边缘节点当前的带宽值和所述第一边缘节点当前的成本带宽值,判断是否需要对所述业务请求进行重新调度;The judgment module 52 is configured to judge whether the service request needs to be rescheduled according to at least the current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node;
请求模块53,设置为在判断需要重新调度时,基于所述IP地址和所述业务类型向所述中心服务平台请求与所述客户端同属一个区域,且与所述业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量,其中,所述带宽余量是指所述第二边缘节点的成本带宽值与所述第二边缘节点当前的带宽值之间的差值;The request module 53 is configured to, when judging that rescheduling is required, request the central service platform based on the IP address and the business type to request at least one of the same area as the client and matching the business type. Bandwidth headroom and service quality of the second edge node, wherein the bandwidth headroom refers to the difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node;
执行模块54,设置为根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到一个或多个第二边缘节点上。The execution module 54 is configured to reschedule the service request to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node.
在一种实施方式中,判断模块52,包括:In one embodiment, the judging module 52 includes:
第一判断子模块,设置为判断所述第一边缘节点当前的带宽值和所述第一边缘节点当前的成本带宽值之间的大小;a first judgment submodule, configured to judge the size between the current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node;
第二判断子模块,设置为在第一边缘节点当前的带宽值大于或等于第一边缘节点当前的成本带宽值时判断需要对所述业务请求进行重新调度。The second judging submodule is configured to judge that the service request needs to be rescheduled when the current bandwidth value of the first edge node is greater than or equal to the current cost bandwidth value of the first edge node.
在一种实施方式中,判断模块52,包括:In one embodiment, the judging module 52 includes:
第一确定子模块,设置为基于所述第一边缘节点当前的带宽值和预先得到的所述第一边缘节点的带宽变化趋势,确定所述第一边缘节点在预设时间后的带宽 值;A first determining submodule, configured to determine the bandwidth value of the first edge node after a preset time based on the current bandwidth value of the first edge node and the pre-obtained bandwidth variation trend of the first edge node;
第三判断子模块,设置为判断所述第一边缘节点在预设时间后的带宽值与所述第一边缘节点当前的成本带宽值之间的大小;a third judging submodule, configured to judge the size between the bandwidth value of the first edge node after a preset time and the current cost bandwidth value of the first edge node;
第四判断子模块,设置为在第一边缘节点在所述预设时间后的带宽值大于或等于第一边缘节点当前的成本带宽值时判断需要重新调度。The fourth judging submodule is configured to judge that rescheduling is required when the bandwidth value of the first edge node after the preset time is greater than or equal to the current cost bandwidth value of the first edge node.
在一种实施方式中,判断模块52,还设置为:根据第一边缘节点当前的带宽值、成本带宽值以及业务质量,判断是否需要对所述业务请求进行重新调度。In an embodiment, the judgment module 52 is further configured to: according to the current bandwidth value, cost bandwidth value and service quality of the first edge node, judge whether the service request needs to be rescheduled.
在一种实施方式中,判断模块52,包括:In one embodiment, the judging module 52 includes:
第二确定子模块,设置为根据第一边缘节点当前的带宽值和成本带宽值,确定第一边缘节点当前的带宽余量;The second determination submodule is configured to determine the current bandwidth margin of the first edge node according to the current bandwidth value and cost bandwidth value of the first edge node;
第五判断子模块,设置为判断第一边缘节点当前的带宽余量是否小于第一带宽阈值,以及第一边缘节点当前的业务质量是否小于所述业务类型对应的质量阈值,若是,则判断需要对所述业务请求进行重新调度。The fifth judging sub-module is configured to judge whether the current bandwidth margin of the first edge node is less than the first bandwidth threshold, and whether the current service quality of the first edge node is less than the quality threshold corresponding to the service type, if so, judge that the need The service request is rescheduled.
在一种实施方式中,执行模块54,包括:In one embodiment, the execution module 54 includes:
第一执行子模块,设置为根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到带宽余量大于或等于第二带宽阈值,业务质量大于或等于所述业务类型对应的质量阈值的第二边缘节点上。The first execution sub-module is configured to reschedule the service request according to the bandwidth headroom and service quality of the at least one second edge node so that the bandwidth headroom is greater than or equal to the second bandwidth threshold, and the service quality is greater than or equal to the specified bandwidth. on the second edge node with the quality threshold corresponding to the service type.
在一种实施方式中,执行模块54,还包括:In one embodiment, the execution module 54 further includes:
第一处理子模块,设置为在所述至少一个第二边缘节点中不包括所述带宽余量大于或等于所述第二带宽阈值,业务质量大于或等于所述质量阈值的第二边缘节点时,分别对每个第二边缘节点的业务质量和带宽余量进行加权求和处理,得到每个第二边缘节点对应的加权求和结果;a first processing submodule, configured to not include a second edge node whose bandwidth margin is greater than or equal to the second bandwidth threshold and whose service quality is greater than or equal to the quality threshold in the at least one second edge node , respectively perform weighted summation processing on the service quality and bandwidth margin of each second edge node, and obtain the weighted summation result corresponding to each second edge node;
第二执行子模块,设置为将所述业务请求重新调度到所述加权求和结果高于第一预设阈值的第二边缘节点上。The second execution submodule is configured to reschedule the service request to the second edge node whose weighted sum result is higher than the first preset threshold.
在一种实施方式中,执行模块54,包括:In one embodiment, the execution module 54 includes:
第三确定子模块,设置为从所述至少一个第二边缘节点中确定出带宽余量大于或等于第二带宽阈值,业务质量大于或等于所述业务类型对应的质量阈值的第二边缘节点,作为候选边缘节点;a third determining submodule, configured to determine, from the at least one second edge node, a second edge node whose bandwidth margin is greater than or equal to a second bandwidth threshold, and whose service quality is greater than or equal to the quality threshold corresponding to the service type, as a candidate edge node;
第二处理子模块,设置为分别对每个候选边缘节点的业务质量和带宽余量进行加权求和处理,并将加权求和结果大于第二预设阈值的候选边缘节点作为目标 边缘节点;The second processing submodule is set to carry out weighted summation processing to the quality of service of each candidate edge node and the bandwidth margin respectively, and the candidate edge node whose weighted summation result is greater than the second preset threshold is used as the target edge node;
第三执行子模块,设置为将所述业务请求重新调度到所述目标边缘节点上。The third execution submodule is configured to reschedule the service request to the target edge node.
本实施例提供的装置能够执行上述图1-图4中任一实施例的方法,其执行方式和有益效果类似,在这里不在赘述。The apparatus provided in this embodiment can execute the method in any of the foregoing embodiments in FIG. 1 to FIG. 4 , and the execution manner and beneficial effects thereof are similar, which will not be repeated here.
示例的,图6是本公开实施例提供的一种边缘节点的结构示意图,如图6所示,边缘节点1600包括处理器1601和存储器1602。For example, FIG. 6 is a schematic structural diagram of an edge node provided by an embodiment of the present disclosure. As shown in FIG. 6 , the edge node 1600 includes a processor 1601 and a memory 1602 .
处理器1601可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制边缘节点1600中的其他组件以执行期望的功能。 Processor 1601 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and/or instruction execution capabilities, and may control other components in edge node 1600 to perform desired functions.
存储器1602可以是各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。存储器1602上存储有计算机程序,当该计算机程序被处理器1601运行时,处理器1601执行上述图1-图4中任一实施例的方法。 Memory 1602 may be various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and/or cache memory, among others. Non-volatile memory may include, for example, read only memory (ROM), hard disk, flash memory, and the like. A computer program is stored in the memory 1602. When the computer program is executed by the processor 1601, the processor 1601 executes the method of any of the above-mentioned embodiments in FIG. 1 to FIG. 4 .
在一个示例中,边缘节点1600还可以包括:接收装置1603和发送装置1604,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。In one example, the edge node 1600 may further include a receiving device 1603 and a sending device 1604, these components being interconnected by a bus system and/or other form of connection mechanism (not shown).
其中,接收装置1603可以接收CDN中的客户端、中心服务平台、中心调度设备等设备的发送的数据或者信息。发送装置1604可以向CDN中的客户端、中心服务平台、中心调度设备等设备发送数据或者信息。The receiving means 1603 may receive data or information sent by a client in the CDN, a central service platform, a central scheduling device, and other devices. The sending means 1604 may send data or information to a client in the CDN, a central service platform, a central scheduling device, and other devices.
当然,为了简化,图6中仅示出了边缘节点1600的部分组件而非全部组件,实际中边缘节点1600还可以包括其他任意的组件。Of course, for the sake of simplicity, only some components of the edge node 1600 are shown in FIG. 6 , but not all of the components. In practice, the edge node 1600 may also include any other components.
本公开实施例还提供了一种计算机可读存储介质,该存储介质中存储有计算机程序,当所述计算机程序被处理器执行时,使得处理器可以执行上述图1-图4中任一实施例的方法。An embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by the processor, the processor can execute any one of the foregoing implementations in FIG. 1 to FIG. 4 . example method.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更 多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
本公开提供的业务调度方法,不但满足了CDN的业务调度要求,还兼顾了CDN中各边缘节点的成本和业务质量,从而实现了CDN成本的精细化控制,保证了CDN的服务质量,具有很强的工业实用性。The service scheduling method provided by the present disclosure not only satisfies the service scheduling requirements of CDN, but also takes into account the cost and service quality of each edge node in the CDN, thereby realizing the refined control of the CDN cost, ensuring the service quality of the CDN, and having high performance. Strong industrial applicability.
Claims (11)
- 一种业务调度方法,所述方法适用于一种内容分发网络CDN,所述CDN中包括用于定期确定所述CDN中各边缘节点的业务质量和成本带宽值的中心服务平台,所述成本带宽值是指所述边缘节点成本最优时的带宽值,所述方法包括:A service scheduling method, the method is applicable to a content distribution network CDN, the CDN includes a central service platform for periodically determining the service quality and cost bandwidth value of each edge node in the CDN, the cost bandwidth The value refers to the bandwidth value when the cost of the edge node is optimal, and the method includes:所述CDN中的第一边缘节点接收客户端的业务请求,所述业务请求中包括业务类型和所述客户端的IP地址;The first edge node in the CDN receives a service request from a client, where the service request includes a service type and an IP address of the client;至少根据自身当前的带宽值和成本带宽值,判断是否需要对所述业务请求进行重新调度;Judging whether the service request needs to be rescheduled at least according to its own current bandwidth value and cost bandwidth value;若是,则基于所述IP地址和所述业务类型向所述中心服务平台请求与所述客户端同属一个区域,且与所述业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量,其中,所述带宽余量是指所述第二边缘节点的成本带宽值与所述第二边缘节点当前的带宽值之间的差值;If yes, request from the central service platform based on the IP address and the service type the bandwidth margin and service of at least one second edge node that belongs to the same area as the client and matches the service type quality, wherein the bandwidth margin refers to the difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node;根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到一个或多个第二边缘节点上。The service request is rescheduled to one or more second edge nodes according to the bandwidth headroom and service quality of the at least one second edge node.
- 根据权利要求1所述的方法,其中,所述至少根据自身当前的带宽值和成本带宽值,判断是否需要对所述业务请求进行重新调度,包括:The method according to claim 1, wherein the judging whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value comprises:判断自身当前的带宽值和自身当前的成本带宽值之间的大小;Determine the size between your current bandwidth value and your current cost bandwidth value;若自身当前的带宽值大于或等于自身当前的成本带宽值,则判断需要对所述业务请求进行重新调度。If its current bandwidth value is greater than or equal to its current cost bandwidth value, it is determined that the service request needs to be rescheduled.
- 根据权利要求1所述的方法,其中,所述至少根据自身当前的带宽值和成本带宽值,判断是否需要对所述业务请求进行重新调度,包括:The method according to claim 1, wherein the judging whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value comprises:基于自身当前的带宽值和预先得到的自身的带宽变化趋势,确定预设时间后的带宽值;Determine the bandwidth value after the preset time based on its current bandwidth value and the pre-obtained own bandwidth change trend;判断所述预设时间后的带宽值与自身当前的成本带宽值之间的大小;judging the size between the bandwidth value after the preset time and its current cost bandwidth value;若所述预设时间后的带宽值大于或等于自身当前的成本带宽值,则判断需要重新调度。If the bandwidth value after the preset time is greater than or equal to its current cost bandwidth value, it is determined that rescheduling is required.
- 根据权利要求1所述的方法,其中,所述至少根据自身当前的带宽值和成本带宽值,判断是否需要对所述业务请求进行重新调度,还包括:The method according to claim 1, wherein the judging whether the service request needs to be rescheduled according to at least its own current bandwidth value and cost bandwidth value, further comprising:根据自身当前的带宽值、成本带宽值以及业务质量,判断是否需要对所述业务请求进行重新调度。According to its current bandwidth value, cost bandwidth value and service quality, it is determined whether the service request needs to be rescheduled.
- 根据权利要求4所述的方法,其中,根据自身当前的带宽值、成本带宽值以及业务质量,判断是否需要对所述业务请求进行重新调度,包括:The method according to claim 4, wherein judging whether the service request needs to be rescheduled according to its current bandwidth value, cost bandwidth value and service quality, comprising:根据自身当前的带宽值和成本带宽值,确定自身当前的带宽余量;Determine its current bandwidth margin according to its current bandwidth value and cost bandwidth value;判断自身当前的带宽余量是否小于第一带宽阈值,以及自身当前的业务质量是否小于所述业务类型对应的质量阈值,若是,则判断需要对所述业务请求进行重新调度。It is judged whether its current bandwidth margin is less than the first bandwidth threshold, and whether its current service quality is less than the quality threshold corresponding to the service type, and if so, it is judged that the service request needs to be rescheduled.
- 根据权利要求1-5中任一项所述的方法,其中,所述根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到一个或多个第二边缘节点上,包括:The method according to any one of claims 1-5, wherein the rescheduling of the service request to one or more second edge nodes according to bandwidth headroom and service quality of the at least one second edge node On edge nodes, including:根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到带宽余量大于或等于第二带宽阈值,且业务质量大于或等于所述业务类型对应的质量阈值的第二边缘节点上。According to the bandwidth headroom and service quality of the at least one second edge node, the service request is rescheduled until the bandwidth headroom is greater than or equal to the second bandwidth threshold, and the service quality is greater than or equal to the quality threshold corresponding to the service type on the second edge node.
- 根据权利要求6所述的方法,其中,所述方法还包括:The method of claim 6, wherein the method further comprises:若所述至少一个第二边缘节点中不包括所述带宽余量大于或等于所述第二带宽阈值,且业务质量大于或等于所述质量阈值的第二边缘节点,则分别对每个第二边缘节点的业务质量和带宽余量进行加权求和处理,得到每个第二边缘节点对应的加权求和结果;If the at least one second edge node does not include a second edge node whose bandwidth margin is greater than or equal to the second bandwidth threshold, and whose service quality is greater than or equal to the quality threshold Perform weighted summation processing on the service quality and bandwidth margin of the edge node to obtain a weighted summation result corresponding to each second edge node;将所述业务请求重新调度到所述加权求和结果高于第一预设阈值的第二边缘节点上。The service request is rescheduled to a second edge node whose weighted summation result is higher than a first preset threshold.
- 根据权利要求1-5中任一项所述的方法,其中,所述根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到一个或多个第二边缘节点上,包括:The method according to any one of claims 1-5, wherein the rescheduling of the service request to one or more second edge nodes according to bandwidth headroom and service quality of the at least one second edge node On edge nodes, including:从所述至少一个第二边缘节点中确定出带宽余量大于或等于第二带宽阈值,且业务质量大于或等于所述业务类型对应的质量阈值的第二边缘节点,作为候选边缘节点;Determine from the at least one second edge node a second edge node whose bandwidth margin is greater than or equal to the second bandwidth threshold and whose service quality is greater than or equal to the quality threshold corresponding to the service type as a candidate edge node;分别对每个候选边缘节点的业务质量和带宽余量进行加权求和处理,并将加权求和结果大于第二预设阈值的候选边缘节点作为目标边缘节点;Perform weighted summation processing on the quality of service and bandwidth margin of each candidate edge node respectively, and use the candidate edge node whose weighted summation result is greater than the second preset threshold as the target edge node;将所述业务请求重新调度到所述目标边缘节点上。The service request is rescheduled to the target edge node.
- 一种业务调度装置,所述业务调度装置设置在CDN的第一边缘节点中,所述CDN中包括用于定期确定所述CDN中各边缘节点的业务质量和成本带宽值的中心服务平台,所述业务调度装置包括:A service scheduling apparatus, the service scheduling apparatus is set in a first edge node of a CDN, the CDN includes a central service platform for regularly determining the service quality and cost bandwidth value of each edge node in the CDN, and the The service scheduling device includes:接收模块,设置为接收客户端的业务请求,所述业务请求中包括业务类型和所述客户端的IP地址;A receiving module, configured to receive a service request of a client, where the service request includes a service type and the IP address of the client;判断模块,设置为至少根据所述第一边缘节点当前的带宽值和所述第一边缘节点当前的成本带宽值,判断是否需要对所述业务请求进行重新调度;A judgment module, configured to judge whether the service request needs to be rescheduled according to at least the current bandwidth value of the first edge node and the current cost bandwidth value of the first edge node;请求模块,设置为在判断需要重新调度时,基于所述IP地址和所述业务类型向所述中心服务平台请求与所述客户端同属一个区域,且与所述业务类型相匹配的至少一个第二边缘节点的带宽余量和业务质量,其中,所述带宽余量是指所述第二边缘节点的成本带宽值与所述第二边缘节点当前的带宽值之间的差值;The requesting module is configured to request from the central service platform based on the IP address and the service type, when judging that rescheduling is required, at least one first request that belongs to the same area as the client and matches the service type. Bandwidth margin and service quality of the second edge node, wherein the bandwidth margin refers to the difference between the cost bandwidth value of the second edge node and the current bandwidth value of the second edge node;执行模块,设置为根据所述至少一个第二边缘节点的带宽余量和业务质量,将所述业务请求重新调度到一个或多个第二边缘节点上。The execution module is configured to reschedule the service request to one or more second edge nodes according to the bandwidth margin and service quality of the at least one second edge node.
- 一种边缘节点,包括:An edge node, including:存储器和处理器,其中,所述存储器中包括计算机程序,当所述计算机程序被所述处理器执行时,所述处理器执行如权利要求1-8中任一项所述的方法。A memory and a processor, wherein the memory includes a computer program, and when the computer program is executed by the processor, the processor performs the method of any one of claims 1-8.
- 一种计算机可读存储介质,所述存储介质中存储有计算机程序,当所述计算机程序被处理器执行时,使得所述处理器执行如权利要求1-8中任一项所述的方法。A computer-readable storage medium having a computer program stored in the storage medium, when the computer program is executed by a processor, causes the processor to execute the method according to any one of claims 1-8.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110143761.2A CN114844949B (en) | 2021-02-02 | 2021-02-02 | Service scheduling method, device, equipment and storage medium |
CN202110143761.2 | 2021-02-02 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022166609A1 true WO2022166609A1 (en) | 2022-08-11 |
Family
ID=82560685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/073053 WO2022166609A1 (en) | 2021-02-02 | 2022-01-20 | Service scheduling method and apparatus, device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114844949B (en) |
WO (1) | WO2022166609A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115361287B (en) * | 2022-08-16 | 2024-05-24 | 中国银行股份有限公司 | Edge node traffic scheduling method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150263916A1 (en) * | 2014-03-17 | 2015-09-17 | Ericsson Television Inc. | Bandwidth management in a content distribution network |
CN107465708A (en) * | 2016-06-02 | 2017-12-12 | 腾讯科技(深圳)有限公司 | A kind of CDN bandwidth scheduling systems and method |
CN109889569A (en) * | 2019-01-03 | 2019-06-14 | 网宿科技股份有限公司 | CDN service dispatching method and system |
CN110198344A (en) * | 2019-05-05 | 2019-09-03 | 网宿科技股份有限公司 | A kind of resource regulating method and system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015096680A1 (en) * | 2013-12-24 | 2015-07-02 | 乐视网信息技术(北京)股份有限公司 | Node distribution method and control center |
CN105847183A (en) * | 2016-03-28 | 2016-08-10 | 乐视控股(北京)有限公司 | Bandwidth distribution method of content distribution network and bandwidth distribution system of content distribution network |
CN106161649A (en) * | 2016-08-30 | 2016-11-23 | 常州云端网络科技股份有限公司 | A kind of CDN intelligent dispatching method based on redirection mechanism |
CN109547517B (en) * | 2017-09-22 | 2021-11-09 | 贵州白山云科技股份有限公司 | Method and device for scheduling bandwidth resources |
CN110971432B (en) * | 2018-09-29 | 2021-05-18 | 华为技术有限公司 | Data transmission method and related device |
CN109818881B (en) * | 2019-03-19 | 2022-09-27 | 网宿科技股份有限公司 | CDN bandwidth scheduling method, acquisition and scheduling server and storage medium |
CN109787921B (en) * | 2019-03-19 | 2022-09-09 | 网宿科技股份有限公司 | CDN bandwidth scheduling method, acquisition and scheduling server and storage medium |
CN110049130B (en) * | 2019-04-22 | 2020-07-24 | 北京邮电大学 | Service deployment and task scheduling method and device based on edge computing |
-
2021
- 2021-02-02 CN CN202110143761.2A patent/CN114844949B/en active Active
-
2022
- 2022-01-20 WO PCT/CN2022/073053 patent/WO2022166609A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150263916A1 (en) * | 2014-03-17 | 2015-09-17 | Ericsson Television Inc. | Bandwidth management in a content distribution network |
CN107465708A (en) * | 2016-06-02 | 2017-12-12 | 腾讯科技(深圳)有限公司 | A kind of CDN bandwidth scheduling systems and method |
CN109889569A (en) * | 2019-01-03 | 2019-06-14 | 网宿科技股份有限公司 | CDN service dispatching method and system |
CN110198344A (en) * | 2019-05-05 | 2019-09-03 | 网宿科技股份有限公司 | A kind of resource regulating method and system |
Also Published As
Publication number | Publication date |
---|---|
CN114844949B (en) | 2023-10-27 |
CN114844949A (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1993231B1 (en) | Allocation method, system and device for network resource in communication network | |
US8165021B2 (en) | Policy-based resource management | |
WO2016011903A1 (en) | Traffic control method and apparatus | |
TWI504293B (en) | Method for load balancing, user equipment and access node | |
US8838156B2 (en) | Multi-bearer rate control for transporting user plane data | |
EP2628332A2 (en) | Quality of service adjustments to improve network utilization | |
US8693499B2 (en) | Dynamic adjustment of bandwidth allocation for an in-progress media session | |
WO2011140900A1 (en) | Method, device and system for group-based flow control | |
US8341265B2 (en) | Hybrid server overload control scheme for maximizing server throughput | |
EP2732658B1 (en) | System imposed throttled transmission | |
WO2022166609A1 (en) | Service scheduling method and apparatus, device, and storage medium | |
EP2910051B1 (en) | Method and arrangement for admission control based on priority level based differentiation | |
CN102916906B (en) | One realizes the adaptive method of application performance, Apparatus and system | |
US12010559B2 (en) | Implementing service level agreements in an identity federation | |
WO2011097837A1 (en) | Method, device and system for implementing service access to access gateways | |
US20120221706A1 (en) | Method and arrangement for network resource management | |
Salahuddin et al. | Social network analysis inspired content placement with QoS in cloud based content delivery networks | |
CN111078386A (en) | Control method and control device of distributed scheduling system | |
CN107786371B (en) | Data acceleration method and device and storage medium | |
WO2008003252A1 (en) | Method, apparatus, and system for the mgc distributing a resource provision decision to the mg | |
JP3927386B2 (en) | Coordinated scheduling type QoS control system and method | |
US20100057914A1 (en) | Method, apparatus and system for scheduling contents | |
CN112732440A (en) | Resource allocation method and device, cloud platform server and edge node equipment | |
EP2790362B1 (en) | Network load control method and registration server | |
Wang et al. | Auction or tâtonnement-finding congestion prices for adaptive applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22748888 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22748888 Country of ref document: EP Kind code of ref document: A1 |