Sharing method, device, electronic device and storage medium in cloud games
By unifying the sharing interface of cloud game applications on the server side of the cloud game platform, data sharing problems in cloud game scenarios are solved, cross-platform data transmission and sharing are realized, and user experience is improved.
Patent Information
- Application Number
- CN202211258916.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-14
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-10-14
AI Technical Summary
In the cloud gaming scenario, due to the inconsistency between cloud gaming applications and user terminal devices, players' regular sharing cannot be carried out.
By unifying the sharing interface of cloud game applications on the server side of the cloud game platform, direct communication between the cloud game platform server and terminal devices is realized, and sharing data is directly shared to the target social application through the target social application interface.
It realizes data sharing between cloud game applications and social applications of different operating systems, improves the maintainability and scalability of the sharing interface, and enhances the sharing experience of players in cloud games.
Smart Images

Figure CN115475379B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and more specifically, to a method, device, electronic device, and storage medium for sharing within a cloud game. Background Art
[0002] With the development of Internet technology, games can be seen everywhere in people's lives and have become a part of people's leisure and entertainment. Generally, during the game, users may share game screens, game audio and video, game achievements and other information with friends on social software, so that they can show their achievements to friends and satisfy the functions of showing off and recording.
[0003] Among the many types of games, cloud gaming refers to games running in the cloud, with the cloud images transmitted to the user's terminal via audio and video transmission. Cloud gaming, also known as game on demand, does not run on the player's terminal, but on a server. The server renders the game scene into an audio and video stream, which is then transmitted to the player's terminal over the network.
[0004] However, in the cloud gaming scenario, due to the inconsistency between the devices corresponding to the cloud gaming application and the devices corresponding to the user terminal side, players' regular sharing cannot be carried out. Summary of the Invention
[0005] In view of this, the embodiments of the present application provide a sharing method, device, electronic device and storage medium within a cloud game to solve the problem that players cannot perform conventional sharing in a cloud game scenario.
[0006] In a first aspect, an embodiment of the present application provides a sharing method within a cloud game, which is applied to a terminal device installed with a preset cloud game application and at least one social application, and the method includes:
[0007] In response to a share operation for a target social application input on a preset cloud gaming application, a cloud gaming share interface is called to send a share request to a cloud gaming platform server;
[0008] Acquire the sharing data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface;
[0009] Call the target social application interface to share the shared data to the target social application.
[0010] In a second aspect, an embodiment of the present application further provides a sharing method within a cloud game, which is applied to a cloud game platform server, and the method includes:
[0011] Obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface;
[0012] The cloud game sharing interface is called to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application.
[0013] In a third aspect, an embodiment of the present application further provides a sharing device in a cloud game, the device comprising: a calling module and an acquiring module, wherein:
[0014] The calling module is used to respond to a sharing operation input on a preset cloud gaming application for a target social application, call a cloud gaming sharing interface and send a sharing request to a cloud gaming platform server;
[0015] The acquisition module is used to acquire the sharing data sent by the cloud game platform server to the preset cloud game application by calling the cloud game sharing interface;
[0016] The calling module is specifically configured to call a target social application interface and share the shared data to the target social application.
[0017] In a fourth aspect, an embodiment of the present application further provides a sharing device in a cloud game, the device comprising: an acquisition module and a calling module, wherein:
[0018] The acquisition module is used to obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface;
[0019] The calling module is used to call the cloud game sharing interface to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application.
[0020] In the fifth aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of a sharing method within a cloud game as described in any one of the first aspect or the second aspect.
[0021] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of a sharing method within a cloud game as described in any one of the first aspect or the second aspect are executed.
[0022] By adopting the sharing method within cloud games provided in this application, after the user determines the target social application in the preset cloud game application, he sends a sharing request to the cloud game platform server by calling the cloud game sharing interface. After receiving the sharing request, the cloud game platform server calls the cloud game sharing interface to send sharing data to the preset cloud game application, so that the preset cloud game application shares the sharing data to the target social application by calling the target social application interface, thereby realizing the sharing of sharing data from the preset cloud game application to the target social application.
[0023] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A flowchart of a sharing method within a cloud game provided in one embodiment of the present application;
[0026] Figure 2 A flowchart of a sharing method within a cloud game provided in another embodiment of the present application;
[0027] Figure 3 A flowchart of a sharing method within a cloud game provided in another embodiment of the present application;
[0028] Figure 4 A flowchart of a sharing method within a cloud game provided in another embodiment of the present application;
[0029] Figure 5 A schematic diagram of the structure of a sharing device in a cloud game provided in one embodiment of the present application;
[0030] Figure 6 A schematic diagram of the structure of a sharing device in a cloud game provided by another embodiment of the present application;
[0031] Figure 7 A schematic diagram of the structure of a sharing device in a cloud game provided by another embodiment of the present application;
[0032] Figure 8 A schematic diagram of the structure of a sharing device in a cloud game provided in one embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application.
[0034] In one embodiment of the present disclosure, the sharing method within a cloud game can be run on a local terminal device or a server. When the sharing method within a cloud game is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0035] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the sharing method in the cloud game are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0036] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0037] In one possible implementation, an embodiment of the present invention provides a sharing method within a cloud game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above.
[0038] The following is an explanation of a cloud game sharing method provided by an embodiment of the present application in combination with multiple specific application examples. Figure 1 A flow chart of a sharing method in a cloud game provided by an embodiment of the present application is provided. The sharing method in the cloud game is applied to a terminal device installed with a preset cloud game application and at least one social application, such as Figure 1 As shown, the method includes:
[0039] S101: In response to a sharing operation for a target social application input on a preset cloud game application, a cloud game sharing interface is called to send a sharing request to a cloud game platform server.
[0040] In an embodiment of the present application, a communication channel is constructed between the cloud gaming platform server and the terminal device through the setting of the cloud gaming sharing interface. On the cloud gaming platform server side, the present application unifies the sharing interfaces of different standards corresponding to each cloud gaming application into a cloud gaming sharing interface, and allows each cloud gaming application running on the cloud gaming platform server to be connected to the cloud gaming sharing interface. Each cloud gaming application can send an information sharing request to the cloud gaming platform through the unified cloud gaming sharing interface, that is, each cloud gaming application on the same cloud gaming platform has a unified cloud gaming sharing interface. When the terminal device runs each cloud gaming application and each cloud gaming application needs to send or receive data to the cloud gaming platform server, it directly transmits data with the cloud gaming platform server through the preset interface.
[0041] This method of unifying sharing interfaces of different standards into one sharing interface not only reduces the workload and complexity of development on the sharing interface side, but also improves the maintainability of the sharing interface and the scalability of subsequent sharing channels, and reduces the complexity of subsequent access to other sharing channels.
[0042] In some possible embodiments, the sharing operation can be triggered by, for example, a user clicking a sharing control within a game interface of a preset cloud gaming application, or by a user inputting input into the preset cloud gaming application through an external device. The specific input method of the sharing operation can be flexibly adjusted according to the game settings and is not limited to the above embodiments.
[0043] Among them, the target social application is the social application determined by the user for receiving shared data. In one embodiment of the present application, the target social application can be an application with the same operating system as the preset cloud gaming application, or an application with a different operating system from the preset cloud gaming application. That is, the present application supports heterogeneous application scenarios of the preset cloud gaming application and the terminal with the target social application installed. For example, if the preset cloud gaming application is an Android application, the target social application can be an iOS application or an Android application. That is, no matter what operating system the preset cloud gaming application is, the user terminal of the target social application to which it is shared can be an iOS user terminal or an Android user terminal, thereby realizing data sharing between cloud applications and social applications with different operating systems.
[0044] S102: Obtain sharing data sent by the cloud game platform server to the preset cloud game application by calling the cloud game sharing interface.
[0045] In one embodiment of the present application, the sharing request includes the type of data to be shared. After obtaining the type of data to be shared, the cloud gaming platform server determines the corresponding sharing data based on the type of data to be shared, and sends the sharing data to the preset cloud gaming application through the cloud gaming sharing interface.
[0046] S103: Call the target social application interface to share the shared data to the target social application.
[0047] Among them, different target social applications correspond to different interfaces, and each target social application realizes two-way communication with the preset cloud game application through the corresponding interface. That is, the target social application can send data to the preset cloud game application by calling the target social application interface, and can also receive data sent by the preset cloud game application by calling the target social application interface.
[0048] After receiving the sharing data sent by the preset cloud game application, the target social application interface shares the sharing data to the target social application, thereby realizing the process of sharing the sharing data from the preset cloud game application to the target social application. That is, the sharing method provided in this application realizes direct communication between the preset cloud game application and the cloud game platform server through the setting of the cloud game sharing interface, and realizes direct communication between the preset cloud game application and the target social application through the setting of the target social application interface. Therefore, through the setting of the cloud game sharing interface and the target social application interface, the process of sharing the sharing data directly from the preset cloud game application to the target social application can be realized.
[0049] In one embodiment of the present application, after the target social application successfully receives the shared data, for example, a communication list interface corresponding to the target social application may pop up on the display interface of the current terminal device, and then in response to the user's selection operation in the communication list of the target social application, the shared data may be shared to the communication user or communication group corresponding to the selection operation; then, it may return to the preset cloud gaming application, or it may stay in the display interface of the target social application according to the user's selection operation. It should be understood that the above embodiments are only exemplary descriptions and can be flexibly adjusted according to user needs, and are not limited to the above embodiments.
[0050] In an embodiment of the present application, after completing the sharing of the shared data, the user can view the shared data in the target social application, wherein the user can view the source of the shared data, for example, the user can view the shared data from the preset cloud game, and can also view the specific content of the shared data, such as the shared picture data, or video data, or audio data, or connection data, etc. It should be understood that the above embodiment is only an exemplary description and is not limited to this.
[0051] Figure 2 A flow chart of a sharing method in a cloud game provided in another embodiment of the present application is shown as follows: Figure 2 As shown, the method may include the following steps:
[0052] Step S221: The cloud game platform server sends sharing data to the cloud game sharing interface.
[0053] In an embodiment of the present application, the shared data may be, for example, one or more of the following data: image data, text data, video data, audio data, mini-program data or web page data, etc. The specific data type of the shared data can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0054] Step S222: The cloud game sharing interface sends sharing data to the preset cloud game application.
[0055] Each cloud gaming application on the cloud gaming platform server can send data to the cloud gaming platform server or receive data sent by the cloud gaming platform server through a unified cloud gaming sharing interface, thereby unifying the communication interfaces of each cloud gaming application on a cloud gaming platform server, reducing the complexity of interface development and the scalability of interface expansion.
[0056] Step S223: The preset cloud gaming application sends sharing data to the target social application interface.
[0057] Step S224: The target social application interface sends the sharing data to the target social application.
[0058] Through the above communication steps, it can be seen that in the embodiment provided in the present application, through the setting of the cloud game sharing interface, a two-way channel is constructed that can carry out two-way communication from the cloud game platform server to the preset cloud game application. The channel supports two-way sharing of information and transmission of other data between the cloud game platform server and the preset cloud game application, thereby solving the problem that the cloud game platform server cannot directly share data to the terminal device, and solves the problem that the game data in the cloud game cannot be shared to other applications on the terminal device, thereby improving the gaming experience of players when using cloud games.
[0059] By adopting the sharing method within cloud games provided in this application, after the user determines the target social application in the preset cloud game application, he sends a sharing request to the cloud game platform server by calling the cloud game sharing interface. After receiving the sharing request, the cloud game platform server calls the cloud game sharing interface to send sharing data to the preset cloud game application, so that the preset cloud game application shares the sharing data to the target social application by calling the target social application interface, thereby realizing the sharing of sharing data from the preset cloud game application to the target social application.
[0060] In some possible embodiments, a method for determining a target social application may be, for example: displaying information of at least one social application on an operation interface of a preset cloud gaming application; and responding to a selection operation on at least one social application, determining the social application selected by the selection operation as the target social application.
[0061] That is, in response to a sharing operation triggered by a user on a preset cloud gaming application, information of at least one social application is displayed on the operation interface of the preset cloud gaming application, such as icon information of each social application, name information of each social application, or control information of each social application, etc. This application does not impose any restrictions here; then, in response to a selection operation of the user in at least one social application, the selected social application is determined as the target social application for receiving the data to be shared.
[0062] In some possible embodiments, before obtaining the shared data sent by the cloud gaming platform server, it is also necessary to verify whether the target social application can receive the shared data. If the target social application is not installed on the terminal device, it means that the target social application cannot receive the shared data.
[0063] The verification method may be, for example: obtaining a first sharing confirmation request sent by the cloud gaming platform server calling the cloud gaming sharing interface; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud gaming application to call the target social application interface and verify the target social application; obtaining the verification result, and calling the preset cloud gaming sharing interface to send the verification result to the cloud gaming platform server.
[0064] If the verification result indicates that the verification of the target social application is passed, the sharing data sent by the cloud game platform server by calling the cloud game sharing interface is obtained.
[0065] If the verification result indicates that the verification of the target social application has failed, it means that the current shared data cannot be shared to the target social application. At this time, the preset cloud game sharing interface can be called to send a sharing failure message to the cloud game platform server. After the sharing fails, the players of the preset cloud game application can re-trigger the sharing operation or re-select the target social application to share the shared data again.
[0066] In some possible embodiments, when the verification result is simply that the target social application verification fails, the verification result may also include, for example, sharing error information. The sharing error information may, for example, be: sharing failure due to failure to log in to the target social application, or failure to install the target social application on the terminal device, or sharing failure due to network abnormalities, or sharing failure due to lack of network access rights, or sharing failure due to access timeout, etc. The specific content that the sharing error information may include can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0067] In one embodiment of the present application, the verification of the target social application can be, for example, a verification of whether the target social application is installed on the terminal device. In this case, the verification method is to call the target social application interface to determine whether the target social application is pre-installed on the terminal device; if so, it is determined that the target social application verification has passed; if not, it is determined that the target social application verification has failed.
[0068] When sharing data, the preset cloud gaming application can only share the shared data with target social applications that have passed verification. For target social applications that have not passed verification, the shared data cannot be shared.
[0069] Among them, the example of whether the target social application is installed on the client during verification is still used for explanation: if the verification fails and the data to be shared cannot be shared, the user can choose to install the target social application on the client and re-share the data to be shared after the installation is successful; or, the user can also choose other social applications as the target social application and share the data to be shared with the re-determined target social application.
[0070] In other possible embodiments, before displaying the information of at least one social application on the operation interface of the preset cloud gaming application, for example, each social application interface can be called separately to verify each social application; then only the information of each social application that has passed the verification is displayed on the operation interface of the preset cloud gaming application.
[0071] Among them, the method for verifying each social application in at least one social application can be, for example: obtaining a second sharing confirmation request sent by the cloud gaming platform server calling the cloud gaming sharing interface, each second sharing confirmation request including: the identifier of each social application; the second sharing confirmation request is used to enable the preset cloud gaming application to call each social application interface respectively to verify each social application.
[0072] Optionally, based on the above embodiment, the embodiment of the present application can also provide a sharing method within a cloud game. The implementation process of the above method is illustrated below with reference to the accompanying drawings. Figure 3 A flow chart of a sharing method in a cloud game provided in another embodiment of the present application is shown as follows: Figure 3 As shown, the method may further include:
[0073] S104: Call the target social application interface to obtain the data sharing result of the target social application.
[0074] For example, in some embodiments of the present application, player users of the preset cloud gaming application may obtain preset rewards through data sharing during the process of playing cloud gaming. Therefore, the data sharing results of the target social application obtained by the preset cloud gaming application can be used as a credential for whether to issue rewards to users. For example, preset rewards are only issued to users who successfully share data, and preset rewards are not issued to users who fail to share data or whose sharing times out.
[0075] In some possible embodiments, the preset cloud gaming application may also collect the data sharing results returned by the target social application, that is, collect the sharing callback data, for example, count the proportion of successful sharing results in all sharing results, that is, count the sharing success rate; or, count the identifiers of each target social application in the sharing results, so as to facilitate the subsequent deployment and promotion of the preset cloud gaming application to provide data support.
[0076] Continue as Figure 2 As shown, in an embodiment of the present application, before step S221, the method further includes a step of verifying the target social application, and the specific steps are as follows:
[0077] Step S201: The cloud game platform server sends a sharing request to the cloud game sharing interface.
[0078] In an embodiment of the present application, the sharing confirmation request includes an identifier of the target social application.
[0079] Step S202: The cloud game sharing interface sends a sharing request to the preset cloud game application.
[0080] Step S203: The preset cloud gaming application sends a sharing request to the target social application interface.
[0081] Step S204: The target social application interface verifies the target social application according to the received sharing confirmation request.
[0082] In some possible embodiments, for example, it is possible to verify whether the target social application is pre-installed on the terminal device; or whether the target social application is pre-logged in on the terminal device; or whether the target social application has permission to use the network connection; or whether the target social application has timed out, etc. The specific verification content when the target social application is verified can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0083] Step S211: The target social application interface sends the verification result to the preset cloud game application.
[0084] Step S212: The preset cloud game application sends the verification result to the cloud game sharing interface.
[0085] Step S213: The cloud game sharing interface sends the verification result to the cloud game platform server.
[0086] In an embodiment of the present application, if the verification result indicates that the verification is passed, the subsequent steps S221-S224 are executed. If the verification result indicates that the verification fails, it is determined that the current sharing has failed.
[0087] By adopting the method provided in this application, through the cloud game sharing interface and the setting of each target social application interface, not only can data be sent directly from the cloud game platform server to the preset cloud game application, but also from the preset cloud game to the target social application, and cross-platform data transmission is supported. After sharing, the cloud game platform server can also obtain sharing callback data feedback from the target social application, that is, it can not only support the transmission of sharing information, but also support the notification of sharing results, thereby improving the convenience and operability of user use.
[0088] Figure 3 Another embodiment of the present application provides a method for sharing within a cloud game, which is applied to a cloud game platform server and includes:
[0089] S301: Obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface.
[0090] S302: Call the cloud game sharing interface to send sharing data to the preset cloud game application.
[0091] The shared data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the shared data to the target social application.
[0092] In an embodiment of the present application, before S302, the method also includes: calling the cloud game sharing interface to send a first sharing confirmation request to the preset cloud game application; the first sharing confirmation request includes: the identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud game application to call the target social application interface to verify the target social application; obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; if the verification result indicates that the target social application verification has passed, calling the cloud game sharing interface to send sharing data to the preset cloud game application.
[0093] In some other possible embodiments, before S302, the method may further include: calling the cloud game sharing interface to send a second sharing confirmation request to the preset cloud game application; the second sharing confirmation request includes: an identifier of at least one social application; the second sharing confirmation request is used to enable the preset cloud game application to call each social application interface respectively to verify each social application; obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; the verification result is used to indicate that information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application; so that the user can determine the target social application from the information of each social application that has passed the verification displayed on the operation interface of the preset cloud game application.
[0094] The above embodiment is only for the execution of the subject and Figure 1-Figure 3 The beneficial effects brought by Figure 1-Figure 3 The sharing method within the provided cloud game is the same and will not be repeated in this application.
[0095] The following is an explanation of the cloud game rendering device provided by this application with reference to the accompanying drawings. The cloud game rendering device can perform the above Figure 1-Figure 3 Sharing method within any cloud game.
[0096] Figure 5 A schematic diagram of a cloud game sharing structure provided by an embodiment of the present application is shown. Figure 5 As shown, the device includes: a calling module 401 and an obtaining module 402, wherein:
[0097] The calling module 401 is used to respond to a sharing operation input on a preset cloud gaming application for a target social application, call a cloud gaming sharing interface and send a sharing request to a cloud gaming platform server;
[0098] An acquisition module 402 is configured to acquire sharing data sent by the cloud gaming platform server to a preset cloud gaming application by calling a cloud gaming sharing interface;
[0099] The calling module 401 is specifically configured to call a target social application interface and share the shared data to the target social application.
[0100] By using the sharing device in the cloud game provided by this application, after the user determines the target social application in the preset cloud game application, he sends a sharing request to the cloud game platform server by calling the cloud game sharing interface. After receiving the sharing request, the cloud game platform server calls the cloud game sharing interface to send sharing data to the preset cloud game application, so that the preset cloud game application shares the sharing data to the target social application by calling the target social application interface, thereby realizing the sharing of sharing data from the preset cloud game application to the target social application.
[0101] In a feasible implementation scheme, based on the above embodiment, the present application embodiment can also provide a sharing device in a cloud game, as shown below in conjunction with the accompanying drawings. Figure 5 The implementation process of the given device is described with an example. Figure 6 This is a structural diagram of a sharing device in a cloud game provided by another embodiment of the present application, such as Figure 6 As shown, the device further includes: a display module 403 and a determination module 404, wherein:
[0102] A display module 403 is configured to display information of at least one social application on an operation interface of a preset cloud gaming application;
[0103] The determination module 404 is configured to respond to a selection operation on at least one social application and determine that the social application selected by the selection operation is a target social application.
[0104] Optionally, the acquisition module 402 is also used to obtain a first sharing confirmation request sent by the cloud gaming platform server by calling the cloud gaming sharing interface; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud gaming application to call the target social application interface to verify the target social application; obtain the verification result, and call the preset cloud gaming sharing interface to send the verification result to the cloud gaming platform server; if the verification result indicates that the target social application verification has passed, then obtain the sharing data sent by the cloud gaming platform server by calling the cloud gaming sharing interface.
[0105] Optionally, the determination module 404 is specifically configured to call a target social application interface to determine whether the target social application is pre-installed on the terminal device; if so, determine that the target social application verification has passed; if not, determine that the target social application verification has failed.
[0106] Optionally, the calling module 401 is specifically configured to call each social application interface to verify each social application;
[0107] The display module 403 is specifically used to display the information of each social application that has passed the verification on the operation interface of the preset cloud game application.
[0108] Optionally, the acquisition module 402 is specifically used to obtain a second sharing confirmation request sent by the cloud gaming platform server calling the cloud gaming sharing interface, each second sharing confirmation request including: an identifier of each social application; the second sharing confirmation request is used to enable the preset cloud gaming application to call each social application interface respectively to verify each social application.
[0109] Optionally, the calling module 401 is specifically configured to call a target social application interface to obtain a data sharing result of the target social application.
[0110] The following is an explanation of the cloud game rendering device provided by this application with reference to the accompanying drawings. The cloud game rendering device can perform the above Figure 4 Sharing method within any cloud game.
[0111] Figure 7 A schematic diagram of a cloud game sharing structure provided by an embodiment of the present application is shown. Figure 7 As shown, the device includes: an acquisition module 501 and a calling module 502, wherein:
[0112] An acquisition module 501 is configured to acquire a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface;
[0113] The calling module 502 is used to call the cloud game sharing interface to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application.
[0114] Optionally, the calling module 502 is specifically configured to call the cloud game sharing interface to send a first sharing confirmation request to the preset cloud game application; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud game application to call the target social application interface and verify the target social application;
[0115] The acquisition module 501 is specifically used to obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface;
[0116] The calling module 502 is specifically configured to call the cloud game sharing interface to send sharing data to the preset cloud game application if the verification result indicates that the target social application has passed the verification.
[0117] Optionally, the calling module 502 is specifically configured to call the cloud game sharing interface to send a second sharing confirmation request to the preset cloud game application; the second sharing confirmation request includes: an identifier of at least one social application; the second sharing confirmation request is used to cause the preset cloud game application to call each social application interface respectively and verify each social application;
[0118] Acquisition module 501 is specifically used to obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; the verification result is used to indicate that the information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application; so that the user can determine the target social application from the information of each social application that has passed the verification displayed on the operation interface of the preset cloud game application.
[0119] Figure 8 The structure diagram of an electronic device provided in an embodiment of the present application is shown, including: a processor 601, a bus 602 and a storage medium 603. The storage medium 603 stores machine-readable instructions executable by the processor 601. When the electronic device runs a sharing method in a cloud game as described in the embodiment, the processor 601 communicates with the storage medium 603 via the bus 602. The processor 601 executes the machine-readable instructions. The processor 601 performs the preamble of the method item to perform the following steps:
[0120] In response to a share operation for a target social application input on a preset cloud gaming application, a cloud gaming share interface is called to send a share request to a cloud gaming platform server;
[0121] Acquire the sharing data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface;
[0122] Call the target social application interface to share the shared data to the target social application.
[0123] In a feasible implementation scheme, before executing the call to the cloud game sharing interface to send a sharing request to the cloud game platform server, the processor 601 is specifically configured to:
[0124] Displaying information of at least one social application on the operation interface of the preset cloud gaming application;
[0125] In response to a selection operation on the at least one social application, the social application selected by the selection operation is determined to be the target social application.
[0126] In a feasible implementation manner, before executing the acquisition of the shared data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface, the processor 601 is specifically configured to:
[0127] Obtaining a first sharing confirmation request sent by the cloud gaming platform server by calling the cloud gaming sharing interface; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud gaming application to call the target social application interface and verify the target social application;
[0128] Obtain the verification result, and call the preset cloud game sharing interface to send the verification result to the cloud game platform server;
[0129] When executing to obtain the information sharing request sent by the cloud gaming platform server by calling the preset sharing interface, it is specifically used to:
[0130] If the verification result indicates that the target social application has passed the verification, the sharing data sent by the cloud game platform server by calling the cloud game sharing interface is obtained.
[0131] In a feasible implementation manner, when the processor 601 executes the call of the target social application interface and verifies the target social application, it is specifically configured to:
[0132] Calling the target social application interface to determine whether the target social application is pre-installed on the terminal device;
[0133] If so, determining that the target social application has passed verification;
[0134] If not, it is determined that the target social application verification fails.
[0135] In a feasible implementation manner, when the processor 601 displays information of at least one social application on the operation interface of the preset cloud gaming application, it is specifically configured to:
[0136] Call each social application interface to verify each social application;
[0137] The information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application.
[0138] In a feasible implementation, before executing the respective calls to the social application interfaces to verify the respective social applications, the processor 601 is specifically configured to:
[0139] Obtain a second sharing confirmation request sent by the cloud gaming platform server calling the cloud gaming sharing interface, each second sharing confirmation request including: an identifier of each social application; the second sharing confirmation request is used to enable the preset cloud gaming application to call each social application interface respectively to verify each social application.
[0140] In a feasible implementation manner, the processor 601 is specifically configured to:
[0141] Call the target social application interface to obtain the data sharing result of the target social application.
[0142] In a feasible implementation manner, the processor 601 is specifically configured to:
[0143] Obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface;
[0144] The cloud game sharing interface is called to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application.
[0145] In a feasible implementation manner, before executing the call to the cloud game sharing interface to send the sharing data to the preset cloud game application, the processor 601 is specifically configured to:
[0146] Calling the cloud game sharing interface to send a first sharing confirmation request to the preset cloud game application; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud game application to call the target social application interface and verify the target social application;
[0147] Obtaining a verification result sent by the preset cloud game application calling the preset cloud game sharing interface;
[0148] If the verification result indicates that the target social application has passed the verification, the cloud game sharing interface is called to send the sharing data to the preset cloud game application.
[0149] In a feasible implementation manner, before executing the call to the cloud game sharing interface to send the sharing data to the preset cloud game application, the processor 601 is specifically configured to:
[0150] Calling the cloud game sharing interface to send a second sharing confirmation request to the preset cloud game application; the second sharing confirmation request includes: an identifier of at least one social application; the second sharing confirmation request is used to cause the preset cloud game application to call each social application interface respectively to verify each social application;
[0151] Obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; the verification result is used to indicate that information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application; so that the user can determine the target social application from the information of each social application that has passed the verification displayed on the operation interface of the preset cloud game application.
[0152] Through the above method, after the user determines the target social application in the preset cloud game application, he sends a sharing request to the cloud game platform server by calling the cloud game sharing interface. After receiving the sharing request, the cloud game platform server calls the cloud game sharing interface to send sharing data to the preset cloud game application, so that the preset cloud game application shares the sharing data to the target social application by calling the target social application interface, thereby realizing the sharing of sharing data from the preset cloud game application to the target social application.
[0153] An embodiment of the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium. The computer program is executed when a processor is run, and the processor performs the following steps:
[0154] In response to a share operation for a target social application input on a preset cloud gaming application, a cloud gaming share interface is called to send a share request to a cloud gaming platform server;
[0155] Acquire the sharing data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface;
[0156] Call the target social application interface to share the shared data to the target social application.
[0157] In a feasible implementation scheme, before executing the call to the cloud game sharing interface to send a sharing request to the cloud game platform server, the processor target social application interface is specifically used to:
[0158] Displaying information of at least one social application on the operation interface of the preset cloud gaming application;
[0159] In response to a selection operation on the at least one social application, the social application selected by the selection operation is determined to be the target social application.
[0160] In a feasible implementation scheme, before executing the acquisition of the sharing data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface, the processor target social application interface is specifically configured to:
[0161] Obtaining a first sharing confirmation request sent by the cloud gaming platform server by calling the cloud gaming sharing interface; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud gaming application to call the target social application interface and verify the target social application;
[0162] Obtain the verification result, and call the preset cloud game sharing interface to send the verification result to the cloud game platform server;
[0163] When executing to obtain the information sharing request sent by the cloud gaming platform server by calling the preset sharing interface, it is specifically used to:
[0164] If the verification result indicates that the target social application has passed the verification, the sharing data sent by the cloud game platform server by calling the cloud game sharing interface is obtained.
[0165] In a feasible implementation manner, when the processor target social application interface executes the call to the target social application interface and verifies the target social application, the processor target social application interface is specifically configured to:
[0166] Calling the target social application interface to determine whether the target social application is pre-installed on the terminal device;
[0167] If so, determining that the target social application has passed verification;
[0168] If not, it is determined that the target social application verification fails.
[0169] In one feasible embodiment, when the processor targets the social application interface and displays information of at least one social application on the operation interface of the preset cloud gaming application, the processor is specifically configured to:
[0170] Call each social application interface to verify each social application;
[0171] The information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application.
[0172] In a feasible implementation scheme, before executing the respective calls to the social application interfaces to verify the respective social applications, the processor target social application interface is specifically configured to:
[0173] Obtain a second sharing confirmation request sent by the cloud gaming platform server calling the cloud gaming sharing interface, each second sharing confirmation request including: an identifier of each social application; the second sharing confirmation request is used to enable the preset cloud gaming application to call each social application interface respectively to verify each social application.
[0174] In a feasible implementation scheme, the processor target social application interface is specifically used to:
[0175] The target social application interface is called to obtain the data sharing result of the target social application.
[0176] In a feasible implementation scheme, the processor target social application interface is specifically used to:
[0177] Obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface;
[0178] The cloud game sharing interface is called to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application.
[0179] In a feasible implementation scheme, before executing the call to the cloud game sharing interface to send sharing data to the preset cloud game application, the processor target social application interface is specifically used to:
[0180] Calling the cloud game sharing interface to send a first sharing confirmation request to the preset cloud game application; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud game application to call the target social application interface and verify the target social application;
[0181] Obtaining a verification result sent by the preset cloud game application calling the preset cloud game sharing interface;
[0182] If the verification result indicates that the target social application has passed the verification, the cloud game sharing interface is called to send the sharing data to the preset cloud game application.
[0183] In a feasible implementation scheme, before executing the call to the cloud game sharing interface to send sharing data to the preset cloud game application, the processor target social application interface is specifically used to:
[0184] Calling the cloud game sharing interface to send a second sharing confirmation request to the preset cloud game application; the second sharing confirmation request includes: an identifier of at least one social application; the second sharing confirmation request is used to cause the preset cloud game application to call each social application interface respectively to verify each social application;
[0185] Obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; the verification result is used to indicate that information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application; so that the user can determine the target social application from the information of each social application that has passed the verification displayed on the operation interface of the preset cloud game application.
[0186] Through the above method, after the user determines the target social application in the preset cloud game application, he sends a sharing request to the cloud game platform server by calling the cloud game sharing interface. After receiving the sharing request, the cloud game platform server calls the cloud game sharing interface to send sharing data to the preset cloud game application, so that the preset cloud game application shares the sharing data to the target social application by calling the target social application interface, thereby realizing the sharing of sharing data from the preset cloud game application to the target social application.
[0187] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiment. For the specific execution method steps and principles, please refer to the description of the embodiment and will not be repeated here.
[0188] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0189] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0190] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0191] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0192] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0193] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present application, or make equivalent replacements for some of the technical features thereof. However, these modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A sharing method in a cloud game, characterized in that: Applied to a terminal device installed with a preset cloud gaming application and at least one social application, the method includes: In response to a share operation for a target social application input on a preset cloud gaming application, a cloud gaming share interface is called to send a share request to a cloud gaming platform server; Acquire the sharing data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface; Calling the target social application interface to share the shared data to the target social application; Before obtaining the shared data sent by the cloud gaming platform server to the preset cloud gaming application by calling the cloud gaming sharing interface, the method further includes: Obtaining a first sharing confirmation request sent by the cloud gaming platform server by calling the cloud gaming sharing interface; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud gaming application to call the target social application interface and verify the target social application; Obtain the verification result, and call the preset cloud game sharing interface to send the verification result to the cloud game platform server; The obtaining of the shared data sent by the cloud game platform server by calling the cloud game sharing interface includes: If the verification result indicates that the target social application has passed the verification, the sharing data sent by the cloud game platform server by calling the cloud game sharing interface is obtained.
2. The method according to claim 1, characterized in that Before calling the cloud game sharing interface to send a sharing request to the cloud game platform server, the method further includes: Displaying information of at least one social application on the operation interface of the preset cloud gaming application; In response to a selection operation on the at least one social application, the social application selected by the selection operation is determined to be the target social application.
3. The method according to claim 1, characterized in that The calling the target social application interface and verifying the target social application includes: Calling the target social application interface to determine whether the target social application is pre-installed on the terminal device; If so, determining that the target social application has passed verification; If not, it is determined that the target social application verification fails.
4. The method according to claim 2, characterized in that The displaying of information of at least one social application on the operation interface of the preset cloud gaming application includes: Call each social application interface to verify each social application; The information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application.
5. The method according to claim 4, characterized in that Before respectively calling each social application interface to verify each social application, the method further includes: Obtain a second sharing confirmation request sent by the cloud gaming platform server calling the cloud gaming sharing interface, each second sharing confirmation request including: an identifier of each social application; the second sharing confirmation request is used to enable the preset cloud gaming application to call each social application interface respectively to verify each social application.
6. The method according to claim 1, characterized in that The method further comprises: The target social application interface is called to obtain the data sharing result of the target social application.
7. A sharing method in a cloud game, characterized in that: Applied to a cloud gaming platform server, the method includes: Obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface; Calling the cloud game sharing interface to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application; Before calling the cloud game sharing interface to send sharing data to the preset cloud game application, the method further includes: Calling the cloud game sharing interface to send a first sharing confirmation request to the preset cloud game application; the first sharing confirmation request includes: an identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud game application to call the target social application interface and verify the target social application; Obtaining a verification result sent by the preset cloud game application calling the preset cloud game sharing interface; If the verification result indicates that the target social application has passed the verification, the cloud game sharing interface is called to send the sharing data to the preset cloud game application.
8. The method according to claim 7, wherein Before obtaining the sharing request for the target social application sent by the preset cloud game application calling the cloud game sharing interface, the method further includes: Calling the cloud game sharing interface to send a second sharing confirmation request to the preset cloud game application; the second sharing confirmation request includes: an identifier of at least one social application; the second sharing confirmation request is used to cause the preset cloud game application to call each social application interface respectively to verify each social application; Obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; the verification result is used to indicate that information of each social application that has passed the verification is displayed on the operation interface of the preset cloud game application; so that the user can determine the target social application from the information of each social application that has passed the verification displayed on the operation interface of the preset cloud game application.
9. A sharing device in a cloud game, characterized in that: The device includes: a calling module and an acquiring module, wherein: The calling module is used to respond to a sharing operation input on a preset cloud gaming application for a target social application, call a cloud gaming sharing interface and send a sharing request to a cloud gaming platform server; The acquisition module is used to acquire the sharing data sent by the cloud game platform server to the preset cloud game application by calling the cloud game sharing interface; The calling module is specifically configured to call a target social application interface and share the shared data to the target social application; The acquisition module is further configured to acquire a first sharing confirmation request sent by the cloud gaming platform server by calling the cloud gaming sharing interface; the first sharing confirmation request includes an identifier of the target social application; the first sharing confirmation request is configured to cause the preset cloud gaming application to call the target social application interface to verify the target social application; obtain a verification result, and call the preset cloud gaming sharing interface to send the verification result to the cloud gaming platform server; The acquisition module is specifically configured to acquire the sharing data sent by the cloud gaming platform server by calling the cloud gaming sharing interface if the verification result indicates that the target social application has passed verification.
10. A sharing device in a cloud game, characterized in that: The device includes: an acquisition module and a calling module, wherein: The acquisition module is used to obtain a sharing request for a target social application sent by a preset cloud game application calling a cloud game sharing interface; The calling module is configured to call the cloud game sharing interface to send sharing data to the preset cloud game application; the sharing data is determined according to the sharing request, so that the preset cloud game application calls the target social application interface to share the sharing data to the target social application; The calling module is further used to call the cloud game sharing interface to send a first sharing confirmation request to the preset cloud game application; the first sharing confirmation request includes: the identifier of the target social application; the first sharing confirmation request is used to enable the preset cloud game application to call the target social application interface to verify the target social application; obtain the verification result sent by the preset cloud game application calling the preset cloud game sharing interface; if the verification result indicates that the target social application verification has passed, call the cloud game sharing interface to send the sharing data to the preset cloud game application.
11. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of a sharing method in a cloud game as described in any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of a cloud game sharing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Information processing method and device, equipment and storage medium
CN111494965A