[go: up one dir, main page]

WO2024131402A1 - Service resource scheduling method and apparatus - Google Patents

Service resource scheduling method and apparatus Download PDF

Info

Publication number
WO2024131402A1
WO2024131402A1 PCT/CN2023/132408 CN2023132408W WO2024131402A1 WO 2024131402 A1 WO2024131402 A1 WO 2024131402A1 CN 2023132408 W CN2023132408 W CN 2023132408W WO 2024131402 A1 WO2024131402 A1 WO 2024131402A1
Authority
WO
WIPO (PCT)
Prior art keywords
scheduling
network
service
cdn
network quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2023/132408
Other languages
French (fr)
Chinese (zh)
Inventor
于荣国
朱佳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2024131402A1 publication Critical patent/WO2024131402A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling 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/61Scheduling 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 present disclosure relates to the field of communications, and in particular to a method and device for scheduling service resources.
  • the existing scheduling system based on network quality usually only takes network quality as the comprehensive indicator of each service node, and periodically generates the network health coefficient of this node according to the service quality of each node (such as packet loss rate, quality weight, download rate, etc.).
  • the scheduling optimization finally realized is for CDN server nodes, which cannot meet the scenario where the same node serves users in multiple different network segments and some network segments have poor network quality.
  • the scheduling strategies of different network segments are often different, and there will be some identical service nodes between the scheduling strategies of different IP segments, and there may also be some other nodes with the same priority. Therefore, the index value obtained by periodically counting the network quality on the service node side is lagging.
  • the packet loss rate and download rate obtained by statistics may directly affect whether this node can continue to schedule users of other IP segments, which is far from fitting the actual business scenario.
  • a scheduling device for service resources including: a topology acquisition module, configured to acquire a scheduling topology relationship between a user terminal UE and a content scheduling network CDN, and acquire a topology relationship between a broadband access server BRAS and a service router SR according to the scheduling topology relationship; a quality detection module, configured to collect network quality information of the BRAS and the SR according to the topology relationship between the BRAS and the SR, and obtain a network quality detection result; an indicator calculation module, configured to calculate a network quality indicator QOS between the UE and a service node of the CDN network according to the network quality detection result; and a decision scheduling module, configured to select an optimal service node according to the QOS indicator value, and schedule the service resources of the UE based on the optimal service node.
  • a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.
  • an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • FIG1 is a hardware structure block diagram of a computer terminal of a method for scheduling service resources according to an embodiment of the present disclosure
  • FIG2 is a flow chart of scheduling of service resources according to an embodiment of the present disclosure
  • FIG3 is a flow chart of scheduling of service resources according to an embodiment of the present disclosure.
  • FIG4 is a flow chart of scheduling of service resources according to an embodiment of the present disclosure.
  • FIG5 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure.
  • FIG6 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure.
  • FIG. 7 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure.
  • FIG8 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure.
  • FIG9 is a schematic diagram of the architecture of a service resource scheduling device according to an embodiment of the present disclosure.
  • FIG10 is a flow chart of a service resource scheduling method according to an embodiment of the present disclosure.
  • FIG11 is a schematic diagram of the architecture of a SR-BRAS network quality measurement model according to an embodiment of the present disclosure
  • FIG. 12 is a schematic diagram of a method for dynamically optimizing network quality based on a scheduling path according to an embodiment of the disclosed scenario.
  • FIG1 is a hardware structure block diagram of a computer terminal of a method for scheduling service resources in an embodiment of the present disclosure.
  • the computer terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 for communication functions and an input and output device 108.
  • FIG1 is only For illustration purposes only, the structure of the computer terminal is not limited.
  • the computer terminal may include more or fewer components than those shown in FIG. 1 , or may have a configuration different from that shown in FIG. 1 .
  • the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the scheduling method of service resources in the embodiment of the present disclosure.
  • the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method.
  • the memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the transmission device 106 is used to receive or send data via a network.
  • the above-mentioned network example may include a wireless network provided by a communication provider of a computer terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
  • RF Radio Frequency
  • FIG. 2 is a flow chart of scheduling service resources according to an embodiment of the present disclosure. As shown in FIG. 2 , the flow chart includes the following steps:
  • Step S202 obtaining a scheduling topology relationship between a user terminal (User Equipment, UE) and a content scheduling network CDN, and obtaining a topology relationship between a broadband access server (Broadband Remote Access Server, BRAS) and a service router (Service Router, SR) according to the scheduling topology relationship;
  • a broadband access server Broadband Remote Access Server, BRAS
  • a service router Service Router, SR
  • Step S204 collecting network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtaining a network quality detection result;
  • Step S206 calculating the network quality index (Quality of Service, QOS) of the UE and the service node of the CDN network according to the network quality detection result;
  • Step S208 selecting the best service node according to the QOS indicator value, and scheduling the service resources of the UE based on the best service node.
  • the topology relationship between the broadband access server BRAS and the service router SR is obtained according to the scheduling topology relationship; according to the topology relationship between BRAS and SR, the network quality information of BRAS and SR is collected, and the network quality detection result is obtained; according to the network quality detection result, the network quality index QOS of the service node of the UE and CDN network is calculated; according to the QOS index value, the optimal service node is selected, and the service resources of the UE are scheduled based on the optimal service node.
  • the execution subject of the above steps may be a base station, a terminal, etc., but is not limited thereto.
  • obtaining a scheduling topology relationship between a user terminal UE and a content scheduling network CDN includes: obtaining a scheduling topology relationship based on a scheduling policy between a service node of the CDN network and the UE, wherein the scheduling topology relationship includes at least one of the following: an association relationship between the UE's IP address and the UE's IP set, an association relationship between the UE's IP set and a service node, an association relationship between a service node and an SR, and an association relationship between the UE's IP set and a BRAS.
  • the method before calculating the network quality indicator QOS between the UE and the service node of the CDN network according to the network quality detection result, the method further includes: the scheduling server of the CDN network verifies the access control of the network quality detection result; If the verification is successful, the network quality detection result is obtained; if the verification is not successful, the access permission is re-obtained.
  • FIG3 is a flowchart of the scheduling of service resources according to an embodiment of the present disclosure. As shown in FIG3, the process includes the following steps:
  • Step S302 obtaining a scheduling topology relationship between the user terminal UE and the content scheduling network CDN, and obtaining a topology relationship between the broadband access server BRAS and the service router SR according to the scheduling topology relationship;
  • Step S304 collecting network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtaining a network quality detection result;
  • Step S306 the scheduling server of the CDN network verifies the access right to the network quality detection result. If the verification is successful, the network quality detection result is obtained; if the verification is not successful, the access right is re-obtained;
  • Step S308 calculating the network quality indicator QOS of the UE and the service node of the CDN network according to the network quality detection result;
  • Step S310 selecting the best service node according to the QOS indicator value, and scheduling the service resources of the UE based on the best service node.
  • the network quality detection result includes at least one of the following: delay detection information; jitter detection information; and packet loss rate detection information.
  • the network quality index QOS between the UE and the service node of the CDN network is calculated according to the network quality detection result, including: performing weighted calculation according to the delay detection information, jitter detection information, and packet loss rate detection information to obtain the QOS index value.
  • the method before selecting the optimal service node according to the QOS indicator value, the method further includes: the UE sends a redirection request to the scheduling server of the CDN network.
  • FIG4 is a flow chart of the scheduling of service resources according to an embodiment of the present disclosure. As shown in FIG4, the process includes the following steps:
  • Step S402 obtaining a scheduling topology relationship between the user terminal UE and the content scheduling network CDN, and obtaining a topology relationship between the broadband access server BRAS and the service router SR according to the scheduling topology relationship;
  • Step S404 collecting network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtaining a network quality detection result;
  • Step S406 the scheduling server of the CDN network verifies the access right to the network quality detection result. If the verification is successful, the network quality detection result is obtained; if the verification is not successful, the access right is re-obtained;
  • Step S408 calculating the network quality indicator QOS of the UE and the service node of the CDN network according to the network quality detection result;
  • Step S410 the UE sends a redirection request to the scheduling server of the CDN network
  • Step S412 selecting the best service node according to the QOS indicator value, and scheduling the service resources of the UE based on the best service node.
  • the optimal service node is selected based on the QOS index value, including: based on the QOS index value and the remaining service resources of the service node, the service node with the smallest QOS index value and the most remaining service resources is selected as the optimal service node.
  • the method after selecting the optimal service node based on the QOS indicator value decision, the method also includes: detecting the network quality detection result of the specified link, and when the network quality detection result of the specified link does not reach a preset threshold, controlling the BRAS and SR to adjust network parameters to optimize the network quality detection result of the specified link.
  • scheduling service resources for a UE based on an optimal service node includes: the optimal service node receiving service request information from the UE; and the optimal service node providing service resources to the UE.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
  • the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, disk, CD), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the method described in the embodiment of the present disclosure.
  • a scheduling device for service resources is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated.
  • the term "module” can implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
  • FIG. 5 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure.
  • the scheduling device 50 includes: a topology acquisition module 510, which is used to obtain the scheduling topology relationship between the user terminal UE and the content scheduling network CDN, and obtain the topology relationship between the broadband access server BRAS and the service router SR according to the scheduling topology relationship; a quality detection module 520, which is used to collect network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtain the network quality detection result; an indicator calculation module 530, which is used to calculate the network quality indicator QOS of the UE and the service node of the CDN network according to the network quality detection result; a decision scheduling module 540, which is used to select the optimal service node according to the QOS indicator value, and schedule the service resources of the UE based on the optimal service node.
  • a topology acquisition module 510 which is used to obtain the scheduling topology relationship between the user terminal UE
  • Figure 6 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure.
  • the scheduling device 60 also includes: a verification module 610, which is arranged in the scheduling server of the CDN network, and is used to verify the access rights of the network quality detection results. If the verification passes, the network quality detection results are obtained and sent to the indicator calculation module; if the verification fails, the access rights are re-acquired.
  • a verification module 610 which is arranged in the scheduling server of the CDN network, and is used to verify the access rights of the network quality detection results. If the verification passes, the network quality detection results are obtained and sent to the indicator calculation module; if the verification fails, the access rights are re-acquired.
  • Figure 7 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure.
  • the scheduling device 70 also includes: a sending module 710, which is arranged in the UE and is used to send a redirection request to the scheduling server of the CDN network.
  • Figure 8 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure.
  • the scheduling device 80 in addition to the modules in Figure 7, the scheduling device 80 also includes: a receiving module 810 for receiving service request information from the UE; and a scheduling module 820 for providing service resources to the UE.
  • the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
  • the embodiments of the present disclosure further provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.
  • the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk a magnetic disk or an optical disk.
  • An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
  • the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
  • modules or steps of the above-mentioned embodiments of the present disclosure can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
  • a scheduling system based on the network quality between all user IP segments and all home service nodes is needed.
  • different network indicator values of different user IP sets to service nodes can be considered, and users can be scheduled to the service nodes with the best resources and the best network (including multi-network plane nodes) in a differentiated manner.
  • the technical problem to be solved is to provide a CDN scheduling system based on IP network quality.
  • the network quality information of all links between each CDN node and the user group (IP set) is obtained, and the service quality index (Quality Of Service, QOS) index between each user IP set and each CDN service node (including the QOS index in the multi-network plane service scenario) is calculated, and it is used as a scheduling strategy factor, breaking the constraints of the original scheduling mechanism, so that the CDN scheduling system can dynamically perceive the network quality of the computing power network (such as latency, jitter, packet loss), make up for the shortcomings of the CDN optimal node selection algorithm in the global scheduling process, and schedule users to the service node with the best capability and the best network, thereby comprehensively improving the user service quality; at the same time, according to the actual business situation of each user IP set to each node service point, it can timely adjust the network configuration of the optimal link, reasonably allocate and predict the
  • FIG. 9 is an architectural schematic diagram of a service resource scheduling device according to an embodiment of the disclosed scenario. As shown in FIG. 9 , the device includes:
  • CDN management platform CDN Manager, CDNM
  • CDN scheduling server Global Service Load Balance, GSLB
  • CDN service node CDNS
  • network controller cluster Network Controller Cluster, NCC
  • broadband access server Broadband Remote Access Server, BRAS
  • service router Service Router, SR
  • user management module User Management Module, UMM
  • user terminal User Equipment, UE
  • CDN management platform marked as CDNM in Figure 9
  • CDN scheduling server marked as GSLB in Figure 9
  • CDN service node marked as CDNS in Figure 9
  • network controller cluster marked as NCC in Figure 9
  • broadband access server marked as BRAS in Figure 9
  • service router marked as SR in Figure 9
  • user management module marked as UMM in Figure 9
  • user terminal marked as UE in Figure 9
  • the topology acquisition module in the above embodiment can be set on the CDN management platform
  • the quality detection module can be set on the service router
  • the indicator calculation module and the decision scheduling module can be set on the CDN scheduling server
  • the verification module can also be set on the CDN scheduling server
  • the sending module is set on the user equipment UE
  • the receiving module can be set on the user management module or the CDN management platform
  • the scheduling module can be set on the CDN scheduling server.
  • CDN Management Platform manages the dispatching servers, service nodes and other equipment resources in the CDN system, automatically receives CDN user information synchronized by the User Management Module (UMM) (such as: the topological relationship between the user IP address segment and IP set, the topological relationship between the IP set and the BRAS device, and the topological relationship between the service node and the SR device), and maintains the dispatching topological relationship between the user IP set and the service node and other service configurations. At the same time, it is also responsible for synchronizing various service configurations to the dispatching server and network controller.
  • UMM User Management Module
  • CDN Scheduling Server responsible for collecting performance data from CDN service nodes CDNS regularly, and obtaining the status and resource information of each service node. Regularly access the network controller, and calculate the network quality of each IP set to the service node based on the CDN user IP address segment and scheduling topology. The network quality from the user to each node is included in the scheduling factor, and the optimal node is decided and returned to the user terminal.
  • CDN service node responsible for receiving performance collection requests from CDN scheduling node GSLB and returning collection results. At the same time, it receives service requests from user terminals UE and provides media services.
  • BRAS Broadband access server
  • BRAS Broadband access server
  • SR Service Router
  • NCC Network Controller Cluster Deployed in the bearer network, it receives CDN service configuration data synchronized by the CDN management platform, and collects statistics on network quality information between each BRAS and the associated SR, such as latency (in ns), jitter (in ns), and packet loss (packet loss rate). At the same time, NCC is also responsible for receiving network quality query requests from the CDN scheduling server and returning network quality information between each BRAS and SR. In addition, it also has the ability to open path optimization to provide CDN services with network paths that meet service levels.
  • UMM User Management Module
  • UE User terminal initiates a redirection request to the scheduling server in the CDN system, obtains the optimal service node, and then requests media services from the service node.
  • a service resource scheduling method is also provided in this scenario embodiment, including the following steps:
  • the User Management Module is used to record the account opening information of broadband users (such as IP addresses), the deployment information of user-side broadband access servers and service routers, aggregate CDN user IP addresses or address segments into IP sets, and synchronize relevant data to the CDN management platform.
  • the CDN management platform automatically receives data synchronization messages from the user management module (UMM) to update the dispatch server information, service node information, network controller address, BRAS and SR equipment information, user IP address segments, dispatch topology relationship data and other service configurations within the CDN system.
  • UMM user management module
  • the dispatch topology relationship data at least includes: the topological relationship between the user IP set and the service node, the topological relationship between the user IP set and the BRAS device, the topological relationship between the service node and the SR device, etc.
  • the CDN dispatch server receives the service node information and network control information issued by the CDN management platform (CDNM). After receiving the controller address and service configuration data, it collects performance data from the CDN service node regularly to obtain the status and resource data of each service node. At the same time, it regularly accesses the network controller to obtain the network quality data between each BRAS and each SR device. According to the CDN user IP address set and scheduling topology, it calculates the network quality of each user IP set to the service node, incorporates the network quality into the scheduling factor, and decides on an optimal node to return to the user terminal.
  • CDN management platform CDN management platform
  • the broadband access server is deployed in the user-side metropolitan area network and is responsible for user identity authentication, associating user IP address sets in different areas with different BRASs, and strictly controlling user data entering and leaving the backbone network.
  • the service router is deployed in the metropolitan area network on the CDN service node side, receives service configuration data from the CDN management platform, and is responsible for dialing and measuring the network quality between the SR and the BRAS where users under the service node are located.
  • the network controller cluster is deployed in the bearer network. It receives the service configuration data from the CDN management platform and the equipment information of BRAS and SR. It collects the network quality information between each BRAS and SR (such as latency (unit: ns), jitter (unit: ns) and packet loss (packet loss rate) information) and summarizes it.
  • the Network Controller Cluster regularly receives network quality query requests initiated by the CDN scheduling server, summarizes the network quality information between each BRAS and SR, and returns the data to the scheduling server.
  • the user terminal initiates a 302 redirection request to the scheduling server in the CDN system, obtains the optimal service node, and then continues to request media services from the service node.
  • the solution is introduced with the above-mentioned scheduling device as the execution body.
  • FIG10 is a flow chart of a service resource scheduling method according to an embodiment of the present disclosure. As shown in FIG10 , the CDN scheduling process based on IP network quality includes the following steps:
  • Step S1001 the user management module UMM records the account opening information of broadband users (such as user account, IP address), user-side broadband access server, and deployment information of service routers.
  • the IP addresses of users who have activated CDN services are aggregated into IP sets, and the user IP address set ⁇ user IP address segment-IP set>, the topological relationship between the user IP set and the BRAS device ⁇ user IP set-BRAS address>, and the topological relationship between the service node and the SR device ⁇ service node-SR address> data are synchronized to the CDN management platform.
  • the CDNM management platform automatically receives the ⁇ user IP set-service node>, ⁇ user IP set-BRAS address>, ⁇ service node-SR address> data synchronized from the UMM and writes them into the local database. Together with the scheduling strategy between the user IP set and the service node, it generates the CDN scheduling topology (as shown in the following figure).
  • the association relationship between the user IP address segment and the IP set is shown in Table 1. Different IP addresses can be included in the same IP set.
  • Table 1 The relationship between user IP address segments and IP sets
  • the scheduling topology relationship between the user IP set and the CDN service node is shown in Table 2. Different IP address sets can be associated with the same CDN service node.
  • CDN service nodes The association relationship between CDN service nodes and SR devices is shown in Table 3. Different CDN service nodes can belong to the same SR device.
  • the association relationship between the CDN user IP set and the BRAS device is shown in Table 4. Different user IP sets may belong to the same BRAS device or to different BRAS devices.
  • Step S1002 the CDNM management platform associates the above groups of scheduling topology data to obtain the ⁇ BRAS address-SR address> association relationship, and synchronizes the relationship data to GSLB, NCC, SR and other devices.
  • Step S1003 After receiving the configuration data of the CDNM, the SR device periodically performs long-term network quality detection on the BRAS device to obtain a network quality matrix between the SR and the BRAS.
  • Step S1004 After receiving the service configuration data from the CDN management platform and the equipment information of the BRAS and SR, the NCC periodically initiates data collection to each SR. As shown in the measurement model of Figure 11: the NCC obtains network quality information between each BRAS and SR, such as latency (in ns), jitter (in ns), and packet loss (packet loss rate), and finally summarizes the network quality detection results between each SR and BRAS.
  • network quality information between each BRAS and SR such as latency (in ns), jitter (in ns), and packet loss (packet loss rate)
  • Step S1005 GSLB periodically sends a query request to the network controller NCC to obtain network quality data of all links between the BRAS and the SR device.
  • GSLB Before sending a query request, GSLB first sends an https authentication request to the network controller NCC to obtain a valid accessToken. If the token is not obtained or has expired, it is necessary to obtain a token from the network controller again.
  • the GSLB authentication request message login-info is as follows, where user-name is the login user name and value is the password information.
  • the NCC authentication return information login-response is as follows, where expires is the authentication validity period, which is fixed at 1800 (unit: seconds); accessToken is the access token.
  • GSLB After obtaining the legal token, GSLB queries the network controller NCC to obtain the network quality data between the BRAS and the SR device.
  • query-performance-input is a network quality query request message initiated by GSLB; where srIpAddr is the SR device address, brasIpAddr is the BRAS address, and accessToken is the token obtained through the authentication request.
  • the network quality query request message encoding content is as follows:
  • query-performance-output is the network quality query response message returned by the NCC
  • srIpAddr is the SR device address
  • brasIpAddr is the BRAS address
  • latency, jitter, and packetLose are the three quality data returned by the network controller: latency (in ns), jitter (in ns), and packet loss rate.
  • the network quality query response message encoding content is as follows Down:
  • the network quality data between the SR device and the BRAS device collected by GSLB from the network controller is shown in Table 5.
  • the BRAS devices at different user ends can correspond to the SR device at the same service node end.
  • Step S1006 GSLB calculates each user's IP address set based on the CDN user IP address set and the scheduling topology.
  • the network quality QOS indicator value to the service node (as shown in the following table).
  • the network quality of multiple network planes can be mapped to the QOS indicator value of different address sets to the same service node.
  • the GSLB associated scheduling topology and network quality matrix are shown in Table 6, and the QOS indicator value between each user IP address or address segment and different CDN service nodes is obtained.
  • QOS ln[(latency/standard)]*delay weight + ln[(jitter/standard)]*jitter weight + ln[(packetLose/standard)]*packet loss rate weight.
  • delay weight + jitter weight + packet loss rate weight 1.
  • Network standards latency 100ms, jitter 40ms, and packet loss 1%. These are standard values obtained through big data analysis and are configurable.
  • QOS ⁇ 0 means the network quality is good
  • QOS>0 means the network quality is worse than the standard.
  • Step S1007 the user terminal UE initiates a 302 redirection request to the GSLB in the CDN system.
  • Step S1008 GSLB obtains the list of associated CDN service nodes according to the address segment where the user IP is located, incorporates the network quality QOS indicator value into the scheduling decision options, and determines an optimal node with the minimum QOS and the most remaining resources and returns it to the user terminal.
  • Step S1009 After obtaining the optimal service node information, the user terminal continues to request media services from the service node.
  • Step S1010 The service node receives a user service request and provides a media service.
  • FIG12 is a schematic diagram of a method for dynamically optimizing network quality based on a scheduling path according to an embodiment of the present disclosure scenario.
  • a method for dynamically optimizing network quality based on a scheduling path is also proposed on the basis of the first embodiment of the present disclosure, which can be used as an extension of the embodiment shown in FIG10 , and can timely adjust the network quality of the optimal link and reasonably allocate bandwidth resources according to the actual business situation of each user IP set to each node service point.
  • the following steps may be included:
  • Step S1201 the user management module UMM records the broadband user's account opening information (such as IP address), the user-side broadband access server, and the deployment information of the service router.
  • the user IP addresses that have activated the CDN service are aggregated into an IP set, and the topological relationship data of ⁇ user IP address segment-IP set>, ⁇ user IP set-BRAS address>, and ⁇ service node-SR address> are synchronized to the CDN management platform.
  • the CDNM management platform automatically receives the ⁇ user IP address segment-IP set>, ⁇ user IP set-BRAS address>, and ⁇ service node-SR address> data synchronized from the UMM and writes them into the local database.
  • the CDNM management platform combines the user network information automatically received from the UMM with the local scheduling strategy ⁇ user IP set-service node> to generate a CDN scheduling topology, obtain the ⁇ BRAS address-SR address> association relationship, and synchronize the relationship data to GSLB, NCC, SR and other devices.
  • Step S1203 After receiving the configuration data of CDNM, the SR device periodically performs long-term network quality detection on the BRAS device to obtain a network quality matrix between the SR and the BRAS.
  • step S1204 after the NCC receives the service configuration data from the CDN management platform and the equipment information of the BRAS and SR, it periodically initiates collection to each SR to obtain the network quality information between each BRAS and SR, such as: latency (unit ns), jitter (unit ns) and packet loss (packet loss rate) information, etc., and finally summarizes the network quality detection results between each SR and BRAS.
  • Step S1205 GSLB periodically sends a query request to the network controller NCC to obtain network quality data of all links between the BRAS and the SR device.
  • the query interface is the same as step S1006 in the first embodiment
  • Step S1206 GSLB calculates the network quality QOS index value from each user IP address segment to the service node according to the CDN user IP address segment and scheduling topology.
  • Step S1207 the user terminal UE initiates a 302 redirection request to the GSLB in the CDN system.
  • Step S1208, GSLB obtains the list of associated CDN service nodes according to the address segment where the user IP is located, incorporates the network quality QOS indicator value into the scheduling decision options, and determines the optimal node with the minimum QOS and the most remaining resources and returns it to the user terminal.
  • Step S1209 GSLB counts the scheduling results within a certain time range. If it is found that the network quality of the optimal node within the scheduling policy range is still poor, it will actively initiate a network optimization request to the controller, carrying the address list of the target SR and the source BRAS.
  • update-performance-input is a network quality update request message initiated by GSLB; srIpAddr is the SR device address, brasIpAddr is the BRAS address, and accessToken is the token obtained through the authentication request.
  • latency, jitter, and packetLose are the three current quality data: latency (unit ns), jitter (unit ns), and packet loss rate.
  • the network quality update request message encoding content is as follows:
  • update-performance-output is the network quality update response message returned by NCC
  • srIpAddr is the SR device address
  • brasIpAddr is the BRAS address
  • latency, jitter, and packetLose are the quality data after the network controller adjusts the bandwidth configuration: latency (in ns), jitter (in ns), and packet loss rate.
  • the network quality update response message encoding content is as follows:
  • Step S1210 After receiving the CDN network optimization request, the network controller NCC sends a network parameter tuning instruction to the SR and BRAS to adjust the network bandwidth configuration.
  • Step S1211 The network controller re-collects data to obtain the optimized network quality result.
  • Step S1212 The network controller returns the tuning result to GSLB.
  • Step S1213 GSLB recalculates the network quality QOS index value, and calculates the optimal node based on the new network quality index when processing subsequent scheduling requests.
  • Step S1214 the user terminal UE initiates a 302 redirection request to the GSLB in the CDN system.
  • Step S1215 GSLB obtains the list of associated CDN service nodes according to the address segment where the user IP is located, and decides an optimal node based on the new network quality indicator and returns it to the user terminal.
  • Step S1216 After obtaining the optimal service node, the user terminal continues to request media services from the service node.
  • Step S1217 The service node receives the user service request and provides media service.
  • the disclosed embodiment provides a method and device for scheduling service resources.
  • the CDN scheduling system is integrated with the bearer network, and the scheduling strategy and network information are interconnected, which can enhance the reliability of the CDN architecture.
  • the user can select the CDN node with the best resources and the best network to provide services, which can optimize the service quality, balance the CDN node load from the two aspects of resources and network, and improve the quality assurance of CDN services.
  • the bearer network opens the path tuning capability to provide the CDN service with a network path that meets the service requirements, such as: by centrally arranging and dynamically adjusting the bandwidth configuration of each path in the region, the congested and faulty links can be optimized to improve the overall bandwidth utilization of the CDN network.
  • the CDN management system can also realize the participation of network information in CDN load distribution based on the traffic statistics information transmitted by the network controller and the CDN service throughput information, dynamically adjust and predict CDN resources, release or increase the capacity of server resources, and reduce resource waste.
  • the CDN scheduling system constructed by the method disclosed in the embodiment of the present disclosure integrates the scheduling policy configuration of the CDN system with the network information of the bearer network, and enhances the CDN system's capabilities in node selection, resource balancing, etc. with network-assisted computing, optimizes the global scheduling algorithm, and can take into account the network quality between all user IP sets and their affiliated nodes (it can also include user scheduling in multi-network plane scenarios of the same node), and can balance the CDN node load from both node resources and network environment aspects, thereby improving the service quality and overall bandwidth utilization of the CDN system.
  • the CDN scheduling system and method based on IP network quality disclosed in the embodiment of the present disclosure can also be extended to other business areas in the Internet, such as dynamic expansion and contraction of VCDN virtual nodes, prediction of network quality, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in the embodiments of the present disclosure are a service resource scheduling method and apparatus. The method comprises: by means of acquiring a scheduling topological relationship between a user equipment (UE) and a content delivery network (CDN), acquiring a topological relationship between a broadband access server (BRAS) and a service router (SR) according to the scheduling topological relationship; according to the topological relationship between the BRAS and the SR, collecting network quality information of the BRAS and the SR, and obtaining a network quality test result; according to the network quality test result, calculating network quality of service (QoS) of service nodes of the UE and the CDN; and selecting an optimal service node according to a QoS value decision, and scheduling a service resource of the UE on the basis of the optimal service node.

Description

服务资源的调度方法及装置Service resource scheduling method and device

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本申请基于2022年12月21日提交的发明名称为“服务资源的调度方法及装置”的中国专利申请CN202211649540.3,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本申请。This application is based on Chinese patent application CN202211649540.3, filed on December 21, 2022, with the invention name “Scheduling method and device for service resources”, and claims the priority of the patent application, and all the contents disclosed therein are incorporated into this application by reference.

技术领域Technical Field

本公开实施例涉及通信领域,具体而言,涉及一种服务资源的调度方法及装置。The present disclosure relates to the field of communications, and in particular to a method and device for scheduling service resources.

背景技术Background technique

随着通讯技术及半导体技术的快速发展,移动互联网广泛普及,网络电视、自媒体用户数急速增加,视频以生产要素形式融入了千行百业,给数字经济带来了更多需求。同时,对内容调度网络(Content Delivery Network,CDN)以及用户体验等也都提出了更高的标准,对网络质量的要求从高稳定、低时延走向高安全、超网络感知;对网络算力的要求从高性能、低成本走向高灵活和超算力协同。With the rapid development of communication technology and semiconductor technology, the widespread popularization of mobile Internet, the rapid increase in the number of users of online TV and self-media, and the integration of video into thousands of industries as a production factor, the digital economy has brought more demands. At the same time, higher standards have been proposed for content delivery networks (CDN) and user experience, and the requirements for network quality have shifted from high stability and low latency to high security and super network perception; the requirements for network computing power have shifted from high performance and low cost to high flexibility and super computing power coordination.

传统CDN网络的调度机制为基于用户IP地址段所预先设定的归属节点、和归属节点的优先级、剩余能力(剩余带宽、并发连接数),来选取最优节点。在节点能力足够满足用户服务能力的情况下,CDN所返回的最优节点实际上是恒定的,在业务高峰期并不能动态感知网络质量(如时延、抖动、丢包)等因素带来的影响,虽然调度策略将用户调度到了能力最优的节点上了,但用户服务质量并不一定是最优的。当网络发生拥塞时,CDN业务的服务质量会下降,影响用户体验。The scheduling mechanism of traditional CDN networks selects the optimal node based on the home node pre-set by the user's IP address segment, the priority of the home node, and the remaining capacity (remaining bandwidth, number of concurrent connections). When the node capacity is sufficient to meet the user's service capacity, the optimal node returned by the CDN is actually constant. During peak business hours, it cannot dynamically perceive the impact of factors such as network quality (such as latency, jitter, and packet loss). Although the scheduling strategy schedules users to the node with the best capacity, the user service quality is not necessarily the best. When the network is congested, the service quality of the CDN business will decline, affecting the user experience.

而已有的基于网络质量的调度系统,通常只是将网络质量作为了每个服务节点的综合指标,周期性地根据每个节点的服务质量(如:丢包率、质量权值、下载速率等),生成本节点的网络健康系数,其最终实现的调度优化是针对CDN服务端节点的,无法满足同一个节点服务于多个不同网段的用户时,某些网段存在网络质差的场景。因为在实际业务场景中往往是不同网段的调度策略是不同的,不同IP段的调度策略之间会存在一部分相同的服务节点,还可能有一部分同优先级的其他节点。所以,周期性地统计服务节点侧的网络质量,获取到的指标值,是具有滞后性的,在各节点业务量不均或少部分用户端的网络较差时,其统计得到的丢包率和下载速率可能会直接影响到了本节点还能否继续调度给其他IP段的用户,这远远不能贴合实际的业务场景。The existing scheduling system based on network quality usually only takes network quality as the comprehensive indicator of each service node, and periodically generates the network health coefficient of this node according to the service quality of each node (such as packet loss rate, quality weight, download rate, etc.). The scheduling optimization finally realized is for CDN server nodes, which cannot meet the scenario where the same node serves users in multiple different network segments and some network segments have poor network quality. Because in actual business scenarios, the scheduling strategies of different network segments are often different, and there will be some identical service nodes between the scheduling strategies of different IP segments, and there may also be some other nodes with the same priority. Therefore, the index value obtained by periodically counting the network quality on the service node side is lagging. When the business volume of each node is uneven or the network of a small number of users is poor, the packet loss rate and download rate obtained by statistics may directly affect whether this node can continue to schedule users of other IP segments, which is far from fitting the actual business scenario.

发明内容Summary of the invention

本公开实施例提供了一种服务资源的调度方法及装置,以至少解决相关技术中仅根据网络质量作为调度指标,无法兼顾到所有用户IP集合与其归属节点的问题。The embodiments of the present disclosure provide a method and device for scheduling service resources, so as to at least solve the problem in the related art that only the network quality is used as a scheduling indicator, and all user IP sets and their affiliated nodes cannot be taken into account.

根据本公开的一个实施例,提供了一种服务资源的调度方法,包括:获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据所述调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;根据所述BRAS与SR的所述拓扑关系,采集所述BRAS和所述SR的网络质量信息,并获得网络质量检测结果;根据所述网络质量检测结果,计算所 述UE与所述CDN网络的服务节点的网络质量指标QOS;根据所述QOS指标值决策选取最优服务节点,基于所述最优服务节点对所述UE的服务资源进行调度。According to an embodiment of the present disclosure, a method for scheduling service resources is provided, comprising: obtaining a scheduling topology relationship between a user terminal UE and a content scheduling network CDN, and obtaining a topology relationship between a broadband access server BRAS and a service router SR according to the scheduling topology relationship; collecting network quality information of the BRAS and the SR according to the topology relationship between the BRAS and the SR, and obtaining a network quality detection result; and calculating the network quality detection result according to the network quality detection result. a network quality indicator QOS between the UE and the service node of the CDN network; selecting an optimal service node according to the QOS indicator value, and scheduling service resources of the UE based on the optimal service node.

根据本公开的另一个实施例,提供了一种服务资源的调度装置,包括:拓扑获取模块,设置为获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据所述调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;质量检测模块,设置为根据所述BRAS与SR的所述拓扑关系,采集所述BRAS和所述SR的网络质量信息,并获得网络质量检测结果;指标计算模块,设置为根据所述网络质量检测结果,计算所述UE与所述CDN网络的服务节点的网络质量指标QOS;决策调度模块,设置为根据所述QOS指标值决策选取最优服务节点,基于所述最优服务节点对所述UE的服务资源进行调度。According to another embodiment of the present disclosure, a scheduling device for service resources is provided, including: a topology acquisition module, configured to acquire a scheduling topology relationship between a user terminal UE and a content scheduling network CDN, and acquire a topology relationship between a broadband access server BRAS and a service router SR according to the scheduling topology relationship; a quality detection module, configured to collect network quality information of the BRAS and the SR according to the topology relationship between the BRAS and the SR, and obtain a network quality detection result; an indicator calculation module, configured to calculate a network quality indicator QOS between the UE and a service node of the CDN network according to the network quality detection result; and a decision scheduling module, configured to select an optimal service node according to the QOS indicator value, and schedule the service resources of the UE based on the optimal service node.

根据本公开的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.

根据本公开的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本公开实施例的一种服务资源的调度方法的计算机终端的硬件结构框图;FIG1 is a hardware structure block diagram of a computer terminal of a method for scheduling service resources according to an embodiment of the present disclosure;

图2是根据本公开实施例的服务资源的调度的流程图;FIG2 is a flow chart of scheduling of service resources according to an embodiment of the present disclosure;

图3是根据本公开实施例的服务资源的调度的流程图;FIG3 is a flow chart of scheduling of service resources according to an embodiment of the present disclosure;

图4是根据本公开实施例的服务资源的调度的流程图;FIG4 is a flow chart of scheduling of service resources according to an embodiment of the present disclosure;

图5是根据本公开实施例的服务资源的调度装置的结构框图;FIG5 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure;

图6是根据本公开实施例的服务资源的调度装置的结构框图;FIG6 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure;

图7是根据本公开实施例的服务资源的调度装置的结构框图;7 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure;

图8是根据本公开实施例的服务资源的调度装置的结构框图;FIG8 is a structural block diagram of a device for scheduling service resources according to an embodiment of the present disclosure;

图9是根据本公开场景实施例的服务资源调度装置的架构原理图;FIG9 is a schematic diagram of the architecture of a service resource scheduling device according to an embodiment of the present disclosure;

图10是根据本公开场景实施例的服务资源调度方法的流程图;FIG10 is a flow chart of a service resource scheduling method according to an embodiment of the present disclosure;

图11是根据本公开场景实施例的SR-BRAS网络质量测量模型的架构原理图;FIG11 is a schematic diagram of the architecture of a SR-BRAS network quality measurement model according to an embodiment of the present disclosure;

图12是根据本公开场景实施例的基于调度路径的网络质量动态优化的方法原理图。FIG. 12 is a schematic diagram of a method for dynamically optimizing network quality based on a scheduling path according to an embodiment of the disclosed scenario.

具体实施方式Detailed ways

下文中将参考附图并结合实施例来详细说明本公开实施例。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

需要说明的是,本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图1是本公开实施例的一种服务资源的调度方法的计算机终端的硬件结构框图。如图1所示,计算机终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,其中,上述计算机终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅 为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, FIG1 is a hardware structure block diagram of a computer terminal of a method for scheduling service resources in an embodiment of the present disclosure. As shown in FIG1 , the computer terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 for communication functions and an input and output device 108. A person of ordinary skill in the art will appreciate that the structure shown in FIG1 is only For illustration purposes only, the structure of the computer terminal is not limited. For example, the computer terminal may include more or fewer components than those shown in FIG. 1 , or may have a configuration different from that shown in FIG. 1 .

存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本公开实施例中的服务资源的调度方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the scheduling method of service resources in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

传输装置106用于经由一个网络接收或者发送数据。上述的网络实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The transmission device 106 is used to receive or send data via a network. The above-mentioned network example may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

在本实施例中提供了一种运行于上述计算机终端的服务资源的调度方法,图2是根据本公开实施例的服务资源的调度的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a method for scheduling service resources running on the above-mentioned computer terminal is provided. FIG. 2 is a flow chart of scheduling service resources according to an embodiment of the present disclosure. As shown in FIG. 2 , the flow chart includes the following steps:

步骤S202,获取用户终端(User Equipment,UE)与内容调度网络CDN的调度拓扑关系,根据调度拓扑关系获取宽带接入服务器(Broadband Remote Access Server,BRAS)与业务路由器(Service Router,SR)的拓扑关系;Step S202, obtaining a scheduling topology relationship between a user terminal (User Equipment, UE) and a content scheduling network CDN, and obtaining a topology relationship between a broadband access server (Broadband Remote Access Server, BRAS) and a service router (Service Router, SR) according to the scheduling topology relationship;

步骤S204,根据BRAS与SR的拓扑关系,采集BRAS和SR的网络质量信息,并获得网络质量检测结果;Step S204, collecting network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtaining a network quality detection result;

步骤S206,根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标(Quality Of Service,QOS);Step S206, calculating the network quality index (Quality of Service, QOS) of the UE and the service node of the CDN network according to the network quality detection result;

步骤S208,根据QOS指标值决策选取最优服务节点,基于最优服务节点对UE的服务资源进行调度。Step S208: selecting the best service node according to the QOS indicator value, and scheduling the service resources of the UE based on the best service node.

通过上述步骤,通过获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;根据BRAS与SR的拓扑关系,采集BRAS和SR的网络质量信息,并获得网络质量检测结果;根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标QOS;根据QOS指标值决策选取最优服务节点,基于最优服务节点对UE的服务资源进行调度。解决了一些情形下仅根据网络质量作为调度指标,无法兼顾到所有用户IP集合与其归属节点的问题,达到了兼顾到所有用户IP集合与其归属节点进行服务资源的调度,提高内容调度网络服务质量的效果。Through the above steps, by obtaining the scheduling topology relationship between the user terminal UE and the content scheduling network CDN, the topology relationship between the broadband access server BRAS and the service router SR is obtained according to the scheduling topology relationship; according to the topology relationship between BRAS and SR, the network quality information of BRAS and SR is collected, and the network quality detection result is obtained; according to the network quality detection result, the network quality index QOS of the service node of the UE and CDN network is calculated; according to the QOS index value, the optimal service node is selected, and the service resources of the UE are scheduled based on the optimal service node. The problem that in some cases, only network quality is used as a scheduling index and all user IP sets and their belonging nodes cannot be taken into account is solved, and the scheduling of service resources taking into account all user IP sets and their belonging nodes is achieved, and the effect of improving the service quality of the content scheduling network is achieved.

其中,上述步骤的执行主体可以为基站、终端等,但不限于此。The execution subject of the above steps may be a base station, a terminal, etc., but is not limited thereto.

在一个示例性实施例中,获取用户终端UE与内容调度网络CDN的调度拓扑关系,包括:根据CDN网络的服务节点与UE的调度策略获取调度拓扑关系,其中,调度拓扑关系包括以下至少之一:UE的IP地址与UE的IP集合的关联关系、UE的IP集合与服务节点的关联关系、服务节点与SR的关联关系、UE的IP集合与BRAS的关联关系。In an exemplary embodiment, obtaining a scheduling topology relationship between a user terminal UE and a content scheduling network CDN includes: obtaining a scheduling topology relationship based on a scheduling policy between a service node of the CDN network and the UE, wherein the scheduling topology relationship includes at least one of the following: an association relationship between the UE's IP address and the UE's IP set, an association relationship between the UE's IP set and a service node, an association relationship between a service node and an SR, and an association relationship between the UE's IP set and a BRAS.

在一个示例性实施例中,在根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标QOS之前,方法还包括:CDN网络的调度服务器验证网络质量检测结果的访 问权限,若验证通过,则获取网络质量检测结果;若验证未通过,则重新获取访问权限。图3是根据本公开实施例的服务资源的调度的流程图,如图3所示,该流程包括如下步骤:In an exemplary embodiment, before calculating the network quality indicator QOS between the UE and the service node of the CDN network according to the network quality detection result, the method further includes: the scheduling server of the CDN network verifies the access control of the network quality detection result; If the verification is successful, the network quality detection result is obtained; if the verification is not successful, the access permission is re-obtained. FIG3 is a flowchart of the scheduling of service resources according to an embodiment of the present disclosure. As shown in FIG3, the process includes the following steps:

步骤S302,获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;Step S302, obtaining a scheduling topology relationship between the user terminal UE and the content scheduling network CDN, and obtaining a topology relationship between the broadband access server BRAS and the service router SR according to the scheduling topology relationship;

步骤S304,根据BRAS与SR的拓扑关系,采集BRAS和SR的网络质量信息,并获得网络质量检测结果;Step S304, collecting network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtaining a network quality detection result;

步骤S306,CDN网络的调度服务器验证网络质量检测结果的访问权限,若验证通过,则获取网络质量检测结果;若验证未通过,则重新获取访问权限;Step S306, the scheduling server of the CDN network verifies the access right to the network quality detection result. If the verification is successful, the network quality detection result is obtained; if the verification is not successful, the access right is re-obtained;

步骤S308,根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标QOS;Step S308, calculating the network quality indicator QOS of the UE and the service node of the CDN network according to the network quality detection result;

步骤S310,根据QOS指标值决策选取最优服务节点,基于最优服务节点对UE的服务资源进行调度。Step S310: selecting the best service node according to the QOS indicator value, and scheduling the service resources of the UE based on the best service node.

在一个示例性实施例中,网络质量检测结果包括以下至少之一:时延检测信息;抖动检测信息;丢包率检测信息。In an exemplary embodiment, the network quality detection result includes at least one of the following: delay detection information; jitter detection information; and packet loss rate detection information.

在一个示例性实施例中,根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标QOS,包括:根据时延检测信息、抖动检测信息、丢包率检测信息进行加权运算,获得所述QOS指标值。In an exemplary embodiment, the network quality index QOS between the UE and the service node of the CDN network is calculated according to the network quality detection result, including: performing weighted calculation according to the delay detection information, jitter detection information, and packet loss rate detection information to obtain the QOS index value.

在一个示例性实施例中,在根据QOS指标值决策选取最优服务节点之前,方法还包括:UE向CDN网络的调度服务器发送重定向请求。图4是根据本公开实施例的服务资源的调度的流程图,如图4所示,该流程包括如下步骤:In an exemplary embodiment, before selecting the optimal service node according to the QOS indicator value, the method further includes: the UE sends a redirection request to the scheduling server of the CDN network. FIG4 is a flow chart of the scheduling of service resources according to an embodiment of the present disclosure. As shown in FIG4, the process includes the following steps:

步骤S402,获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;Step S402, obtaining a scheduling topology relationship between the user terminal UE and the content scheduling network CDN, and obtaining a topology relationship between the broadband access server BRAS and the service router SR according to the scheduling topology relationship;

步骤S404,根据BRAS与SR的拓扑关系,采集BRAS和SR的网络质量信息,并获得网络质量检测结果;Step S404, collecting network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtaining a network quality detection result;

步骤S406,CDN网络的调度服务器验证网络质量检测结果的访问权限,若验证通过,则获取网络质量检测结果;若验证未通过,则重新获取访问权限;Step S406, the scheduling server of the CDN network verifies the access right to the network quality detection result. If the verification is successful, the network quality detection result is obtained; if the verification is not successful, the access right is re-obtained;

步骤S408,根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标QOS;Step S408, calculating the network quality indicator QOS of the UE and the service node of the CDN network according to the network quality detection result;

步骤S410,UE向CDN网络的调度服务器发送重定向请求;Step S410, the UE sends a redirection request to the scheduling server of the CDN network;

步骤S412,根据QOS指标值决策选取最优服务节点,基于最优服务节点对UE的服务资源进行调度。Step S412: selecting the best service node according to the QOS indicator value, and scheduling the service resources of the UE based on the best service node.

在一个示例性实施例中,根据QOS指标值决策选取最优服务节点,包括:根据QOS指标值和服务节点的剩余服务资源,决策选择QOS指标值最小且剩余服务资源最多的服务节点作为最优服务节点。In an exemplary embodiment, the optimal service node is selected based on the QOS index value, including: based on the QOS index value and the remaining service resources of the service node, the service node with the smallest QOS index value and the most remaining service resources is selected as the optimal service node.

在一个示例性实施例中,在根据QOS指标值决策选取最优服务节点之后,方法还包括:检测指定链路的网络质量检测结果,在指定链路的网络质量检测结果没有达到预设阈值的情况下,控制BRAS和SR调整网络参数,以优化指定链路的网络质量检测结果。In an exemplary embodiment, after selecting the optimal service node based on the QOS indicator value decision, the method also includes: detecting the network quality detection result of the specified link, and when the network quality detection result of the specified link does not reach a preset threshold, controlling the BRAS and SR to adjust network parameters to optimize the network quality detection result of the specified link.

在一个示例性实施例中,基于最优服务节点对UE的服务资源进行调度,包括:最优服务节点接收UE的服务请求信息;最优服务节点向UE提供服务资源。 In an exemplary embodiment, scheduling service resources for a UE based on an optimal service node includes: the optimal service node receiving service request information from the UE; and the optimal service node providing service resources to the UE.

通过以上的实施方式的描述,根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开实施例所述的方法。Through the description of the above implementation methods, the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, disk, CD), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the method described in the embodiment of the present disclosure.

在本实施例中还提供了一种服务资源的调度装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a scheduling device for service resources is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

图5是根据本公开实施例的服务资源的调度装置的结构框图,如图5所示,该调度装置50包括:拓扑获取模块510,用于获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;质量检测模块520,用于根据BRAS与SR的拓扑关系,采集BRAS和SR的网络质量信息,并获得网络质量检测结果;指标计算模块530,用于根据网络质量检测结果,计算UE与CDN网络的服务节点的网络质量指标QOS;决策调度模块540,用于根据QOS指标值决策选取最优服务节点,基于最优服务节点对UE的服务资源进行调度。Figure 5 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure. As shown in Figure 5, the scheduling device 50 includes: a topology acquisition module 510, which is used to obtain the scheduling topology relationship between the user terminal UE and the content scheduling network CDN, and obtain the topology relationship between the broadband access server BRAS and the service router SR according to the scheduling topology relationship; a quality detection module 520, which is used to collect network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtain the network quality detection result; an indicator calculation module 530, which is used to calculate the network quality indicator QOS of the UE and the service node of the CDN network according to the network quality detection result; a decision scheduling module 540, which is used to select the optimal service node according to the QOS indicator value, and schedule the service resources of the UE based on the optimal service node.

在一个示例性实施例中,图6是根据本公开实施例的服务资源的调度装置的结构框图,如图6所示,该调度装置60除了包括图5中各模块外,还包括:验证模块610,设置于CDN网络的调度服务器,用于验证网络质量检测结果的访问权限,若验证通过,则获取网络质量检测结果并发送至指标计算模块;若验证未通过,则重新获取访问权限。In an exemplary embodiment, Figure 6 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure. As shown in Figure 6, in addition to the modules in Figure 5, the scheduling device 60 also includes: a verification module 610, which is arranged in the scheduling server of the CDN network, and is used to verify the access rights of the network quality detection results. If the verification passes, the network quality detection results are obtained and sent to the indicator calculation module; if the verification fails, the access rights are re-acquired.

在一个示例性实施例中,图7是根据本公开实施例的服务资源的调度装置的结构框图,如图7所示,该调度装置70除了包括图6中各模块外,还包括:发送模块710,设置于UE,用于向CDN网络的调度服务器发送重定向请求。In an exemplary embodiment, Figure 7 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure. As shown in Figure 7, in addition to the modules in Figure 6, the scheduling device 70 also includes: a sending module 710, which is arranged in the UE and is used to send a redirection request to the scheduling server of the CDN network.

在一个示例性实施例中,图8是根据本公开实施例的服务资源的调度装置的结构框图,如图8所示,该调度装置80除了包括图7中各模块外,还包括:接收模块810,用于接收UE的服务请求信息;调度模块820,用于向UE提供服务资源。In an exemplary embodiment, Figure 8 is a structural block diagram of a scheduling device for service resources according to an embodiment of the present disclosure. As shown in Figure 8, in addition to the modules in Figure 7, the scheduling device 80 also includes: a receiving module 810 for receiving service request information from the UE; and a scheduling module 820 for providing service resources to the UE.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。The embodiments of the present disclosure further provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.

在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

本公开实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。 In an exemplary embodiment, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

本实施例中可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。In this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

显然,上述的本公开实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开实施例不限制于任何特定的硬件和软件结合。Obviously, the modules or steps of the above-mentioned embodiments of the present disclosure can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.

为了使得本领域的技术人员更好地理解本公开实施例的技术方案,下面结合场景实施例进行阐述。In order to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the technical solutions are described below in conjunction with scenario embodiments.

场景实施例一Scenario Example 1

鉴于一些情形下存在的问题,需要一种能够基于所有用户IP段与所有归属服务节点之间网络质量的调度系统。在调度算法中,能够考虑到不同用户IP集合到服务节点的不同网络指标值,并将用户有区别地调度到资源最优、网络最优的服务节点上(包括多网络平面节点),同时还需要能够针对服务质量差的链路进行动态优化。In view of the problems in some situations, a scheduling system based on the network quality between all user IP segments and all home service nodes is needed. In the scheduling algorithm, different network indicator values of different user IP sets to service nodes can be considered, and users can be scheduled to the service nodes with the best resources and the best network (including multi-network plane nodes) in a differentiated manner. At the same time, it is also necessary to be able to dynamically optimize the links with poor service quality.

在本场景实施例中,要解决的技术问题是提供一种基于IP网络质量的CDN调度系统,通过打通CDN与承载网之间的网络质量查询接口,获取各CDN节点与用户组(IP集合)之间所有链路的网络质量信息,计算各用户IP集合与CDN各服务节点之间的服务质量指标(Quality Of Service,QOS)指标(包括多网络平面服务场景下的QOS指标),并将其作为调度策略因子,打破了原有调度机制的束缚,使得CDN调度系统能够动态感知算力网络的网络质量(如时延、抖动、丢包),弥补了全局调度流程中CDN最优节点选择算法的不足,将用户调度到能力最优且网络最优的服务节点上,全方位提升用户服务质量;同时,能够依据各用户IP集合到各节服务点的真实的业务情况,及时调整最优链路的网络配置,合理分配、预测节点的服务资源等。In the embodiment of this scenario, the technical problem to be solved is to provide a CDN scheduling system based on IP network quality. By opening up the network quality query interface between CDN and the bearer network, the network quality information of all links between each CDN node and the user group (IP set) is obtained, and the service quality index (Quality Of Service, QOS) index between each user IP set and each CDN service node (including the QOS index in the multi-network plane service scenario) is calculated, and it is used as a scheduling strategy factor, breaking the constraints of the original scheduling mechanism, so that the CDN scheduling system can dynamically perceive the network quality of the computing power network (such as latency, jitter, packet loss), make up for the shortcomings of the CDN optimal node selection algorithm in the global scheduling process, and schedule users to the service node with the best capability and the best network, thereby comprehensively improving the user service quality; at the same time, according to the actual business situation of each user IP set to each node service point, it can timely adjust the network configuration of the optimal link, reasonably allocate and predict the service resources of the node, etc.

在本场景实施例中,提供了基于IP网络质量的CDN调度系统即服务资源调度装置,图9是根据本公开场景实施例的服务资源调度装置的架构原理图,如图9所示,该装置包括:In this scenario embodiment, a CDN scheduling system based on IP network quality, namely a service resource scheduling device, is provided. FIG. 9 is an architectural schematic diagram of a service resource scheduling device according to an embodiment of the disclosed scenario. As shown in FIG. 9 , the device includes:

CDN管理平台(CDN Manager,CDNM)、CDN调度服务器(Global Service Load Balance,GSLB)、CDN服务节点(CDN Service,CDNS)、网络控制器集群(Network Controller Cluster,NCC)、宽带接入服务器(Broadband Remote Access Server,BRAS)、业务路由器(Service Router,SR)、用户管理模块(User Management Module,UMM)、用户终端(User Equipment,UE)。CDN management platform (CDN Manager, CDNM), CDN scheduling server (Global Service Load Balance, GSLB), CDN service node (CDN Service, CDNS), network controller cluster (Network Controller Cluster, NCC), broadband access server (Broadband Remote Access Server, BRAS), service router (Service Router, SR), user management module (User Management Module, UMM), user terminal (User Equipment, UE).

其中,CDN管理平台(图9中标记为CDNM)、CDN调度服务器(图9中标记为GSLB)、CDN服务节点(图9中标记为CDNS)、网络控制器集群(图9中标记为NCC)、宽带接入服务器(图9中标记为BRAS)、业务路由器(图9中标记为SR)、用户管理模块(图9中标记为UMM),用户终端(图9中标记为UE)。Among them, there are CDN management platform (marked as CDNM in Figure 9), CDN scheduling server (marked as GSLB in Figure 9), CDN service node (marked as CDNS in Figure 9), network controller cluster (marked as NCC in Figure 9), broadband access server (marked as BRAS in Figure 9), service router (marked as SR in Figure 9), user management module (marked as UMM in Figure 9), and user terminal (marked as UE in Figure 9).

在本场景实施例中,上述实施例中的拓扑获取模块可以设置于CDN管理平台上,质量检测模块可以设置于业务路由器上,指标计算模块和决策调度模块可以设置于CDN调度服务器上,验证模块也可以设置于CDN调度服务器上,发送模块设置于用户设备UE上,接收模块可以设置于用户管理模块或者CDN管理平台,调度模块可以设置于CDN调度服务器上。需要说明的是,本公开实施例中的各个模块与本公开场景实施例中的调度装置各个组成部件之 间的对应关系不是严格限制的,上述只做举例说明,不是具体限制。在实际实施过程中,可以根据实际情况设计出不同组件布置或者组件命名的调度装置。In the present scenario embodiment, the topology acquisition module in the above embodiment can be set on the CDN management platform, the quality detection module can be set on the service router, the indicator calculation module and the decision scheduling module can be set on the CDN scheduling server, the verification module can also be set on the CDN scheduling server, the sending module is set on the user equipment UE, the receiving module can be set on the user management module or the CDN management platform, and the scheduling module can be set on the CDN scheduling server. It should be noted that the various modules in the embodiment of the present disclosure and the various components of the scheduling device in the embodiment of the present disclosure scenario are similar to each other. The corresponding relationship between them is not strictly limited, and the above is only an example, not a specific limitation. In the actual implementation process, a scheduling device with different component arrangements or component naming can be designed according to actual conditions.

CDN管理平台(CDNM):管理本CDN系统内的调度服务器、服务节点等设备资源,自动接收用户管理模块(UMM)同步过来的CDN用户信息(如:用户IP地址段与IP集合、IP集合与BRAS设备的拓扑关系、服务节点与SR设备的拓扑关系),维护用户IP集合与服务节点的调度拓扑关系等业务配置。同时,还负责将各类业务配置同步到调度服务器和网络控制器。CDN Management Platform (CDNM): manages the dispatching servers, service nodes and other equipment resources in the CDN system, automatically receives CDN user information synchronized by the User Management Module (UMM) (such as: the topological relationship between the user IP address segment and IP set, the topological relationship between the IP set and the BRAS device, and the topological relationship between the service node and the SR device), and maintains the dispatching topological relationship between the user IP set and the service node and other service configurations. At the same time, it is also responsible for synchronizing various service configurations to the dispatching server and network controller.

CDN调度服务器(GSLB):负责向CDN服务节点CDNS定时性能采集,获取各服务节点的状态和资源信息。定时访问网络控制器,根据CDN用户IP地址段和调度拓扑,计算获得每个IP集合到服务节点的网络质量。将用户到每个节点的网络质量纳入调度因子,并决策一个最优节点返回给用户终端。CDN Scheduling Server (GSLB): Responsible for collecting performance data from CDN service nodes CDNS regularly, and obtaining the status and resource information of each service node. Regularly access the network controller, and calculate the network quality of each IP set to the service node based on the CDN user IP address segment and scheduling topology. The network quality from the user to each node is included in the scheduling factor, and the optimal node is decided and returned to the user terminal.

CDN服务节点(CDNS):负责接收CDN调度节点GSLB的性能采集请求,并返回采集结果。同时,接收用户终端UE的服务请求,提供媒体服务。CDN service node (CDNS): responsible for receiving performance collection requests from CDN scheduling node GSLB and returning collection results. At the same time, it receives service requests from user terminals UE and provides media services.

宽带接入服务器(BRAS):作为互联网业务的入口,部署在用户端城域网中,与用户IP地址集合相关联。它是接入网和骨干网之间的桥梁,负责对用户身份认证鉴权,牢牢控制着用户的数据进出骨干网。Broadband access server (BRAS): As the entrance to Internet services, it is deployed in the user-side metropolitan area network and is associated with the user's IP address set. It is a bridge between the access network and the backbone network, responsible for user identity authentication and firmly controlling the user's data in and out of the backbone network.

业务路由器(SR):作为专线接入网关,部署在CDN服务节点侧城域网中,接收CDN管理平台的业务配置数据,负责拨测和统计服务节点SR与用户终端BRAS之间的网络质量。Service Router (SR): As a dedicated line access gateway, it is deployed in the metropolitan area network on the CDN service node side, receives service configuration data from the CDN management platform, and is responsible for dialing and measuring the network quality between the service node SR and the user terminal BRAS.

网络控制器集群(NCC):部署在承载网中,接收CDN管理平台同步的CDN业务配置数据,统计各BRAS和关联SR之间的网络质量信息,如:时延-latency(单位ns)、抖动-jitter(单位ns)和丢包-packet Lose(丢包率)信息等。同时,NCC还负责接收CDN调度服务器的网络质量查询请求,并返回各BRAS和SR之间的网络质量信息。此外,它还具有开放路径调优的能力,为CDN业务提供满足服务级别的网络路径。Network Controller Cluster (NCC): Deployed in the bearer network, it receives CDN service configuration data synchronized by the CDN management platform, and collects statistics on network quality information between each BRAS and the associated SR, such as latency (in ns), jitter (in ns), and packet loss (packet loss rate). At the same time, NCC is also responsible for receiving network quality query requests from the CDN scheduling server and returning network quality information between each BRAS and SR. In addition, it also has the ability to open path optimization to provide CDN services with network paths that meet service levels.

用户管理模块(UMM):负责维护宽带用户的开户信息(如用户、IP地址等信息),以及用户端宽带接入服务器、业务路由器的部署信息等,并将CDN业务用户的相关数据同步到CDN管理平台。User Management Module (UMM): responsible for maintaining broadband users' account information (such as user, IP address, etc.), as well as the deployment information of user-side broadband access servers and service routers, and synchronizing relevant data of CDN service users to the CDN management platform.

用户终端(UE):通过向CDN系统中的调度服务器发起重定向请求,获取到最优的服务节点之后,向服务节点请求媒体服务。User terminal (UE): initiates a redirection request to the scheduling server in the CDN system, obtains the optimal service node, and then requests media services from the service node.

根据上述调度装置的框架原理,在本场景实施例中还提供了一种服务资源调度方法,包括如下步骤:According to the framework principle of the above scheduling device, a service resource scheduling method is also provided in this scenario embodiment, including the following steps:

用户管理模块(UMM),用于记录宽带用户的开户信息(如IP地址)、用户端宽带接入服务器、业务路由器的部署信息。将CDN用户IP地址或地址段汇聚成IP集合,并将相关数据同步到CDN管理平台。The User Management Module (UMM) is used to record the account opening information of broadband users (such as IP addresses), the deployment information of user-side broadband access servers and service routers, aggregate CDN user IP addresses or address segments into IP sets, and synchronize relevant data to the CDN management platform.

CDN管理平台(CDNM),自动接收用户管理模块(UMM)的数据同步消息,更新本CDN系统内的调度服务器信息、服务节点信息、网络控制器地址、BRAS和SR设备信息,以及用户IP地址段、调度拓扑关系数据等业务配置。同时,还负责将各类业务配置同步到调度节点和网络控制器。其中,调度拓扑关系数据至少包括:用户IP集合与服务节点的拓扑关系、用户IP集合与BRAS设备的拓扑关系、服务节点与SR设备的拓扑关系等。The CDN management platform (CDNM) automatically receives data synchronization messages from the user management module (UMM) to update the dispatch server information, service node information, network controller address, BRAS and SR equipment information, user IP address segments, dispatch topology relationship data and other service configurations within the CDN system. At the same time, it is also responsible for synchronizing various service configurations to the dispatch nodes and network controllers. Among them, the dispatch topology relationship data at least includes: the topological relationship between the user IP set and the service node, the topological relationship between the user IP set and the BRAS device, the topological relationship between the service node and the SR device, etc.

CDN调度服务器(GSLB)接收CDN管理平台(CDNM)下发的服务节点信息、网络控 制器地址、业务配置数据之后,定时向CDN服务节点采集性能数据,获取各服务节点的状态和资源数据等。同时,定时访问网络控制器,获取各BRAS和各SR设备之间的网络质量数据。根据CDN用户IP地址集合和调度拓扑,计算出各用户IP集合到服务节点的网络质量,将网络质量纳入调度因子,并决策一个最优节点返回给用户终端。The CDN dispatch server (GSLB) receives the service node information and network control information issued by the CDN management platform (CDNM). After receiving the controller address and service configuration data, it collects performance data from the CDN service node regularly to obtain the status and resource data of each service node. At the same time, it regularly accesses the network controller to obtain the network quality data between each BRAS and each SR device. According to the CDN user IP address set and scheduling topology, it calculates the network quality of each user IP set to the service node, incorporates the network quality into the scheduling factor, and decides on an optimal node to return to the user terminal.

宽带接入服务器(BRAS)部署在用户端城域网中,负责对用户身份认证鉴权,将不同区域的用户IP地址集合与不同的BRAS相关联,严格控制着用户的数据进出骨干网。The broadband access server (BRAS) is deployed in the user-side metropolitan area network and is responsible for user identity authentication, associating user IP address sets in different areas with different BRASs, and strictly controlling user data entering and leaving the backbone network.

业务路由器(SR)部署在CDN服务节点侧城域网中,接收CDN管理平台的业务配置数据,负责拨测和统计本SR与服务节点下的用户所在BRAS之间的网络质量。The service router (SR) is deployed in the metropolitan area network on the CDN service node side, receives service configuration data from the CDN management platform, and is responsible for dialing and measuring the network quality between the SR and the BRAS where users under the service node are located.

网络控制器集群(NCC)部署在承载网中,接收CDN管理平台的业务配置数据、以及BRAS和SR的设备信息,向个每SR采集各BRAS与SR之间的网络质量信息(如:时延-latency(单位ns)、抖动-jitter(单位ns)和丢包-packet Lose(丢包率)信息),并作汇总。The network controller cluster (NCC) is deployed in the bearer network. It receives the service configuration data from the CDN management platform and the equipment information of BRAS and SR. It collects the network quality information between each BRAS and SR (such as latency (unit: ns), jitter (unit: ns) and packet loss (packet loss rate) information) and summarizes it.

网络控制器集群(NCC)定时接收CDN调度服务器发起的网络质量查询请求,汇总各BRAS和SR之间的网络质量信息,返回数据给调度服务器。The Network Controller Cluster (NCC) regularly receives network quality query requests initiated by the CDN scheduling server, summarizes the network quality information between each BRAS and SR, and returns the data to the scheduling server.

用户终端(UE)通过向CDN系统中的调度服务器发起302重定向请求,获取到最优的服务节点之后,向服务节点继续请求媒体服务。The user terminal (UE) initiates a 302 redirection request to the scheduling server in the CDN system, obtains the optimal service node, and then continues to request media services from the service node.

场景实施例二Scenario Example 2

根据场景实施例一的调度装置的框架结构,在本场景实施例中,以上述调度装置为执行主体进行方案介绍。According to the framework structure of the scheduling device of the first scenario embodiment, in this scenario embodiment, the solution is introduced with the above-mentioned scheduling device as the execution body.

图10是根据本公开场景实施例的服务资源调度方法的流程图,如图10所示,基于IP网络质量的CDN调度流程包括以下步骤:FIG10 is a flow chart of a service resource scheduling method according to an embodiment of the present disclosure. As shown in FIG10 , the CDN scheduling process based on IP network quality includes the following steps:

步骤S1001,用户管理模块UMM记录宽带用户的开户信息(如用户账号、IP地址)、用户端宽带接入服务器、业务路由器的部署信息。将开通CDN业务的用户IP地址聚合成IP集合,并将用户IP地址集合<用户IP地址段-IP集合>、用户IP集合与BRAS设备的拓扑关系<用户IP集合-BRAS地址>、服务节点与SR设备的拓扑关系<服务节点-SR地址>数据同步至CDN管理平台。Step S1001, the user management module UMM records the account opening information of broadband users (such as user account, IP address), user-side broadband access server, and deployment information of service routers. The IP addresses of users who have activated CDN services are aggregated into IP sets, and the user IP address set <user IP address segment-IP set>, the topological relationship between the user IP set and the BRAS device <user IP set-BRAS address>, and the topological relationship between the service node and the SR device <service node-SR address> data are synchronized to the CDN management platform.

CDNM管理平台自动接收UMM同步过来的<用户IP集合-服务节点>、<用户IP集合-BRAS地址>、<服务节点-SR地址>数据,写入本地数据库中。与用户IP集合与服务节点之间的调度策略,共同作用,生成CDN调度拓扑(如下图表所示)。The CDNM management platform automatically receives the <user IP set-service node>, <user IP set-BRAS address>, <service node-SR address> data synchronized from the UMM and writes them into the local database. Together with the scheduling strategy between the user IP set and the service node, it generates the CDN scheduling topology (as shown in the following figure).

用户IP地址段与IP集合之间的关联关系如表1所示,不同IP地址可包含在同一个IP集合中。The association relationship between the user IP address segment and the IP set is shown in Table 1. Different IP addresses can be included in the same IP set.

表1用户IP地址段与IP集合之间的关联关系
Table 1 The relationship between user IP address segments and IP sets

用户IP集合与CDN服务节点之间的调度拓扑关系如表2所示,不同IP地址集合可关联同一个CDN服务节点。 The scheduling topology relationship between the user IP set and the CDN service node is shown in Table 2. Different IP address sets can be associated with the same CDN service node.

表2用户IP集合与CDN服务节点之间的调度拓扑关系
Table 2 Scheduling topology relationship between user IP sets and CDN service nodes

CDN服务节点与SR设备之间的关联关系如表3所示,不同CDN服务节点可属于同一个SR设备。The association relationship between CDN service nodes and SR devices is shown in Table 3. Different CDN service nodes can belong to the same SR device.

表3 CDN服务节点与SR设备之间的关联关系
Table 3 The relationship between CDN service nodes and SR devices

CDN用户IP集合与BRAS设备之间的关联关系如表4所示,不同的用户IP集合可属于同一个BRAS设备,也可属于不同的BRAS设备。The association relationship between the CDN user IP set and the BRAS device is shown in Table 4. Different user IP sets may belong to the same BRAS device or to different BRAS devices.

表4 CDN用户IP集合与BRAS设备之间的关联关系
Table 4 Association between CDN user IP sets and BRAS devices

步骤S1002,CDNM管理平台,将以上几组调度拓扑数据关联后得到<BRAS地址-SR地址>关联关系,并将该关系数据同步到GSLB、NCC、SR等设备。Step S1002, the CDNM management platform associates the above groups of scheduling topology data to obtain the <BRAS address-SR address> association relationship, and synchronizes the relationship data to GSLB, NCC, SR and other devices.

步骤S1003,SR设备收到CDNM的配置数据之后,定时对BRAS设备长期进行网络质量检测,得到SR与BRAS之间的网络质量矩阵。Step S1003: After receiving the configuration data of the CDNM, the SR device periodically performs long-term network quality detection on the BRAS device to obtain a network quality matrix between the SR and the BRAS.

步骤S1004,NCC接收CDN管理平台的业务配置数据以及BRAS和SR的设备信息之后,定时并向个每SR发起采集。如图11测量模型所示:NCC获取各BRAS与SR之间的网络质量信息,如:时延-latency(单位ns)、抖动-jitter(单位ns)和丢包-packetLose(丢包率)信息等,最终汇总完成各SR与BRAS之间的网络质量检测结果。Step S1004: After receiving the service configuration data from the CDN management platform and the equipment information of the BRAS and SR, the NCC periodically initiates data collection to each SR. As shown in the measurement model of Figure 11: the NCC obtains network quality information between each BRAS and SR, such as latency (in ns), jitter (in ns), and packet loss (packet loss rate), and finally summarizes the network quality detection results between each SR and BRAS.

步骤S1005,GSLB定时向网络控制器NCC发送查询请求,获取BRAS和SR设备之间所有链路的网络质量数据。Step S1005: GSLB periodically sends a query request to the network controller NCC to obtain network quality data of all links between the BRAS and the SR device.

(1)在发送查询请求之前,GSLB首先向网络控制器NCC发送https认证请求,获取合法accessToken。若Token未获取到或者Token已超期,则需要重新向网络控制器获取Token。(1) Before sending a query request, GSLB first sends an https authentication request to the network controller NCC to obtain a valid accessToken. If the token is not obtained or has expired, it is necessary to obtain a token from the network controller again.

GSLB认证请求消息login-info如下所示,其中,user-name为登陆用户名;value为密码信息。

The GSLB authentication request message login-info is as follows, where user-name is the login user name and value is the password information.

NCC认证返回信息login-response如下所示,其中,expires为认证有效期,固定为1800(单位:秒);accessToken为访问令牌。
The NCC authentication return information login-response is as follows, where expires is the authentication validity period, which is fixed at 1800 (unit: seconds); accessToken is the access token.

(2)在获取到合法Token之后,GSLB再向网络控制器NCC查询获取BRAS和SR设备之间的网络质量数据。(2) After obtaining the legal token, GSLB queries the network controller NCC to obtain the network quality data between the BRAS and the SR device.

query-performance-input为GSLB发起的网络质量查询请求消息;其中,srIpAddr为SR设备地址,brasIpAddr为BRAS地址,accessToken为通过认证请求获取到的Token。网络质量查询请求消息编码内容如下:
query-performance-input is a network quality query request message initiated by GSLB; where srIpAddr is the SR device address, brasIpAddr is the BRAS address, and accessToken is the token obtained through the authentication request. The network quality query request message encoding content is as follows:

query-performance-output为NCC返回的网络质量查询响应消息;其中,srIpAddr为SR设备地址;brasIpAddr为BRAS地址;latency、jitter、packetLose分别为网络控制器返回的三个质量数据:时延(单位ns)、抖动(单位ns)、丢包率。网络质量查询响应消息编码内容如 下:
query-performance-output is the network quality query response message returned by the NCC; srIpAddr is the SR device address; brasIpAddr is the BRAS address; latency, jitter, and packetLose are the three quality data returned by the network controller: latency (in ns), jitter (in ns), and packet loss rate. The network quality query response message encoding content is as follows Down:

GSLB从网络控制器采集得到的SR设备与BRAS设备之间的网络质量数据如表5所示,不同用户端的BRAS设备,可对应同一个服务节点端的SR设备。The network quality data between the SR device and the BRAS device collected by GSLB from the network controller is shown in Table 5. The BRAS devices at different user ends can correspond to the SR device at the same service node end.

表5 SR设备与BRAS设备之间的网络质量数据
Table 5 Network quality data between SR equipment and BRAS equipment

步骤S1006,GSLB根据CDN用户IP地址集合和调度拓扑,计算出各用户IP地址集合 到服务节点的网络质量QOS指标值(如下表)。在此拓扑关系下,当同一个CDN服务节点支持多网络平面的用户服务时,针对多网络平面的网络质量,也就可以映射为不同地址集合到同一个服务节点的QOS指标值。Step S1006: GSLB calculates each user's IP address set based on the CDN user IP address set and the scheduling topology. The network quality QOS indicator value to the service node (as shown in the following table). In this topological relationship, when the same CDN service node supports user services on multiple network planes, the network quality of multiple network planes can be mapped to the QOS indicator value of different address sets to the same service node.

GSLB关联调度拓扑与网络质量矩阵如表6所示,得到每个用户IP地址或地址段,与不同CDN服务节点之间的QOS指标值。The GSLB associated scheduling topology and network quality matrix are shown in Table 6, and the QOS indicator value between each user IP address or address segment and different CDN service nodes is obtained.

表6 GSLB关联调度拓扑与网络质量矩阵
Table 6 GSLB associated scheduling topology and network quality matrix

示例:QOS计算方法:QOS=ln[(latency/标准)]*时延权重+ln[(jitter/标准)]*抖动权重+ln[(packetLose/标准)]*丢包率权重。Example: QOS calculation method: QOS = ln[(latency/standard)]*delay weight + ln[(jitter/standard)]*jitter weight + ln[(packetLose/standard)]*packet loss rate weight.

其中,时延权重+抖动权重+丢包率权重=1。Among them, delay weight + jitter weight + packet loss rate weight = 1.

网络标准:时延100ms,抖动40ms,丢包1%,为通过大数据分析得到的标准值,参数值可配。Network standards: latency 100ms, jitter 40ms, and packet loss 1%. These are standard values obtained through big data analysis and are configurable.

结果:QOS<0则说明网络质量较好,QOS>0则说明网络质量比标准差。Result: QOS<0 means the network quality is good, QOS>0 means the network quality is worse than the standard.

步骤S1007,用户终端UE通过向CDN系统中的GSLB发起302重定向请求。Step S1007, the user terminal UE initiates a 302 redirection request to the GSLB in the CDN system.

步骤S1008,GSLB根据用户IP所在的地址段,获取到所关联的CDN服务节点列表,将网络质量QOS指标值纳入调度决策选项,决策一个QOS最小、剩余资源最多的最优节点返回给用户终端。Step S1008, GSLB obtains the list of associated CDN service nodes according to the address segment where the user IP is located, incorporates the network quality QOS indicator value into the scheduling decision options, and determines an optimal node with the minimum QOS and the most remaining resources and returns it to the user terminal.

步骤S1009,用户终端获取到最优的服务节点信息之后,向服务节点继续请求媒体服务。Step S1009: After obtaining the optimal service node information, the user terminal continues to request media services from the service node.

步骤S1010,服务节点收到用户服务请求,提供媒体服务。Step S1010: The service node receives a user service request and provides a media service.

场景实施例三Scenario Example 3

图12是根据本公开场景实施例的基于调度路径的网络质量动态优化的方法原理图,如图12所示,为了能够更加体现本公开实施例的目的,在本公开第一实施例的基础上,还提出了一种基于调度路径进行网络质量动态优化的方法,可作为图10所示的实施例的扩展,能够依据各用户IP集合到各节服务点的真实的业务情况,及时调整最优链路的网络质量,合理分配带宽资源。可以包括以下步骤:FIG12 is a schematic diagram of a method for dynamically optimizing network quality based on a scheduling path according to an embodiment of the present disclosure scenario. As shown in FIG12 , in order to better reflect the purpose of the present disclosure embodiment, a method for dynamically optimizing network quality based on a scheduling path is also proposed on the basis of the first embodiment of the present disclosure, which can be used as an extension of the embodiment shown in FIG10 , and can timely adjust the network quality of the optimal link and reasonably allocate bandwidth resources according to the actual business situation of each user IP set to each node service point. The following steps may be included:

步骤S1201,用户管理模块UMM记录宽带用户的开户信息(如IP地址)、用户端宽带接入服务器、业务路由器的部署信息。将开通CDN业务的用户IP地址聚合成IP集合,并将<用户IP地址段-IP集合>、<用户IP集合-BRAS地址>、<服务节点-SR地址>拓扑关系数据同步至CDN管理平台。Step S1201, the user management module UMM records the broadband user's account opening information (such as IP address), the user-side broadband access server, and the deployment information of the service router. The user IP addresses that have activated the CDN service are aggregated into an IP set, and the topological relationship data of <user IP address segment-IP set>, <user IP set-BRAS address>, and <service node-SR address> are synchronized to the CDN management platform.

CDNM管理平台自动接收UMM同步过来的<用户IP地址段-IP集合>、<用户IP集合-BRAS地址>、<服务节点-SR地址>数据,写入本地数据库中。The CDNM management platform automatically receives the <user IP address segment-IP set>, <user IP set-BRAS address>, and <service node-SR address> data synchronized from the UMM and writes them into the local database.

步骤S1202,CDNM管理平台将从UMM自动接收的用户网络信息,与本地调度策略<用户IP集合-服务节点>共同作用,生成CDN调度拓扑,得到<BRAS地址-SR地址>关联关系,并将该关系数据同步到GSLB、NCC、SR等设备。 In step S1202, the CDNM management platform combines the user network information automatically received from the UMM with the local scheduling strategy <user IP set-service node> to generate a CDN scheduling topology, obtain the <BRAS address-SR address> association relationship, and synchronize the relationship data to GSLB, NCC, SR and other devices.

步骤S1203,SR设备收到CDNM的配置数据之后,定时对BRAS设备长期进行网络质量检测,得到SR与BRAS之间的网络质量矩阵。Step S1203: After receiving the configuration data of CDNM, the SR device periodically performs long-term network quality detection on the BRAS device to obtain a network quality matrix between the SR and the BRAS.

步骤S1204,NCC接收CDN管理平台的业务配置数据以及BRAS和SR的设备信息之后,定时并向个每SR发起采集,获取各BRAS与SR之间的网络质量信息,如:时延-latency(单位ns)、抖动-jitter(单位ns)和丢包-packetLose(丢包率)信息等,最终汇总完成各SR与BRAS之间的网络质量检测结果。In step S1204, after the NCC receives the service configuration data from the CDN management platform and the equipment information of the BRAS and SR, it periodically initiates collection to each SR to obtain the network quality information between each BRAS and SR, such as: latency (unit ns), jitter (unit ns) and packet loss (packet loss rate) information, etc., and finally summarizes the network quality detection results between each SR and BRAS.

步骤S1205,GSLB定时向网络控制器NCC发送查询请求,获取BRAS和SR设备之间所有链路的网络质量数据。(查询接口如第一实施例中,步骤S1006)Step S1205: GSLB periodically sends a query request to the network controller NCC to obtain network quality data of all links between the BRAS and the SR device. (The query interface is the same as step S1006 in the first embodiment)

步骤S1206,GSLB根据CDN用户IP地址段和调度拓扑,计算出各用户IP地址段到服务节点的网络质量QOS指标值。Step S1206, GSLB calculates the network quality QOS index value from each user IP address segment to the service node according to the CDN user IP address segment and scheduling topology.

步骤S1207,用户终端UE通过向CDN系统中的GSLB发起302重定向请求。Step S1207, the user terminal UE initiates a 302 redirection request to the GSLB in the CDN system.

步骤S1208,GSLB根据用户IP所在的地址段,获取到所关联的CDN服务节点列表,将网络质量QOS指标值纳入调度决策选项,决策一个QOS最小,剩余资源最多的最优节点返回给用户终端。Step S1208, GSLB obtains the list of associated CDN service nodes according to the address segment where the user IP is located, incorporates the network quality QOS indicator value into the scheduling decision options, and determines the optimal node with the minimum QOS and the most remaining resources and returns it to the user terminal.

步骤S1209,GSLB统计一定时间范围内的调度结果,若发现调度策略范围内存在最优节点的网络质量依旧较差时,则主动向控制器发起网络优化请求,携带目标SR与源BRAS的地址列表。Step S1209, GSLB counts the scheduling results within a certain time range. If it is found that the network quality of the optimal node within the scheduling policy range is still poor, it will actively initiate a network optimization request to the controller, carrying the address list of the target SR and the source BRAS.

update-performance-input为GSLB发起的网络质量更新请求消息;其中,srIpAddr为SR设备地址,brasIpAddr为BRAS地址,accessToken为通过认证请求获取到的Token。latency、jitter、packetLose分别为当前的三个质量数据:时延(单位ns)、抖动(单位ns)、丢包率。网络质量更新请求消息编码内容如下:

update-performance-input is a network quality update request message initiated by GSLB; srIpAddr is the SR device address, brasIpAddr is the BRAS address, and accessToken is the token obtained through the authentication request. latency, jitter, and packetLose are the three current quality data: latency (unit ns), jitter (unit ns), and packet loss rate. The network quality update request message encoding content is as follows:

update-performance-output为NCC返回的网络质量更新响应消息;其中,srIpAddr为SR设备地址;brasIpAddr为BRAS地址;latency、jitter、packetLose分别为网络控制器调整带宽配置之后的质量数据:时延(单位ns)、抖动(单位ns)、丢包率。网络质量更新响应消息编码内容如下:
update-performance-output is the network quality update response message returned by NCC; srIpAddr is the SR device address; brasIpAddr is the BRAS address; latency, jitter, and packetLose are the quality data after the network controller adjusts the bandwidth configuration: latency (in ns), jitter (in ns), and packet loss rate. The network quality update response message encoding content is as follows:

步骤S1210,网络控制器NCC收到CDN网络优化请求之后,向SR与BRAS发送网络参数调优指令,调整网络带宽配置。Step S1210: After receiving the CDN network optimization request, the network controller NCC sends a network parameter tuning instruction to the SR and BRAS to adjust the network bandwidth configuration.

步骤S1211,网络控制器重新采集,获取调优后的网络质量结果。 Step S1211: The network controller re-collects data to obtain the optimized network quality result.

步骤S1212,网络控制器返回调优结果给GSLB。Step S1212: The network controller returns the tuning result to GSLB.

步骤S1213,GSLB重新计算网络质量QOS指标值,在处理后续调度请求时,依据新的网络质量指标计算最优节点。Step S1213, GSLB recalculates the network quality QOS index value, and calculates the optimal node based on the new network quality index when processing subsequent scheduling requests.

步骤S1214,用户终端UE通过向CDN系统中的GSLB发起302重定向请求。Step S1214: the user terminal UE initiates a 302 redirection request to the GSLB in the CDN system.

步骤S1215,GSLB根据用户IP所在的地址段,获取到所关联的CDN服务节点列表,依据新的网络质量指标决策一个最优节点返回给用户终端。Step S1215, GSLB obtains the list of associated CDN service nodes according to the address segment where the user IP is located, and decides an optimal node based on the new network quality indicator and returns it to the user terminal.

步骤S1216,用户终端获取到最优的服务节点之后,向服务节点继续请求媒体服务。Step S1216: After obtaining the optimal service node, the user terminal continues to request media services from the service node.

步骤S1217,服务节点收到用户服务请求,提供媒体服务。Step S1217: The service node receives the user service request and provides media service.

综上,本公开实施例提供了一种服务资源的调度方法及装置,首先,通过打通CDN子系统与承载网之间的业务接口,将CDN调度系统与承载网融合,调度策略与网络信息互通,可增强CDN架构的可靠性。其次,在CDN全局调度机制中增加网络控制器NCC传递的网络质量信息,为用户选择资源最优、网络最优的CDN节点提供服务,可优化服务质量,从资源和网络两方面均衡CDN节点负载,提升CDN业务的质量保障。再次,承载网开放路径调优能力,为CDN业务提供满足服务需求的网络路径,如:可通过对本区域内各路径的带宽配置进行集中编排、动态调整等策略,对拥塞、故障链路做出调优,提升CDN网络整体的带宽利用率。此外,CDN管理系统还可以基于网络控制器传递的流量统计信息,结合CDN业务吞吐信息,实现网络信息参与CDN负载分配,对CDN资源进行动态调整和预测,释放或增容服务器资源,减少资源浪费。In summary, the disclosed embodiment provides a method and device for scheduling service resources. First, by opening up the service interface between the CDN subsystem and the bearer network, the CDN scheduling system is integrated with the bearer network, and the scheduling strategy and network information are interconnected, which can enhance the reliability of the CDN architecture. Secondly, by adding the network quality information transmitted by the network controller NCC in the CDN global scheduling mechanism, the user can select the CDN node with the best resources and the best network to provide services, which can optimize the service quality, balance the CDN node load from the two aspects of resources and network, and improve the quality assurance of CDN services. Thirdly, the bearer network opens the path tuning capability to provide the CDN service with a network path that meets the service requirements, such as: by centrally arranging and dynamically adjusting the bandwidth configuration of each path in the region, the congested and faulty links can be optimized to improve the overall bandwidth utilization of the CDN network. In addition, the CDN management system can also realize the participation of network information in CDN load distribution based on the traffic statistics information transmitted by the network controller and the CDN service throughput information, dynamically adjust and predict CDN resources, release or increase the capacity of server resources, and reduce resource waste.

采用本公开实施例所公开的方法构建的CDN调度系统,将CDN系统的调度策略配置与承载网的网络信息相互融合,以网辅算增强了CDN系统在节点选择、资源均衡等方面的能力,优化了全局调度算法,能够兼顾到所有用户IP集合与其归属节点之间的网络质量(也可以包括同一节点多网络平面场景的用户调度),可从节点资源和网络环境两方面均衡CDN节点负载,提升CDN系统的服务质量和整体的带宽利用率。本公开实施例公开的基于IP网络质量的CDN调度系统和方法也可以扩展应用到互联网中其他业务领域,如VCDN虚拟节点的动态扩缩容、网络质量的预测等等。The CDN scheduling system constructed by the method disclosed in the embodiment of the present disclosure integrates the scheduling policy configuration of the CDN system with the network information of the bearer network, and enhances the CDN system's capabilities in node selection, resource balancing, etc. with network-assisted computing, optimizes the global scheduling algorithm, and can take into account the network quality between all user IP sets and their affiliated nodes (it can also include user scheduling in multi-network plane scenarios of the same node), and can balance the CDN node load from both node resources and network environment aspects, thereby improving the service quality and overall bandwidth utilization of the CDN system. The CDN scheduling system and method based on IP network quality disclosed in the embodiment of the present disclosure can also be extended to other business areas in the Internet, such as dynamic expansion and contraction of VCDN virtual nodes, prediction of network quality, etc.

以上所述仅为本公开实施例的优选实施例而已,并不用于限制本公开实施例,对于本领域的技术人员来说,本公开实施例可以有各种更改和变化。凡在本公开实施例的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开实施例的保护范围之内。 The above description is only a preferred embodiment of the present disclosure, and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims (15)

一种服务资源的调度方法,包括:A method for scheduling service resources, comprising: 获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据所述调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;Acquire a scheduling topology relationship between a user terminal UE and a content scheduling network CDN, and acquire a topology relationship between a broadband access server BRAS and a service router SR according to the scheduling topology relationship; 根据所述BRAS与SR的所述拓扑关系,采集所述BRAS和所述SR的网络质量信息,并获得网络质量检测结果;According to the topological relationship between the BRAS and the SR, network quality information of the BRAS and the SR is collected, and a network quality detection result is obtained; 根据所述网络质量检测结果,计算所述UE与所述CDN网络的服务节点的网络质量指标QOS;Calculating a network quality indicator QOS between the UE and the service node of the CDN network according to the network quality detection result; 根据所述QOS指标值决策选取最优服务节点,基于所述最优服务节点对所述UE的服务资源进行调度。An optimal service node is selected according to the QOS indicator value, and service resources of the UE are scheduled based on the optimal service node. 根据权利要求1所述的方法,其中,所述获取用户终端UE与内容调度网络CDN的调度拓扑关系,包括:The method according to claim 1, wherein the obtaining the scheduling topology relationship between the user terminal UE and the content scheduling network CDN comprises: 根据所述CDN网络的服务节点与所述UE的调度策略获取所述调度拓扑关系,其中,所述调度拓扑关系包括以下至少之一:所述UE的IP地址与所述UE的IP集合的关联关系、所述UE的IP集合与所述服务节点的关联关系、所述服务节点与所述SR的关联关系、所述UE的IP集合与所述BRAS的关联关系。The scheduling topology relationship is obtained according to the scheduling strategy between the service node of the CDN network and the UE, wherein the scheduling topology relationship includes at least one of the following: an association relationship between the IP address of the UE and the IP set of the UE, an association relationship between the IP set of the UE and the service node, an association relationship between the service node and the SR, and an association relationship between the IP set of the UE and the BRAS. 根据权利要求1所述的方法,其中,在所述根据网络质量检测结果,计算所述UE与所述CDN网络的服务节点的网络质量指标QOS之前,所述方法还包括:The method according to claim 1, wherein, before calculating the network quality indicator QOS between the UE and the service node of the CDN network according to the network quality detection result, the method further comprises: 所述CDN网络的调度服务器验证所述网络质量检测结果的访问权限,若验证通过,则获取所述网络质量检测结果;若验证未通过,则重新获取所述访问权限。The scheduling server of the CDN network verifies the access right to the network quality detection result, and if the verification is successful, obtains the network quality detection result; if the verification is unsuccessful, re-obtains the access right. 根据权利要求1所述的方法,其中,所述网络质量检测结果包括以下至少之一:时延检测信息;抖动检测信息;丢包率检测信息。The method according to claim 1, wherein the network quality detection result includes at least one of the following: delay detection information; jitter detection information; packet loss rate detection information. 根据权利要求4所述的方法,其中,所述根据网络质量检测结果,计算所述UE与所述CDN网络的服务节点的网络质量指标QOS,包括:The method according to claim 4, wherein the calculating, according to the network quality detection result, a network quality indicator QOS between the UE and the service node of the CDN network comprises: 根据所述时延检测信息、所述抖动检测信息、所述丢包率检测信息进行加权运算,获得所述QOS指标值。A weighted calculation is performed according to the delay detection information, the jitter detection information, and the packet loss rate detection information to obtain the QOS index value. 根据权利要求1所述的方法,其中,在所述根据QOS指标值决策选取最优服务节点之前,所述方法还包括:The method according to claim 1, wherein, before selecting the optimal service node according to the QOS indicator value, the method further comprises: 所述UE向所述CDN网络的调度服务器发送重定向请求。The UE sends a redirection request to the scheduling server of the CDN network. 根据权利要求1所述的方法,其中,所述根据QOS指标值决策选取最优服务节点,包括:The method according to claim 1, wherein the step of selecting the optimal service node according to the QOS indicator value comprises: 根据所述QOS指标值和所述服务节点的剩余服务资源,决策选择所述QOS指标值最小且所述剩余服务资源最多的服务节点作为所述最优服务节点。 According to the QOS indicator value and the remaining service resources of the service node, a decision is made to select the service node with the smallest QOS indicator value and the largest remaining service resources as the optimal service node. 根据权利要求1所述的方法,其中,在根据所述QOS指标值决策选取最优服务节点之后,所述方法还包括:The method according to claim 1, wherein after selecting the optimal service node according to the QOS indicator value, the method further comprises: 检测指定链路的所述网络质量检测结果,在所述指定链路的所述网络质量检测结果没有达到预设阈值的情况下,控制所述BRAS和所述SR调整网络参数,以优化所述指定链路的所述网络质量检测结果。Detect the network quality detection result of the designated link, and when the network quality detection result of the designated link does not reach a preset threshold, control the BRAS and the SR to adjust network parameters to optimize the network quality detection result of the designated link. 根据权利要求1所述的方法,其中,所述基于最优服务节点对所述UE的服务资源进行调度,包括:The method according to claim 1, wherein the scheduling of service resources of the UE based on the optimal service node comprises: 所述最优服务节点接收所述UE的服务请求信息;The optimal service node receives service request information of the UE; 所述最优服务节点向所述UE提供服务资源。The optimal serving node provides serving resources to the UE. 一种服务资源的调度装置,包括:A scheduling device for service resources, comprising: 拓扑获取模块,设置为获取用户终端UE与内容调度网络CDN的调度拓扑关系,根据所述调度拓扑关系获取宽带接入服务器BRAS与业务路由器SR的拓扑关系;A topology acquisition module, configured to acquire a scheduling topology relationship between a user terminal UE and a content scheduling network CDN, and acquire a topology relationship between a broadband access server BRAS and a service router SR according to the scheduling topology relationship; 质量检测模块,设置为根据所述BRAS与SR的所述拓扑关系,采集所述BRAS和所述SR的网络质量信息,并获得网络质量检测结果;A quality detection module, configured to collect network quality information of the BRAS and the SR according to the topological relationship between the BRAS and the SR, and obtain a network quality detection result; 指标计算模块,设置为根据所述网络质量检测结果,计算所述UE与所述CDN网络的服务节点的网络质量指标QOS;An indicator calculation module, configured to calculate a network quality indicator QOS between the UE and the service node of the CDN network according to the network quality detection result; 决策调度模块,设置为根据所述QOS指标值决策选取最优服务节点,基于所述最优服务节点对所述UE的服务资源进行调度。The decision-making and scheduling module is configured to select an optimal service node according to the QOS indicator value, and schedule the service resources of the UE based on the optimal service node. 根据权利要求10所述的装置,其中,还包括:The device according to claim 10, further comprising: 验证模块,设置于所述CDN网络的调度服务器,设置为验证所述网络质量检测结果的访问权限,若验证通过,则获取所述网络质量检测结果并发送至所述指标计算模块;若验证未通过,则重新获取所述访问权限。The verification module is set in the scheduling server of the CDN network and is configured to verify the access rights of the network quality detection result. If the verification is successful, the network quality detection result is obtained and sent to the indicator calculation module; if the verification fails, the access rights are re-acquired. 根据权利要求10所述的装置,其中,还包括:The device according to claim 10, further comprising: 发送模块,设置于所述UE,设置为向所述CDN网络的调度服务器发送重定向请求。The sending module is arranged in the UE and is configured to send a redirection request to the scheduling server of the CDN network. 根据权利要求10所述的装置,其中,还包括:The device according to claim 10, further comprising: 接收模块,设置为接收所述UE的服务请求信息;A receiving module, configured to receive service request information of the UE; 调度模块,设置为向所述UE提供服务资源。The scheduling module is configured to provide service resources to the UE. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被处理器执行时实现所述权利要求1至10任一项中所述的方法。A computer-readable storage medium having a computer program stored therein, wherein the computer program implements the method described in any one of claims 1 to 10 when executed by a processor. 一种电子装置,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述权利要求1至10任一项中所述。 An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of claims 1 to 10 when executing the computer program.
PCT/CN2023/132408 2022-12-21 2023-11-17 Service resource scheduling method and apparatus Ceased WO2024131402A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211649540.3 2022-12-21
CN202211649540.3A CN118233521A (en) 2022-12-21 2022-12-21 Service resource scheduling method and device

Publications (1)

Publication Number Publication Date
WO2024131402A1 true WO2024131402A1 (en) 2024-06-27

Family

ID=91511783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/132408 Ceased WO2024131402A1 (en) 2022-12-21 2023-11-17 Service resource scheduling method and apparatus

Country Status (2)

Country Link
CN (1) CN118233521A (en)
WO (1) WO2024131402A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119299522A (en) * 2024-10-18 2025-01-10 中国人民解放军91977部队 Server group control method, device, electronic device, storage medium and platform
CN119621520A (en) * 2025-02-14 2025-03-14 广州七喜电脑有限公司 Intelligent optimization method and system for server hardware resources based on adaptive neural network
CN119922107A (en) * 2025-01-23 2025-05-02 中国联合网络通信集团有限公司 BRAS equipment resource monitoring and service scheduling method and system
CN120540860A (en) * 2025-07-23 2025-08-26 江苏未来网络集团有限公司 An intelligent elastic computing network scheduling method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754640A (en) * 2013-12-26 2015-07-01 中国移动通信集团公司 Network resource scheduling method and network resource management server
CN107786620A (en) * 2016-08-31 2018-03-09 华为技术有限公司 A kind of method, terminal and server for obtaining resource
US20200136920A1 (en) * 2019-12-20 2020-04-30 Kshitij Arun Doshi End-to-end quality of service in edge computing environments
CN111327539A (en) * 2018-12-17 2020-06-23 中国移动通信集团福建有限公司 Service scheduling method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754640A (en) * 2013-12-26 2015-07-01 中国移动通信集团公司 Network resource scheduling method and network resource management server
CN107786620A (en) * 2016-08-31 2018-03-09 华为技术有限公司 A kind of method, terminal and server for obtaining resource
CN111327539A (en) * 2018-12-17 2020-06-23 中国移动通信集团福建有限公司 Service scheduling method, device and equipment
US20200136920A1 (en) * 2019-12-20 2020-04-30 Kshitij Arun Doshi End-to-end quality of service in edge computing environments

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119299522A (en) * 2024-10-18 2025-01-10 中国人民解放军91977部队 Server group control method, device, electronic device, storage medium and platform
CN119922107A (en) * 2025-01-23 2025-05-02 中国联合网络通信集团有限公司 BRAS equipment resource monitoring and service scheduling method and system
CN119621520A (en) * 2025-02-14 2025-03-14 广州七喜电脑有限公司 Intelligent optimization method and system for server hardware resources based on adaptive neural network
CN120540860A (en) * 2025-07-23 2025-08-26 江苏未来网络集团有限公司 An intelligent elastic computing network scheduling method and system

Also Published As

Publication number Publication date
CN118233521A (en) 2024-06-21

Similar Documents

Publication Publication Date Title
WO2024131402A1 (en) Service resource scheduling method and apparatus
US11758416B2 (en) System and method of network policy optimization
EP3382963B1 (en) Method and system for self-adaptive bandwidth control for cdn platform
CN103369601B (en) For cell-phone customer terminal provides the method for large concurrent processing and flow control
EP2704402B1 (en) Method and node for distributing electronic content in a content distribution network
EP2858325B1 (en) Multi-stream service concurrent transmission method, sub-system, system and multi-interface terminal
CN112087382B (en) Service routing method and device
JPWO2003007160A1 (en) Mobile communication system and communication method
CN102469015B (en) Realize method and device, the system of relay selection
US20030095526A1 (en) Cell level congestion policy management
WO2011157173A2 (en) Route decision method, content delivery apparatus and content delivery network interconnection system
CN104158684A (en) Gateway equipment state tracking method based on open intelligent gateway platform
Park et al. Smart base station-assisted partial-flow device-to-device offloading system for video streaming services
WO2024098815A1 (en) Data transmission processing method and device, storage medium, and electronic device
WO2022116665A1 (en) Method and system for adjusting tcp flow
WO2025161325A1 (en) Model training method and system, communication entity and storage medium
US20070087751A1 (en) Method for determining if a handover procedure of a mobile terminal has to be executed
CN102904916B (en) Set up the method for point-to-point communication, index server and system
CN101964741A (en) Method and equipment for sending node list
Yeznabad et al. Cross-layer joint optimization algorithm for adaptive video streaming in mec-enabled wireless networks
Han et al. Streaming video optimization in mobile communications
CN116847412A (en) Slice load assessment method, device, management data analysis function network element and media
CN106686034B (en) CDN scheduling enhancement method, device and system
Arunachalam et al. A session-based cross-layer approach for seamless connectivity in next-generation mobile networks
CN115379016A (en) Resource access method, access service platform, device, equipment and storage medium

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: 23905571

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: 23905571

Country of ref document: EP

Kind code of ref document: A1