CN115531865A - Cloud game running method, equipment, storage medium and device - Google Patents

Cloud game running method, equipment, storage medium and device Download PDF

Info

Publication number
CN115531865A
CN115531865A CN202211219860.5A CN202211219860A CN115531865A CN 115531865 A CN115531865 A CN 115531865A CN 202211219860 A CN202211219860 A CN 202211219860A CN 115531865 A CN115531865 A CN 115531865A
Authority
CN
China
Prior art keywords
cloud game
terminal
cloud
local area
area network
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
CN202211219860.5A
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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202211219860.5A priority Critical patent/CN115531865A/en
Publication of CN115531865A publication Critical patent/CN115531865A/en
Pending legal-status Critical Current

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/32Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using local area network [LAN] connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of cloud service, and discloses a cloud game running method, equipment, a storage medium and a device, wherein the method comprises the following steps: when a cloud game request initiated by terminal equipment is received, searching a corresponding resource terminal in a local area network where the terminal equipment is located, controlling the resource terminal to start a cloud game corresponding to the cloud game request, and controlling the terminal equipment to establish communication connection with the resource terminal, wherein the communication connection is used for transmitting cloud game data; according to the cloud game data transmission method and the cloud game data transmission device, when the user applies to run the cloud game through the terminal device, the cloud game is dispatched to the resource terminal in the local area network where the terminal device is located to run, and the communication connection between the terminal device and the resource terminal is established in the local area network, so that cloud game data are transmitted through the local area network, delay blocking caused by cloud game data transmission through a public network is avoided, and cloud game experience is improved.

Description

Cloud game running method, equipment, storage medium and device
Technical Field
The invention relates to the technical field of cloud service, in particular to a cloud game running method, cloud game running equipment, a cloud game storage medium and a cloud game storage device.
Background
Currently, when a user plays a cloud game, a game instance is usually run at the cloud end of a public network, and cloud game data are transmitted through the public network.
However, the public network transmission is greatly influenced by the network, so that the problem of delay and pause in the running of the cloud game is caused.
Disclosure of Invention
The invention mainly aims to provide a cloud game running method, equipment, a storage medium and a device, and aims to solve the technical problem that in the existing cloud game running mode, cloud game data are transmitted through a public network, so that delay jamming occurs during running of a cloud game.
In order to achieve the above object, the present invention provides a cloud game running method, including:
when a cloud game request initiated by a terminal device is received, searching a corresponding resource terminal in a local area network where the terminal device is located;
controlling the resource terminal to start the cloud game corresponding to the cloud game request;
and controlling the terminal equipment to establish a communication connection with the resource terminal, wherein the communication connection is used for transmitting cloud game data.
Optionally, the step of searching for a corresponding resource terminal in a local area network where the terminal device is located when receiving a cloud game request initiated by the terminal device includes:
when a cloud game request initiated by terminal equipment is received, acquiring a current reference score of a cloud game corresponding to the cloud game request;
judging whether the cloud game is suitable for being scheduled to a local area network where the terminal equipment is located according to the current reference value;
if yes, searching the corresponding resource terminal in the local area network.
Optionally, the current reference score is at least one of a traffic bandwidth occupation score of the cloud game, a processor performance score of the resource terminal, a memory performance score of the resource terminal, and a network patency score of the terminal device.
Optionally, the step of determining whether the cloud game is suitable for being scheduled to the local area network where the terminal device is located according to the current reference score includes:
acquiring a historical reference threshold corresponding to the cloud game;
sorting the historical reference thresholds, and selecting a current reference threshold from the historical reference thresholds according to a sorting result;
comparing the current reference score to the current reference threshold;
and judging whether the cloud game is suitable for being scheduled to the local area network where the terminal equipment is located according to the comparison result.
Optionally, the step of determining whether the cloud game is suitable for being scheduled to the local area network where the terminal device is located according to the current reference score includes:
acquiring a historical reference score, and predicting a future reference score of the cloud game according to the current reference score and the historical reference score;
and judging whether the cloud game is suitable for being scheduled to a local area network where the terminal equipment is located according to the current reference score and the future reference score.
Optionally, after the step of controlling the resource terminal to start the cloud game corresponding to the cloud game request, the method further includes:
starting a cloud end instance corresponding to the cloud game;
and acquiring the process information of the cloud instance, and synchronizing the process information to the resource terminal.
Optionally, before the step of searching for the corresponding resource terminal in the local area network where the terminal device is located when the cloud game request initiated by the terminal device is received, the method further includes:
when a cloud game request initiated by a terminal device is received, a registered terminal is obtained in a local area network where the terminal device is located;
and searching the corresponding resource terminal in the registered terminal.
In addition, to achieve the above object, the present invention further provides a cloud game running device, which includes a memory, a processor, and a cloud game running program stored on the memory and executable on the processor, wherein the cloud game running program is configured to implement the cloud game running method described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a cloud game running program stored thereon, wherein the cloud game running program, when executed by a processor, implements the cloud game running method as described above.
In addition, in order to achieve the above object, the present invention provides a cloud game running device, including: the terminal comprises a terminal searching module, a starting control module and a connection establishing module;
the terminal searching module is used for searching a corresponding resource terminal in a local area network where the terminal equipment is located when a cloud game request initiated by the terminal equipment is received;
the starting control module is used for controlling the resource terminal to start the cloud game corresponding to the cloud game request;
the connection establishing module is used for controlling the terminal equipment to establish communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data.
The invention discloses that when a cloud game request initiated by terminal equipment is received, a corresponding resource terminal is searched in a local area network where the terminal equipment is located, the resource terminal is controlled to start a cloud game corresponding to the cloud game request, the terminal equipment is controlled to establish communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data; according to the cloud game data transmission method and the cloud game data transmission device, when the user applies to run the cloud game through the terminal device, the cloud game is dispatched to the resource terminal in the local area network where the terminal device is located to run, and the communication connection between the terminal device and the resource terminal is established in the local area network, so that cloud game data are transmitted through the local area network, delay blocking caused by cloud game data transmission through a public network is avoided, and cloud game experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a cloud game execution device of a hardware execution environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a cloud game operating method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a communication connection for transmitting cloud game data according to an embodiment of the cloud game operating method of the present invention;
fig. 4 is a flowchart illustrating a second embodiment of a cloud game operating method according to the present invention;
fig. 5 is a schematic flowchart of a cloud game operating method according to a third embodiment of the present invention;
fig. 6 is an interaction diagram of cloud game operation according to an embodiment of the cloud game operation method of the present invention;
fig. 7 is a block diagram of a first embodiment of a cloud game execution apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a cloud game operating device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the cloud game execution apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the cloud game execution apparatus, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, identified as one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a cloud gaming execution program.
In the cloud game running device shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the cloud game running device calls the cloud game running program stored in the memory 1005 through the processor 1001, and executes the cloud game running method provided by the embodiment of the invention.
Based on the hardware structure, the embodiment of the cloud game running method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a cloud game running method according to a first embodiment of the present invention, and the cloud game running method according to the first embodiment of the present invention is provided.
In a first embodiment, the cloud game running method includes the steps of:
step S10: when a cloud game request initiated by a terminal device is received, a corresponding resource terminal is searched in a local area network where the terminal device is located.
It should be understood that the execution subject of the method of this embodiment may be a cloud game execution device having data processing, network communication, and program execution functions, for example, a cloud server, or other electronic devices capable of implementing the same or similar functions, which is not limited in this embodiment.
It should be noted that the terminal device may be an electronic device used by a user when playing a cloud game, for example, a mobile phone, a computer, a television, and the like.
In a specific implementation, when a user wants to play a cloud game, the user may send a cloud game request through a cloud game program installed in advance on a mobile phone.
It should be noted that the resource terminal may be a device with game running capability in the lan, for example, a computer in the lan.
It can be understood that, the searching for the corresponding resource terminal in the local area network where the terminal device is located may be to select one device as the corresponding resource terminal in the local area network where the terminal device is located, or to select the corresponding resource terminal according to the device information of each device in the local area network where the terminal device is located, which is not limited in this embodiment. The device information may include device performance, device status, distance from the terminal device, and other information.
In a specific implementation, the searching for the corresponding resource terminal in the local area network where the terminal device is located may be selecting a device closest to the terminal device in the local area network where the terminal device is located as the corresponding resource terminal.
Step S20: and controlling the resource terminal to start the cloud game corresponding to the cloud game request.
It should be understood that, in order to implement the transmission of the cloud game data through the local area network, in this embodiment, the cloud game needs to be loaded on the resource terminal. Therefore, in this embodiment, the resource terminal needs to be controlled to start the cloud game corresponding to the cloud game request.
Step S30: and controlling the terminal equipment to establish a communication connection with the resource terminal, wherein the communication connection is used for transmitting cloud game data.
It can be understood that after the resource terminal completes the cloud game start, it indicates that the resource terminal is ready to transmit the cloud game data. Therefore, the cloud server can control the terminal device to establish a communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data.
It should be understood that, the controlling terminal device may establish a communication connection with the resource terminal by sending a communication address of the resource terminal to the terminal device by the cloud server, and then establishing a communication connection with the resource terminal by the controlling terminal device based on the communication address, where the communication connection is used for transmitting cloud game data.
It should be noted that the communication address may be an intranet stream address of the resource terminal.
In a specific implementation, after receiving the communication address, the terminal device establishes a webrtc connection with the resource terminal based on the communication address, and performs streaming.
For ease of understanding, the description will be made with reference to fig. 3, but this scheme is not limited thereto. Fig. 3 is a schematic diagram of a communication connection for transmitting cloud game data, in which a terminal device is a mobile phone, a resource device is a computer in a local area network in which the mobile phone is located, the communication connection is a streaming connection in the local area network, and the cloud game data is directly transmitted point-to-point through a local area network router without passing through a public network, so that problems of delay, packet loss, jamming and the like caused by public network transmission can be reduced.
In a first embodiment, the method includes that when a cloud game request initiated by a terminal device is received, a corresponding resource terminal is searched in a local area network where the terminal device is located, the resource terminal is controlled to start a cloud game corresponding to the cloud game request, the terminal device is controlled to establish communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data; according to the cloud game data transmission method and device, when the user applies for running the cloud game through the terminal device, the cloud game is dispatched to the resource terminal in the local area network where the terminal device is located to run, and the communication connection between the terminal device and the resource terminal is established in the local area network, so that cloud game data are transmitted through the local area network, delay blocking caused by cloud game data transmission through the public network is avoided, and cloud game experience is improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of a second embodiment of a cloud game operating method according to the present invention, and the second embodiment of the cloud game operating method is provided based on the first embodiment shown in fig. 2.
In a second embodiment, the step S10 includes:
step S101: when a cloud game request initiated by a terminal device is received, the current reference value of a cloud game corresponding to the cloud game request is obtained.
It should be understood that, in order to reasonably schedule the cloud game, in this embodiment, before searching for a corresponding resource terminal in the local area network where the terminal device is located, it is further determined whether the cloud game is suitable to be scheduled to the local area network for operation.
It should be noted that the current parameter score may be used to measure whether the cloud game is suitable for being scheduled to the lan.
It can be understood that obtaining the current reference score of the cloud game corresponding to the cloud game request may be obtaining cloud game information, resource terminal information and terminal device information, and determining the current reference score of the cloud game through a preset evaluation model according to the cloud game information, the resource terminal information and the terminal device information. Wherein, the preset evaluation model can be preset.
Further, the current reference score is at least one of a traffic bandwidth occupation score of the cloud game, a processor performance score of the resource terminal, a memory performance score of the resource terminal, and a network patency score of the terminal device.
It should be understood that, in order to improve the accuracy of the current reference score, in the present embodiment, the content of the current reference score may be specifically limited.
It should be noted that the traffic bandwidth occupation score can be used for measuring the public network bandwidth occupied by the cloud game during the operation, and the higher the traffic bandwidth occupation score is, the more the public network bandwidth occupied by the cloud game during the operation is, the more the delay jam is obvious.
It is to be understood that obtaining the traffic bandwidth occupancy score for the cloud game may be obtaining the average bandwidth consumption of the cloud game and the average traffic bandwidth consumption of all games of the entire cloud game platform, where the traffic bandwidth occupancy score = the average bandwidth consumption of the cloud game/the average traffic bandwidth consumption of all games of the entire cloud game platform.
It should be noted that, the processor performance score may be used to measure the processor performance of the resource terminal, and the higher the processor performance score is, the stronger the processor performance of the resource terminal is, and the better the game experience is provided.
It should be understood that obtaining the processor performance score of the resource terminal may be obtaining the number of CPUs consumed by the cloud game on average and the number of CPUs of the resource terminal, and the processor performance score = obtaining the number of CPUs consumed by the cloud game on average/the number of CPUs of the resource terminal.
It should be noted that the memory performance score may be used to measure the memory performance of the resource terminal, and the higher the memory performance score is, the stronger the memory performance of the resource terminal is, and the better the game experience is provided.
It can be understood that, the obtaining of the memory performance score of the resource terminal may be obtaining a memory size of the resource terminal and an average memory usage of the cloud game on the entire cloud game platform, and the memory performance score = the memory size/the average memory usage of the cloud game on the entire cloud game platform.
It should be noted that the network smoothness score of the terminal device is used for measuring the network of the terminal device, and the higher the network smoothness score is, the worse the network of the terminal device is, the worse the cloud game experience experienced on the public network is.
It should be understood that the obtaining of the network patency score of the terminal device may be obtaining a Round-Trip Time (RTT) value of the terminal device and an average RTT value of all users of the entire cloud game platform, and the network patency score = RTT value of the terminal device/average RTT value of all users of the entire cloud game platform.
Step S102: and judging whether the cloud game is suitable for being scheduled to a local area network where the terminal equipment is located according to the current reference value.
It can be understood that, the judgment of whether the cloud game is suitable for being scheduled to the local area network where the terminal device is located according to the current reference score may be that the cloud game is suitable for being scheduled to the local area network when the current reference score is greater than a current reference threshold; and when the current reference score is smaller than or equal to a current reference threshold, judging that the cloud game is not suitable for being dispatched to the local area network, wherein the current reference threshold can be preset or determined according to a historical reference threshold.
It should be understood that when the current reference score is at least one of a traffic bandwidth occupation score of the cloud game, a processor performance score of the resource terminal, a memory performance score of the resource terminal, and a network patency score of the terminal device, whether the cloud game is suitable for being scheduled to the local area network where the terminal device is located may be determined according to the current reference score by adding the scores to obtain a total score, and when the total score is greater than a current reference threshold, it is determined that the cloud game is suitable for being scheduled to the local area network; when the total score is less than or equal to the current reference threshold value, judging that the cloud game is not suitable for being dispatched to the local area network;
or obtaining a score threshold corresponding to each score, comparing each score with the corresponding score threshold, and judging that the cloud game is suitable for being dispatched to the local area network when each score is greater than the score threshold; and when the score of any item is less than or equal to the score threshold value, judging that the cloud game is not suitable to be dispatched to the local area network.
Further, in order to improve the accuracy of the current reference threshold, the step S202 includes:
acquiring a historical reference threshold corresponding to the cloud game;
sorting the historical reference threshold values, and selecting a current reference threshold value from the historical reference threshold values according to a sorting result;
comparing the current reference score to the current reference threshold;
and judging whether the cloud game is suitable for being dispatched to the local area network where the terminal equipment is located according to the comparison result.
It should be understood that, in order to improve the accuracy of the threshold, in this embodiment, before determining whether the cloud game is suitable for being scheduled to the local area network according to the comparison result between the current reference score and the current reference threshold, the threshold is further updated according to the historical reference threshold, so as to obtain the current reference threshold.
In a specific implementation, for the threshold B, when the program runs the calculation for the first time, B =1, and thereafter, when the B value of the next time takes the value of TP95 in the previous calculation cycle (the previous n-1 times) (the B values in the cycle are arranged from small to large, taking the value of the 95 th% position, bn = TP95 (n-1).
It can be understood that, the step of judging whether the cloud game is suitable for being scheduled to the local area network according to the comparison result may be that when the current reference score is greater than the current reference threshold, the cloud game is judged to be suitable for being scheduled to the local area network; and when the current reference score is smaller than or equal to the current reference threshold value, judging that the cloud game is not suitable for being dispatched to the local area network.
Further, in practical applications, it is considered that the terminal status is constantly changing. Therefore, in order to ensure the accuracy of the scheduling judgment, the step S202 further includes:
acquiring a historical reference score, and predicting a future reference score of the cloud game according to the current reference score and the historical reference score;
and judging whether the cloud game is suitable for being scheduled to a local area network where the terminal equipment is located according to the current reference score and the future reference score.
In a specific implementation, for example, at the moment when the user initiates the cloud game request, the network is good, and the network patency score of the terminal device is smaller than the corresponding score threshold, at this time, it is determined that the cloud game is not suitable for being scheduled to the local area network. However, in practice, the network of the user may be deteriorated in the last 10s, and the network smoothness score of the terminal device may be greater than the corresponding score threshold value after 3s, which is not suitable for experiencing the cloud game through the public network.
Therefore, in order to overcome the above-mentioned defects, in this embodiment, a future reference score of the cloud game is also predicted, and whether the cloud game is suitable for being scheduled to the local area network is determined by combining the current reference score and the future reference score.
It should be noted that the current reference score is the current reference score P of the nth cloud game acquired n The historical reference score is the historical reference score P of the n-1 th acquisition of the cloud game n-1 Then the gradient factor λ n =P n /P n-1 Wherein the gradient factor λ n Indicates that this time P n Comparison of last P n-1 The variation trend of the value is the gradient coefficient
Figure BDA0003876220500000091
WhereinGradient coefficient ε n Represents the average of the fade factor over the last period used to predict the future reference score.
The formula for predicting the future reference score is as follows:
Figure BDA0003876220500000092
in the formula, P future For future reference scores, P n For the current reference score, ε n Is a gradient coefficient, λ n Is a gradient factor.
It is to be appreciated that determining whether the cloud game is suitable for scheduling to the local area network based on the current reference score and the future reference score can be based on determining the future threshold B based on the current reference threshold future ,B future Taking TP95 (n), and when the current reference score is larger than the current reference threshold and the future reference score is larger than the future threshold, judging that the cloud game is suitable to be dispatched to the local area network; when the current reference score is less than or equal to the current reference threshold or the future reference score is less than or equal to the future threshold, the cloud game is judged to be not suitable for dispatching to the local area network.
Step S103: and if so, searching the corresponding resource terminal in the local area network.
It should be understood that when a cloud game is suitable for dispatch to a local area network, it is desirable to stream the cloud game to the local area network. Therefore, the corresponding resource terminal needs to be searched in the local area network.
In a second embodiment, the method comprises the steps of obtaining a current reference value of a cloud game corresponding to a cloud game request, judging whether the cloud game is suitable for being scheduled to a local area network where terminal equipment is located according to the current reference value, and searching a corresponding resource terminal in the local area network if the cloud game is suitable for being scheduled to the local area network where the terminal equipment is located; according to the cloud game scheduling method and device, before the corresponding resource terminal is searched in the local area network where the terminal device is located, whether the cloud game is suitable for being scheduled to the local area network to run or not can be judged, so that the cloud game can be reasonably scheduled, and cloud game experience can be improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a cloud game operating method according to a third embodiment of the present invention, and based on the foregoing embodiments, a third embodiment of the cloud game operating method according to the present invention is provided.
In the third embodiment, before the step S10, the method further includes:
step S01: when a cloud game request initiated by a terminal device is received, a registered terminal is obtained in a local area network where the terminal device is located.
It should be understood that, in order to ensure the reliability of the resource terminal, in this embodiment, the registered terminal is also acquired in the local area network where the terminal device is located.
It is to be understood that the preset program may be installed in advance on the registration terminal and run to make the registration terminal issue the registration request.
In a specific implementation, a cloud game control program is installed on a computer in a local area network, and a registration request is sent out through the cloud game control program, wherein the registration request includes local information and local area network information, the local information includes information such as a local CPU, a GPU, a disk, and the like, and the local area network information includes network segment information of the local area network, for example: 192.168.1.0/24, the longitude and latitude of the position, the city place name and other information.
Step S02: and searching the corresponding resource terminal in the registered terminal.
It should be understood that, in this embodiment, in addition to searching for a corresponding resource terminal in a registered terminal, a local area network where the registered terminal is located may also be used as a terminal edge node, so as to search for a resource terminal in the following.
In a third embodiment, it is disclosed that, when a cloud game request initiated by a terminal device is received, a registered terminal is obtained in a local area network where the terminal device is located, and a corresponding resource terminal is searched for in the registered terminal; since the embodiment also obtains the registered terminal in the local area network where the terminal device is located, the reliability of the resource terminal can be ensured.
In the third embodiment, after the step S20, the method further includes:
step S210: and starting a cloud end instance corresponding to the cloud game.
It should be understood that, in order to reduce the delay when the cloud game is started, in this embodiment, the cloud instance corresponding to the cloud game is started on the cloud server, and then the process information of the cloud instance is synchronized to the resource terminal.
Further, in order to ensure the cloud game starting speed, before step S210, the method further includes:
after receiving the cloud game starting notification, the resource terminal notifies the cloud server that the game instance is ready to be received, and simultaneously remotely mounts the game directory on the cloud server, and after receiving the notification that the resource terminal is ready, the cloud server executes step S210.
It is understood that in practical applications, some resource terminals may not have cloud game resources. Therefore, before the cloud game is started by the resource terminal, the game directory needs to be remotely mounted on the cloud server to verify whether the local file of the resource terminal contains the cloud game resource.
It should be understood that remotely mounting the game directory on the cloud server can enable the cloud server to verify whether the local file of the resource terminal contains the cloud game resource, and if not, the cloud game resource is issued to the resource terminal.
It should be noted that the remote mount protocol during remote mount may be a high-speed network file protocol such as iscsi, and delay caused by reading a local file during game running can be effectively reduced.
Step S220: and acquiring the process information of the cloud instance, and synchronizing the process information to the resource terminal.
It can be understood that the cloud starts the game by loading in the internet, the loading speed is high, the game pulling speed is almost equal to the local starting game of the computer, and the process information is synchronized to the resource terminal after the cloud instance is started, so that the delay caused by pulling the game can be reduced to the maximum extent.
It should be understood that, because the data amount of the progress information is small, the progress data may be hundreds of K just after the game is started, and the transmission of hundreds of K data through the network has almost no delay.
For ease of understanding, the description will be made with reference to fig. 6, but this scheme is not limited thereto. Fig. 6 is an interaction diagram of a cloud game operation, in which a terminal device initiates a cloud game request, a cloud server searches for a resource terminal in a local area network where the terminal device is located, the cloud server determines whether the cloud game is suitable for being scheduled to the local area network, if not, a cloud instance corresponding to the cloud game is started in a cloud edge node, and game data are transmitted between the terminal device and the cloud edge node through a public network; if yes, the cloud server controls the resource terminal to start a cloud game corresponding to the cloud game request, the resource terminal informs the cloud server that a game instance is ready to be received, meanwhile, a game directory is mounted on the cloud server, the cloud server starts the cloud instance corresponding to the cloud game on a cloud edge node, the cloud server obtains process information of the cloud instance, the cloud server synchronizes the process information to the resource terminal, and after the resource terminal informs the cloud server that the cloud game is started, the cloud server sends a communication address of the resource terminal to the terminal device, so that the terminal device establishes communication connection with the resource terminal based on the communication address, and the communication connection is used for transmitting cloud game data.
In a third embodiment, the method discloses starting a cloud instance corresponding to a cloud game, acquiring process information of the cloud instance, and synchronizing the process information to a resource terminal; in the embodiment, the cloud instance corresponding to the cloud game is started on the cloud server, and then the process information of the cloud instance is synchronized to the resource terminal, so that the delay of starting the cloud game can be reduced.
In addition, an embodiment of the present invention further provides a storage medium, where a cloud game running program is stored on the storage medium, and when executed by a processor, the cloud game running program implements the cloud game running method described above.
In addition, referring to fig. 7, an embodiment of the present invention further provides a cloud game running apparatus, where the cloud game running apparatus includes: a terminal searching module 10, a starting control module 20 and a connection establishing module 30;
the terminal searching module 10 is configured to search a corresponding resource terminal in a local area network where the terminal device is located when receiving a cloud game request initiated by the terminal device.
It should be noted that the terminal device may be an electronic device used when the user plays the cloud game, for example, a mobile phone, a computer, a television, and the like.
In a specific implementation, when a user wants to play a cloud game, the user may send a cloud game request through a cloud game program installed in advance on a mobile phone.
It should be noted that the resource terminal may be a device with game running capability in the lan, for example, a computer in the lan.
It can be understood that, searching for a corresponding resource terminal in the local area network where the terminal device is located may be to select one device in the local area network where the terminal device is located as the corresponding resource terminal, or to select the corresponding resource terminal according to device information of each device in the local area network where the terminal device is located, which is not limited in this embodiment. The device information may include device performance, device status, distance from the terminal device, and other information.
In a specific implementation, the searching for the corresponding resource terminal in the local area network where the terminal device is located may be selecting a device closest to the terminal device in the local area network where the terminal device is located as the corresponding resource terminal.
The starting control module 20 is configured to control the resource terminal to start the cloud game corresponding to the cloud game request.
It should be understood that, in order to implement the transmission of the cloud game data through the local area network, in this embodiment, the cloud game needs to be loaded on the resource terminal. Therefore, in this embodiment, the resource terminal needs to be controlled to start the cloud game corresponding to the cloud game request.
The connection establishing module 30 is configured to control the terminal device to establish a communication connection with the resource terminal, where the communication connection is used to transmit cloud game data.
It can be understood that after the resource terminal completes the cloud game start, it indicates that the resource terminal is ready to transmit cloud game data. Therefore, the cloud server can control the terminal device to establish a communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data.
It should be understood that, the controlling terminal device may establish a communication connection with the resource terminal by sending a communication address of the resource terminal to the terminal device by the cloud server, and then establishing a communication connection with the resource terminal by the controlling terminal device based on the communication address, where the communication connection is used for transmitting cloud game data.
It should be noted that the communication address may be an intranet streaming address of the resource terminal.
In specific implementation, after receiving the communication address, the terminal device establishes a webrtc connection with the resource terminal based on the communication address, and performs streaming.
For ease of understanding, the description will be made with reference to fig. 3, but this scheme is not limited thereto. Fig. 3 is a schematic diagram of a communication connection for transmitting cloud game data, in which a terminal device is a mobile phone, a resource device is a computer in a local area network in which the mobile phone is located, the communication connection is a streaming connection in the local area network, and the cloud game data is directly transmitted point-to-point through a local area network router without passing through a public network, so that problems of delay, packet loss, jamming and the like caused by public network transmission can be reduced. .
In this embodiment, it is disclosed that when a cloud game request initiated by a terminal device is received, a corresponding resource terminal is searched in a local area network where the terminal device is located, the resource terminal is controlled to start a cloud game corresponding to the cloud game request, the terminal device is controlled to establish a communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data; according to the cloud game data transmission method and device, when the user applies for running the cloud game through the terminal device, the cloud game is dispatched to the resource terminal in the local area network where the terminal device is located to run, and the communication connection between the terminal device and the resource terminal is established in the local area network, so that cloud game data are transmitted through the local area network, delay blocking caused by cloud game data transmission through the public network is avoided, and cloud game experience is improved.
Other embodiments or specific implementation manners of the cloud game running device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A cloud game running method is characterized by comprising the following steps:
when a cloud game request initiated by a terminal device is received, searching a corresponding resource terminal in a local area network where the terminal device is located;
controlling the resource terminal to start the cloud game corresponding to the cloud game request;
and controlling the terminal equipment to establish a communication connection with the resource terminal, wherein the communication connection is used for transmitting cloud game data.
2. The cloud game running method according to claim 1, wherein the step of searching for a corresponding resource terminal in a local area network where the terminal device is located when receiving a cloud game request initiated by the terminal device, includes:
when a cloud game request initiated by terminal equipment is received, acquiring a current reference score of a cloud game corresponding to the cloud game request;
judging whether the cloud game is suitable for being scheduled to a local area network where the terminal equipment is located according to the current reference value;
if yes, searching the corresponding resource terminal in the local area network.
3. The cloud game execution method of claim 2, wherein the current reference score is at least one of a traffic bandwidth occupancy score for the cloud game, a processor performance score for the resource terminals, a memory performance score for the resource terminals, and a network patency score for the terminal devices.
4. The cloud game running method according to claim 3, wherein the step of determining whether the cloud game is suitable for being scheduled to the local area network where the terminal device is located according to the current reference score includes:
acquiring a historical reference threshold corresponding to the cloud game;
sorting the historical reference thresholds, and selecting a current reference threshold from the historical reference thresholds according to a sorting result;
comparing the current reference score to the current reference threshold;
and judging whether the cloud game is suitable for being dispatched to the local area network where the terminal equipment is located according to the comparison result.
5. The cloud game running method according to claim 3, wherein the step of determining whether the cloud game is suitable for being scheduled to the local area network where the terminal device is located according to the current reference score includes:
acquiring a historical reference score, and predicting a future reference score of the cloud game according to the current reference score and the historical reference score;
and judging whether the cloud game is suitable for being scheduled to a local area network where the terminal equipment is located according to the current reference score and the future reference score.
6. The cloud game execution method of any one of claims 1 to 5, wherein after the step of controlling the resource terminal to launch the cloud game requesting the corresponding cloud game, further comprising:
starting a cloud instance corresponding to the cloud game;
and acquiring the process information of the cloud instance, and synchronizing the process information to the resource terminal.
7. The cloud game running method according to any one of claims 1 to 5, wherein, before the step of searching for the corresponding resource terminal in the local area network where the terminal device is located when the cloud game request initiated by the terminal device is received, the method further includes:
when a cloud game request initiated by a terminal device is received, a registered terminal is obtained in a local area network where the terminal device is located;
and searching the corresponding resource terminal in the registered terminal.
8. A cloud game execution apparatus, characterized in that the cloud game execution apparatus comprises: a memory, a processor, and a cloud game execution program stored on the memory and executable on the processor, the cloud game execution program, when executed by the processor, implementing the cloud game execution method of any one of claims 1 to 7.
9. A storage medium having a cloud game execution program stored thereon, the cloud game execution program, when executed by a processor, implementing the cloud game execution method according to any one of claims 1 to 7.
10. A cloud game execution apparatus, characterized in that the cloud game execution apparatus comprises: the terminal comprises a terminal searching module, a starting control module and a connection establishing module;
the terminal searching module is used for searching a corresponding resource terminal in a local area network where the terminal equipment is located when a cloud game request initiated by the terminal equipment is received;
the starting control module is used for controlling the resource terminal to start the cloud game corresponding to the cloud game request;
and the connection establishing module is used for controlling the terminal equipment to establish communication connection with the resource terminal, and the communication connection is used for transmitting cloud game data.
CN202211219860.5A 2022-09-30 2022-09-30 Cloud game running method, equipment, storage medium and device Pending CN115531865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211219860.5A CN115531865A (en) 2022-09-30 2022-09-30 Cloud game running method, equipment, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211219860.5A CN115531865A (en) 2022-09-30 2022-09-30 Cloud game running method, equipment, storage medium and device

Publications (1)

Publication Number Publication Date
CN115531865A true CN115531865A (en) 2022-12-30

Family

ID=84732230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211219860.5A Pending CN115531865A (en) 2022-09-30 2022-09-30 Cloud game running method, equipment, storage medium and device

Country Status (1)

Country Link
CN (1) CN115531865A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896577A (en) * 2023-09-08 2023-10-17 深圳云天畅想信息科技有限公司 Streaming automatic degradation control method, recommended resolution and frame rate acquisition method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896577A (en) * 2023-09-08 2023-10-17 深圳云天畅想信息科技有限公司 Streaming automatic degradation control method, recommended resolution and frame rate acquisition method
CN116896577B (en) * 2023-09-08 2023-11-17 深圳云天畅想信息科技有限公司 Streaming automatic degradation control method, recommended resolution and frame rate acquisition method

Similar Documents

Publication Publication Date Title
US7693157B2 (en) Quality of service support for A/V streams
US10110507B2 (en) Push-based transmission of resources and correlated network quality estimation
CN102202050B (en) Intended response pre-cached
TWI590085B (en) Apparatuses and methods for policy awareness in hardware accelerated video systems
WO2022222755A1 (en) Service processing method and apparatus, and storage medium
US6400726B1 (en) Allocation to a plurality of elements of authorizations for access to a shared resource
CN113055451B (en) Resource downloading method and device, electronic equipment and storage medium
CN108848530B (en) Method and device for acquiring network resources and scheduling server
US20080310301A1 (en) SYSTEM AND METHOD FOR MANAGING PRE-EMPTION OF QUALITY OF SERVICE (QoS) ALLOCATIONS IN A NETWORK
WO2013140336A2 (en) System and method of managing servers for streaming desk top applications
CN111045715A (en) Hot updating method and system of cloud game and readable storage medium
CN110177055B (en) Pre-allocation method of edge domain resources in edge computing scene
US11924255B2 (en) Data transmission method and apparatus, server, storage medium, and program product
CN109802926B (en) Recommendation model establishing method, live broadcast method and device for content distribution network
CN110708260A (en) Data packet transmission method and related device
CN103125108B (en) Set up the system and method that emission control agreement connects
CN115531865A (en) Cloud game running method, equipment, storage medium and device
CN115834556B (en) Data transmission method, system, device, storage medium and program product
CN114153581A (en) Data processing method, data processing device, computer equipment and storage medium
US20070276933A1 (en) Providing quality of service to prioritized clients with dynamic capacity reservation within a server cluster
CN112999651B (en) Data processing method based on cloud game and related equipment
CN109995824B (en) Task scheduling method and device in peer-to-peer network
CN111064700A (en) Downloading method, device and system of cloud game
CN116764235A (en) Data processing method and related device
CN112449366B (en) Message forwarding method and device, wireless AP equipment and storage medium

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