[go: up one dir, main page]

CN111803927A - Running method and device of cloud game service and computer readable storage medium - Google Patents

Running method and device of cloud game service and computer readable storage medium Download PDF

Info

Publication number
CN111803927A
CN111803927A CN202010526816.3A CN202010526816A CN111803927A CN 111803927 A CN111803927 A CN 111803927A CN 202010526816 A CN202010526816 A CN 202010526816A CN 111803927 A CN111803927 A CN 111803927A
Authority
CN
China
Prior art keywords
user terminal
cloud game
input information
control instruction
game instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010526816.3A
Other languages
Chinese (zh)
Inventor
杜晶
林顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaji Software Co Ltd
Original Assignee
Xiamen Yaji Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yaji Software Co Ltd filed Critical Xiamen Yaji Software Co Ltd
Priority to CN202010526816.3A priority Critical patent/CN111803927A/en
Publication of CN111803927A publication Critical patent/CN111803927A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/33Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections

Landscapes

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

Abstract

The application provides a running method and device of cloud game service and a computer readable storage medium. The method comprises the following steps: when a communication connection request sent by a user terminal is received, responding to the communication connection request and establishing communication connection with the user terminal; in the running process of the corresponding cloud game instance, obtaining sound and picture information generated by the cloud game instance, coding the sound and picture information according to a preset coding mode and then sending the sound and picture information to a user terminal; when input information sent by a user terminal is received, a control instruction corresponding to the input information is obtained based on a preset input information mapping table, the input equipment type of the user terminal and the input information, and the control instruction is sent to a cloud game instance. According to the scheme, steps of downloading, installing, updating and the like of the local-end game installation package do not need to be carried out at the user terminal, the configuration of the terminal used by the user is not high, and the method and the device are beneficial to popularization of the local-end game after cloud-end.

Description

Running method and device of cloud game service and computer readable storage medium
Technical Field
The application relates to the technical field of computers, in particular to a running method and device of cloud game service and a computer readable storage medium.
Background
With the popularization of personal computers and mobile terminals, games become an indispensable entertainment mode for more and more people, most of the existing games are local-end games, and each player needs to operate after the steps of downloading, installing, updating and the like of a local-end game installation package on used equipment so as to normally enter the games. The steps are not only complicated, but also the configuration requirements of the equipment used by the player are higher and higher along with the continuous maximization of the game, so that the popularization of the local game is limited.
Disclosure of Invention
The purpose of the present application is to solve at least one of the above technical drawbacks, and to provide the following solutions:
in a first aspect, an embodiment of the present application provides an operation method of a cloud game service, including:
when a communication connection request sent by a user terminal is received, responding to the communication connection request and establishing communication connection with the user terminal;
in the running process of the corresponding cloud game instance, obtaining sound and picture information generated by the cloud game instance, coding the sound and picture information according to a preset coding mode and then sending the sound and picture information to a user terminal;
when input information sent by a user terminal is received, a control instruction corresponding to the input information is obtained based on a preset input information mapping table, the input equipment type of the user terminal and the input information, and the control instruction is sent to a cloud game instance so that the cloud game instance executes the control instruction, wherein the preset input information mapping table stores mapping relations between the input information and the control instruction of different types of input equipment.
In an optional embodiment of the present application, the obtaining of the audio and video information generated by the cloud game instance includes any one of the following:
acquiring sound and picture information generated by a cloud game instance through a preset interface on the cloud game instance according to a preset sampling rate, wherein the preset interface is obtained by the cloud game instance according to the specification agreed by a game server GS;
receiving sound and picture information generated by the cloud game instance sent by the cloud game instance through a data interface on a GS (service gateway) according to a preset sampling rate;
and capturing sound and picture information generated by the cloud game instance according to a preset sampling rate.
In an optional embodiment of the present application, before obtaining the sound and picture information generated by the cloud game instance, the method further includes:
and receiving a preset sampling rate set by a user or operation and maintenance personnel through a preset parameter setting interface on the cloud game instance.
In an optional embodiment of the present application, obtaining a control instruction corresponding to input information based on a preset input information mapping table, an input device type of a user terminal, and the input information includes:
receiving the equipment type of the user terminal sent by the user terminal when establishing communication connection with the user terminal;
acquiring a mapping relation between input information of a device type of a user terminal and a control instruction from a preset input information mapping table;
and acquiring a control instruction corresponding to the input information based on the mapping relation between the input information, the input information of the equipment type of the user terminal and the control instruction.
In an optional embodiment of the present application, the method further comprises:
and acquiring a preset input information mapping table from the operation and maintenance server.
In a second aspect, an embodiment of the present application provides an operation apparatus for a cloud game service, including:
the communication connection request module is used for responding to the communication connection request and establishing communication connection with the user terminal when receiving the communication connection request sent by the user terminal;
the sound and picture information sending module is used for acquiring sound and picture information generated by the cloud game instance in the running process of the corresponding cloud game instance, coding the sound and picture information according to a preset coding mode and then sending the sound and picture information to the user terminal;
the control instruction sending module is used for obtaining a control instruction corresponding to input information based on a preset input information mapping table, the input equipment type of the user terminal and the input information when the input information sent by the user terminal is received, and sending the control instruction to the cloud game instance so as to enable the cloud game instance to execute the control instruction, wherein the preset input information mapping table stores mapping relations between the input information and the control instruction of different types of input equipment.
In an optional embodiment of the present application, the sound and picture information sending module is specifically configured to any one of the following items:
acquiring sound and picture information generated by a cloud game instance through a preset interface on the cloud game instance according to a preset sampling rate, wherein the preset interface is obtained by the cloud game instance according to the specification agreed by a game server GS;
receiving sound and picture information generated by the cloud game instance sent by the cloud game instance through a data interface on a GS (service gateway) according to a preset sampling rate;
and capturing sound and picture information generated by the cloud game instance according to a preset sampling rate.
In an optional embodiment of the present application, the apparatus further comprises a sampling rate setting module configured to:
before obtaining the sound and picture information generated by the cloud game instance, receiving a preset sampling rate set by a user or operation and maintenance personnel through a preset parameter setting interface on the cloud game instance.
In an optional embodiment of the present application, the control instruction sending module is specifically configured to:
receiving the equipment type of the user terminal sent by the user terminal when establishing communication connection with the user terminal;
acquiring a mapping relation between input information of a device type of a user terminal and a control instruction from a preset input information mapping table;
and acquiring a control instruction corresponding to the input information based on the mapping relation between the input information, the input information of the equipment type of the user terminal and the control instruction.
In an optional embodiment of the present application, the apparatus further includes an input information mapping table obtaining module, configured to:
and acquiring a preset input information mapping table from the operation and maintenance server.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor;
the memory has a computer program stored therein;
a processor for executing a computer program for implementing the method provided in the embodiments of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method provided in the first aspect.
The beneficial effect that technical scheme that this application provided brought is:
the GS scheduled by the cloud game system is used for connecting the local user terminal and the cloud game instance, capturing audio and video information generated by running of the cloud game instance and forwarding the audio and video information to the user terminal, and analyzing input information sent by the user terminal into corresponding control instructions so that the cloud game instance can execute the control instructions sent by the user, and therefore cloud game service is provided for the user. According to the scheme, steps of downloading, installing, updating and the like of the local-end game installation package do not need to be carried out at the user terminal, the configuration of the terminal used by the user is not high, and the method and the device are beneficial to popularization of the local-end game after cloud-end.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic structural diagram of a cloud game system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an operation method of a cloud game service according to an embodiment of the present disclosure;
fig. 3 is a schematic view of information interaction of a cloud game system in a process of providing a cloud game service according to an embodiment of the present application;
fig. 4 is a block diagram illustrating an operating apparatus of a cloud game service according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
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.
The cloud game service running method provided by the present application is performed on the basis of the cloud game system shown in fig. 1, and as shown in fig. 1, the cloud game system may include a scheduling server 101, an operation and maintenance server 102, at least one game server gs (game service)103, and at least one cloud game instance 104. As can be seen from fig. 1, in the cloud game system, the GS 103 is included in the corresponding cloud game instance 104, and the GS 103 can be understood as a component in the corresponding cloud game instance 104. In the process that the cloud game system provides the cloud game service to the user terminal, the corresponding relationship between the GS 103 and the cloud game instance 104 needs to be determined according to the type of the cloud game requested by the user.
The scheduling server 101 is configured to receive a game request sent by a user, schedule a proper GS based on the game request, and feed back identification information of the scheduled GS to the user terminal, so that after the user terminal is connected with the GS, the user terminal receives cloud game service provided by the cloud game system through the GS. The operation and maintenance server 102 is configured to perform operation and maintenance on the entire cloud game service system, for example, the cloud game instance 104 is started when there is a need, so that the cloud game instance 104 starts the GS 103 therein, and stores attribute information of each GS 103 and each cloud game instance 104, so that the GS 103 calls the attribute information when there is a need. It should be noted that, the scheduling server 101 may use various existing scheduling methods for scheduling the GS 103 corresponding to the user terminal, which is not limited herein.
Fig. 2 is a schematic flow chart of an operation method of a cloud game service provided in an embodiment of the present application, where an execution subject of the method may be a GS, and the method may include:
step S201, when receiving a communication connection request sent by a user terminal, establishing a communication connection with the user terminal in response to the communication connection request.
It can be understood that, before this step, the scheduling server in the cloud game system has already scheduled a corresponding GS for the user terminal, and this GS is the execution subject of the method.
Specifically, the GS receives a communication connection request sent by the user terminal, and establishes a communication connection with the user terminal in response to the communication connection request, if the communication connection is successfully established, the cloud game system can provide cloud game service for the user terminal, and if the communication connection is unsuccessfully established, notification information of the failure of the game request of the user terminal is fed back, and the user terminal can send the game request again to connect to other GS.
Step S202, in the running process of the corresponding cloud game instance, sound and picture information generated by the cloud game instance is obtained, and the sound and picture information is coded according to a preset coding mode and then is sent to the user terminal.
The cloud game instance may be understood as a game client installed in the cloud, and when the game client is started, corresponding audio and visual information (i.e., sound and visual information) is generated. Specifically, the cloud game instance may be obtained by cloud-rendering the corresponding local game.
Wherein, the corresponding cloud game instance refers to the cloud game instance corresponding to the GS.
Specifically, the local game is directly installed and operated at the user terminal, and after the user starts the game, the user terminal can directly acquire the sound and picture information generated by the operation of the local game. And if the user needs to obtain the audio-visual information generated by running the cloud game instance through the user terminal, the GS needs to forward the audio-visual information generated by the corresponding cloud game instance to the user terminal. Specifically, the GS actively captures audio and visual information generated by a corresponding cloud game instance, encodes the captured audio and visual information according to a preset encoding mode and then forwards the encoded audio and visual information to the user terminal, and the user terminal synchronously plays the received audio and visual information after receiving the audio and visual information.
Step S203, when receiving input information sent by the user terminal, obtaining a control instruction corresponding to the input information based on a preset input information mapping table, the input device type of the user terminal, and the input information, and sending the control instruction to the cloud game instance, so that the cloud game instance executes the control instruction, where the preset input information mapping table stores mapping relationships between input information and control instructions of different types of input devices.
In other words, the input information sent by the user terminal can be understood as a control instruction for the cloud game instance sent by the user. After the GS receives the input information sent by the user terminal, the GS needs to analyze the input information into a corresponding control instruction, and then sends the control instruction to the cloud game instance, so that the cloud game instance executes the control instruction.
Specifically, the GS obtains a preset input information mapping table in advance, where a mapping relationship between input information and a control instruction of each input device type is stored in the preset input information mapping table, for example, a mapping relationship between input information and a control instruction of a keyboard, a mapping relationship between input information and a control instruction of a mouse, a corresponding relationship between input information and a control instruction of a motion sensing input device, and a mapping relationship between input information and a control instruction of a touch screen input device are stored. Firstly, determining the mapping relation between the input information of the input equipment of the user terminal and the control instruction based on the preset input information mapping table and the input equipment type of the user terminal, then, acquiring the input information sent by the user terminal according to the mapping relation between the input information and the control instruction, converting the input information into the corresponding control instruction, forwarding the control instruction to a cloud game instance, and executing the control instruction by the cloud game instance.
For example, the input device of the user terminal is a keyboard, the input device of the cloud game instance is a gamepad, the user inputs a key value "a" through the user terminal, if it is known from a mapping relationship between input information of the keyboard and a control instruction that a control instruction corresponding to the input information key value "a" is "jump up", the "jump up" control instruction is sent to the cloud game instance, and the cloud game instance executes the "jump up" instruction. It can be understood that each input message may not have corresponding control, and if a control instruction corresponding to the input message key value "a" is not obtained in the mapping relationship between the input message and the control instruction, the GS analyzes that the result of the input message key value "a" is null, that is, there is no corresponding control instruction, and does not send any instruction like the cloud game instance.
According to the scheme, the GS scheduled by the cloud game system is used for connecting the user terminal and the cloud game instance of the local end, capturing the audio and video information generated by the operation of the cloud game instance and forwarding the audio and video information to the user terminal, and analyzing the input information sent by the user terminal into the corresponding control instruction, so that the cloud game instance can execute the control instruction sent by the user, and the cloud game service is provided for the user. According to the scheme, steps of downloading, installing, updating and the like of the local-end game installation package do not need to be carried out at the user terminal, the configuration of the terminal used by the user is not high, and the method and the device are beneficial to popularization of the local-end game after cloud-end.
In an optional embodiment of the present application, the obtaining of the audio and video information generated by the cloud game instance includes any one of the following:
acquiring sound and picture information generated by a cloud game instance through a preset interface on the cloud game instance according to a preset sampling rate, wherein the preset interface is obtained by the cloud game instance according to the specification agreed by a game server GS;
receiving sound and picture information generated by the cloud game instance sent by the cloud game instance through a data interface on a GS according to a preset sampling frequency;
and capturing sound and picture information generated by the cloud game instance according to a preset sampling rate.
Specifically, the active capturing can be realized by actively capturing the audio and video information generated by the cloud game instance through the existing interface of the cloud game system or a hardware mode, and the receiving and sending can be realized through a data interface on the GS.
Specifically, in the active capturing mode of the audio and visual information, if the cloud-end game instance is obtained by the local-end game in a cloud-end manner, the local-end game does not need to be changed in the process of performing the cloud-end processing on the local-end game in the audio and visual information obtaining mode, and the audio and visual information can be directly operated in the cloud-end game system. The preset interface on the cloud game instance is set according to the GS agreed specification, that is, if the cloud game instance is obtained by cloud-converting the local game, in the process of cloud-converting the local game in the sound and picture information acquisition mode, the local game needs to be changed according to the GS specified specification, that is, the preset interface is set. And then the GS captures the generated sound and picture information through a preset structure on the cloud game instance.
In the manner of sending the sound and picture information by the receiving cloud game instance, the receiving cloud game instance sends the sound and picture information generated by the cloud game instance through the data interface on the GS according to the preset sampling frequency, that is, the cloud game instance sends the sound and picture information generated by the cloud game instance to the GS through the data interface on the GS according to the preset frequency. Specifically, the cloud game instance generates sound and picture information, the sound and picture information is actively sent to the GS through a data interface on the GS, the GS judges whether the sound and picture information is coded or not through interface parameters, and if the cloud game instance provides uncoded data, the GS codes the sound and picture information in a pre-coding mode and forwards the coded data to the user terminal; if the cloud game instance provides the encoded data, the GS further judges whether the encoding specification accords with the audio and video encoding specification of the cloud game system, if so, the GS forwards the encoded data to the user terminal, and if not, the GS completes correct transcoding and then forwards the encoded data to the user terminal. In this way, the GS cannot directly control the frequency of the cloud game instance actively generating the sound and picture information, so that only an interface can be provided according to an agreed specification through the cloud game instance, thereby modifying and controlling the sampling rate.
In an optional embodiment of the present application, before obtaining the sound and picture information generated by the cloud game instance, the method further includes:
and receiving a preset sampling rate set by a user or operation and maintenance personnel through a preset parameter setting interface on the cloud game instance.
Specifically, the preset parameter interface is implemented on a cloud game instance, an input interface of the preset parameter interface is provided for a user terminal or a cloud game system, and at the user terminal, a user can set or select a required preset sampling rate through the input interface, or at the cloud game system, an operation and maintenance worker can also set or select a required preset sampling rate through the input interface. It should be noted that, the preset parameter interface may also receive resolution, key frame interval, code rate, retransmission times, and the like, which are set by a user or an operation and maintenance person. Further, when the GS actively captures the sound and picture information, the cloud game instance sends the sound and picture information to the corresponding GS according to a preset sampling rate received through a preset parameter interface on the cloud game instance. And when the GS receives the audio and video information sent by the cloud game instance, the preset sampling rate received through the preset parameter interface on the cloud game instance is directly used for controlling the sending of the audio and video information, that is, the preset sampling rate is not required to be sent to the corresponding GS.
In an optional embodiment of the present application, obtaining a control instruction corresponding to input information based on a preset input information mapping table, an input device type of a user terminal, and the input information includes:
receiving the equipment type of the user terminal sent by the user terminal when establishing communication connection with the user terminal;
acquiring a mapping relation between input information of a device type of a user terminal and a control instruction from a preset input information mapping table;
and acquiring a control instruction corresponding to the input information based on the mapping relation between the input information, the input information of the equipment type of the user terminal and the control instruction.
Specifically, after establishing a connection with the user terminal, the GS obtains the input device type of the user terminal sent by the user terminal. And acquiring a mapping relation between the input information and the control instruction according to the acquired input equipment type of the user terminal sent by the user terminal, and analyzing the input information into the corresponding control instruction by the GS based on the mapping relation.
In an optional embodiment of the present application, the method further comprises:
and acquiring a preset input information mapping table from the operation and maintenance server.
Specifically, the operation and maintenance server stores a preset input information mapping table, where the preset input information mapping table may be preconfigured by the operation and maintenance personnel according to various types of input devices.
As shown in fig. 3, in the process of providing the cloud game service for the cloud game system provided by the present application, the information interaction process among the user terminal, the corresponding GS, and the corresponding cloud game instance may include forwarding of audio and video information and parsing and forwarding of input information. The forwarding process of the sound and picture information may include the following steps:
(a1) the GS acquires sound and picture information generated by a cloud game instance;
(a2) the GS carries out coding processing on the obtained sound and picture information according to a preset coding mode;
(a3) and the GS forwards the encoded sound and picture information to the user terminal.
Parsing and forwarding of the input information may include the following steps:
(b1) the user terminal sends input information to the GS;
(b2) the GS analyzes the input information into a corresponding control instruction based on a preset input information mapping table;
(b3) and the GS sends the control instruction to the cloud game instance.
Fig. 4 is a block diagram illustrating a running apparatus of a cloud game service according to an embodiment of the present disclosure, and as shown in fig. 4, the apparatus 400 may include: a communication connection request module 401, a sound and picture information sending module 402 and a control instruction sending module 403, wherein:
the communication connection request module 401 is configured to, when receiving a communication connection request sent by a user terminal, establish a communication connection with the user terminal in response to the communication connection request;
the sound and picture information sending module 402 is used for acquiring sound and picture information generated by a cloud game instance in the running process of the corresponding cloud game instance, coding the sound and picture information according to a preset coding mode and sending the sound and picture information to the user terminal;
the control instruction sending module 403 is configured to, when receiving input information sent by a user terminal, obtain a control instruction corresponding to the input information based on a preset input information mapping table, an input device type of the user terminal, and the input information, and send the control instruction to a cloud game instance, so that the cloud game instance executes the control instruction, where a mapping relationship between input information and control instructions of input devices of different types is stored in the preset input information mapping table.
According to the scheme, the GS scheduled by the cloud game system is used for connecting the user terminal and the cloud game instance of the local end, capturing the audio and video information generated by the operation of the cloud game instance and forwarding the audio and video information to the user terminal, and analyzing the input information sent by the user terminal into the corresponding control instruction, so that the cloud game instance can execute the control instruction sent by the user, and the cloud game service is provided for the user. According to the scheme, steps of downloading, installing, updating and the like of the local-end game installation package do not need to be carried out at the user terminal, the configuration of the terminal used by the user is not high, and the method and the device are beneficial to popularization of the local-end game after cloud-end.
Acquiring sound and picture information generated by a cloud game instance through a preset interface on the cloud game instance according to a preset sampling rate, wherein the preset interface is obtained by the cloud game instance according to the specification agreed by a game server GS;
receiving sound and picture information generated by the cloud game instance sent by the cloud game instance through a data interface on a GS (service gateway) according to a preset sampling rate;
and capturing sound and picture information generated by the cloud game instance according to a preset sampling rate.
In an optional embodiment of the present application, the apparatus further comprises a sampling rate setting module configured to:
before obtaining the sound and picture information generated by the cloud game instance, receiving a preset sampling rate set by a user or operation and maintenance personnel through a preset parameter setting interface on the cloud game instance.
In an optional embodiment of the present application, the control instruction sending module is specifically configured to:
receiving the equipment type of the user terminal sent by the user terminal when establishing communication connection with the user terminal;
acquiring a mapping relation between input information of a device type of a user terminal and a control instruction from a preset input information mapping table;
and acquiring a control instruction corresponding to the input information based on the mapping relation between the input information, the input information of the equipment type of the user terminal and the control instruction.
In an optional embodiment of the present application, the apparatus further includes an input information mapping table obtaining module, configured to:
and acquiring a preset input information mapping table from the operation and maintenance server.
Based on the same principle, an embodiment of the present application further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method provided in any optional embodiment of the present application is implemented, and the following specific cases may be implemented:
when a communication connection request sent by a user terminal is received, responding to the communication connection request and establishing communication connection with the user terminal; in the running process of the corresponding cloud game instance, obtaining sound and picture information generated by the cloud game instance, coding the sound and picture information according to a preset coding mode and then sending the sound and picture information to a user terminal; when input information sent by a user terminal is received, a control instruction corresponding to the input information is obtained based on a preset input information mapping table, the input equipment type of the user terminal and the input information, and the control instruction is sent to a cloud game instance so that the cloud game instance executes the control instruction, wherein the preset input information mapping table stores mapping relations between the input information and the control instruction of different types of input equipment.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method shown in any embodiment of the present application.
It is understood that the medium may store a computer program corresponding to a scheduling method of a forwarding server of a cloud game.
Fig. 5 is a schematic structural diagram of an electronic device to which an embodiment of the present application is applicable, and as shown in fig. 5, the electronic device 500 shown in fig. 5 includes: a processor 501 and a memory 503. Wherein the processor 501 is coupled to the memory 503, such as via the bus 502. Further, the electronic device 500 may also include a transceiver 504, and the electronic device 500 may interact with other electronic devices through the transceiver 504. It should be noted that the transceiver 504 is not limited to one in practical applications, and the structure of the electronic device 500 is not limited to the embodiment of the present application.
The processor 501, applied in this embodiment of the application, may be configured to implement the functions of the communication connection establishing module, the sound and picture information sending module, and the control instruction sending module shown in fig. 4.
The processor 501 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 501 may also be a combination of implementing computing functionality, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, and the like.
Bus 502 may include a path that transfers information between the above components. The bus 502 may be a PCI bus or an EISA bus, etc. The bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The memory 503 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 503 is used for storing application program codes for executing the scheme of the application, and the processor 501 controls the execution. The processor 501 is configured to execute the application code stored in the memory 503 to implement the actions of the running device of the cloud game service provided in the embodiment shown in fig. 4.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (9)

1. An operation method of a cloud game service is characterized by comprising the following steps:
when a communication connection request sent by a user terminal is received, responding to the communication connection request to establish communication connection with the user terminal;
in the running process of a corresponding cloud game instance, obtaining sound and picture information generated by the cloud game instance, coding the sound and picture information according to a preset coding mode, and sending the sound and picture information to the user terminal;
when input information sent by the user terminal is received, a control instruction corresponding to the input information is obtained based on a preset input information mapping table, the type of input equipment of the user terminal and the input information, and the control instruction is sent to the cloud game instance so that the cloud game instance executes the control instruction, wherein the preset input information mapping table stores mapping relations between the input information and the control instruction of the input equipment of different types.
2. The method of claim 1, wherein obtaining the voice and picture information generated by the cloud game instance comprises any one of:
acquiring sound and picture information generated by the cloud game instance through a preset interface on the cloud game instance according to a preset sampling rate, wherein the preset interface is obtained by the cloud game instance according to the specification agreed by a game server GS;
receiving sound and picture information generated by the cloud game instance and sent by the cloud game instance through a data interface on the GS according to a preset sampling rate;
and capturing sound and picture information generated by the cloud game instance according to a preset sampling rate.
3. The method of claim 2, wherein prior to obtaining the voice and picture information generated by the cloud game instance, the method further comprises:
and receiving the preset sampling rate set by a user or operation and maintenance personnel through a preset parameter setting interface on the cloud game instance.
4. The method according to claim 1, wherein the obtaining of the control instruction corresponding to the input information based on a preset input information mapping table, an input device type of the user terminal, and the input information comprises:
receiving the equipment type of the user terminal sent by the user terminal when establishing communication connection with the user terminal;
acquiring a mapping relation between input information of the equipment type of the user terminal and a control instruction from the preset input information mapping table;
and acquiring a control instruction corresponding to the input information based on the mapping relation among the input information, the input information of the equipment type of the user terminal and the control instruction.
5. The method of claim 1, further comprising:
and acquiring the preset input information mapping table from the operation and maintenance server.
6. An operating device of a cloud game service, comprising:
the communication connection request module is used for responding to a communication connection request sent by a user terminal and establishing communication connection with the user terminal when receiving the communication connection request;
the sound and picture information sending module is used for acquiring sound and picture information generated by a cloud game instance in the running process of the corresponding cloud game instance, coding the sound and picture information according to a preset coding mode and then sending the sound and picture information to the user terminal;
the control instruction sending module is used for obtaining a control instruction corresponding to input information based on a preset input information mapping table, the input equipment type of the user terminal and the input information when receiving the input information sent by the user terminal, and sending the control instruction to the cloud game instance so that the cloud game instance executes the control instruction, wherein the preset input information mapping table stores mapping relations between the input information and the control instruction of different types of input equipment.
7. The apparatus of claim 6, wherein the control instruction sending module is specifically configured to:
receiving the equipment type of the user terminal sent by the user terminal when establishing communication connection with the user terminal;
acquiring a mapping relation between input information of the equipment type of the user terminal and a control instruction from the preset input information mapping table;
and acquiring a control instruction corresponding to the input information based on the mapping relation among the input information, the input information of the equipment type of the user terminal and the control instruction.
8. An electronic device comprising a memory and a processor;
the memory has stored therein a computer program;
the processor for executing the computer program to implement the method of any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method of any one of claims 1 to 5.
CN202010526816.3A 2020-06-09 2020-06-09 Running method and device of cloud game service and computer readable storage medium Pending CN111803927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526816.3A CN111803927A (en) 2020-06-09 2020-06-09 Running method and device of cloud game service and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526816.3A CN111803927A (en) 2020-06-09 2020-06-09 Running method and device of cloud game service and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111803927A true CN111803927A (en) 2020-10-23

Family

ID=72846567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526816.3A Pending CN111803927A (en) 2020-06-09 2020-06-09 Running method and device of cloud game service and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111803927A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112316417A (en) * 2020-11-05 2021-02-05 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium
CN113713369A (en) * 2021-08-27 2021-11-30 厦门雅基软件有限公司 Function key mapping method, simulation control method, device and equipment for multiplayer game
CN115814402A (en) * 2022-11-22 2023-03-21 上海哔哩哔哩科技有限公司 Data processing method, user terminal, system, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150202533A1 (en) * 2014-01-21 2015-07-23 Nvidia Corporation Mapping touchscreen gestures to ergonomic controls across application scenes
CN105903191A (en) * 2016-04-08 2016-08-31 网宿科技股份有限公司 Data processing method and system across terminals
CN107050858A (en) * 2015-09-30 2017-08-18 索尼互动娱乐美国有限责任公司 Multi-user demo streaming service for cloud gaming
US20190366210A1 (en) * 2018-05-31 2019-12-05 Sony Interactive Entertainment LLC Bifurcation of shared controls and passing controls in a video game
CN110841278A (en) * 2019-11-14 2020-02-28 珠海金山网络游戏科技有限公司 Cloud game implementation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150202533A1 (en) * 2014-01-21 2015-07-23 Nvidia Corporation Mapping touchscreen gestures to ergonomic controls across application scenes
CN107050858A (en) * 2015-09-30 2017-08-18 索尼互动娱乐美国有限责任公司 Multi-user demo streaming service for cloud gaming
CN105903191A (en) * 2016-04-08 2016-08-31 网宿科技股份有限公司 Data processing method and system across terminals
US20190366210A1 (en) * 2018-05-31 2019-12-05 Sony Interactive Entertainment LLC Bifurcation of shared controls and passing controls in a video game
CN110841278A (en) * 2019-11-14 2020-02-28 珠海金山网络游戏科技有限公司 Cloud game implementation method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112316417A (en) * 2020-11-05 2021-02-05 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium
CN112316417B (en) * 2020-11-05 2022-06-07 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium
CN113713369A (en) * 2021-08-27 2021-11-30 厦门雅基软件有限公司 Function key mapping method, simulation control method, device and equipment for multiplayer game
CN113713369B (en) * 2021-08-27 2023-09-15 厦门雅基软件有限公司 Function key mapping method, simulation control method, device and equipment for multiplayer game
CN115814402A (en) * 2022-11-22 2023-03-21 上海哔哩哔哩科技有限公司 Data processing method, user terminal, system, and storage medium

Similar Documents

Publication Publication Date Title
CN111803927A (en) Running method and device of cloud game service and computer readable storage medium
CN110708343B (en) Account login method, device, equipment and storage medium
CN109510754B (en) Online document generation method, device and system and electronic equipment
CN102377739A (en) Mobile terminal as well as realization method, service system and cloud server thereof
CN111803928A (en) Running method and device of cloud game service and computer readable storage medium
CN113556584B (en) Screenshot transmission method and device of cloud mobile phone, electronic equipment and storage medium
CN111093094A (en) Video transcoding method, device and system, electronic equipment and readable storage medium
CN104768063A (en) Video coding method and device
CN111790159A (en) Data processing method, device, equipment and computer readable storage medium
CN112653913A (en) Screen projection method and device, client device and readable storage medium
CN112764726B (en) Data synthesis method and device
US11196868B2 (en) Audio data processing method, server, client and server, and storage medium
CN104753756B (en) Method, equipment and the system that a kind of group creating is shared with group
CN113489805A (en) Docking method, device, equipment and storage medium of cloud desktop system
CN114500651B (en) Block chain data transmission method, device and equipment and readable storage medium
CN112948804A (en) Program control method, device and computer readable storage medium
CN105245553A (en) SOA system and service processing method
CN111193678B (en) Data processing method, device, equipment and computer readable storage medium
WO2020185512A1 (en) Usecase specification and runtime execution
CN113420133B (en) Session processing method, device, equipment and storage medium
CN115209179A (en) Video data processing method and device
CN101674327A (en) Heterogeneous system message integration method, framework and system
CN112559111B (en) Screen capturing method and device for sharing desktop
CN107872379A (en) A kind of terminal control method and device based on RCS message
CN107342981B (en) Sensor data transmission method and device and virtual reality head-mounted equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201023

RJ01 Rejection of invention patent application after publication