CN111064700B - Downloading method, device and system of cloud game - Google Patents

Downloading method, device and system of cloud game Download PDF

Info

Publication number
CN111064700B
CN111064700B CN201911079960.0A CN201911079960A CN111064700B CN 111064700 B CN111064700 B CN 111064700B CN 201911079960 A CN201911079960 A CN 201911079960A CN 111064700 B CN111064700 B CN 111064700B
Authority
CN
China
Prior art keywords
game
data packet
game data
instance
target
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
CN201911079960.0A
Other languages
Chinese (zh)
Other versions
CN111064700A (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.)
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 CN201911079960.0A priority Critical patent/CN111064700B/en
Publication of CN111064700A publication Critical patent/CN111064700A/en
Application granted granted Critical
Publication of CN111064700B publication Critical patent/CN111064700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • 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
    • 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/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The embodiment of the invention relates to the technical field of cloud games and discloses a method, a device and a system for downloading a cloud game. In the invention, target game data packet information sent by a first game instance is received; judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance or not according to the target game data packet information; and if so, sending the download address corresponding to the target game data packet to the first game instance so that the first game instance can download the target game data packet from the second game instance through the download address. By using the game instance as the providing equipment for downloading the game data packet, the bandwidth resource of the game database is saved, and the service quality of the cloud game is improved.

Description

Downloading method, device and system of cloud game
Technical Field
The embodiment of the invention relates to the technical field of cloud games, in particular to a cloud game downloading method, device and system.
Background
The cloud game is a game mode based on cloud computing, all games run at a server side in a running mode of the cloud game, and a rendered game picture is compressed and then transmitted to a user through a network. When a user needs to start a cloud game, after receiving a user request, the server downloads a cloud game data packet requested by the user from the game database to finish the installation of the game. Due to the limitation of bandwidth of the game database, that is, the amount of data transmitted at the same time is limited, when a large number of users simultaneously make requests of a cloud game, the game database cannot feed back all downloading requests, which results in a decrease in service quality. Currently, the bandwidth of the game database is usually expanded under the large concurrency condition to ensure that the game database can process more data amount at the same time.
The inventors found that at least the following problems exist in the related art: the bandwidth of the game database needs to be expanded, hardware equipment of the game database needs to be improved, the required cost is high, data processed in the mode of expanding the bandwidth of the game database is limited, the increasing user request amount cannot be met, and the problem of low cloud game service quality still exists.
Disclosure of Invention
The invention aims to provide a cloud game downloading method, device and system, wherein a game instance is used as a providing device for downloading a game data packet, so that the bandwidth resource of a game database is saved, and the service quality of a cloud game is improved.
In order to solve the technical problem, an embodiment of the present invention provides a cloud game downloading method, including: receiving target game data packet information sent by a first game instance; judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance or not according to the target game data packet information; and if so, sending the download address of the target game data packet to the first game instance so that the first game instance can download the target game data packet from the second game instance through the download address.
The embodiment of the invention also provides a cloud game downloading method, which is applied to the first game instance and comprises the following steps: when a request for starting a cloud game is received, acquiring target game data packet information according to the request for starting the cloud game; sending the target game data packet information to a game downloading server, so that the game downloading server judges whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance according to the target game data packet information; and when receiving the download address returned by the game download server, downloading the target game data packet from the second game instance according to the download address.
The embodiment of the invention also provides a downloading system of the cloud game, which at least comprises: the game downloading system comprises a client, a game downloading server, a first game instance and a second game instance; the client is used for sending a request of a user for starting a cloud game; the first game instance is used for acquiring target game data packet information according to a request for starting the cloud game and sending the target game data packet information to the download server; the game downloading server is used for receiving the target game data packet information sent by the first game instance; judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance or not according to the target game data packet information; if the target game data package exists, the download address of the target game data package is sent to the first game instance, so that the first game instance can download the target game data package from the second game instance through the download address; the first game instance is also used for downloading the target game data packet from the second game instance according to the download address when receiving the download address returned by the game download server; the second game instance is used for returning the target game data packet when receiving the access request of the download address.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the cloud game downloading method.
The embodiment of the invention also provides a storage medium, which stores a computer program, and the computer program realizes the downloading method of the cloud game when being executed by a processor.
Compared with the prior art, the embodiment of the invention judges whether a second game instance storing the target game data package exists in the current game instance according to the target game data package information included in the game downloading request when receiving the game downloading request sent by the first game instance. When each user starts the cloud game, the cloud game needs to be downloaded, installed and operated in the game instance of the server, so that each game instance running the game data package stores the data package of the game, and the game instance can be used as a downloading device to provide the game data package for other game instances. When the target game data packet requested by the first game instance is stored in one second game instance, the first game instance can directly acquire the required target game data packet through the second game instance without acquiring the target game data packet through the game database, so that the problem that each game instance needs to acquire the data packet from the game database and occupies the bandwidth of the game database is solved, and the bandwidth resource of the game database is saved. In addition, the game instance is used as a providing device for downloading the data packet, the bandwidth of the game database occupied by the downloaded data packet is dispersed, the downloading speed of the data packet is increased, and meanwhile, the resource utilization rate of the game instance is increased, so that the service quality of the cloud game is improved.
In addition, before sending the download address of the target game data packet to the first game instance, the method further comprises the following steps: and judging that the download address of the target game data packet is not accessed by any other game instance. Each download address is accessed by one game instance, and the download address provides download of the game data package for one game instance, so that the download speed of the game data package is guaranteed.
In addition, the step of judging whether the download address of the target game data packet is not accessed by any other game instance comprises the following steps: acquiring the list type of an address list where a download address of a target game data packet is located; wherein the list types include: a free list type and a busy list type; and if the list type of the address list where the download address is located is the free list type, the download address is not accessed by any other game instance. The accessed download addresses and the non-accessed download addresses are respectively recorded through different types of list records, and the required download addresses can be quickly and conveniently found through the lists.
In addition, after sending the download address of the target game data packet to the first game instance, the method further comprises the following steps: judging whether the number of the download addresses of the target game data packets is less than a preset threshold corresponding to the prestored target game data packets; and if the judgment result is smaller than the preset threshold value, distributing a new downloading address of the target game data packet for the first game instance so as to enable other game instances to download the target game data packet through the first game instance. By the method, the number of the download addresses of the game data packages in the cloud game system can be guaranteed to be within a preset threshold value, and the phenomenon that the number of the download addresses of the same game data package in the cloud game system is too large, so that the carrying pressure of the cloud game system is too large is avoided.
In addition, a preset threshold corresponding to the pre-stored target game data packet is adjusted in a preset period, and the adjustment mode is as follows: acquiring the total number of downloading requests and the number of downloading request failures of a target game data packet in a preset period; calculating the failure rate of any game data packet according to the total number of the downloading requests and the failure number of the downloading requests; and adjusting the preset threshold corresponding to the target game data packet according to the failure rate of the target game data packet. The preset threshold corresponding to each game data packet is adjusted according to the preset period, the maximum concurrency number of the download addresses corresponding to each game data packet can be adjusted according to the actual requirements of the user at the current stage, the failure rate of game downloading is reduced, and therefore the game experience of the user is improved.
In addition, after receiving the request for downloading the game sent by the first game instance, the method further comprises the following steps: judging whether the target game is in an abnormal state or not according to the target game data packet information; if not, executing a step of judging whether a second game instance storing the target game data packet exists in the game instance as the downloading equipment; if the state is abnormal, the downloading is failed. And when the game requested to be downloaded is in a shelf off state or an updating state and cannot provide service for the user, the download address of the game data packet is not provided.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a download method of a cloud game according to a first embodiment of the present application;
fig. 2 is a flowchart of a download method of a cloud game according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a cloud game system according to a second embodiment of the present application;
fig. 4 is a flowchart of a download method of a cloud game according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of a download system of a cloud game according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a download system of a cloud game according to a fifth embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device in a sixth embodiment according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a method for downloading a cloud game, including: receiving target game data packet information sent by a first game instance; judging whether a second game instance storing a target game data packet corresponding to the target game data packet exists in the game instance or not according to the target game data packet information; and if so, sending the download address of the target game data packet to the first game instance so that the first game instance can download the target game data packet from the second game instance through the download address. The implementation details of the cloud game downloading method of the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary to implement the present embodiment.
As shown in fig. 1, the cloud game downloading method of the embodiment includes:
step 101, receiving target game data packet information sent by a first game instance. Specifically, when a user requests to start a cloud game through a client, the server allocates a first game instance to the client of the user, so that the game requested by the user can be downloaded, installed and run at the server. When the server allocates the first game instance to the user, the server also forwards a request for starting the cloud game, which is sent by the user, to the first game instance, so that the first game instance can know a data packet of a target game to be downloaded. The target game data package information sent by the first game instance and received by the game downloading server is obtained by the first game instance according to the request for starting the cloud game, so that the game downloading server can know the target game data package required to be downloaded by the first game instance when receiving the target game data package information, and a corresponding downloading address for downloading the target game data package is distributed for the first game instance.
Step 102, judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance according to the target game data packet information, and if the judgment result is yes, entering step 103; if the determination result is no, the process proceeds to step 104.
Specifically, when cloud game service is performed, a game instance of the server downloads and installs and runs a game data packet, and sends a running audio and video data stream to a client of a user, and the client only needs to decode and display the audio and video data stream without downloading and installing the game data packet. When downloading and installing the game data package, the game data package is stored in the game instance, and the stored game data package can be used for downloading other game instances.
After receiving the target game package information sent by the first game instance, the game download server may determine the target game package required by the first game instance according to the target game package information. After determining the target game data packet required by the first game instance, the game download server checks the game data packet information stored in all the game instances and judges whether the game instance of the target game data packet exists. If the target game data package exists, the game instance is described to store the target game data package required by the first game instance, and if the target game data package does not exist, the game instance is described to have no game instance storing the target game data package.
And 103, sending the download address of the target game data packet to the first game instance, so that the first game instance can download the target game data packet from the second game instance through the download address.
If the result of the determination is no, step 104 is entered, and the game library download address corresponding to the target game data packet stored in the game database is sent to the first game instance, so that the first game instance can download the target game data packet from the game database through the game library download address.
Specifically, if the game instance serving as the downloading device stores the target game data package required by the first game instance, the game instance is used as the second game instance, and the downloading address of the target game data package stored in the second game instance is sent to the first game instance. And if the number of the second game instances storing the target game data packets is more than one, sending the download address corresponding to any target game data packet to the first game instance. The first game instance can access the second game instance through the received download address, and acquire the target game data packet from the storage medium of the second game instance. When the game instance serving as the downloading device does not have the target game data packet required by the first game instance, the first game instance needs to acquire the target game data packet from a game database, the game database is used for storing the game data packets of all games on the platform, and the first game instance can access the game database through the game database downloading address of the target game data packet and download the target game data packet from the game database.
In practical application, if the target game corresponding to the target game data packet information is in an abnormal state, for example, the target game is off-shelf, or the target game is being updated and cannot provide cloud game service for the user, a download failure is returned to the first game instance, so that the first game instance is prevented from downloading the abnormal game data packet.
Compared with the prior art, the method and the device for downloading the game package judge whether a second game instance storing the target game package exists in the game instance which is currently used as the downloading device according to the target game package information included in the game downloading request when the game downloading request sent by the first game instance is received. When each user starts the cloud game, the cloud game needs to be downloaded, installed and operated in the game instance of the server, so that each game instance running the game data package stores the data package of the game, and the game instance can be used as a downloading device to provide the game data package for other game instances. When the target game data packet requested by the first game instance is stored in a second game instance serving as downloading equipment, the first game instance can directly acquire the required target game data packet through the second game instance without acquiring the target game data packet through a game database, so that the problem that each game instance needs to acquire the data packet from the game database and occupies the bandwidth of the game database is solved, and the bandwidth resource of the game database is saved. In addition, the game instance is used as a providing device for downloading the data packet, the bandwidth of the game database occupied by the downloaded data packet is dispersed, the downloading speed of the data packet is increased, and meanwhile, the resource utilization rate of the game instance is increased, so that the service quality of the cloud game is improved.
In the second embodiment of the invention, before the download address of the target game data packet is sent to the first game instance, the download address of the target game data packet is judged not to be accessed by any other game instance, so that the download address provides the download of the game data packet for one game instance, and the download speed of the game data packet is ensured.
As shown in fig. 2, the method for downloading a cloud game in this embodiment includes:
step 201, receiving the target game data packet information sent by the first game instance.
Step 202, according to the target game data packet information, judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance, if so, entering step 203; if the determination result is negative, the process proceeds to step 205.
Steps 201 and 202 correspond to steps 101 and 102 in the first embodiment one to one, respectively, and are not described herein again.
Step 203, judging whether the download address of the target game data packet is not accessed by any other game instance, if so, entering step 204; if the determination result is negative, the process proceeds to step 205.
Specifically, each download address is faster in downloading the game package when accessed by one game instance, and slows down the download of the game package when accessed by multiple game instances simultaneously. Therefore, in order to ensure the downloading speed of the target game data packet, when determining the downloading address corresponding to the target game data packet, it is necessary to determine whether the downloading address is being accessed by other game instances, and if not, it is determined that the first game instance can quickly download the target game data packet through the downloading address. For example, game instance 1 requests to download a target game data package, the game data packages stored in game instance 2, game instance 3 and game instance 4 are all target game data packages, the download address of the target game data package of game instance 2 is download address 2, similarly, game instance 3 corresponds to download address 3, game instance 4 corresponds to download address 4, and the game download server checks whether download address 2, download address 3 and download address 4 are accessed by other game instances. If the download address 2 is being accessed by the game instance 5, and the download addresses 3 and 4 are not being accessed by other game instances, the game download server may send any download address of the download address 3 or the download address 4 to the game instance 1, so that the game instance 1 can download the target game data packet according to the received download address.
In practical application, different types of download address lists can be established, such as a free list and a busy list, the free list is used for recording the download addresses which are not accessed, the busy list is used for recording the download addresses which are being accessed, and the game download server can directly find the download addresses which are not accessed from the recorded information of the lists. For example, the list 1 is a non-accessed download address corresponding to the target game data packet, the list 2 is an accessed download address corresponding to the target game data packet, the game instance 2, the game instance 3, and the game instance 4 all store the target game data packet, the download address of the target game data packet of the game instance 2 is the download address 2, and similarly, the download address 3 corresponds to the game instance 3, and the download address 4 corresponds to the game instance 4. When the download address 2, the download address 3 and the download address 4 are not accessed, all the addresses are recorded in the list 1, and if the game instance 5 accesses the download address 2, the download address 2 is deleted from the list 1, and the download address 2 is added to the list 2. At the end of game instance 5 accessing download address 2, download address 2 is deleted from the record in list 2 and download address 2 is added to list 1. This makes it possible to clearly know the access status of the download address from the list. In addition, the download lists corresponding to the game data packages of each game can be respectively recorded in different lists, so that the number of the download addresses of each game data package can be clearly known through the lists, wherein the number of the download addresses in the state of not being accessed and the number of the download addresses in the state of being accessed of each game data package are included.
Under the condition that the number of the download addresses corresponding to each game data packet can be determined, the maximum value of the number of the download addresses corresponding to each game data packet can be set, and when the download address corresponding to the current game data packet is larger than the set maximum value (preset threshold value), the game database does not provide the download address for the game instance applying for the download address of the game, so that the carrying pressure of a cloud game system is prevented from being too large. However, if the download address corresponding to the current game data packet is greater than the set maximum value (preset threshold value), the download address is no longer provided for the game instance applying for the download address of the game, which will delay the time of starting the cloud game by the user, resulting in poor game experience of the user, for this reason, when the download address corresponding to the current game data packet is greater than the set maximum value (preset threshold value), the game data packet is provided for the game instance applying for the download address of the game, and the game instance is used as a device for running the game data packet, rather than a download device providing the download address, while the game data packet is still stored in the newly added game instance, the download of the game data packet is not provided for other game instances, so the carrying pressure of the cloud game system is not increased, and when the download address corresponding to the current game data packet is less than the set maximum value (preset threshold value), the game instance applying the download address of the game is used as a download device, and the download address of the game data packet can be provided for other game instances.
The maximum value of the download address corresponding to each game data packet is adjusted in a preset period, and the adjusted preset threshold value is used as the maximum value of the download address corresponding to each game data packet, so that the failure rate of downloading the game data packets can be reduced while the normal operation of the cloud game system is ensured. The adjustment mode is as follows: the preset period may be monthly or weekly, assuming that the preset period is weekly, the total download number of each game data package in the week is obtained, and the download failure number of each game data package is obtained, where the download failure number specifically refers to the number of download failures of a certain game data package downloaded by a game instance, the ratio of the download failure number of the certain game data package to the download total number is used as the failure rate of the game data package, and the maximum value (preset threshold value) of the download address of the game data package is adjusted according to the failure rate of the game data package. For example, if the preset threshold before a certain game data packet is adjusted is N, when the calculated failure rate is less than 5%, N may be adjusted to 80% before, that is, 80% N is used as the adjusted preset threshold; similarly, when the calculated failure rate is between 5% and 10%, taking N as the adjusted preset threshold; when the calculated failure rate is between 10% and 30%, taking 130% N as the adjusted preset threshold; when the calculated failure rate is between 30% and 50%, taking 150% N as the adjusted preset threshold; and when the calculated failure rate is more than 50%, taking 200% N as the adjusted preset threshold.
And step 204, sending the download address of the target game data packet to the first game instance, so that the first game instance can download the target game data packet from the second game instance through the download address.
If the determination result in any of the steps 202 or 203 is negative, step 205 is entered, and the game library download address corresponding to the target game data packet stored in the game database is sent to the first game instance, so that the first game instance can download the target game data packet from the game database through the game library download address.
Steps 204 and 205 correspond to steps 103 and 104 in the first embodiment one to one, respectively, and are not described herein again.
In practical applications, the cloud game system shown in fig. 3 may provide not only the download service of the cloud game, but also services such as loading the cloud game, unloading the cloud game, running the cloud game, or quitting the cloud game, and these game services are described below:
in the process of putting a cloud game on shelf, an operator in the cloud game system shown in fig. 3 uploads a game data packet of the cloud game on a cloud management server, and configures attribute information of the cloud game; the cloud management server stores the uploaded game data packet of the cloud game to a game database and informs the game downloading server that the game data packet is stored; after receiving the message that the game data packet is stored, the game downloading server sets game downloading information and reminds the cloud management server of successful shelving, wherein the game downloading information at least comprises: the game data packet information of the cloud game and the version number of the cloud game can also create an idle download address list and a busy download address list of the cloud game, and records in the lists are all empty at the moment. And finally, when receiving the information of successful shelving, the cloud management server sets the cloud game to be in a shelving state.
In the process of putting down the cloud game, an operator in the cloud game system shown in fig. 3 selects a cloud game to be put down on the cloud management server, and sets the state of the cloud game as the putting down state; the cloud management server deletes the game data packet of the game in the game database and informs the game downloading server of deleting the game data packet information; after receiving the information of deleting the game data packet, the game downloading server deletes the downloading information of the cloud game and returns the modified downloading information to the cloud management server; and after receiving the modified information of the downloading information, the cloud management server sets the cloud game state as off-shelf.
In the running process of the cloud game, a client in the cloud game system shown in fig. 3 sends a cloud game starting request, and after receiving the cloud game starting request, the instance management server allocates a game instance to the client and creates a new game instance so as to be allocated to other clients later. The instance management server notifies the game download server of the allocated game instance after the game instance is allocated; after receiving the notification, the game download server changes the state of the allocated game instance to be running, namely deletes the download address provided by the allocated game instance from the free list and adds the download address to the busy list. If the game instance distributed by the instance management server does not exist in the record of the game downloading server, the game instance is not processed; after the state of the game instance is changed, the client of the user can receive the game screen.
In the cloud game quitting process, a client in the cloud game system shown in fig. 3 sends a request for quitting the game, and after receiving the quitting request, the instance management server sends an instruction for closing the game to a game instance allocated by the client; after receiving the instruction of closing the game, the game instance closes the game and returns the successful response information of the instance management server; after receiving the response information, the instance management server sets the state of the game instance to be an idle state and sends a game instance state change message to the game download server, wherein the change message comprises the game instance in the changed state and a download address provided by the game instance; after receiving the state change message, the game download server updates the state information of the game instance of which the state needs to be changed, deletes the download address of the game instance from the busy list and adds the download address to the free list.
A third embodiment of the present invention relates to a cloud game downloading method applied to a first game instance, the method including: when a request for starting a cloud game is received, acquiring target game data packet information according to the request for starting the cloud game; sending the target game data packet information to a game downloading server, so that the game downloading server judges whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance according to the target game data packet information; and when receiving the download address returned by the game download server, downloading the target game data packet from the second game instance according to the download address. The implementation details of the cloud game downloading method of the present embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary to implement the present embodiment.
As shown in fig. 4, the specific flow of the cloud game downloading method of the embodiment includes:
step 401, when a request for starting a cloud game is received, obtaining target game data packet information according to the request for starting the cloud game.
Step 402, the target game data packet information is sent to the game downloading server, so that the game downloading server can judge whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance according to the target game data packet information.
And step 403, downloading the target game data packet from the second game instance according to the download address when receiving the download address returned by the game download server.
In this embodiment, a cloud game downloading method is described from the perspective of a first game instance, and relevant technical details mentioned in the first embodiment and the second embodiment are still valid in this embodiment, and technical effects caused in the first embodiment and the second embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a downloading system for a cloud game, as shown in fig. 5, including at least: a client 51, a game download server 52, a first game instance 53 and a second game instance 54; the client 51 is used for sending a request of a user for starting a cloud game; the first game instance 52 is configured to obtain target game data package information according to a request for starting a cloud game, and send the target game data package information to the download server 52; the game download server 52 is used for receiving the target game data packet information sent by the first game instance 53; judging whether a second game instance 54 storing a target game data packet corresponding to the target game data packet information exists in the game instance according to the target game data packet information; if yes, sending the download address of the target game data packet to the first game instance 53, so that the first game instance 53 can download the target game data packet from the second game instance 54 through the download address; the first game instance 53 is also used for downloading the target game data packet from the second game instance 54 according to the download address when receiving the download address returned by the game download server 52; the second game instance 54 is used to return the target game data package upon receiving an access request to the download address.
A fifth embodiment of the present invention relates to a cloud game downloading system, and in the fifth embodiment, the system further includes: an instance management server 55; as shown in fig. 6, the instance management server 55 is configured to receive a request sent by the client 51 to start a cloud game, allocate a first game instance 53 to the client 51 of the user corresponding to the request to start the cloud game when receiving the request sent by the client 51 to start the cloud game, and forward the request to start the cloud game to the first game instance 53. The first game instance 53, upon receiving the request for starting the cloud game sent from the instance management server 55, acquires the target game package information according to the request for starting the cloud game, and sends the target game package information to the game download server 52.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A sixth embodiment of the present invention relates to an electronic device, as shown in fig. 7, including at least one processor 701; and, a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the at least one processor 701, and the instructions are executed by the at least one processor 701 to enable the at least one processor 701 to execute the cloud game downloading method.
The memory 702 and the processor 701 are coupled by a bus, which may comprise any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 701 and the memory 702. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 701.
The processor 701 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 702 may be used for storing data used by the processor 701 in performing operations.
A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. A downloading method of a cloud game is characterized by comprising the following steps:
receiving target game data packet information sent by a first game instance;
judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance or not according to the target game data packet information;
if the target game data package exists, sending the download address of the target game data package to the first game instance, so that the first game instance can download the target game data package from the second game instance through the download address;
judging whether the number of the download addresses of the target game data packet is smaller than a preset threshold corresponding to the prestored target game data packet; if the judgment result is smaller than the preset threshold value, distributing a new downloading address of the target game data packet for the first game instance so that other game instances can download the target game data through the first game instance;
adjusting a preset threshold corresponding to the pre-stored target game data packet in a preset period, wherein the adjustment mode is as follows:
acquiring the total number of the downloading requests and the number of the failed downloading requests of the target game data packet in the preset period;
calculating the failure rate of the target game data packet according to the total number of the downloading requests and the failure number of the downloading requests;
and adjusting a preset threshold corresponding to the target game data packet according to the failure rate of the target game data packet.
2. The downloading method of the cloud game according to claim 1, wherein before the sending the download address of the target game data package to the first game instance, further comprising:
determining that the download address of the target game data package is not accessed by any other game instance.
3. The cloud game downloading method of claim 2, wherein the determining that the download address of the target game data package is not accessed by any other game instance comprises:
acquiring the list type of an address list where the download address of the target game data packet is located; wherein the list types include: a free list type and a busy list type;
and if the list type of the address list where the download address is located is a free list type, the download address is not accessed by any other game instance.
4. The downloading method of the cloud game according to claim 1, wherein after receiving the request for downloading the game sent by the first game instance, the method further comprises:
judging whether the target game is in an abnormal state or not according to the target game data packet information;
if not, executing the step of judging whether a second game instance storing the target game data packet exists in the game instance as the downloading equipment;
if the state is abnormal, the downloading is failed.
5. A downloading method of a cloud game is applied to a first game instance, and comprises the following steps:
when a request for starting a cloud game is received, acquiring target game data packet information according to the request for starting the cloud game;
sending the target game data packet information to a game downloading server, so that the game downloading server judges whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in a game instance according to the target game data packet information;
when a download address returned by the game download server is received, downloading the target game data packet from the second game instance according to the download address;
judging whether the number of the download addresses of the target game data packet is smaller than a preset threshold corresponding to the prestored target game data packet; if the judgment result is smaller than the preset threshold value, distributing a new downloading address of the target game data packet for the first game instance so that other game instances can download the target game data through the first game instance;
adjusting a preset threshold corresponding to the pre-stored target game data packet in a preset period, wherein the adjustment mode is as follows:
acquiring the total number of the downloading requests and the number of the failed downloading requests of the target game data packet in the preset period;
calculating the failure rate of the target game data packet according to the total number of the downloading requests and the failure number of the downloading requests;
and adjusting a preset threshold corresponding to the target game data packet according to the failure rate of the target game data packet.
6. A download system for cloud games, comprising: the game downloading system comprises a client, a game downloading server, a first game instance and a second game instance;
the client is used for sending a request of a user for starting a cloud game;
the first game instance is used for acquiring target game data packet information according to the request for starting the cloud game and sending the target game data packet information to the game downloading server;
the game downloading server is used for receiving target game data packet information sent by the first game instance; judging whether a second game instance storing a target game data packet corresponding to the target game data packet information exists in the game instance or not according to the target game data packet information; if the target game data package exists, sending the download address of the target game data package to the first game instance, so that the first game instance can download the target game data package from the second game instance through the download address; judging whether the number of the download addresses of the target game data packet is smaller than a preset threshold corresponding to the prestored target game data packet; if the judgment result is smaller than the preset threshold value, distributing a new downloading address of the target game data packet for the first game instance so that other game instances can download the target game data through the first game instance; adjusting a preset threshold corresponding to the pre-stored target game data packet in a preset period, wherein the adjustment mode is as follows: acquiring the total number of the downloading requests and the number of the failed downloading requests of the target game data packet in the preset period; calculating the failure rate of the target game data packet according to the total number of the downloading requests and the failure number of the downloading requests; adjusting a preset threshold corresponding to the target game data packet according to the failure rate of the target game data packet; the first game instance is also used for downloading the target game data packet from the second game instance according to the download address when receiving the download address returned by the game download server;
the second game instance is used for returning the target game data packet when receiving the access request of the download address.
7. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a download method of a cloud game as claimed in any one of claims 1 to 4; or to enable the at least one processor to perform the download method of the cloud game as claimed in claim 5.
8. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the download installation method of the cloud game of any one of claims 1 to 4, or implements the download method of the cloud game of claim 5.
CN201911079960.0A 2019-11-07 2019-11-07 Downloading method, device and system of cloud game Active CN111064700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911079960.0A CN111064700B (en) 2019-11-07 2019-11-07 Downloading method, device and system of cloud game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911079960.0A CN111064700B (en) 2019-11-07 2019-11-07 Downloading method, device and system of cloud game

Publications (2)

Publication Number Publication Date
CN111064700A CN111064700A (en) 2020-04-24
CN111064700B true CN111064700B (en) 2022-04-29

Family

ID=70297695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911079960.0A Active CN111064700B (en) 2019-11-07 2019-11-07 Downloading method, device and system of cloud game

Country Status (1)

Country Link
CN (1) CN111064700B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315831B (en) * 2021-05-26 2023-01-31 广州虎牙科技有限公司 Cloud game playing method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1779909A2 (en) * 2005-10-26 2007-05-02 Waterleaf Ltd. On-line, real-time game playing with search facility
CN103023872A (en) * 2012-11-16 2013-04-03 杭州顺网科技股份有限公司 Cloud game service platform
CN104899040A (en) * 2015-06-12 2015-09-09 安徽游艺道网络科技有限公司 Game background program generation system and method
CN105025068A (en) * 2014-04-30 2015-11-04 腾讯科技(深圳)有限公司 Network data downloading method and apparatus
CN105554096A (en) * 2015-12-11 2016-05-04 鹏博士电信传媒集团股份有限公司 Method and system for realizing cloud game cloud service
CN105721423A (en) * 2014-12-19 2016-06-29 三星电子株式会社 Electronic Apparatus, Cloud Server, Game Service Providing System And Game Service Providing Method Thereof
CN106790494A (en) * 2016-12-14 2017-05-31 北京佰才邦技术有限公司 The update method and buffer memory device of a kind of address information
CN109152955A (en) * 2015-12-30 2019-01-04 索尼互动娱乐美国有限责任公司 User in cloud game saves data management
CN109499070A (en) * 2018-10-12 2019-03-22 咪咕互动娱乐有限公司 A kind of downloading management method, device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9211473B2 (en) * 2008-12-15 2015-12-15 Sony Computer Entertainment America Llc Program mode transition

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1779909A2 (en) * 2005-10-26 2007-05-02 Waterleaf Ltd. On-line, real-time game playing with search facility
CN103023872A (en) * 2012-11-16 2013-04-03 杭州顺网科技股份有限公司 Cloud game service platform
CN105025068A (en) * 2014-04-30 2015-11-04 腾讯科技(深圳)有限公司 Network data downloading method and apparatus
CN105721423A (en) * 2014-12-19 2016-06-29 三星电子株式会社 Electronic Apparatus, Cloud Server, Game Service Providing System And Game Service Providing Method Thereof
CN104899040A (en) * 2015-06-12 2015-09-09 安徽游艺道网络科技有限公司 Game background program generation system and method
CN105554096A (en) * 2015-12-11 2016-05-04 鹏博士电信传媒集团股份有限公司 Method and system for realizing cloud game cloud service
CN109152955A (en) * 2015-12-30 2019-01-04 索尼互动娱乐美国有限责任公司 User in cloud game saves data management
CN106790494A (en) * 2016-12-14 2017-05-31 北京佰才邦技术有限公司 The update method and buffer memory device of a kind of address information
CN109499070A (en) * 2018-10-12 2019-03-22 咪咕互动娱乐有限公司 A kind of downloading management method, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
The brewing storm in cloud gaming:A measurement study on cloud to end-user latency;Sharon Choy,Bernard Wong,Gwendal Simon,Catherine Rosenberg;《IEEE》;20130111;全文 *
云游戏,游戏实例,下载,URL,地址;闫璐;《中国优秀硕士学位论文全文数据库信息科技辑》;20150215;全文 *

Also Published As

Publication number Publication date
CN111064700A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US10698699B2 (en) Method and apparatus for configuring accelerator
US8239564B2 (en) Dynamic throttling based on network conditions
CN110825394B (en) Automatic initialization method, system and storage medium for application program of cloud mobile phone
CN109600437B (en) Downloading method of streaming media resource and cache server
US8527610B2 (en) Cache server control device, content distribution system, method of distributing content, and program
US9432672B2 (en) Image compression method and system with image compression time information
CN108023953B (en) High-availability implementation method and device for FTP service
CN110933036B (en) Cloud game service system and server
CN110166523B (en) Content updating method, device, equipment and computer readable storage medium
CN108683730B (en) Resource scheduling method, service server, client terminal, network system and medium
US20110202596A1 (en) Cache server control device, content distribution system, method of distributing content, and program
US20230161541A1 (en) Screen projection method and system
CN111045715A (en) Hot updating method and system of cloud game and readable storage medium
US11444998B2 (en) Bit rate reduction processing method for data file, and server
US20240106891A1 (en) Peer-to-peer network scheduling method and system
CN111064700B (en) Downloading method, device and system of cloud game
US20240106890A1 (en) Peer-to-peer network scheduling method and system
CN108616600B (en) Resource scheduling method, client server, node device, network system, and medium
JP2001156838A (en) Method and device for reserving communication resource and recording medium with communication resource reservation program recorded
CN111698281B (en) Resource downloading method and device, electronic equipment and storage medium
CN107908730B (en) Method and device for downloading data
CN107846429B (en) File backup method, device and system
CN110636104B (en) Resource request method, electronic device and storage medium
CN107145302B (en) Method and equipment for executing file writing in distributed storage system
CN107145303B (en) Method and equipment for executing file writing in distributed storage system

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