The application is a divisional application of Chinese application with application date of 09 and 11 in 2019, application number of 201910860694.9, entitled cloud game control method, device, equipment and storage medium
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are described:
cloud Game (Clouding Game): the cloud computing is a game mode based on cloud computing, when a cloud game runs, logic processing and picture rendering of the cloud game are performed on a server, the server transmits video streams and audio streams corresponding to game pictures to a client through a network, a user can play the game only by needing to have equipment with a streaming media playing function and equipment capable of acquiring control operation, the cloud computing is distributed computing, a large amount of data is processed in a short time through a system consisting of a plurality of servers, and computing results are fed back to the user.
A game control section: the cloud game control device is a device for acquiring game control operation of a user, and the user can control a virtual object or a virtual character in the cloud game through the game control device. Optionally, the game control means comprises at least one of physical keys and a display screen. Illustratively, the game control component may be a gamepad, a smartphone, a tablet, a keyboard, a mouse, a remote control, or the like.
A game display component: the present invention relates to a game display device capable of displaying a game screen received from a server, and more particularly, to a game display device capable of displaying a game screen, which has a decoding function and is capable of decoding encoded information to display a corresponding game screen, by encoding at least one of a video stream and an audio stream corresponding to the game screen by the server and transmitting the encoded information to the game display device. Optionally, the game display means comprises devices having a display screen, such as televisions, computers (including desktop computers, notebook computers and tablet computers) and cell phones.
Fig. 1 shows a schematic structural diagram of a cloud game system according to an exemplary embodiment of the present application. The system comprises: at least one terminal 120 and a server 140, as shown in fig. 1 (a).
Optionally, the server 140 is a server supporting a cloud game operating environment, or a server providing a cloud computing service, or a server cluster composed of several servers, or a cloud computing service center.
At least one of the terminal 120 and the server 140 may establish a connection through a network connection 160, optionally, the network connection 160 includes a wireless network connection or a wired network connection.
At least one terminal 120 has a client running therein. Optionally, the client is an application that supports cloud gaming. At least one of the terminals 120 is a game display part displaying a game screen, such as a mobile phone, a tablet computer, a notebook computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), a laptop portable computer, a desktop computer, and the like. Optionally, the at least one terminal 120 may also be a game control component, such as a joystick, a mouse, a keyboard, a remote control, a smartphone, etc., for obtaining user operations. The embodiment of the present application is described by taking as an example that at least one terminal 120 includes a game display unit and a game control unit.
The game control means may be configured to receive a game control operation by a user and generate a game control command corresponding to the game control operation, and the server 140 may receive the game control command via the network connection 160 and perform an operation on the game logic and render a game screen according to the game control command. The server 140 acquires a video stream corresponding to the game screen and encodes the video stream. The game display unit receives the encoded video stream via network connection 160 and decodes the encoded video stream, and the game display unit is capable of displaying a game screen corresponding to the video stream.
The internal structure of the cloud game system will be explained. As shown in fig. 1 (b), the terminal 120 illustratively includes a control module 11, a wired or wireless control transmission module 12, a first calculation module 13, a display module 14, and a first communication module 15, and the server 140 includes a second communication module 16 and a second calculation module 17.
In the terminal 120, the control module 11 is connected to the first calculation module 13 through the wired or wireless control transmission module 12, the first calculation module 13 is connected to the first communication module 15, and the first calculation module 13 is further connected to the display module 14. Optionally, the display module 14 is configured to display a game screen of a cloud game, the control module 11 is configured to control the display module 14, the first computing module 13 is configured to compute logic of the cloud game, or display a corresponding game screen on the display module 14 according to an instruction, the first communication module 15 is configured to send various instructions, such as a game control instruction, to the server, and the wired or wireless control transmission module 12 is configured to send the control instruction sent by the control module 11 to the first computing module 13.
In the server 140, the second communication module 16 is configured to receive various instructions sent by the terminal 120 and send the instructions to the second computing module 17, and the second computing module 17 is configured to compute a game logic of the cloud game, so that the cloud game can normally run according to the instructions.
The method provided in the present application can be applied to a user to control a cloud game, and the method is described below with reference to an implementation environment of the cloud game.
Fig. 2 is a block diagram illustrating an implementation environment of a cloud gaming system provided by an exemplary embodiment of the present application. The implementation environment comprises: agame display unit 130, a server cluster 140, afirst network connection 150, agame control unit 170 and asecond network connection 190.
Thegame display unit 130 is connected to the server cluster 140 via acommunication network 150. Optionally, at least one of thegame control unit 170 and thegame display unit 130 is installed with an application program supporting a cloud game, optionally, thegame control unit 170 is installed with an application program supporting connection, and thegame display unit 130 is installed with an application program supporting connection, the application program supporting connection is used for connecting thegame display unit 130, thegame control unit 170 and the server cluster 140. Alternatively, the applications on thegame display unit 130 and thegame control unit 170 that support the connection may be the same application, or the same type of application, or different types of applications.
Optionally, the application program has an account number registered therein, and the account number may be a game account number of the user or an authentication account number of the user connecting the game control unit and the game display unit.
The server cluster 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server cluster 140 is used to provide background services for applications with augmented reality functionality. Optionally, the server cluster 140 undertakes primary computational work and at least one of thegame display component 130 and thegame control component 170 undertakes secondary computational work; alternatively, the server cluster 140 undertakes secondary computational work and at least one of thegame display component 130 and thegame control component 170 undertakes primary computational work; alternatively, the server cluster 140, thegame display unit 130, thegame control unit 170, and the three may perform cooperative computing by using a distributed computing architecture.
Optionally, the server cluster 140 includes: the system comprises an access server and a background server. The access server is used for providing access service and information transceiving service of at least one of thegame display part 130 and thegame control part 170, and forwarding effective information among thegame display part 130, thegame control part 170 and the background server. The background server is used for providing background services of the application program, such as: the background server can be one or more than one of a logic computing service, a game picture rendering service and a multi-end connection service of the cloud game. When the background servers are multiple, at least one of the following forms exists: at least two background servers exist for providing different services, and at least two background servers exist for providing the same service, which is not limited in the embodiment of the present application.
Thegame display unit 130 and the server cluster 140 are connected by afirst network 150, and thegame control unit 170 is connected by asecond network 190, and optionally, thefirst network 150 may be a metropolitan area network, a local area network, a fiber network, etc. in a wired network, or a mobile communication network (e.g., at least one of 2G, or 3G, or 4G, or 5G) or a Wireless Fidelity (WiFi) network in a Wireless network. Optionally, thesecond network connection 190 may be a wired network or a wireless network connection, and thesecond network connection 190 is a wireless network connection for example.
Optionally, thegame display unit 130 and thegame control unit 170 are connected through a wired network, such as an optical fiber network, or thegame display unit 130 and thegame control unit 170 are connected through a wireless network, such as at least one of ZigBee technology, bluetooth technology, and USB technology. Alternatively, thegame display unit 130 may be controlled by thegame control unit 170, and thegame display unit 130 may be provided with a dedicated control unit, such as a remote controller, a set-top box, or the like.
Fig. 3 shows a schematic structural diagram of a server provided in an exemplary embodiment of the present application. The server may be a server in the background server cluster 140. Specifically, the method comprises the following steps:
theserver 300 includes a Central Processing Unit (CPU) 301, asystem Memory 304 including a Random Access Memory (RAM) 302 and a Read Only Memory (ROM)303, and asystem bus 305 connecting thesystem Memory 304 and theCentral Processing Unit 301. Theserver 300 also includes a basic Input/Output System (I/O) 306, which facilitates the transfer of information between devices within the computer, and amass storage device 307, which stores an operating System 313,application programs 314, and other program modules 315.
The basic input/output system 306 comprises adisplay 308 for displaying information and aninput device 309, such as a mouse, keyboard, etc., for a user to input information. Wherein adisplay 308 and aninput device 309 are connected to thecentral processing unit 301 through an input output controller 310 connected to thesystem bus 305. The basic input/output system 306 may also include an input/output controller 310 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input-output controller 310 may also provide output to a display screen, a printer, or other type of output device.
Themass storage device 307 is connected to thecentral processing unit 301 through a mass storage controller (not shown) connected to thesystem bus 305. Themass storage device 307 and its associated computer-readable media provide non-volatile storage for theserver 300. That is,mass storage device 307 may include a computer-readable medium (not shown) such as a hard disk or Compact disk Read Only Memory (CD-ROM) drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, CD-ROM, Digital Versatile Disks (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. Thesystem memory 304 andmass storage device 307 described above may be collectively referred to as memory.
According to various embodiments of the present application, theserver 300 may also operate as a remote computer connected to a network through a network, such as the Internet. That is, theserver 300 may be connected to thenetwork 312 through thenetwork interface unit 311 connected to thesystem bus 305, or thenetwork interface unit 311 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU.
Fig. 4 shows a block diagram of acomputer device 400 provided in an exemplary embodiment of the present application. Thecomputer device 400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group audio Layer III, motion Picture Experts compression standard audio Layer 3), an MP4 player (Moving Picture Experts Group audio Layer IV, motion Picture Experts compression standard audio Layer 4), a notebook computer, or a desktop computer.Computer device 400 may also be referred to by other names such as user computer device, portable computer device, laptop computer device, desktop computer device, and the like.
Generally, thecomputer device 400 includes: aprocessor 401 and amemory 402.
Processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. Theprocessor 401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Theprocessor 401 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, theprocessor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, theprocessor 401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory.Memory 402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium inmemory 402 is used to store at least one instruction for execution byprocessor 401 to implement the method of controlling a cloud game provided by method embodiments herein.
In some embodiments, thecomputer device 400 may also optionally include: aperipheral interface 403 and at least one peripheral. Theprocessor 401,memory 402 andperipheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to theperipheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one ofradio frequency circuitry 404,touch screen display 405,camera 406,audio circuitry 407,positioning components 408, andpower supply 409.
Theperipheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to theprocessor 401 and thememory 402. In some embodiments,processor 401,memory 402, andperipheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of theprocessor 401, thememory 402 and theperipheral interface 403 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
TheRadio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. Theradio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. Therf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, theradio frequency circuit 404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. Theradio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless-Fidelity (wlan) networks, and/or Wi-Fi (Wireless-Fidelity) networks. In some embodiments, therf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
Thedisplay screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When thedisplay screen 405 is a touch display screen, thedisplay screen 405 also has the ability to capture touch signals on or over the surface of thedisplay screen 405. The touch signal may be input to theprocessor 401 as a control signal for processing. At this point, thedisplay screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, thedisplay screen 405 may be one, providing the front panel of thecomputer device 400; in other embodiments, thedisplay screen 405 may be at least two, respectively disposed on different surfaces of thecomputer device 400 or in a folded design; in still other embodiments, thedisplay screen 405 may be a flexible display screen disposed on a curved surface or on a folded surface of thecomputer device 400. Even further, thedisplay screen 405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. TheDisplay screen 405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-emitting diode), and other materials.
Thecamera assembly 406 is used to capture images or video. Optionally,camera assembly 406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments,camera assembly 406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Theaudio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to theprocessor 401 for processing, or inputting the electric signals to theradio frequency circuit 404 for realizing voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and located at different locations on thecomputer device 400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from theprocessor 401 or theradio frequency circuit 404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments,audio circuitry 407 may also include a headphone jack.
TheLocation component 408 is used to locate the current geographic Location of thecomputer device 400 for navigation or LBS (Location Based Service). Thepositioning component 408 may be a positioning component based on the GPS (global positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
Thepower supply 409 is used to supply power to the various components in thecomputer device 400. Thepower source 409 may be alternating current, direct current, disposable or rechargeable. Whenpower source 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, thecomputer device 400 also includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with thecomputer apparatus 400. For example, the acceleration sensor 411 may be used to detect components of the gravitational acceleration in three coordinate axes. Theprocessor 401 may control thetouch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411. The acceleration sensor 411 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of thecomputer device 400, and the gyro sensor 412 may cooperate with the acceleration sensor 411 to acquire a 3D motion of the user on thecomputer device 400. From the data collected by the gyro sensor 412, theprocessor 401 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 413 may be disposed on the side bezel of thecomputer device 400 and/or on the lower layer of thetouch screen display 405. When the pressure sensor 413 is arranged on the side frame of thecomputer device 400, the holding signal of the user to thecomputer device 400 can be detected, and theprocessor 401 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of thetouch display screen 405, theprocessor 401 controls the operability control on the UI interface according to the pressure operation of the user on thetouch display screen 405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 414 is used for collecting a fingerprint of the user, and theprocessor 401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity,processor 401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 414 may be disposed on the front, back, or side of thecomputer device 400. When a physical key or vendor Logo is provided on thecomputer device 400, the fingerprint sensor 414 may be integrated with the physical key or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, theprocessor 401 may control the display brightness of thetouch display screen 405 based on the ambient light intensity collected by the optical sensor 415. Specifically, when the ambient light intensity is high, the display brightness of thetouch display screen 405 is increased; when the ambient light intensity is low, the display brightness of thetouch display screen 405 is turned down. In another embodiment, theprocessor 401 may also dynamically adjust the shooting parameters of thecamera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
Proximity sensors 416, also known as distance sensors, are typically provided on the front panel of thecomputer device 400. The proximity sensor 416 is used to capture the distance between the user and the front of thecomputer device 400. In one embodiment, theprocessor 401 controls thetouch display screen 405 to switch from the bright screen state to the rest screen state when the proximity sensor 416 detects that the distance between the user and the front surface of thecomputer device 400 is gradually decreased; thetouch display screen 405 is controlled by theprocessor 401 to switch from a breath-screen state to a bright-screen state when the proximity sensor 416 detects that the distance between the user and the front surface of thecomputer device 400 is gradually increasing.
Those skilled in the art will appreciate that the configuration shown in FIG. 4 does not constitute a limitation of thecomputer device 400, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components. For example, thecomputer device 400 is a game display unit, and the acceleration sensor 411 and the gyro sensor 412 may not be used; thecomputer device 400 is a game control unit and may not employ thedisplay screen 405.
Fig. 5 is a flowchart illustrating a method for controlling a cloud game, which may be applied to the implementation environment shown in fig. 2, according to an embodiment of the present disclosure, where the method is applied to a game control unit, and the game control unit is separated from a game display unit, and the method may include the following steps:
step 501, receiving a game control operation during a process of displaying a game screen stream by a game display component, the game screen stream being provided by a server via a first network connection.
The game display component is a component for displaying the game picture sent by the server, optionally, the game display component has a decoding function, and can decode the video stream generated by the game picture by the server so that the user can see the game picture on the game display component, or the game picture sent by the server can be directly played on the game display component, and the game display component does not need to decode the video stream. Optionally, the gaming display unit comprises a device having a display screen, such as a smartphone, laptop, tablet, desktop, and television. Alternatively, the game screen stream displayed by the game display section is provided by the server through the first network connection.
Optionally, the first network connection includes a wired network connection and a wireless network connection, such as a network connection between the game display unit and the server via an optical fiber connection, or a twisted pair connection, or a coaxial cable connection.
Alternatively, the game control component refers to a component for acquiring user operations, such as a game pad, a smart phone, a remote controller, a mouse, a keyboard, and the like. Optionally, the game control operation includes an operation corresponding to a physical button on the game control unit triggered by a user, or an operation corresponding to a rocker on the game control unit triggered by the user, or a trigger operation of the game control unit by the user (for example, a sensor is disposed in the game control unit, and the user controls a virtual object in a cloud game by shaking the game control unit), or a trigger operation on the touch display screen by the user. The user starts or pauses the cloud game through the game control component, or sets game parameters of the cloud game, or controls a virtual object or a virtual character in the cloud game, for example, the user controls the virtual object in the cloud game to move, rotate, jump, attack and the like through the game control component.
Step 502, generating a game control command according to the game control operation.
The game control section generates a game control instruction according to the game control operation. Optionally, the game control operation includes a control operation performed on a virtual object in the cloud game, or a control operation performed on a process of the cloud game.
In one example, the game control operation is a movement control operation, the movement control operation is used for controlling a virtual object in the virtual game to move, for example, a direction key is arranged on the game control component, the user triggers the direction movement key, the game control component generates a movement control instruction according to the movement control operation, and the virtual object moves in the cloud game according to the movement control instruction.
In one example, the game control operation is a control operation of performing a process of the cloud game for the user to change a game rhythm of the cloud game, such as pausing the cloud game, skipping a game screen of the cloud game, selecting a level of the cloud game in a non-game-sequential manner, or the like, and the game control section generates a process control instruction that changes the game rhythm of the cloud game in accordance with the process control operation.
Step 503 sends the game control instructions to the server over a second network connection, the second network connection being the connection established between the game control unit and the server.
Optionally, the second network connection is connected to the first network in the same manner, or the second network connection is connected to the first network in a different manner of the same type, for example, the first network connection is a wired network connection, and the second network connection is a wired network connection; or the first network connection is a wired network connection and the second network connection is a wireless network connection; alternatively, the first network connection is an optical fiber connection establishing a connection between the server and the game control unit, and the second network connection is a twisted pair connection establishing a connection between the server and the game control unit.
The game control unit sends the game control instruction to the server via the second network connection. Illustratively, the game control command is a rotation control command, the game control unit transmits the rotation control command to the server via the second network connection, the server generates a game screen in which the virtual object rotates according to the rotation control command and transmits the game screen to the game display unit, and the user views the game screen in which the virtual object rotates corresponding to the rotation command via the game display unit.
Optionally, the second network connection comprises a wireless network connection, and the game control component sends the game control instructions to the server over the wireless network connection. In one example, the game control instruction is a suspended cloud game, the game control section transmits the control instruction for suspending the cloud game to the server through the wireless network connection, the server generates a still game screen according to the control instruction for suspending the cloud game and transmits the game screen to the game display section, and the user sees the still cloud game screen corresponding to the control instruction for suspending the cloud game through the game display section.
Optionally, the server and the game control unit may be connected by using a 2.4GHz wireless technology, where the 2.4GHz wireless technology is a short-distance wireless transmission technology, the 2.4GHz is a transmission frequency band, and the bluetooth technology also operates in the transmission frequency band. The 2.4GHz wireless technology comprises at least one of a Zigbee technology, a Bluetooth technology and a wireless USB technology.
Optionally, the Wireless network connection involved in the above embodiments includes a mobile communication network connection or a Wireless local area network connection, and illustratively, the game control unit may send the game control instruction to the server through the mobile communication network connection (e.g. 2G, or 3G, or 4G, or 5G, and a combination thereof), or the game control unit may send the game control instruction to the server through the Wireless local area network connection (e.g. WiFi, Wireless Fidelity, WiFi).
In summary, in the method provided in the embodiment of the present application, the game control unit establishes a connection with the server through the second network connection, the game control unit can directly control the server, and the user does not need to use a special game display unit and a game control unit, and both the game control unit and the game display unit are connected with the server, so that the delay degree between the game control unit and the game display unit is reduced.
The application provides a control method of a cloud game, which establishes a connection relation among a game control component, a game display component and a server, so that a user can directly control the server by using the game control component, and the connection relation among the game control component, the game display component and the server is explained by combining the structures of the game control component and the game display component.
The game control unit, the game display unit, and the server have the following two relationships:
first, the game control component initiates authentication.
The game display part is matched with a special control part, for example, a desktop computer controls the desktop computer to process various tasks by installing external input equipment such as a mouse or a keyboard; the notebook computer controls the notebook computer to process each task through a self touch control panel; the television controls the television to display pictures, switch pictures and the like through the matched remote controller. When the game control unit initiates authentication to establish connection among the game control unit, the game display unit and the server, authentication information needs to be input by using a dedicated control unit of the game display unit, and the authentication information is verification information when a matching relationship is established among the game control unit, the game display unit and the server.
FIG. 6 is a flow chart illustrating a method for initiating authentication by a game control unit, as provided in an exemplary embodiment of the present application, the method being applicable to the implementation environment shown in FIG. 2, the method being applied to a game control unit, the game control unit being separate from a game display unit, and the method comprising the steps of:
step 601, the game control component enters a cloud game and logs in a cloud game account.
Alternatively, an application program of a cloud game, or an application program supporting a cloud game, or an applet of a cloud game (which means a program that runs depending on the host program) is installed in the game control unit. The description will be given taking an example in which the game control unit is installed with an application of a cloud game, and illustratively, an account of a user is registered in the application of the cloud game. Optionally, the account is an account of the user in the cloud game, and the account includes a level, a growth experience, owned assets, and the like of the virtual object controlled by the user in the cloud game, or the account is an account of an application program for which the user logs in the cloud game, and the account includes a use authority that the user has, and can be used for verifying the identity of the user or receiving prompt information.
Fig. 7 shows a block diagram of a game control component provided in an exemplary embodiment of the present application, and the game control component 100 includes an authentication module 101, a calculation module 102, a communication module 103, and an input module 104.
The authentication module 101 is used for performing identity authentication when connection is established between the game display part and the server; the calculation module 102 is used for providing logic calculation for the authentication module 101, such as calculating whether the game display unit and the server connected with the game control unit are the game control unit and the server which the user wants to connect; the communication module 103 is used for sending a control instruction to the server and receiving a game picture, authentication information and prompt information sent by the server; the input module 104 is used for receiving a control operation of a user or inputting authentication information, for example, the input module 104 receives a movement control operation of the user, or the input module 104 receives characters input by the user, wherein the characters represent authentication information when the game control component, the game display component and the server are matched.
The authentication module 101 in the game control unit may be used for the above-described process of verifying the user's identity.
Step 602, the game control component sends an authentication request to the server through the second network connection, where the authentication request carries the account id of the game control component.
The communication module 103 in the game control component is configured to send an authentication request to the server, where the authentication request carries an account id of the game control component.
Step 603, the server generates authentication information according to the authentication request, wherein the authentication information carries the account identifier of the game control component.
The server may generate different forms of authentication information depending on the type of game control unit, optionally including: at least one of character form, image form, voice form and link form. Optionally, the authentication information in the form of characters includes: at least one of numbers, English letters, Chinese characters, punctuation marks and special symbols; the authentication information in the form of an image includes: at least one of a bar code, a two-dimensional code and other graphic codes, wherein a user can scan the graphic code of the equipment object with a camera; the voice authentication information can be played through a speaker carried by the game control component, and the link authentication information can be authenticated through clicking of a user.
The following description will be made in conjunction with the table showing the relationship between a pair of authentication information, a game control unit type, and an account id of a game control unit.
Watch 1
| Account number identification of game control component | Type of game control unit | Authentication information |
| 2019082811000001 | Game machine handle | Information in the form of speech |
| 2019082820130002 | Remote controller (with display screen) | Information in the form of characters |
| 2019082822020003 | Smart phone | Graphic code |
The account id 2019082811000001 of the game control unit is used to indicate the game control unit that registers the 0001 th registered game account at 11 o' clock 00/28/08/2019, and the type of the account id of the game control unit is not limited in this embodiment.
The description will be made with the authentication information being in the form of characters, for example. The server generates authentication information in a character form according to the authentication request, wherein the information carries the account identification of the game control component. Optionally, the authentication information has a dynamic update mechanism, and it can be set that the authentication information can be updated in a fixed time interval. In one example, the information in the form of characters is updated every two minutes.
At step 604, the server sends authentication information to the game control unit via the second network connection.
Illustratively, the server sends authentication information in the form of a two-dimensional code to the game control unit via the second network connection.
At step 605, the game control section receives authentication information transmitted by the server through the second network connection.
Illustratively, the game control component is a smart phone, the authentication information sent by the server through the second network connection is received on the smart phone, and the two-dimensional code is displayed on the smart phone.
At step 606, the game display unit inputs authentication information.
The user needs to enter authentication information on the game control unit on the game display unit. Taking the example that the game display part is a notebook computer and the game control part is a smart phone as an example, in one example, the smart phone receives the two-dimensional code sent by the server through the second network connection, and the user needs to scan the two-dimensional code on the smart phone by using the camera function of the notebook computer to perform the authentication process. In the case that the game display part is a television and the game control part is a game pad, in one example, the game pad receives the authentication information in the voice form sent by the server, and the user needs to input the content related to the authentication information in the voice form in the television, for example, if a string of numbers is related to the authentication information in the voice form, the user inputs the string of numbers in the television. Optionally, when the television includes a dedicated remote controller, the authentication information may be input through the remote controller, or the television is provided with a camera that can scan the authentication information in the form of the two-dimensional code.
Step 607, the game display component sends a matching request to the server through the first network connection, and the matching request carries the authentication information.
After the game display part finishes inputting the authentication information, a matching request is sent to the server through the first network connection, and the matching request carries the input authentication information.
In step 608a, the server sends a match success message to the game display unit over the first network connection.
The server receives the matching request of the game display part and checks whether the authentication information input by the game display part is matched with the authentication information provided by the game control part. When the authentication information of the game display section and the game control section agree, the server transmits matching success information to the game display section through the first network connection. Optionally, the matching success information includes at least one of the following types: image type, text type, video type, and audio type.
Illustratively, the matching success information is information of a video type, the game display component is a television, in one example, the server parses the matching request, generates a successfully matched video picture, and encodes the picture stream and transmits the encoded video stream to the television via the first network connection, and the television decodes the picture stream and displays the successfully matched video picture on the television.
Illustratively, the match success information is information of an audio type, the game display unit is a television, and in one example, the server generates the audio information of the match success according to the match request and transmits the audio information to the television through the second network connection, and the television generates a prompt tone to prompt the user that the game display unit, the game control unit and the server match successfully.
In step 608b, the server sends a match success message to the game control unit over the second network connection.
In synchronization with step 608a, optionally, the matching success information includes at least one of the following types: image type, text type, video type, and audio type.
Illustratively, the matching success information is information of an audio type, the game control unit is a game pad, and in one example, the server generates audio information of the matching success according to the matching request and transmits the audio information to the game pad through the second network connection, and the game pad generates an alert sound to prompt the user that the matching of the game control unit, the game display unit and the server is successful.
Illustratively, the matching success information is information of a character type, the game control component is a smart phone, in one example, the server generates character information of successful matching according to the matching request, and sends the character information to the smart phone through the second network connection, and the user can see that the character information displayed on the smart phone prompts that the game control component, the game display component and the server are successfully matched, if the character information is that you are successfully matched.
Second, the game display component initiates authentication.
The connection established between the game control unit, the game display unit and the server requires the input of authentication information using a dedicated control unit of the game display unit, and optionally, the user can perform the matching process using only the game control unit by initiating authentication through the display unit without using the dedicated control unit of the game display unit to input information when establishing the connection.
FIG. 8 illustrates a flow chart of a method for initiating authentication by a gaming display unit as provided by an exemplary embodiment of the present application. The method may be applied to the implementation environment shown in fig. 2, where the method is applied to a game control unit, the game control unit being separate from a game display unit, and the method may include the steps of:
step 801, the game display component enters a cloud game and logs in a cloud game account.
Optionally, an application program of the cloud game, or an application program supporting the cloud game, or an applet of the cloud game is installed on the game display unit. The game display component is exemplified to be installed with an application program of a cloud game, and illustratively, an account number of a user is logged in the application program of the cloud game, and the account number is used for verifying the identity of the user or receiving prompt information.
Fig. 9 shows a block diagram of a game display unit provided in an exemplary embodiment of the present application, the game display unit including an authentication module 111, a calculation module 112, a communication module 113, and a display module 114.
The authentication module 111 is used for performing identity verification when connection is established between the control component of the game and the server; the calculation module 112 is used for providing logic calculation for the authentication module 111, such as calculating whether the game control unit connected with the game display unit corresponds to the server one by one; the communication module 103 is configured to send an authentication request or a game screen of the cloud game to the server; the display module 114 is used for displaying a game screen or authentication information of the cloud game.
An authentication module 111 in the game display unit may be used in the above-described process of verifying the identity of the user.
Step 802, the game display component sends an authentication request to the server via the first network connection, the authentication request carrying an account identifier of the game display component.
The communication module 103 in the game display component is used for sending an authentication request to the server, wherein the authentication request carries the account identifier of the game display component.
Step 803, the server generates authentication information according to the authentication request, wherein the authentication information carries the account identifier of the game display component.
The following description is made in conjunction with the relationship between the two pairs of authentication information in the table, the type of the game display unit, and the account id of the game display unit.
Watch two
| Account number identification of game display component | Type of game display unit | Authentication information |
| 2019082813420001 | Notebook computer | Information in the form of speech |
| 2019082814130002 | Tablet personal computer | Information in the form of characters |
| 2019082816020003 | Television receiver | Graphic code |
The account id 2019082813420001 of the game control unit is used to indicate the game display unit of the 0001 st login game account at 13 o 42/h 28/08/2019, and the type of the account id of the game display unit is not limited in this embodiment.
Schematically, the authentication information is a graphic code for example. The server generates information in the form of a graphic code according to the authentication request, wherein the information carries the account identification of the game display component. Optionally, the authentication information has a dynamic update mechanism, and it can be set that the authentication information can be updated in a fixed time interval. In one example, the graphical code is updated every 60 seconds.
At step 804, the server sends authentication information to the game display unit via the first network connection.
Illustratively, the server sends the authentication information in the form of voice to the game control display unit via the first network connection.
At step 805, the game display unit receives authentication information sent by the server via the first network connection.
Illustratively, the game display part is a notebook computer, and the notebook computer automatically plays the authentication information in the voice form after receiving the authentication information in the voice form sent by the server through the first network connection.
Step 806 of receiving an input operation while the game display means displays a screen flow of authentication information provided by the server through the first network connection.
The input operation is for inputting authentication information displayed by the game display means, the authentication information being generated by the server based on the account id of the game display means.
The user needs to input the authentication information displayed on the game display part on the game control part. The game control component is a smart phone, the game display component is an electronic watch, in one example, a series of numbers sent by a server through a first network connection are received by a television, a user needs to input the series of numbers on the smart phone, in another example, the game control component is a smart phone, the game display component is a notebook computer, in one example, the notebook computer receives information in a voice form sent by the server through the first network connection, and the user inputs authentication information on the smart phone according to the voice information.
In step 807, the game control component sends a match request to the server over the second network connection, the match request carrying the authentication information.
After the game control unit finishes inputting the authentication information, a matching request is sent to the server through the second network connection, and the matching request carries the input authentication information.
Step 808a, the server sends a match success message to the game display unit via the first network connection.
The game display unit is exemplified by a television. In one example, the matching success information sent by the server to the television through the first network connection is information of a video type, the server generates a picture stream passing authentication according to the matching request and codes the picture stream, the server sends the coded picture stream to the television, and the television decodes the picture stream, so that a picture corresponding to the matching success information is displayed on the television to prompt the user that the game display component, the game control component and the server are matched successfully.
Step 808b, the server sends a match success message to the game control component via the second network connection.
In synchronization with step 808a, the game control unit is a smartphone as an example. In one example, the matching success information sent by the server to the television over the second network connection is an audio type of information, and the smartphone generates an alert tone to prompt the user that the game control unit, the game display unit, and the server match successfully.
It can be understood that at least one of the game control component and the game display component is provided with an application program (or an application program supporting the cloud game) or an applet of the cloud game, when a special control component of the game display component is not needed, a user account needs to be logged in from the game display component side, and corresponding authentication information is input in the game control component; when the control means dedicated to the game display means is required, it is necessary to register a user account from the game control means side and input authentication information in the game control means via the dedicated control means of the game control means.
In summary, when a dedicated control component of the game display component is not needed, the interaction process between the user and the component when the connection among the game control component, the game display component and the server is established can be simplified, and the user can understand easily; when the game display component is a special control component, a user can use the game display component with single function to establish connection with the server, and the user can select the game display component and the game control component according to actual conditions.
Fig. 10 is a flowchart illustrating a method for establishing a connection with a server according to an exemplary embodiment of the present application. The method can be applied to the implementation environment shown in fig. 2, the method is applied to a server of a cloud game, and the method can include the following steps:
step 1001 establishes a first network connection with the game display unit and a second network connection with the game control unit.
The establishment of a connection of the server with the game display unit 110 and the game control unit 100 will be described with reference to fig. 11.
Optionally, the first network connection comprises a wireless network connection and a wired network connection, and the second network connection comprises a wireless network connection. The embodiments of the present application are described by taking an example in which the first network connection is a wired network connection and the second network connection is a wireless network connection.
Illustratively, the server 140 establishes a wired network connection with the game display unit 110 and the server 140 establishes a wireless network connection with the game control unit 110.
Step 1002 provides a game screen stream to a game display unit over a first network connection.
The game picture stream is also named as a video stream, and means that video data can be stably and continuously transmitted through a network. Optionally, the server 140 includes a communication module 123, the communication module 123 providing the game screen stream to the game display unit 110 over the first network connection.
Taking the game display 110 as an example of a television, in one example, the server 140 provides a stream of game screens to the television over a wired network connection, the stream of game screens being a stream of screens for a user in a cloud game process.
Step 1003, receiving the game control command sent by the game control component through the second network connection.
Illustratively, the communication module 123 of the server 140 receives the game control instruction sent by the control unit through a wireless network connection.
Taking the game control component 100 as an example of a smartphone, in one example, the server 140 receives a game control command sent by the smartphone through a wireless network connection, where the game control command is a movement control command according to which a virtual object controlled by a user can move.
Step 1004, generating an updated game screen stream according to the game control command.
Optionally, the server 140 further includes a calculating module 123, and the calculating module 123 generates an updated game screen stream according to the game control instruction. In one example, the calculation module 123 generates a game screen flow of the virtual object movement controlled by the user according to the movement control instruction, and updates the game screen flow when the virtual object does not move.
Step 1005 provides the updated picture stream to the game display unit over the first network connection.
Illustratively, the communication module 123 in the server 140 provides the updated screen stream, in which the virtual object moves according to the user's movement control operation, to the game display section 110 via the wired network. Alternatively, the communication module 113 in the game display unit 110 may decode the picture stream transmitted by the server and transmit the decoded picture stream to the display module 114, and the user may perform a control operation according to the game picture displayed by the game display unit 110.
Optionally, the wireless network connection related to the above embodiments includes a mobile communication network connection and a wireless local area network connection. Illustratively, the server 140 sends the game control commands to the server via a mobile communication network (e.g., 5G), or the game control component may be via a Wireless local area network (e.g., WiFi).
The matching between the game control unit, the game display unit, and the server and the control of the cloud game by the user using the game control unit will be described below. Fig. 12 is a flowchart illustrating a method for controlling a cloud game, which may be applied to the implementation environment shown in fig. 2 and includes the steps in fig. 6, according to another exemplary embodiment of the present application, and the following steps are described with respect to steps 608a and 608 b:
in step 1209, the game control section receives a game control operation while the game display section displays the game screen stream provided by the server through the first network connection.
The game control unit will be described with reference to fig. 13. Optionally, the game control unit comprises keys, or the game control unit comprises keys and a display screen, or the game control unit comprises a display screen. As shown in fig. 13, thegame control unit 200 includesbuttons 201, thegame control unit 210 includes adisplay 211 andbuttons 212, and thegame control unit 220 includes adisplay 211. Optionally, the game control part further comprises a scroll wheel and a touch panel.
The method is that the game control part initiates an authentication request, authentication information is input in the game display part, the game control part needs to have the function of receiving control operation and the authentication information, the game control part in fig. 13 can realize the method, for example, the authentication information is information in a voice form, and thegame control part 200 can play the authentication information through a loudspeaker.
Illustratively, the communication module in the game control section receives a game control operation of a user, which is an operation of controlling the progress of the cloud game.
At step 1210, the game control component generates game control instructions based on the game control operations.
In one example, the game control operation is a pause game operation, and the input module in the game control part generates a pause game instruction according to the pause game operation, and the pause game instruction is sent to the communication module through the computing module.
Step 1211, the game control component sends the game control instruction to the server over the second network connection.
In one example, the game control instruction is a game pause instruction, and the communication module in the game control unit transmits the game pause instruction to the server through the mobile communication network connection.
In step 1212, the server generates an updated game screen stream according to the game control instruction.
In one example, a computing module in the server generates an updated game screen stream according to the game pause instruction, the updated game screen stream being a screen stream in which the game is still, and the computing module transmits the updated game screen stream to the communication module.
The server provides 1213 the updated game view stream to the game display unit over the first network connection.
The game display unit will be described with reference to fig. 14. Alternatively, the game display unit is exemplified by atelevision 230, anotebook computer 240, and atablet computer 250.
In one example, the communication module in the server provides the updated game view stream, which is a static view stream of the game, to thetablet 240 over the wired network connection.
In step 1214, the game display means displays the updated game screen.
Alternatively, the game display section needs to decode the updated game screen.
In one example, thetablet computer 250 decodes the updated game picture stream, the computing module in thetablet computer 250 can decode the game picture stream, and sends the decoded game picture stream to the display module, and then thetablet computer 250 displays the updated game picture, which is a picture in which the game is still.
The matching between the game control unit, the game display unit, and the server and the control of the cloud game by the user using the game control unit will be described below. Fig. 15 is a flowchart illustrating a method for controlling a cloud game, which may be applied to the implementation environment shown in fig. 2 and includes the steps in fig. 8, according to another exemplary embodiment of the present application, and the following steps are described with respect to steps 808a and 808b, and are followed by:
in step 1509, the game control section receives a game control operation in the course of the game display section displaying the game screen stream provided by the server through the first network connection.
The method is that the game display part initiates an authentication request, authentication information is input in the game control part, the game control part needs to have the function of receiving control operation and the authentication information, and thegame control part 210 and thegame control part 220 in fig. 13 can both realize the method, for example, the authentication information is information in the form of characters, a user can input the authentication information through thekeys 212 of thegame control part 210, and the input result is seen on thedisplay screen 211.
Illustratively, the game control operation is a spin control operation, and the communication module in the game control section receives the spin control operation by the user.
At step 1510, the game control unit generates a game control command according to the game control operation.
In one example, the game control operation is a rotation control operation, and the input module in the game control part generates a rotation control instruction according to the rotation control operation, and the rotation control instruction is sent to the communication module through the computing module.
Step 1511, the game control component sends the game control instruction to the server via the second network connection.
In one example, a communication module in the game control unit sends game control commands, such as game control command spin control commands, to a server over a mobile communication network connection.
In step 1512, the server generates an updated game view stream according to the game control command.
In one example, a computing module in the server generates an updated game screen flow according to the rotation control instruction, the updated game screen flow is a game screen flow corresponding to the rotation of the virtual object in the cloud game, and the computing module sends the updated game screen flow to the communication module.
Step 1513, the server provides the updated game screen stream to the game display unit via the first network connection.
In one example, the game display component is atelevision 230, and the communication module in the server provides an updated game screen stream to thetelevision 230 over the wired network connection, the updated game screen stream being a game screen stream corresponding to a virtual object in a cloud game being rotated.
In step 1514, the game display unit displays the updated game screen.
In one example, thetv 230 transmits the game screen stream to the display module, and thetv 230 displays the updated game screen, which is a screen on which the virtual object rotates.
Optionally, the game is a battle type game, a large fleeting and killing type game, an Augmented Reality (AR) type game, a Virtual Reality (VR) type game, a Mixed Reality (MR) type game, a first person shooting type game, a sandbox type game, a sports type game, a fostering type game, an educational type game, a leisure type game, an adventure type game, a board type game, or the like.
The following are embodiments of an apparatus of the present application that may be used to perform embodiments of the methods of the present application. For details which are not disclosed in the device embodiments of the present application, reference is made to the method embodiments of the present application.
Fig. 16 is a block diagram illustrating a control apparatus of a cloud game provided in an embodiment of the present application, the apparatus being provided with a game control unit, the game control unit being separate from a game display unit, the apparatus including: aninput module 1610, afirst communication module 1620, and a calculation module 1630.
Aninput module 1610 configured to receive a game control operation during a process in which a game display unit displays a game screen stream, the game screen stream being provided by a server through a first network connection;
theinput module 1610 is configured to generate a game control instruction according to a game control operation;
afirst communication module 1620 configured to send the game control instruction to the server via a second network connection, the second network connection being a connection established between the game control unit and the server.
In an alternative embodiment, the second network connection comprises a wireless network connection; thefirst communication module 1620 is further configured to send a game control instruction to the server through a wireless network connection.
In an alternative embodiment, the wireless network connection includes a mobile communication network connection and a wireless local area network connection; thefirst communication module 1620 is further configured to send a game control instruction to a server through a mobile communication network connection; or, thefirst communication module 1620 is further configured to send the game control instruction to the server through a wireless local area network connection.
In an optional embodiment, thefirst communication module 1620 is further configured to send an authentication request to the server through the second network connection, where the authentication request carries an account id of the game control component; theinput module 1610 is further configured to receive authentication information sent by the server through the second network connection, where the authentication information is generated by the server according to the account id of the game control component; theinput module 1610 is further configured to receive matching success information sent by the server through the second network connection, where the matching success information is sent by the server after receiving a matching request sent by the game display component, and the matching request carries authentication information.
In an alternative embodiment, theinput module 1610 is further configured to receive an input operation when the game display component displays a picture stream of authentication information provided by the server through the first network connection, where the input operation is used to input the authentication information, and the authentication information is generated by the server according to the account id of the game display component; thecommunication module 1620 is further configured to send a matching request to the server through the second network connection, where the matching request carries the authentication information; theinput module 1610 is further configured to receive matching success information sent by the server through the second network connection.
Fig. 17 is a block diagram illustrating a control apparatus of a cloud game provided in another exemplary embodiment of the present application, in which a server of the cloud game is provided, the apparatus including: aconnection module 1710, asecond communication module 1720, and acomputing module 1730.
Aconnection module 1710, configured to establish a first network connection with the game display unit and a second network connection with the game control unit;
asecond communication module 1720 for providing a game screen stream to the game display unit over the first network connection;
thesecond communication module 1720 is configured to receive a game control instruction sent by the game control component through a second network connection;
the calculatingmodule 1730 is configured to generate an updated game screen stream according to the game control instruction.
In an alternative embodiment, the second network connection comprises a wireless network connection; thesecond communication module 1720 is further configured to receive a game control instruction sent by the game control component through a wireless network connection.
In an alternative embodiment, the wireless network connection includes a mobile communication network connection and a wireless local area network connection; thesecond communication module 1720 is further configured to receive a game control instruction sent by the game control component through a mobile communication network connection; or, thesecond communication module 1720 is further configured to receive, through a wireless local area network connection, a game control instruction sent by the game control component.
In an alternative embodiment, the apparatus further comprises areceiving module 1740; thereceiving module 1740 is configured to receive an authentication request sent by the game control component through the second network connection, where the authentication request carries an account id of the game control component; thecomputing module 1730 is further configured to generate authentication information according to the authentication request, where the authentication information carries an account identifier of the game control component; thesecond communication module 1720, configured to send authentication information to the game control unit via a second network connection; thereceiving module 1710 is further configured to receive a matching request sent by the game display component through the first network connection, where the matching request carries authentication information; thesecond communication module 1730 is further configured to send matching success information to the game display unit through the first network connection; thesecond communication module 1730 is further configured to send matching success information to the game control unit through a second network connection.
In an optional embodiment, thereceiving module 1740 is further configured to receive an authentication request sent by the game display component through the first network connection, where the authentication request carries an account identifier of the game display component; thecomputing module 1730 is further configured to generate authentication information according to the authentication request, where the authentication information carries an account identifier of the game display component; thesecond communication module 1730 is further configured to send authentication information to the game display unit through the first network connection; thereceiving module 1740 is further configured to receive a matching request sent by the game control component through the second network connection, where the matching request carries authentication information; thesecond communication module 1730 is further configured to send matching success information to the game display unit through the first network connection; thesecond communication module 1730 is further configured to send matching success information to the game control unit through a second network connection.
The embodiment of the present application further provides a computer device, where the computing mobile phone device includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the control method of the cloud game provided by the foregoing method embodiments.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the control method of the cloud game provided in the above method embodiments.
In some embodiments, the game display unit, the game control unit, the server, and the terminal may be nodes 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 nodes in a network communication manner. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network. The node comprises a hardware layer, a middle layer, an operating system layer and an application layer.
Fig. 18 is a schematic structural diagram illustrating a distributed system 100 applied to a blockchain system according to an exemplary embodiment of the present application, where functions of each node in the blockchain system include:
1. routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2. the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
the wallet is used for providing functions of conducting transactions of electronic money, and comprises the steps of initiating the transactions (namely, sending transaction records of current transactions to other nodes in the blockchain system, and storing the record data of the transactions into a temporary block of the blockchain as a response for confirming that the transactions are valid after the other nodes are successfully verified), and of course, the wallet also supports the inquiry of the electronic money remaining in the electronic money address.
The shared account book is used for providing functions of operations such as storage, query and modification of account data, sending the record data of the operations on the account data to other nodes in the block chain system, and after the other nodes verify that the record data are valid, storing the record data into a temporary block as a response for acknowledging that the account data are valid, and also sending confirmation to the node initiating the operations. For example, the shared ledger may send information confirming the match to the node where the game display component is located.
Intelligent contracts, computerized agreements, which can enforce the terms of a contract, are implemented by codes deployed on a shared ledger for execution when certain conditions are met, are used to complete automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to a merchant's address after the buyer signs for goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information. For example, when receiving a game control command from the game control unit, the game display unit displays a corresponding game screen according to the smart contract.
3. And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks. For example, the node where the server is located in the blockchain records data corresponding to game records of the cloud game, the node where the game control component is located records data corresponding to game control operations, and the node where the game display component is located records data corresponding to authentication information in the matching process.
Referring to fig. 19, fig. 19 is a schematic diagram illustrating a block structure (blockastructure) provided in an exemplary embodiment of the present application, where each block includes a hash value of a transaction record (hash value of the block) stored in the block and a hash value of a previous block, and the blocks are connected by the hash values to form a block chain. The block may include information such as a time stamp at the time of block generation. The blockchain is essentially a decentralized database, which is a string of data blocks associated by cryptographic methods, each data block containing relevant information for verifying the validity of the information (anti-counterfeiting) and generating the next block.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.