CN111803925B - Scheduling method and device of forwarding server of cloud game and readable storage medium - Google Patents

Scheduling method and device of forwarding server of cloud game and readable storage medium Download PDF

Info

Publication number
CN111803925B
CN111803925B CN201911222808.3A CN201911222808A CN111803925B CN 111803925 B CN111803925 B CN 111803925B CN 201911222808 A CN201911222808 A CN 201911222808A CN 111803925 B CN111803925 B CN 111803925B
Authority
CN
China
Prior art keywords
target
terminal
server
information
region information
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.)
Active
Application number
CN201911222808.3A
Other languages
Chinese (zh)
Other versions
CN111803925A (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.)
Xiamen Yaji Software Co Ltd
Original Assignee
Xiamen Yaji Software 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 Xiamen Yaji Software Co Ltd filed Critical Xiamen Yaji Software Co Ltd
Priority to CN201911222808.3A priority Critical patent/CN111803925B/en
Publication of CN111803925A publication Critical patent/CN111803925A/en
Application granted granted Critical
Publication of CN111803925B publication Critical patent/CN111803925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/352Details of game servers involving special game server arrangements, e.g. regional servers connected to a national server or a plurality of servers managing partitions of the game world
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/33Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
    • 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/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/531Server assignment

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a scheduling method, a device and a readable storage medium of a forwarding server of a cloud game, wherein the method comprises the following steps: receiving a scheduling request aiming at GS (service gateway) sent by a terminal, wherein the scheduling request comprises region information of the terminal; determining a target forwarding server TS based on the regional information of the terminal, wherein the target TS is arranged in a multi-line machine room; and sending the identification information of the target TS to the terminal so that the terminal establishes a communication link with the target GS through the target TS when determining that the communication link between the terminal and the target GS meets the preset condition. As the target TS is arranged in the multi-line machine room and is matched with the regional information between the terminals, the target TS, the target GS and the terminals can quickly access each other, so that the quality of communication links established between the target TS and the target GS and between the target TS and the terminals is better, the quality of the communication links established between the terminals and the target GS through the target TS is better, and the final presentation effect of the cloud game can be well ensured.

Description

Scheduling method and device of forwarding server of cloud game and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for scheduling a forwarding server of a cloud game, and a readable storage medium.
Background
The cloud game is characterized in that a game running at a local end runs on a cloud server, the running result is transmitted to the local end through a network to present pictures and sounds, and the service quality of a connection link between the local end and the cloud server directly influences the final presenting effect of the cloud game.
At present, in the cloud server scheduling process of a cloud game, after a target server for running the cloud game is determined, a local end is generally directly connected with the target server, but when the quality of a connection link between the local end and the target server is poor, the game process is delayed highly, the packet loss rate is high, and even the local end is blocked, so that the final presentation effect of the cloud game cannot be ensured by the existing scheduling scheme.
Disclosure of Invention
The purpose of the present application is to solve at least one of the above technical drawbacks, and to provide the following solutions:
in a first aspect, an embodiment of the present application provides a scheduling method for a forwarding server of a cloud game, including:
receiving a scheduling request aiming at a game server GS sent by a terminal, wherein the scheduling request comprises region information of the terminal;
determining a target forwarding server TS based on the regional information of the terminal, wherein the target TS is arranged in a multi-line machine room;
and sending the identification information of the target TS to the terminal so that the terminal establishes a communication link with the target GS through the target TS when determining that the communication link between the terminal and the target GS for running the cloud game meets a preset condition.
In an optional embodiment of the present application, the communication link between the terminal and the target GS for running the cloud game satisfies a preset condition, and includes:
the communication time delay of a communication link between the terminal and the target GS is larger than a first set value; and/or the communication packet loss rate of the communication link between the terminal and the target GS is larger than a second set value.
In an optional embodiment of the present application, the communication link between the terminal and the target GS for running the cloud game satisfies a preset condition, and includes:
the region information of the terminal is not matched with the region information of the target GS; and/or the presence of a gas in the gas,
the operator information of the terminal does not match the operator information of the target GS.
In an optional embodiment of the present application, determining the target TS based on the region information of the terminal includes:
acquiring region information of each TS corresponding to a central server BS;
and determining the TS in which the region information is matched with the region information of the terminal in each TS as a target TS.
In an optional embodiment of the present application, the scheduling request further includes operator information of the terminal, and the method further includes:
and determining the target GS based on the region information and the operator information of the terminal in the scheduling request.
In an optional embodiment of the present application, determining the target GS based on the region information and the operator information of the terminal in the scheduling request includes:
acquiring region information and operator information of each GS corresponding to the BS;
and determining the target GS based on the region information and the operator information of the terminal and the region information and the operator information of each GS.
In a second aspect, an embodiment of the present application provides a scheduling method for a forwarding server of a cloud game, including:
sending a scheduling request aiming at a game server GS to a central server BS, wherein the scheduling request comprises the region information of a terminal, so that the BS determines a target forwarding server TS based on the region information of the terminal, and the target TS is arranged in a multi-line machine room;
receiving identification information of a target TS sent by a BS;
and when the communication link between the terminal and the target GS for running the cloud game meets the preset condition, establishing the communication link with the target GS through the target TS.
In a third aspect, an embodiment of the present application provides a scheduling apparatus for a forwarding server of a cloud game, including:
the scheduling request receiving module is used for receiving a scheduling request which is sent by a terminal and aims at a game server GS, wherein the scheduling request comprises region information of the terminal;
the target TS determining module is used for determining a target forwarding server TS based on the regional information of the terminal, wherein the target TS is arranged in the multi-line machine room;
and the target TS sending module is used for sending the identification information of the target TS to the terminal so that the terminal establishes a communication link with the target GS through the target TS when the terminal determines that the communication link between the terminal and the target GS for running the cloud game meets the preset condition.
In a fourth aspect, an embodiment of the present application provides a scheduling apparatus for a forwarding server of a cloud game, including:
the scheduling request sending module is used for sending a scheduling request aiming at the game server GS to the central server BS, wherein the scheduling request comprises the region information of the terminal, so that the BS determines a target forwarding server TS based on the region information of the terminal, and the target TS is arranged in the multi-line machine room;
the target TS receiving module is used for receiving the identification information of the target TS sent by the BS;
and the forwarding link establishing module is used for establishing a communication link with the target GS through the target TS when the communication link between the terminal and the target GS for running the cloud game meets the preset condition.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a memory and a processor;
the memory stores a computer program;
a processor configured to execute a computer program to implement the method provided in the first aspect embodiment or the second aspect embodiment.
In a sixth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method provided in the first or second aspect.
The beneficial effect that technical scheme that this application provided brought is:
according to the scheme, when the quality of a communication link directly established between the terminal and the target GS for running the cloud game cannot meet the running requirement of the cloud game, the target TS serving as an intermediate server is determined according to the regional information of the terminal, the target TS is respectively established with the terminal and the target GS, and the target TS is arranged in the multi-line machine room and is matched with the regional information between the terminals, so that the network transmission path is shortened, the target TS, the target GS and the terminal can quickly access each other, the quality of the communication link established between the target TS and the target GS and the quality of the communication link established between the target TS and the terminal are better, the quality of the communication link established between the terminal and the target GS through the target TS is better, and the final presentation effect of the cloud game can be well ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a scheduling method of a forwarding server of a cloud game according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a scheduling method of a forwarding server of a cloud game according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a scheduling apparatus of a forwarding server of a cloud game according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a scheduling apparatus of another cloud game forwarding server according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
Several terms referred to in this application will first be introduced and explained:
edge nodes: the network node has fewer intermediate links from the user terminal which is finally accessed in the network, and has better response capability and connection speed for the user terminal which is finally accessed. Specifically, an edge node is a logical abstraction of basic commonality capabilities of a plurality of product forms on the edge side, such as an edge gateway, an edge controller, and an edge server, and these product forms have commonality capabilities such as edge side real-time data analysis, local data storage, and real-time network connection.
And (3) edge calculation: refers to processing and analyzing data at an edge node of the network.
Multi-line machine room: the multi-line machine room is actually a machine room with multiple lines accessed in the machine room, and the multi-line machine room is divided into two modes, one mode is a multi-line single IP (Internet Protocol) mode, namely a BGP (Border Gateway Protocol) mode, and the other mode is a multi-line multi-IP access mode, namely, an independent IP is respectively used in each operator's network. By setting the router of the internal route of the multi-line machine room and analyzing the BGP automatic route, the user terminal of each operator can quickly access the server in the machine room through the route of the operator to which the user terminal belongs.
The special communication line is connected: the method is characterized in that the network is communicated by optical cables, electric cables, or wireless communication modes such as satellite, microwave and the like, or leased telephone private lines and N private lines, and the quality of a communication link between two connected ends can be ensured.
The cloud game is characterized in that a game running at a local end runs on a cloud server, the running result is transmitted to the local end through a network to present pictures and sounds, and the service quality of a connection link between the local end and the cloud server directly influences the final presenting effect of the cloud game.
At present, the scheme of the cloud game is to provide an edge computing service (i.e., running the cloud game) for a local user by using a local edge node, and at this time, it can be ensured that geographic information and operator information of a user terminal are respectively matched with geographic information and operator information of an edge node (corresponding game server) providing the service, thereby ensuring game experience. However, the number of edge nodes of each operator in each area is limited, when the number of users requesting to run the cloud game exceeds the number of edge nodes, a different-place edge node (corresponding game server) needs to be used for providing services for the exceeding part of users, at this time, a terminal of a local user is directly connected with a game server in the different-place edge node, and because the terminal of the local user and the different-place game server are different in region (cross-region communication is needed), and the operator information may not be matched (cross-operator communication is needed), the quality of a communication link between the terminal of the local user and the different-place game server is poor, so that the game process is delayed, the packet loss rate is high, and even the phenomenon of blocking occurs at the local end, thus it is seen that the existing scheduling scheme cannot ensure the final presentation effect of the cloud game. The present application provides a scheduling method for a forwarding server of a cloud game.
Fig. 1 is a flowchart of a scheduling method of a forwarding server of a cloud game according to an embodiment of the present disclosure, where an execution subject of the method may be a central server BS (Business server), and as shown in fig. 1, the method may include:
step S101, receiving a scheduling request of a Game server GS (Game Server) sent by a terminal, wherein the scheduling request comprises region information of the terminal.
The scheduling request is sent by the terminal to the BS, and is a request for scheduling the GS for the terminal, that is, a request for the terminal to run the cloud game. It is understood that the connection between the terminal and the BS may be wired or wireless, and is determined by the networking mode of the terminal.
The region information in the scheduling request may be DNS (Domain Name System) information, and specifically may be an IP address. In practical applications, specific region information can be obtained by analyzing the DNS information.
Step S102, a target forwarding server TS (Turn Server) is determined based on the regional information of the terminal, wherein the target TS is arranged in the multi-line machine room.
The TS is arranged in the multi-line machine room, the multi-line machine room is connected with lines of different operators, and the user terminals of the operators can access the TS through the lines of the operators to which the users belong. Similarly, the multi-line machine room is connected with lines of different operators, so that the TS and the target GS are connected through the line of the same operator, delay and instability caused by the fact that the line crosses an operator network are avoided, the quality of a communication link between the TS and the target GS can be guaranteed to be good, and in practical application, the TS arranged in the multi-line machine room can be connected with the target GS through a special communication line of the operator to which the target GS belongs, so that the quality of the communication link between the TS and the target GS is guaranteed to be good. The target TS is determined from the TSs in the network and is used as an intermediate server between the terminal and the target GS, and the communication between the terminal and the target GS is forwarded through the target TS.
When the target TS is used as an intermediate server to connect the terminal and the target GS, the quality of a communication link between the target TS and the target GS is better, and the quality of the communication link between the target TS and the terminal directly determines the quality of the communication link between the terminal and the target GS. And because the target TS can be always matched with the operator information of the terminal, whether the target TS is matched with the region information of the terminal can directly influence the quality of the communication link between the target TS and the terminal, that is, whether the target TS is matched with the region information of the terminal directly influences the quality of the communication link between the terminal and the target GS, so that the target TS can be determined based on the region information of the terminal.
When a plurality of candidate target TSs are determined based on the region information of the terminal, the target TS used as the intermediate server may be further screened according to the load condition of each candidate target TS, for example, a TS with the largest available load among the candidate target TSs is determined as the target TS.
Step S103, sending the identification information of the target TS to the terminal, so that the terminal establishes a communication link with the target GS through the target TS when determining that the communication link between the terminal and the target GS for running the cloud game meets a preset condition.
The target GS is also determined by the BS, and the BS may determine the target GS according to a scheduling request sent by the terminal, or may determine the target GS according to a preset rule, which is not limited herein.
If the communication link between the terminal and the target GS meets the preset condition, the quality of the communication link established by the direct connection between the terminal and the target GS is poor, and the final presentation effect of the cloud game cannot be ensured. This may occur because the terminal does not match the regional information of the target GS, or because the terminal is not the same operator as the target GS, or because of other line faults.
Specifically, after receiving a scheduling request sent by a terminal, a BS determines a GS (target GS) for running a cloud game, determines a target TS based on regional information of the terminal, and schedules the target TS and the target GS to the terminal together, that is, sends identification information of the target TS and identification information of the target GS to the terminal together. When the quality of a communication link between the terminal and the target GS does not meet a preset condition (the link quality is good), and the final presentation effect of the cloud game can be ensured, the terminal and the target GS directly establish the communication link. When the quality of a communication link between the terminal and the target GS meets a preset condition (the link quality is poor) and the final presentation effect of the cloud game cannot be guaranteed, the terminal and the target GS establish a communication link through a target TS, namely the TS is used as an intermediate server and respectively establishes communication links with the terminal and the target GS.
According to the scheme provided by the application, when the quality of a communication link directly established between the terminal and a target GS for running the cloud game cannot meet the running requirement of the cloud game, the target TS serving as an intermediate server is determined according to the regional information of the terminal, the communication links are respectively established with the terminal and the target GS by using the target TS, and as the target TS is arranged in a multi-line machine room and is matched with the regional information between the terminals, the network transmission path is shortened, so that the target TS, the target GS and the terminal can both realize quick access to each other, the quality of the communication link established between the target TS and the target GS and the quality of the communication link established between the target TS and the terminal are good, the quality of the communication link established between the terminal and the target GS through the target TS is good, and the final presentation effect of the cloud game can be well ensured.
In an optional embodiment of the present application, a communication link between the terminal and the GS for running the cloud game target satisfies a preset condition, including:
the communication time delay of a communication link between the terminal and the target GS is larger than a first set value; and/or the communication packet loss rate of the communication link between the terminal and the target GS is larger than the second set value.
Wherein, to ensure that the cloud game has a good presentation effect, at least the following three aspects need to be ensured:
(1) The timeliness is about 100ms, when the time for transmitting the game picture at the cloud to the user terminal exceeds 100ms, the user can distinguish the game picture, namely the user has the feelings of slow half-beat, no hand following and the like, and the timeliness is ensured, namely the time for transmitting the game picture at the cloud to the terminal is not more than the set time (for example, 100 ms). For example, after a terminal triggers a certain skill in a cloud game, a user can see an action picture of the skill released by a character after 1-2s, and the user can feel that the game picture is not in hand, which means that the timeliness of the game is not guaranteed.
(2) Fluency, mainly measured by frame rate (unit fps), when the frame rate is too low (for example, frame rate <20 fps), the game picture will appear obvious fluency; when the frame interval is not uniform, the game picture is not smooth, the smoothness, namely the frame rate is ensured to be larger than the set frame rate (for example, 20 fps), and the frame interval is ensured to be uniform, otherwise, the game picture finally presented by the local terminal is fast and slow, and the user can feel that the game picture is unsmooth.
(3) The image quality, is that for a picture with the same resolution, the image quality of a picture with less noise is better than that of a picture with more noise, and the image quality is guaranteed, that is, the number of noise in the picture is guaranteed to be smaller than a set value.
Specifically, to ensure timeliness, fluency and image quality in the running process of the cloud game, the quality of a communication link between the terminal and the target GS needs to be ensured, and specifically, timeliness, fluency and image quality in the running process of the cloud game can be ensured by ensuring the time delay and/or packet loss rate of the communication link between the terminal and the target GS. When the time delay of the communication link between the two is greater than the first set value and/or the time delay of the communication link between the two is greater than the second set value, the quality of the communication link between the two can be considered to be poor, and the final presentation effect of the cloud game cannot be ensured. It is to be understood that both the first setting value and the second setting value can be set according to actual situations, and are not limited herein.
In an optional embodiment of the present application, a communication link between the terminal and the GS for running the cloud game target satisfies a preset condition, including:
the region information of the terminal is not matched with the region information of the target GS; and/or the presence of a gas in the gas,
the operator information of the terminal does not match the operator information of the target GS.
When the terminal is matched with the region information of the target GS and the operator information of the target GS, the quality of a communication link established between the terminal and the target GS is good because the terminal and the target GS do not need to cross regions or operators when communicating, and the requirement of cloud game operation can be met. And when the region information of the terminal and the region information of the target GS are not matched, that is, the regions of the terminal and the target GS are different, the operator information of the terminal and the operator information of the target GS are not matched, that is, the operators corresponding to the terminal and the operator information of the target GS are different, or the region information of the terminal and the operator information of the target GS are not matched, because the terminal and the target GS need to cross regions and/or operators when communicating, the quality of the communication link established between the terminal and the target GS is poor, and the quality of the communication link established between the terminal and the target GS is poor, so that the requirement of cloud game operation cannot be met.
In an optional embodiment of the present application, determining the target TS based on the region information of the terminal includes:
acquiring regional information of each TS corresponding to a central server BS;
and determining the TS in which the region information is matched with the region information of the terminal in each TS as a target TS.
Specifically, the BS in the network has a plurality of corresponding TSs, each TS is set in a multi-line machine room, and the multi-line machine room enables user terminals of different operators to quickly access the TS through lines of the respective operators, as can be seen from the foregoing description, it is only necessary to consider whether the TS matches with the region information of the terminal or not and load information of the TS to acquire a target TS, and the BS generally takes the TS with the highest matching degree with the region information of the terminal and the largest available load as the target TS.
In an optional embodiment of the present application, the scheduling request further includes operator information of the terminal, and the method further includes:
and determining the target GS based on the region information and the operator information of the terminal in the scheduling request.
Further, determining the target GS based on the region information and the operator information of the terminal in the scheduling request includes:
acquiring region information and operator information of each GS corresponding to the BS;
and determining the target GS based on the region information and the operator information of the terminal and the region information and the operator information of each GS.
Specifically, since whether the region information of the terminal and the GS are matched and whether the operator information of the terminal and the GS are matched determine whether the quality of the communication link established between the terminal and the GS is good or bad, when the BS schedules the GS for the terminal, the GS matched with the region information of the terminal and the GS matched with the operator information of the terminal are taken as target GS, and it can be understood that the load condition of each GS is also considered when determining the target GS, so as to ensure that the determined target GS has an available load. When there is no GS that satisfies the above conditions, the target GS may be determined according to actual conditions, and the quality of the communication link established between the target GS and the terminal determined in this case may be poor, and the final presentation effect of the cloud game cannot be ensured.
It should be noted that, when there is no GS that wants to match both the terminal region information and the operator information in each GS, since the quality of the communication link for cross-operator communication is generally worse than the quality of the communication link for cross-region communication, the GS that matches the terminal operator information may be preferentially selected as the target GS to ensure the quality of the communication link established between the terminal and the target GS.
Fig. 2 is a schematic flowchart of a scheduling method of a forwarding server of a cloud game provided in an embodiment of the present application, where an execution subject of the method may be a terminal, as shown in fig. 2, the method may include:
step S201, sending a scheduling request aiming at the game server GS to the central server BS, wherein the scheduling request comprises the region information of the terminal, so that the BS determines a target forwarding server TS based on the region information of the terminal, and the target TS is arranged in a multi-line machine room.
The scheduling request is sent by the terminal to the BS, and is a request for scheduling the GS for the terminal, that is, a request for the terminal to run the cloud game. It is understood that the connection between the terminal and the BS may be wired or wireless, and is determined by the networking mode of the terminal.
The region information in the scheduling request may be DNS (Domain Name System) information, and specifically may be an IP address. In practical applications, specific region information can be obtained by analyzing the DNS information.
The TS is arranged in the multi-line machine room, the multi-line machine room is connected with lines of different operators, and the user terminals of the operators can access the TS through the lines of the operators to which the users belong. Similarly, the multi-line machine room is connected with lines of different operators, so that the TS and the target GS are connected through the line of the same operator, delay and instability caused by the fact that the line crosses an operator network are avoided, the quality of a communication link between the TS and the target GS can be guaranteed to be good, and in practical application, the TS arranged in the multi-line machine room can be connected with the target GS through a special communication line of the operator to which the target GS belongs, so that the quality of the communication link between the TS and the target GS is guaranteed to be good. The target TS is determined from various TSs in the network to serve as an intermediate service between the terminal and the target GS through which communications between the terminal and the target GS are forwarded.
When the target TS is used as an intermediate server to connect the terminal and the target GS, the quality of a communication link between the target TS and the target GS is better, and the quality of the communication link between the target TS and the terminal directly determines the quality of the communication link between the terminal and the target GS. And because the target TS can be always matched with the operator information of the terminal, whether the target TS is matched with the region information of the terminal can directly influence the quality of the communication link between the target TS and the terminal, that is, whether the target TS is matched with the region information of the terminal directly influences the quality of the communication link between the terminal and the target GS, so that the target TS can be determined based on the region information of the terminal.
When a plurality of candidate target TSs are determined based on the region information of the terminal, the target TS used as the intermediate server may be further screened according to the load condition of each candidate target TS, for example, a TS with the largest available load among the candidate target TSs is determined as the target TS.
Step S202, receiving the identification information of the target TS sent by the BS.
In step S203, when it is determined that the communication link between the terminal and the target GS running the cloud game satisfies the preset condition, a communication link is established with the target GS through the target TS.
The target GS is also determined by the BS, and the BS may determine the target GS according to the scheduling request sent by the terminal, or may determine the target GS according to a preset rule, which is not limited herein.
When the communication link between the terminal and the target GS meets the preset conditions, the quality of the communication link established by the direct connection between the terminal and the target GS cannot meet the requirement of cloud game operation. This may occur because the terminal does not match the regional information of the target GS, or because the terminal is not the same operator as the target GS, or because of other line faults.
Specifically, after receiving a scheduling request sent by a terminal, a BS determines a GS used for running a cloud game, determines a target TS based on region information of the terminal, and schedules the target TS and the target GS to the terminal together, that is, sends identification information of the target TS and identification information of the target GS to the terminal together. And when the quality of the communication link between the terminal and the target GS does not meet the preset condition, namely the requirement of cloud game operation can be met, the terminal and the target GS directly establish the communication link. When the quality of the communication link between the terminal and the target GS meets the preset condition, namely the requirement that the cloud game can not be operated is met, the terminal and the target GS establish a communication link through a target TS, namely the TS is used as an intermediate server and respectively establishes communication links with the terminal and the target GS.
According to the scheme, when the quality of a communication link directly established between the terminal and the target GS for running the cloud game cannot meet the running requirement of the cloud game, the target TS serving as an intermediate server is determined according to the regional information of the terminal, the target TS is respectively established with the terminal and the target GS, and the target TS is arranged in the multi-line machine room and is matched with the regional information between the terminals, so that the network transmission path is shortened, the target TS, the target GS and the terminal can quickly access each other, the quality of the communication link established between the target TS and the target GS and the quality of the communication link established between the target TS and the terminal are better, the quality of the communication link established between the terminal and the target GS through the target TS is better, and the final presentation effect of the cloud game can be well ensured.
Fig. 3 is a block diagram of a scheduling apparatus of a forwarding server of a cloud game according to an embodiment of the present invention, and as shown in fig. 3, the apparatus 300 may include: a scheduling request receiving module 301, a target TS determining module 302, and a target TS transmitting module 303, wherein:
the scheduling request receiving module 301 is configured to receive a scheduling request sent by a terminal and addressed to the game server GS, where the scheduling request includes region information of the terminal;
the target TS determining module 302 is configured to determine a target forwarding server TS based on the terminal region information, where the target TS is set in a multi-line machine room;
the target TS sending module 303 is configured to send the identification information of the target TS to the terminal, so that when it is determined that a communication link between the terminal and a target GS running the cloud game meets a preset condition, the terminal establishes a communication link with the target GS through the target TS.
According to the scheme, when the quality of a communication link directly established between the terminal and the target GS for running the cloud game cannot meet the running requirement of the cloud game, the target TS serving as an intermediate server is determined according to the regional information of the terminal, the target TS is respectively established with the terminal and the target GS, and the target TS is arranged in the multi-line machine room and is matched with the regional information between the terminals, so that the network transmission path is shortened, the target TS, the target GS and the terminal can quickly access each other, the quality of the communication link established between the target TS and the target GS and the quality of the communication link established between the target TS and the terminal are better, the quality of the communication link established between the terminal and the target GS through the target TS is better, and the final presentation effect of the cloud game can be well ensured.
In an optional embodiment of the present application, the communication link between the terminal and the target GS for running the cloud game satisfies a preset condition, including:
the communication time delay of a communication link between the terminal and the target GS is larger than a first set value; and/or the presence of a gas in the gas,
and the communication packet loss rate of the communication link between the terminal and the target GS is greater than a second set value.
In an optional embodiment of the present application, a communication link between the terminal and the GS for running the cloud game target satisfies a preset condition, including:
the region information of the terminal is not matched with the region information of the target GS; and/or the presence of a gas in the gas,
the operator information of the terminal does not match the operator information of the target GS.
In an optional embodiment of the present application, the target TS determining module is specifically configured to:
obtaining regional information of each TS in at least one TS corresponding to a central server BS;
and determining the TS of which the region information is matched with the region information of the terminal in each TS as a target TS.
In an optional embodiment of the present application, the scheduling request further includes operator information of the terminal, and the apparatus may further include a target GS determining module, configured to:
and determining the target GS based on the region information and the operator information of the terminal in the scheduling request.
In an optional embodiment of the present application, the GS determining module is specifically configured to:
acquiring region information and operator information of each GS in at least one GS corresponding to a BS;
and determining the target GS based on the region information and the operator information of the terminal and the region information and the operator information of each GS.
Fig. 4 is a block diagram illustrating a scheduling apparatus of a forwarding server of a cloud game according to an embodiment of the present application, and as shown in fig. 4, the apparatus 400 may include: a scheduling request sending module 401, a target TS receiving module 402, and a forwarding link establishing module 403, where:
the scheduling request sending module 401 is configured to send a scheduling request for the game server GS to the central server BS, where the scheduling request includes the region information of the terminal, so that the BS determines a target forwarding server TS based on the region information of the terminal, where the target TS is disposed in the multi-line machine room;
the target TS receiving module 402 is configured to receive identification information of a target TS sent by a BS;
the forwarding link establishing module 403 is configured to establish a communication link with the target GS through the target TS when it is determined that the communication link between the terminal and the target GS running the cloud game satisfies a preset condition.
According to the scheme, when the quality of a communication link directly established between the terminal and the target GS for running the cloud game cannot meet the running requirement of the cloud game, the target TS serving as an intermediate server is determined according to the regional information of the terminal, the target TS is respectively established with the terminal and the target GS, and the target TS is arranged in the multi-line machine room and is matched with the regional information between the terminals, so that the network transmission path is shortened, the target TS, the target GS and the terminal can quickly access each other, the quality of the communication link established between the target TS and the target GS and the quality of the communication link established between the target TS and the terminal are better, the quality of the communication link established between the terminal and the target GS through the target TS is better, and the final presentation effect of the cloud game can be well ensured.
Based on the same principle, an embodiment of the present application further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method provided in any optional embodiment of the present application is implemented, and the following specific cases may be implemented:
the first condition is as follows: receiving a scheduling request aiming at a game server GS sent by a terminal, wherein the scheduling request comprises region information of the terminal; determining a target forwarding server TS based on the regional information of the terminal, wherein the target TS is arranged in a multi-line machine room; and sending the identification information of the target TS to the terminal so that the terminal establishes a communication link with the target GS through the target TS when determining that the communication link between the terminal and the target GS for running the cloud game meets a preset condition.
And a second condition: sending a scheduling request aiming at a game server GS to a central server BS, wherein the scheduling request comprises the region information of a terminal, so that the BS determines a target forwarding server TS based on the region information of the terminal, and the target TS is arranged in a multi-line machine room; receiving identification information of a target TS sent by a BS; and when the communication link between the terminal and the target GS for running the cloud game meets the preset condition, establishing the communication link with the target GS through the target TS.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method shown in any embodiment of the present application.
It is understood that the medium may store a computer program corresponding to a scheduling method of a forwarding server of a cloud game.
Fig. 5 is a schematic structural diagram of an electronic device to which an embodiment of the present application is applicable, and as shown in fig. 5, the electronic device 500 shown in fig. 5 includes: a processor 501 and a memory 503. Wherein the processor 501 is coupled to the memory 503, such as via the bus 502. Further, the electronic device 500 may also include a transceiver 504, and the electronic device 500 may interact with other electronic devices through the transceiver 504. It should be noted that the transceiver 504 is not limited to one in practical applications, and the structure of the electronic device 500 is not limited to the embodiment of the present application.
The processor 501, applied in this embodiment of the present application, may be configured to implement the functions of the first scheduling request receiving module, the target TS determining module, and the target TS sending module shown in fig. 3, and may also be configured to implement the functions of the scheduling request sending module, the target TS receiving module, and the forwarding link establishing module shown in fig. 4.
The processor 501 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 501 may also be a combination of implementing computing functionality, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, and the like.
Bus 502 may include a path that transfers information between the above components. Bus 502 may be a PCI bus or EISA bus, etc. The bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The memory 503 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 503 is used for storing application program codes for executing the scheme of the application, and the processor 501 controls the execution. The processor 501 is configured to execute the application program code stored in the memory 503 to implement the actions of the scheduling apparatus of the forwarding server of the cloud game provided by the embodiment shown in fig. 3 or fig. 4.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (11)

1. A scheduling method for a forwarding server of a cloud game is characterized by comprising the following steps:
receiving a scheduling request aiming at a game server GS sent by a terminal, wherein the scheduling request comprises region information of the terminal;
determining a target forwarding server TS based on the regional information of the terminal, wherein the target forwarding server TS is arranged in a multi-line machine room;
sending the identification information of the target forwarding server TS to the terminal, so that when the region information of the terminal is not matched with the region information of the target game server GS, the multi-line machine room establishes a communication link between the target forwarding server TS and the target game server GS through a communication special line of an operator to which the target game server GS belongs;
wherein the target game server GS is determined by the central server BS.
2. The method of claim 1, further comprising:
when the communication time delay of a communication link between the terminal and the target game server GS is larger than a first set value; and/or when the communication packet loss rate of the communication link between the terminal and the target game server GS is greater than a second set value, the multi-line machine room establishes a communication link between the target forwarding server TS and the target game server GS through a communication special line of an operator to which the target game server GS belongs.
3. The method of claim 1, further comprising:
and when the operator information of the terminal is not matched with the operator information of the target game server GS, the multi-line machine room establishes a communication link between the target forwarding server TS and the target game server GS through a communication special line of an operator to which the target game server GS belongs.
4. The method of claim 1, wherein the determining a target forwarding server (TS) based on the terminal region information comprises:
obtaining region information of each forwarding server TS corresponding to the central server BS;
and determining the forwarding server TS with the region information matched with the region information of the terminal in each forwarding server TS as the target forwarding server TS.
5. The method according to any one of claims 1 to 4, wherein the scheduling request further includes operator information of the terminal, and the method further comprises:
and determining the target game server GS based on the region information and the operator information of the terminal in the scheduling request.
6. The method according to claim 5, wherein the determining a target game server GS based on the region information and the operator information of the terminal in the scheduling request comprises:
acquiring region information and operator information of each game server GS corresponding to the central server BS;
and determining the target game server GS based on the region information and the operator information of the terminal and the region information and the operator information of each game server GS.
7. A scheduling method for a forwarding server of a cloud game is characterized by comprising the following steps:
sending a scheduling request aiming at a game server GS to a central server BS, wherein the scheduling request comprises region information of a terminal, so that the central server BS determines a target forwarding server TS based on the region information of the terminal, and the target forwarding server TS is arranged in a multi-line machine room;
receiving the identification information of the target forwarding server TS sent by the central server BS;
when the region information of the terminal is determined not to be matched with the region information of the target game server GS, the multi-line machine room establishes a communication link between the target forwarding server TS and the target game server GS through a special communication line of an operator to which the target game server GS belongs;
wherein the target game server GS is determined by the central server BS.
8. A scheduling apparatus of a cloud game forwarding server, comprising:
the scheduling request receiving module is used for receiving a scheduling request which is sent by a terminal and aims at a game server GS, wherein the scheduling request comprises region information of the terminal;
the target forwarding server TS determining module is used for determining a target forwarding server TS based on the regional information of the terminal, wherein the target forwarding server TS is arranged in a multi-line machine room;
a target forwarding server TS sending module, configured to send identification information of the target forwarding server TS to the terminal, so that when the region information of the terminal is not matched with the region information of the target game server GS, the multi-line machine room establishes a communication link between the target forwarding server TS and the target game server GS through a dedicated communication line of an operator to which the target game server GS belongs;
wherein the target game server GS is determined by the central server BS.
9. A scheduling apparatus of a cloud game forwarding server, comprising:
the scheduling request sending module is used for sending a scheduling request aiming at a game server GS to a central server BS, wherein the scheduling request comprises the region information of the terminal, so that the central server BS determines a target forwarding server TS based on the region information of the terminal, and the target forwarding server TS is arranged in a multi-line machine room;
a target forwarding server TS receiving module, configured to receive identification information of the target forwarding server TS sent by the central server BS;
a forwarding link establishing module, configured to establish a communication link between the target forwarding server TS and the target game server GS through a dedicated communication line of an operator to which the target game server GS belongs by the multi-line machine room when it is determined that the region information of the terminal is not matched with the region information of the target game server GS;
wherein the target game server GS is determined by the central server BS.
10. An electronic device comprising a memory and a processor;
the memory has stored therein a computer program;
the processor for executing the computer program to implement the method of any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN201911222808.3A 2019-12-03 2019-12-03 Scheduling method and device of forwarding server of cloud game and readable storage medium Active CN111803925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911222808.3A CN111803925B (en) 2019-12-03 2019-12-03 Scheduling method and device of forwarding server of cloud game and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911222808.3A CN111803925B (en) 2019-12-03 2019-12-03 Scheduling method and device of forwarding server of cloud game and readable storage medium

Publications (2)

Publication Number Publication Date
CN111803925A CN111803925A (en) 2020-10-23
CN111803925B true CN111803925B (en) 2023-04-18

Family

ID=72844254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911222808.3A Active CN111803925B (en) 2019-12-03 2019-12-03 Scheduling method and device of forwarding server of cloud game and readable storage medium

Country Status (1)

Country Link
CN (1) CN111803925B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328174A (en) * 2020-10-29 2021-02-05 北京京东尚科信息技术有限公司 Data pushing method, device, system and medium for cloud computing platform
SG10202011942VA (en) * 2020-12-01 2021-05-28 Garena Online Private Ltd Server architecture and method for implementing online multi-player games
CN112600914B (en) * 2020-12-07 2022-04-01 腾讯科技(深圳)有限公司 Data processing method and device, computer readable medium and electronic equipment
CN113489643A (en) * 2021-07-13 2021-10-08 腾讯科技(深圳)有限公司 Cloud-edge cooperative data transmission method and device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023872A (en) * 2012-11-16 2013-04-03 杭州顺网科技股份有限公司 Cloud game service platform
CN103841136A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 Acceleration method and system of application program
CN104919813A (en) * 2012-12-19 2015-09-16 微软技术许可有限责任公司 Computationally generating turn-based game cinematics
CN108815842A (en) * 2018-06-01 2018-11-16 网宿科技股份有限公司 A kind of method, apparatus and system running cloud game
CN110417789A (en) * 2019-08-01 2019-11-05 深圳市网心科技有限公司 Server connection method, electronic equipment, system and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023872A (en) * 2012-11-16 2013-04-03 杭州顺网科技股份有限公司 Cloud game service platform
CN103841136A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 Acceleration method and system of application program
CN104919813A (en) * 2012-12-19 2015-09-16 微软技术许可有限责任公司 Computationally generating turn-based game cinematics
CN108815842A (en) * 2018-06-01 2018-11-16 网宿科技股份有限公司 A kind of method, apparatus and system running cloud game
CN110417789A (en) * 2019-08-01 2019-11-05 深圳市网心科技有限公司 Server connection method, electronic equipment, system and medium

Also Published As

Publication number Publication date
CN111803925A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN111803925B (en) Scheduling method and device of forwarding server of cloud game and readable storage medium
US20240022650A1 (en) Computing power application traffic forwarding method and apparatus
CN116325702A (en) Method, system and computer readable medium for prioritized Network Function (NF) discovery and routing specific to service communication agents (SCPs)
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
US20240129225A1 (en) System and method for adding routing paths in a network
WO2022007503A1 (en) Service traffic processing method and apparatus
CN112039796B (en) Data packet transmission method and device, storage medium and electronic equipment
CN107547346B (en) Message transmission method and device
CN113542128B (en) Method and device for sending routing information
CN111200830A (en) Data transmission method and device and electronic equipment
US20160065483A1 (en) Communication system, control apparatus, and storage medium
CN111193756B (en) VXLAN tunnel load balancing method and related equipment
CN116436850A (en) Message forwarding method, message processing method and device
CN104468371A (en) Multicast service message processing method and device
CN106970843B (en) Remote calling method and device
US10158587B2 (en) Communication between a web application instance connected to a connection server and a calling entity other than said connection server
CN106027599B (en) Data transmission channel establishing method, system and server
CN111803924B (en) Multi-terminal synchronous display method and device for cloud game and readable storage medium
CN108696455B (en) Method and device for processing service flow
CN115695523A (en) Data transmission control method and device, electronic equipment and storage medium
CN108476219B (en) Method and apparatus for data exchange
US10623279B2 (en) Method and network entity for control of value added service (VAS)
CN110601993B (en) Multi-outlet load balancing method and device
US20020146012A1 (en) Modular policy decision point for processing resource reservation requests within a data network
CN111600798B (en) Method and equipment for sending and obtaining assertion message

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
GR01 Patent grant