WO2023098017A1 - 云游戏的控制方法及装置、存储介质及电子设备 - Google Patents

云游戏的控制方法及装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2023098017A1
WO2023098017A1 PCT/CN2022/098212 CN2022098212W WO2023098017A1 WO 2023098017 A1 WO2023098017 A1 WO 2023098017A1 CN 2022098212 W CN2022098212 W CN 2022098212W WO 2023098017 A1 WO2023098017 A1 WO 2023098017A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
instruction
client
cloud
server
Prior art date
Application number
PCT/CN2022/098212
Other languages
English (en)
French (fr)
Inventor
莫筱羽
Original Assignee
广州博冠信息科技有限公司
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 广州博冠信息科技有限公司 filed Critical 广州博冠信息科技有限公司
Publication of WO2023098017A1 publication Critical patent/WO2023098017A1/zh

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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • 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/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers

Definitions

  • the present disclosure relates to the technical field of games, and in particular, to a cloud game control method, a cloud game control device, a computer-readable storage medium, and electronic equipment.
  • Cloud games mean that the game runs on the server, and the rendered game screen is compressed and sent to the user through the network.
  • the user A game device does not require high-end configuration, but only needs to have basic video decompression capabilities.
  • multiple game devices can be supported. Due to the different game devices, the input methods for the same command on different game devices are different. For example, in terms of controlling the jumping of virtual objects in the game, on the mobile phone side, the virtual objects in the game are controlled to jump by clicking the jump control on the screen of the mobile phone, on the PC side, the virtual objects in the game are controlled to jump through the space bar on the keyboard, and PS On the other end, the jump of virtual objects in the game is controlled by the A button on the handle.
  • the purpose of the present disclosure is to provide a cloud game control method and device, a computer-readable storage medium, and an electronic device, which can solve the problem of different operation instructions corresponding to different game clients for the same game operation.
  • a cloud game control method including: acquiring an operation instruction input by the first game client, and converting the operation instruction into a game instruction; wherein, the type of the operation instruction is It is related to the game platform corresponding to the game client, the type of the game instruction is related to the cloud game server, the game instruction is set to indicate the game operation to be performed; the game instruction is sent to the cloud game server, so that the The cloud game server controls the game to execute corresponding game operations according to the game instructions.
  • a virtual cloud game control device the device includes: a game instruction conversion module, configured to obtain the operation instruction input by the first game client, and convert the operation instruction into Game instruction; wherein, the type of the operation instruction is related to the game platform corresponding to the game client, the type of the game instruction is related to the cloud game server, and the game instruction is set to indicate the game operation to be performed; the game operation control module , configured to send the game instruction to the cloud game server, so that the cloud game server controls the game to perform corresponding game operations according to the game instruction.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the cloud game control method as described in the first aspect of the above-mentioned embodiments is implemented .
  • an electronic device including:
  • the memory is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are configured to implement the first aspect of the above-mentioned embodiment The control method of the cloud game described above.
  • FIG. 1 schematically shows a flow chart of a cloud game control method in an exemplary embodiment of the present disclosure
  • FIG. 2 schematically shows a flow chart of acquiring an operation instruction input by a second game client and converting the operation instruction into a game instruction in an exemplary embodiment of the present disclosure
  • FIG. 3 schematically shows a flow chart of converting an operation instruction into a game instruction according to an instruction mapping rule in an exemplary embodiment of the present disclosure
  • FIG. 4 schematically shows a flow chart of converting a returned game instruction into an operation instruction corresponding to the game platform of the first game client through an instruction conversion interface in an exemplary embodiment of the present disclosure
  • Fig. 5 schematically shows a flow chart of decoding the screen information on the first game client to obtain the game screen and displaying the game screen on the display component of the first game client in an exemplary embodiment of the present disclosure
  • FIG. 6 schematically shows a flow chart of converting these operating instructions into game instructions through the SDK in an exemplary embodiment of the present disclosure
  • FIG. 7 schematically shows a flow chart of transferring the operating authority of the first game client to the second game client in an exemplary embodiment of the present disclosure
  • FIG. 8 schematically shows a schematic diagram of unifying operation instructions input by different game clients into game instructions in an exemplary embodiment of the present disclosure
  • Fig. 9 schematically shows a composition diagram of a cloud game control device in an exemplary embodiment of the present disclosure
  • FIG. 10 schematically shows a structural diagram of a computer system suitable for implementing electronic devices according to exemplary embodiments of the present disclosure.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure.
  • Cloud games mean that the game runs on the server, and the rendered game screen is compressed and sent to the user through the network.
  • the user A game device does not require high-end configuration, but only needs to have basic video decompression capabilities.
  • multiple game devices can be supported.
  • the same game can be played with different game devices, such as a mobile phone, a computer, or a game console.
  • the command input method of each game device can also be different.
  • the virtual objects of the game can be controlled to perform game actions through the touch operation acting on the screen of the mobile phone; or, when playing through a computer, you can use the The key operation of the keyboard controls the game virtual object to execute the game action, or, when playing through the game console, the game virtual object can be controlled to execute the game action through the key operation of the handle. That is, for the same game, different game devices can be used to play, and the game control methods of different game devices can also be different.
  • the input methods for the same command on different game devices are different.
  • the virtual objects in the game are controlled to jump by clicking the jump control on the screen of the mobile phone;
  • the computer controls the jump through the space bar on the keyboard; It controls the jump of the game virtual object through the A button on the handle;
  • the game virtual object is controlled by clicking the attack control on the mobile phone screen to attack, and the computer uses the mouse
  • the left button of the game controls the virtual object of the game to attack, while the game console controls the attack of the virtual object of the game through the X button on the handle;
  • the mobile control controls the movement of the game virtual object.
  • the computer controls the movement of the game virtual object through the right button of the mouse, while the game console controls the movement of the game virtual object through the joystick on the handle.
  • the cloud game control method may run on a terminal device or a server.
  • the terminal device may be a local terminal device.
  • the cloud game control method runs on the server, the cloud game control method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.
  • cloud games refer to game methods based on cloud computing.
  • the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, palmtop computer, etc.; but the terminal device that performs information processing It is a cloud game server in the cloud.
  • the player When playing a game, the player operates the client device to send an operation command to the cloud game server, and the cloud game server runs the game according to the operation command, encodes and compresses the game screen and other data, and returns it to the client device through the network. Decode and output the game screen.
  • the operation instruction input by the first game client can be obtained, and the operation instruction can be converted into a game instruction; wherein, the type of the operation instruction is related to the game platform corresponding to the game client, and the game instruction The type is related to the cloud game server, and the game command is sent to the cloud game server, so that the cloud game server controls the game to execute the corresponding game operation according to the game command.
  • FIG. 1 it shows a flowchart of a cloud game control method in this exemplary embodiment, which may include the following steps:
  • Step S110 Obtain the operation instruction input by the first game client, and convert the operation instruction into a game instruction; wherein, the type of the operation instruction is related to the game platform corresponding to the game client, and the type of the game instruction is related to the cloud game server.
  • the instructions are set to indicate the game action to be performed;
  • Step S120 Send the game instruction to the cloud game server, so that the cloud game server controls the game to execute the corresponding game operation according to the game instruction.
  • the operation instruction input by the client can be converted into the corresponding game instruction of the server, and the game operation is controlled according to the converted game instruction.
  • game developers do not need to carry out adaptive development for different game devices, and avoid considering the instruction input method of the same instruction on different game devices, which reduces the repetitive work of developers, thereby reducing the development cost of the game; on the other hand
  • the instructions input by the game device are converted into corresponding instructions on the server, the user does not need to adjust the control method, which reduces the user's playing cost and improves the player's game experience.
  • the game in the solution of the present disclosure may include various types of games, for example, such as TPS (Third Person Perspective Shooter), FPS (First Person Perspective Shooter), RPG (Role Playing games), ACT (action games), SLG (strategy games), FTG (fighting games), SPG (sports games), RCG (racing games), AVG (adventure games), etc., as long as it involves games
  • TPS Transmissiond Person Perspective Shooter
  • FPS First Person Perspective Shooter
  • RPG Role Playing games
  • ACT action games
  • SLG slow-likegy games
  • FTG fighting games
  • SPG sports games
  • RCG racing games
  • AVG adventure games
  • steps S110-S120 of the cloud game control method in this exemplary embodiment will be described in more detail with reference to FIG. 1 and the embodiment.
  • Step S110 obtaining an operation instruction input by the first game client, and converting the operation instruction into a game instruction;
  • the first game client may include various game clients.
  • the first game client may include a mobile phone client, the first client may also include a computer client, and the first client may also include a game console client. It should be noted that, the present disclosure does not specifically limit the specific type of the game client.
  • an operation instruction input by the first game client may be acquired.
  • the operation instruction refers to an instruction input through the first game client.
  • the operation instructions may include keyboard button instructions, touch instructions, voice control instructions, handle button instructions, etc., wherein the touch instructions may include slide touch instructions, press touch instructions, gesture touch instructions, long press touch instructions, click Touch commands, drag touch commands, etc.
  • the first game client is a mobile phone client, and the player can control the game to perform corresponding game operations through a touch command acting on the screen of the mobile phone, that is, the touch command can be obtained at this time. It should be noted that, the present disclosure does not specifically limit the specific form of the operation instruction.
  • the type of the operation instruction is related to the game platform corresponding to the game client.
  • the game client is a mobile phone client
  • the corresponding game platform is a mobile phone platform
  • the type of the operation command is the touch input type, that is, the player can control the game to execute the corresponding game through the touch command acting on the mobile phone screen.
  • Game operation if the game client is a game console client, the corresponding game platform is a game console platform, and the type of operation command is the handle input type, that is, the player can control the game to execute the corresponding game through the buttons or joystick on the handle Operation; if the game client is a computer client, the corresponding game platform is a computer platform, and the type of operation instruction is keyboard and mouse input type, that is, the player can control the game to execute the corresponding game operation through the keys on the keyboard or the mouse. It should be noted that, the present disclosure does not specifically limit the first type of execution type to the game platform corresponding to the game client.
  • the types are different in different game clients.
  • the virtual objects in the game are controlled to jump by clicking the jump control on the screen of the mobile phone; on the computer, the virtual objects in the game are controlled to jump through the space bar on the keyboard;
  • the jumping of the game virtual object is controlled by the A button on the handle, that is, in different game clients, the method of setting to control the game virtual object to jump is different, but the goal to be achieved is essentially the same.
  • the operation instruction may be converted into a game instruction.
  • the type of the game instruction is related to the cloud game server, that is, the type of the game instruction refers to the type corresponding to the cloud game server and can be received by the cloud server, and the game instruction is set to indicate the game operation to be performed.
  • converting an operation instruction into a game instruction refers to converting the type of the operation instruction into the type of the game instruction, that is, converting the type of the operation instruction input by the game client into a type of instruction that the cloud game server can receive.
  • the jump is controlled by the A key on the game machine side.
  • the input "A key” is an operation command
  • the corresponding game command is a jump command
  • the cloud game server can only receive game instructions and execute corresponding game operations according to the game instructions. Therefore, it is necessary to convert operation instructions into game instructions.
  • the game operation corresponding to the operation instruction can be searched, and the instruction corresponding to the game operation can be determined as the game instruction, so as to complete the process of converting the operation instruction into the game instruction.
  • a conversion tool for converting operation instructions into game instructions can be set in the SDK (Software Development Kit), and the operation instructions can be converted into game instructions through the SDK. It should be noted that the present disclosure does not specifically limit the specific manner of converting the operation instruction into the game instruction.
  • the operation authority of the first game client in response to the authority transfer operation, may be transferred to the second game client, the operation instruction input by the second game client may be acquired, and the operation instruction may be converted into a game instruction.
  • obtaining the operation instruction input by the second game client and converting the operation instruction into a game instruction may include the following steps S210-S220:
  • Step S210 in response to the authority transfer operation, transferring the operation authority of the first game client to the second game client;
  • step S220 the operation instruction input by the second game client is obtained, and the operation instruction is converted into a game instruction.
  • the operation authority of the first game client in response to the authority transfer operation, is transferred to the second game client.
  • the permission transfer operation may include button operation, touch operation, voice control, etc., wherein the touch operation may include sliding touch operation, press touch operation, gesture touch operation, long press touch operation, click touch operation, etc. Touch operation, drag touch operation, etc. It should be noted that, the present disclosure does not specifically limit the form of the rights transfer operation.
  • the operation authority of the first game client can be transferred to the second game client through one authority transfer operation, or the operation authority of the first game client can be transferred to the second game client through multiple authority transfer operations.
  • the first game client is a mobile phone.
  • the game client transfer interface can be opened by one touch operation, and then the game client to be transferred can be selected in the game client transfer interface by one touch operation. It should be noted that the present disclosure does not specifically limit the number of operations of the authority transfer operation.
  • transferring the operation authority of the first game client to the second game client means that the second game client controls the game operation of the first game client, that is, the game is played through the first game client.
  • the running of the client is only controlled by the second game client.
  • the operation instruction input by the second game client can be obtained, and the operation instruction can be converted into a game instruction .
  • the first game client receives the game instruction and sends the game instruction to the cloud game server. Specifically, after the operation instruction is converted into the game instruction, the converted game instruction can be sent to the first game client, and then the game instruction is sent to the cloud game server through the first game client.
  • the operation authority of the first game client in response to the authority transfer operation, can be transferred to the second game client, the operation instruction input by the second game client can be acquired, and the operation instruction can be converted into a game instruction.
  • an instruction mapping rule between an operation instruction and a game instruction may be acquired, and the operation instruction may be converted into a game instruction according to the instruction mapping rule.
  • converting the operation instruction into the game instruction according to the instruction mapping rule may include the following steps S310-S320:
  • Step S310 acquiring the instruction mapping rules between operation instructions and game instructions
  • Step S320 converting the operation instruction into a game instruction according to the instruction mapping rule.
  • an instruction mapping rule between an operation instruction and a game instruction may be acquired.
  • the instruction mapping rule between the operation instruction and the game instruction refers to the mapping rule for converting the operation instruction into the game instruction, and the operation instruction can be converted into the game instruction through the instruction mapping rule.
  • the instruction mapping rule may include an instruction mapping table, and the instruction mapping table includes a mapping relationship between an operation instruction and a game instruction, and the operation instruction may be converted into a game instruction through the mapping relationship between the operation instruction and the game instruction. It should be noted that, the present disclosure does not specifically limit the specific form of the instruction mapping rule.
  • the instruction mapping rules of the operation instruction and the game instruction can be obtained, and the operation instruction can be converted into the game instruction according to the instruction mapping rule.
  • Step S120 sending the game instruction to the cloud game server, so that the cloud game server controls the game to execute the corresponding game operation according to the game instruction.
  • the game instruction when the game instruction is obtained through the above steps, can be sent to the cloud game server.
  • the conversion process from the operation instruction to the game instruction can be completed in the first game client, and the game instruction can be sent to the cloud game server.
  • the operation instruction can also be sent to the instruction processing middleware, the conversion process of the operation instruction to the game instruction is completed in the instruction processing middleware, and the game instruction is sent to the cloud game server, wherein the instruction processing middleware It can be set outside the first game client and the cloud game server, or it can also be set in the cloud game server.
  • the present disclosure does not specifically limit the specific location for converting the operation instruction into the game instruction.
  • the game instruction After the game instruction is obtained, the game instruction can be sent to the cloud game server. It should be noted that the present disclosure does not specifically limit the specific manner of sending the game instruction to the cloud game server.
  • the game operation corresponding to the game instruction can be controlled according to the game instruction.
  • the game operation to be performed by the game instruction is jumping
  • the game virtual object may be controlled to perform the jumping operation.
  • the present disclosure does not specifically limit the specific manner of controlling the game to execute corresponding game operations according to the game instructions.
  • the cloud game server when the cloud game server returns the game instructions to the first game client, it can generate the returned game instructions, and convert the returned game instructions into the first game instruction through the instruction conversion interface.
  • Operation instructions corresponding to the game platform of the game client Referring to FIG. 4 , converting the returned game instruction into an operation instruction corresponding to the game platform of the first game client through the instruction conversion interface may include the following steps S410-S420:
  • Step S410 when the cloud game server sends back the game instructions to the first game client, generate a game instruction to send back;
  • Step S420 converting the returned game instruction into an operation instruction corresponding to the game platform of the first game client through the instruction conversion interface.
  • the cloud game server may send back the game instruction to the first game client according to the game instruction.
  • the type of the returned game instruction is the same as the type of the game instruction. Specifically, in some games, after sending the game instruction to the cloud game server, the cloud game server will send back the game instruction, and at this time, a returned game instruction will be generated.
  • the cloud game server may include instruction conversion interfaces corresponding to multiple game platforms.
  • the command conversion interface corresponding to the game platform refers to an interface that can convert the returned game command into a corresponding type of command of the game platform.
  • the game platform corresponding to the first game client can be obtained, and the instruction conversion interface corresponding to the game platform can be called in the cloud game server, and the returned game instruction can be converted into the game of the first game client Operating instructions corresponding to the platform.
  • the present disclosure does not specifically limit the specific manner of converting the returned game instruction into an operation instruction corresponding to the game platform of the first game client through the instruction conversion interface.
  • the cloud game server when the cloud game server returns the game instruction to the first game client, it can generate the returned game instruction, and convert the returned game instruction into the first game client through the instruction conversion interface. Operation instructions corresponding to the game platform.
  • the game screen may be displayed on the display component of the first game client.
  • the display component of the first game client refers to a device component configured to display a game screen.
  • the display component is a mobile phone screen
  • its display component is a monitor.
  • the present disclosure does not specifically limit the specific type of the display component of the first game client.
  • the game screen can be encoded to obtain screen information, and the screen information can be sent to the first game client, and the screen information can be decoded on the first game client to obtain the game screen, and the A game screen is displayed on the display component of the first game client.
  • decoding the screen information on the first game client to obtain the game screen, and displaying the game screen on the display component of the first game client may include the following steps S510-S520:
  • Step S510 encoding the game screen to obtain screen information, and sending the screen information to the first game client;
  • the cloud game server controls the game to execute corresponding game operations according to the game instructions, it can obtain the corresponding game screen of the game, and encode the game screen to obtain screen information.
  • image coding is essentially to compress images, transform and combine the image source data to be processed according to certain rules, so that as much information as possible can be expressed with as few symbols as possible.
  • game screens can be coded by means of entropy coding, predictive coding, transform coding, hybrid coding, etc. to obtain screen information. Then send the encoded picture information to the first game client. It should be noted that the present disclosure does not specifically limit the specific manner of encoding the game screen to obtain the screen information.
  • Step S520 decode the screen information on the first game client to obtain the game screen, and display the game screen on the display component of the first game client.
  • the picture information may be decoded on the first game client to obtain the game picture.
  • decoding the picture information is essentially a process of decompressing the coded picture information, that is, decoding the picture information into a game picture, and displaying it on the display component of the first game client. It should be noted that the present disclosure does not specifically limit the specific manner of decoding the screen information to obtain the game screen.
  • the game screen can be encoded to obtain the screen information, and the screen information can be sent to the first game client, and the screen information can be decoded on the first game client to obtain the game screen, and the game screen can be obtained in the first game
  • the game screen is displayed on the display component of the client.
  • multiple operating instructions can be input through the game client, such as the "X" key on the handle, the “space bar” on the keyboard, and the “jump control” on the mobile phone.
  • These operating instructions are converted into game instructions through the SDK, and game operations are defined for the game instructions.
  • transferring the operation authority of the first game client to the second game client when transferring the operation authority of the first game client to the second game client, the second client can input an operation instruction, convert the operation instruction into a game instruction, and then transfer the game instruction Send to the first game client, and send the first game client to the cloud game server, so that the cloud game server controls the game to execute the corresponding game operation according to the game instruction.
  • transferring the operation authority of the first game client to the second game client may include the following steps S710-S740:
  • Step S710 transfer the operation authority of the first game client to the second game client;
  • Step S720 convert the operation instruction into a game instruction;
  • Step S730 send the game instruction to the first game client, and transfer the first game client Send it to the cloud game server;
  • step S740 the cloud game server controls the game to execute the corresponding game operation according to the game instruction.
  • the operation instructions input by different game clients (the operation instructions input by the A game client, the operation instructions input by the B game client, the operation instructions input by the C game client)
  • the input operation instruction is converted into a game instruction, and the game instruction is sent to the cloud game server, and the cloud game server controls the game to execute the corresponding game operation according to the game instruction.
  • the operation instruction input by the first game client is obtained, and the operation instruction is converted into a game instruction, and the game instruction is sent to the cloud game server, so that the cloud game server controls the game according to the game instruction Execute the corresponding game operation.
  • the instructions input by the client can be converted into corresponding instructions of the server, and game operations can be controlled according to the converted instructions.
  • game developers do not need to carry out adaptive development for different game devices, and avoid considering the instruction input method of the same instruction on different game devices, which reduces the repetitive work of developers, thereby reducing the development cost of the game; on the other hand
  • the instructions input by the game device are converted into corresponding instructions on the server, the user does not need to adjust the control method, which reduces the user's playing cost and improves the player's game experience.
  • a cloud game control device includes: a game command conversion module 910 and a game operation control module 920 .
  • the game instruction conversion module is configured to obtain the operation instruction input by the first game client, and convert the operation instruction into a game instruction; wherein, the type of the operation instruction is related to the game platform corresponding to the game client, and the type of the game instruction is related to the game platform corresponding to the game client.
  • the game command is set to indicate the game operation to be performed; the game operation control module is set to send the game command to the cloud game server, so that the cloud game server controls the game to execute the corresponding game operation according to the game command.
  • the operation instruction input by the first game client is obtained, and the operation instruction is converted into a game instruction.
  • the transfer operation is to transfer the operation authority of the first game client to the second game client; the first instruction conversion unit is configured to obtain the operation instruction input by the second game client, and convert the operation instruction into a game instruction.
  • the game instruction is sent to the cloud game server
  • the device further includes: an instruction sending unit configured to receive the game instruction from the first game client and send the game instruction to the cloud game server.
  • the operation instruction is converted into a game instruction
  • the device further includes: an instruction mapping rule acquisition unit configured to obtain an instruction mapping rule between the operation instruction and the game instruction; the second instruction The conversion unit is configured to convert the operation instruction into the game instruction according to the instruction mapping rule.
  • the cloud game server has instruction conversion interfaces corresponding to multiple game platforms. After the cloud game server controls the game to perform corresponding game operations according to the game instructions, the device further includes:
  • the return game instruction generation unit is configured to generate a return game instruction when the cloud game server returns the game instruction to the first game client; wherein, the type of the return game instruction is the same as the type of the game instruction; the third The instruction conversion unit is configured to convert the returned game instruction into an operation instruction corresponding to the game platform of the first game client through the instruction conversion interface.
  • the device after executing the corresponding game operation according to the game instruction, the device further includes: a game screen acquisition unit, configured to acquire a game screen corresponding to the game, and The game screen is displayed on the display component of the client.
  • the game screen is displayed on the display component of the first game client
  • the device further includes: a game screen encoding unit configured to encode the game screen to obtain screen information, and The picture information is sent to the first game client; the picture information decoding unit is configured to decode the picture information on the first game client to obtain the game picture, and display the game picture on the display component of the first game client.
  • the cloud game control device can convert the instructions input by the client into corresponding instructions of the server, and control the game operation according to the converted instructions.
  • game developers do not need to carry out adaptive development for different game devices, and avoid considering the instruction input method of the same instruction on different game devices, which reduces the repetitive work of developers, thereby reducing the development cost of the game; on the other hand
  • the user since the instructions input by the game device are converted into corresponding instructions on the server, the user does not need to adjust the control method, which reduces the user's playing cost and improves the player's game experience.
  • each functional module of the cloud game control device of the example embodiment of the present disclosure corresponds to the steps of the above example embodiment of the cloud game control method, for details not disclosed in the device embodiment of the present disclosure, please refer to the above-mentioned An embodiment of a cloud game control method.
  • an electronic device capable of implementing the above cloud game control method is also provided.
  • FIG. 10 An electronic device 1000 according to such an embodiment of the present disclosure is described below with reference to FIG. 10 .
  • the electronic device 1000 shown in FIG. 10 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • electronic device 1000 takes the form of a general-purpose computing device.
  • the components of the electronic device 1000 may include, but are not limited to: at least one processing unit 1010 described above, at least one storage unit 1020 described above, a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010), and a display unit 1040.
  • the storage unit stores program codes, and the program codes can be executed by the processing unit 1010, so that the processing unit 1010 executes the steps according to various exemplary embodiments of the present disclosure described in the “Exemplary Method” section above.
  • the processing unit 1010 may execute step S110 as shown in FIG. 1: acquire an operation instruction input by the first game client, and convert the operation instruction into a game instruction; The platform is related, the type of game instruction is related to the cloud game server, and the game instruction is set to indicate the game operation to be performed; Step S120: Send the game instruction to the cloud game server, so that the cloud game server controls the game to execute the corresponding game according to the game instruction operate.
  • the acquiring the operation instruction input by the first game client and converting the operation instruction into a game instruction includes: responding to the authority transfer operation, converting the The operation authority of the first game client is transferred to the second game client; the operation instruction input by the second game client is obtained, and the operation instruction is converted into a game instruction.
  • the sending the game instruction to the cloud game server includes: the first game client receives the game instruction, and sends the game instruction Send to the cloud game server.
  • converting the operation instruction into a game instruction includes: obtaining an instruction mapping rule between the operation instruction and the game instruction; according to the instruction mapping Rules convert the operational instructions into game instructions.
  • the cloud game server has instruction conversion interfaces corresponding to multiple game platforms, and the cloud game server controls the game to execute corresponding game operations according to the game instructions.
  • the method further includes: when the cloud game server returns the game instruction to the first game client, generating a returned game instruction; wherein, the type of the returned game instruction is related to the The types of the game instructions are the same; the returned game instructions are converted into operation instructions corresponding to the game platform of the first game client through the instruction conversion interface.
  • the method further includes: acquiring the game screen corresponding to the game, and The game screen is displayed on the display component at the terminal.
  • the method further includes: encoding the game screen to obtain a screen information, and send the screen information to the first game client; decode the screen information on the first game client to obtain a game screen, and display it on the display component of the first game client The game screen is displayed.
  • the electronic device provided by the present disclosure can convert the instruction input by the client into the corresponding instruction of the server, and control the game operation according to the converted instruction.
  • game developers do not need to carry out adaptive development for different game devices, and avoid considering the instruction input method of the same instruction on different game devices, which reduces the repetitive work of developers, thereby reducing the development cost of the game; on the other hand
  • the user since the instructions input by the game device are converted into corresponding instructions on the server, the user does not need to adjust the control method, which reduces the user's playing cost and improves the player's game experience.
  • the storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1021 and/or a cache storage unit 1022 , and may further include a read-only storage unit (ROM) 1023 .
  • RAM random access storage unit
  • ROM read-only storage unit
  • Storage unit 1020 may also include a program/utility 1024 having a set (at least one) of program modules 1025, such program modules 1025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.
  • program modules 1025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.
  • Bus 1030 may represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local area using any of a variety of bus structures. bus.
  • the electronic device 1000 can also communicate with one or more external devices 1070 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 1000, and/or communicate with Any device (eg, router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 1050 .
  • the electronic device 1000 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through the network adapter 1060 . As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 through the bus 1030 .
  • other hardware and/or software modules may be used in conjunction with electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the exemplary embodiments described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present disclosure.
  • a computing device which may be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium on which a program product capable of implementing the above-mentioned method in this specification is stored.
  • various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code.
  • the program code is configured to make the terminal device execute the above-mentioned Steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section.
  • the operation instruction input by the first game client is obtained, and the operation instruction is converted into a game instruction; wherein, the type of the operation instruction corresponds to the game platform of the game client Related, the type of the game instruction is related to the cloud game server, the game instruction is set to indicate the game operation to be performed; the game instruction is sent to the cloud game server, so that the cloud game server Control the game to perform corresponding game operations.
  • the acquiring the operation instruction input by the first game client and converting the operation instruction into a game instruction includes: responding to the authority transfer operation, converting the The operation authority of the first game client is transferred to the second game client; the operation instruction input by the second game client is obtained, and the operation instruction is converted into a game instruction.
  • the sending the game instruction to the cloud game server includes: the first game client receives the game instruction, and sends the game instruction Send to the cloud game server.
  • converting the operation instruction into a game instruction includes: obtaining an instruction mapping rule between the operation instruction and the game instruction; according to the instruction mapping Rules convert the operational instructions into game instructions.
  • the cloud game server has instruction conversion interfaces corresponding to multiple game platforms, and the cloud game server controls the game to execute corresponding game operations according to the game instructions.
  • the method further includes: when the cloud game server returns the game instruction to the first game client, generating a returned game instruction; wherein, the type of the returned game instruction is related to the The types of the game instructions are the same; the returned game instructions are converted into operation instructions corresponding to the game platform of the first game client through the instruction conversion interface.
  • the method further includes: acquiring the game screen corresponding to the game, and The game screen is displayed on the display component at the terminal.
  • the method further includes: encoding the game screen to obtain a screen information, and send the screen information to the first game client; decode the screen information on the first game client to obtain a game screen, and display it on the display component of the first game client The game screen is displayed.
  • the computer-readable storage medium provided by the present disclosure can convert the instructions input by the client into corresponding instructions of the server, and control the game operation according to the converted instructions.
  • game developers do not need to carry out adaptive development for different game devices, and avoid considering the instruction input method of the same instruction on different game devices, which reduces the repetitive work of developers, thereby reducing the development cost of the game; on the other hand
  • the user since the instructions input by the game device are converted into corresponding instructions on the server, the user does not need to adjust the control method, which reduces the user's playing cost and improves the player's game experience.
  • a computer readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium can also be any readable medium other than the readable storage medium, and the readable medium can send, propagate or transmit the program configured to be used by the instruction execution system, apparatus or device or used in combination with it.
  • Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code configured to perform the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming languages Language - such as "C" or similar programming language.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using an Internet service provider). business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider for example, using an Internet service provider

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种云游戏的控制方法及装置、计算机可读存储介质及电子设备,上述方法包括:获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令;其中,操作指令的类型与游戏客户端对应的游戏平台相关,游戏指令的类型与云游戏服务器相关,游戏指令设置为指示所要执行的游戏操作(S110);将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作(S120)。上述方法可以解决针对同一游戏操作在不同游戏客户端对应的操作指令不同的问题。

Description

云游戏的控制方法及装置、存储介质及电子设备
相关申请的交叉引用
本公开要求于2021年12月02日提交的申请号为202111459162.8、名称为“云游戏的控制方法及装置、存储介质及电子设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入本文。
技术领域
本公开涉及游戏技术领域,具体而言,涉及一种云游戏的控制方法、云游戏的控制装置、计算机可读存储介质及电子设备。
背景技术
随着终端设备以及游戏业的发展,出现了以云计算为基础的云游戏,云游戏是指游戏在服务器运行,将渲染完毕后的游戏画面压缩后通过网络传送给用户,在客户端,用户的游戏设备不需要高端的配置,只需要具有基本的视频解压能力即可。
在相关技术中,针对于同一个云游戏,可以支持多种游戏设备,由于游戏设备的不同,针对同一种指令在不同的游戏设备上的输入方式不同。举例而言,以控制游戏虚拟对象跳跃而言,在手机端是通过点击手机屏幕上的跳跃控件控制游戏虚拟对象进行跳跃,PC端是通过键盘上的空格键控制游戏虚拟对象进行跳跃,而PS端则是通过手柄上的A键控制游戏虚拟对象跳跃的。
需要说明的是,在上述背景技术部分公开的信息仅设置为加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。
发明内容
有鉴于此,本公开的目的在于提供一种云游戏的控制方法及装置、计算机可读存储介质及电子设备,可以解决针对同一游戏操作在不同游戏客户端对应的操作指令不同的问题。
根据本公开的第一方面,提供了一种云游戏的控制方法,包括:获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令;其中,所述操作指令的类型与游戏客户端对应的游戏平台相关,所述游戏指令的类型与云游戏服务器相关,所述游戏指令设置为指示所要执行的游戏操作;将所述游戏指令发送至云游戏服务器,以使所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作。
根据本公开的第二方面,提供了一种虚云游戏的控制装置,所述装置包括:游戏指令转换模块,设置为获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令;其中,所述操作指令的类型与游戏客户端对应的游戏平台相关,所述游戏指令的类型与云游戏服务器相关,所述游戏指令设置为指示所要执行的游戏操作;游戏操作控制模块,设置为将所述游戏指令发送至云游戏服务器,以使所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作。
根据本公开的第三方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如上述实施例中第一方面所述的云游戏的控制方法。
根据本公开的第四方面,提供了一种电子设备,包括:
一个或多个处理器;以及
存储器,设置为存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上述实施例中第一方面所述的云游戏的控制方法。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1示意性示出本公开示例性实施例中云游戏的控制方法的流程图;
图2示意性示出本公开示例性实施例中获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令的流程图;
图3示意性示出本公开示例性实施例中根据指令映射规则将操作指令转换为游戏指令的流程图;
图4示意性示出本公开示例性实施例中通过指令转换接口将回传游戏指令转换为与第一游戏客户端的游戏平台对应的操作指令的流程图;
图5示意性示出本公开示例性实施例中在第一游戏客户端上对画面信息进行解码得到游戏画面,并在第一游戏客户端的显示组件上显示游戏画面的流程图;
图6示意性示出本公开示例性实施例中将这些操作指令通过SDK转换为游戏指令的流程图;
图7示意性示出本公开示例性实施例中将第一游戏客户端的操作权限转移至第二游戏客户端的流程图;
图8示意性示出本公开示例性实施例中将不同的游戏客户端输入的操作指令统一为游戏指令的示意图;
图9示意性示出本公开示例性实施例中一种云游戏的控制装置的组成示意图;
图10示意性示出了适于用来实现本公开示例性实施例的电子设备的计算机系统的结构示意图。
具体实施方式
现在将参照附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本公开的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现、材料或者操作以避免模糊本公开的各方面。
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个软件硬化的模块中实现这些功能实体或功能实体的一部分,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
随着终端设备以及游戏业的发展,出现了以云计算为基础的云游戏,云游戏是指游戏在服务器运行,将渲染完毕后的游戏画面压缩后通过网络传送给用户,在客户端,用户的游戏设备不需要高端的配置,只需要具有基本的视频解压能力即可。
在相关技术中,针对于同一个云游戏,可以支持多种游戏设备。举例而言,针对同一种游戏,可以采用不同的游戏设备进行游玩,如可以采用手机游玩,也可以采用电脑游玩,或者,还可以采用游戏机进行游玩。其中,每种游戏设备的指令输入方式也可以不同,例如,通过手机进行游玩时,可以通过作用于手机屏幕的触控操作控制游戏虚拟对象执行游戏动作,或者,通过电脑进行游玩时,可以通过键盘的按键操作控制游戏虚拟对象执行游戏动作,或者,通过游戏机进行游玩时,可以通过手柄的按键操作控制游戏虚拟对象执行游戏动作。即,针对同一种游戏,可以采用不同的游戏设备进行游玩,且不同的游戏设备,其游戏控制方式也可以不同。
由于游戏设备的不同,针对同一种指令在不同的游戏设备上的输入方式不同。举例 而言,以控制游戏虚拟对象跳跃而言,在手机端是通过点击手机屏幕上的跳跃控件控制游戏虚拟对象进行跳跃,电脑是通过键盘上的空格键控制游戏虚拟对象进行跳跃,而游戏机则是通过手柄上的A键控制游戏虚拟对象跳跃的;又如,以控制游戏虚拟对象攻击而言,在手机端是通过点击手机屏幕上的攻击控件控制游戏虚拟对象进行攻击,电脑是通过鼠标的左键控制游戏虚拟对象进行攻击,而游戏机则是通过手柄上的X键控制游戏虚拟对象攻击的;再如,以控制游戏虚拟对象移动而言,在手机端是通过滑动手机屏幕上的移动控件控制游戏虚拟对象进行移动,电脑是通过鼠标的右键键控制游戏虚拟对象进行移动,而游戏机则是通过手柄上的摇杆控制游戏虚拟对象移动的。
因此,在制作游戏时,需要考虑同一种指令在不同游戏设备的指令输入方式,并针对每种游戏设备进行适应性开发,例如,针对游戏中的跳跃指令,需要针对手机端、电脑端和游戏机端分别制作对应的指令。使得游戏开发成本增加,此外,用户在不同的游戏设备上游玩同一游戏时,可能需要对游戏的控制方式进行调节,提升了用户的游玩成本,从而使得用户游戏体验不佳,进而造成部分用户流失。
在本公开其中一种实施例中的云游戏的控制方法中,可以运行于终端设备或者是服务器。其中,终端设备可以为本地终端设备。当云游戏的控制方法运行于服务器时,该云游戏的控制方法则可以基于云交互系统来实现与执行,其中,云交互系统包括服务器和客户端设备。
在一可选的实施方式中,云交互系统下可以运行各种云应用,例如:云游戏。以云游戏为例,云游戏是指以云计算为基础的游戏方式。在云游戏的运行模式下,游戏程序的运行主体和游戏画面呈现主体是分离的,游戏虚拟角色动作控制方法的储存与运行是在云游戏服务器上完成的,客户端设备的作用为数据的接收、发送以及游戏画面的呈现,举例而言,客户端设备可以是靠近用户侧的具有数据传输功能的显示设备,如,移动终端、电视机、计算机、掌上电脑等;但是进行信息处理的终端设备为云端的云游戏服务器。在进行游戏时,玩家操作客户端设备向云游戏服务器发送操作指令,云游戏服务器根据操作指令运行游戏,将游戏画面等数据进行编码压缩,通过网络返回客户端设备,最后,通过客户端设备进行解码并输出游戏画面。
在本公开的一种示例实施例中,可以获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令;其中,操作指令的类型与游戏客户端对应的游戏平台相关,游戏指令的类型与云游戏服务器相关,将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。参考图1所示,示出了本示例性实施方式中云游戏的控制方法的一种流程图,可以包括以下步骤:
步骤S110:获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令;其中,操作指令的类型与游戏客户端对应的游戏平台相关,游戏指令的类型与云游戏服务器相关,游戏指令设置为指示所要执行的游戏操作;
步骤S120:将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
本公开的一种实施例提供的云游戏的控制方法中,可以将客户端输入的操作指令转换为服务器对应的游戏指令,并根据转换后的游戏指令控制游戏操作。一方面,游戏开发人员不需要针对不同的游戏设备进行适应性开发,避免考虑同一种指令在不同游戏设备的指令输入方式,减少了开发人员的重复工作,进而降低了游戏的开发成本;另一方面,由于是将游戏设备输入的指令转换为服务器对应的指令,因此不需要用户对控制方式进行调整,降低了用户的游玩成本,提升了玩家的游戏体验。
在本公开的一种示例实施例中,本公开的方案中的游戏可以包括多种类型的游戏,举例而言,例如TPS(第三人称视角射击)、FPS(第一人称视角射击)、RPG(角色扮演游戏)、ACT(动作游戏)、SLG(策略类游戏)、FTG(格斗游戏)、SPG(体育竞技类游戏)、RCG(竞速游戏)、AVG(冒险游戏)等,只要是涉及到游戏指令换算的场景,都可以应用本公开的云游戏的控制方案。需要说明的是,本公开对于游戏的类型并不做特殊限定。
下面,将结合图1及实施例对本示例性实施例中的云游戏的控制方法的步骤S110~S120进行更详细的说明。
步骤S110,获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令;
在本公开的一种示例实施例中,第一游戏客户端可以包括多种游戏客户端。举例而言,第一游戏客户端可以包括手机客户端,第一客户端还可以包括电脑客户端,第一客户端还可以包括游戏机客户端。需要说明的是,本公开对于游戏客户端的具体类型并不做特殊限定。
在本公开的一种实施例中,可以获取第一游戏客户端输入的操作指令。具体的,操作指令是指通过第一游戏客户端输入的指令。操作指令可以包括键盘按键指令、触控指令、语音控制指令、手柄按键指令等,其中,触控指令可以包括滑动触控指令、按压触控指令、手势触控指令、长按触控指令、点击触控指令、拖动触控指令等。举例而言,第一游戏客户端为手机客户端,玩家可以通过作用于手机屏幕的触控指令控制游戏执行对应的游戏操作,即此时可以获取该触控指令。需要说明的是,本公开对于操作指令的具体形式并不做特殊限定。
其中,操作指令的类型与游戏客户端对应的游戏平台相关。举例而言,若游戏客户端为手机客户端,则对应的游戏平台为手机平台,则操作指令的类型为触控输入类型,即玩家可以通过作用于手机屏幕的触控指令控制游戏执行对应的游戏操作;若游戏客户端为游戏机客户端,则对应的游戏平台为游戏机平台,则操作指令的类型为手柄输入类型,即玩家可以通过手柄上的按键或摇杆控制游戏执行对应的游戏操作;若游戏客户端为电脑客户端,则对应的游戏平台为电脑平台,则操作指令的类型为键盘鼠标输入类型, 即玩家可以通过键盘上的按键或鼠标控制游戏执行对应的游戏操作。需要说明的是,本公开对于第一类型执行的类型与游戏客户端对应的游戏平台并不作特殊限定。
具体的,针对同一种游戏指令,在不同的游戏客户端中的类型不同。举例而言,以控制游戏虚拟对象跳跃而言,在手机端是通过点击手机屏幕上的跳跃控件控制游戏虚拟对象进行跳跃,电脑是通过键盘上的空格键控制游戏虚拟对象进行跳跃,而游戏机则是通过手柄上的A键控制游戏虚拟对象跳跃的,即在不同的游戏客户端中,设置为控制游戏虚拟对象进行跳跃的方式不同,但其实质上所要实现的目标相同。
在本公开的一种实施例中,在通过上述步骤获取到第一游戏客户端输入的操作指令之后,可以将操作指令转换为游戏指令。其中,游戏指令的类型与云游戏服务器相关,即游戏指令的类型是指与云游戏服务器相对应且能够被云服务器接收的类型,游戏指令设置为指示所要执行的游戏操作。
具体的,将操作指令转换为游戏指令,是指将操作指令的类型转换为游戏指令的类型,即将游戏客户端输入的操作指令的类型转换为云游戏服务器能够接收的指令的类型。举例而言,以控制游戏虚拟对象跳跃而言,在游戏机端是通过A键控制跳跃的,针对游戏客户端,其输入的“A键”为操作指令,对应的游戏指令为跳跃命令,而云游戏服务器只能接收游戏指令,并根据游戏指令执行对应的游戏操作。因此,需要将操作指令转换为游戏指令。举例而言,可以查找操作指令对应的游戏操作,并将这个游戏操作对应的指令确定为游戏指令,以此完成将操作指令转换为游戏指令的过程。进一步的,可以在SDK(软件开发工具包,Software Development Kit)中设置操作指令转换游戏指令的转换工具,并通过SDK将操作指令转换为游戏指令。需要说明的是,本公开对于将操作指令转换为游戏指令的具体方式并不做特殊限定。
在本公开的一种实施例中,可以响应于权限转移操作,将第一游戏客户端的操作权限转移至第二游戏客户端,获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令。参照图2所示,获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令,可以包括以下步骤S210~S220:
步骤S210,响应于权限转移操作,将第一游戏客户端的操作权限转移至第二游戏客户端;
步骤S220,获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令。
在本公开的一种实施例中,响应于权限转移操作,将第一游戏客户端的操作权限转移至第二游戏客户端。具体的,在云游戏中,可能会涉及多个客户端进行互动的场景,即一玩家将游戏的操作权限转移给另外一个玩家。通过其它玩家控制本游戏客户端。此时,可以响应于权限转移操作,将第一游戏客户端的操作权限转移至第二游戏客户端。具体的,权限转移操作可以包括按键操作、触控操作、语音控制等方式,其中,触控操作可以包括滑动触控操作、按压触控操作、手势触控操作、长按触控操作、点击触控操 作、拖动触控操作等。需要说明的是,本公开对于权限转移操作的形式并不做特殊限定。
进一步的,可以通过一次权限转移操作将第一游戏客户端的操作权限转移至第二游戏客户端,或者,可以通过多次权限转移操作将第一游戏客户端的操作权限转移至第二游戏客户端。举例而言,第一游戏客户端为手机端,此时可以通过一次触控操作打开游戏客户端转移界面,再通过一次触控操作在游戏客户端转移界面中选择所要转移的游戏客户端。需要说明的是,本公开对于权限转移操作的操作次数并不做特殊限定。
在本公开的一种实施例中,将第一游戏客户端的操作权限转移至第二游戏客户端是指,由第二游戏客户端控制第一游戏客户端的游戏操作,即游戏是通过第一游戏客户端运行的,仅是通过第二游戏客户端进行控制。
在本公开的一种实施例中,在通过上述步骤将第一游戏客户端的操作权限转移至第二游戏客户端之后,可以获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令。
在本公开的一种实施例中,第一游戏客户端接收游戏指令,并将游戏指令发送至云游戏服务器。具体的,在将操作指令转换为游戏指令之后,可以将转换后的游戏指令发送至第一游戏客户端,再通过第一游戏客户端将游戏指令发送至云游戏服务器。
通过上述步骤S210~S220,可以响应于权限转移操作,将第一游戏客户端的操作权限转移至第二游戏客户端,获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令。
在本公开的一种实施例中,可以获取操作指令与游戏指令的指令映射规则,并根据指令映射规则将操作指令转换为游戏指令。参照图3所示,根据指令映射规则将操作指令转换为游戏指令,可以包括以下步骤S310~S320:
步骤S310,获取操作指令与游戏指令的指令映射规则;
步骤S320,根据指令映射规则将操作指令转换为游戏指令。
在本公开的一种实施例中,可以获取操作指令与游戏指令的指令映射规则。具体的,操作指令与游戏指令的指令映射规则是指将操作指令转换为游戏指令的映射规则,可以通过指令映射规则将操作指令转换为游戏指令。其中,指令映射规则可以包括指令映射表,指令映射表中包括操作指令与游戏指令的映射关系,可以通过操作指令与游戏指令的映射关系将操作指令转换为游戏指令。需要说明的是,本公开对于指令映射规则的具体形式并不做特殊限定。
通过上述步骤S310~S320,可以获取操作指令与游戏指令的指令映射规则,并根据指令映射规则将操作指令转换为游戏指令。
步骤S120,将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
在本公开的一种实施例中,在通过上述步骤得到游戏指令时,可以将游戏指令发送 至云游戏服务器。具体的,可以在第一游戏客户端中完成操作指令到游戏指令的转换过程,并将游戏指令发送至云游戏服务器。除此之外,也可以将操作指令发送至指令处理中间件中,在指令处理中间件中完成操作指令到游戏指令的转换过程,并将游戏指令发送至云游戏服务器,其中,指令处理中间件可以设置在第一游戏客户端与云游戏服务器之外,或者,还可以设置在云游戏服务器中。需要说明的是,本公开对于将操作指令转换为游戏指令的具体位置并不做特殊限定。在得到游戏指令之后,可以将游戏指令发送至云游戏服务器。需要说明的是,本公开对于将游戏指令发送至云游戏服务器的具体方式并不做特殊限定。
在本公开的一种实施例中,在将游戏指令发送至云游戏服务器之后,可以根据游戏指令控制游戏指令对应的游戏操作。举例而言,游戏指令所要执行的游戏操作为跳跃,此时可以控制游戏虚拟对象执行跳跃操作。需要说明的是,本公开对于根据游戏指令控制游戏执行对应的游戏操作的具体方式并不做特殊限定。
在本公开的一种实施例中,在云游戏服务器针对游戏指令向第一游戏客户端进行回传时,可以生成回传游戏指令,并通过指令转换接口将回传游戏指令转换为与第一游戏客户端的游戏平台对应的操作指令。参照图4所示,通过指令转换接口将回传游戏指令转换为与第一游戏客户端的游戏平台对应的操作指令,可以包括以下步骤S410~S420:
步骤S410,在云游戏服务器针对游戏指令向第一游戏客户端进行回传时,生成回传游戏指令;
步骤S420,通过指令转换接口将回传游戏指令转换为与第一游戏客户端的游戏平台对应的操作指令。
在本公开的一种实施例中,在云游戏服务器根据游戏指令控制游戏执行对应的游戏操作之后,云游戏服务器可以针对游戏指令向第一游戏客户端发送回传游戏指令。其中,回传游戏指令的类型与游戏指令的类型相同。具体的,在一些游戏中,向云游戏服务器发送游戏指令之后,云游戏服务器会针对该游戏指令进行回传,此时会生成回传游戏指令。
在本公开的一种实施例中,云游戏服务器中可以包括多个游戏平台对应的指令转换接口。具体的,游戏平台对应的指令转换接口是指可以将回传游戏指令转换为游戏平台对应类型的指令的接口。在生成回传游戏指令时,可以获取第一游戏客户端对应的游戏平台,并在云游戏服务器中调取该游戏平台对应的指令转换接口,将回传游戏指令转换为第一游戏客户端的游戏平台对应的操作指令。需要说明的是,本公开对于通过指令转换接口将回传游戏指令转换为与第一游戏客户端的游戏平台对应的操作指令的具体方式并不做特殊限定。
通过上述步骤S410~S420,在云游戏服务器针对游戏指令向第一游戏客户端进行回传时,可以生成回传游戏指令,并通过指令转换接口将回传游戏指令转换为与第一游戏 客户端的游戏平台对应的操作指令。
在本公开的一种实施例中,在云游戏服务器根据游戏指令控制游戏执行对应的游戏操作之后,可以在第一游戏客户端的显示组件上显示游戏画面。具体的,第一游戏客户端的显示组件是指设置为显示游戏画面的设备组件。举例而言,针对于手机游戏客户端而言,其显示组件为手机屏幕,针对于电脑游戏客户端而言,其显示组件为显示器。需要说明的是,本公开对于第一游戏客户端的显示组件的具体类型并不做特殊限定。在获取到游戏对应的游戏画面之后,可以在第一客户端的显示组件上显示游戏画面。具体的,可以将游戏对应的游戏画面发送至第一游戏客户端,并在第一游戏客户端的显示组件上进行显示。
在本公开的一种实施例中,可以将游戏画面经过编码得到画面信息,并将画面信息发送至第一游戏客户端,在第一游戏客户端上对画面信息进行解码得到游戏画面,并在第一游戏客户端的显示组件上显示游戏画面。参照图5所示,在第一游戏客户端上对画面信息进行解码得到游戏画面,并在第一游戏客户端的显示组件上显示游戏画面,可以包括以下步骤S510~S520:
步骤S510,将游戏画面经过编码得到画面信息,并将画面信息发送至第一游戏客户端;
在本公开的一种实施例中,在云游戏服务器根据游戏指令控制游戏执行对应的游戏操作之后,可以获取游戏对应的游戏画面,并将游戏画面经过编码得到画面信息。具体的,图像编码实质上就是对图像进行压缩,对将要处理的图像源数据按照一定的规则进行变换和组合,从而使得可以用尽可能少的符号来表示尽可能多的信息。举例而言,可以通过熵编码、预测编码、变换编码和混合编码等方式对游戏画面进行编码得到画面信息。再将经过编码的画面信息发送至第一游戏客户端。需要说明的是,本公开对于将游戏画面经过编码得到画面信息的具体方式并不做特殊限定。
步骤S520,在第一游戏客户端上对画面信息进行解码得到游戏画面,并在第一游戏客户端的显示组件上显示游戏画面。
在本公开的一种实施例中,在第一游戏客户端得到经过编码的画面信息之后,可以在第一游戏客户端上对画面信息进行解码得到游戏画面。具体的,对画面信息进行解码实质上就是对经过编码的画面信息进行解压缩的过程,即将画面信息解码为游戏画面,并在第一游戏客户端的显示组件上进行显示。需要说明的是,本公开对于对画面信息进行解码得到游戏画面的具体方式并不做特殊限定。
通过上述步骤S510~S520,可以将游戏画面经过编码得到画面信息,并将画面信息发送至第一游戏客户端,在第一游戏客户端上对画面信息进行解码得到游戏画面,并在第一游戏客户端的显示组件上显示游戏画面。
在本公开的一种实施例中,参照图6所示,可以通过游戏客户端输入多个操作指令, 例如手柄“X”键、键盘的“空格键”、手机端的“跳跃控件”,并将这些操作指令通过SDK转换为游戏指令,对游戏指令进行游戏操作定义。
在本公开的一种实施例中,在将第一游戏客户端的操作权限转移至第二游戏客户端时,第二客户端可以输入操作指令,并将操作指令转换为游戏指令,再将游戏指令发送至第一游戏客户端,将第一游戏客户端发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。参照图7所示,将第一游戏客户端的操作权限转移至第二游戏客户端,可以包括以下步骤S710~S740:
步骤S710,将第一游戏客户端的操作权限转移至第二游戏客户端;步骤S720,将操作指令转换为游戏指令;步骤S730,将游戏指令发送至第一游戏客户端,将第一游戏客户端发送至云游戏服务器;步骤S740,云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
在本公开的一种实施例中,如图8所示,可以将不同的游戏客户端输入的操作指令(A游戏客户端输入的操作指令、B游戏客户端输入的操作指令、C游戏客户端输入的操作指令)转换为游戏指令,并将游戏指令发送至云游戏服务器,云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
在本公开的一种示例实施例中,获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令,将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
本公开的一种实施例提供的云游戏的控制方法中,可以将客户端输入的指令转换为服务器对应的指令,并根据转换后的指令控制游戏操作。一方面,游戏开发人员不需要针对不同的游戏设备进行适应性开发,避免考虑同一种指令在不同游戏设备的指令输入方式,减少了开发人员的重复工作,进而降低了游戏的开发成本;另一方面,由于是将游戏设备输入的指令转换为服务器对应的指令,因此不需要用户对控制方式进行调整,降低了用户的游玩成本,提升了玩家的游戏体验。
需要注意的是,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
此外,在本公开的示例性实施方式中,还提供了一种云游戏的控制装置。参照图9所示,一种云游戏的控制装置900包括:游戏指令转换模块910、游戏操作控制模块920。
其中,游戏指令转换模块,设置为获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令;其中,操作指令的类型与游戏客户端对应的游戏平台相关,游戏指令的类型与云游戏服务器相关,游戏指令设置为指示所要执行的游戏操作;游戏操作控制模块,设置为将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
在本公开的一种示例性实施例中,基于前述方案,获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令,装置还包括:转移操作响应单元,用用户响应于权限转移操作,将第一游戏客户端的操作权限转移至第二游戏客户端;第一指令转换单元,设置为获取第二游戏客户端输入的操作指令,将操作指令转换为游戏指令。
在本公开的一种示例性实施例中,将游戏指令发送至云游戏服务器,装置还包括:指令发送单元,设置为第一游戏客户端接收游戏指令,并将游戏指令发送至云游戏服务器。
在本公开的一种示例性实施例中,基于前述方案,将操作指令转换为游戏指令,装置还包括:指令映射规则获取单元,设置为获取操作指令与游戏指令的指令映射规则;第二指令转换单元,设置为根据指令映射规则将操作指令转换为游戏指令。
在本公开的一种示例性实施例中,基于前述方案,云游戏服务器具有多个游戏平台对应的指令转换接口,在云游戏服务器根据游戏指令控制游戏执行对应的游戏操作之后,装置还包括:
回传游戏指令生成单元,设置为在云游戏服务器针对游戏指令向第一游戏客户端进行回传时,生成回传游戏指令;其中,回传游戏指令的类型与游戏指令的类型相同;第三指令转换单元,设置为通过指令转换接口将回传游戏指令转换为与第一游戏客户端的游戏平台对应的操作指令。
在本公开的一种示例性实施例中,基于前述方案,在根据游戏指令执行对应的游戏操作之后,装置还包括:游戏画面获取单元,设置为获取游戏对应的游戏画面,并在第一游戏客户端的显示组件上显示游戏画面。
在本公开的一种示例性实施例中,基于前述方案,在第一游戏客户端的显示组件上显示游戏画面,装置还包括:游戏画面编码单元,设置为将游戏画面经过编码得到画面信息,并将画面信息发送至第一游戏客户端;画面信息解码单元,设置为在第一游戏客户端上对画面信息进行解码得到游戏画面,并在第一游戏客户端的显示组件上显示游戏画面。
本公开提供的云游戏的控制装置,可以将客户端输入的指令转换为服务器对应的指令,并根据转换后的指令控制游戏操作。一方面,游戏开发人员不需要针对不同的游戏设备进行适应性开发,避免考虑同一种指令在不同游戏设备的指令输入方式,减少了开发人员的重复工作,进而降低了游戏的开发成本;另一方面,由于是将游戏设备输入的指令转换为服务器对应的指令,因此不需要用户对控制方式进行调整,降低了用户的游玩成本,提升了玩家的游戏体验。
由于本公开的示例实施例的云游戏的控制装置的各个功能模块与上述云游戏的控制方法的示例实施例的步骤对应,因此对于本公开装置实施例中未披露的细节,请参照本公开上述的云游戏的控制方法的实施例。
应当注意,尽管在上文详细描述中提及了设置为动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
此外,在本公开的示例性实施例中,还提供了一种能够实现上述云游戏的控制方法的电子设备。
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施例、完全的软件实施例(包括固件、微代码等),或硬件和软件方面结合的实施例,这里可以统称为“电路”、“模块”或“系统”。
下面参照图10来描述根据本公开的这种实施例的电子设备1000。图10显示的电子设备1000仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图10所示,电子设备1000以通用计算设备的形式表现。电子设备1000的组件可以包括但不限于:上述至少一个处理单元1010、上述至少一个存储单元1020、连接不同系统组件(包括存储单元1020和处理单元1010)的总线1030、显示单元1040。
其中,存储单元存储有程序代码,程序代码可以被处理单元1010执行,使得处理单元1010执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施例的步骤。例如,处理单元1010可以执行如图1中所示的步骤S110:获取第一游戏客户端输入的操作指令,并将操作指令转换为游戏指令;其中,操作指令的类型与游戏客户端对应的游戏平台相关,游戏指令的类型与云游戏服务器相关,游戏指令设置为指示所要执行的游戏操作;步骤S120:将游戏指令发送至云游戏服务器,以使云游戏服务器根据游戏指令控制游戏执行对应的游戏操作。
在本公开的一种示例性实施例中,基于前述方案,所述获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令,包括:响应于权限转移操作,将所述第一游戏客户端的操作权限转移至第二游戏客户端;获取第二游戏客户端输入的操作指令,将所述操作指令转换为游戏指令。
在本公开的一种示例性实施例中,基于前述方案,所述将所述游戏指令发送至云游戏服务器,包括:所述第一游戏客户端接收所述游戏指令,并将所述游戏指令发送至云游戏服务器。
在本公开的一种示例性实施例中,基于前述方案,所述将所述操作指令转换为游戏指令,包括:获取所述操作指令与所述游戏指令的指令映射规则;根据所述指令映射规则将所述操作指令转换为游戏指令。
在本公开的一种示例性实施例中,基于前述方案,所述云游戏服务器具有多个游戏平台对应的指令转换接口,在所述云游戏服务器根据所述游戏指令控制游戏执行对应的 游戏操作之后,所述方法还包括:在所述云游戏服务器针对所述游戏指令向所述第一游戏客户端进行回传时,生成回传游戏指令;其中,所述回传游戏指令的类型与所述游戏指令的类型相同;通过所述指令转换接口将所述回传游戏指令转换为与所述第一游戏客户端的游戏平台对应的操作指令。
在本公开的一种示例性实施例中,基于前述方案,在根据游戏指令执行对应的游戏操作之后,所述方法还包括:获取所述游戏对应的游戏画面,并在所述第一游戏客户端的显示组件上显示所述游戏画面。
在本公开的一种示例性实施例中,基于前述方案,所述在所述第一游戏客户端的显示组件上显示所述游戏画面,所述方法还包括:将所述游戏画面经过编码得到画面信息,并将所述画面信息发送至所述第一游戏客户端;在所述第一游戏客户端上对所述画面信息进行解码得到游戏画面,并在所述第一游戏客户端的显示组件上显示所述游戏画面。
本公开提供的电子设备,可以将客户端输入的指令转换为服务器对应的指令,并根据转换后的指令控制游戏操作。一方面,游戏开发人员不需要针对不同的游戏设备进行适应性开发,避免考虑同一种指令在不同游戏设备的指令输入方式,减少了开发人员的重复工作,进而降低了游戏的开发成本;另一方面,由于是将游戏设备输入的指令转换为服务器对应的指令,因此不需要用户对控制方式进行调整,降低了用户的游玩成本,提升了玩家的游戏体验。
存储单元1020可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)1021和/或高速缓存存储单元1022,还可以进一步包括只读存储单元(ROM)1023。
存储单元1020还可以包括具有一组(至少一个)程序模块1025的程序/实用工具1024,这样的程序模块1025包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线1030可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
电子设备1000也可以与一个或多个外部设备1070(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备1000交互的设备通信,和/或与使得该电子设备1000能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口1050进行。并且,电子设备1000还可以通过网络适配器1060与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器1060通过总线1030与电子设备1000的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备1000使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处 理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开实施例的方法。
在本公开的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施例中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码设置为使终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施例的步骤。
在本公开的一种示例性实施例中,获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令;其中,所述操作指令的类型与游戏客户端对应的游戏平台相关,所述游戏指令的类型与云游戏服务器相关,所述游戏指令设置为指示所要执行的游戏操作;将所述游戏指令发送至云游戏服务器,以使所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作。
在本公开的一种示例性实施例中,基于前述方案,所述获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令,包括:响应于权限转移操作,将所述第一游戏客户端的操作权限转移至第二游戏客户端;获取第二游戏客户端输入的操作指令,将所述操作指令转换为游戏指令。
在本公开的一种示例性实施例中,基于前述方案,所述将所述游戏指令发送至云游戏服务器,包括:所述第一游戏客户端接收所述游戏指令,并将所述游戏指令发送至云游戏服务器。
在本公开的一种示例性实施例中,基于前述方案,所述将所述操作指令转换为游戏指令,包括:获取所述操作指令与所述游戏指令的指令映射规则;根据所述指令映射规则将所述操作指令转换为游戏指令。
在本公开的一种示例性实施例中,基于前述方案,所述云游戏服务器具有多个游戏平台对应的指令转换接口,在所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作之后,所述方法还包括:在所述云游戏服务器针对所述游戏指令向所述第一游戏客户端进行回传时,生成回传游戏指令;其中,所述回传游戏指令的类型与所述游戏指令的类型相同;通过所述指令转换接口将所述回传游戏指令转换为与所述第一游戏客户端的游戏平台对应的操作指令。
在本公开的一种示例性实施例中,基于前述方案,在根据游戏指令执行对应的游戏 操作之后,所述方法还包括:获取所述游戏对应的游戏画面,并在所述第一游戏客户端的显示组件上显示所述游戏画面。
在本公开的一种示例性实施例中,基于前述方案,所述在所述第一游戏客户端的显示组件上显示所述游戏画面,所述方法还包括:将所述游戏画面经过编码得到画面信息,并将所述画面信息发送至所述第一游戏客户端;在所述第一游戏客户端上对所述画面信息进行解码得到游戏画面,并在所述第一游戏客户端的显示组件上显示所述游戏画面。
本公开提供的计算机可读存储介质,可以将客户端输入的指令转换为服务器对应的指令,并根据转换后的指令控制游戏操作。一方面,游戏开发人员不需要针对不同的游戏设备进行适应性开发,避免考虑同一种指令在不同游戏设备的指令输入方式,减少了开发人员的重复工作,进而降低了游戏的开发成本;另一方面,由于是将游戏设备输入的指令转换为服务器对应的指令,因此不需要用户对控制方式进行调整,降低了用户的游玩成本,提升了玩家的游戏体验。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输设置为由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写设置为执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
此外,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施例。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利 要求指出。

Claims (10)

  1. 一种云游戏的控制方法,包括:
    获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令;其中,所述操作指令的类型与游戏客户端对应的游戏平台相关,所述游戏指令的类型与云游戏服务器相关,所述游戏指令设置为指示所要执行的游戏操作;
    将所述游戏指令发送至云游戏服务器,以使所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作。
  2. 根据权利要求1所述的方法,其中,所述获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令,包括:
    响应于权限转移操作,将所述第一游戏客户端的操作权限转移至第二游戏客户端;
    获取第二游戏客户端输入的操作指令,将所述操作指令转换为游戏指令。
  3. 根据权利要求2所述的方法,其中,所述将所述游戏指令发送至云游戏服务器,包括:
    所述第一游戏客户端接收所述游戏指令,并将所述游戏指令发送至云游戏服务器。
  4. 根据权利要求1所述的方法,其中,所述将所述操作指令转换为游戏指令,包括:
    获取所述操作指令与所述游戏指令的指令映射规则;
    根据所述指令映射规则将所述操作指令转换为游戏指令。
  5. 根据权利要求1所述的方法,其中,所述云游戏服务器具有多个游戏平台对应的指令转换接口,在所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作之后,所述方法还包括:
    在所述云游戏服务器针对所述游戏指令向所述第一游戏客户端进行回传时,生成回传游戏指令;其中,所述回传游戏指令的类型与所述游戏指令的类型相同;
    通过所述指令转换接口将所述回传游戏指令转换为与所述第一游戏客户端的游戏平台对应的操作指令。
  6. 根据权利要求1所述的方法,其中,在根据游戏指令执行对应的游戏操作之后,所述方法还包括:
    获取所述游戏对应的游戏画面,并在所述第一游戏客户端的显示组件上显示所述游戏画面。
  7. 根据权利要求1所述的方法,其中,所述在所述第一游戏客户端的显示组件上显示所述游戏画面,所述方法还包括:
    将所述游戏画面经过编码得到画面信息,并将所述画面信息发送至所述第一游戏客户端;
    在所述第一游戏客户端上对所述画面信息进行解码得到游戏画面,并在所述第一游 戏客户端的显示组件上显示所述游戏画面。
  8. 一种云游戏的控制装置,所述装置包括:
    游戏指令转换模块,设置为获取第一游戏客户端输入的操作指令,并将所述操作指令转换为游戏指令;其中,所述操作指令的类型与游戏客户端对应的游戏平台相关,所述游戏指令的类型与云游戏服务器相关,所述游戏指令设置为指示所要执行的游戏操作;
    游戏操作控制模块,设置为将所述游戏指令发送至云游戏服务器,以使所述云游戏服务器根据所述游戏指令控制游戏执行对应的游戏操作;
    提示信息发送模块,设置为响应作用于所述游戏小地图的位置确定操作,确定所述信号的目标位置,并针对所述目标位置发送所述信号对应的提示信息。
  9. 一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如权利要求1~7中任一项所述的方法。
  10. 一种电子设备,包括:
    一个或多个处理器;以及
    存储器,设置为存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1~7中任一项所述的方法。
PCT/CN2022/098212 2021-12-02 2022-06-10 云游戏的控制方法及装置、存储介质及电子设备 WO2023098017A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111459162.8 2021-12-02
CN202111459162.8A CN114100120A (zh) 2021-12-02 2021-12-02 云游戏的控制方法及装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2023098017A1 true WO2023098017A1 (zh) 2023-06-08

Family

ID=80366130

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098212 WO2023098017A1 (zh) 2021-12-02 2022-06-10 云游戏的控制方法及装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN114100120A (zh)
WO (1) WO2023098017A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114100120A (zh) * 2021-12-02 2022-03-01 广州博冠信息科技有限公司 云游戏的控制方法及装置、存储介质及电子设备
CN115888074A (zh) * 2022-12-12 2023-04-04 网易(杭州)网络有限公司 游戏控制处理方法、装置、存储介质与电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918140A (zh) * 2019-03-13 2019-06-21 厦门网宿有限公司 一种云应用操作控制方法和装置
CN110548281A (zh) * 2019-08-19 2019-12-10 广州点云科技有限公司 一种基于云游戏端的虚拟按键方法
CN110694267A (zh) * 2019-11-14 2020-01-17 珠海金山网络游戏科技有限公司 一种云游戏实现方法及装置
CN111467790A (zh) * 2020-04-13 2020-07-31 西安万像电子科技有限公司 目标对象的控制方法及装置、系统
CN112642145A (zh) * 2020-12-28 2021-04-13 西安万像电子科技有限公司 云游戏运行系统及方法
CN114100120A (zh) * 2021-12-02 2022-03-01 广州博冠信息科技有限公司 云游戏的控制方法及装置、存储介质及电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918140A (zh) * 2019-03-13 2019-06-21 厦门网宿有限公司 一种云应用操作控制方法和装置
CN110548281A (zh) * 2019-08-19 2019-12-10 广州点云科技有限公司 一种基于云游戏端的虚拟按键方法
CN110694267A (zh) * 2019-11-14 2020-01-17 珠海金山网络游戏科技有限公司 一种云游戏实现方法及装置
CN111467790A (zh) * 2020-04-13 2020-07-31 西安万像电子科技有限公司 目标对象的控制方法及装置、系统
CN112642145A (zh) * 2020-12-28 2021-04-13 西安万像电子科技有限公司 云游戏运行系统及方法
CN114100120A (zh) * 2021-12-02 2022-03-01 广州博冠信息科技有限公司 云游戏的控制方法及装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN114100120A (zh) 2022-03-01

Similar Documents

Publication Publication Date Title
US11623143B2 (en) System, method, and graphical user interface for controlling an application executing on a server
WO2023098017A1 (zh) 云游戏的控制方法及装置、存储介质及电子设备
US20140079327A1 (en) Hybrid encoding/decoding for remote gaming
CN1613045B (zh) 基于无线人机交互设备的个人电脑系统及其数据传输方法
CN110784525A (zh) 一种基于h5网页技术的云手机控制方法、系统及存储介质
CN102375687A (zh) 在无线显示表面上显示计算机桌面
CN104202417A (zh) 基于云计算的信息处理方法、客户端、云服务器及系统
JP7506171B2 (ja) カーソルコントロールユニット制御方法並びにその、装置、電子デバイス、およびコンピュータプログラム
CN111467790B (zh) 目标对象的控制方法及装置、系统
US11146662B2 (en) Method and system of transmitting state based input over a network
CN112221127B (zh) 一种云游戏的多点控制方法及装置
CN112354176A (zh) 云游戏实现方法、云游戏实现装置、存储介质与电子设备
CN111672132A (zh) 游戏的控制方法、控制装置、服务器和存储介质
JP2012043158A (ja) 情報処理装置、情報処理端末、情報処理システム、情報処理方法、情報処理プログラム
CN115624740A (zh) 一种虚拟现实设备及其控制方法、装置、系统及互动系统
US20210308570A1 (en) Method and apparatus for game streaming
CN111930328A (zh) 应用数据的显示方法、装置及系统
KR102362140B1 (ko) 스트리밍 게임 제공 방법 및 장치
CN113713369B (zh) 多人游戏的功能键映射方法、模拟操控方法、装置及设备
TWI823146B (zh) 用於即時mr互動應用之邊緣渲染運算方法及系統
US20130160055A1 (en) Distributed processing for interactive video
KR20230054068A (ko) 클라우드 xr 기반의 프로그램 가상화 방법
WO2023048744A1 (en) Game controller mobile bridge
CN116421964A (zh) 云游戏的控制方法、装置、电子设备及存储介质
CN116489414A (zh) 直播互动方法、装置、系统、计算设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22899837

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18695014

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE