CN114490071A - Resource scheduling method, device, equipment and medium based on cloud game - Google Patents

Resource scheduling method, device, equipment and medium based on cloud game Download PDF

Info

Publication number
CN114490071A
CN114490071A CN202210111516.8A CN202210111516A CN114490071A CN 114490071 A CN114490071 A CN 114490071A CN 202210111516 A CN202210111516 A CN 202210111516A CN 114490071 A CN114490071 A CN 114490071A
Authority
CN
China
Prior art keywords
computer room
screening
target
strategy
scheduling
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.)
Pending
Application number
CN202210111516.8A
Other languages
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.)
Hangzhou Wulian Technology Co ltd
Original Assignee
Hangzhou Wulian Technology 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 Hangzhou Wulian Technology Co ltd filed Critical Hangzhou Wulian Technology Co ltd
Priority to CN202210111516.8A priority Critical patent/CN114490071A/en
Publication of CN114490071A publication Critical patent/CN114490071A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a resource scheduling method, device, equipment and medium based on a cloud game, which comprises the following steps: the method comprises the steps that a scheduling request which is sent by a service end and is based on a cloud game and comprises scheduling requirements is obtained through a preset service interface in butt joint with a cloud platform, and a target machine room is determined by utilizing a target machine room screening strategy based on the scheduling requirements in the scheduling request; determining a target host screening strategy based on a scheduling requirement in a scheduling request, and determining a target host from the target machine room by using the target host screening strategy; and sending the target host to a service end so that the service end can be connected with the target host by using the connection information. Through the technical scheme, the machine room screening strategy and the host screening strategy which are more systematic and fit with user requirements can be adopted to schedule the target host, the rationality of cloud edge computing node resource scheduling based on cloud games is improved, and the satisfaction of both a server side and a service side is further improved.

Description

一种基于云游戏的资源调度方法、装置、设备及介质A resource scheduling method, device, device and medium based on cloud games

技术领域technical field

本发明涉及云游戏技术领域,特别涉及一种基于云游戏的资源调度方法、装置、设备及介质。The present invention relates to the technical field of cloud games, in particular to a resource scheduling method, device, device and medium based on cloud games.

背景技术Background technique

随着5G网络、编解码技术以及软硬件技术的发展,云游戏系统等创新业务逐步进入大众的视野,并取得了一定的发展。云游戏不同于传统游戏,是一种以云计算、云控制、渲染及网络传输为基础的实现方式,将算力上行,其游戏真正运行在云端边缘计算节点的主机端,而非用户本地客户端上。而怎么快速为用户分配满足要求的计算资源云主机非常关键,服务端希望能尽可能为用户合理分配云主机,而用户端希望能以最快的速度为他们分配满足要求的高性能主机。With the development of 5G network, codec technology, and hardware and software technology, innovative businesses such as cloud gaming systems have gradually entered the public's field of vision and have achieved certain development. Different from traditional games, cloud games are an implementation method based on cloud computing, cloud control, rendering and network transmission, which increases computing power, and its games really run on the host side of cloud edge computing nodes, rather than users’ local customers. end. How to quickly allocate cloud hosts that meet the requirements of computing resources for users is very important. The server hopes to allocate cloud hosts to users as reasonably as possible, and the client hopes to allocate them high-performance hosts that meet the requirements at the fastest speed.

由上可见,在基于云游戏的云端边缘计算节点的主机资源调度过程中,如何提出一种更全面合理化贴合用户需求的资源调度方法,既能提升业务端的用户体验,又能确保服务端资源的合理分配是本领域有待解决的问题。It can be seen from the above that in the process of host resource scheduling of cloud edge computing nodes based on cloud games, how to propose a more comprehensive and rational resource scheduling method that meets user needs, which can not only improve the user experience on the business side, but also ensure server-side resources. The rational distribution of , is a problem to be solved in this field.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种基于云游戏的资源调度方法、装置、设备及介质,能够提升云游戏资源调度的高效性,既能提升业务端的用户体验,又能确保服务端资源的合理分配。其具体方案如下:In view of this, the purpose of the present invention is to provide a resource scheduling method, device, device and medium based on cloud games, which can improve the efficiency of cloud game resource scheduling, not only improve the user experience of the business side, but also ensure the resources of the server side. reasonable allocation. Its specific plan is as follows:

第一方面,本申请公开了一种基于云游戏的资源调度方法,包括:In a first aspect, the present application discloses a resource scheduling method based on cloud games, including:

通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求;Obtain the cloud game-based scheduling request sent by the business terminal and containing scheduling requirements through the preset service interface connected to the cloud platform;

基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种;Based on the scheduling requirements in the scheduling request, the target computer room is determined by using the target computer room screening strategy; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms; the The strategy for screening computer rooms based on the system includes one or more of a delay-based screening strategy and a location priority-based screening strategy;

基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;The target host screening strategy is determined based on the scheduling requirements in the scheduling request, and the target host screening strategy is used to determine the target host from the target computer room; the target host screening strategy includes a system-based strategy for screening hosts and a strategy for randomly screening hosts. One of the strategies; the system-based strategy for screening hosts includes one or more of a computing power specification priority-based screening strategy and a home party priority-based screening strategy;

将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。The connection information of the target host is sent to the service end, so that the service end uses the connection information to connect with the target host.

可选的,所述通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求,包括:Optionally, obtaining the cloud game-based scheduling request sent by the business terminal and containing scheduling requirements through a preset service interface docked with the cloud platform includes:

通过与云平台对接的API网关接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求。Through the API gateway interface connected to the cloud platform, the cloud game-based scheduling request sent by the business end and containing scheduling requirements is obtained.

可选的,所述基于调度请求中的调度需求利用目标机房筛选策略确定出目标机房,包括:Optionally, the target computer room is determined by using the target computer room screening strategy based on the scheduling requirement in the scheduling request, including:

判断所述调度请求中的调度需求是否存在对应的指定机房;Determine whether the scheduling requirement in the scheduling request has a corresponding designated computer room;

若所述调度需求存在对应的指定机房,则判断所述指定机房是否存在可用资源,若存在可用资源,则将所述目标机房筛选策略确定为基于指定机房的筛选策略,并将所述指定机房确定为目标机房;If there is a designated computer room corresponding to the scheduling requirement, it is judged whether there are available resources in the designated computer room, and if there are available resources, the target computer room screening strategy is determined as a screening strategy based on the designated computer room, and the designated computer room is Determined as the target computer room;

若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房。If the scheduling requirement does not have a corresponding designated computer room, a target computer room screening strategy is determined based on the scheduling request, and a target computer room is determined according to the target computer room screening strategy.

可选的,所述若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房,包括:Optionally, if the scheduling requirement does not have a corresponding designated computer room, determining a target computer room screening strategy based on the scheduling request, and determining a target computer room according to the target computer room screening strategy, including:

若所述调度需求不存在对应的指定机房,则确定当前的机房选择方式;所述机房选择方式包括使用系统筛选机房的方式或随机筛选机房的方式;If the scheduling requirement does not have a corresponding designated computer room, then determine the current computer room selection method; the computer room selection method includes the method of using the system to screen the computer room or the method of randomly screening the computer room;

若当前的机房选择方式为使用系统筛选机房的方式,则从所述基于系统筛选机房的策略中确定出目标机房筛选策略;If the current computer room selection method is the method of using the system to screen the computer room, then determine the target computer room screening strategy from the system-based strategy for screening the computer room;

若当前的机房选择方式为随机筛选机房的方式,则将所述目标机房筛选策略确定为随机基于随机筛选机房的策略。If the current computer room selection method is a method of randomly screening computer rooms, the target computer room screening strategy is determined to be a strategy based on random screening of computer rooms.

可选的,所述基于调度请求中的调度需求确定目标主机筛选策略,包括:Optionally, determining the target host screening strategy based on the scheduling requirement in the scheduling request includes:

基于调度请求中的调度需求确定当前的主机选择方式;所述主机选择方式包括使用系统筛选主机的方式或随机筛选主机的方式;Determine the current host selection method based on the scheduling requirement in the scheduling request; the host selection method includes a method of using the system to screen hosts or a method of randomly screening hosts;

若当前的主机选择方式为使用系统筛选主机的方式,则从所述基于系统筛选主机的策略中确定出目标主机筛选策略;If the current host selection method is the method of using the system to screen hosts, then determine the target host screening strategy from the system-based strategy for screening hosts;

若当前的主机选择方式为随机筛选主机的方式,则将所述目标主机筛选策略确定为随机基于随机筛选主机的策略。If the current host selection method is a method of randomly screening hosts, the target host screening strategy is determined to be a strategy based on random screening of hosts.

可选的,所述基于调度请求中的调度需求确定目标主机筛选策略,并利用目标主机筛选策略从所述目标机房中确定目标主机之后,还包括:Optionally, after the target host screening strategy is determined based on the scheduling requirement in the scheduling request, and the target host is determined from the target computer room by using the target host screening strategy, the method further includes:

利用智能平台管理接口开启所述目标主机,并根据预先获取的网络设置信息对所述目标主机进行网络设置。The target host is started by using the intelligent platform management interface, and network settings are performed on the target host according to pre-acquired network setting information.

可选的,所述将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接,包括:Optionally, the sending the connection information of the target host to the service end, so that the service end uses the connection information to connect with the target host, including:

查询所述目标主机对应的外网IP、port信息以及token信息;Query the external network IP, port information and token information corresponding to the target host;

将所述外网IP、所述port信息以及所述token信息发送至业务端,以便所述业务端利用所述外网IP、所述port信息以及所述token信息与所述目标主机进行连接。The external network IP, the port information and the token information are sent to the service terminal, so that the service terminal uses the external network IP, the port information and the token information to connect with the target host.

第二方面,本申请公开了一种基于云游戏的资源调度装置,包括:In a second aspect, the present application discloses a resource scheduling device based on cloud games, including:

请求获取模块,用于通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的调度请求;A request acquisition module, configured to acquire the cloud game-based scheduling request sent by the business end through a preset service interface connected to the cloud platform;

机房确定模块,用于基于调度请求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种;a computer room determination module, used for determining a target computer room based on a scheduling request using a target computer room screening strategy; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms; The system-based strategy for screening computer rooms includes one or more of a delay-based screening strategy and a location-priority-based screening strategy;

主机确定模块,用于基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;a host determination module, configured to determine a target host screening strategy based on the scheduling requirement in the scheduling request, and use the target host screening strategy to determine a target host from the target computer room; the target host screening strategy includes a system-based strategy for screening hosts and one of the strategies based on random screening of hosts; the strategies for screening hosts based on the system include one or more of a screening strategy based on computing power specification priority and a screening strategy based on attribution priority;

信息发送模块,用于将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。The information sending module is configured to send the connection information of the target host to the service end, so that the service end uses the connection information to connect with the target host.

第三方面,本申请公开了一种电子设备,包括:In a third aspect, the present application discloses an electronic device, comprising:

存储器,用于保存计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序,以实现前述的基于云游戏的资源调度方法。The processor is configured to execute the computer program to implement the aforementioned resource scheduling method based on cloud games.

第四方面,本申请公开了一种计算机存储介质,用于保存计算机程序;其中,所述计算机程序被处理器执行时实现前述公开的基于云游戏的资源调度方法的步骤。In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed method for resource scheduling based on cloud games are implemented.

本申请通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求,基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种,基于调度请求中的调度需求利用目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选机房的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选机房的策略包括基于算力规格优先级的筛选策略、基于归属方优先级的筛选策略中的一种或多种,将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。本申请通过对获取到的调度请求中分析调度需求,利用所述调度需求从平台中进行机房筛选与主机筛选,从而确定与业务端进行连接的目标主机,本方法基于采用更贴合用户需求的较为系统化的机房筛选策略与主机筛选策略来进行目标主机的调度,提升了对基于云游戏的云端边缘计算节点资源调度的合理性,进而提升服务端与业务端双方的满意度。This application obtains the cloud game-based scheduling request sent by the business terminal and contains scheduling requirements through the preset service interface connected to the cloud platform, and uses the target computer room screening strategy to determine the target computer room based on the scheduling requirements in the scheduling request; the target computer room; The computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms; the system-based screening strategy for computer rooms includes a delay-based screening strategy and a location priority-based screening strategy. One or more of the screening strategies, the target host screening strategy is used to determine the target host from the target computer room based on the scheduling requirements in the scheduling request; the target host screening strategy includes a system-based strategy for screening computer rooms and a random-based screening for hosts. One of the strategies based on the system; the strategy for screening the computer room based on the system includes one or more of the screening strategy based on the computing power specification priority and the screening strategy based on the priority of the home party, and the connection information of the target host is It is sent to the service end, so that the service end uses the connection information to connect with the target host. The present application analyzes the scheduling requirements in the obtained scheduling requests, and uses the scheduling requirements to perform computer room screening and host screening from the platform, thereby determining the target host connected to the business end. The more systematic computer room screening strategy and host screening strategy are used to schedule target hosts, which improves the rationality of resource scheduling of cloud edge computing nodes based on cloud games, thereby improving the satisfaction of both the server and the business side.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.

图1为本申请提供的一种基于云游戏的资源调度方法流程图;1 is a flowchart of a cloud game-based resource scheduling method provided by the present application;

图2为本申请提供的一种机房筛选流程示意图;2 is a schematic diagram of a computer room screening process provided by the present application;

图3为本申请提供的一种机房筛选流程示意图;3 is a schematic diagram of a computer room screening process provided by the present application;

图4为本申请提供的一种资源调度的过程示意图;FIG. 4 is a schematic diagram of a process of resource scheduling provided by the present application;

图5为本申请提供的一种具体的基于云游戏的资源调度方法流程图;5 is a flowchart of a specific cloud game-based resource scheduling method provided by the present application;

图6为本申请提供的一种总体流程图;Fig. 6 is a kind of overall flow chart that this application provides;

图7为本申请提供的一种基于云游戏的资源调度装置结构示意图;7 is a schematic structural diagram of a cloud game-based resource scheduling device provided by the present application;

图8为本申请提供的一种电子设备结构图。FIG. 8 is a structural diagram of an electronic device provided by the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

现有技术中,在基于云游戏的云端边缘计算节点的主机资源调度过程中仅根据主机性能作为调度条件,缺少资源调度的全面性与合理性。在本申请中,基于采用更贴合用户需求的机房筛选策略与主机筛选策略来进行目标主机的调度,提升了对云端边缘计算节点资源调度的合理性,进而提升服务端与业务端双方的满意度。In the prior art, in the process of host resource scheduling of cloud edge computing nodes based on cloud games, only the host performance is used as a scheduling condition, which lacks the comprehensiveness and rationality of resource scheduling. In this application, the target host is scheduled based on a computer room screening strategy and a host screening strategy that are more suitable for user needs, which improves the rationality of cloud edge computing node resource scheduling, thereby improving the satisfaction of both the server and the business. Spend.

本发明实施例公开了一种基于云游戏的资源调度方法,参见图1所述,该方法包括:An embodiment of the present invention discloses a resource scheduling method based on cloud games. Referring to FIG. 1 , the method includes:

步骤S11:通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求。Step S11: Obtain a cloud game-based scheduling request sent by the service end and including scheduling requirements through a preset service interface connected to the cloud platform.

本实施例中所述的与云平台对接的预设服务接口用于进行业务端与平台之间的信息交互,通过所述预设服务接口可以获取到业务端发送的调度请求。可以理解的是,当用户对基于云游戏的资源主机产生调用需求时,发出的所述调度请求为基于云游戏资源主机的调度请求,且所述调度请求中包含用户的调度需求。需要指出的是,用户在发起对于云游戏资源主机的请求时的具体方式包括但不限于通过网页或APP(即Application,应用软件)发起请求的方式。The preset service interface for docking with the cloud platform described in this embodiment is used for information exchange between the service terminal and the platform, and the scheduling request sent by the service terminal can be obtained through the preset service interface. It can be understood that when a user generates a call request to a cloud game-based resource host, the dispatched scheduling request is a cloud game resource host-based scheduling request, and the scheduling request includes the user's scheduling request. It should be noted that the specific manner in which the user initiates the request for the cloud game resource host includes, but is not limited to, the manner in which the request is initiated through a web page or an APP (ie, Application, application software).

本实施例中所述的预设服务接口包括但不限于API网关(即API Gateway)接口,且本实施例中所述的业务端即用户端,所述目标主机即为资源池中用于当前调度请求中进行调用的云游戏资源主机,所述目标机房即为用于存放云游戏资源主机的云游戏资源机房中确定出的用于从中确定目标主机的云游戏资源机房。The preset service interface described in this embodiment includes, but is not limited to, an API gateway (that is, API Gateway) interface, and the service end described in this embodiment is the user end, and the target host is the resource pool used for the current The cloud game resource host called in the scheduling request, and the target computer room is the cloud game resource computer room determined from the cloud game resource computer room for storing the cloud game resource host and used for determining the target host.

步骤S12:基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种。Step S12: determining a target computer room by using a target computer room screening strategy based on the scheduling requirements in the scheduling request; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms ; The system-based strategy for screening computer rooms includes one or more of a delay-based screening strategy and a location-priority-based screening strategy.

可以理解的是,当云平台中心侧接收到所述包含调度需求的调度请求时,会对所述调度请求进行分析,并基于所述调度请求从资源池中选择用于调用的目标主机。可以理解的是,在选择目标主机之前,本申请先进行目标机房的选择,以便在目标机房确定后,再从所述目标机房中选择目标主机,此步骤完成的则是目标机房的选择过程,本实施例通过从机房筛选策略库中确定目标机房筛选策略,最后基于所述目标机房筛选策略确定目标机房。It can be understood that when the cloud platform central side receives the scheduling request including the scheduling requirement, it will analyze the scheduling request, and select a target host for calling from the resource pool based on the scheduling request. It can be understood that, before selecting the target host, the present application first selects the target computer room, so that after the target computer room is determined, the target host is selected from the target computer room, and this step completes the selection process of the target computer room, In this embodiment, the target computer room screening strategy is determined from the computer room screening strategy database, and finally the target computer room is determined based on the target computer room screening strategy.

本实施例中,所述基于调度请求中的调度需求利用目标机房筛选策略确定出目标机房,可以包括:判断所述调度请求中的调度需求是否存在对应的指定机房;若所述调度需求存在对应的指定机房,则判断所述指定机房是否存在可用资源,若存在可用资源,则将所述目标机房筛选策略确定为基于指定机房的筛选策略,并将所述指定机房确定为目标机房;若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房。In this embodiment, determining the target computer room by using the target computer room screening strategy based on the scheduling requirement in the scheduling request may include: judging whether the scheduling requirement in the scheduling request has a corresponding designated computer room; if the scheduling requirement has a corresponding designated computer room; the designated computer room, then determine whether there are available resources in the designated computer room, and if there are available resources, determine the target computer room screening strategy as a screening strategy based on the designated computer room, and determine the designated computer room as the target computer room; If there is no corresponding designated computer room for the scheduling requirement, a target computer room screening strategy is determined based on the scheduling request, and a target computer room is determined according to the target computer room screening strategy.

可以理解的是,部分用户的调度需求可能为对指定机房中的云游戏资源主机进行调用,在这种情况下,则先对所述指定机房中的可用资源进行查询,若指定机房中存在可用资源,则将目标机房筛选策略确定为基于指定机房的筛选策略,将所述指定机房作为目标机房,并将查询到的存在可用资源对应的云游戏资源主机确定为目标主机,这种情况表明用户指定机房的需求可以得到满足;若指定机房中不存在可用资源,则向业务端返回表征无可用资源的信息。It is understandable that the scheduling requirements of some users may be to call the cloud game resource host in the designated computer room. In this case, the available resources in the designated computer room shall be queried first. If there are available resources in the designated computer room. resources, the target computer room screening strategy is determined as the screening strategy based on the designated computer room, the designated computer room is used as the target computer room, and the cloud game resource host corresponding to the available resources found in the query is determined as the target host. This situation indicates that the user The requirements of the designated computer room can be met; if there are no available resources in the designated computer room, information indicating that there are no available resources is returned to the service end.

本实施例中,所述若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房,可以包括:若所述调度需求不存在对应的指定机房,则确定当前的机房选择方式;所述机房选择方式包括使用系统筛选机房的方式或随机筛选机房的方式;若当前的机房选择方式为使用系统筛选机房的方式,则从所述基于系统筛选机房的策略中确定出目标机房筛选策略;若当前的机房选择方式为随机筛选机房的方式,则将所述目标机房筛选策略确定为随机基于随机筛选机房的策略。In this embodiment, if the scheduling requirement does not have a corresponding designated computer room, determining a target computer room screening strategy based on the scheduling request, and determining a target computer room according to the target computer room screening strategy may include: if the scheduling request If there is no corresponding designated computer room for the demand, the current computer room selection method is determined; the computer room selection method includes the method of using the system to screen the computer room or the method of randomly screening the computer room; if the current computer room selection method is the method of using the system to screen the computer room, then The target computer room screening strategy is determined from the system-based strategy for screening computer rooms; if the current computer room selection method is the method of randomly screening computer rooms, the target computer room screening strategy is determined as a random-based strategy for randomly screening computer rooms.

可以理解的是,还有部分用户无指定机房相关的调度需求,则此时系统将会从机房筛选策略库中选择除基于指定机房的筛选策略之外的其他策略。在这种情况下,系统会先根据调度需求确定当前的目标机房的机房选择方式,若当前的机房选择方式为使用系统筛选机房的方式,则可能存在的第一种具体的实施方式中,系统基于用户需求确定当前目标机房筛选策略为基于时延的机房筛选策略,则会优先选择时延最低的且满足当前调度请求所用资源的机房作为当前调度请求对应的目标机房;在第二种具体实施方式中,系统基于用户需求确定当前目标机房筛选策略为基于位置优先级的筛选策略,则会通过解析业务端的IP地址(即Internet Protocol Address,互联网协议地址)从而获取用户端区域或运营商信息,从而根据所述用户端区域或运营商信息决定机房优先级,并默认选择优先级高的且满足当前调度请求所用资源的机房作为目标机房;若当前的机房选择方式为使用随机筛选机房的方式,则将所述目标机房筛选策略确定为随机基于随机筛选机房的策略,并由系统从可用资源满足当前调度请求所用资源的全部云游戏资源机房中随机确定出目标机房。It is understandable that some users do not have scheduling requirements related to the designated computer room, then the system will select other strategies from the computer room screening strategy library except the filtering strategy based on the designated computer room. In this case, the system will first determine the computer room selection method of the current target computer room according to the scheduling requirements. If the current computer room selection method is the method of using the system to screen the computer room, there may be a first specific implementation. Based on user needs, the current target computer room screening strategy is determined as the delay-based computer room screening strategy, and the computer room with the lowest delay and satisfying the resources used by the current scheduling request will be preferentially selected as the target computer room corresponding to the current scheduling request; in the second specific implementation In the method, the system determines that the current target computer room screening strategy is a location priority-based screening strategy based on user needs, and then obtains the user-end area or operator information by parsing the IP address (ie, Internet Protocol Address, Internet Protocol Address) of the service end. Therefore, the priority of the computer room is determined according to the user terminal area or the information of the operator, and the computer room with a high priority and satisfying the resources used by the current scheduling request is selected as the target computer room by default; Then, the target computer room screening strategy is determined as a strategy based on random screening of computer rooms, and the system randomly determines the target computer room from all cloud game resource computer rooms whose available resources meet the resources used by the current scheduling request.

图2为一种机房筛选流程示意图,图中展示了在通过调度需求确定用户是否存在指定机房,若是,则判断该指定机房是否存在可用资源,若不存在可用资源,则告知业务侧无可用资源,并结束流程;若用户不存在指定机房,则确定机房选择方式,若基于调度请求确定的机房选择方式为系统筛选机房的方式,则在选择相应的筛选策略后按策略筛选出优先级最高的可用机房,将其作为目标机房而进入主机筛选流程;若选择随机筛选机房的方式,则随机选择一个可用机房将其作为目标机房而进入主机筛选流程。Figure 2 is a schematic diagram of a computer room screening process. The figure shows whether the user has a designated computer room through scheduling requirements. If so, it is judged whether there are available resources in the designated computer room. If there are no available resources, it is notified that the service side has no available resources. , and end the process; if the user does not have a designated computer room, the computer room selection method is determined. If the computer room selection method determined based on the scheduling request is the method for the system to screen computer rooms, after selecting the corresponding filtering strategy, the highest priority is selected according to the strategy. The available computer room is used as the target computer room to enter the host screening process; if the method of random screening of computer rooms is selected, an available computer room is randomly selected as the target computer room to enter the host screening process.

步骤S13:基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;Step S13: Determine the target host screening strategy based on the scheduling requirement in the scheduling request, and use the target host screening strategy to determine the target host from the target computer room; the target host screening strategy includes a system-based strategy for screening hosts and a random-based strategy. One of the strategies for screening hosts; the strategies for screening hosts based on the system include one or more of a screening strategy based on computing power specification priority and a screening strategy based on attribution priority;

本步骤完成的是从所述目标机房中确定目标主机的过程,本实施例通过从主机筛选策略库中确定目标主机筛选策略,最后基于所述目标主机筛选策略从所述目标机房中确定目标主机。This step completes the process of determining the target host from the target computer room. In this embodiment, the target host screening strategy is determined from the host screening strategy library, and finally the target host is determined from the target computer room based on the target host screening strategy. .

本实施例中,所述基于调度请求中的调度需求确定目标主机筛选策略,可以包括:基于调度请求中的调度需求确定当前的主机选择方式;所述主机选择方式包括使用系统筛选主机的方式或随机筛选主机的方式;若当前的主机选择方式为使用系统筛选主机的方式,则从所述基于系统筛选主机的策略中确定出目标主机筛选策略;若当前的主机选择方式为随机筛选主机的方式,则将所述目标主机筛选策略确定为随机基于随机筛选主的策略。In this embodiment, determining the target host screening policy based on the scheduling requirement in the scheduling request may include: determining the current host selection method based on the scheduling requirement in the scheduling request; the host selection method includes using the system to screen hosts or The method of randomly screening hosts; if the current host selection method is the method of using the system to screen hosts, the target host screening strategy is determined from the system-based strategy for screening hosts; if the current host selection method is the method of randomly screening hosts , the target host screening strategy is determined to be a strategy based on random screening hosts.

本实施例中,系统会先根据调度需求确定当前的目标主机的主机选择方式,若当前的主机选择方式为使用系统筛选主机的方式,则可能存在的第一种具体的实施方式中,系统基于用户需求确定当前目标主机筛选策略为基于算力规格优先级的筛选策略,则会基于调度需求确定目标算力规格,并优先选择满足用户算力规格需求的且满足当前调度请求所用资源的主机作为当前调度请求对应的目标主机,其实所述算力规格主要包括CPU(即Central Processing Unit,中央处理器)和GPU(即Graphics Processing Unit,图形处理器)两种;在第二种具体实施方式中,系统基于用户需求确定当前目标主机筛选策略为基于归属方优先级的筛选策略,则会优先选择跟用户同一归属方的且满足当前调度请求所用资源的主机作为目标主机;若当前的主机选择方式为使用随机筛选主机的方式,则将所述目标主机筛选策略确定为随机基于随机筛选主机的策略,并由系统从可用资源满足当前调度请求所用资源的全部云游戏资源主机中随机确定出目标主机。In this embodiment, the system will first determine the host selection method of the current target host according to the scheduling requirement. If the current host selection method is the method of using the system to screen hosts, then there may be a first specific implementation where the system is based on The user needs to determine that the current target host screening strategy is based on the priority of the computing power specification. The target computing power specification will be determined based on the scheduling requirements, and the host that meets the computing power specification requirements of the user and the resources used by the current scheduling request will be selected as the priority. The target host corresponding to the current scheduling request, in fact, the computing power specifications mainly include two types: CPU (ie, Central Processing Unit, central processing unit) and GPU (ie, Graphics Processing Unit, graphics processor). In the second specific implementation manner , the system determines that the current target host screening strategy is based on the attribution priority based on the user's needs, and will preferentially select the host that belongs to the same home party as the user and satisfies the resources used by the current scheduling request as the target host; if the current host selection method In order to use the method of randomly screening hosts, the target host screening strategy is determined as a strategy based on random screening of hosts, and the system randomly determines the target host from all cloud game resource hosts whose available resources satisfy the resources used by the current scheduling request. .

图3为一种主机筛选流程示意图,图中展示了在选定目标机房后,确定主机选择方式,若所述主机选择方式确定为系统筛选主机的方式,则在选定少选策略后按策略筛选出优先级最高的可用主机,将其确定为目标主机;若选择随机筛选主机的方式,则随机选择一台可用主机,将其确定为目标主机,最后向用户侧返回所述目标主机用于连接业务侧的连接信息。Figure 3 is a schematic diagram of a host screening process. The figure shows that after the target computer room is selected, the host selection method is determined. If the host selection method is determined to be the method for the system to screen hosts, after selecting the less-selection strategy, press the strategy The available host with the highest priority is screened out and determined as the target host; if the method of random screening of hosts is selected, an available host is randomly selected and determined as the target host, and finally the target host is returned to the user side for use. Connection information on the service side of the connection.

步骤S14:将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。Step S14: Send the connection information of the target host to the service end, so that the service end uses the connection information to connect with the target host.

可以理解的是,在确定目标主机后,需要将目标主机映射的连接信息发送至业务端,以便用户的设备通过接收到的连接信息与所述目标主机进行连接并进行云游戏的应用。需要指出的是,在用户发起调度请求后进行的一系列主机筛选与主机调度的过程是非常迅速的,对于用户是无感知的,提升了用户体验感。It can be understood that after the target host is determined, the connection information mapped by the target host needs to be sent to the service end, so that the user's device can connect with the target host through the received connection information and perform cloud game applications. It should be pointed out that the process of a series of host screening and host scheduling performed after the user initiates a scheduling request is very fast, and is imperceptible to the user, which improves the user experience.

如图4为一种资源调度的过程示意图,图中展示了业务侧通过发起调度请求,由API接口进行信息传输,然后利用平台预设的调度服务对资源池中的主机进行筛选,以得到目标主机,最终将目标主机的信息返回至业务端,以便业务端进行云游戏以及其他业务的应用。Figure 4 is a schematic diagram of a resource scheduling process. The figure shows that the service side initiates a scheduling request, transmits information through the API interface, and then uses the platform's preset scheduling service to screen hosts in the resource pool to obtain the target The host finally returns the information of the target host to the business end, so that the business end can perform cloud games and other business applications.

本实施例通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求,基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种,基于调度请求中的调度需求利用目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选机房的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选机房的策略包括基于算力规格优先级的筛选策略、基于归属方优先级的筛选策略中的一种或多种,将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。本申请通过对获取到的调度请求中分析调度需求,利用所述调度需求从平台中进行机房筛选与主机筛选,从而确定与业务端进行连接的目标主机,本方法基于采用更贴合用户需求的较为系统化的机房筛选策略与主机筛选策略来进行目标主机的调度,提升了对基于云游戏的云端边缘计算节点资源调度的合理性,进而提升服务端与业务端双方的满意度。In this embodiment, a cloud game-based scheduling request sent by the service end and containing scheduling requirements is obtained through a preset service interface connected to the cloud platform, and a target computer room is determined based on the scheduling requirements in the scheduling request by using a target computer room screening strategy; the The target computer room screening strategy includes one of a system-based screening strategy, a designated computer room-based screening strategy, and a random-based screening strategy; the system-based screening strategy includes a delay-based screening strategy and a location-based priority. One or more of the screening strategies, based on the scheduling requirements in the scheduling request, use the target host screening strategy to determine the target host from the target computer room; the target host screening strategy includes a system-based strategy for screening computer rooms and a random screening strategy based on One of the strategies of the host; the strategy for screening the computer room based on the system includes one or more of the screening strategy based on the computing power specification priority and the screening strategy based on the priority of the home party, connecting the connection of the target host The information is sent to the service end, so that the service end uses the connection information to connect with the target host. The present application analyzes the scheduling requirements in the obtained scheduling requests, and uses the scheduling requirements to perform computer room screening and host screening from the platform, thereby determining the target host connected to the business end. The more systematic computer room screening strategy and host screening strategy are used to schedule target hosts, which improves the rationality of resource scheduling of cloud edge computing nodes based on cloud games, thereby improving the satisfaction of both the server and the business side.

图5为本申请提供的一种具体的基于云游戏的资源调度方法流程图。参见图5所示,该方法包括:FIG. 5 is a flowchart of a specific cloud game-based resource scheduling method provided by the present application. Referring to Figure 5, the method includes:

步骤S21:通过与云平台对接的API网关接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求。Step S21: Acquire, through the API gateway interface connected to the cloud platform, a cloud game-based scheduling request sent by the service end and containing scheduling requirements.

在本实施例中,在获取到所述调度请求之后,利用云平台预设的IDC(即InternetData Center,互联网数据中心)对所述调度请求进行身份验证,并在身份验证通过后进行后续步骤。In this embodiment, after the scheduling request is acquired, an IDC (ie, Internet Data Center, Internet Data Center) preset on the cloud platform is used to perform identity verification on the scheduling request, and subsequent steps are performed after the identity verification is passed.

步骤S22:基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种。Step S22: Determine the target computer room by using the target computer room screening strategy based on the scheduling requirement in the scheduling request; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms ; The system-based strategy for screening computer rooms includes one or more of a delay-based screening strategy and a location-priority-based screening strategy.

可以理解的是,本步骤完成的是目标机房筛选的步骤,所述目标机房筛选是在平台的中心侧的IDC中进行。It can be understood that this step completes the step of screening the target computer room, and the target computer room screening is performed in the IDC on the center side of the platform.

步骤S23:基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种。Step S23: Determine the target host screening strategy based on the scheduling requirement in the scheduling request, and use the target host screening strategy to determine the target host from the target computer room; the target host screening strategy includes a system-based strategy for screening hosts and a random-based strategy. One of the strategies for screening hosts; the strategy for screening hosts based on the system includes one or more of a screening strategy based on computing power specification priority and a screening strategy based on home party priority.

可以理解的是,本步骤完成的是目标主机筛选的步骤,所述目标主机筛选是在平台的边缘侧中进行。It can be understood that what this step completes is the step of target host screening, and the target host screening is performed in the edge side of the platform.

如图6为一种总体流程图,展示了系统资源调度的总体流程为:在接收到的业务订单后,在IDC进行机房筛选流程,并在边缘侧进行主机筛选流程后确定目标主机,进行目标主机的调度,并返回目标主机的连接信息,以便业务侧用于与目标主机的连接。Figure 6 is an overall flow chart, which shows the overall process of system resource scheduling: after receiving business orders, the computer room screening process is carried out in the IDC, and the target host is determined after the host screening process is carried out on the edge side. The scheduling of the host, and return the connection information of the target host, so that the service side can use it to connect with the target host.

步骤S24:利用智能平台管理接口开启所述目标主机,并根据预先获取的网络设置信息对所述目标主机进行网络设置。Step S24: Use the intelligent platform management interface to start the target host, and perform network settings on the target host according to pre-acquired network setting information.

可以理解的是,所述对所述目标主机进行开启的方法包括但不限于使用IPMI(即Intelligent Platform Management Interface,智能平台管理接口)接口的方法。It can be understood that, the method for enabling the target host includes, but is not limited to, a method using an IPMI (ie, Intelligent Platform Management Interface, intelligent platform management interface) interface.

步骤S25:查询所述目标主机对应的外网IP、port信息以及token信息。Step S25: Query the external network IP, port information and token information corresponding to the target host.

步骤S26:将所述外网IP、所述port信息以及所述token信息发送至业务端,以便所述业务端利用所述外网IP、所述port信息以及所述token信息与所述目标主机进行连接。Step S26: Send the external network IP, the port information, and the token information to the service terminal, so that the service terminal uses the external network IP, the port information, and the token information to communicate with the target host. to connect.

可以理解的是,所述为用于业务端与所述目标主机进行连接的信息,包括但不限于所述外网IP、port信息以及token信息。It can be understood that the information used for the connection between the service end and the target host includes but is not limited to the external network IP, port information, and token information.

本实施例通过API网关接口获取调度请求,在中心侧进行机房筛选后,在边缘侧进行主机筛选,在确定目标主机后利用IPMI接口控制所述目标主机远程开机并设置网络后,最后将筛选得到的目标主机的外网IP、port信息以及token信息返回至业务端,以便业务端利用所述连接信息与所述目标主机进行连接,本方法对目标主机的筛选过程有着较为系统且合理化的筛选方法,通过平台中心侧与边缘侧相互配合,提升了对基于云游戏的云端边缘计算节点资源调度的合理性,进而提升服务端与业务端双方的满意度。In this embodiment, the scheduling request is obtained through the API gateway interface. After the equipment room is screened on the central side, the host screen is performed on the edge side. After determining the target host, the IPMI interface is used to control the target host to remotely start up and set the network. Finally, the screening results are obtained. The external network IP, port information and token information of the target host are returned to the business end, so that the business end uses the connection information to connect with the target host. This method has a more systematic and rational screening method for the screening process of the target host. , through the mutual cooperation between the center side and the edge side of the platform, the rationality of resource scheduling of cloud edge computing nodes based on cloud games is improved, thereby improving the satisfaction of both the server and the business side.

参见图7所示,本申请实施例公开了一种基于云游戏的资源调度装置,具体可以包括:Referring to FIG. 7 , an embodiment of the present application discloses a resource scheduling device based on cloud games, which may specifically include:

请求获取模块11,用于通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的调度请求;A request obtaining module 11, configured to obtain the cloud game-based scheduling request sent by the business end through a preset service interface docked with the cloud platform;

机房确定模块12,用于基于调度请求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种;The computer room determination module 12 is used to determine the target computer room based on the scheduling request using the target computer room screening strategy; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms. ; The system-based strategy for screening computer rooms includes one or more of a time-delay-based screening strategy and a location-priority-based screening strategy;

主机确定模块13,用于基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;The host determination module 13 is configured to determine a target host screening strategy based on the scheduling requirement in the scheduling request, and use the target host screening strategy to determine a target host from the target computer room; the target host screening strategy includes a system-based screening host. One of a strategy and a strategy based on random screening of hosts; the system-based strategy for screening hosts includes one or more of a screening strategy based on computing power specification priority and a screening strategy based on attribution priority;

信息发送模块14,用于将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。The information sending module 14 is configured to send the connection information of the target host to the service end, so that the service end uses the connection information to connect with the target host.

本申请通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求,基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种,基于调度请求中的调度需求利用目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选机房的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选机房的策略包括基于算力规格优先级的筛选策略、基于归属方优先级的筛选策略中的一种或多种,将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。本申请通过对获取到的调度请求中分析调度需求,利用所述调度需求从平台中进行机房筛选与主机筛选,从而确定与业务端进行连接的目标主机,本方法基于采用更贴合用户需求的较为系统化的机房筛选策略与主机筛选策略来进行目标主机的调度,提升了对云端边缘计算节点资源调度的合理性,进而提升服务端与业务端双方的满意度。This application obtains the cloud game-based scheduling request sent by the business terminal and contains scheduling requirements through the preset service interface connected to the cloud platform, and uses the target computer room screening strategy to determine the target computer room based on the scheduling requirements in the scheduling request; the target computer room; The computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms; the system-based screening strategy for computer rooms includes a delay-based screening strategy and a location priority-based screening strategy. One or more of the screening strategies, the target host screening strategy is used to determine the target host from the target computer room based on the scheduling requirements in the scheduling request; the target host screening strategy includes a system-based strategy for screening computer rooms and a random-based screening for hosts. One of the strategies based on the system; the strategy for screening the computer room based on the system includes one or more of the screening strategy based on the computing power specification priority and the screening strategy based on the priority of the home party, and the connection information of the target host is It is sent to the service end, so that the service end uses the connection information to connect with the target host. The present application analyzes the scheduling requirements in the obtained scheduling requests, and uses the scheduling requirements to perform computer room screening and host screening from the platform, thereby determining the target host connected to the business end. The more systematic computer room screening strategy and host screening strategy are used to schedule target hosts, which improves the rationality of cloud edge computing node resource scheduling, thereby improving the satisfaction of both the server and the business side.

在一些具体实施例中,所述请求获取模块11,包括:In some specific embodiments, the request obtaining module 11 includes:

请求获取单元,用于通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的调度请求The request obtaining unit is used to obtain the cloud game-based scheduling request sent by the business end through the preset service interface docked with the cloud platform

在一些具体实施例中,所述机房确定模块12,包括:In some specific embodiments, the computer room determination module 12 includes:

指定机房判断单元,用于判断所述调度请求中的调度需求是否存在对应的指定机房;a designated computer room judgment unit, configured to judge whether the scheduling requirement in the scheduling request has a corresponding designated computer room;

第一机房确定单元,用于若所述调度需求存在对应的指定机房,则判断所述指定机房是否存在可用资源,若存在可用资源,则将所述目标机房筛选策略确定为基于指定机房的筛选策略,并将所述指定机房确定为目标机房;The first computer room determination unit is configured to determine whether there are available resources in the designated computer room if there is a corresponding designated computer room in the scheduling requirement, and if there are available resources, determine the target computer room screening strategy as a screening based on the designated computer room strategy, and determine the designated computer room as the target computer room;

第二机房确定单元,用于若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房。The second computer room determining unit is configured to determine a target computer room screening strategy based on the scheduling request if there is no corresponding designated computer room in the scheduling requirement, and determine a target computer room according to the target computer room screening strategy.

在一些具体实施例中,所述第二机房确定单元,包括:In some specific embodiments, the second computer room determination unit includes:

机房选择方式确定单元,用于若所述调度需求不存在对应的指定机房,则确定当前的机房选择方式;所述机房选择方式包括使用系统筛选机房的方式或随机筛选机房的方式;a computer room selection method determining unit, configured to determine the current computer room selection method if the scheduling requirement does not have a corresponding designated computer room; the computer room selection method includes a method of using the system to screen computer rooms or a method of randomly screening computer rooms;

第一机房选择方式单元,用于若当前的机房选择方式为使用系统筛选机房的方式,则从所述基于系统筛选机房的策略中确定出目标机房筛选策略;a first computer room selection method unit, configured to determine a target computer room screening strategy from the system-based strategy for screening computer rooms if the current computer room selection method is the method of using the system to screen computer rooms;

第二机房选择方式单元,用于若当前的机房选择方式为随机筛选机房的方式,则将所述目标机房筛选策略确定为随机基于随机筛选机房的策略。The second computer room selection method unit is configured to determine the target computer room screening strategy as a strategy based on random selection of computer rooms if the current computer room selection method is the method of randomly screening computer rooms.

在一些具体实施例中,所述主机确定模块13,包括:In some specific embodiments, the host determining module 13 includes:

策略确定单元,用于基于调度请求中的调度需求确定目标主机筛选策略;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;a strategy determination unit, configured to determine a target host screening strategy based on the scheduling requirement in the scheduling request; the target host screening strategy includes one of a system-based strategy for screening hosts and a strategy for randomly screening hosts; the system-based host screening strategy The strategy includes one or more of the screening strategy based on the computing power specification priority and the screening strategy based on the priority of the owner;

主机确定单元,用于利用所述目标主机筛选策略从所述目标机房中确定目标主机;a host determining unit, configured to determine a target host from the target computer room by using the target host screening strategy;

在一些具体实施例中,所述策略确定单元,包括:In some specific embodiments, the policy determination unit includes:

主机选择方式确定单元,用于基于调度请求中的调度需求确定当前的主机选择方式;所述主机选择方式包括使用系统筛选主机的方式或随机筛选主机的方式;a host selection mode determination unit, configured to determine the current host selection mode based on the scheduling requirement in the scheduling request; the host selection mode includes a mode of using a system to screen hosts or a mode of randomly screening hosts;

第一主机选择方式单元,用于若当前的主机选择方式为使用系统筛选主机的方式,则从所述基于系统筛选主机的策略中确定出目标主机筛选策略;a first host selection mode unit, configured to determine a target host screening strategy from the system-based strategy for screening hosts if the current host selection mode is the mode of using the system to screen hosts;

第二主机选择方式单元,用于若当前的主机选择方式为随机筛选主机的方式,则将所述目标主机筛选策略确定为随机基于随机筛选主的策略。The second host selection mode unit is configured to determine the target host screening strategy as a strategy based on random screening of hosts if the current host selection mode is a mode of randomly screening hosts.

在一些具体实施例中,所述一种基于云游戏的资源调度方法,还包括:In some specific embodiments, the cloud game-based resource scheduling method further includes:

主机设置单元,用于利用智能平台管理接口开启所述目标主机,并根据预先获取的网络设置信息对所述目标主机进行网络设置。A host setting unit, configured to use the intelligent platform management interface to start the target host, and perform network settings on the target host according to pre-acquired network setting information.

在一些具体实施例中,所述信息发送模块14,还包括:In some specific embodiments, the information sending module 14 further includes:

信息查询单元,用于查询所述目标主机对应的外网IP、port信息以及token信息;an information query unit, used to query the external network IP, port information and token information corresponding to the target host;

信息发送单元,用于将所述外网IP、所述port信息以及所述token信息发送至业务端,以便所述业务端利用所述外网IP、所述port信息以及所述token信息与所述目标主机进行连接。The information sending unit is used to send the external network IP, the port information and the token information to the service terminal, so that the service terminal can use the external network IP, the port information and the token information to communicate with the service terminal. to connect to the target host.

进一步的,本申请实施例还公开了一种电子设备,图8是根据示例性实施例示出的电子设备20结构图,图中的内容不能认为是对本申请的使用范围的任何限制。Further, an embodiment of the present application also discloses an electronic device. FIG. 8 is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure should not be considered as any limitation on the scope of use of the present application.

图8为本申请实施例提供的一种电子设备20的结构示意图。该电子设备20,具体可以包括:至少一个处理器21、至少一个存储器22、电源23、显示屏24、输入输出接口25、通信接口26和通信总线27。其中,所述存储器22用于存储计算机程序,所述计算机程序由所述处理器21加载并执行,以实现前述任一实施例公开的计算机平台双系同步方法中的相关步骤。另外,本实施例中的电子设备20具体可以为电子计算机。FIG. 8 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21 , at least one memory 22 , a power supply 23 , a display screen 24 , an input and output interface 25 , a communication interface 26 and a communication bus 27 . The memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the computer platform dual-system synchronization method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

本实施例中,电源23用于为电子设备20上的各硬件设备提供工作电压;通信接口26能够为电子设备20创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;输入输出接口25,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 26 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is applicable Any communication protocol in the technical solution of the present application is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, here No specific limitation is made.

另外,存储器22作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源可以包括操作系统221、计算机程序222等,存储方式可以是短暂存储或者永久存储。In addition, as a carrier for resource storage, the memory 22 can be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc. The resources stored on it can include an operating system 221, a computer program 222, etc., and the storage method can be short-term storage or permanent storage. .

其中,操作系统221用于管理与控制电子设备20上的各硬件设备以及计算机程序222,其可以是Windows Server、Netware、Unix、Linux等。计算机程序222除了包括能够用于完成前述任一实施例公开的由电子设备20执行的基于云游戏的资源调度方法的计算机程序之外,还可以进一步包括能够用于完成其他特定工作的计算机程序。The operating system 221 is used to manage and control various hardware devices and computer programs 222 on the electronic device 20, which may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to complete other specific tasks in addition to the computer program that can be used to complete the cloud game-based resource scheduling method executed by the electronic device 20 disclosed in any of the foregoing embodiments.

进一步的,本申请还公开了一种计算机可读存储介质,用于存储计算机程序;其中,所述计算机程序被处理器执行时实现前述公开的基于云游戏的资源调度方法。关于该方法的具体步骤可以参考前述实施例中公开的相应内容,在此不再进行赘述。Further, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned method for resource scheduling based on cloud games is implemented. For the specific steps of the method, reference may be made to the corresponding content disclosed in the foregoing embodiments, which will not be repeated here.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments may be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method. Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

以上对本发明所提供的一种基于云游戏的资源调度方法、装置、设备、存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A cloud game-based resource scheduling method, device, device, and storage medium provided by the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementations of the present invention. It is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, The contents of this specification should not be construed as limiting the present invention.

Claims (10)

1.一种基于云游戏的资源调度方法,其特征在于,包括:1. A resource scheduling method based on cloud games, characterized in that, comprising: 通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求;Obtain the cloud game-based scheduling request sent by the business terminal and containing scheduling requirements through the preset service interface connected to the cloud platform; 基于调度请求中的调度需求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种;Based on the scheduling requirements in the scheduling request, the target computer room is determined by using the target computer room screening strategy; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms; the The system-based strategy for screening computer rooms includes one or more of a delay-based screening strategy and a location-priority-based screening strategy; 基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;The target host screening strategy is determined based on the scheduling requirements in the scheduling request, and the target host screening strategy is used to determine the target host from the target computer room; the target host screening strategy includes a system-based strategy for screening hosts and a strategy for randomly screening hosts. One of the strategies; the system-based strategy for screening hosts includes one or more of a computing power specification priority-based screening strategy and a home party priority-based screening strategy; 将所述目标主机的发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。The target host is sent to the service end, so that the service end uses the connection information to connect with the target host. 2.根据权利要求1所述的基于云游戏的资源调度方法,其特征在于,所述通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求,包括:2 . The resource scheduling method based on cloud games according to claim 1 , wherein the cloud game-based scheduling and including scheduling requirements sent by the business terminal are obtained through a preset service interface docked with the cloud platform. 3 . requests, including: 通过与云平台对接的API网关接口获取业务端发送的基于云游戏的、且包含有调度需求的调度请求。Through the API gateway interface connected to the cloud platform, the cloud game-based scheduling request sent by the business end and containing scheduling requirements is obtained. 3.根据权利要求1所述的基于云游戏的资源调度方法,其特征在于,所述基于调度请求中的调度需求利用目标机房筛选策略确定出目标机房,包括:3. The resource scheduling method based on cloud games according to claim 1, wherein the target computer room is determined by using a target computer room screening strategy based on the scheduling requirements in the scheduling request, comprising: 判断所述调度请求中的调度需求是否存在对应的指定机房;Determine whether the scheduling requirement in the scheduling request has a corresponding designated computer room; 若所述调度需求存在对应的指定机房,则判断所述指定机房是否存在可用资源,若存在可用资源,则将所述目标机房筛选策略确定为基于指定机房的筛选策略,并将所述指定机房确定为目标机房;If there is a designated computer room corresponding to the scheduling requirement, it is judged whether there are available resources in the designated computer room, and if there are available resources, the target computer room screening strategy is determined as a screening strategy based on the designated computer room, and the designated computer room is Determined as the target room; 若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房。If the scheduling requirement does not have a corresponding designated computer room, a target computer room screening strategy is determined based on the scheduling request, and a target computer room is determined according to the target computer room screening strategy. 4.根据权利要求3所述的基于云游戏的资源调度方法,其特征在于,所述若所述调度需求不存在对应的指定机房,则基于所述调度请求确定目标机房筛选策略,并根据所述目标机房筛选策略确定目标机房,包括:4. The resource scheduling method based on cloud games according to claim 3, wherein, if the scheduling requirement does not have a corresponding designated computer room, a target computer room screening strategy is determined based on the scheduling request, and a target computer room screening strategy is determined based on the scheduling request. The target computer room screening strategy described above determines the target computer room, including: 若所述调度需求不存在对应的指定机房,则确定当前的机房选择方式;所述机房选择方式包括使用系统筛选机房的方式或随机筛选机房的方式;If there is no corresponding designated computer room for the scheduling requirement, determine the current computer room selection method; the computer room selection method includes the method of using the system to screen the computer room or the method of randomly screening the computer room; 若当前的机房选择方式为使用系统筛选机房的方式,则从所述基于系统筛选机房的策略中确定出目标机房筛选策略;If the current computer room selection method is the method of using the system to screen the computer room, then determine the target computer room screening strategy from the system-based strategy for screening the computer room; 若当前的机房选择方式为随机筛选机房的方式,则将所述目标机房筛选策略确定为随机基于随机筛选机房的策略。If the current computer room selection method is a method of randomly screening computer rooms, the target computer room screening strategy is determined to be a strategy based on random screening of computer rooms. 5.根据权利要求1所述的基于云游戏的资源调度方法,其特征在于,所述基于调度请求中的调度需求确定目标主机筛选策略,包括:5 . The resource scheduling method based on cloud games according to claim 1 , wherein, determining the target host screening strategy based on the scheduling requirements in the scheduling request, comprising: 5 . 基于调度请求中的调度需求确定当前的主机选择方式;所述主机选择方式包括使用系统筛选主机的方式或随机筛选主机的方式;Determine the current host selection method based on the scheduling requirement in the scheduling request; the host selection method includes a method of using the system to screen hosts or a method of randomly screening hosts; 若当前的主机选择方式为使用系统筛选主机的方式,则从所述基于系统筛选主机的策略中确定出目标主机筛选策略;If the current host selection method is the method of using the system to screen hosts, determining the target host screening strategy from the system-based strategy for screening hosts; 若当前的主机选择方式为随机筛选主机的方式,则将所述目标主机筛选策略确定为随机基于随机筛选主的策略。If the current host selection method is a method of randomly screening hosts, the target host screening strategy is determined to be a strategy based on random screening of hosts. 6.根据权利要求1所述的基于云游戏的资源调度方法,其特征在于,所述基于调度请求中的调度需求确定目标主机筛选策略,并利用目标主机筛选策略从所述目标机房中确定目标主机之后,还包括:6 . The resource scheduling method based on cloud games according to claim 1 , wherein the target host screening strategy is determined based on the scheduling requirements in the scheduling request, and the target host screening strategy is used to determine the target from the target computer room. 7 . After the host, also include: 利用智能平台管理接口开启所述目标主机,并根据预先获取的网络设置信息对所述目标主机进行网络设置。The target host is started by using an intelligent platform management interface, and network settings are performed on the target host according to pre-acquired network setting information. 7.根据权利要求1至6任一项所述的基于云游戏的资源调度方法,其特征在于,所述将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接,包括:7. The resource scheduling method based on cloud games according to any one of claims 1 to 6, wherein the connection information of the target host is sent to a service end, so that the service end utilizes the connection information to connect with the target host, including: 查询所述目标主机对应的外网IP、port信息以及token信息;Query the external network IP, port information and token information corresponding to the target host; 将所述外网IP、所述port信息以及所述token信息发送至业务端,以便所述业务端利用所述外网IP、所述port信息以及所述token信息与所述目标主机进行连接。The external network IP, the port information and the token information are sent to the service terminal, so that the service terminal uses the external network IP, the port information and the token information to connect with the target host. 8.一种基于云游戏的资源调度装置,其特征在于,包括:8. A resource scheduling device based on cloud games, comprising: 请求获取模块,用于通过与云平台对接的预设服务接口获取业务端发送的基于云游戏的调度请求;a request obtaining module, configured to obtain the cloud game-based scheduling request sent by the business end through a preset service interface connected to the cloud platform; 机房确定模块,用于基于调度请求利用目标机房筛选策略确定目标机房;所述目标机房筛选策略包括基于系统筛选机房的策略、基于指定机房的筛选策略以及基于随机筛选机房的策略中的一种;所述基于系统筛选机房的策略包括基于时延的筛选策略与基于位置优先级的筛选策略中的一种或多种;a computer room determination module, used for determining a target computer room based on a scheduling request using a target computer room screening strategy; the target computer room screening strategy includes one of a system-based screening strategy for computer rooms, a designated computer room-based screening strategy, and a random screening strategy for computer rooms; The system-based strategy for screening computer rooms includes one or more of a delay-based screening strategy and a location-priority-based screening strategy; 主机确定模块,用于基于调度请求中的调度需求确定目标主机筛选策略,并利用所述目标主机筛选策略从所述目标机房中确定目标主机;所述目标主机筛选策略包括基于系统筛选主机的策略与基于随机筛选主机的策略中的一种;所述基于系统筛选主机的策略包括基于算力规格优先级的筛选策略与基于归属方优先级的筛选策略中的一种或多种;a host determination module, configured to determine a target host screening strategy based on the scheduling requirement in the scheduling request, and use the target host screening strategy to determine a target host from the target computer room; the target host screening strategy includes a system-based strategy for screening hosts and one of the strategies based on random screening of hosts; the strategies for screening hosts based on the system include one or more of a screening strategy based on computing power specification priority and a screening strategy based on attribution priority; 信息发送模块,用于将所述目标主机的连接信息发送至业务端,以便所述业务端利用所述连接信息与所述目标主机进行连接。The information sending module is configured to send the connection information of the target host to the service end, so that the service end uses the connection information to connect with the target host. 9.一种电子设备,其特征在于,包括处理器和存储器;其中,所述处理器执行所述存储器中保存的计算机程序时实现如权利要求1至7任一项所述的基于云游戏的资源调度方法。9. An electronic device, comprising a processor and a memory; wherein, when the processor executes the computer program saved in the memory, the cloud game-based cloud game according to any one of claims 1 to 7 is implemented. Resource scheduling method. 10.一种计算机可读存储介质,其特征在于,用于存储计算机程序;其中,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的基于云游戏的资源调度方法。10. A computer-readable storage medium, characterized in that it is used to store a computer program; wherein, when the computer program is executed by a processor, the cloud game-based resource scheduling according to any one of claims 1 to 7 is implemented method.
CN202210111516.8A 2022-01-29 2022-01-29 Resource scheduling method, device, equipment and medium based on cloud game Pending CN114490071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210111516.8A CN114490071A (en) 2022-01-29 2022-01-29 Resource scheduling method, device, equipment and medium based on cloud game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210111516.8A CN114490071A (en) 2022-01-29 2022-01-29 Resource scheduling method, device, equipment and medium based on cloud game

Publications (1)

Publication Number Publication Date
CN114490071A true CN114490071A (en) 2022-05-13

Family

ID=81478756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210111516.8A Pending CN114490071A (en) 2022-01-29 2022-01-29 Resource scheduling method, device, equipment and medium based on cloud game

Country Status (1)

Country Link
CN (1) CN114490071A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115915457A (en) * 2023-01-30 2023-04-04 阿里巴巴(中国)有限公司 Resource scheduling method, vehicle control method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631758A (en) * 2020-12-30 2021-04-09 杭州雾联科技有限公司 Edge computing resource scheduling method, device and equipment and readable storage medium
CN113274736A (en) * 2021-07-22 2021-08-20 北京蔚领时代科技有限公司 Cloud game resource scheduling method, device, equipment and storage medium
CN113961355A (en) * 2021-10-29 2022-01-21 杭州雾联科技有限公司 A resource pool-based host scheduling method, device and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631758A (en) * 2020-12-30 2021-04-09 杭州雾联科技有限公司 Edge computing resource scheduling method, device and equipment and readable storage medium
CN113274736A (en) * 2021-07-22 2021-08-20 北京蔚领时代科技有限公司 Cloud game resource scheduling method, device, equipment and storage medium
CN113961355A (en) * 2021-10-29 2022-01-21 杭州雾联科技有限公司 A resource pool-based host scheduling method, device and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115915457A (en) * 2023-01-30 2023-04-04 阿里巴巴(中国)有限公司 Resource scheduling method, vehicle control method, device and system
CN115915457B (en) * 2023-01-30 2023-05-23 阿里巴巴(中国)有限公司 Resource scheduling method, vehicle control method, device and system

Similar Documents

Publication Publication Date Title
US9244817B2 (en) Remote debugging in a cloud computing environment
JP5132770B2 (en) Dynamic router configuration to find the best DHCP server
CN106302434B (en) Server adaptation method, device and system
EP3905589B1 (en) Slice resource deployment method and apparatus, and slice manager and computer storage medium
CN107317712A (en) A kind of creation method and device of network section
CN107800814B (en) Virtual machine deployment method and device
CN108933829A (en) A kind of load-balancing method and device
CN110471749A (en) Task processing method, device, computer readable storage medium and computer equipment
WO2021223454A1 (en) Screen projection method and system
CN109561054A (en) A kind of data transmission method, controller and access device
WO2020088170A1 (en) Domain name system configuration method and related apparatus
CN112134964B (en) Controller allocation method, computer equipment, storage media and network business system
CN113242299A (en) Disaster recovery system, method, computer device and medium for multiple data centers
CN110809045B (en) A kind of data communication method and related equipment
CN114490071A (en) Resource scheduling method, device, equipment and medium based on cloud game
CN114911602B (en) A server cluster load balancing method, device, equipment and storage medium
CN108600349B (en) Connection management method and device in connection pool
WO2012000455A1 (en) Client terminal and load balancing method
CN107534678B (en) Method, device and system for establishing connection between VNFM and VIM
CN116107760B (en) Load balancing method, device, equipment and medium
CN114301872B (en) Domain name based access method and device, electronic equipment and storage medium
CN107404504B (en) Communication method, device and system
CN111901689B (en) Streaming media data transmission method, device, terminal equipment and storage medium
CN110401708B (en) Session processing system and method based on server load state
US20080140687A1 (en) Socket structure simultaneously supporting both toe and ethernet network interface card and method of forming the socket structure

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