CN111770051B - Cloud game sharing method, device, equipment and medium - Google Patents

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

Info

Publication number
CN111770051B
CN111770051B CN202010434684.1A CN202010434684A CN111770051B CN 111770051 B CN111770051 B CN 111770051B CN 202010434684 A CN202010434684 A CN 202010434684A CN 111770051 B CN111770051 B CN 111770051B
Authority
CN
China
Prior art keywords
sharing
cloud game
client
information
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010434684.1A
Other languages
Chinese (zh)
Other versions
CN111770051A (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 CN202010434684.1A priority Critical patent/CN111770051B/en
Publication of CN111770051A publication Critical patent/CN111770051A/en
Application granted granted Critical
Publication of CN111770051B publication Critical patent/CN111770051B/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
    • 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/10Protocols in which an application is distributed across nodes in the network
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the disclosure discloses a cloud game sharing method, a cloud game sharing device, equipment and a medium, wherein the cloud game sharing method applied to a transfer server comprises the following steps: the cloud game terminal is used for receiving a target authentication token sent by the client, determining the cloud game terminal corresponding to the client based on the target authentication token, forwarding data between the client and the cloud game terminal, and executing a sharing 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 that the sharing function of the cloud game is realized based on the local resources of the client.

Description

Cloud game sharing 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 sharing method, device, equipment and 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, in the process that a user experiences a cloud game on a mobile terminal device, a client generally plays a data stream transmitted by a cloud game terminal, and due to the limitation of the cloud game terminal, the user cannot realize a sharing function on the client.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, embodiments of the present disclosure provide a cloud game sharing method, apparatus, device and medium.
In a first aspect, an embodiment of the present disclosure provides a cloud game sharing 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 a sharing function.
In a second aspect, an embodiment of the present disclosure further provides a cloud game sharing method, applied to a client, including:
receiving a user sharing instruction;
sending the user sharing 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 sharing instruction;
and calling a local sharing program to execute a sharing function based on the service function calling information, and returning a user sharing 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 sharing method, applied to a cloud game end, including:
receiving a user sharing instruction sent by a client;
generating corresponding service function calling information based on the user sharing instruction, and returning the service function calling information to the client;
and receiving a user sharing result returned by the client.
In a fourth aspect, an embodiment of the present disclosure further provides a cloud game sharing apparatus 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 sharing module is used for forwarding data between the client and the cloud game terminal and executing a sharing function.
In a fifth aspect, an embodiment of the present disclosure further provides a cloud game sharing apparatus configured at a client, including:
the user instruction module is used for receiving a user sharing instruction;
the instruction forwarding module is used for sending the user sharing instruction to a cloud game terminal 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 sharing instruction;
and the sharing execution module is used for calling a local sharing program to execute a sharing function based on the service function calling information and returning a user sharing 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 sharing apparatus configured at a cloud game end, including:
the client instruction module is used for receiving a user sharing instruction sent by a client;
the calling information sending module is used for generating corresponding service function calling information based on the user sharing instruction and returning the service function calling information to the client;
and the sharing result receiving module is used for receiving the user sharing 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 configured to read the executable instructions from the memory and execute the instructions to implement the cloud game sharing method provided by the embodiment of the disclosure.
In an eighth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program is configured to execute the cloud game sharing method provided in the embodiment of 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 sharing 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 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 a sharing 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 that the sharing function of the cloud game is realized 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 illustrating a cloud game sharing 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 flowchart of another cloud game sharing method according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another cloud game sharing method according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of cloud game sharing according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a cloud game sharing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another cloud game sharing device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another cloud game sharing 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 sharing method according to an embodiment of the present disclosure, where the method may be executed by a cloud game sharing apparatus, where the apparatus 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 end, 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 a sharing 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 sharing function of the cloud game can be executed. Specifically, the data forwarding between the client and the cloud game end and the sharing function may include: receiving a user sharing instruction sent by a client; the user sharing instruction is forwarded to the cloud game terminal, and service function calling information which is returned by the cloud game terminal and is determined based on the user sharing instruction is received; sending the service function calling information to the client, and receiving a user sharing result obtained by the client based on the service function calling information; and sending the user sharing result to the cloud game terminal.
According to the cloud game sharing 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 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 a sharing 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 that the sharing function of the cloud game is realized based on the local resources of the client.
Fig. 4 is a flowchart illustrating another cloud game sharing method according to an embodiment of the present disclosure, where the method may be executed by a cloud game sharing 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 sharing instruction.
The user sharing instruction can be an instruction corresponding to a sharing operation performed on a cloud game interface of the client by the user.
Specifically, receiving the user sharing instruction may include: and when the operation of the user on the sharing key is detected, determining that a user sharing instruction is received. When the user operates on the cloud game interface of the client, the client can obtain a specific user sharing instruction through identification.
Step 202, sending the user sharing instruction to the cloud game end corresponding to the client through the transfer server.
In this embodiment of the disclosure, before receiving the user sharing 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 sharing instruction, the client may send the user sharing instruction to the transfer server, and forward the user sharing 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 sharing instruction.
The service function calling information refers to information which is generated by the cloud game terminal based on the user sharing instruction and is used for calling resources corresponding to the client terminal.
Specifically, after the client sends the user sharing 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 sharing instruction, and return the service function calling information to the client through the transfer server.
And step 204, calling a local sharing program based on the service function calling information to execute a sharing function, and returning a user sharing result to the cloud game terminal through the transfer server.
The local sharing program refers to a functional program which can be shared by a user by calling local resources by a client. The local sharing program corresponds to the service function calling information.
The service function calling information may include a sharing program calling identifier and sharing information, wherein the sharing 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 adopt a json format, and the function program calling identifiers corresponding to different service function programs are different. The shared information belongs to business function information, and the business 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 sharing program calling identifier and the sharing information, determine a local sharing program based on the sharing program calling identifier, start the local sharing program based on the sharing information, and execute a sharing function.
Calling a local sharing program to execute a sharing function based on the service function calling information, which may include: and pulling up a local sharing program to execute a sharing function based on sharing information in the service function calling information, wherein the sharing information comprises at least one of a sharing link address, a sharing title, a sharing picture and the like. The shared information may be content restriction information of the current sharing operation of the user, and the specific shared information is not limited in the embodiment of the present disclosure.
The user sharing result may include information such as a sharing identifier, where the sharing identifier is used to show whether sharing is successful, for example, 0 may be used to indicate sharing is successful, 1 indicates sharing is failed, and 2 indicates that the sharing result is unknown.
Illustratively, when a user clicks a sharing button in a cloud game, a local sharing program can provide a sharing function for any one of programs, service function information in the service function calling information is the sharing information, and the client can pull up the local sharing program to share according to a sharing mode selected by the user to obtain a user sharing result.
Because the cloud game end may be on a PC platform, the limitation of the platform results in that a user cannot use an application program of the mobile end to perform sharing operation and the like, the disclosed embodiment locally corresponds to a service by using long connection data transmission, and converts the service into a direct operation client to perform specific operation, so that the function of the cloud game is expanded.
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 sharing scheme provided by the embodiment of the disclosure, a user sharing instruction is received through a client, the user sharing 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 sharing instruction is received, a local sharing program is called based on the service function calling information to execute a sharing function, and a user sharing result is returned to the cloud game end through the transfer server. By adopting the technical scheme, the client side can send the user sharing 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 sharing function by adopting the local sharing program based on the service function calling information.
Fig. 5 is a flowchart illustrating another cloud game sharing method according to an embodiment of the present disclosure, where the method may be executed by a cloud game sharing 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 sharing instruction sent by a client.
After receiving the user sharing instruction, the client can forward the user sharing instruction to the corresponding cloud game end through the transfer server, and the cloud game end receives the user sharing instruction.
And step 302, generating corresponding service function calling information based on the user sharing instruction, and returning the service function calling information to the client.
Specifically, generating corresponding service function call information based on the user sharing instruction may include: and identifying a user sharing instruction, and generating corresponding service function calling information, wherein the service function calling information comprises a sharing program calling identifier and sharing information. After receiving the user sharing instruction, the cloud game terminal can identify the user sharing instruction through a preset identification program or algorithm, determine a sharing function corresponding to the user sharing instruction, and generate service function calling information capable of calling a client local sharing program.
The service function calling information may include a sharing program calling identifier and sharing information, wherein the sharing 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 adopt a json format, and the function program calling identifiers corresponding to different service function programs are different. The shared information belongs to business function information, and the business function information is specific parameter information required by calling a local function program.
And step 303, receiving a user sharing result returned by the client.
The client side can return a user sharing result after executing the sharing function based on the service function calling information, and the cloud game side can receive the user sharing result through the transfer server and display the user sharing result.
Optionally, after receiving the user sharing result returned by the client, the method further includes: and displaying the user sharing result, and executing the associated target operation corresponding to the user sharing instruction. The association target operation refers to feedback operation provided by the cloud game service party for the user after the user shares operation. For example, the associated target operation may be a share bonus award delivery operation.
According to the cloud game sharing scheme provided by the embodiment of the disclosure, the cloud game terminal receives the user sharing instruction sent by the client terminal, generates corresponding service function calling information based on the user sharing instruction, returns the service function calling information to the client terminal, and receives a user sharing result returned by the client terminal. By adopting the technical scheme, the cloud game terminal can receive the user sharing instruction of the client terminal based on the transfer server and send the service function calling information to the client terminal, so that the client terminal can realize the specific sharing function by adopting local resources based on the service function calling information, the function limitation caused by the limitation of the cloud game terminal is solved, the service function of the cloud game is expanded, and the sharing experience of the user is further improved.
Fig. 6 is a schematic diagram of cloud game sharing provided in an embodiment of the present disclosure, where a client and a cloud game have a communication connection relationship, and a specific process may be as follows: the client receives a user sharing instruction, and sends the user sharing instruction to the cloud game end corresponding to the client through the transfer server; the cloud game terminal receives the user sharing instruction forwarded by the transfer server and generates corresponding service function calling information based on the user sharing 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, a local sharing program is called based on the service function calling information to execute a sharing function, and a user sharing result is obtained; the client side sends the user sharing result to the corresponding cloud game end in a matching mode through the transfer server; the cloud game end receives and displays the user sharing 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 a sharing function for the user at the client terminal, and transmit back a user sharing result after the sharing function is executed. The embodiment of the disclosure provides a more convenient cloud game sharing mode, which is characterized in that the business types are distinguished and processed based on data transmission of a transfer server, and specific operations are executed by utilizing local equipment, so that the sharing performance of a cloud game is improved, and further the user experience is optimized.
Fig. 7 is a schematic structural diagram of a cloud game sharing apparatus according to an embodiment of the present disclosure, where the apparatus 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 sharing function by executing a cloud game sharing 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;
the sharing module 403 is configured to forward data between the client and the cloud game terminal, and execute a sharing 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 sharing module 403 is specifically configured to:
receiving a user sharing instruction sent by the client;
the user sharing instruction is forwarded to the cloud game terminal, and service function calling information which is returned by the cloud game terminal and determined based on the user sharing instruction is received;
sending the service function calling information to the client, and receiving a user sharing result obtained by the client based on the service function calling information;
and sending the user sharing result to the cloud game terminal.
The cloud game sharing device provided by the embodiment of the disclosure receives a target authentication token sent by a client through a transfer server, determines a cloud game end corresponding to the client based on the target authentication token, and performs data forwarding between the client and the cloud game end to execute a sharing 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 that the sharing function of the cloud game is realized based on the local resources of the client.
Fig. 8 is a schematic structural diagram of another cloud game sharing apparatus according to an embodiment of the present disclosure, where the apparatus 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 sharing function by executing a cloud game sharing 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 sharing instruction;
the instruction forwarding module 502 is configured to send the user sharing 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, which is returned by the cloud game terminal through the transit server and is determined based on the user sharing instruction;
and a sharing execution module 504, configured to invoke a local sharing program to execute a sharing function based on the service function call information, and return a user sharing result to the cloud game terminal through the transit server.
Optionally, the apparatus further includes a token connection module, configured to: prior to the receiving of the user sharing 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 sharing execution module 504 is specifically configured to:
and pulling up a local sharing program to execute a sharing function based on sharing information in the service function calling information, wherein the sharing information comprises at least one of a sharing link address, a sharing title and a sharing picture.
Optionally, the user instruction module 501 is specifically configured to:
and when the operation of the user on the sharing key is detected, determining that a user sharing instruction is received.
The cloud game sharing device provided by the embodiment of the disclosure receives a user sharing instruction through a client, sends the user sharing instruction to a cloud game terminal corresponding to the client through a transfer server, receives service function calling information which is returned by the cloud game terminal through the transfer server and is determined based on the user sharing instruction, calls a local sharing program based on the service function calling information to execute a sharing function, and returns a user sharing result to the cloud game terminal through the transfer server. By adopting the technical scheme, the client side can send the user sharing 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 sharing function by adopting the local sharing program based on the service function calling information.
Fig. 9 is a schematic structural diagram of another cloud game sharing apparatus according to an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device, and may perform control of cloud game service functions by executing a cloud game sharing 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 sharing instruction sent by a client;
a calling information sending module 602, configured to generate corresponding service function calling information based on the user sharing instruction, and return the service function calling information to the client;
a sharing result receiving module 603, configured to receive a user sharing result returned by the client.
Optionally, the calling information sending module 602 is specifically configured to:
and identifying the user sharing instruction, and generating corresponding service function calling information, wherein the service function calling information comprises a sharing program calling identifier and sharing information.
The cloud game sharing device provided by the embodiment of the disclosure receives a user sharing instruction sent by a client through a cloud game terminal, generates corresponding service function calling information based on the user sharing instruction, returns the service function calling information to the client, and receives a user sharing result returned by the client. By adopting the technical scheme, the cloud game terminal can receive the user sharing instruction of the client terminal based on the transfer server and send the service function calling information to the client terminal, so that the client terminal can realize the specific sharing function by adopting local resources based on the service function calling information, the function limitation caused by the limitation of the cloud game terminal is solved, the service function of the cloud game is expanded, and the sharing experience of the user is further improved.
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 sharing methods 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 sharing 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, which, when executed by a processor, cause the processor to execute the cloud game sharing method provided by the 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 (13)

1. A cloud game sharing 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;
data forwarding is carried out between the client and the cloud game terminal, and a sharing function is executed;
data forwarding is carried out between the client and the cloud game terminal, and a sharing function is executed, wherein the sharing function comprises the following steps:
receiving a user sharing instruction sent by the client;
the user sharing instruction is forwarded to the cloud game terminal, and service function calling information which is returned by the cloud game terminal and determined based on the user sharing instruction is received; the service function calling information comprises a sharing program calling identifier and sharing information, wherein the sharing information is specific parameter information required by calling a local sharing program;
sending the service function calling information to the client, and receiving a user sharing result obtained by the client based on the service function calling information;
and sending the user sharing result to the cloud game terminal.
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. A cloud game sharing method is applied to a client and comprises the following steps:
receiving a user sharing instruction;
sending the user sharing 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 sharing instruction; the service function calling information comprises a sharing program calling identifier and sharing information;
calling a local sharing program to execute a sharing function based on the service function calling information, and returning a user sharing result to the cloud game terminal through the transfer server;
the calling a local sharing program based on the service function calling information to execute a sharing function includes: based on the sharing information in the service function calling information, pulling up a local sharing program to execute a sharing function;
before the receiving the user sharing instruction, the method further includes:
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.
5. The method of claim 4, wherein the shared information comprises at least one of a shared link address, a shared title, and a shared picture.
6. The method of claim 4, wherein the receiving the user sharing instruction comprises:
and when the operation of the user on the sharing key is detected, determining that a user sharing instruction is received.
7. A cloud game sharing method is applied to a cloud game terminal and comprises the following steps:
receiving a user sharing instruction sent by a client based on a transfer server; the cloud game terminal is determined based on the target authentication token and a predetermined communication connection relation after the transfer server receives the target authentication token of the client;
generating corresponding service function calling information based on the user sharing instruction, and returning the service function calling information to the client; the service function calling information comprises a sharing program calling identifier and sharing information, and the sharing information is specific parameter information required by calling a local sharing program;
and receiving a user sharing result returned by the client.
8. The method according to claim 7, wherein the generating corresponding service function call information based on the user sharing instruction includes:
and identifying the user sharing instruction, and generating corresponding service function calling information.
9. A cloud game sharing apparatus, configured to a transfer 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;
the sharing module is used for forwarding data between the client and the cloud game terminal and executing a sharing function;
the sharing module is specifically configured to: receiving a user sharing instruction sent by the client; the user sharing instruction is forwarded to the cloud game terminal, and service function calling information which is returned by the cloud game terminal and determined based on the user sharing instruction is received; the service function calling information comprises a sharing program calling identifier and sharing information, and the sharing information is specific parameter information required by calling a local sharing program; sending the service function calling information to the client, and receiving a user sharing result obtained by the client based on the service function calling information; and sending the user sharing result to the cloud game terminal.
10. A cloud game sharing apparatus, configured at a client, comprising:
the user instruction module is used for receiving a user sharing instruction;
the instruction forwarding module is used for sending the user sharing instruction to a cloud game terminal 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 sharing instruction; the service function calling information comprises a sharing program calling identifier and sharing information, and the sharing information is specific parameter information required by calling a local sharing program;
the sharing execution module is used for calling a local sharing program to execute a sharing function based on the service function calling information and returning a user sharing result to the cloud game terminal through the transfer server;
the sharing execution module is specifically configured to: based on the sharing information in the service function calling information, pulling up a local sharing program to execute a sharing function;
the apparatus further comprises a token connection module to: and before the user sharing instruction is received, 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.
11. A cloud game sharing device is configured at a cloud game end, and comprises:
the client instruction module is used for receiving a user sharing instruction sent by the client based on the transfer server; the cloud game terminal is determined based on the target authentication token and a predetermined communication connection relation after the transfer server receives the target authentication token of the client;
the calling information sending module is used for generating corresponding service function calling information based on the user sharing instruction and returning the service function calling information to the client; the service function calling information comprises a sharing program calling identifier and sharing information, and the sharing information is specific parameter information required by calling a local sharing program;
and the sharing result receiving module is used for receiving the user sharing result returned by the client.
12. 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 sharing method according to any one of claims 1 to 8.
13. A computer-readable storage medium, wherein the storage medium stores a computer program for executing the cloud game sharing method according to any one of claims 1 to 8.
CN202010434684.1A 2020-05-21 2020-05-21 Cloud game sharing method, device, equipment and medium Active CN111770051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434684.1A CN111770051B (en) 2020-05-21 2020-05-21 Cloud game sharing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434684.1A CN111770051B (en) 2020-05-21 2020-05-21 Cloud game sharing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111770051A CN111770051A (en) 2020-10-13
CN111770051B true CN111770051B (en) 2021-10-26

Family

ID=72719532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434684.1A Active CN111770051B (en) 2020-05-21 2020-05-21 Cloud game sharing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111770051B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038784A (en) * 2014-05-30 2014-09-10 四川长虹电器股份有限公司 Smart television EPG (Extended-play Record) information sharing method and system
CN105610849A (en) * 2016-01-07 2016-05-25 网易(杭州)网络有限公司 Method and device for generating sharing label and method and device for displaying attribute information
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment
CN105915524A (en) * 2016-05-10 2016-08-31 乐视控股(北京)有限公司 Object management method and object management system
CN107645517A (en) * 2016-07-20 2018-01-30 腾讯科技(深圳)有限公司 Data push method and device
CN110944035A (en) * 2019-10-22 2020-03-31 珠海格力电器股份有限公司 Internet of things equipment control method and system and readable medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10258881B2 (en) * 2012-12-26 2019-04-16 Sony Interactive Entertainment America Llc Systems and methods for tagging content of shared cloud executed mini-games and tag sharing controls
US20150126282A1 (en) * 2013-11-01 2015-05-07 Numecent Holdings Inc. Adaptive application streaming in cloud gaming
US11663350B2 (en) * 2018-05-16 2023-05-30 Planisware SAS Enhanced mechanisms for information exchange in an enterprise environment
CN110971929B (en) * 2019-10-31 2022-07-29 咪咕互动娱乐有限公司 Cloud game video processing method, electronic equipment and storage medium
CN110798477B (en) * 2019-11-06 2022-03-18 江苏视博云信息技术有限公司 Data transmission method, equipment, management platform and cloud game system architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038784A (en) * 2014-05-30 2014-09-10 四川长虹电器股份有限公司 Smart television EPG (Extended-play Record) information sharing method and system
CN105610849A (en) * 2016-01-07 2016-05-25 网易(杭州)网络有限公司 Method and device for generating sharing label and method and device for displaying attribute information
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment
CN105915524A (en) * 2016-05-10 2016-08-31 乐视控股(北京)有限公司 Object management method and object management system
CN107645517A (en) * 2016-07-20 2018-01-30 腾讯科技(深圳)有限公司 Data push method and device
CN110944035A (en) * 2019-10-22 2020-03-31 珠海格力电器股份有限公司 Internet of things equipment control method and system and readable medium

Also Published As

Publication number Publication date
CN111770051A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN111786948B (en) Cloud game control method, device, system, equipment and medium
CN111770052B (en) Cloud game payment method, device, equipment and medium
CN105530175B (en) Message processing method, device and system
US9491124B2 (en) Remote control using instant messaging
US10009303B2 (en) Message push method and apparatus
US9451014B2 (en) Across-application network communication method and device
US8296784B1 (en) Social network application programming interface
CN108476165B (en) Information interaction method, client and device
WO2020177698A1 (en) Inter-mini program platform communication method and device, and computer storage medium
CN106533932B (en) A kind of method and apparatus for pushing instant message
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
US10326714B2 (en) Instant messaging with non subscriber users
CN101119335B (en) Method for logging in game server and implementing system thereof
CN111787054B (en) Cloud game input method, device, equipment and medium
US8656028B2 (en) System, method, and program for communication connection by polling
US8725810B1 (en) Method and system for anonymous login for real time communications
CN111770051B (en) Cloud game sharing method, device, equipment and medium
CN108111374A (en) Method, apparatus, equipment and the computer storage media of synchronizer list
CN108989404B (en) Barrage message issuing method, server, system and storage medium
CN109348298B (en) Method and equipment for pushing and playing multimedia data stream
CN113342595B (en) Gray scale verification method, device, equipment and storage medium
WO2008141588A1 (en) Method and device for updating network contents
CN114095463A (en) Data processing method, device, equipment and medium based on instant messaging
US20170171331A1 (en) Method and electronic device for pushing videos between different clients
CN117093551A (en) File analysis method, device, equipment, medium and program product

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