CN112999651B - Data processing method based on cloud game and related equipment - Google Patents

Data processing method based on cloud game and related equipment Download PDF

Info

Publication number
CN112999651B
CN112999651B CN202110150851.4A CN202110150851A CN112999651B CN 112999651 B CN112999651 B CN 112999651B CN 202110150851 A CN202110150851 A CN 202110150851A CN 112999651 B CN112999651 B CN 112999651B
Authority
CN
China
Prior art keywords
network channel
network
game
cloud game
installation package
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
CN202110150851.4A
Other languages
Chinese (zh)
Other versions
CN112999651A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110150851.4A priority Critical patent/CN112999651B/en
Publication of CN112999651A publication Critical patent/CN112999651A/en
Application granted granted Critical
Publication of CN112999651B publication Critical patent/CN112999651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/33Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • 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

Abstract

The embodiment of the application discloses a data processing method based on a cloud game and related equipment, wherein the data processing method comprises the following steps: acquiring running basic information corresponding to a target game; the operation basic information comprises first connection information of cloud game data and second connection information of the game installation package; acquiring a network channel available for a terminal; if the available network channels of the terminal comprise a first network channel and a second network channel, cloud game data are obtained according to the first connection information and the first network channel, the cloud game data are decoded, and a cloud game interface containing the decoded cloud game data is displayed; and downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data. By adopting the method provided by the embodiment of the application, the cloud game can be normally operated in the process of downloading the game installation package.

Description

Data processing method based on cloud game and related equipment
Technical Field
The application relates to the technical field of computers, in particular to a data processing method based on a cloud game and related equipment.
Background
The cloud game mode is introduced, so that a player can try to play the game before deciding to download the game installation package, the interest of the game player is aroused, the player group is expanded, and the popularity of the game is easier to improve.
In the prior art, the process of trying on the cloud game and downloading the game installation package in the game in the market is to pop up a downloading interface to prompt a player to download the game installation package after the player experiences the cloud game for a certain time. Because the requirement of the cloud game on the network is high, bandwidth occupation is easily caused when the game installation package is downloaded, the network delay of a player is too high or the player is directly stuck, the player can only pause the trial play of the cloud game or directly quit the trial play of the cloud game, and the trial play of the cloud game cannot be normally operated in the process of downloading the game installation package.
Disclosure of Invention
The embodiment of the application provides a data processing method based on a cloud game and related equipment, and the cloud game can be normally operated in the process of downloading a game installation package.
An embodiment of the present invention provides a data processing method based on a cloud game, including:
acquiring running basic information corresponding to a target game, and acquiring a terminal available network channel; the operation basic information comprises first connection information of cloud game data and second connection information of the game installation package; the cloud game data and the game installation package belong to game data of a target game;
if the available network channels of the terminal comprise a first network channel and a second network channel, cloud game data are obtained according to the first connection information and the first network channel, the cloud game data are decoded, and a cloud game interface containing the decoded cloud game data is displayed;
And downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
An aspect of an embodiment of the present application provides a data processing apparatus based on a cloud game, including:
the basic information acquisition module is used for acquiring running basic information corresponding to the target game; the operation basic information comprises first connection information of cloud game data and second connection information of the game installation package; the cloud game data and the game installation package belong to game data of a target game;
the channel acquisition module is used for acquiring a network channel available for the terminal;
the first connection module is used for acquiring cloud game data according to the first connection information and the first network channel, decoding the cloud game data and displaying a cloud game interface containing the decoded cloud game data if the terminal available network channel comprises the first network channel and the second network channel;
and the second connection module is used for downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
Wherein, the passageway obtains the module, includes:
the monitoring unit is used for establishing a first monitoring function and a second monitoring function in the system network service, acquiring the network state of the first network channel according to the first monitoring function and acquiring the network state of the second network channel according to the second monitoring function;
A channel determining unit, configured to determine, if the network state of the first network channel is a connection state and the network state of the second network channel is a connection state, both the first network channel and the second network channel as terminal-available network channels;
the channel determining unit is further configured to determine the first network channel as a network channel available to the terminal if the network state of the first network channel is a connected state and the network state of the second network channel is an unconnected state;
the channel determining unit is further configured to determine the second network channel as the network channel available to the terminal if the network status of the first network channel is the unconnected status and the network status of the second network channel is the connected status.
Wherein, first connection module includes:
a first identifier obtaining unit, configured to obtain a first network channel identifier of a first network channel if the available network channels of the terminal include the first network channel and a second network channel;
the first connection establishing unit is used for establishing a first data connection with the cloud server according to the first network channel identifier and the first connection information;
the cloud data acquisition unit is used for acquiring cloud game data from a cloud server through first data connection;
And the decoding unit is used for decoding the cloud game data and displaying a cloud game interface containing the decoded cloud game data.
Wherein, the second connection module includes:
a second identifier obtaining unit, configured to obtain a second network channel identifier of a second network channel;
the legal detection unit is used for carrying out legal detection on the download address link;
the second connection establishing unit is used for establishing a second data connection with the installation package server according to the second network channel identifier and the download address link if the download address link is detected to have legality and validity;
and the download task execution unit is used for downloading the game installation package with the installation package server through a second data connection.
Wherein, the second connection module includes:
the resource information acquisition unit is used for acquiring game installation package resources and download resource information of the installation package server according to the second connection information and the second network channel;
the prompt area display unit is used for displaying a download prompt area for prompting the acquisition condition of the game installation package resource according to the download resource information; the download prompting area is a display area which is independently displayed on the cloud game interface;
the first response unit is used for suspending obtaining of game installation package resources of the installation package server when the trigger operation aiming at the download suspending control in the download prompt area is responded, and the download resource information is used as the download suspending resource information;
And the second response unit is used for acquiring the information of the resource downloading suspension when responding to the trigger operation aiming at the continuous downloading control in the downloading prompt area, determining the residual game installation package resources which are not downloaded in the game installation package resources according to the information of the resource downloading suspension, and acquiring the residual game installation package resources according to the second connection information and the second network channel.
Wherein, data processing apparatus still includes:
the first configuration information acquisition module is used for acquiring network configuration information;
the first function detection module is used for detecting the function state of the automatic downloading function according to the network configuration information;
and the download starting processing module is used for executing the step of downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data if the function state of the automatic download function is the starting state.
Wherein, data processing apparatus still includes:
the first monitoring module is used for monitoring the network quality information of the first network channel;
the first monitoring execution module is used for suspending a downloading task of the game installation package in the second network channel if the network quality information of the first network channel does not meet the cloud game execution condition, acquiring cloud game data according to the first connection information and the second network channel, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data.
Wherein, first connection module includes:
the network system identification unit is used for identifying the network systems respectively corresponding to the first network channel and the second network channel if the available network channels of the terminal comprise the first network channel and the second network channel;
the priority determining unit is used for determining the priorities of the network systems respectively corresponding to the first network channel and the second network channel according to the system selection condition;
and the priority connection unit is used for acquiring the cloud game data according to the first connection information and the first network channel, decoding the cloud game data and displaying a cloud game interface containing the decoded cloud game data if the priority of the network system of the first network channel is higher than the priority of the network system of the second network channel.
Wherein, data processing apparatus still includes:
the second configuration information acquisition module is used for acquiring network configuration information;
the second function detection module is used for detecting the function state of the automatic downloading function according to the network configuration information;
the download closing processing module is used for displaying a download guide area if the function state of the automatic download function is a closing state; the download guiding area is a display area which is independently displayed on the cloud game interface;
And the first response module is used for executing the step of downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data when responding to the trigger operation aiming at the download guide area.
Wherein, data processing apparatus still includes:
the second monitoring module is used for monitoring the network quality information of the second network channel;
and the second monitoring execution module is used for suspending the acquisition of the cloud game data in the first network channel if the network quality information of the second network channel does not meet the downloading execution condition, and downloading the game installation package according to the second connection information and the first network channel.
Wherein, data processing apparatus still includes:
the dual-channel monitoring module is used for monitoring the network quality information corresponding to the first network channel and the second network channel respectively;
the quality comparison module is used for comparing the quality of the first network channel with that of the second network channel according to the network quality information respectively corresponding to the first network channel and the second network channel;
and the quality execution module is used for suspending the acquisition of the cloud game data in the first network channel, suspending the downloading task of the game installation package in the second network channel, continuing to download the game installation package according to the second connection information and the first network channel, and continuing to acquire the cloud game data according to the first connection information and the second network channel if the network quality of the first network channel is superior to that of the second network channel.
Wherein, data processing apparatus still includes:
the third connection module is used for acquiring cloud game data according to the first connection information and the target network channel, decoding the cloud game data and displaying a cloud game interface containing the decoded cloud game data if the terminal available network channel comprises the target network channel; the target network channel is a first network channel or a second network channel;
the system comprises a guide display module, a download guide module and a download guide module, wherein the guide display module is used for displaying a download guide area aiming at a game installation package in the process of acquiring cloud game data; the download guiding area is a display area which is independently displayed on the cloud game interface;
and the second response module is used for suspending the acquisition of the cloud game data in the target network channel and downloading the game installation package according to the second connection information and the target network channel when responding to the trigger operation aiming at the downloading guide area.
An aspect of an embodiment of the present application provides a computer device, including: a processor, a memory, a network interface;
the processor is connected to the memory and the network interface, wherein the network interface is used for providing a data communication function, the memory is used for storing a computer program, and the processor is used for calling the computer program to execute the method in the embodiment of the present application.
An aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, perform the method in the embodiments of the present application.
An aspect of the embodiments of the present application provides a computer program product or a computer program, where the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the method in the embodiments of the present application.
In the embodiment of the application, the running basic information corresponding to the target game is obtained first, and then the available network channel of the terminal is obtained; the operation basic information comprises first connection information of cloud game data and second connection information of a game installation package; if the available network channels of the terminal comprise a first network channel and a second network channel, cloud game data are obtained according to the first connection information and the first network channel, the cloud game data are decoded, and a cloud game interface containing the decoded cloud game data is displayed; and downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data. According to the method provided by the embodiment of the application, different network channels are adopted to respectively realize the acquisition of cloud game data and the downloading of the game installation package, the game installation package is downloaded while the cloud game is played, and the network bandwidths among the different network channels are not mutually influenced, so that the cloud game can be normally operated in the process of downloading the game installation package.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
fig. 2 is a scene schematic diagram of data processing based on a cloud game according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a data processing method based on a cloud game according to an embodiment of the present application;
fig. 4 is an overall flowchart of a data processing method based on a cloud game according to an embodiment of the present application;
fig. 5 is a schematic flowchart of acquiring a network status according to an embodiment of the present application;
FIG. 6a is a schematic flowchart of a game installation package download provided in an embodiment of the present application;
FIG. 6b is a schematic flow chart of a cloud game play provided in an embodiment of the present application;
fig. 7 is a diagram of a result of testing round-trip delay and packet loss rate of a single channel and a dual channel according to an embodiment of the present application;
Fig. 8 is a schematic diagram of a data processing flow of a cloud-based game according to an embodiment of the present application;
fig. 9 is a schematic diagram of a data processing flow of a cloud-based game according to an embodiment of the present application;
10 a-10 c are schematic views of a data processing scenario of a cloud-based game according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a data processing apparatus based on a cloud game according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Cloud technology (Cloud technology) is a generic term of network technology, information technology, integration technology, management platform technology, application technology and the like based on Cloud computing business model application, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
Cloud gaming (Cloud gaming), also known as game on demand (gaming), is an online gaming technology based on Cloud computing technology. Cloud game technology enables light-end devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud game scene, a game is not operated in a player game terminal but in a cloud server, and the cloud server renders the game scene into a video and audio stream which is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capacity, and only needs to have basic streaming media playing capacity and capacity of acquiring player input instructions and sending the instructions to the cloud server.
The scheme provided by the embodiment of the application relates to a cloud game technology of a cloud technology, and is specifically explained by the following embodiment. Referring to fig. 1, fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present disclosure. As shown in fig. 1, the system may include a server 11a, a server 11b, and a user terminal cluster, which may include a user terminal 10a, a user terminal 10b, …, and a user terminal 10 n. Any user terminal in the user terminal cluster may have a communication connection with the server 11a, for example, a communication connection exists between the user terminal 10a and the server 11a, a communication connection exists between the user terminal 10b and the server 11a, and a communication connection exists between any user terminal in the user terminal cluster and the server 11b, for example, a communication connection exists between the user terminal 10a and the server 11b, and a communication connection exists between the user terminal 10b and the server 11 b.
As shown in fig. 1, any user terminal in the user terminal cluster may integrate a micro-end application installed with a target game, and when the micro-end application runs on the user terminal, the user terminal may respond to an operation of the user on the micro-end application, generate a service request, and perform data interaction with the server 11a and the server 11b shown in fig. 1. The server 11a may be a cloud server and is responsible for responding to a cloud game request of any user terminal in the user terminal cluster, generating cloud game data corresponding to a target game, and issuing the cloud game data to the user terminal initiating the request to support a cloud game trial play requirement of a user on the target game, and the server 11b may be an installation package server and is responsible for responding to a download request of any user terminal in the user terminal cluster, acquiring resource data of a game installation package corresponding to the target game, and issuing the resource data to the user terminal initiating the request to support a download requirement of the user on the target game. The cloud game data and the resource data of the game installation package belong to game data of the target game. As shown in fig. 1, when any user terminal in the user terminal cluster, for example, the user terminal 10a, responds to the start operation of the user on the micro-terminal application, the running basic information corresponding to the target game is obtained first. The running basic information may include first connection information of the cloud game data and second connection information of the game installation package. Then, the user terminal 10a will acquire the current network channel available for the terminal. The network channel available to the terminal refers to a network channel to which the current user terminal 10a can connect, such as a cellular network channel, a mobile hotspot (Wi-Fi, WIFI) network channel, and the like. When the terminal-available network channels acquired by the user terminal 10a include a first network channel and a second network channel, the user terminal 10a may perform communication connection with the server 11a on the first network channel according to the first connection information, then acquire cloud game data generated by the server 11a, and while acquiring the cloud game data, the user terminal 10a may perform communication connection with the server 11b through the second network channel according to the second connection information, and then download the game installation package. The network channels corresponding to the first network channel and the second network channel are different in type, for example, the first network channel may be a WIFI network channel, and the second network channel may be a cellular network channel. When the user terminal 10a receives the cloud game data through the first network channel, the cloud game data can be decoded to obtain a cloud game interface, and then the cloud game interface is displayed on the terminal interface. Meanwhile, when the user terminal 10a downloads the game installation package through the second network channel, the downloaded game installation package resource may be stored locally, and the downloading condition may be displayed in the terminal interface. The user terminal 10a is respectively in communication connection with the server 11a and the server 11b through different network channels, so that cloud game play and downloading of the game installation package can be simultaneously performed, and the problems that delay is too high and packet loss rate is too high when the same network channel is adopted to simultaneously perform the cloud game play and the downloading of the game installation package are solved.
It is understood that the method provided by the embodiment of the present application may be executed by a computer device, which includes, but is not limited to, the user terminal cluster or server 11a or the server 11b described above. The server 11a and the server 11b may be different servers, or the respective functions of the server 11a and the server 11b may be integrated into the same server. The server 11a or the server 11b may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform.
It will be appreciated that the computer device may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes in a network communication manner. The P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any form of computer device, such as a server, a user terminal, etc., may become a node in the blockchain system by joining the peer-to-peer network.
The following description will specifically take an example in which the user terminal 10b acquires cloud game data via the server 11a and acquires a game installation package via the server 11 b.
The user terminal 10a, the user terminal 10b, the user terminal 10n, and the like shown in fig. 1 may include a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, a smart band, and the like), and the like.
Referring to fig. 2, fig. 2 is a schematic view of a scene of data processing based on a cloud game according to an embodiment of the present application. As shown in fig. 2, it is assumed that the network channels to which the user terminal 10b can connect include a WIFI network channel and a cellular network channel. The user having the binding relationship with the user terminal 10B is the small B, the small B tries to play a battlefield game named "parachuting elite" through the user terminal 10B, and after the small B starts the game, the user terminal 10B acquires the operation basic information corresponding to the target game. The operation basic information may include cloud game login interface information, first connection information of cloud game data, second connection information of a game installation package, and the like. The first connection information refers to information related to obtaining cloud game data, such as server address information, port information and the like, and the second connection information refers to information related to obtaining a game installation package, such as size information of the game installation package, download address link information and the like. Based on the running basic information, the user terminal 10B may display a preparation interface 100 that prompts the user to "automatically load the latest full version for you on both networks" and "in preparation for cloud game", that is, if the user terminal 10B can connect to two different networks at this time, the user terminal 10B prepares a cloud game for mini B while downloading the game installation package for the game.
Therefore, as shown in fig. 2, the user terminal 10b obtains the currently available network channels available for the terminal, and the network channels available for the terminal of the user terminal 10b include the first network channel 111 and the second network channel 112. For example, if the first network channel 111 is a WIFI network channel, the second network channel 112 may be a cellular network channel. Then, the user terminal 10b may establish a first data connection 1111 with the server 11a according to the first connection information of the cloud game data and the first network channel 111, and then obtain the cloud game data through the first data connection 1111, and the user terminal 10b may parse and decode the received cloud game data to obtain a cloud game interface, such as the interface 101 shown in fig. 2. Then, the small B may click a login button of the interface 101 in the user terminal 10B to start trial play of a "parachuting elite" cloud game, the user terminal 10B will collect a trigger operation of the small B on the interface 101 to generate a cloud game trial play instruction, transmit the cloud game trial play instruction to the server 11a through the first data connection 1111 in the first network channel 111, continue to receive new cloud game data transmitted from the server 11a through the first data connection 1111, and then update the interface 101 according to the new cloud game data. From the above, the user terminal 10b can perform data interaction with the server 11a through the first data connection 1111 in the first network channel 111.
As shown in fig. 2, while the user terminal 10b acquires cloud game data, the user terminal 10b may establish a second data connection 1121 according to the second connection information of the game installation package and the second network channel 112, and then perform a download task of the game installation package of "parachuting elite" through the second data connection 1121. That is, the user terminal 10b obtains the game installation package resource through the second data connection 1121, and the user terminal 10b receives the download resource information through the second data connection 1121. The download resource information is information about the download condition of the game installation package, such as the current download speed, the total amount of download resources, and the amount of downloaded resources. According to the download resource information, the user terminal 10B may display a download prompting area 102 for prompting the resource acquisition condition of the game installation package, as shown in fig. 2, the download prompting area 102 is a display area independently displayed on the cloud game interface 101, and the location of the download prompting area 102 may be moved by the user terminal 10B at any time. The small B can know the downloading condition of the game installation package through the downloading prompt area 102 and can suspend the downloading of the game installation package at any time. When the widget B wants to perform a trial play of a cloud game, the closing control 1021 in the download prompting area 102 may be clicked, and the user terminal 10B may change the presentation manner of the download prompting area 102 in response to a trigger operation for the closing control 1021, without affecting the trial play of the cloud game of the widget B, for example, changing to the floating widget 103 shown in fig. 2.
To sum up, when any user terminal in the user terminal cluster shown in fig. 1 wants to synchronously perform the cloud game play of the target game and the download of the game installation package, the available network channels of the terminal may be obtained first, and when the available network channels of the terminal include the first network channel and the second network channel, the first network channel and the server generating the cloud game data are used for data connection, and the second network channel and the server storing the game installation package are used for data connection.
Alternatively, the cloud game data of the target game and the game installation package may be located on the same server (e.g., server 11a or server 11b shown in fig. 1). At this time, the user terminal (which may be any user terminal in the user terminal cluster shown in fig. 1) may establish a first data connection with the server through a first network channel, acquire cloud game data from the server through the first data connection, then simultaneously establish a second data connection with the server through a second network channel, and acquire game installation package resources from the server through the second data connection.
Further, please refer to fig. 3, where fig. 3 is a schematic flowchart of a data processing method based on a cloud game according to an embodiment of the present application, where the method may be executed by a terminal, and the terminal may be any user terminal in the user terminal cluster shown in fig. 1. As shown in fig. 3, the data processing method includes the steps of:
S101: acquiring running basic information corresponding to a target game; the operation basic information comprises first connection information of the cloud game data and second connection information of the game installation package.
Specifically, the target game may be a game that enables a cloud game play to be performed first before the local game installation package is downloaded. The cloud game is a game mode based on cloud computing, all games run at corresponding server ends, then the server ends compress game pictures after rendering is completed, the game pictures are transmitted to the terminal through the network, and the terminal controls the games on the remote server through network connection. However, since the server needs to perform a lot of calculations and then perform cloud game plug-flow to send cloud game data to the terminal, the cloud game may have a certain delay. If the network is poor and the game is complex and the calculation amount is large, the delay is high, so that the screen is jammed and the image quality is poor. Therefore, most of games at present only adopt cloud games to perform cloud game trial play, so that players can experience the basic playing method of the games before downloading a local game installation package. Generally, a target game has a corresponding cloud game micro-terminal, and a terminal can acquire running basic information of the target game through the cloud game micro-terminal. The cloud game micro-end is a game micro-client, the data capacity of the game micro-client is small, downloading of the game micro-client can be completed quickly, a player can try on the cloud game through the cloud game micro-end, and a local installation package of a target game can be downloaded. The running basic information is basic information for realizing the trial play and downloading of the target game, and comprises first connection information for acquiring cloud game data by the trial play of the cloud game and second connection information required by the downloading of the game installation package. The running basic information may be downloaded and stored in the terminal when the cloud game micro-end is downloaded, or may be obtained from a corresponding server through a Hypertext Transfer Protocol (HTTP) request (a request from the terminal to the server) after the player starts the cloud game micro-end. The first connection information may include address information, port information, connection mode information, and the like of a server corresponding to the cloud game; the second connection information may include download information of the game installation package, a download address link, and the like. The Address information may be an IP (Internet Protocol) Address of the server, and is used to identify the server, and the server that needs to communicate can be found according to the IP Address. The port information may be a port number corresponding to the application program, and one server may provide different services for a plurality of application programs, where the port number is used to find a required application program. The connection mode information may be a connection mode adopted by the first connection, such as webRTC (Web Real-Time Communication, Web instant messaging) connection. The download information may include a package name, a size, an estimated download duration, and the like of the game installation package.
S102: and acquiring the network channel available for the terminal.
Specifically, a network channel may be referred to as a network channel or a network frequency channel, and is a channel through which a signal is transmitted in a communication system, and is formed by a transmission medium through which the signal passes from a transmitting end to a receiving end. There are many network channels, such as a wireless network channel using radiation radio waves as a transmission mode, and a wired network channel using network cables as a transmission medium. In short, there are a variety of network channels for communication connection, and different network channels can be connected when the same terminal performs communication connection. Therefore, the network channel which can be connected with the terminal can be determined as the available network channel of the terminal, and then the trial play of the cloud game and the downloading of the game installation package can be carried out according to the available network channel of the terminal.
Specifically, the network channels available to the terminal include a first network channel and a second network channel, which means that the terminal can connect two channels of different network channel types, and the two network channels are usually independent from each other and do not interfere with each other. Taking a terminal as an example of a smart phone, from a hardware environment, the smart phone is linked with a wireless router, and if the wireless router is used for surfing the internet through WIFI, the wireless router is also used for ethernet, an ethernet Protocol is used in a link layer, and a cellular network is used for 4G internet surfing, signals are propagated in the air in the form of electromagnetic waves and sent to a base station closest to the wireless router, the base station is forwarded to a base station covering a target device through a switch and informs the target device of the base station, and a return result is sent.
Specifically, according to the type of the terminal, the type of the network channel to which the terminal can be connected may be determined in advance. For example, if the types of the network channels to which the terminal can be connected are the first network channel and the second network channel, the network state of the first network channel and the network state of the second network channel are only required to be detected, and the network channel available to the terminal can be determined. The network state of the first network channel and the network state of the second network channel are detected, a first monitoring function bound with the first network channel and a second monitoring function bound with the second network channel can be established in the system network service, the network state of the first network channel is obtained according to the first monitoring function, and the network state of the second network channel is obtained according to the second monitoring function. The system network service is a service module provided by the terminal, and provides a data connection management service, a network policy management service, a network transmission data statistics service and a management service for a physical network interface. After a first monitoring function and a second monitoring function are created in the system network service, the two monitoring functions can continuously monitor the network state of the bound network channel, and the change or fluctuation of the network can be called back through the first monitoring function and the second monitoring function and return to the network channel identifier. If the network state of the first network channel is the connection state and the network state of the second network channel is the connection state, determining the first network channel and the second network channel as the available network channels of the terminal; if the network state of the first network channel is a connected state and the network state of the second network channel is an unconnected state, determining the first network channel as a network channel available for the terminal; and if the network state of the first network channel is the unconnected state and the network state of the second network channel is the connected state, determining the second network channel as the available network channel of the terminal.
S103: and if the available network channels of the terminal comprise a first network channel and a second network channel, acquiring the cloud game data according to the first connection information and the first network channel, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data.
Specifically, the cloud game data is acquired according to the first connection information and the first network channel, the terminal may acquire a first network channel identifier of the first network channel through the first monitoring function, then establish a first data connection with the cloud server according to the first network channel identifier and the first connection information, and then acquire the cloud game data from the cloud server through the first data connection. The first network channel identifier may be a unique identifier that is applied to the network after an entity is digitally encoded, and may also be referred to as a network channel ID (identity card number). That is, from the first network tunnel identity, the corresponding first network tunnel may be identified. As described above, the first connection information includes server address information and port information of the cloud server. The terminal acquires the corresponding cloud server according to the first connection information, acquires that the used network channel is the first network channel through the first network channel identifier, and then can establish first data connection with the cloud server on the first network channel. The first data connection between the terminal and the cloud server may be established in a webRTC (Web-Real-Time Communication, Web instant messaging) connection manner. After acquiring the cloud game data transmitted by the server, the terminal decodes the cloud game data to obtain a cloud game interface for display, such as the cloud game interface 101 shown in fig. 2, and then the terminal displays the cloud game interface on the display interface of the terminal. Subsequently, the terminal can collect triggering operation of a player on a cloud game interface to generate a cloud game trial playing instruction, the cloud game trial playing instruction is sent to the cloud server through the first data connection, the cloud server can perform cloud computing after receiving the cloud game trial playing instruction, and new cloud game data corresponding to a game picture after rendering is compressed are sent to the terminal through the first data connection. After the terminal acquires the new cloud game data, the new cloud game interface can be obtained by decoding, and then the new cloud game interface can be displayed on the display interface of the terminal.
S104: and downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
Specifically, the available network channel of the terminal includes a first network channel and a second network channel, and the first network channel and the second network channel are not connected and do not interfere with each other, so that the second network channel can be used to complete the downloading task of the game installation package. Similarly, the terminal may obtain a second network channel identifier of the second network channel through the second monitoring function, then establish a second data connection with the installation package server according to the second network channel identifier and the second connection information, and then obtain the game installation package from the installation package server through the second data connection. As can be seen from the above, the second connection information includes a download address link, where the download address link may be a url (Uniform Resource Location) link, is a concise representation of a Location and an access method of a game installation package Resource that can be obtained from the internet, and is an address of a standard Resource on the internet. And the resources corresponding to different game installation packages have different download address links. Before establishing the second data connection, the terminal may perform a validity check on the download address link, for example, determine whether the download address link is in a download security white list, and if so, determine that the download address link is valid and valid. And if the download address link has validity and validity, the terminal establishes a second data connection with the installation package server according to the second network channel identifier and the download address link. The terminal acquires the resource address of the corresponding game installation package according to the second connection information, acquires the used network channel as the second network channel through the second network channel identifier, and then can establish second data connection with the installation package server on the second network channel. Wherein, the second data connection between the terminal and the installation package server can be established by adopting an HTTP connection mode. Through the second data connection, the terminal can establish a download task for acquiring the game installation package with the installation package server and execute the download task. The terminal executes a download task for acquiring the game installation package, and may acquire the game installation package resource and download resource information of the installation package server according to the second data connection in the second network channel. The download resource information is information about the download condition of the game installation package, such as the current download speed, the total amount of download resources, and the number of downloaded resources, and the download resource information will be updated continuously as the number of game installation package resources acquired by the terminal changes. The terminal may display a download prompting area, such as the download prompting area 102 shown in fig. 2, for prompting the resource acquisition condition of the game installation package according to the download resource information. The download prompting area is a display area independently displayed on the cloud game interface, and when a player does not need to check the resource acquisition condition of the game installation package, the download prompting area can be reduced or hidden, so that the trial play of the cloud game by the player providing terminal is not affected, for example, the download prompting area 103 shown in fig. 2. When the player does not want to download the game installation package, when the player triggers the pause downloading control in the downloading prompt area, the terminal responds to the triggering operation, pauses to acquire the game installation package resource in the installation package server, and records the downloading resource information at the moment as pause downloading resource information. If the player wants to continue downloading the game installation package, when the player triggers the download prompting area to continue downloading the control, the terminal responds to the triggering operation, then acquires the resource information of the pause download, determines the remaining game installation package resources which are not downloaded in the game installation package resources according to the resource information of the pause download, and then continues to acquire the remaining game installation package resources according to the second connection information and the second network channel.
Specifically, the game installation package is obtained in the process of obtaining the cloud game data, a first data connection is established by the terminal through the first connection information and the first network channel, and a second data connection is established through the second connection information and the second network channel, in other words, when the terminal receives a start instruction of the cloud game micro-terminal, the cloud game data can be obtained and the game installation package can be downloaded at the same time. The method comprises the steps of obtaining a game installation package in the process of obtaining cloud game data, wherein after a terminal receives a starting instruction of a cloud game micro-terminal, a first data connection is established through first connection information and a first network channel, then cloud game data are obtained through the first data connection to support trial play of a cloud game, meanwhile, the terminal can obtain game behaviors aiming at the trial play of the cloud game, after the game behaviors meet a game installation package downloading condition, a second data connection is established through second connection information and a second network channel, and the game installation package is downloaded.
Specifically, the terminal can obtain the running time of the cloud game micro-terminal to the current time after the cloud game micro-terminal is started, the running time is used as the cloud game playing time, when the cloud game playing time exceeds a time threshold, the game behavior can be determined to meet the game installation package downloading condition, and then the terminal can start downloading the game installation package. Or, the game installation package downloading condition may be that the cloud game trial playing achievement reaches a preset achievement, for example, if the target game is a breakthrough game, it may be determined that the game behavior meets the game installation package downloading condition when the user passes a preset level, and then the terminal may start downloading the game installation package, or if the target game is a competitive game, it may be determined that the game behavior meets the game installation package downloading condition when the user obtains a preset ranking, and then the terminal may start downloading the game installation package, and so on. Or, the game installation package downloading condition may be that the interest index of the user exceeds an interest index threshold, under the game installation package downloading condition, the terminal may collect behavior information of the user in a cloud game trial play, then extract behavior characteristics corresponding to the behavior information through the interest recognition model, output a prediction tag corresponding to the behavior characteristics through the interest recognition model, take a prediction score corresponding to the prediction tag as the interest index of the user, and if the interest index exceeds the interest index threshold, it may be determined that the game behavior meets the game installation package downloading condition, and then the terminal may start downloading the game installation package. The behavior information may include dialogue information, expression information, trial playing duration information and the like of the user during the cloud game trial playing process. The interest recognition model can be a machine learning model obtained by training according to the behavior information samples and is used for predicting the interest degree of the user in the cloud game.
Optionally, the installation package server and the cloud server may be different servers, or respective functions of the installation package server and the cloud server may be integrated in the same server.
Optionally, after the terminal acquires the running basic information of the target game, if the available network channel of the terminal only includes one network channel in a connected state, and the available network channel of the terminal is used as the target network channel, the terminal acquires cloud game data according to the first connection information and the target network channel, and inputs the cloud game data. The target network channel may be the first network channel bound with the first snoop function or the second network channel bound with the second snoop function. At this time, in the process of acquiring the cloud game data, the terminal directly displays the download guidance area for the game installation package. The download guiding area is a display area which is independently displayed on the cloud game interface and used for triggering the execution task of the game installation package of the downloaded target game. And when the terminal responds to the trigger operation aiming at the download guiding area, the cloud game data is suspended from being acquired in the target network channel, and the game installation package is downloaded according to the second connection information and the target network channel.
Optionally, when only one network channel in the connected state is included in the available network channels of the terminal, the terminal may continue to monitor the network state of the network channel in the unconnected state. If the network state of the network channel in the unconnected state is monitored to be changed into the connected state, the terminal can be automatically switched into a mode that the terminal available network channel comprises a first network channel and a second network channel, and meanwhile cloud game play and downloading of a game installation package are achieved.
According to the method provided by the embodiment of the application, after the terminal acquires the running basic information corresponding to the target game, the terminal can acquire the available network channel of the terminal, if the available network channel of the terminal comprises the first network channel and the second network channel, the terminal can acquire the cloud game data according to the first connection information and the first network channel of the cloud game data contained in the running basic information and output the cloud game data, and the terminal can download the game installation package according to the second connection information and the second network channel of the game installation package contained in the running basic information while acquiring the cloud game data; if the available network channel of the terminal only comprises the target network channel, the terminal acquires the cloud game data according to the first connection information and the target network channel. By adopting the method provided by the embodiment of the application, the cloud game data are acquired and the game installation package is downloaded through the first network channel and the second network channel respectively, so that the fluency of the cloud game trial play can be ensured, and the game installation package is normally downloaded at the same time, so that the game-while-play downloading of the target game is realized; if the terminal only comprises one target network channel, the terminal only acquires cloud game data through the target network channel to ensure the fluency of the trial play of the cloud game.
For convenience of understanding, the following description further describes the data processing flow for realizing the target game while playing, by taking the terminal as an android phone terminal and the target game as a large-scale hand game as an example. Referring to fig. 4, fig. 4 is an overall flowchart of a data processing method based on a cloud game according to an embodiment of the present application. As shown in fig. 4, the overall process involves a cloud game client, a cloud game server, an android network service, downloading an SDK (Software Development Kit) and a cloud game SDK. The cloud game client may be the cloud game micro-client in step S101 in the embodiment corresponding to fig. 3. The cloud game service end serves the cloud game client and can provide relevant information of the target game for the cloud game client. The android network service can provide data connection management services including mobile data, WIFI and the like, and meanwhile monitoring of network states is provided. Wherein, the downloading SDK can provide functions of downloading, breakpoint resuming, integrity checking and the like. The cloud game SDK can provide functions of cloud game equipment management, login transparent transmission, webrtc connection, touch event collection and the like. The cloud game client, the android network service, the download SDK and the cloud game SDK can be directly or indirectly called through the android mobile phone terminal. The cloud game server may be located in a cloud server, such as the server 11a shown in fig. 1. As shown in fig. 4, the overall flow of the data processing method may include:
S21: the cloud game client acquires game information from the cloud game server.
Specifically, the cloud game client may use the HTTP interface to request the cloud game server to obtain basic information (information such as a cloud game login type, a remaining duration, a game installation package size, a game horizontal and vertical screen state, and the like) of the target game and a corresponding download url connection. Wherein, the downloading url connection is a connection for acquiring the game installation package resource. The size information, package name information, and corresponding download url connection, etc. relating to the game installation package may be collectively referred to as the above-described second connection information. The memory occupied by the second connection information is small, so that when the basic information of the target game is obtained, the cloud game client can obtain the second connection information together, the problem that the cloud game server needs to request again when a subsequent game installation package is downloaded is avoided, time can be saved, and traffic bandwidth can be saved.
S22: and the cloud game client monitors the network state through the network service of the android system.
Specifically, the android mobile phone terminal has a network service of an android system, and the network state of a network channel connectable to the android mobile phone terminal and a corresponding network channel identifier can be acquired through the network service of the android system. Wherein, the network state may be a connection state of a network channel, and when the network channel is in the connection state, the network channel is available; when a network channel is in an unconnected state, the network channel is unavailable. The network communication identifier is a number for identifying the network channel, and the terminal can know which network channel to perform data connection through if the network channel identifier exists. When the terminal type is an IOS mobile phone terminal, a computer terminal or other types, the network state can be monitored through the corresponding network service, which is not limited herein.
Specifically, for an android mobile phone terminal, common network channels are a WIFI network channel and a cellular network channel. The Cellular Network channel can be called a data traffic (Cellular) channel, so that the cloud game client can register monitoring functions in a WIFI state and a Cellular state respectively to a connectivity manager (web service) of the android system, return the current Network state through the registered monitoring functions, and return corresponding Network channel identifiers (Network ID, net ID) if the WIFI and the Cellular are in a connected state; and if the WIFI and the Cellular are not connected, the corresponding network channel identifier is not returned.
For ease of understanding, please refer to fig. 5, where fig. 5 is a schematic flowchart illustrating a process for acquiring a network status according to an embodiment of the present application. As shown in fig. 5, a monitoring request NetworkRequest for a WIFI state may be created at a cloud game client, and then monitoring is registered with an android system ConnectivityManager (web service), and a current WIFI network state and a WIFI network channel id (WIFI net id) are returned after successful registration. Meanwhile, a monitoring request of a Cellular (data traffic) state can be created at the cloud game client, and after the registration to the network service is successful, the current Cellular network state and the corresponding Cellular network channel identifier (Cellular NetID) are returned.
S23: setting cellular network channel identification.
Specifically, the network service of the android system transmits the cellular network channel identifier to the download SDK, and subsequently, the download SDK may bind the corresponding network channel through the cellular network channel identifier to create the data connection. And the behavior that the network service of the android system transmits the cellular network channel identifier to the download SDK is the behavior of setting the cellular network channel identifier.
S24: and the downloading SDK returns a downloading state to the cloud game client.
Specifically, for convenience of understanding, please refer to fig. 6a together, and fig. 6a is a schematic flowchart of a game installation package download provided in an embodiment of the present application. As shown in fig. 6a, the process of downloading the game installation package includes:
s241: and transmitting the data network channel identification to the download SDK.
S242: and downloading the SDK to judge the url validity.
S243: and if the url is valid, downloading the SDK to establish the HTTP request.
S242: and the downloading SDK returns information such as downloading progress and the like.
Specifically, the network service of the android system may first transmit a data network channel identifier Cellular NetId, that is, the above-mentioned Cellular network channel identifier, to the download SDK. Meanwhile, the cloud game client can transmit basic information of apk (game installation package) to be downloaded to the download SDK, namely the second connection information comprises the name of the game installation package, a download path, corresponding url connection and the like. Wherein detecting the validity of the url connection may be determining whether the url connection is empty or whether the start of the url connection is http.
S25: and setting a WIFI network channel identifier.
Specifically, the network service of the android system can transmit the WIFI network channel identifier to the cloud game SDK, and subsequently, the cloud game SDK can bind the corresponding network channel through the WIFI network channel identifier to create data connection. The action that the network service of the android system transmits the WIFI network channel identifier to the cloud game SDK is the action of setting the WIFI network channel identifier.
S26: and starting the cloud game.
Specifically, for convenience of understanding, please refer to fig. 6b together, and fig. 6b is a schematic flow chart of a cloud game play provided in an embodiment of the present application. When the WIFI and the cellular network are simultaneously opened on the android mobile phone terminal device, the WIFI network channel can be preferentially used as the first network channel, namely the priority of the WIFI is higher than that of the cellular network, and when a cloud game is started, the webRTC connection can be established by defaulting the WIFI network channel with the high priority. As shown in fig. 6b, the flow of the cloud game play includes:
s261: and detecting the WIFI connection.
S262: cloud game information is obtained.
S263: a WebRTC connection is created.
S264: and returning the cloud game video stream.
Specifically, when the cloud game is started, the cloud game SDK may first acquire a network state of the WIFI network channel and a corresponding WIFI network channel identifier, acquire cloud game information, that is, the first connection information, if the network state of the WIFI network channel is a connection state, and then create a WebRTC connection, that is, the first data connection, according to the WIFI network channel identifier and the first connection information. And then, pushing of the cloud game video stream is realized according to the WebRTC connection, so that the cloud game is played by utilizing a WIFI network channel.
Optionally, the priority level corresponding to the cellular network channel may also be set to be higher than the priority level corresponding to the WIFI network channel, so that when the priority level of the cloud game trial play is higher than the priority level of the game installation package downloading, the cellular network channel may be preferentially used for playing the cloud game, and the WIFI network channel is used for downloading the game installation package.
By adopting the method provided by the embodiment of the application, after the cloud game client side obtains the game information from the cloud game server, the system network can be monitored from the network service corresponding to the system, the cellular network channel identifier obtained by monitoring is transmitted into the download SDK, then the second data connection is generated in the download SDK according to the cellular network channel identifier and the second connection information in the game information, then the download task of the game installation package is executed, meanwhile, the WIFI network channel identifier obtained by monitoring can be transmitted into the cloud game SDK, then the first data connection is generated in the cloud game SDK according to the WIFI network channel identifier and the first connection information in the game information, and then the trial play of the cloud game is realized according to the first data connection. By adopting the method provided by the embodiment of the application, the trial play of the cloud game and the downloading of the game installation package are respectively carried out by adopting the network channels which are not interfered with each other, so that the smoothness of the trial play of the cloud game is ensured, the normal downloading of the game installation package is also ensured, and the experience degree of a user is ensured.
Further, please refer to fig. 7, fig. 7 is a diagram illustrating a result of testing round trip delay and packet loss rate of a single channel and a dual channel according to an embodiment of the present application. Wherein, a single channel refers to a single network channel, and a dual channel refers to two different types of network channels. As shown in fig. 7, the (1) th graph is a test result of the RRT (round trip delay) played at the bottom side in the single channel, and the (3) th graph is a test result of the RRT played at the bottom side in the dual channel. Wherein, playing under the game means that the cloud game trial play and the downloading of the game installation package are carried out simultaneously. The ordinate of the (1) th graph and the (2) th graph is the network delay time in a certain time, and the unit is ms (millisecond), the abscissa is the test time, and the unit is s (second), and it can be seen from the (1) th graph that the delay floating of playing at the bottom of a single channel is large, but generally exceeds 100ms, and is at most more than 400 ms. It can be seen from the graph (3) that the delay rate of the side-to-side play of the dual channel is stable within 50 ms. As shown in fig. 7, the (2) th graph is a test result of the packet loss rate of playing while playing on a single channel, and the (4) th graph is a test result of the packet loss rate of playing while playing on a dual channel. The ordinate of each of the (2) th graph and the (4) th graph is the number of packet losses per unit time, and the abscissa is the test time. As can be seen from the (2) th diagram and the (4) th diagram, the dual channels implement the side-by-side play, and the packet loss basically occurs for a long time. As can be seen from the comparison of the 4 graphs shown in fig. 7, the cloud game is played while downloading under the dual-channel condition, and the experience of the cloud game is not substantially affected.
Further, please refer to fig. 8, and fig. 8 is a schematic diagram of a data processing flow based on a cloud game according to an embodiment of the present application. The method may be executed by a terminal, and the terminal may be any user terminal in the user terminal cluster shown in fig. 1. As shown in fig. 8, the data processing method includes the steps of:
s301: acquiring running basic information corresponding to a target game; the operation basic information comprises first connection information of the cloud game data and second connection information of the game installation package.
Specifically, the implementation of step S301 may refer to the above detailed description of step S101, and is not described here again.
S302: and acquiring the available network channel of the terminal.
Specifically, when determining whether the first network channel and the second network channel of the network channels available to the terminal are in the connected state, reference may be made to the detailed description of step S102, which is not described herein again.
Specifically, when it is determined that the first network path and the second network path are in the connected state, the terminal may further determine priorities of the first network path and the second network. The terminal may determine the priority of the two network channels according to the network quality information or the network type of the network channels. The network quality information may include bandwidth information, stability information, delay information, and the like, among others. For convenience of understanding, assuming that the first network channel bound to the first monitoring function is a WIFI network channel and the second network channel bound to the second monitoring function is a cellular network channel, the terminal may obtain network quality information corresponding to the WIFI network channel and the cellular network channel, and may compare network conditions of the WIFI network channel and the cellular network channel by using the network quality information, where for example, if the network quality information is bandwidth information, the larger the bandwidth is, the higher the network quality of the network channel is; if the network quality is delay information, the lower the delay is, the higher the network quality of the network channel is; the network quality is stability information, and the smaller the packet loss rate and the lower the fluctuation, the higher the network quality of the network channel. Optionally, the network Quality information of the network channels may be comprehensively analyzed through network Quality analysis nqa (network Quality analysis), so as to obtain network indexes corresponding to the network channels, and the network Quality of the two network channels may be determined according to the network indexes corresponding to the network channels. The NQA is a real-time network performance detection and statistics technique, and can perform statistics on network quality information such as response time, network jitter, packet loss rate, and the like, and output corresponding network indexes. And if the network quality corresponding to the WIFI network channel is higher than that of the cellular network channel according to the network quality information, determining that the priority of the WIFI network channel is higher than that of the cellular network channel, namely the priority of the first network channel is higher than that of the second network channel. The network standard refers to a network type, such as 900/1800/1900MHZ frequency band occupied by GSM (Global System For Mobile Communication) and 800MHZ frequency band occupied by CDMA (Code Division Multiple Access). According to the characteristics of different network systems, system selection conditions can be generated. Then, according to the system selection condition, it is determined which network system is preferentially selected. For example, the frequency bands occupied by the network channels corresponding to different network systems are different, and some terminals support switching different network systems, so that the use condition of the frequency band occupied by the network channel corresponding to the network system can be monitored, and the network channel corresponding to the network system with richer resources in the remaining frequency band is preferentially selected as the network channel with higher priority. Or, the priority corresponding to the network type may be directly set, and after the network type of the network channel is determined, the corresponding priority is obtained, and the network channel with the priority or the priority with the high priority of the network type is the network channel with the higher priority, for example, if the priority of WCDMA (Wideband Code Division Multiple Access ) is set to be higher than GSM, the terminal sets the network channel with the priority of WCDMA to be the network channel with the higher priority.
S303: and acquiring network configuration information, and detecting the function state of the automatic downloading function according to the network configuration information.
Specifically, different players have different requirements, and for some players, it is not desirable to download the game installation package corresponding to the target game immediately and simultaneously when trying to play the cloud game of the target game. Therefore, the terminal can acquire the network configuration information first, and determine the function state of the automatic download function according to the network configuration information. The network configuration information may be obtained by the terminal on a network configuration interface. The network configuration interface may include function options related to network configuration, such as an opening option of an automatic download function, and a player may change the function options related to network configuration through the network configuration interface to set network configuration information meeting the needs of the player. Certainly, the terminal has a set of default network configuration information, and if the player does not change the network configuration information through the network configuration interface of the terminal, the default network configuration information is obtained.
Specifically, the automatic downloading function is to allow the terminal to simultaneously perform the cloud game trial play of the game and the downloading of the game installation package corresponding to the game if the acquired available network channels of the terminal include the first network channel and the second network channel when the terminal starts the cloud game micro-terminal corresponding to the game.
S304: and if the available network channels of the terminal comprise a first network channel and a second network channel, acquiring the cloud game data according to the first connection information and the first network channel, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data.
Specifically, after the terminal determines the network channels available to the terminal in S302, a priority may be added to each network channel available to the terminal, and when the terminal needs to establish a data connection with the network channels available to the terminal, the terminal may preferentially select a network channel available to the terminal with a higher priority. When the cloud game trial play and the game installation package download are carried out simultaneously, the priority of the cloud game trial play can be set to be higher than the priority of the game installation package download by default, namely, the terminal can preferentially ensure the running of the cloud game trial play, if the available network channels of the terminal comprise a first network channel and a second network channel and the functional state of the automatic download function is started, the terminal can obtain the priorities of the two network channels, and then the network channel with the higher priority in the two network channels is used for obtaining the cloud game data; if the available network channels of the terminal include the first network channel and the second network channel, but the function state of the automatic downloading function is the closing state, the terminal only acquires the cloud game data, but still acquires the priority of the two network channels, and then the network channel with the higher priority in the two network channels is used for acquiring the cloud game data. Of course, the priority of the cloud game play and the priority of the game installation package download can also be configured separately, and are not limited herein. The following description will take the example where the default cloud game play is prioritized over the download of the game installation package.
Optionally, if the default terminal preferentially ensures the operation of the cloud game play, the terminal uses a network channel with a high priority level in the network channels available for the terminal for the operation of the cloud game play. Determining a network channel with high priority in available network channels of the terminal, wherein the terminal can acquire network quality information corresponding to a first network channel and a second network channel respectively, then comparing the quality of the first network channel with the quality of the second network channel according to the network quality information corresponding to the first network channel and the second network channel respectively, if the network quality of the first network channel is superior to the network quality of the second network channel, determining that the priority of the first network channel is high, acquiring cloud game data according to the first connection information and the first network channel, then decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data; if the network quality of the first network channel is lower than that of the second network channel, the priority of the second network channel is determined to be high, the network channel with the high priority in the terminal available network channels is used as the first network channel, the network channel with the low priority in the terminal available network channels is used as the second network channel, then cloud game data are obtained according to the first connection information and the first network channel, then the cloud game data are decoded, and a cloud game interface containing the decoded cloud game data is displayed.
Optionally, a network channel with a high priority in the available network channels of the terminal is determined, the terminal can identify the network systems respectively corresponding to the first network channel and the second network channel, then the priorities of the network systems respectively corresponding to the first network channel and the second network channel are determined according to the system selection condition, if the priority of the network system of the first network channel is higher than the priority of the network system of the second network channel, the priority of the first network channel is determined to be high, cloud game data is obtained according to the first connection information and the first network channel, then the cloud game data is decoded, and a cloud game interface containing the decoded cloud game data is displayed; if the priority of the network system of the first network channel is lower than that of the network system of the second network channel, determining that the priority of the second network channel is high, taking the network channel with high priority in the terminal available network channels as the first network channel, taking the network channel with low priority in the terminal available network channels as the second network channel, then obtaining cloud game data according to the first connection information and the first network channel, then decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data. According to the characteristics of different network systems, system selection conditions can be generated. Then, according to the system selection condition, it is determined which network system is preferentially selected.
As can be seen from the above, when the cloud game data is preferentially acquired by default, the first network channel for acquiring the cloud game data is a network channel with a higher priority in the available network channels of the terminal, and similarly, the second network channel for acquiring the game installation package is a network channel with a lower priority in the available network channels of the terminal. For a specific implementation process of obtaining cloud game data according to the first connection information and the first network channel, then decoding the cloud game data, and displaying a cloud game interface including the decoded cloud game data, reference may be made to the description of step S103 in the embodiment corresponding to fig. 3, which is not described herein again.
S305: and if the function state of the automatic downloading function is the starting state, downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
Specifically, after the terminal acquires the network configuration information, it is detected that the function state of the automatic download function is the on state, and then the cloud game data can be acquired through the first network channel, and at the same time, the download task of the game installation package of the target game can be executed through the second network channel, and the specific implementation process may refer to the specific description of step S104 shown in fig. 1, which is not described herein again.
Optionally, as shown in S304, the priority of the first network channel is higher than that of the second network channel, so that the first network channel is selected to obtain the cloud game with the higher priority, and the second network channel is selected to obtain the game installation package resource with the lower priority. At this time, the terminal may continue to monitor the network quality information of the first network channel, suspend the downloading task of the game installation package in the second network channel if the network quality information of the first network channel does not satisfy the cloud game execution condition, acquire cloud game data according to the first connection information and the second network channel, decode the cloud game data, and display a cloud game interface including the decoded cloud game data. Because the trial play of the cloud game is preferentially ensured, when the first network channel for acquiring the cloud game data has a problem, the downloading task of the second network channel to the game installation package can be suspended, the second data connection is disconnected, then the second network channel is used for establishing a new cloud game data acquisition connection according to the first connection information, and the cloud game data is continuously acquired, so that the trial play experience of the cloud game is ensured.
Further, please refer to fig. 9, and fig. 9 is a schematic diagram of a data processing flow based on a cloud game according to an embodiment of the present application. The method may be executed by a terminal, and the terminal may be any user terminal in the user terminal cluster shown in fig. 1. As shown in fig. 9, the data processing method includes the steps of:
S401: acquiring running basic information corresponding to a target game; the operation basic information comprises first connection information of the cloud game data and second connection information of the game installation package.
S402: and acquiring the available network channel of the terminal.
S403: and acquiring network configuration information, and detecting the function state of the automatic downloading function according to the network configuration information.
S404: and if the available network channels of the terminal comprise a first network channel and a second network channel, acquiring the cloud game data according to the first connection information and the first network channel, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data.
Specifically, the implementation of step S401 to step S404 may refer to the description of steps S301 to S304 in the embodiment shown in fig. 8, and is not described herein again.
S405: if the function state of the automatic downloading function is a closing state, displaying a downloading guide area; the download guiding area is a display area which is independently displayed on the cloud game interface.
Specifically, after the terminal acquires the network configuration information, the terminal detects that the function state of the automatic downloading function is a closed state,
then while obtaining cloud game data through the first network channel, the terminal does not establish a second data connection for obtaining the game installation package through the second network channel. However, the terminal may display a download guidance area while displaying a cloud game interface after decoding the cloud game data. The download guiding area is a display area which is independently displayed on the cloud game interface. When the player tries to play the cloud game for a certain period of time and wants to experience the target game more deeply, the downloading of the game installation package of the target game can be performed through the downloading guide area. When the player tries to play the cloud game, the download guiding area may also be reduced or hidden, and the specific implementation may refer to the implementation process of the download prompting area shown in fig. 2.
S406: and when the trigger operation aiming at the download guiding area is responded, downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
Specifically, when the terminal responds to the trigger operation of the download guidance area, the terminal will start downloading the game installation package of the target game. Meanwhile, the terminal takes the downloading of the game installation package as a priority task, namely, the downloading of the game installation package is preferentially ensured.
Optionally, the terminal may continue to monitor the network quality information of the second network channel, and if the network quality information of the second network channel does not satisfy the download execution condition, suspend obtaining the cloud game data in the first network channel, and download the game installation package according to the second connection information and the first network channel. Because downloading of the game installation package is guaranteed preferentially, when the second network channel for acquiring the game installation package resources has a problem, the acquisition of cloud game data by the first network channel can be suspended, the first data connection is disconnected, then the downloading connection of a new game installation package is established by using the first network channel according to the second connection information, and the remaining resources of the game installation package are continuously acquired.
Optionally, at this time, because the priority of the first network channel is higher than that of the second network channel, when the trigger operation of the download guidance area is responded, the acquisition of the cloud game data by using the first network channel is suspended, the download task of the game installation package is executed by directly using the first network channel, and then the cloud game data is acquired by using the second network channel. However, the problem of game pause and the like may be caused by the suspended acquisition of the switched network channel, so that whether the network channel with low priority is switched to acquire the cloud game or not can be determined according to actual conditions after the download guidance area is triggered. For example, the terminal may continuously monitor the network quality information corresponding to the first network channel and the second network channel, and then perform quality comparison on the first network channel and the second network channel according to the network quality information corresponding to the first network channel and the second network channel; and if the network quality of the first network channel is obviously superior to that of the second network channel, suspending the acquisition of the cloud game data in the first network channel, suspending the downloading task of the game installation package in the second network channel, continuing to download the game installation package according to the second connection information and the first network channel, and continuing to acquire the cloud game data according to the first connection information and the second network channel.
Further, please refer to fig. 10a to 10c, and fig. 10a to 10c are schematic views of a data processing scenario based on a cloud game according to an embodiment of the present application. As shown in fig. 10a, it is assumed that the network channels to which the user terminal 10a can connect include a WIFI network channel and a cellular network channel. The user having a binding relationship with the user terminal 10a is small a. The small a can turn on or off the automatic download function in the setting of the user terminal 10a according to its own needs. Assuming that the small a closes the automatic download function, when the small a tries to play a battlefield game called "parachuting elite" through the user terminal 10b, the small a starts the game, and the user terminal 10a obtains the running basic information corresponding to the target game and determines the terminal-available network channels, as shown in fig. 10a, the terminal-available network channels connected to the user terminal 10a include a network channel 211 and a network channel 212. The user terminal 10a may query the format conditions, and if the priority of the network format of the network channel 211 is higher than that of the network channel 212, the user terminal 10a may use the network channel 211 as the first network channel and the network channel 212 as the second network channel. Then, the user terminal 10a may obtain the network configuration information, and since the small a closes the automatic download function, the function state of the automatic download function obtained by the user terminal 10a is a closed state, so that the user terminal 10a may only establish the first data connection 2111 according to the first network channel, that is, the network channel 211 and the first connection information obtained by the cloud game, then obtain the cloud game data through the first data connection 2111, decode the obtained cloud game data, and display a cloud game interface, such as the cloud game interface 201 shown in fig. 10 a. Meanwhile, the user terminal 10a displays the download guide area 202, the download guide area 202. As shown in fig. 10a, the server 11a is a cloud server for providing support for cloud game play, and the server 11b is an installation package server for storing game installation package resources.
As shown in fig. 10b, when the small a triggers the download guiding area 202, after the user terminal 10a responds to the triggering operation of the download guiding area 202, it may establish a second data connection 2121 according to a second network channel, i.e. the network channel 212, and the second connection information downloaded by the game installation package, and then acquire the game installation package resource through the second data connection 2121, and accept the download resource information returned by the server 11 b. Based on the download resource information, the user terminal 10a may update the download guidance area 202 to a download guidance area 203 for prompting the game installation package resource acquisition situation. As shown in fig. 10b, the small a can move the location of the download guidance area 203 at any time through the user terminal 10 a. When the small a wants to try to play the cloud game, the user terminal 10a may click the closing control 2031 in the download prompting area 203, and in response to the triggering operation for the closing control 2031, the presentation manner of the download guidance area 203 is changed, which does not affect the cloud game try to play the small a, for example, the small window 204 is changed to be suspended as shown in fig. 10 b.
Before the small a triggers the download guidance area 202, the user terminal 10a will preferentially guarantee the trial play of the cloud game by default, but after the small a triggers the download guidance area 202, the user terminal 10a will preferentially guarantee the download of the game installation package by default. Therefore, as shown in fig. 10c, the user terminal 10a may continuously obtain the network quality information of the network channel 211 and the network channel 212, and then perform quality comparison between the network channel 211 and the network channel 212, if the network quality of the network channel 211 for obtaining the cloud game data is significantly better than that of the network channel 212 for obtaining the game installation package resource, the user terminal 10a may disconnect the first data connection 2111 and the second data connection 2121, and then the user terminal 10a may establish a new second data connection 2112 for obtaining the game installation package with the server 11b on the network channel 211, and at the same time, the user terminal 10a may establish a new first data connection 2122 for obtaining the cloud game data with the server 11a on the network channel 212.
Further, please refer to fig. 11, where fig. 11 is a schematic structural diagram of a data processing device based on a cloud game according to an embodiment of the present application. The data processing means may be a computer program (including program code) running on a computer device, for example, an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. As shown in fig. 11, the data processing apparatus 1 may include: a basic information acquisition module 101, a channel acquisition module 102, a first connection module 103, and a second connection module 104.
A basic information obtaining module 101, configured to obtain running basic information corresponding to a target game; the operation basic information comprises first connection information of cloud game data and second connection information of the game installation package;
a channel obtaining module 102, configured to obtain a network channel available for a terminal;
the first connection module 103 is configured to, if the terminal available network channel includes a first network channel and a second network channel, acquire cloud game data according to the first connection information and the first network channel, decode the cloud game data, and display a cloud game interface including the decoded cloud game data;
And the second connection module 104 is configured to download the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
For specific implementation manners of the basic information obtaining module 101, the channel obtaining module 102, the first connection module 103, and the second connection module 104, reference may be made to the descriptions of steps S101 to S104 in the embodiment corresponding to fig. 3, and details will not be described here.
Referring to fig. 11, the channel acquiring module 102 includes: a listening unit 1021 and a channel determination unit 1022.
A monitoring unit 1021, configured to establish a first monitoring function and a second monitoring function in the system network service, acquire a network state of the first network channel according to the first monitoring function, and acquire a network state of the second network channel according to the second monitoring function;
a channel determining unit 1022, configured to determine, if the network state of the first network channel is a connection state and the network state of the second network channel is a connection state, both the first network channel and the second network channel are determined to be available network channels for the terminal;
the channel determining unit 1022 is further configured to determine the first network channel as the network channel available to the terminal if the network state of the first network channel is the connected state and the network state of the second network channel is the unconnected state;
The path determining unit 1022 is further configured to determine the second network path as the network path available to the terminal if the network state of the first network path is the unconnected state and the network state of the second network path is the connected state.
For a specific implementation of the monitoring unit 1021 and the channel determining unit 1022, reference may be made to the description of step S102 in the embodiment corresponding to the above-mentioned figure, which will not be described again here.
Referring to fig. 11, the first connection module 103 includes: a first identification acquisition unit 1031, a first connection establishment unit 1032, a cloud data acquisition unit 1033, and a decoding unit 1034.
A first identifier obtaining unit 1031, configured to obtain a first network channel identifier of the first network channel if the available network channels of the terminal include the first network channel and the second network channel;
a first connection establishing unit 1032, configured to establish a first data connection with the cloud server according to the first network channel identifier and the first connection information;
a cloud data acquisition unit 1033 configured to acquire cloud game data from a cloud server through a first data connection;
the decoding unit 1034 is configured to decode the cloud game data to obtain a cloud game interface for displaying.
For specific implementation manners of the first identifier obtaining unit 1031, the first connection establishing unit 1032, the cloud data obtaining unit 1033, and the decoding unit 1034, reference may be made to the description of step S103 in the embodiment corresponding to fig. 3, and details will not be described here.
Referring to fig. 11, the second connection module 104 includes: a second identifier obtaining unit 1041, a validity detecting unit 1042, a second connection establishing unit 1043, and a download task executing unit 1044.
A second identifier obtaining unit 1041, configured to obtain a second network channel identifier of the second network channel;
a legal detection unit 1042 for carrying out legal detection on the download address link;
a second connection establishing unit 1043, configured to, if it is detected that the download address link is valid and valid, establish a second data connection with the installation package server according to the second network channel identifier and the download address link;
and a download task execution unit 1044 configured to establish a download task for acquiring the game installation package with the installation package server through the second data connection, and execute the download task.
For a specific implementation manner of the second identifier obtaining unit 1041, the validity detecting unit 1042, the second connection establishing unit 1043, and the download task executing unit 1044, reference may be made to the description of step S104 in the embodiment corresponding to fig. 3, which will not be described herein again.
Referring to fig. 11, the second connection module 104 includes: a resource information obtaining unit 1045, a prompt area display unit 1046, and a first response unit 1047.
A resource information obtaining unit 1045, configured to obtain, according to the second connection information and the second network channel, a game installation package resource and download resource information of the installation package server;
a prompt area display unit 1046, configured to display, according to the downloaded resource information, a download prompt area for prompting the resource acquisition condition of the game installation package; the download prompting area is a display area which is independently displayed on the cloud game interface;
a first responding unit 1047, configured to suspend obtaining of the game installation package resource of the installation package server when responding to the trigger operation for the download suspension control in the download prompting area, and use the download resource information as download suspension resource information;
a second responding unit 1048, configured to, when a trigger operation for continuing to download the control in the download prompting area is responded, obtain the information of the resource that is suspended from downloading, determine, according to the information of the resource that is suspended from downloading, the remaining game package resources that are not downloaded in the game package resources, and obtain the remaining game package resources according to the second connection information and the second network channel.
For specific implementation manners of the resource information obtaining unit 1045, the prompt area display unit 1046, and the first response unit 1047, reference may be made to the description of step S104 in the embodiment corresponding to fig. 3, which will not be described herein again.
Referring to fig. 11, the data processing apparatus 1 further includes: a first configuration information obtaining module 105, a first function detecting module 106, and a download start processing module 107.
A first configuration information obtaining module 105, configured to obtain network configuration information;
a first function detecting module 106, configured to detect a function state of the automatic download function according to the network configuration information;
and a download start processing module 107, configured to execute, if the function state of the automatic download function is the start state, a step of downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
For specific implementation manners of the first configuration information obtaining module 105, the first function detecting module 106, and the download start processing module 107, reference may be made to the descriptions of steps S301 to S305 in the embodiment corresponding to fig. 8, and details will not be repeated here.
Referring to fig. 11, the data processing apparatus 1 further includes: a first monitoring module 108 and a first monitoring execution module 109.
A first monitoring module 108, configured to monitor network quality information of the first network channel;
the first monitoring execution module 109 is configured to suspend the task of downloading the game installation package in the second network channel if the network quality information of the first network channel does not satisfy the cloud game execution condition, acquire cloud game data according to the first connection information and the second network channel, decode the cloud game data, and display a cloud game interface including the decoded cloud game data.
For a specific implementation manner of the first monitoring module 108 and the first monitoring execution module 109, reference may be made to the description of step S305 in the embodiment corresponding to fig. 8, which will not be described herein again.
Referring to fig. 11, the first connection module 103 includes: a network system identification unit 1035, a priority determination unit 1036, and a priority connection unit 1037.
A network type identification unit 1035, configured to identify, if the available network channels of the terminal include a first network channel and a second network channel, the network types corresponding to the first network channel and the second network channel, respectively;
a priority determining unit 1036, configured to determine, according to the system selection condition, priorities of network systems respectively corresponding to the first network channel and the second network channel;
The priority connection unit 1037 is configured to, if the priority of the network type of the first network channel is higher than the priority of the network type of the second network channel, obtain cloud game data according to the first connection information and the first network channel, decode the cloud game data, and display a cloud game interface including the decoded cloud game data.
Wherein, the first connection module 103 includes: for a specific implementation of the network type identifying unit 1035, the priority determining unit 1036, and the priority connecting unit 1037, reference may be made to the description of step S304 in the embodiment corresponding to fig. 8, which will not be described herein again.
Referring to fig. 11, the data processing apparatus 1 further includes: a second configuration information obtaining module 110, a second function detecting module 111, a download closing processing module 112, and a first responding module 113.
A second configuration information obtaining module 110, configured to obtain network configuration information;
a second function detecting module 111, configured to detect a function state of the automatic download function according to the network configuration information;
a download closing processing module 112, configured to display a download guidance area if the function state of the automatic download function is a closed state; the download guiding area is a display area which is independently displayed on the cloud game interface;
The first response module 113 is configured to, when responding to the trigger operation for the download guidance area, execute a step of downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
For specific implementation manners of the second configuration information obtaining module 110, the second function detecting module 111, the download closing processing module 112, and the first response module 113, reference may be made to the descriptions of step S401 to step S406 in the embodiment corresponding to fig. 9, which will not be described herein again.
Referring to fig. 11, the data processing apparatus 1 further includes: a second monitoring module 114 and a second monitoring execution module 115.
A second monitoring module 114, configured to monitor network quality information of the second network channel;
and the second monitoring execution module 115 is configured to suspend obtaining of cloud game data in the first network channel if the network quality information of the second network channel does not satisfy the download execution condition, and download the game installation package according to the second connection information and the first network channel.
For a specific implementation manner of the second monitoring module 114 and the second monitoring execution module 115, reference may be made to the description of step S405 in the embodiment corresponding to fig. 9, which will not be described herein again.
Referring to fig. 11, the data processing apparatus 1 further includes: a dual channel monitoring module 116, a quality comparison module 117, and a quality execution module 118.
A dual-channel monitoring module 116, configured to monitor network quality information corresponding to the first network channel and the second network channel, respectively;
the quality comparison module 117 is configured to compare the quality of the first network channel and the quality of the second network channel according to the network quality information corresponding to the first network channel and the second network channel, respectively;
the quality execution module 118 is configured to, if the network quality of the first network channel is better than the network quality of the second network channel, suspend obtaining cloud game data in the first network channel, suspend a task of downloading a game installation package in the second network channel, continue downloading the game installation package according to the second connection information and the first network channel, and continue obtaining the cloud game data according to the first connection information and the second network channel.
For a specific implementation manner of the dual-channel monitoring module 116, the quality comparing module 117, and the quality executing module 118, reference may be made to the description of step S405 in the embodiment corresponding to fig. 9, which will not be described herein again.
Referring to fig. 11, the data processing apparatus 1 further includes: a third connection module 119, a guidance display module 120, and a second response module 121.
A third connection module 119, configured to, if the available network channel of the terminal includes a target network channel, obtain cloud game data according to the first connection information and the target network channel, decode the cloud game data, and display a cloud game interface including the decoded cloud game data; the target network channel is a first network channel or a second network channel;
a guidance display module 120, configured to display a download guidance area for the game installation package in the process of obtaining cloud game data; the download guiding area is a display area which is independently displayed on the cloud game interface;
the second response module 121 is configured to suspend acquiring cloud game data in the target network channel when a trigger operation for the download guidance area is responded, and download the game installation package according to the second connection information and the target network channel.
For a specific implementation manner of the third connection module 119, the guidance display module 120, and the second response module 121, reference may be made to the description of step S104 in the embodiment corresponding to fig. 3, which will not be described herein again.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 12, the computer apparatus 1000 may include: the processor 1001, the network interface 1004, and the memory 1005, and the computer apparatus 1000 may further include: a user interface 1003, and at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1004 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 12, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the computer device 1000 shown in fig. 12, the network interface 1004 may provide a network communication function; the user interface 1003 is an interface for providing input to a user; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
acquiring running basic information corresponding to a target game, and acquiring a terminal available network channel; the operation basic information comprises first connection information of cloud game data and second connection information of the game installation package;
if the available network channels of the terminal comprise a first network channel and a second network channel, cloud game data are obtained according to the first connection information and the first network channel, the cloud game data are decoded, and a cloud game interface containing the decoded cloud game data is displayed;
and downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
It should be understood that the computer device 1000 described in this embodiment of the present application may perform the description of the data processing method in the embodiment corresponding to any one of fig. 3, fig. 4, fig. 8, and fig. 9, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Furthermore, it is to be noted here that: an embodiment of the present application further provides a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the data processing apparatus 1 mentioned above, and when the processor loads and executes the computer program, the description of the data processing method in any one of the embodiments corresponding to fig. 3, fig. 4, fig. 8, and fig. 9 can be executed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application.
The computer readable storage medium may be the data processing apparatus provided in any of the foregoing embodiments or an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash card (flash card), and the like, provided on the computer device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the computer device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the computer device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (14)

1. A data processing method based on a cloud game is characterized by comprising the following steps:
acquiring running basic information corresponding to a target game; the operation basic information comprises first connection information of cloud game data and second connection information of a game installation package; the cloud game data and the game installation package both belong to game data of the target game;
acquiring a network channel available for a terminal;
if the available network channels of the terminal comprise a first network channel and a second network channel, acquiring a first network channel identifier of the first network channel, establishing a first data connection with a cloud server according to the first network channel identifier and the first connection information, acquiring cloud game data from the cloud server through the first data connection, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data;
and downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
2. The method of claim 1, wherein the obtaining the network channel available to the terminal comprises:
establishing a first monitoring function and a second monitoring function in a system network service, acquiring the network state of a first network channel according to the first monitoring function, and acquiring the network state of a second network channel according to the second monitoring function;
if the network state of the first network channel is a connection state and the network state of the second network channel is a connection state, determining both the first network channel and the second network channel as available network channels of the terminal;
if the network state of the first network channel is a connected state and the network state of the second network channel is an unconnected state, determining the first network channel as a network channel available for a terminal;
and if the network state of the first network channel is the unconnected state and the network state of the second network channel is the connected state, determining the second network channel as the available network channel of the terminal.
3. The method of claim 1, wherein the second connection information comprises a download address link;
The downloading the game installation package according to the second connection information and the second network channel comprises:
acquiring a second network channel identifier of the second network channel;
legality detection is carried out on the download address link;
if the download address link is detected to have validity and validity, establishing a second data connection with the installation package server according to the second network channel identifier and the download address link;
establishing a second data connection with the installation package server for downloading the game installation package.
4. The method of claim 1, wherein downloading the game installation package according to the second connection information and the second network channel comprises:
acquiring game installation package resources and download resource information of an installation package server according to the second connection information and the second network channel;
displaying a download prompting area for prompting the resource obtaining condition of the game installation package according to the download resource information; the download prompting area is a display area which is independently displayed on the cloud game interface;
when the trigger operation of the pause downloading control in the downloading prompt area is responded, the game installation package resources of the installation package server are paused to be obtained, and the downloading resource information is used as the pause downloading resource information;
And when the trigger operation aiming at the continuous downloading control in the downloading prompt area is responded, the pause downloading resource information is obtained, the un-downloaded residual game installation package resources are determined in the game installation package resources according to the pause downloading resource information, and the residual game installation package resources are obtained according to the second connection information and the second network channel.
5. The method of claim 1, further comprising:
acquiring network configuration information, and detecting the function state of an automatic downloading function according to the network configuration information;
and if the function state of the automatic downloading function is an opening state, executing the step of downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
6. The method of claim 5, further comprising:
monitoring network quality information of the first network channel;
and if the network quality information of the first network channel does not meet the cloud game execution condition, suspending downloading the game installation package in the second network channel, acquiring the cloud game data according to the first connection information and the second network channel, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data.
7. The method of claim 1, further comprising:
identifying network systems respectively corresponding to the first network channel and the second network channel;
determining the priorities of the network types respectively corresponding to the first network channel and the second network channel according to the type selection conditions;
and if the priority of the network system of the first network channel is higher than that of the network system of the second network channel, executing the steps of acquiring a first network channel identifier of the first network channel, establishing a first data connection with a cloud server according to the first network channel identifier and the first connection information, acquiring the cloud game data from the cloud server through the first data connection, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data.
8. The method of claim 1, further comprising:
acquiring network configuration information, and detecting the function state of an automatic downloading function according to the network configuration information;
if the function state of the automatic downloading function is a closing state, displaying a downloading guide area; the download guiding area is a display area which is independently displayed on the cloud game interface;
And when the trigger operation aiming at the download guiding area is responded, the step of downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data is executed.
9. The method of claim 8, further comprising:
monitoring network quality information of the second network channel;
and if the network quality information of the second network channel does not meet the downloading execution condition, suspending the acquisition of the cloud game data in the first network channel, and downloading the game installation package according to the second connection information and the first network channel.
10. The method of claim 8, further comprising:
monitoring network quality information corresponding to the first network channel and the second network channel respectively;
comparing the quality of the first network channel with that of the second network channel according to the network quality information respectively corresponding to the first network channel and the second network channel;
and if the network quality of the first network channel is superior to that of the second network channel, suspending the acquisition of the cloud game data in the first network channel, suspending the downloading of the game installation package in the second network channel, continuing to download the game installation package according to the second connection information and the first network channel, and continuing to acquire the cloud game data according to the first connection information and the second network channel.
11. The method of claim 1, further comprising:
if the terminal available network channel comprises a target network channel, acquiring the cloud game data according to the first connection information and the target network channel, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data; the target network channel is a first network channel or a second network channel;
displaying a download guidance area for the game installation package in the process of acquiring the cloud game data; the download guiding area is a display area which is independently displayed on the cloud game interface;
and when the trigger operation aiming at the download guiding area is responded, the cloud game data is suspended to be acquired in the target network channel, and the game installation package is downloaded according to the second connection information and the target network channel.
12. A data processing apparatus based on a cloud game, comprising:
the information acquisition module is used for acquiring running basic information corresponding to the target game; the operation basic information comprises first connection information of cloud game data and second connection information of a game installation package; the cloud game data and the game installation package both belong to game data of the target game;
The channel acquisition module is used for acquiring a network channel available for the terminal;
the first connection module is used for acquiring a first network channel identifier of the first network channel if the available network channel of the terminal comprises a first network channel and a second network channel, establishing a first data connection with a cloud server according to the first network channel identifier and the first connection information, acquiring cloud game data from the cloud server through the first data connection, decoding the cloud game data, and displaying a cloud game interface containing the decoded cloud game data;
and the second connection module is used for downloading the game installation package according to the second connection information and the second network channel in the process of acquiring the cloud game data.
13. A computer device, comprising: a processor, memory, and a network interface;
the processor is connected to the memory and the network interface, wherein the network interface is configured to provide a network communication function, the memory is configured to store program code, and the processor is configured to call the program code to perform the method of any one of claims 1-11.
14. A computer-readable storage medium, in which a computer program is stored which is adapted to be loaded by a processor and to carry out the method of any one of claims 1 to 11.
CN202110150851.4A 2021-02-03 2021-02-03 Data processing method based on cloud game and related equipment Active CN112999651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110150851.4A CN112999651B (en) 2021-02-03 2021-02-03 Data processing method based on cloud game and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110150851.4A CN112999651B (en) 2021-02-03 2021-02-03 Data processing method based on cloud game and related equipment

Publications (2)

Publication Number Publication Date
CN112999651A CN112999651A (en) 2021-06-22
CN112999651B true CN112999651B (en) 2022-07-29

Family

ID=76385039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110150851.4A Active CN112999651B (en) 2021-02-03 2021-02-03 Data processing method based on cloud game and related equipment

Country Status (1)

Country Link
CN (1) CN112999651B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727152A (en) * 2021-08-27 2021-11-30 广州简悦信息科技有限公司 Method, device and storage medium for adjusting code rate
US20240042313A1 (en) * 2022-08-02 2024-02-08 Sony Interactive Entertainment Inc. Multi-user cross-device synchronization of metaverse instantiation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107950061A (en) * 2016-06-30 2018-04-20 华为技术有限公司 Channel allocation method and device
CN110052028A (en) * 2019-03-08 2019-07-26 维沃移动通信有限公司 A kind of method and terminal device of output information
CN111142893A (en) * 2019-12-31 2020-05-12 福建天晴在线互动科技有限公司 Method and system for online sectionally installing game
CN112003637A (en) * 2020-08-31 2020-11-27 广东虹勤通讯技术有限公司 Communication method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107950061A (en) * 2016-06-30 2018-04-20 华为技术有限公司 Channel allocation method and device
CN110052028A (en) * 2019-03-08 2019-07-26 维沃移动通信有限公司 A kind of method and terminal device of output information
CN111142893A (en) * 2019-12-31 2020-05-12 福建天晴在线互动科技有限公司 Method and system for online sectionally installing game
CN112003637A (en) * 2020-08-31 2020-11-27 广东虹勤通讯技术有限公司 Communication method and device

Also Published As

Publication number Publication date
CN112999651A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN109562296B (en) Cloud gaming device handover
EP3888311B1 (en) Maintaining continuous network service
CN109152095B (en) Wireless network connection method for terminal
CN112291816B (en) Data transmission method, device, storage medium and electronic equipment
CN109474528B (en) Communication connection method, device, terminal equipment and computer readable storage medium
WO2019047709A1 (en) Resource configuration method and related product
CN112999651B (en) Data processing method based on cloud game and related equipment
US20220226736A1 (en) Selection of virtual server for smart cloud gaming application from multiple cloud providers based on user parameters
CN112291366B (en) Data transmission method and device, storage medium and electronic equipment
CN113572836B (en) Data transmission method, device, server and storage medium
CN103125108B (en) Set up the system and method that emission control agreement connects
CN112346751A (en) Application program installation method and device, electronic equipment and storage medium
US9451051B1 (en) Method and procedure to improve delivery and performance of interactive augmented reality applications over a wireless network
CN110138887B (en) Data processing method, device and storage medium
KR20220047034A (en) Method and apparatus for providing mec service
CN114125942A (en) Network resource management method, device, terminal and storage medium
CN106161044B (en) A kind of information transferring method and device
CN104038778B (en) Multimedia redirects the control method and device played
CN109304035B (en) Game time length obtaining method and device, terminal equipment and storage medium
CN114390574A (en) Wireless network throughput testing method, device and computer readable storage medium
CN108990039B (en) Data transmission method and related device
CN113727152A (en) Method, device and storage medium for adjusting code rate
KR20210014582A (en) Multipath wireless controller
CN107432050B (en) Mobile terminal, base station, system and application running method
CN111327695B (en) Resource downloading method and related device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40047821

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant