CN111787054A - Cloud game input method, device, equipment and medium - Google Patents

Cloud game input method, device, equipment and medium Download PDF

Info

Publication number
CN111787054A
CN111787054A CN202010434983.5A CN202010434983A CN111787054A CN 111787054 A CN111787054 A CN 111787054A CN 202010434983 A CN202010434983 A CN 202010434983A CN 111787054 A CN111787054 A CN 111787054A
Authority
CN
China
Prior art keywords
input
cloud game
client
user input
service function
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.)
Granted
Application number
CN202010434983.5A
Other languages
Chinese (zh)
Other versions
CN111787054B (en
Inventor
李庆硕
王智超
杨圣辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongqing Longtu Computer Technology Shanghai Co ltd
Original Assignee
Zhongqing Longtu Computer Technology Shanghai 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 Zhongqing Longtu Computer Technology Shanghai Co ltd filed Critical Zhongqing Longtu Computer Technology Shanghai Co ltd
Priority to CN202010434983.5A priority Critical patent/CN111787054B/en
Publication of CN111787054A publication Critical patent/CN111787054A/en
Application granted granted Critical
Publication of CN111787054B publication Critical patent/CN111787054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses a cloud game input method, a cloud game input device, equipment and a medium, wherein the cloud game input method applied to a transfer server comprises the following steps: and receiving a target authentication token sent by the client, determining a cloud game end corresponding to the client based on the target authentication token, forwarding data between the client and the cloud game end, and executing an input function. By adopting the technical scheme, the transfer server can establish a connection channel between the client and the cloud game terminal based on the pre-configured authentication token to forward data so as to realize the input function of the cloud game based on the local resources of the client.

Description

Cloud game input method, device, equipment and medium
Technical Field
The embodiment of the disclosure relates to the technical field of cloud computing, in particular to a cloud game input method, a cloud game input device, cloud game input equipment and a cloud game input medium.
Background
With the popularization of 4G and 5G mobile networks, the performance of mobile devices is continuously improved, and a large number of users choose to use the mobile devices for daily entertainment. However, PC games, mainframe games, and high quality mobile products place high demands on the devices and platform limitations, so that the user population for selecting cloud games is increasing.
At present, when a user realizes cloud game input in the process of experiencing a cloud game by a mobile terminal device, text or voice is usually input through an input program of the cloud game terminal, for example, a virtual keyboard program of the cloud game terminal is opened to realize text input. However, in this way, the adaptation effect of the input program of the cloud game end at the client is not good, and the user is difficult to operate at the client, which needs to be improved.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, embodiments of the present disclosure provide a cloud game input method, apparatus, device and medium.
In a first aspect, an embodiment of the present disclosure provides a cloud game input method, applied to a transfer server, including:
receiving a target authentication token sent by a client;
determining a cloud game terminal corresponding to the client terminal based on the target authentication token;
and carrying out data forwarding between the client and the cloud game terminal, and executing an input function.
In a second aspect, an embodiment of the present disclosure further provides a cloud game input method, applied to a client, including:
receiving a user input instruction;
sending the user input instruction to a cloud game end corresponding to the client through a transfer server;
receiving service function calling information which is returned by the cloud game terminal through the transfer server and is determined based on the user input instruction;
and calling a local input program to execute an input function based on the service function calling information, and returning a user input result to the cloud game terminal through the transfer server.
In a third aspect, an embodiment of the present disclosure further provides a cloud game input method, applied to a cloud game end, including:
receiving a user input instruction sent by a client;
generating corresponding service function calling information based on the user input instruction, and returning the service function calling information to the client;
and receiving a user input result returned by the client.
In a fourth aspect, an embodiment of the present disclosure further provides a cloud game input device configured in a transfer server, including:
the token receiving module is used for receiving a target authentication token sent by the client;
the cloud game terminal determining module is used for determining a cloud game terminal corresponding to the client terminal based on the target authentication token;
and the input module is used for forwarding data between the client and the cloud game terminal and executing an input function.
In a fifth aspect, an embodiment of the present disclosure further provides a cloud game input device configured at a client, including:
the user instruction module is used for receiving a user input instruction;
the instruction forwarding module is used for sending the user input instruction to a cloud game end corresponding to the client through a transfer server;
the calling information receiving module is used for receiving service function calling information which is returned by the cloud game terminal through the transfer server and is determined based on the user input instruction;
and the input execution module is used for calling a local input program to execute an input function based on the service function calling information and returning a user input result to the cloud game terminal through the transfer server.
In a sixth aspect, an embodiment of the present disclosure further provides a cloud game input device configured at a cloud game end, including:
the client instruction module is used for receiving a user input instruction sent by a client;
the calling information sending module is used for generating corresponding service function calling information based on the user input instruction and returning the service function calling information to the client;
and the input result receiving module is used for receiving the user input result returned by the client.
In a seventh aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the cloud game input method provided by the embodiment of the disclosure.
In an eighth aspect, the present disclosure also provides a computer-readable storage medium, where the storage medium stores a computer program, where the computer program is used to execute the cloud game input method provided by the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the cloud game input scheme provided by the embodiment of the disclosure, the target authentication token sent by the client is received through the transfer server, the cloud game end corresponding to the client is determined based on the target authentication token, data forwarding is performed between the client and the cloud game end, and an input function is executed. By adopting the technical scheme, the transfer server can establish a connection channel between the client and the cloud game terminal based on the pre-configured authentication token to forward data so as to realize the input function of the cloud game based on the local resources of the client.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a cloud game input method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a connection established by a transit server according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of another transit server establishing connection according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of another cloud game input method provided in the embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another cloud game input method provided in an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a cloud game input provided by an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a cloud game input device according to an embodiment of the disclosure;
fig. 8 is a schematic structural diagram of another cloud game input device provided in the embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another cloud game input device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a schematic flow chart of a cloud game input method according to an embodiment of the present disclosure, which may be executed by a cloud game input device, where the device is implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method is applied to a transit server, and the method includes:
step 101, receiving a target authentication token sent by a client.
The relay server may be understood as a bidirectional server for establishing a connection between a client and a cloud game terminal in the cloud game, and data communication may be implemented by calling a network communication function, such as a Socket (Socket). The client of the cloud game can be understood as a playing client, the specific cloud game execution logic is realized by the cloud game terminal, then the data stream is transmitted to the client, the client realizes the game experience of the user by playing the data stream,
the authentication Token (Token) refers to a credential which requests authentication from a user server in advance and can prove a legal status after the authentication is successful, and the authentication Token has uniqueness.
In the embodiment of the disclosure, when the client logs in, the client may send the target authentication token to the transit server, and the transit server may receive the target authentication token and correspond the client and the cloud game terminal according to the target authentication token.
Optionally, before receiving the target authentication token sent by the client, the method further includes: and receiving authentication tokens sent by the plurality of clients and the plurality of cloud game ends, and establishing a communication connection relation for the clients and the cloud game ends with the same authentication tokens. For example, referring to fig. 2, fig. 2 is a schematic diagram of establishing a connection by a transit server according to an embodiment of the present disclosure, where four cloud game terminals and four clients send authentication tokens to the transit server, the transit server may identify the authentication tokens of the cloud game terminals and the clients, and establish a communication connection relationship between the clients and the clients with the same authentication tokens, and a bidirectional arrow between the client and the cloud game terminal in the diagram indicates that data transmission may be performed.
Exemplarily, as shown in fig. 3, fig. 3 is a schematic diagram of another relay server establishing connection provided in the embodiment of the present disclosure, and the diagram shows a specific process of establishing a communication connection relationship between a client and a cloud game end, where the client and the cloud game end request connection to the relay server, the relay server receives the request and establishes the communication connection relationship, and determines whether the authentication tokens sent by the client and the cloud game end correspond to each other, that is, whether the authentication tokens are the same, if so, the communication connection relationship is successfully established, and the client and the cloud game end are correctly connected, and waits for a subsequent instruction; and if the authentication tokens are different, the communication connection relationship is failed to be established, and the communication connection relationship is returned to be reestablished.
And 102, determining a cloud game end corresponding to the client based on the target authentication token.
After receiving the target authentication token of the client, the transit server may determine the corresponding cloud game terminal based on the target authentication token and a predetermined communication connection relationship. If the corresponding communication connection relation is not found based on the target authentication token, the corresponding cloud game end does not exist in the current client side, and the determination is carried out after the communication connection relation between the transfer server and the corresponding cloud game end is established.
And 103, forwarding data between the client and the cloud game terminal, and executing an input function.
In the embodiment of the disclosure, after the corresponding cloud game terminal is determined based on the target authentication token of the client, the input function of the cloud game can be executed. Specifically, the data forwarding between the client and the cloud game end and the input function may be performed, and the input function may include: receiving a user input instruction sent by a client; the method comprises the steps that a user input instruction is forwarded and sent to a cloud game end, and service function calling information which is returned by the cloud game end and determined based on the user input instruction is received; sending the service function calling information to the client, and receiving a user input result obtained by the client based on the service function calling information; and sending the input result of the user to the cloud game terminal.
According to the cloud game input scheme provided by the embodiment of the disclosure, the target authentication token sent by the client is received through the transfer server, the cloud game end corresponding to the client is determined based on the target authentication token, data forwarding is performed between the client and the cloud game end, and an input function is executed. By adopting the technical scheme, the transfer server can establish a connection channel between the client and the cloud game terminal based on the pre-configured authentication token to forward data so as to realize the input function of the cloud game based on the local resources of the client.
Fig. 4 is a flowchart illustrating another cloud game input method according to an embodiment of the present disclosure, which may be implemented by a cloud game input apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 4, the method is applied to a client, and includes:
step 201, receiving a user input instruction.
The user input instruction may be an instruction corresponding to an input operation performed by a user on the cloud game interface of the client.
Specifically, receiving a user input instruction may include: when the operation of the user on the character input box or the voice input key is detected, the user input instruction is determined to be received. When the user operates on the cloud game interface of the client, the client can obtain a specific user input instruction through identification.
Step 202, sending the user input instruction to the cloud game end corresponding to the client through the transfer server.
In this embodiment of the disclosure, before receiving the user input instruction, the method may further include: and sending the target authentication token of the client to the transfer server so that the transfer server determines the cloud game end corresponding to the client according to the target authentication token. The transfer server can forward the data of the client and the cloud game terminal which correspond to each other subsequently.
After receiving the user input instruction, the client may send the user input instruction to the transfer server, and forward the user input instruction to the cloud game end corresponding to the client through the transfer server.
And step 203, receiving service function calling information which is returned by the cloud game terminal through the transit server and is determined based on the user input instruction.
The service function calling information refers to information which is generated by the cloud game terminal based on a user input instruction and is used for calling resources corresponding to the client terminal.
Specifically, after the client sends the user input instruction to the cloud game end through the transfer server, the cloud game end can generate corresponding service function calling information based on the user input instruction, and return the service function calling information to the client through the transfer server.
And step 204, calling a local input program to execute an input function based on the service function calling information, and returning a user input result to the cloud game terminal through the transfer server.
The local input program refers to a functional program which can realize user input by calling a local resource by a client. The local input program corresponds to the service function call information.
The service function calling information may include an input program calling identifier and input information, where the input program calling identifier is one of the function program calling identifiers, the function program calling identifier is a basic parameter in the service function calling information in the cloud game terminal, the data format may be in a json format, and the function program calling identifiers corresponding to different service function programs are different. The input information belongs to service function information, and the service function information is specific parameter information required by calling a local function program. After receiving the service function calling information, the client can extract the input program calling identifier and the input information, determine a local input program based on the input program calling identifier, start the local input program based on the input information, and execute an input function.
In the embodiment of the disclosure, the user input instruction comprises a text input instruction and a voice input instruction. Correspondingly, the input information in the service function calling information may include text input information and voice input information.
When the user input command is a text input command, invoking a local input program based on the service function calling information to execute an input function, which may include: and pulling up the local keyboard program to execute the text input function based on the text input information in the service function calling information, wherein the text input information comprises at least one of a text format and a text length. For example, the text format may limit the support of only numeric and/or alphabetic input, etc., the text length may limit the input length, the text input information may also include text entry box prompts, etc.
Illustratively, when a user clicks a text input box in the cloud game, a user input instruction received by the client is a text input instruction, the local input program is a local keyboard program, service function information in the service function calling information is text input information, and after the client displays the local input box, the local virtual keyboard program or the local entity keyboard program can be pulled up based on the text input information so that the user can input text to obtain a user input result.
When the user input command is a voice input command, calling the local input program to execute the input function based on the service function calling information, which may include: and pulling up the local recording program to execute the voice input function based on the voice input information in the service function calling information, wherein the voice input information comprises at least one of voice format and voice size.
Compared with the prior art, the technical scheme of the embodiment of the disclosure brings convenience to user input operation, and avoids operation difficulty caused by display deformation caused by different display resolutions and different platforms of the virtual input program at the cloud game end.
It can be understood that due to the characteristics that the mobile terminal network conditions are complex and the wireless network and the mobile network may be switched at any time, the client terminal may retry to connect after the network is disconnected, so as to ensure that the connection with the cloud game terminal can be kept continuous.
According to the cloud game input scheme provided by the embodiment of the disclosure, a user input instruction is received through a client, the user input instruction is sent to a cloud game end corresponding to the client through a transfer server, service function calling information which is returned by the cloud game end through the transfer server and is determined based on the user input instruction is received, a local input program is called based on the service function calling information to execute an input function, and a user input result is returned to the cloud game end through the transfer server. By adopting the technical scheme, the client can send the user input instruction to the corresponding cloud game terminal based on the transfer server, receive the service function calling information returned by the cloud game terminal, and realize the specific input function by adopting the local input program based on the service function calling information.
Fig. 5 is a flowchart illustrating another cloud game input method provided by an embodiment of the present disclosure, which may be executed by a cloud game input apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 5, the method is applied to a cloud game terminal, and includes:
step 301, receiving a user input instruction sent by a client.
After receiving the user input instruction, the client can forward the user input instruction to the corresponding cloud game end through the transfer server, and the cloud game end receives the user input instruction.
And step 302, generating corresponding service function calling information based on the user input instruction, and returning the service function calling information to the client.
Specifically, generating corresponding service function calling information based on the user input instruction may include: and identifying a user input instruction, and generating corresponding service function calling information, wherein the service function calling information comprises an input program calling identifier and input information. After receiving the user input instruction, the cloud game terminal can identify the user input instruction through a preset identification program or algorithm, determine an input function corresponding to the user input instruction, and generate service function calling information capable of calling a local input program of the client.
The service function calling information may include an input program calling identifier and input information, where the input program calling identifier is one of the function program calling identifiers, the function program calling identifier is a basic parameter in the service function calling information in the cloud game terminal, the data format may be in a json format, and the function program calling identifiers corresponding to different service function programs are different. The input information belongs to service function information, and the service function information is specific parameter information required by calling a local function program.
And step 303, receiving a user input result returned by the client.
The client side can return the user input result after executing the input function based on the service function calling information, and the cloud game side can receive the user input result through the transfer server and display the user input result.
According to the cloud game input scheme provided by the embodiment of the disclosure, a user input instruction sent by a client is received through a cloud game terminal, corresponding service function calling information is generated based on the user input instruction, the service function calling information is returned to the client, and a user input result returned by the client is received. By adopting the technical scheme, the cloud game end can receive the user input instruction of the client based on the transfer server and send the service function calling information to the client, so that the client can realize the specific input function by adopting local resources based on the service function calling information.
Fig. 6 is a schematic diagram of cloud game input provided in an embodiment of the present disclosure, where a client and a cloud game end in the diagram have a communication connection relationship, and a specific process may be as follows: the client receives a user input instruction, and sends the user input instruction to the cloud game end corresponding to the client through the transfer server; the cloud game terminal receives the user input instruction forwarded by the transfer server and generates corresponding service function calling information based on the user input instruction; the cloud game terminal returns the service function calling information to the client terminal through the transfer server; the client receives a request, namely service function calling information is received, and a local input program is called to execute an input function based on the service function calling information to obtain a user input result; the client side sends the user input result to the corresponding cloud game end in a matching manner through the transfer server; the cloud game end receives and displays the user input result forwarded by the transfer server; and (6) ending.
In the embodiment of the disclosure, data transmission can be performed by establishing the connection channel through the transit server according to the unique correspondence of the authentication token. After receiving the information returned by the cloud game terminal, the client terminal can extract related data, match the service types, provide an input function for the user at the client terminal, and transmit back the input result of the user after the input function is executed. The embodiment of the disclosure provides a more convenient cloud game input mode, which is characterized in that the data transmission based on a transfer server is used for distinguishing and processing the service types, and the local equipment is used for executing specific operation, so that the input performance of the cloud game is improved, and the user experience is further optimized.
Fig. 7 is a schematic structural diagram of a cloud game input device according to an embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in an electronic device, and may perform control of a cloud game input function by executing a cloud game input method. As shown in fig. 7, the apparatus includes:
a token receiving module 401, configured to receive a target authentication token sent by a client;
a cloud game side determining module 402, configured to determine, based on the target authentication token, a cloud game side corresponding to the client;
an input module 403, configured to forward data between the client and the cloud game end, and execute an input function.
Optionally, the apparatus further includes a connection module, specifically configured to: prior to receiving the target authentication token sent by the client,
and receiving authentication tokens sent by the plurality of clients and the plurality of cloud game ends, and establishing a communication connection relation for the clients and the cloud game ends with the same authentication tokens.
Optionally, the cloud game side determining module 402 is specifically configured to:
and determining a corresponding cloud game end based on the target authentication token and the communication connection relation.
Optionally, the input module 403 is specifically configured to:
receiving a user input instruction sent by the client;
the user input instruction is forwarded and sent to the cloud game end, and service function calling information which is returned by the cloud game end and determined based on the user input instruction is received;
sending the service function calling information to the client, and receiving a user input result obtained by the client based on the service function calling information;
and sending the user input result to the cloud game terminal.
According to the cloud game input device provided by the embodiment of the disclosure, the transfer server receives the target authentication token sent by the client, the cloud game terminal corresponding to the client is determined based on the target authentication token, data forwarding is performed between the client and the cloud game terminal, and an input function is executed. By adopting the technical scheme, the transfer server can establish a connection channel between the client and the cloud game terminal based on the pre-configured authentication token to forward data so as to realize the input function of the cloud game based on the local resources of the client.
Fig. 8 is a schematic structural diagram of another cloud game input device according to an embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in an electronic device, and may perform control of a cloud game input function by executing a cloud game input method. As shown in fig. 8, the apparatus is configured at the client, and includes:
a user instruction module 501, configured to receive a user input instruction;
the instruction forwarding module 502 is configured to send the user input instruction to a cloud game end corresponding to the client through a transfer server;
a calling information receiving module 503, configured to receive service function calling information that is returned by the cloud game end through the transit server and is determined based on the user input instruction;
and an input execution module 504, configured to invoke a local input program to execute an input function based on the service function call information, and return a user input result to the cloud game terminal through the transit server.
Optionally, the apparatus further includes a token connection module, configured to: prior to said receiving of the user input instruction,
and sending the target authentication token of the client to the transfer server so that the transfer server determines the cloud game end corresponding to the client according to the target authentication token.
Optionally, the user input instruction includes a text input instruction and a voice input instruction.
Optionally, when the user input instruction is the text input instruction, the input execution module 504 is specifically configured to:
and pulling up a local keyboard program to execute a text input function based on text input information in the service function calling information, wherein the text input information comprises at least one of a text format and a text length.
Optionally, when the user input instruction is the voice input instruction, the input execution module 504 is specifically configured to:
and pulling up a local recording program to execute a voice input function based on the voice input information in the service function calling information, wherein the voice input information comprises at least one of a voice format and a voice size.
Optionally, the user instruction module 501 is specifically configured to:
when the operation of the user on the character input box or the voice input key is detected, the user input instruction is determined to be received.
The cloud game input device provided by the embodiment of the disclosure receives a user input instruction through a client, sends the user input instruction to a cloud game end corresponding to the client through a transfer server, receives service function calling information which is returned by the cloud game end through the transfer server and is determined based on the user input instruction, calls a local input program to execute an input function based on the service function calling information, and returns a user input result to the cloud game end through the transfer server. By adopting the technical scheme, the client can send the user input instruction to the corresponding cloud game terminal based on the transfer server, receive the service function calling information returned by the cloud game terminal, and realize the specific input function by adopting the local input program based on the service function calling information.
Fig. 9 is a schematic structural diagram of another cloud game input device provided in an embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in an electronic device, and may perform control of a cloud game input function by executing a cloud game input method. As shown in fig. 9, the apparatus is configured at the cloud game end, and includes:
a client instruction module 601, configured to receive a user input instruction sent by a client;
a calling information sending module 602, configured to generate corresponding service function calling information based on the user input instruction, and return the service function calling information to the client;
an input result receiving module 603, configured to receive a user input result returned by the client.
Optionally, the calling information sending module 602 is specifically configured to:
and identifying the user input instruction, and generating corresponding service function calling information, wherein the service function calling information comprises an input program calling identifier and input information.
The cloud game input device provided by the embodiment of the disclosure receives a user input instruction sent by a client through a cloud game terminal, generates corresponding service function calling information based on the user input instruction, returns the service function calling information to the client, and receives a user input result returned by the client. By adopting the technical scheme, the cloud game end can receive the user input instruction of the client based on the transfer server and send the service function calling information to the client, so that the client can realize the specific input function by adopting local resources based on the service function calling information.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 10, the electronic device 700 includes one or more processors 701 and memory 702.
The processor 701 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 700 to perform desired functions.
Memory 702 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 701 to implement the cloud game input method of the embodiments of the disclosure described above and/or other desired functionality. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 700 may further include: an input device 703 and an output device 704, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 703 may include, for example, a keyboard, a mouse, and the like.
The output device 704 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 704 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device 700 relevant to the present disclosure are shown in fig. 10, omitting components such as buses, input/output interfaces, and the like. In addition, electronic device 700 may include any other suitable components depending on the particular application.
In addition to the above methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the cloud game input methods provided by embodiments of the present disclosure.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. 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.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the cloud game input method provided by embodiments of the present disclosure.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (17)

1. A cloud game input method is applied to a transfer server and comprises the following steps:
receiving a target authentication token sent by a client;
determining a cloud game terminal corresponding to the client terminal based on the target authentication token;
and carrying out data forwarding between the client and the cloud game terminal, and executing an input function.
2. The method of claim 1, further comprising, prior to receiving the target authentication token sent by the client:
and receiving authentication tokens sent by the plurality of clients and the plurality of cloud game ends, and establishing a communication connection relation for the clients and the cloud game ends with the same authentication tokens.
3. The method of claim 2, wherein determining the corresponding cloud gaming terminal for the client based on the target authentication token comprises:
and determining a corresponding cloud game end based on the target authentication token and the communication connection relation.
4. The method of claim 1, wherein data forwarding is performed between the client and the cloud gaming side, performing input functions, comprising:
receiving a user input instruction sent by the client;
the user input instruction is forwarded and sent to the cloud game end, and service function calling information which is returned by the cloud game end and determined based on the user input instruction is received;
sending the service function calling information to the client, and receiving a user input result obtained by the client based on the service function calling information;
and sending the user input result to the cloud game terminal.
5. A cloud game input method is applied to a client and comprises the following steps:
receiving a user input instruction;
sending the user input instruction to a cloud game end corresponding to the client through a transfer server;
receiving service function calling information which is returned by the cloud game terminal through the transfer server and is determined based on the user input instruction;
and calling a local input program to execute an input function based on the service function calling information, and returning a user input result to the cloud game terminal through the transfer server.
6. The method of claim 5, prior to said receiving a user input instruction, further comprising:
and sending the target authentication token of the client to the transfer server so that the transfer server determines the cloud game end corresponding to the client according to the target authentication token.
7. The method of claim 5, wherein the user input instructions comprise text input instructions and voice input instructions.
8. The method of claim 7, wherein when the user input command is the text input command, the invoking a local input program based on the service function call information to perform an input function comprises:
and pulling up a local keyboard program to execute a text input function based on text input information in the service function calling information, wherein the text input information comprises at least one of a text format and a text length.
9. The method of claim 7, wherein when the user input command is the voice input command, the invoking a local input program to perform an input function based on the service function call information comprises:
and pulling up a local recording program to execute a voice input function based on the voice input information in the service function calling information, wherein the voice input information comprises at least one of a voice format and a voice size.
10. The method of claim 5, wherein receiving a user input instruction comprises:
when the operation of the user on the character input box or the voice input key is detected, the user input instruction is determined to be received.
11. A cloud game input method is applied to a cloud game terminal and comprises the following steps:
receiving a user input instruction sent by a client;
generating corresponding service function calling information based on the user input instruction, and returning the service function calling information to the client;
and receiving a user input result returned by the client.
12. The method of claim 11, wherein generating corresponding service function call information based on the user input instruction comprises:
and identifying the user input instruction, and generating corresponding service function calling information, wherein the service function calling information comprises an input program calling identifier and input information.
13. A cloud game input device, configured to a relay server, includes:
the token receiving module is used for receiving a target authentication token sent by the client;
the cloud game terminal determining module is used for determining a cloud game terminal corresponding to the client terminal based on the target authentication token;
and the input module is used for forwarding data between the client and the cloud game terminal and executing an input function.
14. A cloud game input device, configured at a client, includes:
the user instruction module is used for receiving a user input instruction;
the instruction forwarding module is used for sending the user input instruction to a cloud game end corresponding to the client through a transfer server;
the calling information receiving module is used for receiving service function calling information which is returned by the cloud game terminal through the transfer server and is determined based on the user input instruction;
and the input execution module is used for calling a local input program to execute an input function based on the service function calling information and returning a user input result to the cloud game terminal through the transfer server.
15. A cloud game input device, configured at a cloud game end, comprising:
the client instruction module is used for receiving a user input instruction sent by a client;
the calling information sending module is used for generating corresponding service function calling information based on the user input instruction and returning the service function calling information to the client;
and the input result receiving module is used for receiving the user input result returned by the client.
16. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the cloud game input method of any of claims 1-12.
17. A computer-readable storage medium, wherein the storage medium stores a computer program for executing the cloud game input method according to any one of claims 1 to 12.
CN202010434983.5A 2020-05-21 2020-05-21 Cloud game input method, device, equipment and medium Active CN111787054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434983.5A CN111787054B (en) 2020-05-21 2020-05-21 Cloud game input method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434983.5A CN111787054B (en) 2020-05-21 2020-05-21 Cloud game input method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111787054A true CN111787054A (en) 2020-10-16
CN111787054B CN111787054B (en) 2022-03-04

Family

ID=72754360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434983.5A Active CN111787054B (en) 2020-05-21 2020-05-21 Cloud game input method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111787054B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073754A (en) * 2020-11-11 2020-12-11 深圳乐播科技有限公司 Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN112511518A (en) * 2020-11-20 2021-03-16 中国联合网络通信集团有限公司 Method for logging in cloud game and intelligent gateway
CN114816082A (en) * 2021-01-20 2022-07-29 腾讯科技(深圳)有限公司 Input control method and device applied to cloud application and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086381A1 (en) * 2011-10-04 2013-04-04 Microsoft Corporation Multi-server authentication token data exchange
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment
CN107241387A (en) * 2017-05-12 2017-10-10 腾讯科技(深圳)有限公司 The processing method of request of data, apparatus and system
CN109395400A (en) * 2018-10-17 2019-03-01 网易(杭州)网络有限公司 Chat message processing method and processing device across game, electronic equipment, storage medium
CN110115835A (en) * 2018-02-05 2019-08-13 网宿科技股份有限公司 Cloud game operation method and server based on android system
CN110548281A (en) * 2019-08-19 2019-12-10 广州点云科技有限公司 virtual key pressing method based on cloud game terminal
CN110559651A (en) * 2019-09-16 2019-12-13 网易(杭州)网络有限公司 Control method and device of cloud game, computer storage medium and electronic equipment
CN110865870A (en) * 2019-11-14 2020-03-06 北京西山居互动娱乐科技有限公司 Application calling method and device based on hook technology

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086381A1 (en) * 2011-10-04 2013-04-04 Microsoft Corporation Multi-server authentication token data exchange
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment
CN107241387A (en) * 2017-05-12 2017-10-10 腾讯科技(深圳)有限公司 The processing method of request of data, apparatus and system
CN110115835A (en) * 2018-02-05 2019-08-13 网宿科技股份有限公司 Cloud game operation method and server based on android system
CN109395400A (en) * 2018-10-17 2019-03-01 网易(杭州)网络有限公司 Chat message processing method and processing device across game, electronic equipment, storage medium
CN110548281A (en) * 2019-08-19 2019-12-10 广州点云科技有限公司 virtual key pressing method based on cloud game terminal
CN110559651A (en) * 2019-09-16 2019-12-13 网易(杭州)网络有限公司 Control method and device of cloud game, computer storage medium and electronic equipment
CN110865870A (en) * 2019-11-14 2020-03-06 北京西山居互动娱乐科技有限公司 Application calling method and device based on hook technology

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073754A (en) * 2020-11-11 2020-12-11 深圳乐播科技有限公司 Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN112073754B (en) * 2020-11-11 2021-02-05 深圳乐播科技有限公司 Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN112511518A (en) * 2020-11-20 2021-03-16 中国联合网络通信集团有限公司 Method for logging in cloud game and intelligent gateway
CN112511518B (en) * 2020-11-20 2023-04-07 中国联合网络通信集团有限公司 Method for logging in cloud game and intelligent gateway
CN114816082A (en) * 2021-01-20 2022-07-29 腾讯科技(深圳)有限公司 Input control method and device applied to cloud application and electronic equipment

Also Published As

Publication number Publication date
CN111787054B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN111786948B (en) Cloud game control method, device, system, equipment and medium
CN111787054B (en) Cloud game input method, device, equipment and medium
CN111770052B (en) Cloud game payment method, device, equipment and medium
CN110300133B (en) Cross-domain data transmission method, device, equipment and storage medium
WO2020177698A1 (en) Inter-mini program platform communication method and device, and computer storage medium
US10594840B1 (en) Bot framework for channel agnostic applications
CN112199652B (en) Login method, terminal, server, system, medium and equipment of application program
US11087758B2 (en) Method and voice input apparatus for converting voice input to text input
WO2020177697A1 (en) Method for discovery between mini program platforms, device, and computer storage medium
CN110365796A (en) Service request processing method, device
CN113806037A (en) Service calling method and device, storage medium and electronic equipment
US20180357404A1 (en) Information processing method and apparatus, and electronic device
CN110418181B (en) Service processing method and device for smart television, smart device and storage medium
CN113961836A (en) Page jump method and device, electronic equipment and storage medium
US10997963B1 (en) Voice based interaction based on context-based directives
CN113055348B (en) Cross-platform data request method and device and electronic equipment
CN111770051B (en) Cloud game sharing method, device, equipment and medium
CN114675876A (en) Business processing method and device, electronic equipment and storage medium
CN110351333B (en) Request queue method and system with verification mechanism
CN106453573A (en) Method and system for processing CGI request in HTTP server
CN111629014B (en) Request agent implementation method, implementation device, server and storage medium
CN114679486B (en) Communication interaction method and system, application terminal, client terminal and transfer server terminal
CN113905263B (en) Set top box control method, equipment and storage medium
CN110781017B (en) Message processing method, device, equipment and storage medium
CN114253649B (en) Image rendering method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant