Information processing method, information processing system, information processing device, computer device, and computer program
By processing operation information on a server and transmitting shared data to terminals for local social applications, the method enhances cloud gaming's scalability and sociability, addressing the challenge of data sharing in cloud gaming systems.
Patent Information
- Application Number
- JP2022533194
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-15
- Filing Date
- 2021-02-24
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-02-24
AI Technical Summary
Current cloud gaming technologies face challenges in sharing data from cloud games to local social applications on player terminals, limiting the penetration and interaction rates of cloud games due to the inability to share operation information effectively.
A method and system that allows operation information from cloud games to be processed by a server, where shared data is identified and transmitted to the terminal for sharing with local social applications, enhancing the scalability and sociability of cloud games.
Enables the sharing of data from cloud games with local social applications, improving the penetration and interaction rates of cloud games by allowing seamless integration with player devices.
Smart Images

Figure 0007592090000001 
Figure 0007592090000002 
Figure 0007592090000003
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application bearing application number 202010296685.4 and entitled "Information processing method, apparatus, device and storage medium" filed with the China Patent Office on April 15, 2020, the entire contents of which are incorporated herein by reference. The present application relates to the field of computer technology, and in particular to an information processing method, system, device, apparatus, and storage medium. [Background technology]
[0002] Cloud gaming, also known as games on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology allows terminal devices with relatively limited graphic processing and data computing capabilities to run high-quality games. In a cloud gaming scenario, the game does not run on the player's terminal, but on the server, and the game scene is rendered into an audiovisual stream by the server and transmitted to the player's terminal via a network. The player's terminal does not need to have powerful graphic computing and data processing capabilities, but only needs to have basic streaming playback capabilities and the ability to obtain and send player's input commands to the server.
[0003] Currently, all processing services corresponding to the operation information of cloud games are executed on the server, and in addition to cloud games, social applications are also installed on the server. If the operation information is shared information, the shared data can only be shared with the social applications running on the server, and cannot be shared with the social applications actually used by the players. In this way, it is difficult to achieve the social effect expected by the players, and the penetration rate of cloud games is low, and the information processing effect is low. Summary of the Invention
[0004] The embodiments of the present application provide an information processing method, system, device, equipment, and storage medium that can improve the popularity of cloud gaming.
[0005] According to one aspect, an embodiment of the present application provides an information processing method applied to a terminal, the information processing method including: According to a trigger command of a cloud game login portal, log in to the cloud game installed on the server, and obtain an operation command during the cloud game process; transmitting the operation command to the server on which the cloud game is installed, so that the server executes the following operations: generating operation information based on the operation command; and, in response to the operation information being information of a shared type, analyzing shared data from the operation information, generating shared information including the shared data, and transmitting the shared information including the shared data to the terminal; receiving sharing information including the shared data sent from the server, and sharing the shared data to a target social application.
[0006] According to another aspect, an embodiment of the present application further provides an information processing method applied to a server, the information processing method comprising: receiving an operation command during a cloud game transmitted from the terminal; generating operation information based on the operation command; In response to the operation information being information of a share type, analyzing share data from the operation information and generating share information including the share data; Sending sharing information including the shared data to the terminal, so that the terminal shares the shared data to a target social application.
[0007] According to another aspect, a terminal configured to log in to a cloud game installed on the server according to a trigger command of a cloud game login portal, obtain an operation command in the process of the cloud game, and send the operation command to the server on which the cloud game is installed; a server configured to receive an operation command in the process of a cloud game transmitted from the terminal, generate operation information based on the operation command, and in response to the operation information being information of a shared type, analyze shared data from the operation information, generate shared information including the shared data, and transmit the shared information including the shared data to the terminal; The terminal further provides an information processing system configured to receive sharing information including the shared data sent from the server, and share the shared data to a target social application.
[0008] According to another aspect, an acquisition module is configured to log in to a cloud game installed on a server according to a trigger command of a cloud game login portal, and acquire an operation command during the cloud game process; A transmission module configured to transmit the operation command to the server on which the cloud game is installed, so that the server executes the following operations: generating operation information based on the operation command; and, in response to the operation information being share type information, analyzing shared data from the operation information, generating shared information including the shared data, and transmitting the shared information including the shared data to a terminal; and a receiving module configured to receive shared information including the shared data transmitted from the server; A sharing module configured to share the shared data to a target social application is provided. According to another aspect, a receiving module configured to receive an operation command in a cloud gaming process transmitted from a terminal; A generating module configured to generate operation information based on the operation command; an analysis module configured to analyze shared data from the operation information in response to the operation information being shared type information; A sending module configured to send sharing information including the shared data to the terminal so that the terminal shares the shared data to a target social application; The generating module further provides an information processing apparatus configured to generate shared information including the shared data.
[0009] According to another aspect, there is provided a computing device comprising: a memory storing at least one program code; and a processor for loading and executing the at least one program code so as to realize an information processing method described in any one of the above claims.
[0010] According to another aspect, there is further provided a non-transitory computer-readable storage medium storing at least one program code that is loaded and executed by a processor to realize the information processing method described in any one of the above claims.
[0011] According to another aspect, there is further provided a computer program product storing at least one computer program to be loaded and executed by a processor to implement the information processing method according to any one of the above claims.
[0012] The technical solutions according to the embodiments of the present application have at least the following beneficial effects: If the operation information is a sharing type of information, the server analyzes the sharing data from the operation information, and then transmits the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application. In this information processing process, a process of determining whether the operation information is a sharing type of information is added to the server, and the server transmits the sharing data analyzed from the sharing type of operation information to the terminal, so that the terminal shares the sharing data to the social application of the terminal. According to this process, the sharing data in the cloud game can be shared to the social application of the terminal, which can improve the scalability of the cloud game, has excellent information processing effect, is favorable to improving the sociability of the cloud game, has a good penetration rate of the cloud game, improves the participation rate of players in the cloud game, and increases the interaction rate of the cloud game. [Brief description of the drawings]
[0013] [Figure 1] 1 is a schematic diagram of an implementation environment of an information processing method according to an embodiment of the present application; [Diagram 2] 1 is a flowchart of an information processing method according to an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram showing a game page of a cloud game according to an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram illustrating a process of processing operation information by a server according to an embodiment of the present application. [Diagram 5] FIG. 2 is a schematic diagram showing a process in which a server according to an embodiment of the present application sends shared information including shared data to a terminal; [Figure 6] FIG. 11 is a schematic diagram of a processing process of operation information by another server according to an embodiment of the present application; [Figure 7] FIG. 2 is a schematic diagram showing a page in a process of sharing terminal shared data to a target social application according to an embodiment of the present application; [Figure 8] 1 is a schematic diagram of an information processing process according to an embodiment of the present application; [Figure 9] 1 is a schematic diagram of an information processing device according to an embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of another information processing device according to an embodiment of the present application. [Figure 11] FIG. 2 is a schematic diagram of another information processing device according to an embodiment of the present application. [Figure 12] FIG. 2 is a schematic diagram of another information processing device according to an embodiment of the present application. [Figure 13] FIG. 2 is a schematic diagram of a server according to an embodiment of the present application. [Figure 14] FIG. 2 is a schematic diagram of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] In order to more clearly describe the technical solutions in the embodiments of the present application, the following briefly describes the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the above description are only some of the embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without any creative work. In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes the embodiments of the present application in more detail with reference to the drawings.
[0015] First, some nouns relevant to this application will be explained. Cloud computing is a computing mode that distributes computing tasks across a resource pool of a large number of computers, allowing various application systems to obtain computing power, storage space, and information services as needed. The network that provides the resources is called the "cloud." From the user's perspective, resources in the "cloud" can be expanded infinitely, and can be acquired at any time, used as needed, expanded as needed, and charged according to usage. Driven by the diversification of the Internet, real-time data streams, and connected devices, and the demand for search services, social networks, mobile business, and open collaboration, cloud computing has developed rapidly. Unlike traditional parallel distributed computing, the emergence of cloud computing has driven a revolutionary change in the entire Internet mode and enterprise management mode from an ideological perspective.
[0016] Cloud gaming, also known as games on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology allows terminal devices with relatively limited graphic processing and data computing capabilities to run high-quality games. In a cloud gaming scene, the game does not run on the player's terminal, but on a cloud-side server, and the game scene is rendered into an audiovisual stream by the cloud-side server and transmitted to the player's terminal via a network. The player's terminal does not need to have powerful graphic computing and data processing capabilities, but only needs to have basic streaming playback capabilities and the ability to obtain and send input commands from the player to the server.
[0017] MSDK (Mobile Software Development Kit, a mobile application development tool) is a common component and service library provided for independent research and development and third-party mobile game development teams, aiming to enable mobile game application developers to quickly access and operate online on a designated platform. MSDK directly connects to each platform of game applications, allowing game applications to conveniently use large amounts of data from each platform. MSDK provides many basic services for mobile game applications, including login, friend chain, sharing, point system, and activity center services.
[0018] Intent information is mainly used to resolve communication between components in the Android system. Intent information describes the operation of a single operation in an application, the data related to the operation, and additional data. Based on the description of Intent information, the Android system finds the corresponding component, transmits the Intent information to the called component, and completes the component call. Therefore, Intent information plays the role of an intermediary, providing only the related information of the mutual calls of components, and realizing the decoupling between the caller and the called party.
[0019] An Activity component is one of the four components in the Android system (Activity, Service, Content Provider, and Broadcast Receiver). In the Android development process, many specific needs require decisions and operations to be performed based on the different life cycles of Activity components. An Activity component is an application component, and users can interact with the interface provided by the Activity component to perform operations such as making a phone call, taking a photo, sending an email, and viewing a map. For example, in an Android application, each Activity component is a separate interface, which can display several controls on the interface, and can intercept and process user events and respond to user events. Activity components communicate with each other through Intent information.
[0020] AMS (Activity Manager Service) is a service for managing Activity components in the Android system, and is used to manage various behaviors of Activity components, such as controlling the life cycle of Activity components, delivering message events, and managing low-level memory. AMS implements the IBinder interface and can be used for inter-process communication.
[0021] With the rapid development of the game industry, terminal technology and network bandwidth in recent years, online games have become an indispensable Internet application in people's lives. The development of cloud computing technology has also created a "thin client-cloud" service mode, in which the user's terminal device is interconnected with the high-performance computing resources of the cloud side to enjoy high-quality cloud services. This mode has been applied to the online game environment to create a new type of cloud computing service, cloud gaming. Cloud gaming technology allows players to access games at any place and any time through any terminal device (such as a personal computer, tablet, mobile phone, etc.), thus lowering the barrier for players to play games. Currently, how to share shared data in cloud games to social applications running locally on the player's terminal has become a problem to be solved.
[0022] In response to this, an embodiment of the present application provides an information processing method, and Fig. 1 shows a schematic diagram of an implementation environment of the information processing method according to the embodiment of the present application. The implementation environment includes a terminal 11 and a server 12.
[0023] The terminal 11 is for accessing the cloud game, and the player can directly access the cloud game based on the terminal 11. The terminal 11 can obtain the operation instruction of the player in the process of the cloud game and send it to the server 12. The server 12 has a cloud game installed therein, and the server 12 can generate operation information based on the operation instruction sent from the terminal 11, and when it determines that the operation information is a sharing type information, the server 12 sends the sharing information including the sharing data to the terminal 11. The terminal 11 shares the sharing data to a local social application.
[0024] In a possible embodiment, the terminal 11 is, but is not limited to, a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc. The server 12 is an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal 11 and the server 12 can be directly or indirectly connected by wired or wireless communication methods, and are not limited in this application.
[0025] Based on the implementation environment shown in Fig. 1 above, an embodiment of the present application provides an information processing method, which is exemplified by applying the method to an interaction process between a terminal 11 and a server 12. As shown in Fig. 2, the method according to the embodiment of the present application includes the following steps 201 to 207.
[0026] In step 201, the terminal logs in to the cloud game installed on the server according to a trigger command of the cloud game login portal, and obtains operation commands during the cloud game process.
[0027] The terminal is for accessing the cloud game, i.e., the player can directly access the cloud game installed on the server based on the terminal. In a possible embodiment, a game application for accessing the cloud game is installed on the terminal, and the player can access the cloud game in the game application. Note that the cloud game is not installed on the terminal, but on the server. The terminal can provide a cloud game login portal, and the player can access the cloud game by triggering the cloud game login portal. When the player triggers the cloud game login portal, the terminal obtains a trigger command of the cloud game login portal, and can then log in to the cloud game installed on the server based on the trigger command of the cloud game login portal.
[0028] In a possible embodiment, the process of the terminal logging in to the cloud game installed on the server according to the trigger command of the cloud game login portal is as follows: the terminal displays a cloud game login page according to the trigger command of the cloud game login portal, obtains login information on the cloud game login page, sends the login information to the server for verification, and in response to the server returning a response of passing the verification, the terminal logs in to the cloud game installed on the server. A login information input box is displayed on the cloud game login page, and the player can input the login information in the login information input box, so that the terminal obtains the login information on the cloud game login page. Note that the embodiment of the present application does not limit the type and number of the login information input box displayed on the cloud game login page, which is related to the type of cloud game that needs to be logged in. Illustratively, the login information input box displayed on the cloud game login page includes a login account input box and a login password input box.
[0029] After logging in to the cloud game, the terminal can display a cloud game game page for the player to experience the cloud game on the terminal. In the process of experiencing the cloud game on the terminal, the player can trigger a triggerable control on the cloud game game page, and then the terminal obtains an operation command in the cloud game process according to the trigger operation of the player. The embodiment of the present application does not limit the form of the triggerable control, and for example, the triggerable control is a triggerable button or a triggerable icon, etc. Different triggerable controls can correspond to different types of trigger operations, and the embodiment of the present application does not limit the type of trigger operation that can be generated by the player on the cloud game game page, and for example, the trigger operation that can be generated by the player on the cloud game game page includes, but is not limited to, a share operation, a confirmation operation, a skill activation operation, etc.
[0030] An example is described in which a trigger operation by a player on the game page of a cloud game is a sharing operation. When a player triggers a sharing operation on the game page of a cloud game, the operation command obtained by the terminal on the game page during the cloud game is actually a sharing command. In a possible embodiment, the trigger manner of the sharing operation is to click a sharing control (such as a sharing button or a sharing icon).
[0031] The type of the sharing control is one or more kinds, and can be set according to the type of the cloud game, and is not limited in the embodiment of the present application. Illustratively, the type of the sharing control includes at least one of sharing with friends in the first social application, sharing with an interactive community in the first social application, sharing with friends in the second social application, and sharing with an interactive community in the second social application. The first social application and the second social application are different social applications. The social application is an application for different objects to socialize through chat, voice, image sharing, interactive information sharing, and other methods. For example, when the type of the sharing control includes sharing with friends in the first social application, the game page of the cloud game is as shown in FIG. 3, and the sharing control 31 is displayed in FIG. 3. When the player triggers the sharing control 31, the operation command acquired by the terminal is actually an operation command to share with friends in the first social application.
[0032] In a possible embodiment, the timing at which a player triggers a sharing operation includes, but is not limited to, triggering a sharing operation when a player needs to invite a friend to join a cloud game together and triggering a sharing operation when a player needs to share a game result of a cloud game. Note that the types of triggerable sharing controls corresponding to different timings may be the same or different, and are not limited in the embodiment of the present application. At different timings, the sharing purpose of the sharing operation is different. For example, when a sharing operation is triggered when a player needs to invite a friend to join a cloud game together, the sharing purpose of the sharing operation is to share an invitation link, and when a sharing operation is triggered when a player needs to share a game result of a cloud game, the sharing purpose of the sharing operation is to share an image including the game result.
[0033] In an exemplary embodiment, when a player triggers a sharing operation by clicking a sharing control, information for indicating the sharing target is carried in the operation command during the cloud gaming process acquired by the terminal. For example, when a player triggers a sharing operation by clicking a sharing control to share with a friend in a first social application, the sharing target is the friend in the first social application, and when a player triggers a sharing operation by clicking a sharing control to share with an interactive community in the first social application, the sharing target is the interactive community in the first social application.
[0034] In addition, since the cloud game is installed on the server, the terminal cannot recognize what type of operation command the acquired operation command is. No matter what type of operation command the terminal acquires, it will send the operation command to the server, and the server will perform further processing on the operation command.
[0035] In step 202, the terminal sends an operation command to a server where the cloud game is installed. After the terminal obtains the operation command in the cloud game process, the terminal transmits the operation command to a server in which the cloud game is installed, so that the server processes the operation command. In a possible embodiment, the operation command in the cloud game process may be a sharing command. Of course, in an exemplary embodiment, the operation command in the cloud game process may be a confirmation command, a skill activation command, etc.
[0036] In a possible embodiment, the manner in which the terminal sends operation instructions to the server on which the cloud game is installed includes, but is not limited to, the following two types. In method 1, the terminal directly sends operation commands to the server on which the cloud game is installed. In this method 1, a network connection can be directly established between the terminal and the server so as to facilitate direct information transmission. In this method 1, the efficiency of information transmission between the terminal and the server is high.
[0037] Exemplarily, a persistent connection can be directly established between a terminal and a server, and exemplarily, a method of establishing a persistent connection is to establish a persistent connection based on Websocket. In the process of establishing a persistent connection based on Websocket, the terminal and the server only need to perform a handshake operation, and after establishing a persistent connection based on Websocket, the terminal and the server can push information to each other at any time. When establishing a persistent connection based on Websocket, the header information exchanged between the server and the terminal is small, which is advantageous for further improving information transmission efficiency.
[0038] In method 2, the terminal transmits an operation command to the gateway, and then transmits the operation command to the server via the gateway. In this method 2, a network connection is established between the terminal and the server through a gateway, that is, the transmitted information between the terminal and the server needs to be relayed by the gateway. The gateway can perform a security check on the transmitted information, which further improves the safety and reliability of the information transmission between the terminal and the server.
[0039] In a possible embodiment, a persistent connection is established between the terminal and the server by the gateway, and illustratively, the persistent connection is a persistent connection established based on Websocket. Furthermore, in order to benefit the efficiency of information transmission, when transmitting an operation command, the terminal needs to package the operation command into an information format that is compatible with the transmission process. In step 203, the server receives an operation command during the cloud game sent from the terminal.
[0040] The server is installed with a cloud game, and after the terminal transmits an operation command during the cloud game process to the server, the server receives the operation command during the cloud game process transmitted from the terminal.
[0041] In a possible embodiment, according to the two ways in which the terminal sends operation commands to the server, the way in which the server receives operation commands sent from the terminal during the cloud game process includes the following two ways: In method 1, the server receives operation commands during the cloud gaming process directly sent from the terminal. This method 1 occurs when the terminal directly sends an operation command to the server, and a network connection is directly established between the terminal and the server. In the second method, the server receives operation commands during the cloud gaming process sent from the terminal via the gateway.
[0042] Method 2 occurs when a terminal transmits an operation command to a gateway, and when the operation command is transmitted to a server via the gateway, a network connection is established between the terminal and the server via the gateway.
[0043] In step 204, the server generates operation information according to the operation command. After receiving the operation command in the process of the cloud game sent from the terminal, the server generates operation information according to the operation command. Note that, in order for the operating system of the server to easily process this operation information, the information format of this operation information is an information format supported by the operating system of the server (e.g., ios, Android). The cloud game is installed on the operating system of the server, and in the embodiment of the present application, an example is described in which the operating system of the server is an Android system. In the exemplary embodiment, the operating system of the terminal for accessing the cloud game is consistent with the operating system of the server, so as to ensure that the function of the cloud game can be normally realized on the terminal and the game page can be normally displayed on the terminal. That is, if the operating system of the terminal for accessing the cloud game is an Android system, the operating system of the server is also an Android system.
[0044] The information format supported by the server's operating system refers to an information format that can be recognized by each component in the server's operating system. For example, in the Android system, the corresponding information format is the Intent information format.
[0045] In a possible embodiment, the process of the server generating operation information based on the operation command is that the server fills in data related to the operation command based on the Intent information format to obtain the operation information. Although the operation information corresponding to different operation commands is different, the format is the Intent format. Note that, in the embodiment of the present application, the Intent format can be combined with the characteristics of cloud games to set in advance the information of each part to be included in the generated operation information, so that the type of the operation information can be more easily identified later. For example, the operation information in the Intent format includes two parts, an operation object and additional data. In different operation information corresponding to different operation commands, the specific content of at least one of the operation object and the additional data is different.
[0046] Illustratively, when the operation command is a sharing command, the operation object included in the operation information refers to the sharing object, and the sharing object is used to indicate the social application waiting to be shared and the dialogue page of the positioning object in the social application waiting to be shared. The additional data included in the operation information refers to the sharing data, and the format of the sharing data is set based on experience or flexibly adjusted according to application scenarios, and is not limited thereto in the embodiment of the present application, for example, the sharing data includes at least one of the following information: theme, detailed data, and description information.
[0047] Exemplarily, the shared data differs depending on the sharing purpose. For example, if the sharing purpose is to share an invitation link, the detailed data in the shared data refers to the invitation link, and if the sharing purpose is to share a picture including a game result, the detailed data in the shared data refers to data in which the picture including the game result is encoded. Illustratively, if the sharing purpose is to share an invitation link, the sharing data is as follows: { title=demo, / / Shared theme detail_url=http: / / gamecenter.qq.com / gcjump?appid=123…, / / Shared invitation link desc=Hurry up and form a team, let's play a team battle!, / / Shared descriptive information }
[0048] In a possible embodiment, the Intent information format is a Key-Value pair format. For example, the descriptive information of the operation information is a Key, and the content of the operation information is a Value. Such a Key-Value pair format has a fast query speed, a large amount of stored data, and supports high concurrency. In addition, operation information corresponding to different operation commands may have different Key-Value pair determination methods. Exemplarily, when the operation command is a sharing command, the Key-Value pair is determined based on an open sharing interface of a sharing-waiting social application.
[0049] In step 205, in response to the operation information being share type information, the server parses the share data from the operation information and generates share information including the share data.
[0050] After generating the operation information, the server determines whether the operation information is share type information, and if the operation information is share type information, the server sends share information including the share data to the terminal based on step 205 and subsequent step 206, so that the share data of the cloud game is shared to the social application of the terminal.
[0051] Illustratively, when the operation command is a sharing command, the operation object included in the operation information refers to a sharing object, and the sharing object is a social application waiting to be shared and an interaction page of a positioning object in the social application waiting to be shared. (also known as "interactive pages") The additional data included in the operation information refers to shared data, and the format of the shared data is set based on experience or flexibly adjusted according to application scenarios, which is not limited in the embodiments of the present application, for example, the shared data includes at least one of the following information: theme, detailed data, and description information.
[0052] The information format of the operation information is an information format supported by the operating system of the server, and the operating system of the server can verify the sharing type of the operation information and verify whether the type of the operation information is a sharing type. In a possible embodiment, a service component is integrated into the cloud game, and before the server uses the operating system to verify the sharing type of the operation information, the server first sends the operation information to the operating system through the service component in the cloud game. The service component can communicate with the operating system, for example, the service component is MSDK. Illustratively, the service component communicates with the operating system through an interface, and different interfaces are used to transmit different types of information. For example, a sharing interface in the service component is used to send the sharing type information to the operating system.
[0053] In a possible embodiment, the process of the server using the operating system to verify the sharing type of the operation information is that the server recognizes through the operating system whether the operation information is information of a sharing type. In a possible embodiment, the operation information includes an operation target, and the process of the operating system verifying the sharing type of the operation information is that the operating system recognizes whether the operation target in the operation information is a sharing target. If the operation target in the operation information is a sharing target, it indicates that the verification of the sharing type of the operation information is successful, and if the operation target of the operation information is not a sharing target, it indicates that the verification of the sharing type of the operation information is unsuccessful.
[0054] In a possible embodiment, the process in which the server performs the verification of the sharing type for the operation information through the operating system includes the following two steps:
[0055] In step 1, a first function in a first component of an operating system issues a processing request for operational information, the processing request carrying the operational information. In an exemplary embodiment, when the operating system is an Android system, the first component of the operating system refers to an Activity component of the Android system, and the first function in the first component refers to a startActivityForResult (starts an activity and returns a result) function. In a possible embodiment, the process of issuing a processing request for the operation information by the first function in the first component of the operating system includes: filling the operation information into the first function in the first component by the operating system, obtaining the filled first function, issuing a request for the filled first function by the operating system, and making the request for the filled first function the processing request for the operation information. The processing request is used by other components of the operating system to further process the operation information. The processing request carries the operation information.
[0056] In step 2, a second function in a second component of the operating system performs a sharing type verification on the operation information carried in the processing request.
[0057] In an exemplary embodiment, when the operating system is an Android system, the second component of the operating system refers to an Instrumentation component of the Android system, and the second function in the second component refers to an execStartActivity function. The second function in the second component includes a verification logic for verifying a sharing type for operation information carried in a processing request issued by the operating system. Illustratively, the verification logic included in the second function is used to verify whether the operation information matches the information of the sharing type.
[0058] A second function in a second component of the operating system can verify the sharing type of the operation information carried in the processing request. In a possible embodiment, when the operation information includes an operation target, the second function includes a sharing target candidate, and the process of verifying the sharing type of the operation information by the second function is to match the operation target in the operation information with the sharing target candidate by the second function. If the operation target in the operation information matches any of the sharing target candidates, it indicates that the verification of the sharing type of the operation information is successful, and if none of the operation targets in the operation information matches any of the sharing target candidates, it indicates that the verification of the sharing type of the operation information is unsuccessful.
[0059] In another possible embodiment, the second function includes a predetermined data format of each part of information included in the sharing type information, for example, the sharing type information includes two parts, a sharing target and sharing data, the predetermined data format of the sharing target includes data for indicating a social application waiting to be shared and data for indicating an interactive page to be positioned, and the predetermined data format of the sharing data is data for indicating a theme, detailed data, and description information, respectively. In this case, the process of verifying the sharing type of the operation information by the second function is to compare the data format of the information included in the operation information with the predetermined data format of each part of information included in the sharing type information by the second function. If the information included in the operation information includes information of the same data format as the predetermined data format of each part of information included in the sharing type information, respectively, it indicates that the verification of the sharing type of the operation information is successful, and if the information included in the operation information does not include information of the same data format as the predetermined data format of each part of information included in the sharing type information, respectively, it indicates that the verification of the sharing type of the operation information is unsuccessful.
[0060] According to the operating system of the server, the result of verifying the sharing type of the operation information includes the following two types of results: Result 1 is that the verification of the sharing type of the operation information is passed. If the operation information matches the sharing type information, it indicates that the verification of the sharing type of the operation information is successful. Result 2 is that the verification of the sharing type of the operation information fails. If the operation information does not match the sharing type information, it indicates that the verification of the sharing type of the operation information fails.
[0061] The process of determining whether the operation information is shared type information based on the verification result is to determine that the operation information is shared type information in response to the verification of the sharing type of the operation information being successful, and to determine that the operation information is not shared type information in response to the verification of the sharing type of the operation information being unsuccessful.
[0062] In method 1, the operating system determines whether the operation information is share-type information. Since this is done at the operating system level, all share-type operation information can be recognized, and the success rate of sharing subsequent shared data to the terminal's social application can reach nearly 100%.
[0063] Regarding method 2, a service component and a blocking component are integrated into the cloud game, and the server performs a blocking process on the shared interface in the service component via the blocking component, and determines whether the operation information is shared type information based on whether the operation information can be blocked by the shared interface.
[0064] The service component communicates with the operating system. Exemplarily, the service component is an MSDK. The interception component performs interception processing on an interface or a type of interface in the service component, so that information is not sent to the operating system through this interface or this type of interface. In an embodiment of the present application, the interception component is used to perform interception processing on a shared interface in the service component, so that shared type information is not sent to the operating system through the shared interface. The shared interface is one or one type of interface for receiving a shared command in the service component and sending shared type information to the operating system. The interception component can perform interception processing on the shared interface in the service component to intercept the shared type information.
[0065] In an exemplary embodiment, the blocking component blocks the shared interface by replacing a part or all of the existing program code of the shared interface with new program code and changing the transmission method of the shared interface, so that the shared interface does not transmit the shared type information to the operating system. After the shared interface is blocked, the shared type information can be blocked.
[0066] After the blocking component performs a blocking process on the shared interface in the service component, the blocking component can determine whether the operation information is shared type information based on whether the operation information can be blocked on the shared interface. In a possible embodiment, the process of determining whether the operation information is shared type information based on whether the operation information can be blocked on the shared interface is: in response to blocking the operation information on the shared interface, determining that the operation information is shared type information; in response to not blocking the operation information on the shared interface, determining that the operation information is not shared type information.
[0067] In method 2, the process of determining whether the operation information is shared type information is performed at the cloud game level, and there is no need to call the operating system. This determination method has a fast determination speed and the determination process is simple and fast.
[0068] In addition, in the related technology, the server does not determine whether the operation information is of the shared type, and the operating system directly processes the entire service corresponding to the operation information. In the embodiment of the present application, by adding a process of determining whether the operation information is of the shared type, the shared type information can be recognized, and then the shared data in the shared information can be shared to the social application of the terminal.
[0069] Whether the operation information is a shared type of information can be determined by either the above method 1 or the above method 2. If it is determined that the operation information is a shared type of information, the server analyzes shared data from the operation information and generates shared information containing the shared data. The information format of the shared information is an information format supported by the transmission process.
[0070] In an exemplary embodiment, the operation information includes two parts: an operation target and additional data. If the operation information is a sharing type of information, the operation target included in the operation information refers to a sharing target, and the sharing target is used to indicate a social application to be shared and an interaction page of a positioning target in the social application to be shared. The additional data included in the operation information refers to the sharing data. When it is determined that the operation information is a sharing type of information, the sharing data can be analyzed from the operation information. In a possible embodiment, when the operating system determines whether the operation information is a sharing type of information, the sharing data can be analyzed from the operation information by a second function in a second component of the operating system. Illustratively, the process of analyzing the sharing data from the operation information is to extract bundle data from the operation information in the form of Intent information, and take the extracted bundle data as the sharing data.
[0071] After analyzing the shared data from the operation information, the server generates shared information containing the shared data, and the information format of the shared information is an information format supported by the transmission process. In a possible embodiment, the information format of the shared information is as follows: Message { / / Define the message enum CmdType { / / Defines an enumeration of message types CMD_SHARE_RESULT_TO_GAME=1; / / Define the message type to share cloud game results to 1 } CmdType type, / / Message type String data, / / Specific content of the message (including shared data) }
[0072] The shared data is included in data in the String data indicating the specific contents of the message. In addition to including the shared data, data can also include information for indicating the sharing target, and for example, the information for indicating the sharing target includes information on the social application to be shared and information on the dialogue page to be positioned in the social application to be shared. For example, if the sharing command that is the basis for generating the operation information is a sharing command generated by triggering a sharing control to share with a friend in the first social application, the social application to be shared is the first social application, and the dialogue page to be positioned in the social application to be shared is a friend selection page in the first social application, and if the sharing command that is the basis for generating the operation information is a sharing command generated by triggering a sharing control to share with an interactive community in the first social application, the social application to be shared is the first social application, and the dialogue page to be positioned in the social application to be shared is an interactive information presentation page in the first social application.
[0073] For example, the contents of data in the String data are as follows: { shareType:[qq | wechat], / / Social application information waiting to be shared shareTarget:[to_fri | to_qzone | to_wexin], / / Information of the interactive page to be positioned in the sharing social application { / / Shared data title=demo, / / Shared theme detail_url=http: / / gamecenter.qq.com / gcjump?appid=123…, / / Shared invitation link desc=Hurry up and form a team, let's play a team battle!, / / Shared descriptive information } }
[0074] If the operation information is the sharing type information, the server generates sharing information including the sharing data according to step 205, and then executes step 206. In a possible embodiment, the operation information may be information other than the sharing type. If the operation information is information other than the sharing type, in response to the operation information being information other than the sharing type, the server executes a processing service corresponding to the operation information, obtains a processing result, and sends the processing result to the terminal.
[0075] If the operation information is information other than sharing type, execute a processing service corresponding to the operation information in the server. In a possible embodiment, the step of executing the processing service corresponding to the operation information is to open a target game page corresponding to the operation information.
[0076] In addition, the target game page corresponding to the operation information may differ depending on the operation command that is the basis for generating the operation information. For example, if the operation command that is the basis for generating the operation information is a confirmation command, the target game page corresponding to the operation information indicates a game page related to the confirmation command, and if the operation command that is the basis for generating the operation information is a skill activation command, the target game page corresponding to the operation information indicates a game page after the skill is activated.
[0077] In a possible embodiment, the way in which the server executes the processing service corresponding to the operation information is that the server executes the processing service corresponding to the operation information through a start function in a management component of the operating system, that is, the start function in the management component of the operating system opens a target game page corresponding to the operation information. Illustratively, when the operating system is an Android system, the management component of the operating system refers to the AMS component of the Android system, and the start function in the management component refers to a startActivity function.
[0078] For example, when the operation information is information other than the shared type, the processing procedure of the operation information by the server is shown in Figure 4. Based on the operation command sent from the terminal, the operation information is generated, a processing request for the operation information is issued by the startActivityForResult function in the Activity component, the shared type is verified for the operation information carried in the processing request by the execStartActivity function in the Instrumentation component, and if the verification of the shared type is not passed, i.e., if the operation information is information other than the shared type, the target game page corresponding to the operation information is opened by the startActivity function in the AMS component.
[0079] After the server executes the processing service corresponding to the operation information, the server can obtain a processing result, and then the server sends the processing result to the terminal. Exemplarily, when the executing the processing service corresponding to the operation information is to open a target game page corresponding to the operation information, the processing result includes an audio-video stream encoding the target game page.
[0080] For example, the manner in which the server transmits the processing result to the terminal may be to transmit the processing result directly to the terminal, or to transmit the processing result to the terminal via a gateway, which is not limited in the embodiment of the present application. In addition, before transmitting the processing result, the server must first package the processing result into an information format supported by the transmission process.
[0081] After the server transmits the processing result to the terminal, the terminal receives the processing result transmitted from the server. The processing result is a result of the server executing a processing service corresponding to the operation information in response to the operation information being information other than the sharing type. After receiving the processing result, the terminal displays a game page corresponding to the processing result. The processing result includes information of the game page corresponding to the processing result, and the terminal can display the game page corresponding to the processing result based on the information of the game page included in the processing result. In a possible embodiment, the game page corresponding to the processing result indicates a target game page corresponding to the operation information, and the information of the game page included in the processing result corresponding to the processing result indicates a target audio-video stream that encodes the target game page, in which case the terminal first decodes the audio-video stream, and then displays the game page corresponding to the processing result. In step 206, the server transmits sharing information including the shared data to the terminal.
[0082] After generating the shared information including the shared data, the server sends the shared information including the shared data to the terminal, so that the terminal executes the process of sharing the shared data to the social application. In a possible embodiment, the manner in which the server sends the shared information including the shared data to the terminal includes the following two manners: In method 1, the server directly transmits shared information including shared data to the terminal. In the method 2, the server transmits shared information including the shared data to the gateway, and transmits the shared information including the shared data to the terminal via the gateway.
[0083] For example, in method 2, a schematic diagram showing a process in which a server transmits shared information including shared data to a terminal is shown in Fig. 5. In Fig. 5, a server 51 transmits shared information including shared data to a gateway 52, and the gateway 52 transmits shared information including shared data to a terminal 53.
[0084] For example, the process of the operation information processed by the server is shown in Figure 6. The server verifies the sharing type of the operation information through the execStartActivity function in the Instrumentation component of the server's operating system, and determines whether the operation information is sharing type information. If the operation information is sharing type information, the server analyzes sharing data from the operation information, and sends the sharing information including the sharing data to the terminal, and the terminal shares the sharing data with the social application to complete the sharing process. If the operation information is not sharing type information, the server sends the operation information to the AMS component of the operating system, and opens the target game page corresponding to the operation information through the startActivity function in the AMS component. In step 207, the terminal receives the sharing information including the sharing data sent from the server, and shares the sharing data to the target social application.
[0085] The server transmits the shared information including the shared data to the terminal, and then the terminal receives the shared information including the shared data transmitted from the server. In a possible embodiment, when the server transmits the shared information including the shared data directly to the terminal, the terminal receives the shared information including the shared data transmitted directly from the server, and when the server transmits the shared information including the shared data to the gateway, the terminal receives the shared information including the shared data transmitted from the server via the gateway.
[0086] After receiving the sharing information including the shared data, the terminal shares the shared data to the target social application, where the target social application is a social application waiting to be shared. In a possible embodiment, the process of the terminal sharing the shared data to the target social application includes the following steps 1 to 3. In step 1, the terminal generates call information including shared data based on the shared information.
[0087] The information format of the shared information is an information format supported by the transmission process, and the information format of the call information is an information format supported by the operating system of the terminal. Since the information format of the shared information may not be recognized and processed by components in the operating system of the terminal, call information is generated according to the shared information, the information format of which is supported by the operating system of the terminal.
[0088] In an exemplary embodiment, the operating system of the terminal for accessing the cloud game is consistent with the operating system of the server, to ensure that the cloud game function can be normally implemented on the terminal and the game page can be normally displayed on the terminal. That is, if the operating system of the server is an Android system, the operating system of the terminal for accessing the cloud game is also an Android system. For example, if the operating system of the terminal is an Android system, the information format supported by the operating system of the terminal is an Intent information format. That is, the information format of the call information generated by the terminal is an Intent information format.
[0089] In an exemplary embodiment, the call information in the Intent information format includes two parts: a call target and shared data. Illustratively, the shared data in the call information is directly extracted from the shared information, that is, the shared data in the shared information is the shared data in the call information. The call target in the call information is used to mark the call-waiting social application and the dialogue page of the positioning target in the social application. The data of the shared information includes the shared data and also includes information for indicating the shared target, and the terminal generates a call target that meets the Intent information format according to the information indicating the shared target in the data of the shared information. Thus, the terminal completes the process of generating call information according to the shared information.
[0090] In step 2, a target social application corresponding to the invocation information is launched by a launch function in a management component of the operating system.
[0091] After the call information is generated, the information format of the call information is an information format supported by the terminal operating system, and the call information also includes the call target, so that the terminal operating system determines the call target based on the call information, that is, determines the target social application of the call target.
[0092] In a possible embodiment, the terminal is installed with a game application for accessing cloud gaming, and the game application is integrated with a service component. In some embodiments, the service component integrated with the game application of the terminal and the service component integrated with the cloud gaming of the server are the same service component. Illustratively, the service component is MSDK. Before launching a target social application corresponding to the calling information through a launch function in the management component of the operating system of the terminal, the service component in the game application of the terminal calls a sharing interface and sends the calling information to the operating system of the terminal. Then, the terminal launches a target social application corresponding to the calling information through a launch function in the management component of the operating system of the terminal.
[0093] In an exemplary embodiment, when the operating system of the terminal is an Android system, the management component of the operating system of the terminal refers to the AMS component of the Android system, and the start function in the management component refers to the startActivity function. Note that, since the operating system of the terminal is the same as that of the server, the management component of the operating system and the start function in the management component are also the same.
[0094] The operating system of the terminal determines the target social application to be called based on the calling information, so that the operating system of the terminal can launch the target social application to be called. Launching the target social application means opening the target social application in a current window. The process of launching the target social application is a process of application transition, which is transition from a game application for accessing a cloud game to the target social application. Note that the target social application of the terminal is a social application corresponding to a player's personal account, and the friendship chain in the target social application is the player's friendship chain. In step 3, the shared data in the calling information is shared to the target social application.
[0095] After launching the target social application, the terminal shares the shared data in the calling information to the target social application, thereby sharing the shared data in the cloud game to the social application local to the terminal.
[0096] It should be noted that the above steps 1 to 3 are exemplary descriptions of the implementation manner in which the terminal shares the shared data with the target social application, and are not limited in the embodiment of the present application. Illustratively, if the information format of the shared information is an information format supported by the operating system of the terminal, the terminal can directly share the shared data in the shared information with the target application.
[0097] The shared data in the call information is shared to the target social application, or the shared data in the shared information is directly shared to the target application, both can achieve the shared data to be shared to the target social application. In a possible embodiment, the process of sharing the shared data to the target social application includes the following steps a and b: In step a, the display page of the target social application is positioned on the first interaction page.
[0098] An example of sharing the shared data in the call information to a target application is described below. The call information includes a target social application of the call target and a call target for marking the dialogue page of the positioning target in the target social application, so that not only can the target social application of the call target be determined based on the call target, but also the dialogue page of the positioning target in the target social application can be determined based on the call target. The dialogue page of the positioning target in the target application is the first dialogue page.
[0099] After determining the first interaction page, the terminal positions the display page of the target social application on the first interaction page. That is, after launching the target social application, displays the first interaction page of the target social application. It should be noted that the first interaction page of the target social application may be a friend selection page, or may be an interaction information release page, which is related to the type of sharing control triggered by the player when generating a sharing command, and is not limited in the embodiment of the present application. Illustratively, when the type of sharing control triggered by the player when generating a sharing command is to share with friends in the first social application or to share with friends in the second social application, the first interaction page of the target social application refers to a friend selection page, and when the type of sharing control triggered by the player when generating a sharing command is to share with interactive communities in the first social application or to share with interactive communities in the second social application, the first interaction page of the target social application is an interactive information release page.
[0100] The friend selection page is used by the player to select friends to share with, and the friend selection page can display selectable friend information in the target social application, and the selectable friends are friends who have recently had conversations with the player or all friends who have a friendship relationship with the player, and are not limited to these in the embodiment of the present application. For example, the displayed friend information includes at least one of the following: profile picture information and nickname information of the friends.
[0101] The interactive information presentation page is used for players to complete and review interactive information to be presented to the interactive community. The interactive information presentation page displays the shared data waiting to be presented, and also displays an input box for players to input explanatory information about the shared data.
[0102] In step b, in a second interactive page, sharing the shared data to the target social application according to the confirmation command in the first interactive page, the second interactive page is an interactive page matching the confirmation information carried in the confirmation command.
[0103] After the first dialogue page is displayed, the player can trigger a confirmation operation on the first dialogue page, and then the terminal obtains a confirmation command on the first dialogue page. In a possible embodiment, if the first dialogue page is a friend selection page, the player can select a friend to be shared on the friend selection page, and then trigger a confirmation operation, and the terminal obtains a confirmation command on the first dialogue page. If the first dialogue page is an interaction information release page, the player can trigger a confirmation operation after inputting description information about the shared data, and can also directly trigger a confirmation operation without inputting description information about the shared data. After the confirmation operation is triggered, the terminal obtains a confirmation command on the first dialogue page. Check the confirmation information carried in the command.
[0104] After obtaining the confirmation command of the first interactive page, the terminal determines a second interactive page that matches the confirmation information carried by the confirmation command, and then shares the shared data to the second interactive page of the target social application. Illustratively, when the first interactive page is a friend selection page, the confirmation information carried by the confirmation command is the friend's information waiting to be shared, and the second interactive page that matches the friend's information to be shared is the conversation page of the friend to be shared, and sharing the shared data to the second interactive page is sending the shared data to the conversation page of the friend to be shared. When the first interactive page is an interactive information release page, the confirmation information carried by the confirmation command is the interactive information to be released that includes the shared data, and the second interactive page that matches the interactive information to be released that includes the shared data is an interactive community display page, and sharing the shared data to the second interactive page is releasing the interactive information to be released that includes the shared data to the interactive community display page. Furthermore, after the terminal shares the shared data to the second interactive page of the target social application, the following three ways can be used, but are not limited to: For method 1, it is to display the second dialogue page.
[0105] In the first method, after the shared data is shared to the second interactive page, the terminal directly displays the second interactive page, and the shared data is displayed on the second interactive page. For example, if the second interactive page is a conversation page of a friend, the terminal directly displays the conversation page of the friend, and the shared data that the friend wants to view is displayed on the conversation page; if the second interactive page is a display page of an interactive community, the terminal directly displays the display page of the interactive community, and the interactive information with the published shared data is displayed on the display page of the interactive community.
[0106] Method 2 is to return to the game page. In the second mode, after the shared data is shared on the second interactive page, the terminal directly returns to the game page, for example, the game page is the game page that generates the operation command in the cloud game process. After returning to the game page, the player can continue playing the cloud game on the game page.
[0107] For method 3, a selection box is displayed, which includes a first option and a second option. The first option is used to instruct the player to return to the game page corresponding to the first option, and the second option is used to instruct the player to continue to stay on the target social application. In this method 3, after the shared data is shared to the second dialogue page, the terminal displays a selection box for the player to actively select, which is favorable for improving interactivity.
[0108] After the selection box is displayed, the player can trigger the first option or the second option. In response to the trigger command of the first option, the terminal returns to the game page corresponding to the first option, and in response to the trigger command of the second option, displays the target dialogue page of the target social application. The game page corresponding to the first option is set based on experience or flexibly adjusted based on the application scene, and the embodiment of the present application is not limited. For example, the game page corresponding to the first option is a game page where an operation command in a cloud game is generated. The target dialogue page is set based on experience or flexibly adjusted based on the application scene, and the embodiment of the present application is not limited. Illustratively, the target dialogue page is a second dialogue page, or the target dialogue page is the top page of the target social application. Note that, after the target dialogue page of the target social application is displayed, the terminal can further display other dialogue pages of the target social application based on the trigger operation of the player.
[0109] For example, a schematic diagram showing the pages in the process of the terminal sharing the shared data to the target social application is shown in FIG. 7. When the first dialogue page is a friend selection page, the first dialogue page is shown in FIG. 7(1), when the player selects the friend "Zhang San" on the page shown in FIG. 7(1), a confirmation box 71 shown in FIG. 7(2) pops up on the first dialogue page, when the player triggers the share button on the confirmation box 71, the terminal gets a confirmation command on the first dialogue page, and then the terminal shares the shared data to the conversation page of the friend "Zhang San". After sharing, a selection box 72 shown in FIG. 7(3) pops up on the first dialogue page, in the selection box 72, the first option is the "return to game page" option, and the second option is the "leave in social application" option. Naturally, after sharing, the conversation page of the friend "Zhang San" shown in FIG. 7(4) can be directly displayed, and the shared data 73 is displayed on this conversation page.
[0110] After the terminal shares the shared data to the second interaction page of the target social application, the process of sharing the shared data in the cloud game to the social application of the terminal is completed.
[0111] Exemplarily, the information processing process is as shown in FIG. 8, in which the server sends operation information to the server's operating system through the MSDK integrated in the cloud game, and performs sharing type verification on the operation information through the execStartActivity function in the Instrumentation component of the server's operating system. If the operation information is sharing type information, the server sends sharing information including sharing data to the terminal, and after receiving the sharing information, the terminal generates calling information, and then sends the information to the terminal's operating system through the MSDK integrated in the game application of the terminal, and launches the target social application through the startActivity function in the AMS component of the terminal's operating system, and then completes the process of sharing the sharing data to the target social application.
[0112] In the related art, in order to support the login of the account of the social application in the cloud game, the server is installed with the social application in addition to the cloud game, and the social application installed on the server is only used for the login of the cloud game, and a dedicated account is used instead of the player's account. In addition, the player can only operate the social application installed on his / her terminal, and cannot operate the social application of the server. In the current technical solution of the cloud game, the function of sharing to the social application is directly disabled because it is technically impossible to realize, and the function cannot be used, or it can only be shared to the social application of the server, and cannot be shared to the social application of the player's terminal. In the embodiment of the present application, the server sends the sharing information including the sharing data to the terminal, and realizes the sharing of the shared data in the cloud game to the social application local to the terminal, and achieves the experience consistent with the sharing of the traditional terminal-local game to the social application local to the terminal.
[0113] In an embodiment of the present application, if the operation information is a sharing type information, the server analyzes the sharing data from the operation information, and then transmits the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application. In this information processing process, a process of determining whether the operation information is a sharing type information is added to the server, and the server transmits the sharing data analyzed from the sharing type operation information to the terminal, so that the terminal shares the sharing data to the social application of the terminal. According to this process, the sharing data in the cloud game can be shared to the social application of the terminal, which can improve the scalability of the cloud game, has excellent information processing effect, is favorable to improving the sociability of the cloud game, has a good penetration rate of the cloud game, improves the participation rate of players in the cloud game, and increases the interaction rate of the cloud game.
[0114] The examples of the present application are A terminal configured to log in to the cloud game installed on the server according to a trigger command of the cloud game login portal, obtain an operation command in the process of the cloud game, and send the operation command to the server where the cloud game is installed; a server configured to receive an operation command in a cloud game process transmitted from a terminal, generate operation information based on the operation command, and in response to the operation information being information of a shared type, analyze shared data from the operation information, generate shared information including the shared data, and transmit the shared information including the shared data to the terminal; The terminal further provides an information processing system configured to receive shared information including the shared data sent from the server, and share the shared data to the target social application.
[0115] In the embodiment of the present application, if the operation information is a sharing type information, the server analyzes the sharing data from the operation information, and then transmits the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application. In this information processing process, a process of determining whether the operation information is a sharing type information is added to the server, and the server transmits the sharing data analyzed from the sharing type operation information to the terminal, so that the terminal shares the sharing data to the social application of the terminal. According to this process, the sharing data in the cloud game can be shared to the social application of the terminal, which can improve the scalability of the cloud game, has excellent information processing effect, is favorable to improving the sociability of the cloud game, has a good penetration rate of the cloud game, improves the participation rate of players in the cloud game, and increases the interaction rate of the cloud game.
[0116] As shown in FIG. 9, the embodiment of the present application is applied to a terminal, and provides an information processing device that realizes the functions executed by the terminal in the information processing method described in FIG. 2 by the following modules shown in FIG. 9. This device: An acquisition module 901 configured to log in to the cloud game installed on the server according to a trigger command of the cloud game login portal, and acquire operation commands in the process of the cloud game; A sending module 902 is configured to send the operation instruction to a server where the cloud game is installed, so that the server performs the following operations: based on the operation instruction, generating operation information; and in response to the operation information being share type information, analyzing shared data from the operation information, generating shared information including the shared data, and sending the shared information including the shared data to the terminal; a receiving module 903 configured to receive shared information including shared data sent from the server; and a sharing module 904 configured to share the shared data to a target social application.
[0117] In a possible embodiment, the sharing module 904 is configured to position a display page of the target social application to a first interactive page and, based on a confirmation command in the first interactive page, share the shared data to a second interactive page of the target social application, the second interactive page being an interactive page matching the confirmation information carried in the confirmation command.
[0118] In a possible embodiment, as shown in FIG. 10, the apparatus comprises: The display module 905 is configured to display a selection box including a first option and a second option, return to a game page corresponding to the first option in response to a trigger command for the first option, and display a target interaction page of the target social application in response to a trigger command for the second option.
[0119] In a possible embodiment, the sharing module 904 is further configured to generate call information including the shared data based on the shared information, launch a target social application corresponding to the call information through a launch function in a management component of the operating system, and share the shared data in the call information to the target social application.
[0120] In a possible aspect, the receiving module 903 is further configured to receive a processing result sent from the server, where the processing result is a result of the server executing a processing service corresponding to the operation information in response to the operation information being information other than a sharing type.
[0121] The display module 905 is further configured to display a game page corresponding to the processing result. In a possible embodiment, the acquisition module 901 further displays a cloud game login page based on a trigger command of the cloud game login portal, acquires login information from the cloud game login page, sends the login information to a server for verification, and in response to receiving a successful verification response from the server, logs in to the cloud game installed on the server.
[0122] In the embodiment of the present application, if the operation information is a sharing type information, the server analyzes the sharing data from the operation information, and then transmits the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application. In this information processing process, a process of determining whether the operation information is a sharing type information is added to the server, and the server transmits the sharing data analyzed from the sharing type operation information to the terminal, so that the terminal shares the sharing data to the social application of the terminal. According to this process, the sharing data in the cloud game can be shared to the social application of the terminal, which can improve the scalability of the cloud game, has excellent information processing effect, is favorable to improving the sociability of the cloud game, has a good penetration rate of the cloud game, improves the participation rate of players in the cloud game, and increases the interaction rate of the cloud game.
[0123] As shown in FIG. 11, the embodiment of the present application is applied to a server, and provides an information processing device that realizes the functions executed by the server in the information processing method described in FIG. 2 by the following modules shown in FIG. 11. This device: A receiving module 1101 configured to receive an operation command in the process of a cloud game sent from a terminal; A generating module 1102 configured to generate operation information according to an operation command; an analysis module 1103 configured to analyze the shared data from the operation information in response to the operation information being a shared type of information; A generating module 1102 configured to generate shared information including the shared data; and a sending module 1104 configured to send sharing information including the shared data to the terminal, so that the terminal shares the shared data to the target social application.
[0124] In a possible embodiment, as shown in FIG. 12, the apparatus comprises: The device further comprises a verification module 1105 configured to perform, by the operating system, a sharing type verification on the operation information, and determine that the operation information is sharing type information in response to the operation information passing the sharing type verification.
[0125] In a possible embodiment, the cloud gaming is integrated with a service component and an interception component, and as shown in FIG. 12, the device includes: The service component further includes a cut-off processing module 1106 configured to determine that the operation information is of a shared type in response to the cut-off component cutting off the operation information at the shared interface by cutting off the shared interface in the service component.
[0126] In a possible embodiment, the verification module 1105 is further configured to issue a processing request for the operation information carrying the operation information by a first function in a first component of the operating system, and to perform a sharing type verification for the operation information carried in the processing request by a second function in a second component of the operating system.
[0127] In a possible embodiment, as shown in FIG. 12, the apparatus further comprises: the execution module 1107 is configured to, in response to the operation information being information other than a share type, execute a processing service corresponding to the operation information to obtain a processing result; The sending module 1104 is further configured to send the processing result to the terminal.
[0128] In the embodiment of the present application, if the operation information is a sharing type information, the server analyzes the sharing data from the operation information, and then transmits the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application. In this information processing process, a process of determining whether the operation information is a sharing type information is added to the server, and the server transmits the sharing data analyzed from the sharing type operation information to the terminal, so that the terminal shares the sharing data to the social application of the terminal. According to this process, the sharing data in the cloud game can be shared to the social application of the terminal, which can improve the scalability of the cloud game, has excellent information processing effect, is favorable to improving the sociability of the cloud game, has a good penetration rate of the cloud game, improves the participation rate of players in the cloud game, and increases the interaction rate of the cloud game.
[0129] In addition, when the device according to the above embodiment realizes its function, only the division of each of the above functional modules is described by way of example, and in actual application, the above functions can be assigned to different functional modules to be executed as required, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the above-described functions. In addition, the device and method embodiments according to the above embodiment belong to the same concept, and the specific implementation details are shown in the method embodiment, and the description is omitted here.
[0130] 13 is a structural schematic diagram of a server according to an embodiment of the present application, which may have relatively large differences due to differences in configuration and performance, and for example, the server includes one or more processors (CPU: Central Processing Units) 1301 and one or more memories 1302, in which at least one program code is stored, and the at least one program code is loaded and executed by the one or more processors 1301 to realize the information processing method according to the embodiment of each method. Of course, the server may further include components such as a wired or wireless network interface, a keyboard, and an input / output interface for input / output, and the server may further include components for realizing other equipment functions, which will not be described here.
[0131] 14 is a schematic diagram of a terminal according to an embodiment of the present application. Illustratively, the terminal is a smartphone, a tablet computer, a notebook computer, or a desktop computer. The terminal may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, or other names. Illustratively, the terminal includes a processor 1401 and a memory 1402 .
[0132] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 1401 may include a main processor and a coprocessor, where the main processor is a processor for processing data in a wake-up state, also called a CPU (Central Processing Unit), and the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1401 is integrated with a GPU (Graphics Processing Unit) for rendering and creating content to be displayed on a display. In some embodiments, the processor 1401 further includes an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
[0133] The memory 1402 may include one or more computer-readable storage media, and illustratively, the computer-readable storage media is non-transitory. The memory 1402 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storages, flash storages, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 1402 is used to store at least one instruction, which is executed by the processor 1401 to implement an information processing method according to the method embodiment of the present application.
[0134] In some embodiments, the terminal may optionally include a peripheral interface 1403 and at least one peripheral device. The processor 1401, the memory 1402, and the peripheral interface 1403 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral interface 1403 via a bus, signal lines, a circuit board, or the like. Specifically, the peripheral device is at least one of a radio frequency circuit 1404, a touch display 1405, a camera component 1406, an audio circuit 1407, a positioning component 1408, and a power source 1409.
[0135] The peripheral interface 1403 is used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, the memory 1402, and the peripheral interface 1403 are integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1401, the memory 1402, and the peripheral interface 1403 can be realized on an independent chip or circuit board, and this embodiment is not limited thereto.
[0136] The radio frequency circuit 1404 is used to transmit and receive radio frequency (RF) signals, also called electromagnetic signals. The radio frequency circuit 1404 communicates with communication networks and other communication devices by electromagnetic signals. The radio frequency circuit 1404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Preferably, the radio frequency circuit 1404 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chips, user identity module cards, and the like. The radio frequency circuit 1404 can communicate with other terminals by at least one wireless communication protocol, including but not limited to metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G, and 5G), wireless local area networks, and / or wireless fidelity (WiFi) networks. In some embodiments, the radio frequency circuit 1404 further includes circuitry related to near field communication (NFC), which is not limited in this application.
[0137] The display 1405 is used to display a user interface (UI). Illustratively, the UI includes graphics, text, icons, videos, and any combination thereof. When the display 1405 is a touch display, the display 1405 further has a function of collecting touch signals on or above the surface of the display 1405. The touch signals are input as control signals to the processor 1401 for processing. In this case, the display 1405 is further used to provide virtual keys and / or a virtual keyboard, also referred to as soft keys and / or a soft keyboard. In some embodiments, the display 1405 is one and is provided on the front panel of the terminal 1500, and in some other embodiments, the display 1405 is at least two and is provided on different surfaces of the terminal 1500 or designed to be folded, and in some further embodiments, the display 1405 is a flexible display provided on a curved or folded surface of the terminal 1500. Furthermore, the display 1405 is further provided on an irregular shape other than a rectangle, i.e., an irregularly shaped display. The display 1405 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
[0138] The camera component 1406 is used to collect images or videos. Preferably, the camera component 1406 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back panel of the terminal. In some embodiments, there are at least two rear cameras, each of which is one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera. The main camera and the depth of field camera are combined to realize a background blur function, and the main camera and the wide-angle camera are combined to realize a panoramic shooting function, a VR (Virtual Reality) shooting function, and other fusion functions. In some embodiments, the camera component 1406 further includes a flash. The flash is a single color temperature flash or a dual color temperature flash. The dual color temperature flash refers to a combination of a warm light flash and a cold light flash, and can be used for light compensation at different color temperatures.
[0139] The audio circuit 1407 includes a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 1401 for processing, or to the radio frequency circuit 1404 for voice communication. For stereo collection or noise reduction, the microphones may be multiple, each of which is provided at different locations of the terminal 1400. The microphone may further be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1401 or the radio frequency circuit 1404 into an acoustic wave. Preferably, the speaker is a conventional thin-film speaker or a piezoelectric ceramic speaker. If the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into an audible sound wave for humans, but also convert the electrical signal into an inaudible sound wave for distance measurement, etc. In some embodiments, the audio circuit 1407 further includes a headphone jack.
[0140] The positioning component 1408 is used to determine the current geographical position of the terminal 1400 in order to realize navigation or LBS (Location Based Service). The positioning component 1408 is a positioning component based on the US Global Positioning System (GPS), the Chinese Beidou system, the Russian Greinauth system or the European Union Galileo system.
[0141] The power source 1409 is used to power each component in the terminal. Preferably, the power source 1409 may be an AC current, a DC current, a primary battery, or a rechargeable battery. If the power source 1409 includes a rechargeable battery, the rechargeable battery may support a wired or wireless rechargeable battery. The rechargeable battery may also be used to support fast charging technology.
[0142] In some embodiments, the terminal further comprises one or more sensors 1410, including, but not limited to, an acceleration sensor 1411, a gyro sensor 1412, a pressure sensor 1413, a fingerprint sensor 1414, an optical sensor 1415, and a proximity sensor 1416.
[0143] The acceleration sensor 1411 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established in the terminal. The gyro sensor 1412 can detect the body orientation and rotation angle of the terminal. The pressure sensor 1413 can be provided on the side frame of the terminal and / or on the lower layer of the touch display 1405. The fingerprint sensor 1414 is used to capture a user's fingerprint. The optical sensor 1415 is used to collect ambient light intensity. The proximity sensor 1416 is also called a distance sensor and is illustratively provided on the front panel of the terminal. The proximity sensor 1416 is used to collect the distance between the user and the front of the terminal.
[0144] Those skilled in the art will appreciate that the structure shown in FIG. 14 is not intended to be limiting of the terminal, and that the terminal may include more or fewer components than shown, combine some components, or use different component arrangements.
[0145] In an exemplary embodiment, a computing device is further provided, comprising a processor and a memory having stored therein at least one program code, the at least one program code being loaded and executed by the one or more processors to implement any one of the information processing methods described above.
[0146] In an exemplary embodiment, a non-transitory computer-readable storage medium is further provided that stores at least one program code that is loaded and executed by a processor of a computing device to realize any one of the information processing methods described above.
[0147] Preferably, the above-mentioned non-transitory computer-readable storage medium may be a read-only memory (ROM: Read-Only Memory), a random access memory (RAM: Random Access Memory), a read-only optical disk (CD-ROM: Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0148] In an exemplary embodiment, there is further provided a computer program product storing at least one program code for being loaded and executed by a processor of a computing device to implement any one of the information processing methods described above.
[0149] It should be understood that "plurality" as referred to herein means two or more. "And / or" describes a relation between related objects and indicates the existence of three types of relations, for example, A and / or B, where A exists alone, A and B exist together, and B exists alone. The character " / " generally indicates an "or" relation between the related objects before and after.
[0150] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish between similar objects and are not necessarily used to describe a particular order or sequence. It should also be understood that the data used in this manner are interchangeable under appropriate circumstances, such that the embodiments of this application described herein can be practiced in an order other than that shown or described herein. Furthermore, the embodiments described in the above exemplary examples do not represent all implementations consistent with this application. On the contrary, they are merely examples of apparatus and methods consistent with certain aspects of this application, as detailed in the appended claims.
[0151] The above are only illustrative examples of the present application, and do not limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application should be included within the protection scope of the present application. [Explanation of symbols]
[0152] 11 Terminal 12 Server 31 Shared Control 51 Server 52 Gateway 53 Terminals 71 Confirmation Box 72 Selection Box 73 Shared Data 901 Acquisition Module 902 Transmitting Module 903 Receiver Module 904 Shared Module 905 Display Module 1101 Receiver module 1102 Generation Module 1103 Analysis Module 1104 Transmitting module 1105 Verification Module 1106 Blocking Processing Module 1107 Execution Module 1301 Processor 1302 Memory 1400 terminals 1401 Processor 1402 Memory 1403 Peripheral Device Interface 1404 Radio Frequency Circuits 1405 Display 1406 Camera Component 1407 Audio Circuit 1408 Components 1409 Power supply 1410 Sensor 1411 Acceleration Sensor 1412 Gyro sensor 1413 Pressure Sensor 1414 Fingerprint sensor 1415 Optical Sensor 1416 Proximity Sensor
Claims
1. An information processing method executed by a terminal, comprising: According to a trigger command of a cloud game login portal, log in to the cloud game installed on the server, and obtain an operation command during the cloud game process; The server: generating operation information based on the operation command; verifying, by an operating system of the server, whether the operation information is of a sharing type for a user of the terminal to share information with others; determining that the operation information is a shared type of information in response to the shared type verification for the operation information being successful; In response to the operation information being information of the shared type, extracting shared data from intention information included in the operation information by the operating system, thereby generating shared information including the shared data; The shared information is transmitted to the terminal. transmitting the operation command to the server on which the cloud game is installed so that the above-mentioned operation command is executed, wherein the shared information includes information about a target social application that is set based on a type of the cloud game; receiving sharing information including the shared data sent from the server, and sharing the shared data to the target social application; An information processing method comprising:
2. The step of sharing the shared data to a target social application includes: positioning a display page of the target social application on a first interaction page; sharing the shared data to a second interactive page of the target social application according to a confirmation instruction in the first interactive page, the second interactive page being an interactive page matching the confirmation information carried in the confirmation instruction; The information processing method according to claim 1 , comprising:
3. After the shared data is shared to the second interaction page of the target social application, the information processing method further comprises: displaying a selection box, the selection box including a first option and a second option; in response to a trigger command for the first option, returning to a game page corresponding to the first option; displaying a target interaction page of the target social application in response to a trigger instruction of the second option; The information processing method according to claim 2 , further comprising:
4. The step of sharing the shared data to a target social application includes: generating call information based on the shared information, the call information including the shared data; Launching a target social application corresponding to the invocation information through a launch function in a management component of an operating system; sharing shared data in the calling information to the target social application; The information processing method according to claim 1 , comprising:
5. receiving a processing result transmitted from the server, the processing result being a result obtained by the server executing a processing service corresponding to the operation information in response to the operation information not being information of a shared type; displaying a game page corresponding to the processing result; The information processing method according to any one of claims 1 to 4, further comprising:
6. Logging in to the cloud game installed on the server according to a trigger command of the cloud game login portal, Displaying a cloud game login page according to a trigger command of the cloud game login portal; obtaining login information at the cloud gaming login page and sending the login information to the server for verification; In response to a response of passing the verification from the server, logging in to a cloud game installed on the server; The information processing method according to any one of claims 1 to 4, comprising:
7. An information processing method executed by a server, comprising: receiving an operation command during a cloud game transmitted from the terminal; generating operation information based on the operation command; verifying, by an operating system of the server, whether the operation information is of a sharing type for a user of the terminal to share information with others; determining that the operation information is a shared type of information in response to the shared type verification for the operation information being successful; In response to the operation information being information of the shared type, extracting shared data from intention information included in the operation information by the operating system, thereby generating shared information including the shared data; The shared information includes information about a target social application that is set based on a type of the cloud game; Sending the sharing information to the terminal, so that the terminal shares the sharing data to the target social application; An information processing method comprising:
8. The cloud game has a service component and an interception component integrated therein. In response to the operation information being a sharing type of information, before analyzing the shared data from the operation information, the information processing method further comprises: interrupting a shared interface in the service component by the interruption component; determining, in response to blocking the operation information at the sharing interface, that the operation information is a sharing type of information; The information processing method according to claim 7 , comprising:
9. The step of verifying a sharing type of the operation information by the operating system includes: issuing a processing request for the operation information by a first function in a first component of the operating system, the processing request carrying the operation information; performing, by a second function in a second component of the operating system, a sharing type verification on the operation information carried in the processing request; The information processing method according to claim 7 , comprising:
10. in response to the operation information not being information of a shared type, executing a processing service corresponding to the operation information to obtain a processing result; transmitting the processing result to the terminal; The information processing method according to any one of claims 7 to 9, further comprising:
11. An information processing system, A terminal, According to the trigger command of the cloud game login portal, log in to the cloud game installed on the server; Obtaining operation instructions during the cloud gaming process; Sending the operation command to a server on which the cloud game is installed A terminal configured to A server, Receiving an operation command during a cloud game transmitted from the terminal; generating operation information based on the operation command; verifying, by an operating system of the server, whether the operation information is of a sharing type for a user of the terminal to share information with others; determining that the operation information is a shared type of information in response to a shared type verification for the operation information being successful; In response to the operation information being information of the shared type, Extracting shared data from intention information included in the operation information by the operating system to generate shared information including the shared data, the shared information including information about a target social application set based on a type of the cloud game; and transmitting the shared information to the terminal; and a server configured to: The terminal is further configured to receive sharing information including the shared data transmitted from the server, and share the shared data to the target social application.
12. An information processing device, An acquisition module configured to log in to the cloud game installed on the server according to a trigger command of the cloud game login portal, and acquire operation commands during the cloud game process; A transmission module, by the server, generating operation information based on the operation command; verifying, by an operating system of the server, whether the operation information is of a sharing type for a user of the information processing device to share information with another person; In response to the verification of the sharing type for the operation information being successful, determining that the operation information is a sharing type, the sharing information including information about a target social application that is set based on a type of the cloud game; and In response to the operation information being information of the shared type, extracting shared data from intention information included in the operation information by the operating system, thereby generating shared information including the shared data; The shared information is transmitted to the information processing device. A transmission module configured to transmit the operation instruction to the server on which the cloud game is installed so that the above-mentioned operation instructions are executed; a receiving module configured to receive shared information including the shared data transmitted from the server; a sharing module configured to share the shared data to the target social application; An information processing device comprising:
13. An information processing device, A receiving module configured to receive an operation command in a cloud game process sent from the terminal; A generating module configured to generate operation information based on the operation command; A validation module, verifying, by an operating system of the information processing device, whether the operation information is of a sharing type for a user of the terminal to share information with another person; In response to the sharing type verification for the operation information being successful, determining that the operation information is sharing type information, the sharing type information including information about a target social application and sharing data; a verification module configured to: an analysis module configured, in response to the operation information being the sharing type information, to analyze the shared data from intention information included in the operation information by the operating system; A sending module configured to send sharing information including the shared data to the terminal, so that the terminal shares the shared data to the target social application; Equipped with The information processing apparatus, wherein the generation module is further configured to generate the shared information.
14. A computer device comprising: a memory storing at least one program code; and a processor for loading and executing the at least one program code so as to realize an information processing method according to any one of claims 1 to 6.
15. A computer device comprising: a memory storing at least one program code; and a processor configured to load and execute the at least one program code so as to realize an information processing method according to any one of claims 7 to 10.
16. A computer program causing a computer to execute the information processing method according to any one of claims 1 to 6.
17. A computer program causing a computer to execute the information processing method according to any one of claims 7 to 10.
Citation Information
Patent Citations
Automatic generation of suggested mini-games for cloud-gaming based on recorded gameplay
JP2014121610A
Systems and methods for tagging content of shared cloud executed mini-games and tag sharing controls
JP2014131736A
Game system, guide method, and program
JP2018167030A
Distribution server, distribution system, distribution method and program
JP2020005244A
