[go: up one dir, main page]

CN116996506A - Scheduling methods, equipment and storage media - Google Patents

Scheduling methods, equipment and storage media Download PDF

Info

Publication number
CN116996506A
CN116996506A CN202310696462.0A CN202310696462A CN116996506A CN 116996506 A CN116996506 A CN 116996506A CN 202310696462 A CN202310696462 A CN 202310696462A CN 116996506 A CN116996506 A CN 116996506A
Authority
CN
China
Prior art keywords
line
bandwidth
lines
operator
multiple operators
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.)
Granted
Application number
CN202310696462.0A
Other languages
Chinese (zh)
Other versions
CN116996506B (en
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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202310696462.0A priority Critical patent/CN116996506B/en
Publication of CN116996506A publication Critical patent/CN116996506A/en
Application granted granted Critical
Publication of CN116996506B publication Critical patent/CN116996506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • 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/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Landscapes

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

Abstract

The embodiment of the application provides a scheduling method, scheduling equipment and a storage medium. The cloud desktop service system is connected with single-line lines of a plurality of operators, on one hand, the cost of the cloud desktop service can be reduced based on the low cost of the single-line lines, and on the other hand, high-quality cloud desktop access service can be provided for users of different operators based on the single-line lines of the operators, so that the cloud desktop service is lower in cost and smoother. When the target server is accessed through the cloud desktop, single-line lines of a plurality of operators are scheduled according to a bandwidth balancing strategy, and the utilization rate of the existing downlink bandwidth resources can be improved by balancing the uplink bandwidth peak value and the downlink bandwidth peak value of a single operator, so that peak clipping and valley filling of the outlet bandwidth consumption are realized among different operators, and the overall bandwidth cost is further reduced.

Description

调度方法、设备及存储介质Scheduling methods, equipment and storage media

技术领域Technical field

本申请涉及云智能技术领域,尤其涉及一种调度方法、设备及存储介质。This application relates to the field of cloud intelligence technology, and in particular to a scheduling method, equipment and storage medium.

背景技术Background technique

随着云计算的发展,云计算平台可提供无影云桌面服务。无影云桌面,是一种公共云上桌面服务,它支持快速便捷的桌面环境创建、部署、统一管控与运维,可广泛应用于具有高数据安全管控、高性能计算等要求的安全办公、金融、设计、影视、教育等领域。在一些现有技术中,云计算平台通常基于BGP(Border Gateway Protocol,边界网关协议)向用户提供无影云桌面的访问服务以及基于无影云桌面访问互联网的服务。云服务厂商可基于BGP协议,同时对接多个运营商线路,并提供一种多线汇聚传输带宽服务。访问BGP带宽类型的服务站点时,不同运营商内的用户可以根据BGP协议直接通过当前运营商的骨干网接入服务机房,无需进行跨运营商调度。但是,BGP带宽的价格昂贵,基于BGP带宽提供无影云桌面服务具有较高的价格成本。因此,有待提出一种新的解决方案。With the development of cloud computing, cloud computing platforms can provide shadowless cloud desktop services. Wuying Cloud Desktop is a desktop service on the public cloud. It supports fast and convenient desktop environment creation, deployment, unified management, control and operation and maintenance. It can be widely used in secure offices and offices with high data security control, high-performance computing and other requirements. Finance, design, film and television, education and other fields. In some existing technologies, cloud computing platforms usually provide users with access services to the Shadowless Cloud Desktop based on BGP (Border Gateway Protocol) and services to access the Internet based on the Shadowless Cloud Desktop. Cloud service vendors can simultaneously connect multiple operator lines based on the BGP protocol and provide a multi-line aggregation transmission bandwidth service. When accessing BGP bandwidth type service sites, users within different operators can directly access the service computer room through the current operator's backbone network according to the BGP protocol, without the need for cross-operator scheduling. However, BGP bandwidth is expensive, and providing shadowless cloud desktop services based on BGP bandwidth has a high price cost. Therefore, a new solution needs to be proposed.

发明内容Contents of the invention

本申请的多个方面提供一种调度方法、设备及存储介质,用以降低无影云桌面服务的价格成本。Various aspects of this application provide a scheduling method, equipment and storage medium to reduce the price and cost of the Shadowless Cloud Desktop service.

本申请实施例提供一种调度方法,包括:确定终端的访问请求,所述访问请求用于通过云桌面访问目标服务器;所述云桌面通过多个运营商的单线线路中的第一线路与终端连接;根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路;所述带宽均衡策略,用于均衡运营商的上下行带宽峰值;通过所述第二线路向所述目标服务器发送所述访问请求,以使所述目标服务器通过所述第二线路返回请求数据。Embodiments of the present application provide a scheduling method, including: determining an access request of a terminal, the access request being used to access a target server through a cloud desktop; the cloud desktop communicates with the terminal through a first line among single lines of multiple operators Connect; determine a second line from the single lines of the multiple operators according to the bandwidth equalization strategy; the bandwidth equalization strategy is used to equalize the uplink and downlink bandwidth peaks of the operators; send the target to the target through the second line The server sends the access request so that the target server returns request data through the second line.

可选地,所述带宽均衡策略,包括:入口线路与出口线路的运营商一致策略;根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路,包括:确定所述第一线路所属的第一运营商,作为入口线路的运营商;从所述多个运营商的单线线路中,选择属于所述第一运营商的出口线路,作为所述第二线路。Optionally, the bandwidth balancing strategy includes: an operator-consistent strategy for ingress lines and egress lines; determining a second line from single lines of multiple operators according to the bandwidth balancing strategy includes: determining the third line The first operator to which a line belongs serves as the operator of the entrance line; from the single lines of the multiple operators, the exit line belonging to the first operator is selected as the second line.

可选地,所述带宽均衡策略,包括:运营商的上下行带宽峰值一致策略;根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路,包括:根据所述多个运营商的上下行带宽峰值,获取所述多个运营商的单线线路的下行带宽可用量;根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率;所述出口方向为所述云桌面访问外部互联网的方向;根据所述多个运营商的单线线路在出口方向上的调度命中概率,从所述多个运营商的单线线路中确定第二线路。Optionally, the bandwidth balancing strategy includes: an operator's uplink and downlink bandwidth peak consistency strategy; determining the second line from the single lines of the multiple operators according to the bandwidth balancing strategy includes: according to the multiple operators The peak uplink and downlink bandwidth of the operator is used to obtain the available downlink bandwidth of the single-line lines of the multiple operators; and the single-line lines of the multiple operators are determined based on the available downlink bandwidth of the single-line lines of the multiple operators. The scheduling hit probability in the egress direction; the egress direction is the direction in which the cloud desktop accesses the external Internet; according to the scheduling hit probability of the single-line lines of the multiple operators in the egress direction, the scheduling hit probability from the multiple operators Determine the second line among the single line lines.

可选地,获取多个运营商的单线线路的下行带宽可用量,包括:针对任一运营商的单线线路,获取所述单线线路在入口方向上的上行带宽峰值以及在所述出口方向上的下行带宽峰值;根据所述单线线路在入口方向上的上行带宽峰值以及在所述出口方向上的下行带宽峰值,确定所述单线线路的上下行带宽峰值的差值;所述入口方向,为所述云桌面接收终端访问的方向;根据所述单线线路的上下行带宽峰值的差值,确定所述单线线路的下行带宽可用量。Optionally, obtaining the available downlink bandwidth of single-line lines of multiple operators includes: for any single-line line of any operator, obtaining the peak uplink bandwidth of the single-line line in the ingress direction and the egress direction. The peak value of the downlink bandwidth; the difference between the peak value of the uplink and downlink bandwidth of the single-line line is determined based on the peak value of the uplink bandwidth of the single-line line in the inlet direction and the peak value of the downlink bandwidth in the egress direction; the inlet direction is the The cloud desktop receives the direction of terminal access; and determines the available downlink bandwidth of the single-line line based on the difference between the uplink and downlink bandwidth peak values of the single-line line.

可选地,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率,包括:按照下行带宽可用量与调度命中概率正相关的关系,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路的调度命中概率。Optionally, determining the scheduling hit probability of the single-line lines of the multiple operators in the egress direction according to the available downlink bandwidth of the single-line lines of the multiple operators includes: according to the available downlink bandwidth and the scheduling hit probability There is a positive correlation, and the scheduling hit probability of the single lines of the multiple operators is determined based on the available downlink bandwidth of the single lines of the multiple operators.

可选地,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率之后,还包括:确定所述目标服务器所在的第二运营商;所述第二运营商属于所述多个运营商;根据所述多个运营商的单线线路在出口方向上的调度命中概率,从所述多个运营商的单线线路中确定第二线路,包括:根据所述多个运营商的单线线路的调度命中概率,判断所述第二运营商的单线线路的调度命中概率是否满足设定条件;若为是,则将所述第二运营商的单线线路作为所述第二线路。Optionally, after determining the scheduling hit probability of the single-line lines of the multiple operators in the egress direction according to the available downlink bandwidth of the single-line lines of the multiple operators, the method further includes: determining where the target server is located. The second operator; the second operator belongs to the multiple operators; determined from the single lines of the multiple operators according to the scheduling hit probability of the single lines of the multiple operators in the egress direction. The second line includes: judging whether the scheduling hit probability of the single line line of the second operator satisfies the set condition according to the scheduling hit probability of the single line line of the multiple operators; if yes, then sending the first line to the second line. The second operator's single line line serves as the second line.

可选地,接收终端通过第一线路发送的访问请求之前,还包括:将所述多个运营商的单线线路对应的多个接入点地址提供给所述终端,以使所述终端向所述多个接入点地址发送质量探测数据并根据质量探测的结果选择所述第一线路。Optionally, before receiving the access request sent by the terminal through the first line, the method further includes: providing multiple access point addresses corresponding to the single-line lines of the multiple operators to the terminal, so that the terminal The multiple access point addresses send quality detection data and select the first line according to the results of the quality detection.

可选地,接收终端通过第一线路发送的访问请求之前,还包括:获取所述终端使用的网络对应的运营商信息;确定与所述运营商信息匹配的所述第一线路,并将所述第一线路的接入点地址提供给所述终端。Optionally, before receiving the access request sent by the terminal through the first line, it also includes: obtaining operator information corresponding to the network used by the terminal; determining the first line that matches the operator information, and transferring the The access point address of the first line is provided to the terminal.

本申请实施例还提供一种服务器,包括:存储器和处理器;所述存储器用于存储一条或多条计算机指令;所述处理器用于执行所述一条或多条计算机指令以用于:执行本申请实施例提供的方法中的步骤。An embodiment of the present application also provides a server, including: a memory and a processor; the memory is used to store one or more computer instructions; the processor is used to execute the one or more computer instructions to: execute the present invention. Steps in the methods provided by the application examples.

本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被处理器执行时能够实现本申请实施例提供的方法中的步骤。Embodiments of the present application also provide a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the steps in the method provided by the embodiments of the present application can be implemented.

本申请实施例中,云桌面服务系统连接有多个运营商的单线线路,一方面,可基于单线线路的低成本降低云桌面服务的成本,另一方面可基于多个运营商的单线线路向不同运营商的用户提供高质量的云桌面的访问服务,使得云桌面服务更加低成本、流畅。在通过云桌面访问目标服务器时,根据带宽均衡策略对多个运营商的单线线路进行调度,可通过均衡单个运营商的上行带宽峰值以及下行带宽峰值,以提升已有的下行带宽资源的利用率,从而在不同运营商之间实现出口带宽消耗量的“削峰填谷”,进一步降低整体带宽成本。In the embodiment of this application, the cloud desktop service system is connected to the single lines of multiple operators. On the one hand, the cost of the cloud desktop service can be reduced based on the low cost of the single line. On the other hand, the cloud desktop service system can be connected to the single line based on the single lines of multiple operators. Users of different operators provide high-quality cloud desktop access services, making cloud desktop services more cost-effective and smooth. When accessing the target server through the cloud desktop, single-line lines of multiple operators are scheduled according to the bandwidth balancing policy. The peak uplink bandwidth and downlink bandwidth peak of a single operator can be balanced to improve the utilization of existing downlink bandwidth resources. , thereby achieving "peak shaving and valley filling" of egress bandwidth consumption among different operators, further reducing overall bandwidth costs.

附图说明Description of the drawings

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. In the attached picture:

图1为本申请一示例性实施例提供的调度方法的流程示意图;Figure 1 is a schematic flowchart of a scheduling method provided by an exemplary embodiment of the present application;

图2为本申请一示例性实施例提供的云桌面服务系统的流量传输示意图;Figure 2 is a schematic diagram of traffic transmission of the cloud desktop service system provided by an exemplary embodiment of the present application;

图3为本申请一示例性实施例提供的服务器的结构示意图。Figure 3 is a schematic structural diagram of a server provided by an exemplary embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种,但是不排除包含至少一种的情况。The terminology used in the embodiments of the present invention is only for the purpose of describing specific embodiments and is not intended to limit the present invention. As used in this embodiment and the appended claims, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. Generally, at least two are included, but at least one is not excluded.

应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this article is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, and A and A exist simultaneously. B, there are three situations of B alone. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。It should also be noted that the terms "includes", "includes" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a good or system including a list of elements includes not only those elements but also those not expressly listed other elements, or elements inherent to the product or system. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the goods or systems that include the stated element.

针对现有技术中的基于BGP带宽提供无影云桌面服务具有较高的价格成本的技术问题,在本申请一些实施例中,提供了一种解决方案,以下结合附图,详细说明本申请各实施例提供的技术方案。In view of the technical problem in the prior art that providing shadowless cloud desktop services based on BGP bandwidth has a high price and cost, in some embodiments of the present application, a solution is provided. The following is a detailed description of the various aspects of the present application in conjunction with the accompanying drawings. The technical solution provided by the embodiment.

图1是本申请一示例性实施例提供的调度方法的流程示意图,该方法可包括如图1所示的步骤:Figure 1 is a schematic flowchart of a scheduling method provided by an exemplary embodiment of the present application. The method may include the steps shown in Figure 1:

步骤101、确定终端的访问请求,所述访问请求用于通过云桌面访问目标服务器;所述云桌面通过多个运营商的单线线路中的第一线路与终端连接。Step 101: Determine the access request of the terminal, which is used to access the target server through the cloud desktop; the cloud desktop is connected to the terminal through the first line among the single lines of multiple operators.

步骤102、根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路;所述带宽均衡策略,用于均衡运营商的上下行带宽峰值。Step 102: Determine a second line from the single lines of the multiple operators according to the bandwidth equalization strategy; the bandwidth equalization strategy is used to equalize the uplink and downlink bandwidth peaks of the operators.

步骤103、通过所述第二线路向所述目标服务器发送访问请求,以使所述目标服务器通过所述第二线路返回请求数据。Step 103: Send an access request to the target server through the second line, so that the target server returns request data through the second line.

本申请实施例适用于云桌面服务系统。云桌面服务系统包括服务器以及网关,该服务器可以是常规的物理服务器,也可以是弹性服务器(虚拟机),本实施例不做限制。该网关,可以是物理网关或者虚拟网关。其中,服务器上运行有云桌面应用程序(以下称云桌面)以及调度器。其中,云桌面可提供与终端本地桌面相同的服务,包括但不限于:基于云桌面的办公服务以及访问外部互联网的服务。其中,调度器,用于将云桌面的访问请求调度到网关连接的线路上,并由网关经该线路发出。The embodiments of this application are applicable to cloud desktop service systems. The cloud desktop service system includes a server and a gateway. The server can be a conventional physical server or an elastic server (virtual machine), which is not limited in this embodiment. The gateway can be a physical gateway or a virtual gateway. Among them, the server runs a cloud desktop application (hereinafter referred to as cloud desktop) and a scheduler. Among them, the cloud desktop can provide the same services as the terminal's local desktop, including but not limited to: office services based on the cloud desktop and services for accessing the external Internet. Among them, the scheduler is used to schedule the cloud desktop access request to the line connected to the gateway, and the gateway sends it through the line.

在本实施例中,云桌面服务系统中可至少包括入口网关以及出口网关。其中,入口网关用于实现与用户侧的终端(例如用户的手机、电脑、智能穿戴设备)之间的网络互联;出口网关用于实现与外部互联网之间的网络互联。在本实施例中,入口网关以及出口网关可连接多个运营商的单线线路。单线线路,是基于单线带宽进行数据传输的线路。单线带宽是由各运营商提供的带宽类型,任一运营商提供的单线带宽的传输线路需通过该运营商的骨干网络内的线路实现。In this embodiment, the cloud desktop service system may include at least an ingress gateway and an egress gateway. Among them, the ingress gateway is used to realize network interconnection with user-side terminals (such as the user's mobile phone, computer, smart wearable device); the egress gateway is used to realize network interconnection with the external Internet. In this embodiment, the ingress gateway and egress gateway can connect single lines of multiple operators. A single-wire line is a line for data transmission based on a single-wire bandwidth. Single-line bandwidth is the type of bandwidth provided by each operator. The transmission line of the single-line bandwidth provided by any operator must be realized through the lines within the operator's backbone network.

其中,任一运营商的单线线路上使用的带宽,包括:入口方向使用的带宽以及出口方向使用的带宽。对云桌面服务系统而言,入口方向是指终端的接入方向,出口方向是向外访问互联网的方向。任一运营商的入口带宽,是指在入口方向上,终端与云桌面服务系统之间通过该运营商提供的单线线路传输数据使用的带宽,包括终端向云桌面服务系统发送数据使用的下行带宽,以及桌面服务系统向终端发送数据使用的上行带宽。任一运营商的出口带宽,是指在出口方向上,云桌面服务系统与外部互联网之间通过该运营商提供的线路传输数据使用的带宽,包括云桌面服务系统向外部互联网发送数据使用的上行带宽,以及外部互联网向云桌面服务系统发送数据使用的下行带宽。即,对云桌面服务系统而言,其使用的上行带宽包括:入口方向以及出口方向上的总上行带宽;其使用的下行带宽包括:入口方向以及出口方向上的总下行带宽。其中,入口方向上的下行带宽主要用于传输用户请求,带宽消耗量较小;入口方向上的上行带宽主要用于传输与云桌面的视频流,带宽消耗量较大。出口方向上的上行带宽主要用于传输网络访问请求,带宽消耗量较小;出口方向上的下行带宽主要用于接收外部互联网返回的网络数据,带宽消耗量较大。Among them, the bandwidth used on any operator's single line includes: the bandwidth used in the ingress direction and the bandwidth used in the egress direction. For the cloud desktop service system, the entrance direction refers to the access direction of the terminal, and the exit direction refers to the direction of outward access to the Internet. The entrance bandwidth of any operator refers to the bandwidth used to transmit data between the terminal and the cloud desktop service system in the entrance direction through the single line provided by the operator, including the downlink bandwidth used by the terminal to send data to the cloud desktop service system. , and the upstream bandwidth used by the desktop service system to send data to the terminal. The egress bandwidth of any operator refers to the bandwidth used to transmit data between the cloud desktop service system and the external Internet in the egress direction through the lines provided by the operator, including the uplink bandwidth used by the cloud desktop service system to send data to the external Internet. bandwidth, and the downlink bandwidth used by the external Internet to send data to the cloud desktop service system. That is, for the cloud desktop service system, the uplink bandwidth used includes: the total uplink bandwidth in the ingress direction and the egress direction; the downlink bandwidth used includes: the total downlink bandwidth in the ingress direction and egress direction. Among them, the downlink bandwidth in the ingress direction is mainly used to transmit user requests, and the bandwidth consumption is small; the uplink bandwidth in the ingress direction is mainly used to transmit video streams with the cloud desktop, and the bandwidth consumption is large. The uplink bandwidth in the egress direction is mainly used to transmit network access requests, and the bandwidth consumption is small; the downlink bandwidth in the egress direction is mainly used to receive network data returned from the external Internet, and the bandwidth consumption is large.

在一些场景中,在对运营商提供的单线带宽服务进行费用结算时,通常采用峰值法,即根据设定时间范围内使用的带宽的峰值进行费用结算。例如,该峰值法可以是95峰值法。在95峰值法中,按照一定周期获取周期内的有效带宽,并对获取到的有效带宽进行降序排列。在排列后,将排序靠前的5%的有效带宽去除,并在剩余95%的有效带宽中选择带宽峰值(即95带宽峰值)进行带宽计费。即,对单个运营商而言,95带宽峰值越高则带宽费用越大。其中,当存在上行带宽以及下行带宽时,可根据上行方向的95带宽峰值以及下行方向的95带宽峰值中的较大者,确定用于费用结算的带宽峰值。即,上行方向与下行方向的带宽利用率越接近,则上行方向的95带宽峰值与下行方向的95带宽峰值的差距越小,带宽的费用成本利用越充分。其中,入口方向的线路由终端选择,通常终端可选择其所在的网络对应的运营商的单线线路。例如,终端所使用的网络为第一运营商的网络,则终端可采用第一运营商提供的线路访问云桌面。即,入口方向的带宽不受云桌面服务系统的调度。基于此,在通过云桌面访问外部互联网时,可对出口方向的运营商线路进行调度,以使得单个运营商的上行带宽峰值与下行带宽峰值较为一致,以提升带宽利用率,从整体上降低带宽成本。云桌面服务系统可通过入口网关连接的多个运营商单线线路中的任一单线线路与终端建立连接。为便于描述和区分,将云桌面服务系统与终端之间采用的单线线路,描述为第一线路。云桌面服务系统可接收终端通过第一线路发送的云桌面访问请求,云桌面服务系统可通过第一线路向终端返回桌面图像,以供用户查看。In some scenarios, when settling fees for single-line bandwidth services provided by operators, the peak method is usually used, that is, fees are settled based on the peak value of bandwidth used within a set time range. For example, the peak method may be the 95 peak method. In the 95 peak method, the effective bandwidth within the period is obtained according to a certain period, and the obtained effective bandwidth is arranged in descending order. After arranging, the top 5% of the effective bandwidths are removed, and the bandwidth peak (that is, the 95th bandwidth peak) is selected from the remaining 95% of the effective bandwidth for bandwidth billing. That is, for a single operator, the higher the 95 bandwidth peak value, the greater the bandwidth cost. Wherein, when there is an uplink bandwidth and a downlink bandwidth, the bandwidth peak value used for fee settlement can be determined based on the larger of the 95 bandwidth peak value in the uplink direction and the 95 bandwidth peak value in the downlink direction. That is, the closer the bandwidth utilization in the upstream direction and the downstream direction is, the smaller the difference between the 95% bandwidth peak value in the upstream direction and the 95% bandwidth peak value in the downlink direction, and the more fully the bandwidth cost is utilized. Among them, the line in the entrance direction is selected by the terminal, and usually the terminal can choose the single-line line of the operator corresponding to the network where it is located. For example, if the network used by the terminal is the network of the first operator, the terminal can use the line provided by the first operator to access the cloud desktop. That is, the bandwidth in the ingress direction is not scheduled by the cloud desktop service system. Based on this, when accessing the external Internet through the cloud desktop, the operator's line in the egress direction can be scheduled so that the peak uplink bandwidth and the peak downlink bandwidth of a single operator are more consistent, thereby improving bandwidth utilization and reducing bandwidth overall. cost. The cloud desktop service system can establish a connection with the terminal through any single line of multiple operators' single lines connected to the entrance gateway. For ease of description and distinction, the single line used between the cloud desktop service system and the terminal is described as the first line. The cloud desktop service system can receive the cloud desktop access request sent by the terminal through the first line, and the cloud desktop service system can return the desktop image to the terminal through the first line for the user to view.

在一些可选的实施例中,对终端而言,该第一线路,可以是终端使用的网络服务所在的运营商的单线线路。可选地,在接收终端通过第一线路发送的访问请求之前,云桌面服务系统可获取该终端使用的网络对应的运营商信息,确定与该运营商信息匹配的第一线路,并将该第一线路的接入点地址提供给终端。在这种实施方式中,可选地,终端上可运行有云桌面服务系统对应的客户端程序,该客户端程序可在经过终端授权的情况下,获取终端所使用的网络对应的运营商信息,并将该运营商信息发送给云桌面服务器。In some optional embodiments, for the terminal, the first line may be a single line of the operator where the network service used by the terminal is located. Optionally, before receiving the access request sent by the terminal through the first line, the cloud desktop service system may obtain the operator information corresponding to the network used by the terminal, determine the first line that matches the operator information, and use the third line to obtain the access request sent by the terminal through the first line. A line's access point address is provided to the terminal. In this implementation, optionally, a client program corresponding to the cloud desktop service system can be run on the terminal. The client program can obtain operator information corresponding to the network used by the terminal upon authorization from the terminal. , and sends the operator information to the cloud desktop server.

在另一些可选的实施例中,对终端而言,该第一线路,也可以是终端从多个运营商的单线线路中选择的质量较好的单线线路。可选地,在接收终端通过第一线路发送的访问请求之前,云桌面服务系统还可将该多个运营商的单线线路对应的多个接入点地址提供给终端。进而,终端可向该多个接入点地址发送质量探测数据并根据质量探测的结果从该多个运营商的单线线路中选择第一线路。In some other optional embodiments, for the terminal, the first line may also be a single-line line with better quality selected by the terminal from single-line lines of multiple operators. Optionally, before receiving the access request sent by the terminal through the first line, the cloud desktop service system may also provide multiple access point addresses corresponding to the single lines of the multiple operators to the terminal. Furthermore, the terminal may send quality detection data to the multiple access point addresses and select the first line from the single lines of the multiple operators according to the quality detection results.

在一些情况下,云桌面存在访问公网中的目标服务器的需求,该需求可由终端用户的操作触发,或者可由云桌面上运行的应用程序触发,本实施例不做限制。云桌面服务系统可确定用于通过云桌面访问目标服务器的访问请求,并可通过出口网关向目标服务器发出该访问请求。在本实施例中,云桌面服务系统在通过云桌面访问目标服务器时,可对出口方向的运营商单线线路进行调度,以从多个运营商的单线线路中选择一条单线线路,并通过被选择的单线线路访问目标服务器。其中,被选择的单线线路,可标记为第二线路。In some cases, the cloud desktop needs to access the target server in the public network. This requirement can be triggered by an end user's operation or by an application running on the cloud desktop, which is not limited in this embodiment. The cloud desktop service system may determine an access request for accessing the target server through the cloud desktop, and may issue the access request to the target server through the egress gateway. In this embodiment, when the cloud desktop service system accesses the target server through the cloud desktop, it can schedule the operator's single line in the egress direction to select a single line from multiple operators' single lines and pass the selected single line to access the target server. Among them, the selected single-line line can be marked as the second line.

基于前述记载可知,入口方向上的下行带宽以及出口方向的上行带宽,对基于峰值法进行带宽结算方式的影响较小,且二者可在一定程度上达到平衡。因此,入口方向上的下行带宽以及出口方向的上行带宽可不作为带宽调度的考量因素。其中,入口方向上的上行带宽以及出口方向的下行带宽,对基于峰值法的带宽结算方式的影响较大。因此,在入口方向的上带宽不受调度的情况下,对出口方向上的运营商线路进行调度时,可将缩小出口方向的下行带宽与入口方向的上行带宽的差距作为调度目标。在此基础上,对出口方向的运营商单线线路进行调度所采用的策略,可以是带宽均衡策略。其中,带宽均衡策略,用于均衡运营商的上下行带宽峰值,即用于使得运营商的下行带宽峰值与上行带宽峰值在一定程度上达到平衡。基于前述可知,入口方向上的下行带宽以及出口方向的上行带宽较小时,本申请各实施例所涉及的带宽均衡策略,主要用于均衡运营商的出口方向的下行带宽以及入口方向的上行带宽,后续不再赘述。Based on the above records, it can be seen that the downlink bandwidth in the ingress direction and the uplink bandwidth in the egress direction have little impact on the bandwidth settlement method based on the peak method, and the two can reach a balance to a certain extent. Therefore, the downlink bandwidth in the ingress direction and the uplink bandwidth in the egress direction may not be considered in bandwidth scheduling. Among them, the uplink bandwidth in the ingress direction and the downlink bandwidth in the egress direction have a greater impact on the bandwidth settlement method based on the peak method. Therefore, when the uplink bandwidth in the ingress direction is not scheduled, when scheduling the operator's lines in the egress direction, narrowing the gap between the downlink bandwidth in the egress direction and the uplink bandwidth in the ingress direction can be the scheduling goal. On this basis, the strategy adopted for scheduling the operator's single line in the egress direction may be a bandwidth balancing strategy. Among them, the bandwidth balancing strategy is used to balance the operator's uplink and downlink bandwidth peaks, that is, to make the operator's downlink bandwidth peaks and uplink bandwidth peaks reach a balance to a certain extent. Based on the foregoing, it can be seen that when the downlink bandwidth in the ingress direction and the uplink bandwidth in the egress direction are small, the bandwidth balancing strategy involved in each embodiment of the present application is mainly used to balance the operator's downlink bandwidth in the egress direction and the uplink bandwidth in the ingress direction. No further details will be given later.

基于此,通过出口方向访问互联网中的目标云桌面服务系统时,可采用带宽均衡策略,对针对目标云桌面服务系统的访问请求进行调度,从而控制不同运营商的出口带宽峰值,使得不同运营商的下行带宽峰值与上行带宽峰值更加接近,以降低单个运营商因出口方向上的下行带宽峰值较大从而引起95峰值较大的概率。Based on this, when accessing the target cloud desktop service system in the Internet through the egress direction, a bandwidth balancing strategy can be used to schedule access requests to the target cloud desktop service system, thereby controlling the egress bandwidth peaks of different operators, so that different operators can The downlink bandwidth peak value is closer to the uplink bandwidth peak value to reduce the probability that a single operator will cause a larger 95 peak value due to a larger downlink bandwidth peak value in the egress direction.

在这种实施方式中,云桌面服务系统连接有多个运营商的单线线路,一方面,可基于单线线路的低成本降低云桌面服务的成本,另一方面可基于多个运营商的单线线路向不同运营商的用户提供高质量的云桌面的访问服务,使得云桌面服务更加低成本、流畅。在通过云桌面访问目标服务器时,根据带宽均衡策略对多个运营商的单线线路进行调度,可通过均衡单个运营商的上行带宽峰值以及下行带宽峰值,以提升已有下行带宽资源的利用率,从而在不同运营商之间实现出口带宽消耗量的“削峰填谷”,进一步降低整体带宽成本。In this implementation, the cloud desktop service system is connected to single lines of multiple operators. On the one hand, the cost of cloud desktop services can be reduced based on the low cost of single lines; on the other hand, it can be based on single lines of multiple operators. Provide high-quality cloud desktop access services to users of different operators, making cloud desktop services more cost-effective and smooth. When accessing the target server through the cloud desktop, single-line lines of multiple operators are scheduled according to the bandwidth balancing policy. The peak uplink bandwidth and downlink bandwidth peak of a single operator can be balanced to improve the utilization of existing downlink bandwidth resources. This enables "peak-shaving and valley-filling" of egress bandwidth consumption among different operators, further reducing overall bandwidth costs.

以下将结合具体实施例,对本申请实施例提供的带宽均衡策略进行进一步示例性说明。The bandwidth balancing strategy provided by the embodiments of the present application will be further exemplified below with reference to specific embodiments.

在一些可选的实施例A1中,带宽均衡策略,可包括:入口线路与出口线路的运营商一致策略。该策略用于使得任一云桌面在入口方向连接的运营商与出口方向连接的运营商一致。云桌面服务系统第一线路与终端连接,并通过第一线路接收终端的访问请求时,第一线路为入口线路。In some optional embodiments A1, the bandwidth balancing strategy may include: operator-consistent strategies for ingress lines and egress lines. This policy is used to make the operator connected to any cloud desktop in the ingress direction consistent with the operator connected in the egress direction. When the first line of the cloud desktop service system is connected to the terminal and receives the terminal's access request through the first line, the first line is the entrance line.

在这种实施方式中,从多个运营商的单线线路中确定第二线路时,可确定第一线路所属的第一运营商,并从该多个运营商的单线线路中,选择属于所述第一运营商的单线线路,作为第二线路。其中,该第二线路为出口线路。云桌面服务系统可通过第二线路向目标服务器发送访问请求,以使目标服务器通过第二线路返回请求数据。In this embodiment, when determining the second line from the single-line lines of multiple operators, the first operator to which the first line belongs can be determined, and the single-line line belonging to the first line can be selected from the single-line lines of the multiple operators. The single line of the first carrier acts as the second line. Wherein, the second line is an exit line. The cloud desktop service system may send an access request to the target server through the second line, so that the target server returns the request data through the second line.

在这种实施方式中,可根据入口线路的运营商分布,调整出口线路的运营商分布。从而,有效降低出入口带宽集中分布在一部分运营商线路,而出口带宽集中分布在另一部分运营商线路上的概率。根据云桌面的入口方向连接的单线带宽所属的运营商,指定该云桌面在出口方向的运营商,可使得任一运营商的口线路的调度次数与入口线路的使用次数较为一致,进而可均衡该运营商在入口方向以及出口方向的带宽使用量,从而均衡该运营商的上行带宽峰值以及下行带宽峰值。进而,当按照下行带宽峰值以及上行带宽峰值中的较大值进行带宽结算时,能够充分利用带宽成本。In this implementation, the operator distribution of the egress lines can be adjusted according to the operator distribution of the ingress lines. This effectively reduces the probability that ingress and egress bandwidth is concentrated on some operator lines, while egress bandwidth is concentrated on another part of operator lines. According to the operator of the single-line bandwidth connected to the cloud desktop in the ingress direction, specifying the operator in the egress direction of the cloud desktop can make the scheduling times of any operator's ingress lines more consistent with the usage times of the ingress lines, thus balancing the The operator's bandwidth usage in the ingress direction and egress direction, thereby balancing the operator's peak uplink bandwidth and peak downlink bandwidth. Furthermore, when bandwidth settlement is performed based on the larger value of the downlink bandwidth peak value and the uplink bandwidth peak value, the bandwidth cost can be fully utilized.

在一些可选的实施例A2中,带宽均衡策略,包括:运营商的上下行带宽峰值一致策略。对任一运营商而言,其上下行带宽峰值的一致性越高,则带宽利用率越高。In some optional embodiments A2, the bandwidth equalization strategy includes: the operator's uplink and downlink bandwidth peak consistency strategy. For any operator, the higher the consistency of its upstream and downstream bandwidth peaks, the higher the bandwidth utilization.

基于此,在一些可选的实施例中,可获取多个运营商的单线线路的下行带宽可用量,任一单线线路的下行带宽可用量,用于描述该单线线路在下行方向上的已有带宽的可供使用量。其中,下行方向的已有带宽,可根据带宽结算原则确定。在一些实施例中,按照带宽结算原则,任一单线线路的带宽峰值,由该单线线路的下行带宽峰值以及上行带宽峰值中的较大值确定,进而,在已知上行带宽峰值的前提下,可确定下行带宽可用量。若某一单线线路的上行带宽峰值较高,则下行带宽可用量较高。若上行带宽峰值较低,则下行带宽可用量较低。例如,某一运营商的单线线路,上行方向的带宽峰值为50M,那么下行方向的带宽可用量可以为50M。当下行方向的带宽峰值小于或者等于50M时,可按照50M的带宽峰值进行费用结算。当在下行方向上充分使用50M左右的带宽时,可使得带宽成本的收益更大化。Based on this, in some optional embodiments, the available downlink bandwidth of single-line lines of multiple operators can be obtained. The available amount of downlink bandwidth of any single-line line is used to describe the existing bandwidth of the single-line line in the downlink direction. available for use. Among them, the existing bandwidth in the downstream direction can be determined according to the bandwidth settlement principle. In some embodiments, according to the bandwidth settlement principle, the peak bandwidth of any single-line line is determined by the larger of the peak downstream bandwidth and the peak uplink bandwidth of the single-line line. Furthermore, on the premise that the peak uplink bandwidth is known, The available downstream bandwidth can be determined. If the peak uplink bandwidth of a single line is higher, the available downlink bandwidth is higher. If the peak uplink bandwidth is low, the available downlink bandwidth is low. For example, if the peak bandwidth of a certain operator's single-line line in the upstream direction is 50M, then the available bandwidth in the downstream direction can be 50M. When the peak bandwidth in the downstream direction is less than or equal to 50M, fees can be settled based on the peak bandwidth of 50M. When the bandwidth of about 50M is fully used in the downlink direction, the benefits of bandwidth costs can be maximized.

基于此,根据多个运营商的单线线路的下行带宽可用量,可确定该多个运营商的单线线路在出口方向上的调度命中概率。其中,任意单线线路的调度命中概率,用于描述调度该单线线路进行数据传输的可能性。Based on this, according to the available downlink bandwidth of the single-line lines of multiple operators, the scheduling hit probability of the single-line lines of multiple operators in the egress direction can be determined. Among them, the scheduling hit probability of any single-line line is used to describe the possibility of scheduling the single-line line for data transmission.

其中,运营商的下行带宽可用量越低,则说明该运营商在上行以及下行方向上的带宽利用率越接近,在出口方向上的调度命中概率越低。运营商的下行带宽可用量越高,则说明该运营商在上行以及下行方向上的带宽利用率相差越大。为提升该运营商在下行方向上的带宽利用率,可提升该运营商的单线线路在出口方向上的调度命中概率。Among them, the lower the operator's available downlink bandwidth, the closer the operator's bandwidth utilization in the uplink and downlink directions is, and the lower the scheduling hit probability in the egress direction. The higher the operator's available downlink bandwidth, the greater the difference in the operator's bandwidth utilization in the uplink and downlink directions. In order to improve the operator's bandwidth utilization in the downlink direction, the scheduling hit probability of the operator's single line in the egress direction can be increased.

可选地,确定多个运营商的单线线路的下行带宽可用量后,可按照下行带宽可用量与调度命中概率正相关的关系,根据该多个运营商的单线线路的下行带宽可用量,确定该多个运营商的单线线路的调度命中概率。即,某一单线线路的下行带宽可用量越大,则该单线线路在出口方向上的调度命中概率越高。Optionally, after determining the available downlink bandwidth of the single-line lines of multiple operators, the available downlink bandwidth of the single-line lines of multiple operators can be determined according to the positive correlation between the available amount of downlink bandwidth and the scheduling hit probability. The scheduling hit probability of single lines of multiple operators. That is, the greater the available downlink bandwidth of a certain single-line line, the higher the scheduling hit probability of the single-line line in the egress direction.

在需要向目标服务器发送访问请求时,可根据该多个运营商的单线线路在出口方向上的调度命中概率,从该多个运营商的单线线路中确定第二线路。When an access request needs to be sent to the target server, the second line may be determined from the single-line lines of the multiple operators based on the scheduling hit probabilities of the single-line lines of the multiple operators in the egress direction.

以下将以任一运营商为例,对下行带宽可用量的获取方式进行示例性说明。可选地,针对任一运营商的单线线路,可获取该单线线路在入口方向上的上行带宽峰值以及在出口方向上的下行带宽峰值。其中,带宽费用可按照结算周期进行结算,该结算周期可以是12小时、24小时、一周或者一个月。在进入任一结算周期后,可按照设定频次统计不同方向上的带宽峰值,并根据统计得到的带宽峰值实时地进行出口线路调度。其中,入口方向上的上行带宽峰值以及在出口方向上的下行带宽峰值为当前结算周期内已统计到的带宽使用量的峰值。根据该单线线路在入口方向上的上行带宽峰值以及在出口方向上的下行带宽峰值,确定该单线线路的上下行带宽峰值的差值。根据该单线线路的上下行带宽峰值的差值,确定该单线线路的下行带宽可用量。单线线路的上下行带宽峰值的差值越大,则单线线路的下行带宽可用量越高。反之,单线线路的上下行带宽峰值的差值越小,则单线线路的下行带宽可用量越低。在一些实施例中,可将上下行带宽峰值的差值,作为该单线线路的下行带宽可用量。The following will take any operator as an example to illustrate the method of obtaining the available downlink bandwidth. Optionally, for any operator's single line, the peak uplink bandwidth in the ingress direction and the peak downlink bandwidth in the egress direction of the single line can be obtained. Among them, the bandwidth fee can be settled according to the settlement cycle, which can be 12 hours, 24 hours, one week or one month. After entering any settlement cycle, the bandwidth peaks in different directions can be counted according to the set frequency, and egress line scheduling can be performed in real time based on the statistically obtained bandwidth peaks. Among them, the peak uplink bandwidth in the ingress direction and the peak downlink bandwidth in the egress direction are the peak bandwidth usage statistics in the current settlement period. The difference between the upstream and downstream bandwidth peak values of the single-wire line is determined based on the peak upstream bandwidth of the single-wire line in the ingress direction and the peak downstream bandwidth in the egress direction. The available downlink bandwidth of the single-line line is determined based on the difference between the peak values of the uplink and downlink bandwidths of the single-line line. The greater the difference between the upstream and downstream bandwidth peaks of a single-line line, the higher the available downlink bandwidth of the single-line line. On the contrary, the smaller the difference between the upstream and downstream bandwidth peaks of a single-line line, the lower the available downlink bandwidth of the single-line line. In some embodiments, the difference between the peak values of the uplink and downlink bandwidths may be used as the available downlink bandwidth of the single-wire line.

当单线线路的下行带宽可用量较高时,可将较多的访问请求调度到该单线线路上,进而充分利用固定成本下已有的带宽资源;同时,可有利于降低其他线路的带宽使用量,从而降低其他线路存在的成本升高的概率。When the available downlink bandwidth of a single-line line is high, more access requests can be scheduled to the single-line line, thereby making full use of the existing bandwidth resources under fixed cost; at the same time, it can help reduce the bandwidth usage of other lines. , thereby reducing the probability of increased costs for other lines.

例如,在一些场景中,当入口方向上的用户所属的运营商分布不均匀时,不同运营商在出口方向上存在不等量的闲余资源。例如,云桌面的用户中,属于第一运营商的用户数量较多,属于第二运营商的用户数量较少,因此第一运营商在入口方向上消耗的上行带宽较多,第二运营商在入口方向上消耗的上行带宽较少。按照前述实施例记载的峰值法的计费原则可知,第一运营商在下行方向上的可用的闲余带宽资源较多,第二运营商在下行方向上可用的闲余带宽资源较少。因而,在进行出口链路调度时,可将较多出口方向上的请求调度到第一运营商的线路上,并将较少的出口方向上的请求调度到第二运营商的线路上,从而充分利用出口方向的闲余带宽资源。For example, in some scenarios, when the operators to which users in the ingress direction belong are unevenly distributed, different operators have unequal amounts of spare resources in the egress direction. For example, among the users of the cloud desktop, there are more users belonging to the first operator and fewer users belonging to the second operator. Therefore, the first operator consumes more uplink bandwidth in the entrance direction, and the second operator consumes more uplink bandwidth. Less upstream bandwidth is consumed in the ingress direction. According to the charging principle of the peak method described in the foregoing embodiments, it can be seen that the first operator has more available spare bandwidth resources in the downlink direction, and the second operator has less available spare bandwidth resources in the downlink direction. Therefore, when egress link scheduling is performed, more requests in the egress direction can be scheduled to the line of the first operator, and fewer requests in the egress direction can be scheduled to the line of the second operator, thus Make full use of spare bandwidth resources in the egress direction.

以下将结合图2进行进一步示例性说明。Further exemplary description will be given below with reference to Figure 2 .

云桌面服务系统可提供公共云桌面服务,如图2所示,云桌面服务系统的服务器上可运行有租户1的云桌面、租户2的云桌面以及租户3的云桌面。云桌面服务系统连接多个运营商的单线线路,分别用于连接第一运营商的骨干网络、第二运营商的骨干网络以及第三运营商的骨干网络。The cloud desktop service system can provide public cloud desktop services. As shown in Figure 2, the server of the cloud desktop service system can run the cloud desktop of tenant 1, the cloud desktop of tenant 2, and the cloud desktop of tenant 3. The cloud desktop service system connects single lines of multiple operators and is used to connect the backbone network of the first operator, the backbone network of the second operator and the backbone network of the third operator respectively.

云桌面可接收调度层转发来的访问请求,并通过调度层向目标服务器发送访问请求。调度层与外部设备之间的数据传输包括上行方向的数据传输以及下行方向的数据传输。假设租户1所使用的家庭网络由第一运营商提供,当租户1访问云桌面时,调度层可接收租户1通过第一运营商骨干网发送的访问请求,并将该访问请求发送给租户1的云桌面。云桌面可通过第一运营商骨干网返回桌面图像,以供租户1查看。当云桌面在用户的操作下访问公网服务器时,调度层可根据带宽均衡策略对云桌面的访问请求进行调度。The cloud desktop can receive the access request forwarded by the scheduling layer and send the access request to the target server through the scheduling layer. Data transmission between the scheduling layer and external devices includes data transmission in the uplink direction and data transmission in the downlink direction. Assume that the home network used by Tenant 1 is provided by the first operator. When Tenant 1 accesses the cloud desktop, the scheduling layer can receive the access request sent by Tenant 1 through the first operator's backbone network and send the access request to Tenant 1. cloud desktop. The cloud desktop can return the desktop image through the first operator's backbone network for tenant 1 to view. When the cloud desktop accesses the public network server under the user's operation, the scheduling layer can schedule the cloud desktop access request according to the bandwidth balancing policy.

例如,调度层可通过第一运营商的单线线路,向该公网服务器发送访问请求,以使得公网服务器通过第一运营商的单线线路返回响应数据。进而使得云桌面向租户1发送桌面图像产生的上行带宽与云桌面接收公网服务器返回的响应数据产生的下行带宽在一定程度上达到均衡。For example, the scheduling layer may send an access request to the public network server through the first operator's single line, so that the public network server returns response data through the first operator's single line. In this way, the uplink bandwidth generated by the cloud desktop sending desktop images to tenant 1 and the downlink bandwidth generated by the cloud desktop receiving the response data returned by the public network server are balanced to a certain extent.

又例如,调度层可确定第一运营商、第二运营商以及第三运营商提供的单线带宽的下行带宽可用量。假设,第一运营商的下行带宽可用量为5M,第二运营商的下行带宽可用量为30M,第三运营商提供的单线带宽的下行带宽可用量为50M,则调度层可通过第三运营商的单线线路,向该公网服务器发送访问请求,以使得公网服务器通过第三运营商的单线线路返回响应数据。进而,可充分利用第三运营商的已有带宽,采用第三运营商在下行方向上的带宽对第一运营商在下行方向上的带宽进行补充,在出口方向形成带宽共享,降低第一运营商因下行方向带宽峰值较大从而出现成本增高的可能。For another example, the scheduling layer may determine the available downlink bandwidth of the single-line bandwidth provided by the first operator, the second operator, and the third operator. Assume that the available downlink bandwidth of the first operator is 5M, the available downlink bandwidth of the second operator is 30M, and the available downlink bandwidth of the single-line bandwidth provided by the third operator is 50M, then the scheduling layer can pass the third operator The third operator's single-line line sends an access request to the public network server, so that the public network server returns response data through the third operator's single-line line. Furthermore, the existing bandwidth of the third operator can be fully utilized, and the bandwidth of the third operator in the downlink direction can be used to supplement the bandwidth of the first operator in the downlink direction. Bandwidth sharing can be formed in the egress direction, reducing the cost of the first operator. The bandwidth peak in the downstream direction is larger, which may increase the cost.

值得说明是,确定该多个运营商的单线线路在出口方向上的调度命中概率之后,还可进一步确定被访问的目标服务器运营商,以下称第二运营商。第二运营商属于出口网关连接的多个运营商。在根据该多个运营商的单线线路在出口方向上的调度命中概率,从该多个运营商的单线线路中确定第二线路时,可根据该多个运营商的单线线路的调度命中概率,判断第二运营商的单线线路的调度命中概率是否满足设定条件;若为是,则将该第二运营商的单线线路作为该第二线路。其中,该设定条件可包括:调度命中概率大于某一概率阈值,或者调度命中概率在从高到底的排序中位于前N个,N为正整数。基于带宽均衡策略确定第二线路后,可通过第二线路向目标服务器发送访问请求,并使得目标服务器通过第二线路返回请求数据。It is worth noting that after determining the scheduling hit probabilities of the single-line lines of the multiple operators in the egress direction, the visited target server operator can be further determined, hereinafter referred to as the second operator. The second operator belongs to multiple operators that the egress gateway is connected to. When determining the second line from the single-line lines of the multiple operators based on the scheduling hit probabilities of the single-line lines of the multiple operators in the egress direction, the second line may be determined based on the scheduling hit probabilities of the single-line lines of the multiple operators, Determine whether the scheduling hit probability of the single-line line of the second operator satisfies the set condition; if yes, use the single-line line of the second operator as the second line. The setting conditions may include: the scheduling hit probability is greater than a certain probability threshold, or the scheduling hit probability is among the top N in the order from high to low, where N is a positive integer. After determining the second line based on the bandwidth balancing policy, the access request can be sent to the target server through the second line, and the target server can return the request data through the second line.

需要说明的是,上述实施例所提供方法的各步骤的执行主体均可以是同一设备,或者,该方法也由不同设备作为执行主体。比如,步骤101至步骤103的执行主体可以为设备A;又比如,步骤101和102的执行主体可以为设备A,步骤103的执行主体可以为设备B;等等。It should be noted that the execution subject of each step of the method provided in the above embodiments may be the same device, or the method may also be executed by different devices. For example, the execution subject of steps 101 to 103 may be device A; for another example, the execution subject of steps 101 and 102 may be device A, the execution subject of step 103 may be device B; and so on.

另外,在上述实施例及附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。In addition, some of the processes described in the above embodiments and drawings include multiple operations that appear in a specific order, but it should be clearly understood that these operations may not be performed in the order in which they appear in this document or may be performed in parallel. , the sequence numbers of operations, such as 101, 102, etc., are only used to distinguish different operations. The sequence numbers themselves do not represent any execution order. Additionally, these processes may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that the descriptions such as "first" and "second" in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order, nor do they limit "first" and "second" are different types.

需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all It is information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or reject.

图3示意了本申请一示例性实施例提供的服务器的结构示意图,如图3所示,该服务器包括:存储器301、处理器302以及通信组件303。Figure 3 is a schematic structural diagram of a server provided by an exemplary embodiment of the present application. As shown in Figure 3, the server includes: a memory 301, a processor 302 and a communication component 303.

存储器301,用于存储计算机程序,并可被配置为存储其它各种数据以支持在服务器上的操作。这些数据的示例包括用于在服务器上操作的任何应用程序或方法的指令。Memory 301 is used to store computer programs and can be configured to store various other data to support operations on the server. Examples of this data include instructions for any application or method operating on the server.

处理器302,与存储器301耦合,用于执行存储器301中的计算机程序,以用于:确定终端的访问请求,所述访问请求用于通过云桌面访问目标服务器;所述云桌面通过多个运营商的单线线路中的第一线路与终端连接;根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路;所述带宽均衡策略,用于均衡运营商的上下行带宽峰值;通过所述第二线路向所述目标服务器发送所述访问请求,以使所述目标服务器通过所述第二线路返回请求数据。The processor 302 is coupled to the memory 301 and is used to execute the computer program in the memory 301 to: determine the access request of the terminal, the access request is used to access the target server through the cloud desktop; the cloud desktop passes multiple operations The first line among the single-line lines of the operator is connected to the terminal; according to the bandwidth balancing strategy, the second line is determined from the single-line lines of the multiple operators; the bandwidth balancing strategy is used to balance the uplink and downlink bandwidth peaks of the operators ; Send the access request to the target server through the second line, so that the target server returns the request data through the second line.

可选地,所述带宽均衡策略,包括:入口线路与出口线路的运营商一致策略;处理器302在根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路时,具体用于:确定所述第一线路所属的第一运营商,作为入口线路的运营商;从所述多个运营商的单线线路中,选择属于所述第一运营商的出口线路,作为所述第二线路。Optionally, the bandwidth balancing strategy includes: operator consistent strategies for ingress lines and egress lines; when the processor 302 determines the second line from the single lines of the multiple operators according to the bandwidth balancing strategy, specifically Used to: determine the first operator to which the first line belongs, as the operator of the entrance line; select the exit line belonging to the first operator from the single lines of the multiple operators, as the operator of the entrance line; Second line.

可选地,所述带宽均衡策略,包括:运营商的上下行带宽峰值一致策略;处理器302在根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路时,具体用于:根据所述多个运营商的上下行带宽峰值,获取所述多个运营商的单线线路的下行带宽可用量;根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率;所述出口方向为所述云桌面访问外部互联网的方向;根据所述多个运营商的单线线路在出口方向上的调度命中概率,从所述多个运营商的单线线路中确定第二线路。Optionally, the bandwidth balancing strategy includes: an operator's uplink and downlink bandwidth peak consistent strategy; when the processor 302 determines the second line from the single lines of the multiple operators according to the bandwidth balancing strategy, specifically use In: according to the uplink and downlink bandwidth peaks of the multiple operators, obtain the available downlink bandwidth of the single-line lines of the multiple operators; according to the available downlink bandwidth of the single-line lines of the multiple operators, determine the The scheduling hit probability of single-line lines of multiple operators in the egress direction; the egress direction is the direction in which the cloud desktop accesses the external Internet; according to the scheduling hit probability of single-line lines of multiple operators in the egress direction, The second line is determined from the single line lines of the plurality of operators.

可选地,处理器302在获取多个运营商的单线线路的下行带宽可用量时,具体用于:针对任一运营商的单线线路,获取所述单线线路在入口方向上的上行带宽峰值以及在所述出口方向上的下行带宽峰值;根据所述单线线路在入口方向上的上行带宽峰值以及在所述出口方向上的下行带宽峰值,确定所述单线线路的上下行带宽峰值的差值;所述入口方向,为所述云桌面接收终端访问的方向;根据所述单线线路的上下行带宽峰值的差值,确定所述单线线路的下行带宽可用量。Optionally, when obtaining the available downlink bandwidth of single-line lines of multiple operators, the processor 302 is specifically configured to: for any single-line line of any operator, obtain the peak uplink bandwidth of the single-line line in the entrance direction and The peak value of the downlink bandwidth in the egress direction; determining the difference between the peak value of the upstream and downstream bandwidth of the single-line line based on the peak value of the uplink bandwidth of the single-line line in the inlet direction and the peak value of the downlink bandwidth in the direction of the egress; The entrance direction is the direction in which the cloud desktop receives terminal access; the available amount of downlink bandwidth of the single-line line is determined based on the difference between the peak values of the uplink and downlink bandwidth of the single-line line.

可选地,处理器302在根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率时,具体用于:按照下行带宽可用量与调度命中概率正相关的关系,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路的调度命中概率。Optionally, when determining the scheduling hit probability of the single-line lines of the multiple operators in the egress direction according to the available downlink bandwidth of the single-line lines of the multiple operators, the processor 302 is specifically configured to: according to the downlink There is a positive correlation between the available bandwidth and the scheduling hit probability. According to the available downlink bandwidth of the single lines of the multiple operators, the scheduling hit probabilities of the single lines of the multiple operators are determined.

可选地,处理器302在根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率之后,还用于:确定所述目标服务器所在的第二运营商;所述第二运营商属于所述多个运营商;根据所述多个运营商的单线线路在出口方向上的调度命中概率,从所述多个运营商的单线线路中确定第二线路,包括:根据所述多个运营商的单线线路的调度命中概率,判断所述第二运营商的单线线路的调度命中概率是否满足设定条件;若为是,则将所述第二运营商的单线线路作为所述第二线路。Optionally, after determining the scheduling hit probability of the single-line lines of the multiple operators in the egress direction according to the available downlink bandwidth of the single-line lines of the multiple operators, the processor 302 is further configured to: determine the The second operator where the target server is located; the second operator belongs to the multiple operators; according to the scheduling hit probability of the single-line lines of the multiple operators in the egress direction, from the multiple operators Determining the second line among the single-line lines includes: judging whether the scheduling hit probability of the single-line line of the second operator satisfies the set condition according to the scheduling hit probability of the single-line lines of the multiple operators; if yes, Then the single line of the second operator is used as the second line.

可选地,处理器302在接收终端通过第一线路发送的访问请求之前,还用于:将所述多个运营商的单线线路对应的多个接入点地址提供给所述终端,以使所述终端向所述多个接入点地址发送质量探测数据并根据质量探测的结果选择所述第一线路。Optionally, before receiving the access request sent by the terminal through the first line, the processor 302 is also configured to: provide multiple access point addresses corresponding to the single lines of the multiple operators to the terminal, so that The terminal sends quality detection data to the multiple access point addresses and selects the first line according to the quality detection result.

可选地,处理器302在接收终端通过第一线路发送的访问请求之前,还用于:获取所述终端使用的网络对应的运营商信息;确定与所述运营商信息匹配的所述第一线路,并将所述第一线路的接入点地址提供给所述终端。Optionally, before receiving the access request sent by the terminal through the first line, the processor 302 is also configured to: obtain operator information corresponding to the network used by the terminal; determine the first operator information that matches the operator information. line, and provide the access point address of the first line to the terminal.

进一步,如图3所示,该服务器还包括:电源组件304等其它组件。图3中仅示意性给出部分组件,并不意味着服务器只包括图3所示组件。Further, as shown in Figure 3, the server also includes: a power supply component 304 and other components. Only some components are schematically shown in Figure 3, which does not mean that the server only includes the components shown in Figure 3.

其中,存储器301可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random-Access Memory,SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM),可编程只读存储器(Programmable Read-Only Memory,PROM),只读存储器(Read-Only Memory,ROM),磁存储器,快闪存储器,磁盘或光盘。Among them, the memory 301 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random-Access Memory, SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), programmable read-only memory (Programmable Read-Only Memory, PROM), read-only memory ( Read-Only Memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

其中,通信组件303被配置为便于通信组件所在设备和其他设备之间有线或无线方式的通信。通信组件所在设备可以接入基于通信标准的无线网络,如Wi-Fi(无线网络通信技术),2G(如全球移动通信系统(Global System for Mobile Communications,GSM)等)、3G(如宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G(如长期演进(Long Term Evolution,LTE)等)、4G+(如升级版长期演进(LTE-Advanced,LTE-A)等)或5G(第五代移动通信技术(5th Generation Mobile Communication Technology)),或它们的组合。在一个示例性实施例中,通信组件经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件可基于近场通信(Near FieldCommunication,NFC)技术、射频识别(Radio Frequency Identification,RFID)技术、红外数据协会(Infrared Data Association,IrDA)技术、超宽带(Ultra Wide Band,UWB)技术、蓝牙(Bluetooth,BT)技术和其他技术来实现。Among them, the communication component 303 is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access wireless networks based on communication standards, such as Wi-Fi (wireless network communication technology), 2G (such as Global System for Mobile Communications (GSM), etc.), 3G (such as broadband code division) Multiple access (Wideband Code Division Multiple Access, WCDMA), 4G (such as Long Term Evolution (LTE), etc.), 4G+ (such as upgraded long-term evolution (LTE-Advanced, LTE-A), etc.) or 5G (the fifth (5th Generation Mobile Communication Technology), or a combination thereof. In an exemplary embodiment, the communication component receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary implementation For example, the communication component can be based on Near Field Communication (NFC) technology, Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

其中,电源组件304,用于为电源组件所在设备的各种组件提供电力。电源组件可以包括电源管理系统,一个或多个电源,及其他与为电源组件所在设备生成、管理和分配电力相关联的组件。Among them, the power supply component 304 is used to provide power for various components of the device where the power supply component is located. A power component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power component resides.

本实施例中,云桌面服务系统连接有多个运营商的单线线路,一方面,可基于单线线路的低成本降低云桌面服务的成本,另一方面可基于多个运营商的单线线路向不同运营商的用户提供高质量的云桌面的访问服务,使得云桌面服务更加低成本、流畅。在通过云桌面访问目标服务器时,根据带宽均衡策略对多个运营商的单线线路进行调度,可均衡单个运营商的上行带宽峰值以及下行带宽峰值,以提升已有的下行带宽资源的利用率,从而在不同运营商之间实现出口带宽消耗量的“削峰填谷”,进一步降低整体带宽成本。In this embodiment, the cloud desktop service system is connected to single lines of multiple operators. On the one hand, the cost of cloud desktop services can be reduced based on the low cost of single lines. On the other hand, the cost of cloud desktop services can be reduced based on the single lines of multiple operators. Operator users provide high-quality cloud desktop access services, making cloud desktop services more cost-effective and smooth. When accessing the target server through the cloud desktop, the single-line lines of multiple operators are scheduled according to the bandwidth balancing policy, which can balance the peak uplink bandwidth and peak downlink bandwidth of a single operator to improve the utilization of existing downlink bandwidth resources. This enables "peak-shaving and valley-filling" of egress bandwidth consumption among different operators, further reducing overall bandwidth costs.

相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述方法实施例中可由服务器执行的各步骤。Correspondingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program. When the computer program is executed, it can implement each step that can be executed by the server in the above method embodiment.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM(Compact Disc Read-Only Memory,只读光盘只读存储器)、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may employ computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM (Compact Disc Read-Only Memory), CD-ROM (Compact Disc Read-Only Memory)) containing computer-usable program code in one or more media. The form of a computer program product implemented on optical storage, etc.).

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce a use A device for realizing the functions specified in one process or multiple processes of the flowchart and/or one block or multiple blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the instructions The device implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. Instructions provide steps for implementing the functions specified in a process or processes of a flowchart diagram and/or a block or blocks of a block diagram.

在一个典型的配置中,计算设备包括一个或多个处理器(Central ProcessingUnit,CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (Central Processing Units, CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer-readable media, random access memory (RAM), and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Parallel Random Access Machine,PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(Dynamic Random AccessMemory,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(Digital Video Disc,DVD)或其他光学存储、磁盒式磁带,磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, Phase Change Memory (Parallel Random Access Machine, PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM), and other types of random access memory. Access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital multi-function Optical discs (Digital Video Discs, DVDs) or other optical storage, magnetic tape cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes Other elements are not expressly listed or are inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes the stated element.

以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are only examples of the present application and are not intended to limit the present application. To those skilled in the art, various modifications and variations may be made to this application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application shall be included in the scope of the claims of this application.

Claims (10)

1.一种调度方法,其特征在于,包括:1. A scheduling method, characterized by comprising: 确定终端的访问请求,所述访问请求用于通过云桌面访问目标服务器;所述云桌面通过多个运营商的单线线路中的第一线路与终端连接;Determine the access request of the terminal, the access request is used to access the target server through the cloud desktop; the cloud desktop is connected to the terminal through the first line among the single lines of multiple operators; 根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路;所述带宽均衡策略,用于均衡运营商的上下行带宽峰值;According to the bandwidth balancing strategy, determine the second line from the single lines of the multiple operators; the bandwidth balancing strategy is used to balance the uplink and downlink bandwidth peaks of the operators; 通过所述第二线路向所述目标服务器发送所述访问请求,以使所述目标服务器通过所述第二线路返回请求数据。Send the access request to the target server through the second line, so that the target server returns request data through the second line. 2.根据权利要求1所述的方法,其特征在于,所述带宽均衡策略,包括:入口线路与出口线路的运营商一致策略;根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路,包括:2. The method according to claim 1, characterized in that the bandwidth balancing strategy includes: a consistent operator strategy for ingress lines and egress lines; according to the bandwidth balancing strategy, the bandwidth balancing strategy is selected from the single-line lines of the multiple operators. Determine the second line, including: 确定所述第一线路所属的第一运营商,作为入口线路的运营商;Determine the first operator to which the first line belongs, as the operator of the entrance line; 从所述多个运营商的单线线路中,选择属于所述第一运营商的出口线路,作为所述第二线路。From the single lines of the multiple operators, an exit line belonging to the first operator is selected as the second line. 3.根据权利要求1所述的方法,其特征在于,所述带宽均衡策略,包括:运营商的上下行带宽峰值一致策略;根据带宽均衡策略,从所述多个运营商的单线线路中确定第二线路,包括:3. The method according to claim 1, characterized in that the bandwidth balancing strategy includes: an operator's uplink and downlink bandwidth peak consistent strategy; according to the bandwidth balancing strategy, the bandwidth balancing strategy is determined from the single lines of the multiple operators. The second line includes: 根据所述多个运营商的上下行带宽峰值,获取所述多个运营商的单线线路的下行带宽可用量;Obtain the available downlink bandwidth of the single-line lines of the multiple operators according to the peak uplink and downlink bandwidths of the multiple operators; 根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率;所述出口方向为所述云桌面访问外部互联网的方向;Determine the scheduling hit probability of the single-line lines of the multiple operators in the egress direction according to the available downlink bandwidth of the single-line lines of the multiple operators; the egress direction is the direction in which the cloud desktop accesses the external Internet; 根据所述多个运营商的单线线路在出口方向上的调度命中概率,从所述多个运营商的单线线路中确定第二线路。The second line is determined from the single-line lines of the multiple operators according to the scheduling hit probabilities of the single-line lines of the multiple operators in the egress direction. 4.根据权利要求3所述的方法,其特征在于,获取多个运营商的单线线路的下行带宽可用量,包括:4. The method according to claim 3, characterized in that obtaining the available downlink bandwidth of single lines of multiple operators includes: 针对任一运营商的单线线路,获取所述单线线路在入口方向上的上行带宽峰值以及在所述出口方向上的下行带宽峰值;For any operator's single-line line, obtain the peak uplink bandwidth of the single-line line in the ingress direction and the peak downlink bandwidth in the egress direction; 根据所述单线线路在入口方向上的上行带宽峰值以及在所述出口方向上的下行带宽峰值,确定所述单线线路的上下行带宽峰值的差值;所述入口方向,为所述云桌面接收终端访问的方向;According to the peak uplink bandwidth of the single-line line in the inlet direction and the peak downlink bandwidth in the egress direction, the difference between the peak uplink and downlink bandwidth of the single-line line is determined; the inlet direction is the reception direction of the cloud desktop The direction of terminal access; 根据所述单线线路的上下行带宽峰值的差值,确定所述单线线路的下行带宽可用量。The available amount of downlink bandwidth of the single-line line is determined based on the difference between the peak values of the uplink and downlink bandwidths of the single-line line. 5.根据权利要求4所述的方法,其特征在于,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率,包括:5. The method according to claim 4, characterized in that, according to the available downlink bandwidth of the single-line lines of the multiple operators, the scheduling hit probability of the single-line lines of the multiple operators in the egress direction is determined, include: 按照下行带宽可用量与调度命中概率正相关的关系,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路的调度命中概率。According to the positive correlation between the available downlink bandwidth and the scheduling hit probability, the scheduling hit probability of the single lines of the multiple operators is determined based on the available downlink bandwidth of the single lines of the multiple operators. 6.根据权利要求5所述的方法,其特征在于,根据所述多个运营商的单线线路的下行带宽可用量,确定所述多个运营商的单线线路在出口方向上的调度命中概率之后,还包括:6. The method according to claim 5, characterized in that, after determining the scheduling hit probability of the single-line lines of the multiple operators in the egress direction according to the available downlink bandwidth of the single-line lines of the multiple operators ,Also includes: 确定所述目标服务器所在的第二运营商;所述第二运营商属于所述多个运营商;Determine the second operator where the target server is located; the second operator belongs to the multiple operators; 根据所述多个运营商的单线线路在出口方向上的调度命中概率,从所述多个运营商的单线线路中确定第二线路,包括:Determining the second line from the single-line lines of the multiple operators according to the scheduling hit probability of the single-line lines of the multiple operators in the egress direction includes: 根据所述多个运营商的单线线路的调度命中概率,判断所述第二运营商的单线线路的调度命中概率是否满足设定条件;Determine whether the scheduling hit probability of the single line of the second operator satisfies the set condition according to the scheduling hit probability of the single line of the multiple operators; 若为是,则将所述第二运营商的单线线路作为所述第二线路。If yes, the single-line line of the second operator is used as the second line. 7.根据权利要求1-6任一项所述的方法,其特征在于,接收终端通过第一线路发送的访问请求之前,还包括:7. The method according to any one of claims 1 to 6, characterized in that before receiving the access request sent by the terminal through the first line, it further includes: 将所述多个运营商的单线线路对应的多个接入点地址提供给所述终端,以使所述终端向所述多个接入点地址发送质量探测数据并根据质量探测的结果选择所述第一线路。Multiple access point addresses corresponding to the single lines of the multiple operators are provided to the terminal, so that the terminal sends quality detection data to the multiple access point addresses and selects the access point address according to the quality detection result. Describe the first line. 8.根据权利要求1-6任一项所述的方法,其特征在于,接收终端通过第一线路发送的访问请求之前,还包括:8. The method according to any one of claims 1 to 6, characterized in that before receiving the access request sent by the terminal through the first line, it further includes: 获取所述终端使用的网络对应的运营商信息;Obtain operator information corresponding to the network used by the terminal; 确定与所述运营商信息匹配的所述第一线路,并将所述第一线路的接入点地址提供给所述终端。The first line matching the operator information is determined, and the access point address of the first line is provided to the terminal. 9.一种服务器,其特征在于,包括:存储器和处理器;9. A server, characterized in that it includes: a memory and a processor; 所述存储器用于存储一条或多条计算机指令;The memory is used to store one or more computer instructions; 所述处理器用于执行所述一条或多条计算机指令以用于:执行权利要求1-8任一项所述的方法中的步骤。The processor is configured to execute the one or more computer instructions to perform the steps of the method according to any one of claims 1-8. 10.一种存储有计算机程序的计算机可读存储介质,其特征在于,计算机程序被处理器执行时能够实现权利要求1-8任一项所述的调度方法。10. A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the scheduling method according to any one of claims 1-8 can be implemented.
CN202310696462.0A 2023-06-12 2023-06-12 Scheduling method, device and storage medium Active CN116996506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310696462.0A CN116996506B (en) 2023-06-12 2023-06-12 Scheduling method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310696462.0A CN116996506B (en) 2023-06-12 2023-06-12 Scheduling method, device and storage medium

Publications (2)

Publication Number Publication Date
CN116996506A true CN116996506A (en) 2023-11-03
CN116996506B CN116996506B (en) 2025-09-23

Family

ID=88529091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310696462.0A Active CN116996506B (en) 2023-06-12 2023-06-12 Scheduling method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116996506B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110896365A (en) * 2019-12-20 2020-03-20 网宿科技股份有限公司 Traffic scheduling method, server and storage medium in network node
CN111464446A (en) * 2020-04-08 2020-07-28 广州虎牙科技有限公司 Communication method and device for multi-line server access and server
US20210250263A1 (en) * 2020-02-12 2021-08-12 International Business Machines Corporation Load balancing across bandwidth carrying circuits
CN113877199A (en) * 2021-12-07 2022-01-04 北京蔚领时代科技有限公司 Line scheduling method and device suitable for cloud game scene
CN116036579A (en) * 2023-02-02 2023-05-02 深圳市瑞云科技股份有限公司 A cloud game Saas scheduling method based on attributes and requirements
CN116149764A (en) * 2021-11-17 2023-05-23 中移(苏州)软件技术有限公司 Cloud desktop distribution method, device, equipment and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110896365A (en) * 2019-12-20 2020-03-20 网宿科技股份有限公司 Traffic scheduling method, server and storage medium in network node
US20210250263A1 (en) * 2020-02-12 2021-08-12 International Business Machines Corporation Load balancing across bandwidth carrying circuits
CN111464446A (en) * 2020-04-08 2020-07-28 广州虎牙科技有限公司 Communication method and device for multi-line server access and server
CN116149764A (en) * 2021-11-17 2023-05-23 中移(苏州)软件技术有限公司 Cloud desktop distribution method, device, equipment and computer storage medium
CN113877199A (en) * 2021-12-07 2022-01-04 北京蔚领时代科技有限公司 Line scheduling method and device suitable for cloud game scene
CN116036579A (en) * 2023-02-02 2023-05-02 深圳市瑞云科技股份有限公司 A cloud game Saas scheduling method based on attributes and requirements

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
成都极云: "单线、双线、三线和BGP的区别你get了吗", Retrieved from the Internet <URL:知乎> *
肖成: "云桌面技术应用浅析", 金融科技时代, vol. 28, no. 06, 10 June 2020 (2020-06-10) *

Also Published As

Publication number Publication date
CN116996506B (en) 2025-09-23

Similar Documents

Publication Publication Date Title
US10447594B2 (en) Ensuring predictable and quantifiable networking performance
US9350624B2 (en) Dynamic assignment of connection priorities for applications operating on a client device
US10271308B2 (en) Implementing third generation partnership project protocols that combine use of international mobile telecommunication bands and non-international mobile telecommunication bands of licensed wireless communication spectrum
CN106412628B (en) Bandwidth adjusting method and related equipment
CN113811013B (en) Cluster capacity dynamic adjustment method, equipment, storage media and communication system
US9843454B2 (en) Techniques for contextual mobile data access
CN106534333A (en) A Two-way Selective Computing Offloading Method Based on MEC and MCC
WO2017054138A1 (en) Method and device for automatically selecting network according to tariff standard, server, and terminal
Zhang et al. DMRA: A decentralized resource allocation scheme for multi-SP mobile edge computing
US20160192344A1 (en) Techniques for peer-to-peer network sharing
US11570785B2 (en) Radio resource management method, management apparatus, and wireless communication system
US12143306B2 (en) Enhanced network with data flow differentiation
CN109831796A (en) Resource allocation methods in wireless network virtualization
US11212778B2 (en) Facilitation of channel selection within a wireless network
US20250284560A1 (en) Virtualization of community-based networking and crypto mining hardware
CN105429900B (en) A kind of method, apparatus and system of bandwidth speed-raising
Song et al. Incentive framework for mobile data offloading market under QoE‐aware users
CN116996506A (en) Scheduling methods, equipment and storage media
Li et al. User perceived QoS provisioning for video streaming in wireless OFDMA systems: Admission control and resource allocation
CN103179641A (en) Method and terminal for selecting network by terminal
US20220286917A1 (en) 5g service management in multi-dwelling unit
Shi et al. DiFi: A go-as-you-pay Wi-Fi access system
Li et al. LoCoCa: Location-context-capacity aware cost economizing in edge-cloud systems
US20250110872A1 (en) Systems and methods for demand-based content caching
Wu et al. Efficient mechanism design for competitive uplink carrier selection and rate allocation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant