WO2021208599A1 - 信息处理方法、系统、装置、设备及存储介质 - Google Patents

信息处理方法、系统、装置、设备及存储介质 Download PDF

Info

Publication number
WO2021208599A1
WO2021208599A1 PCT/CN2021/077543 CN2021077543W WO2021208599A1 WO 2021208599 A1 WO2021208599 A1 WO 2021208599A1 CN 2021077543 W CN2021077543 W CN 2021077543W WO 2021208599 A1 WO2021208599 A1 WO 2021208599A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
sharing
terminal
server
data
Prior art date
Application number
PCT/CN2021/077543
Other languages
English (en)
French (fr)
Inventor
刘海洋
许敏华
刘清文
周江
龚志鹏
吴家平
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to EP21788658.9A priority Critical patent/EP4029582A4/en
Priority to KR1020227013259A priority patent/KR20220065856A/ko
Priority to JP2022533194A priority patent/JP2023504668A/ja
Publication of WO2021208599A1 publication Critical patent/WO2021208599A1/zh
Priority to US17/727,427 priority patent/US20220241686A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/355Performing operations on behalf of clients with restricted processing capabilities, e.g. servers transform changing game scene into an encoded video stream for transmitting to a mobile phone or a thin client
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/847Cooperative playing, e.g. requiring coordinated actions from several players to achieve a common goal
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/87Communicating with other players during game play, e.g. by e-mail or chat
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • A63F2300/572Communication between players during game play of non game information, e.g. e-mail, chat, file transfer, streaming of audio and streaming of video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Definitions

  • the embodiments of the present application relate to the field of computer technology, and in particular to an information processing method, system, device, device, and storage medium.
  • Cloud games can also be called game on demand, which is an online game technology based on cloud computing technology.
  • Cloud gaming technology enables terminal devices with relatively limited graphics processing and data computing capabilities to run high-quality games.
  • the game does not run on the player's terminal, but on the server, and the server renders the game scene into an audio and video stream, which is transmitted to the player's terminal via the network.
  • the player's terminal does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain player input commands and send them to the server.
  • the server In addition to installing the cloud game, the server also installs social applications.
  • the operating information is shared information
  • the shared data can only be shared to the social applications running on the server, and cannot be shared to the social applications actually used by the players. In this way, it is difficult to achieve the social applications expected by the players. As a result, the spread of cloud games is low, and the effect of information processing is poor.
  • the embodiments of the present application provide an information processing method, system, device, equipment, and storage medium, which can be used to increase the spread of cloud games.
  • the technical solution is as follows:
  • an embodiment of the present application provides an information processing method, the method is applied to a terminal, and the method includes:
  • the operation instruction is sent to the server where the cloud game is installed, so that the server generates operation information based on the operation instruction; in response to the operation information being shared type information, parse out from the operation information Sharing data, generating sharing information including the sharing data, and sending the sharing information including the sharing data to the terminal;
  • An information processing method is also provided, the method is applied to a server, and the method includes:
  • the operation information being a sharing type information, parsing out sharing data from the operation information, and generating sharing information including the sharing data;
  • the sharing information including the sharing data is sent to the terminal, so that the terminal can share the sharing data to a target social application.
  • an information processing system includes: a terminal and a server;
  • the terminal is configured to log in the cloud game installed in the server based on the trigger instruction of the cloud game login entry, and obtain the operation instruction during the cloud game; send the operation instruction to the server where the cloud game is installed ;
  • the server is configured to receive operation instructions in the cloud game process sent by the terminal; generate operation information based on the operation instructions; respond to the operation information as sharing type information, parse out the operation information Sharing data, generating sharing information including the sharing data; sending the sharing information including the sharing data to the terminal;
  • the terminal is also used for receiving the sharing information including the sharing data sent by the server, and sharing the sharing data to a target social application.
  • an information processing device which includes:
  • the acquisition module is used to log in the cloud game installed in the server based on the trigger instruction of the cloud game login entrance, and obtain the operation instruction during the cloud game;
  • the sending module is configured to send the operation instruction to the server where the cloud game is installed, so that the server generates operation information based on the operation instruction; in response to the operation information being shared type information, from the Parse out the shared data from the operation information, generate the shared information including the shared data, and send the shared information including the shared data to the terminal;
  • a receiving module configured to receive the sharing information including the sharing data sent by the server
  • the sharing module is used to share the shared data to the target social application.
  • An information processing device which includes:
  • the receiving module is used to receive operation instructions in the cloud game process sent by the terminal;
  • a generating module configured to generate operation information based on the operation instruction
  • Parsing module configured to parse the shared data from the operation information in response to the operation information being the sharing type information
  • the generating module is also used to generate sharing information including the sharing data
  • the sending module is configured to send the sharing information including the sharing data to the terminal, so that the terminal can share the sharing data to a target social application.
  • a computer device in another aspect, includes a processor and a memory, and at least one piece of program code is stored in the memory, and the at least one piece of program code is loaded and executed by the processor to realize the foregoing Any of the described information processing methods.
  • a non-transitory computer-readable storage medium stores at least one piece of program code, and the at least one piece of program code is loaded and executed by a processor to Realize any of the above-mentioned information processing methods.
  • a computer program product stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement any one of the above-mentioned information processing methods. .
  • the server parses out the sharing data from the operation information, and then sends the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application.
  • a process of judging whether the operating information is shared type information is added to the server.
  • the server sends the shared data parsed from the shared type operating information to the terminal, so that the terminal can share the shared data to the terminal Social application.
  • This process can realize the sharing of the shared data in the cloud game to the local social applications of the terminal, improve the scalability of the cloud game, and have a better information processing effect, which is conducive to improving the social nature of the cloud game, and the spread of the cloud game is better. It can increase the player's participation in cloud games, thereby increasing the interaction rate of cloud games.
  • FIG. 1 is a schematic diagram of an implementation environment of an information processing method provided by an embodiment of the present application
  • Fig. 2 is a flowchart of an information processing method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a game page of a cloud game provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a process of processing operation information by a server according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a process in which a server sends shared information including shared data to a terminal according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of another server processing operation information process provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a page in a process of sharing shared data to a target social application program by a terminal according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an information processing process provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an information processing device provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of another information processing device provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of another information processing device provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of another information processing device provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • Cloud computing It is a computing model. Cloud computing distributes computing tasks on a resource pool composed of a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed.
  • the network that provides resources is called the “cloud.”
  • the resources in the "cloud” can be infinitely expanded, and can be obtained at any time, used on demand, expanded at any time, and paid for.
  • cloud computing has developed rapidly. Different from the previous parallel distributed computing, the emergence of cloud computing will theoretically promote revolutionary changes in the entire Internet model and enterprise management model.
  • Cloud games also known as game on-demand, is an online game technology based on cloud computing technology.
  • Cloud gaming technology enables terminal devices with relatively limited graphics processing and data computing capabilities to run high-quality games.
  • the game does not run on the player's terminal, but runs on a cloud server, and the cloud server renders the game scene into a video and audio stream, which is transmitted to the player's terminal through the network.
  • the player's terminal does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain player input commands and send them to the server in the cloud.
  • MSDK Mobile Software Development Kit, mobile software development kit: It is provided for independent research and development and third-party mobile game development teams, and aims to help mobile game application developers quickly access the designated platform and launch the public component and service library for online operation .
  • MSDK is directly connected to the major platforms of game applications, so that the game applications can easily enjoy the massive data of the major platforms.
  • MSDK provides many basic services for mobile game applications, including: login, friend relationship chain, sharing, point system and activity center services.
  • Intent (intent) information mainly used to solve the communication between the various components of the Android (Android) system.
  • the intent information is responsible for describing the action of an operation in the application, the data involved in the action, and the additional data.
  • the Android system is responsible for finding the corresponding component based on the description of the intent information, passing the intent information to the called component, and completing the component transfer. Therefore, the Intent information acts as a media intermediary, specifically providing information related to the mutual invocation of components, so as to realize the decoupling between the caller and the callee.
  • Activity (activity) component one of the four major components of the Android system (Activity, Service (service), Content Provider (content provider), Broadcast Receiver (broadcast receiver)), many specific needs in the Android development process are required Perform judgment and operation execution according to the different life cycles of Activity components.
  • the Activity component is an application component. The user can interact with the interface provided by the Activity component to perform operations such as making a call, taking a photo, sending an email, or viewing a map.
  • an Activity component is a separate interface, on which some controls can be displayed, and it can also monitor and process user events and respond to user events. Communication between Activity components through Intent information.
  • AMS Activity Manager Service, Activity Management Service: The server of the Activity component management in the Android system, used to manage various behaviors of the Activity component, for example, controlling the life cycle of the Activity component, dispatching message events, and low memory Management etc.
  • AMS implements the IBinder (object) interface, which can be used for inter-process communication.
  • FIG. 1 shows a schematic diagram of an implementation environment of the information processing method provided by an embodiment of the present application.
  • the implementation environment includes: a terminal 11 and a server 12.
  • the terminal 11 is used to access 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 during the cloud game, and then send the operation instruction to the server 12.
  • the server 12 is installed with a cloud game, and the server 12 can generate operation information according to the operation instruction sent by the terminal 11.
  • the server 12 sends the sharing information including the sharing data to the terminal 11.
  • the terminal 11 shares the shared data to a local social application program.
  • the terminal 11 is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc., but it is not limited to this.
  • the server 12 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware Cloud servers for basic cloud computing services such as 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 through wired or wireless communication, which is not limited in this application.
  • terminal 11 and server 12 are only examples, and other existing or future terminals or servers that are applicable to this application should also be included in the scope of protection of this application, and are used here as The citation method is included here.
  • an embodiment of the present application provides an information processing method, taking the method applied to the interaction process between the terminal 11 and the server 12 as an example.
  • the method provided by the embodiment of the present application includes the following steps 201 to 207:
  • step 201 the terminal logs in the cloud game installed in the server based on the trigger instruction of the cloud game login entry, and obtains the operation instruction in the cloud game process.
  • the terminal is used to access cloud games, that is, players can directly access cloud games installed in the server based on the terminal.
  • a game application for accessing cloud games is installed in the terminal, and the player can access the cloud game in the game application.
  • cloud games are not installed in the terminal, but in the server.
  • the terminal can provide a cloud game login entrance, and the player can access the cloud game by triggering the cloud game login entrance.
  • the terminal obtains the trigger instruction of the cloud game login portal, and then can log in to the cloud game installed in the server based on the trigger instruction of the cloud game login portal.
  • the terminal based on the trigger instruction of the cloud game login portal the process of logging in to the cloud game installed in the server is: the terminal displays the cloud game login page based on the trigger instruction of the cloud game login portal; in the cloud game The login page obtains the login information, and sends the login information to the server for verification; in response to the server returning a response that the verification is passed, the terminal logs in to the cloud game installed in the server.
  • a login information input box is displayed on the cloud game login page, and the player can enter the login information in the login information input box, so that the terminal can obtain the login information on the cloud game login page.
  • the login information input box displayed on the cloud game login page includes a login account input box and a login password input box.
  • the terminal After logging in to the cloud game, the terminal can display the game page of the cloud game for players to experience the cloud game on the terminal.
  • the triggerable control refers to a triggerable button, or refers to a triggerable icon.
  • Different triggerable controls may correspond to different types of trigger operations.
  • This embodiment of the application does not limit the types of trigger operations that players can generate on the game page of the cloud game. For example, the player can use the game page of the cloud game.
  • the generated trigger operations include, but are not limited to, sharing operations, confirmation operations, launch skill operations, etc.
  • the trigger operation generated by the player on the game page of the cloud game is the sharing operation.
  • the operation instruction during the cloud game acquired by the terminal on the game page is actually a sharing instruction.
  • the triggering method of the sharing operation refers to clicking a sharing control (a sharing button or a sharing icon, etc.).
  • the types of sharing controls include sharing to friends in the first social application, sharing to the interactive community in the first social application, sharing to friends in the second social application, and sharing to the second social application. At least one of the interactive communities in.
  • the first social application and the second social application are different social applications.
  • Social applications refer to applications that allow different objects to socialize through chat, voice, sharing pictures, and sharing interactive information.
  • the type of sharing control includes sharing to friends in the first social application
  • the game page of the cloud game is shown in FIG. 3, and the sharing control 31 is displayed in FIG. 3.
  • the sharing control 31 is displayed in FIG. 3.
  • the terminal The obtained operation instruction is actually an operation instruction shared to a friend in the first social application program.
  • the timing for the player to trigger the sharing operation includes but is not limited to: triggering the sharing operation when a friend needs to be invited to participate in the cloud game; triggering the sharing operation when the game result of the cloud game needs to be shared.
  • the types of triggerable sharing controls corresponding to different occasions may be the same or different, which is not limited in the embodiment of the present application.
  • the sharing purpose of the sharing operation is different.
  • the sharing purpose of the sharing operation is to share the invitation link; for games that need to share the cloud game
  • the sharing operation is triggered when the result is the result, and the purpose of the sharing operation is to share a picture containing the game result.
  • the operation instruction in the cloud game process acquired by the terminal carries information indicating the sharing goal, for example, when the player clicks to share to the first social application
  • the sharing target is the friend in the first social application
  • the sharing target is Interactive community in the first social application.
  • the terminal cannot recognize which type of operation instruction the acquired operation instruction is. No matter what type of operation instruction is acquired by the terminal, it sends the operation instruction to the server, and the server performs further processing on the operation instruction.
  • step 202 the terminal sends an operation instruction to the server where the cloud game is installed.
  • the terminal After obtaining the operation instruction in the cloud game process, the terminal sends the operation instruction to the server where the cloud game is installed, so that the server can process the operation instruction.
  • the operation instruction during the cloud game may be a sharing instruction.
  • the operation instruction during the cloud game may also be a confirmation instruction, a launch skill instruction, and so on.
  • the manner in which the terminal sends the operation instruction to the server on which the cloud game is installed includes but is not limited to the following two:
  • Method 1 The terminal directly sends the operation instruction to the server where the cloud game is installed.
  • a long connection can be directly established between the terminal and the server.
  • the way of establishing the long connection is to establish a long connection based on Websocket (network socket).
  • Websocket network socket
  • the terminal and the server only need to do a handshake action.
  • the terminal and the server can push information to each other at any time.
  • the header information exchanged between the server and the terminal is very small, which is conducive to further improving the efficiency of information transmission.
  • Method 2 The terminal sends the operation instruction to the gateway, and the operation instruction is sent to the server through the gateway.
  • a network connection is established between the terminal and the server through the gateway, that is, the transmission information between the terminal and the server needs to be transferred by the gateway.
  • the gateway can perform security verification on the transmitted information, thereby improving the security and reliability of information transmission between the terminal and the server.
  • a long connection is established between the terminal and the server through a gateway.
  • the long connection is a long connection established based on a Websocket (network socket).
  • the terminal when sending an operation instruction, the terminal needs to encapsulate the operation instruction into an information format supported by the transmission process to facilitate the effectiveness of information transmission.
  • step 203 the server receives an operation instruction in the cloud game process sent by the terminal.
  • the server is installed with a cloud game. After the terminal sends the operation instruction in the cloud game process to the server, the server receives the operation instruction in the cloud game process sent by the terminal.
  • the way in which the server receives the operation instruction in the cloud game process sent by the terminal includes the following two:
  • Manner 1 The server receives the operation instruction in the cloud game process directly sent by the terminal.
  • This method 1 occurs when the terminal directly sends the operation instruction to the server, and a network connection is directly established between the terminal and the server.
  • Manner 2 The server receives the operation instruction in the cloud game process sent by the terminal through the gateway.
  • This method 2 occurs when the terminal sends the operation instruction to the gateway, and the operation instruction is sent to the server through the gateway, and a network connection is established between the terminal and the server through the gateway.
  • step 204 the server generates operation information based on the operation instruction.
  • the server After receiving the operation instruction in the cloud game process sent by the terminal, the server generates operation information based on the operation instruction.
  • the information format of the operation information is an information format supported by the operating system of the server (such as ios and Android), so that the operating system of the server can process the operating information.
  • the cloud game is installed under the operating system of the server.
  • the operating system of the server is an Android system as an example for description.
  • the operating system of the terminal used to access the cloud game is consistent with the operating system of the server to ensure that the function of the cloud game can be implemented normally on the terminal and the game page can be displayed normally on the terminal. That is to say, when the operating system of the terminal used to access the cloud game is the Android system, then the operating system of the server is also the Android system.
  • the information format supported by the operating system of the server refers to the information format that can be identified between various components in the operating system of the server.
  • the supported information format is the Intent information format.
  • the server generates the operation information based on the operation instruction: the server fills in the data related to the operation instruction according to the Intent information format to obtain the operation information.
  • Different operation instructions correspond to different operation information, but the information formats are all Intent information formats.
  • each part of the information that should be included in the generated operation information can be preset in combination with the characteristics of the cloud game, so as to facilitate the subsequent identification of the operation information. type.
  • the operation information in the Intent information format includes two parts, the operation target and the additional data. In different operation information corresponding to different operation instructions, the specific contents of at least a part of the two parts of the operation target and the additional data are different.
  • the operation target included in the operation information refers to a sharing target
  • the sharing target is used to indicate a social application to be shared and an interactive page to be located in the social application to be shared.
  • the additional data included in the operation information refers to the shared data.
  • the format of the shared data is set based on experience or flexibly adjusted according to the application scenario. This embodiment of the application does not limit this.
  • the shared data includes topics, detailed data, and information in the description. At least one aspect of information.
  • the shared data is different under different sharing purposes.
  • the detailed data in the sharing data refers to the invitation link
  • the detailed data in the sharing data refers to encoding the picture containing the game result After the data.
  • the sharing data is as follows:
  • the format of the Intent information is a Key-Value (key-value) pair format.
  • the identification information of the operation information is used as the Key, and the specific content of the operation information is used as the Value.
  • the query speed is fast, the amount of stored data is large, and the high concurrency is supported.
  • the operation information corresponding to different operation instructions may have different ways of determining the Key-Value pair.
  • the operation instruction is a sharing instruction
  • the Key-Value is determined according to the sharing interface opened by the social application program to be shared.
  • step 205 in response to the operation information being the sharing type information, the server parses out the sharing data from the operation information, and generates the sharing information including the sharing data.
  • the server After generating the operation information, the server determines whether the operation information is sharing type information. When the operation information is sharing type information, the server sends the sharing information including the sharing data to the terminal according to step 205 and subsequent step 206 to achieve Share the shared data of cloud games to the social applications of the terminal.
  • the server determines whether the operation information is a sharing type of information, including but not limited to the following two:
  • Method 1 The server uses the operating system to verify the sharing type of the operation information, and judges whether the operation information is the sharing type information according to the result of the verification.
  • the information format of the operating 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 operating information to verify whether the type of the operating information is a sharing type.
  • the cloud game is integrated with a service component. Before the server uses the operating system to verify the type of operation information sharing, 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.
  • the service component is MSDK.
  • the service component communicates with the operating system through an interface, and different interfaces are used to transmit different types of information.
  • the sharing interface in the service component is used to send the sharing type information to the operating system.
  • the process in which the server uses the operating system to verify the sharing type of the operating information refers to the process in which the server uses the operating system to identify whether the operating information is of the shared type information.
  • the operation information includes the operation target, and the process of using the operating system to verify the sharing type of the operation information is: using the operating system to identify whether the operation target in the operation information is a sharing target.
  • the operation target in the operation information is a sharing target, it means that the verification of the sharing type of the operation information is passed; when the operation target of the operation information is a non-sharing target, it means that the verification of the sharing type of the operation information fails.
  • the process of the server using the operating system to verify the sharing type of operating information includes the following two steps:
  • Step 1 Use the first function in the first component of the operating system to initiate a processing request for the operation information, and the processing request carries the operation information.
  • the first component of the operating system refers to the Activity component of the Android system
  • the first function in the first component refers to the startActivityForResult (start activity return result) function.
  • the process of initiating a processing request for operating information is: using the operating system to fill the operating information into the first function in the first component , Obtain the filled first function, use the operating system to initiate a filled first function request, and use the filled first function request as a processing request for the operation information.
  • the processing request is used for further processing of the operation information by other components of the operating system.
  • the processing request carries operation information.
  • Step 2 Use the second function in the second component of the operating system to verify the sharing type of the operation information carried in the processing request.
  • the second component of the operating system refers to the Instrumentation (detection) component of the Android system
  • the second function in the second component refers to the execStartActivity (execution start activity) function
  • the second function in the second component includes verification logic for sharing type verification of the operation information carried in the processing request initiated by the operating system.
  • the verification logic included in the second function is used to verify whether the operation information matches the sharing type information.
  • the second function in the second component of the operating system can be used to verify the sharing type of the operation information carried in the processing request.
  • the second function includes an alternative sharing target
  • the process of using the second function to verify the sharing type of the operation information is: using the second function to perform the operation
  • the operation target in the message is compared with the alternative sharing target.
  • the operation target in the operation information is consistent with any alternative sharing target, it means that the verification of the sharing type of the operation information is passed; when the operation target in the operation information is inconsistent with all the alternative sharing targets, it means that the operation information is inconsistent.
  • the verification of the sharing type failed.
  • the second function includes the specified data format of each part of the information contained in the information of the sharing type.
  • the information of the sharing type includes two parts: sharing target and sharing data.
  • the specified data of the sharing target The format refers to the data including the data used to indicate the social application to be shared and the data used to indicate the interactive page to be located; the prescribed data format of the shared data refers to the data including the data respectively used to indicate the subject, detailed data and description information.
  • the process of using the second function to verify the sharing type of operation information is: using the second function to combine the data format of the information contained in the operation information with the specified data of each part of the information contained in the sharing type information The format is compared.
  • the information contained in the operation information includes information in the same data format as the specified data format of each part of the information contained in the sharing type information, it means that the verification of the sharing type of the operation information has passed; when the operation information includes If the information does not include information in the same data format as the specified data format of each part of the information contained in the sharing type information, it means that the verification of the sharing type of the operation information fails.
  • the results of sharing type verification of operating information using the server's operating system include the following two types:
  • Result 1 The verification of the sharing type of the operation information is passed.
  • the process of judging whether the operation information is the sharing type information according to the verification result is: in response to the verification of the sharing type of the operation information, determining that the operation information is the sharing type information; in response to the verification of the sharing type of the operation information failing, confirm The operation information is non-shared information.
  • the operating system is used to determine whether the operating information is of the sharing type. Since it is performed at the operating system level, it can identify all the operating information of the sharing type, so that the subsequent sharing data can be shared to the terminal.
  • the sharing success rate of social applications is almost 100%.
  • Method 2 The cloud game integrates a service component and an interception component.
  • the server intercepts the sharing interface in the service component through the interception component. According to whether the operation information can be intercepted on the sharing interface, it is judged whether the operation information is of the sharing type.
  • the service component communicates with the operating system.
  • the service component is MSDK.
  • the intercepting component is used to intercept one or a certain type of interface in the service component, so that information cannot be sent to the operating system through the interface or this type of interface.
  • the interception component is used to intercept the sharing interface in the service component, so that the sharing type information cannot be sent to the operating system through the sharing interface.
  • the sharing interface is an interface or a type of interface used in the service component to receive sharing instructions and send sharing type information to the operating system. By intercepting the sharing interface in the service component through the intercepting component, the sharing type information can be intercepted.
  • the way that the intercepting component intercepts the sharing interface refers to replacing some or all of the original program code of the sharing interface with new program code to change the transmission mode of the sharing interface so that the sharing interface no longer uses
  • the sharing type information is sent to the operating system. After intercepting the sharing interface, the sharing type information can be intercepted.
  • the process of judging whether the operation information is the sharing type information according to whether the operation information can be intercepted on the sharing interface is: in response to intercepting the operation information on the sharing interface, determining that the operation information is the sharing type information ; In response to the operation information not being intercepted on the sharing interface, it is determined that the operation information is non-sharing type information.
  • this second method the process of judging whether the operation information is shared type information is performed at the cloud game level without calling the operating system.
  • the judgment rate of this judgment method is faster, and the judgment process is more convenient and quick.
  • the server does not perform a process of determining whether the operation information is shared type information, and directly uses the operating system to process the overall business corresponding to the operation information.
  • the sharing type information can be identified, and the social application program that realizes subsequent sharing of the sharing data in the shared information to the terminal can be performed.
  • Either the above-mentioned method 1 or the above-mentioned method 2 can be used to determine whether the operation information is a sharing type information.
  • the server parses out the sharing data from the operation information, and generates the sharing information including the sharing data.
  • the information format of the shared information is the information format supported by the transmission process.
  • the operation information includes two parts, the operation target and the additional data.
  • 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 interactive page to be located in the social application to be shared.
  • the additional data included in the operation information refers to shared data.
  • the sharing data can be parsed from the operation information.
  • the process of parsing the shared data from the operation information refers to: extracting the Bundle data from the operation information in the Intent information format, and using the extracted Bundle data as the sharing data.
  • the server After parsing out the sharing data in the operation information, the server generates the sharing information including the sharing data, and the information format of the sharing information is the information format supported by the transmission process.
  • the information format of the shared information is as follows:
  • the shared data is included in data (data) in String data used to indicate the specific content of the message.
  • data can also include information used to indicate the sharing target.
  • the information used to indicate the sharing target includes the information of the social application to be shared and the information to be shared.
  • the sharing instruction on which the operation information is generated is a sharing instruction generated by triggering a sharing control shared to a friend in the first social application
  • the social application to be shared is the first social application
  • the to-be-shared social application is the first social application.
  • the interactive page to be located in the shared social application is the friend selection page in the first social application; when the sharing instruction based on the operation information is generated by triggering the sharing control of the interactive community in the first social application
  • the social application to be shared is the first social application
  • the interactive page to be located in the social application to be shared is the interactive information publishing page in the first social application.
  • the server When the operation information is sharing type information, the server generates sharing information including sharing data based on step 205, and then executes step 206.
  • the operation information may also be non-shared information.
  • the server in response to the operation information being non-sharing type information, executes the processing service corresponding to the operation information to obtain the processing result; and sends the processing result to the terminal.
  • the processing service corresponding to the operation information is executed in the server.
  • executing the processing service corresponding to the operation information refers to opening the target game page corresponding to the operation information.
  • the target game page corresponding to the operation information may be different according to different operation instructions on which the operation information is generated.
  • the operation instruction on which the operation information is generated is a confirmation instruction
  • the target game page corresponding to the operation information refers to the game page associated with the confirmation instruction
  • the operation instruction on which the operation information is generated is a firing skill instruction
  • the operation information corresponds to
  • the target game page refers to the game page after launching the skill.
  • the server executes the processing service corresponding to the operation information: the server uses the startup function in the management component of the operating system to execute the processing service corresponding to the operation information.
  • the start function in the management component of the operating system is used to open the target game page corresponding to the operation information.
  • the management component of the operating system refers to the AMS component of the Android system
  • the start function in the management component refers to the startActivity (start activity) function.
  • the processing process of the operation information by the server is shown in FIG. 4.
  • Generate operation information based on the operation instructions sent by the terminal use the startActivityForResult function in the Activity component to initiate a processing request for the operation information; use the execStartActivity function in the Instrumentation component to verify the sharing type of the operation information carried in the processing request; when sharing When the type verification fails, that is, when the operation information is non-sharing type information, use the startActivity function in the AMS component to open the target game page corresponding to the operation information.
  • the processing result can be obtained, and then the server sends the processing result to the terminal.
  • the processing result includes an audio and video stream in which the target game page is encoded.
  • the method for the server to send the processing result to the terminal is to directly send the processing result to the terminal, or to send the processing result to the terminal through a gateway, which is not limited in the embodiment of the present application. It should be noted that, before sending the processing result, the server needs to encapsulate the processing result into an information format supported by the transmission process.
  • the terminal After the server sends the processing result to the terminal, the terminal receives the processing result sent by the server.
  • the processing result is the result obtained after the server executes the processing service corresponding to the operation information in response to the operation information being non-sharing type information.
  • the terminal displays the game page corresponding to the processing result.
  • the processing result includes the information of the game page corresponding to the processing result, and the terminal can display the game page corresponding to the processing result according to the information of the game page included in the processing result.
  • the game page corresponding to the processing result refers to the target game page corresponding to the operation information
  • the information of the game page corresponding to the processing result included in the processing result refers to the sound of the target game page encoded. Video stream.
  • the terminal first decodes the audio and video stream, and then displays the game page corresponding to the processing result.
  • step 206 the server sends the sharing information including the sharing data to the terminal.
  • the server After generating the sharing information including the shared data, the server sends the sharing information including the shared data to the terminal, so that the terminal executes the process of sharing the shared data to the social application.
  • the server sends the sharing information including the shared data to the terminal including the following two ways:
  • Method 1 The server sends the sharing information including the sharing data directly to the terminal.
  • Method 2 The server sends the shared information including the shared data to the gateway, and sends the shared information including the shared data to the terminal through the gateway.
  • FIG. 5 a schematic diagram of the process of the server sending the sharing information including the sharing data to the terminal is shown in FIG. 5.
  • the server 51 sends the sharing information including the shared data to the gateway 52
  • the gateway 52 sends the sharing information including the shared data to the terminal 53.
  • the processing process of the operation information by the server is shown in FIG. 6.
  • the server uses the execStartActivity function in the Instrumentation component of the server's operating system to verify the sharing type of the operation information, and judge whether the operation information is of the sharing type.
  • the server parses out the shared data from the operating information, and sends the shared information including the shared data to the terminal, and the terminal will share the shared data to the social application to complete the sharing process;
  • the server sends the operation information to the AMS component of the operating system, and uses the startActivity function in the AMS component to open the target game page corresponding to the operation information.
  • step 207 the terminal receives the sharing information including the shared data sent by the server, and shares the shared data to the target social application.
  • the terminal After the server sends the sharing information including the shared data to the terminal, the terminal receives the sharing information including the shared data sent by the server.
  • the terminal when the server sends the shared information including shared data directly to the terminal, the terminal receives the shared information including shared data directly sent by the server; when the server sends the shared information including shared data to the gateway, The terminal receives the sharing information including shared data sent by the server through the gateway.
  • the terminal After receiving the sharing information including the shared data, the terminal shares the shared data to the target social application.
  • the target social application is the social application to be shared.
  • the process of the terminal sharing the shared data to the target social application includes the following steps 1 to 3:
  • Step 1 The terminal generates call information based on the shared information, and the call information includes the shared data.
  • the information format of the shared information is the information format supported by the transmission process
  • the information format of the call information is the 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 the components in the operating system of the terminal, it is necessary to generate call information based on the shared information in the information format that is supported by the operating system of the terminal.
  • the operating system of the terminal used to access the cloud game is consistent with the operating system of the server to ensure that the function of the cloud game can be implemented normally on the terminal and the game page can be displayed normally on the terminal.
  • the operating system of the server is the Android system
  • the operating system of the terminal used to access the cloud game is also the Android system.
  • the information format supported by the operating system of the terminal is the Intent information format.
  • the information format of the call information generated by the terminal is the Intent information format.
  • the call information in the Intent information format includes two parts: the call target and the shared data.
  • the sharing data in the calling information can be directly extracted from the sharing information, that is, the sharing data in the sharing information is used as the sharing data in the calling information.
  • the calling target in the calling information is used to identify the social application to be called and the interactive page to be located in the social application.
  • the data of the shared information also includes information used to indicate the sharing target.
  • the terminal can generate a calling target that conforms to the intent information format according to the information used to indicate the sharing target in the data of the shared information. Thus, the terminal completes the process of generating call information based on the shared information.
  • Step 2 Use the start function in the management component of the operating system to start the target social application corresponding to the calling information.
  • the terminal's operating system can determine the call target based on the call information, that is, determine the target to be called. Target social application.
  • the terminal is installed with a game application program for accessing cloud games, and the game application program is integrated with a service component.
  • the service component integrated in the game application of the terminal and the service component integrated in the cloud game of the server are the same service component.
  • the service component is MSDK.
  • the management component of the operating system of the terminal refers to the AMS component of the Android system
  • the start function in the management component refers to the startActivity function.
  • the operating system of the terminal can determine the target social application to be called based on the calling information, the operating system of the terminal can be used to start the target social application to be called.
  • Starting the target social application refers to opening the target social application in the current window.
  • the process of starting the target social application is a process of application jump, and the game application used to access the cloud game jumps to the target social application.
  • the target social application of the terminal is the social application corresponding to the player's personal account, and the friend relationship chain in the target social application is the player's friend relationship chain.
  • Step 3 Share the sharing data in the call information to the target social application.
  • the terminal shares the shared data in the calling information to the target social application, so as to realize the sharing of the shared data in the cloud game to the local social application of the terminal.
  • steps 1 to 3 are an exemplary description of the implementation manner of the terminal sharing the shared data to the target social application program, and the embodiment of the present application is not limited thereto.
  • the terminal can also directly share the shared data in the shared information to the target application.
  • the process of sharing the shared data to the target social application includes the following steps a and b:
  • Step a Position the display page of the target social application to the first interactive page.
  • the calling information includes the target social application to be called and the calling target of the interactive page to be located in the target social application. Therefore, according to the calling target, not only the target social application to be called can be determined, but also the interactive page to be located in the target social application can be determined.
  • the interactive page to be located in the target application is taken as the first interactive page.
  • the terminal After determining the first interaction page, the terminal locates the display page of the target social application to the first interaction page. That is, after the target social application is started, the first interaction page of the target social application is displayed. It should be noted that the first interaction page of the target social application may refer to the friend selection page or the interactive information publishing page. This is related to the type of sharing control triggered when the player generates a sharing instruction. This is not limited.
  • the first interaction page of the target social application refers to the friend selection page; when the player generates a sharing instruction, the type of sharing control triggered is shared to the interactive community in the first social application or shared to the interactive community in the second social application, the target social application’s
  • the first interactive page refers to an interactive information publishing page.
  • the friend selection page is used for players to select friends to share.
  • the friend selection page can display the information of the friends available for selection in the target social application.
  • the available friends refer to the friends who have had conversations with the player recently. Or it refers to all friends who have a friend relationship with the player, which is not limited in the embodiment of the present application.
  • the displayed friend's information includes at least one of the friend's avatar information and nickname information.
  • the interactive information publishing page is used for players to complete and confirm the interactive information for publishing to the interactive community.
  • the interactive information publishing page in addition to displaying the shared data to be published, it also displays an input box for players to fill in the introduction information of the shared data.
  • Step b Based on the confirmation instruction in the first interaction page, share the shared data to the second interaction page of the target social application, the second interaction page being an interaction page matching the confirmation information carried in the confirmation instruction.
  • the player can trigger a confirmation operation on the first interaction page, and then the terminal obtains the confirmation instruction in the first interaction page.
  • the first interaction 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
  • the terminal obtains the confirmation instruction in the first interaction page.
  • the first interactive page is the interactive information publishing page
  • the player can trigger the confirmation operation after filling in the introduction information of the shared data; it is also possible to directly trigger the confirmation operation without filling in the introduction information of the shared data.
  • the terminal obtains the confirmation instruction in the first interactive page.
  • the confirmation instruction carries confirmation information.
  • the terminal After obtaining the confirmation instruction of the first interaction page, the terminal determines the second interaction page that matches the confirmation information carried in the confirmation instruction, and then shares the shared data to the second interaction page of the target social application.
  • the confirmation information carried in the confirmation instruction refers to the information of the friend to be shared
  • the second interaction page that matches the information of the friend to be shared refers to the friend's information to be shared
  • sharing the shared data to the second interactive page refers to sending the shared data to the conversation page of the friend to be shared.
  • the confirmation information carried in the confirmation instruction refers to the interactive information to be published including shared data
  • the second interactive page that matches the interactive information to be published including shared data refers to the interactive community display page
  • Sharing the shared data to the second interactive page refers to publishing the interactive information to be published including the shared data to the interactive community display page.
  • Method 1 Display the second interactive page.
  • the terminal directly displays the second interactive page, and the shared data is displayed on the second interactive page.
  • the second interaction page is a conversation page of a certain friend
  • the conversation page of the friend is directly displayed, and the conversation page displays the sharing data that the friend wants to view
  • the second interaction page is an interactive community display
  • the interactive community display page is directly displayed, and the published interactive information carrying shared data is displayed on the interactive community display page.
  • the terminal after sharing the shared data to the second interactive page, the terminal directly returns to the game page.
  • the game page is a game page that generates operation instructions in the cloud game process. After returning to the game page, the player can continue the cloud game on the game page.
  • Manner 3 Display a selection box, the selection box includes the first option and the second option.
  • the first option is used to indicate to return to the game page corresponding to the first option
  • the second option is used to indicate to stay in the target social application.
  • the terminal displays a selection box for the player to actively select, which is beneficial to improve the interactivity.
  • the player can trigger the first option or the second option.
  • the terminal In response to the trigger instruction of the first option, the terminal returns to the game page corresponding to the first option; in response to the trigger instruction of the second option, the terminal displays the target interaction page of the target social application.
  • the game page corresponding to the first option is set according to experience or flexibly adjusted according to application scenarios, which is not limited in the embodiment of the present application.
  • the game page corresponding to the first option refers to the game page that generates the operation instruction in the cloud game process.
  • the target interaction page is set according to experience or flexibly adjusted according to application scenarios, which is not limited in the embodiment of the present application.
  • the target interaction page refers to the second interaction page, or the target interaction page refers to the home page of the target social application program. It should be noted that after displaying the target interaction page of the target social application, the terminal can further display other interaction pages of the target social application based on the player's trigger operation.
  • FIG. 7 a schematic diagram of the page in the process of the terminal sharing the shared data to the target social application is shown in FIG. 7.
  • the first interactive page is the friend selection page
  • the first interactive page is shown in (1) in Figure 7; when the player selects the friend "Zhang San” in the page shown in (1) in Figure 7,
  • the first interaction page pops up a confirmation box 71 as shown in (2) in Figure 7; when the player triggers the share button in the confirmation box 71, the terminal obtains the confirmation instruction in the first interaction page, and then the terminal shares the shared data to On the conversation page of the friend "Zhang San".
  • a selection box 72 as shown in (3) in Figure 7 pops up on the first interactive page.
  • the first option is the option of "return to the game page”
  • the second option is “stay in "Social Apps” option.
  • the conversation page of the friend "Zhang San” shown in (4) in FIG. 7 can also be directly displayed, and the sharing data 73 is displayed on the conversation page.
  • the information processing process is shown in Figure 8.
  • the server sends operation information to the server's operating system through the MSDK integrated in the cloud game, and uses the execStartActivity function in the Instrumentation component of the server's operating system to share the operating information.
  • Verification When the operation information is sharing information, the server sends the sharing information including the sharing data to the terminal; after the terminal receives the sharing information, it generates the calling information, and then sends the calling information through the MSDK integrated in the game application of the terminal To the operating system of the terminal, use the startActivity function in the AMS component of the operating system of the terminal to start the target social application, and then complete the process of sharing the shared data to the target social application.
  • social applications are also installed in the server.
  • the social applications installed on the server are only used for cloud game login, and special accounts are used. , Not the player’s account.
  • players can only operate social applications installed on their own terminals, and cannot operate social applications on the server.
  • the function of sharing to social applications is either directly disabled because it is technically impossible, making the function unavailable; or it can only be shared to the social application of the server, and cannot be shared to the social network on the player’s terminal. In the application.
  • the server sends the sharing information including the shared data to the terminal, which realizes the sharing of the shared data in the cloud game to the social application program of the terminal, and achieves the sharing of the local game with the traditional terminal to the social application of the terminal. Consistent application experience.
  • the server parses the sharing data from the operation information, and then sends the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application.
  • this information processing process a process of judging whether the operating information is shared type information is added to the server.
  • the server sends the shared data parsed from the shared type operating information to the terminal, so that the terminal can share the shared data to the terminal Social application.
  • This process can realize the sharing of the shared data in the cloud game to the local social applications of the terminal, improve the scalability of the cloud game, and have a better information processing effect, which is conducive to improving the social nature of the cloud game, and the spread of the cloud game is better. It can increase the player's participation in cloud games, thereby increasing the interaction rate of cloud games.
  • the embodiment of the present application provides an information processing system, which includes: a terminal and a server;
  • the terminal is used to log in the cloud game installed in the server based on the trigger instruction of the cloud game login entrance, and obtain the operation instruction during the cloud game; send the operation instruction to the server where the cloud game is installed;
  • the server is used to receive operation instructions in the cloud game process sent by the terminal; generate operation information based on the operation instructions; respond to the operation information as sharing type information, parse out the sharing data from the operation information, and generate sharing information including the sharing data ; Send shared information including shared data to the terminal;
  • the terminal is also used to receive sharing information including shared data sent by the server, and share the shared data to the target social application.
  • the server parses the sharing data from the operation information, and then sends the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application.
  • this information processing process a process of judging whether the operating information is shared type information is added to the server.
  • the server sends the shared data parsed from the shared type operating information to the terminal, so that the terminal can share the shared data to the terminal Social application.
  • This process can realize the sharing of the shared data in the cloud game to the local social applications of the terminal, improve the scalability of the cloud game, and have a better information processing effect, which is conducive to improving the social nature of the cloud game, and the spread of the cloud game is better. It can increase the player's participation in cloud games, thereby increasing the interaction rate of cloud games.
  • an embodiment of the present application provides an information processing device, which is applied to a terminal, and implements the functions performed by the terminal in the information processing method described in FIG. 2 through the following modules shown in FIG. 9.
  • the device includes:
  • the obtaining module 901 is used to log in the cloud game installed in the server based on the trigger instruction of the cloud game login entry, and obtain the operation instruction during the cloud game;
  • the sending module 902 is used to send the operation instruction to the server installed with the cloud game, so that the server generates operation information based on the operation instruction; in response to the operation information being the sharing type information, the sharing data is parsed from the operation information, and the generation includes sharing Data sharing information, sending sharing information including shared data to the terminal;
  • the receiving module 903 is used to receive shared information including shared data sent by the server;
  • the sharing module 904 is used to share the shared data to the target social application.
  • the sharing module 904 is also used to locate the display page of the target social application to the first interactive page; based on the confirmation instruction in the first interactive page, share the shared data to the target social application
  • the second interaction page is an interaction page that matches the confirmation information carried in the confirmation instruction.
  • the device further includes:
  • the display module 905 is configured to display a selection box, the selection box includes a first option and a second option; in response to the trigger instruction of the first option, return to the game page corresponding to the first option; in response to the trigger instruction of the second option, Display the target interaction page of the target social application.
  • the sharing module 904 is also used to generate call information based on the shared information, the call information includes shared data; use the start function in the management component of the operating system to start the target social application corresponding to the call information; Share the sharing data in the call information to the target social application.
  • the receiving module 903 is also configured to receive a processing result sent by the server, and the processing result is the result obtained by the server after the server executes the processing service corresponding to the operation information in response to the operation information being non-shared information;
  • the display module 905 is also used to display the game page corresponding to the processing result.
  • the obtaining module 901 is also used to display the cloud game login page based on the trigger instruction of the cloud game login entry; obtain the login information on the cloud game login page, and send the login information to the server for verification; in response to The server returns a response that the verification is passed, and logs in to the cloud game installed on the server.
  • the server parses the sharing data from the operation information, and then sends the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application.
  • this information processing process a process of judging whether the operating information is shared type information is added to the server.
  • the server sends the shared data parsed from the shared type operating information to the terminal, so that the terminal can share the shared data to the terminal Social application.
  • This process can realize the sharing of the shared data in the cloud game to the local social applications of the terminal, improve the scalability of the cloud game, and have a better information processing effect, which is conducive to improving the social nature of the cloud game, and the spread of the cloud game is better. It can increase the player's participation in cloud games, thereby increasing the interaction rate of cloud games.
  • an embodiment of the present application provides an information processing device, which is applied to a server, and realizes the functions performed by the server in the information processing method described in FIG. 2 through the following modules shown in FIG. 11.
  • the device includes:
  • the receiving module 1101 is used to receive operation instructions in the cloud game process sent by the terminal;
  • the generating module 1102 is used to generate operation information based on the operation instruction
  • the parsing module 1103 is configured to parse the shared data from the operation information in response to the operation information being the sharing type information;
  • the generating module 1102 is also used to generate shared information including shared data
  • the sending module 1104 is configured to send sharing information including shared data to the terminal, so that the terminal can share the shared data to the target social application.
  • the device further includes:
  • the verification module 1105 is used to verify the sharing type of the operation information by using the operating system; in response to the verification of the sharing type of the operation information, it is determined that the operation information is the information of the sharing type.
  • the device further includes:
  • the interception processing module 1106 is used to intercept the sharing interface in the service component through the interception component; in response to intercepting the operation information on the sharing interface, it is determined that the operation information is of the sharing type.
  • the verification module 1105 is also used to use the first function in the first component of the operating system to initiate a processing request for operating information, and the processing request carries the operating information; using the second component of the operating system The second function is to verify the sharing type of the operation information carried in the processing request.
  • the device further includes:
  • the execution module 1107 is configured to execute the processing service corresponding to the operation information in response to the operation information being non-shared type information, and obtain the processing result;
  • the sending module 1104 is also used to send the processing result to the terminal.
  • the server parses the sharing data from the operation information, and then sends the sharing information including the sharing data to the terminal, and the terminal shares the sharing data to the social application.
  • this information processing process a process of judging whether the operating information is shared type information is added to the server.
  • the server sends the shared data parsed from the shared type operating information to the terminal, so that the terminal can share the shared data to the terminal Social application.
  • This process can realize the sharing of the shared data in the cloud game to the local social applications of the terminal, improve the scalability of the cloud game, and have a better information processing effect, which is conducive to improving the social nature of the cloud game, and the spread of the cloud game is better. It can increase the player's participation in cloud games, thereby increasing the interaction rate of cloud games.
  • the device provided in the above embodiment realizes its function, only the division of the above-mentioned functional modules is used as an example.
  • the above-mentioned function can be allocated by different functional modules as required, that is, the equipment
  • the internal structure is divided into different functional modules to complete all or part of the functions described above.
  • the device and method embodiments provided in the above-mentioned embodiments belong to the same conception, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
  • FIG. 13 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • the server may have relatively large differences due to different configurations or performance.
  • the server includes one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, wherein at least one piece of program code is stored in the one or more memories 1302, and the at least one piece of program code is loaded and executed by the one or more processors 1301, so as to implement the various methods described above
  • the information processing method provided by the example can also have components such as a wired or wireless network interface, a keyboard, an input and output interface for input and output, and the server can also include other components for implementing device functions, which will not be repeated here.
  • FIG. 14 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal is: a smart phone, a tablet computer, a notebook computer, or a desktop computer.
  • the terminal may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal includes: a processor 1401 and a memory 1402.
  • the processor 1401 can include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1401 can adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). accomplish.
  • the processor 1401 can also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
  • the processor 1401 is integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen.
  • the processor 1401 further includes an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 1402 can include one or more computer-readable storage media, and, for example, the computer-readable storage media is non-transitory.
  • the memory 1402 can also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1401 to implement the information processing provided by the method embodiments of the present application. method.
  • the terminal may optionally further include: a peripheral device interface 1403 and at least one peripheral device.
  • the processor 1401, the memory 1402, and the peripheral device interface 1403 can be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1403 through a bus, a signal line, or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1404, a touch display screen 1405, a camera component 1406, an audio circuit 1407, a positioning component 1408, and a power supply 1409.
  • the peripheral device 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.
  • the processor 1401, the memory 1402, and the peripheral device interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1401, the memory 1402, and the peripheral device interface 1403 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1404 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1404 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
  • the radio frequency circuit 1404 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 1404 also includes a circuit related to NFC (Near Field Communication), which is not limited in this application.
  • the display screen 1405 is used to display UI (User Interface).
  • the UI includes graphics, text, icons, videos, and any combination thereof.
  • the display screen 1405 also has the ability to collect touch signals on or above the surface of the display screen 1405.
  • the touch signal can be input to the processor 1401 as a control signal for processing.
  • the display screen 1405 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 1405 is a flexible display screen, which is arranged on the curved surface or the folding surface of the terminal. Even the display screen 1405 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen.
  • the display screen 1405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
  • the camera assembly 1406 is used to capture images or videos.
  • the camera assembly 1406 includes a front camera and a rear camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • the camera assembly 1406 also includes a flash.
  • the flash is a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 1407 includes a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1401 for processing, or input to the radio frequency circuit 1404 to implement voice communication.
  • the microphone can also 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 sound waves.
  • the speakers are traditional thin-film speakers, or piezoelectric ceramic speakers.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves that are audible to humans, but also convert electrical signals into sound waves that are inaudible to humans for purposes such as distance measurement.
  • the audio circuit 1407 also includes a headphone jack.
  • the positioning component 1408 is used to locate the current geographic location of the terminal to implement navigation or LBS (Location Based Service, location-based service).
  • LBS Location Based Service, location-based service
  • the positioning component 1408 is a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Granus system of Russia, or the Galileo system of the European Union.
  • the power supply 1409 is used to supply power to various components in the terminal.
  • the power source 1409 is alternating current, direct current, disposable batteries or rechargeable batteries.
  • the rechargeable battery can support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal further includes one or more sensors 1410.
  • the one or more sensors 1410 include, but are not limited to: an acceleration sensor 1411, a gyroscope sensor 1412, a pressure sensor 1413, a fingerprint sensor 1414, an optical sensor 1415, and a proximity sensor 1416.
  • the acceleration sensor 1411 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal.
  • the gyroscope sensor 1412 can detect the body direction and rotation angle of the terminal.
  • the pressure sensor 1413 can be arranged on the side frame of the terminal and/or the lower layer of the touch screen 1405.
  • the fingerprint sensor 1414 is used to collect the user's fingerprint.
  • the optical sensor 1415 is used to collect the ambient light intensity.
  • the proximity sensor 1416 also called a distance sensor, is exemplarily 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.
  • FIG. 14 does not constitute a limitation on the terminal, and can include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • a computer device in an exemplary embodiment, includes a processor and a memory, and at least one piece of program code is stored in the memory. The at least one piece of program code is loaded and executed by one or more processors to implement any of the foregoing information processing methods.
  • a non-transitory computer-readable storage medium stores at least one piece of program code, and the at least one piece of program code is loaded by a processor of a computer device. And execute it to implement any of the above-mentioned information processing methods.
  • the aforementioned non-transitory computer-readable storage medium can be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), and a compact disc (Read-Only Memory).
  • ROM read-only memory
  • RAM random access memory
  • CD-ROM compact disc
  • magnetic tapes magnetic tapes
  • floppy disks magnetic tapes
  • optical data storage devices etc.
  • a computer program product stores at least one computer program, and the at least one computer program is loaded and executed by a processor of a computer device to implement any of the foregoing information. Approach.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种信息处理方法、系统、装置、设备及存储介质,包括:终端基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;将操作指令发送至安装有云游戏的服务器;接收服务器发送的包括分享数据的分享信息,将分享数据分享至目标社交应用程序。在信息处理过程中,在服务器中增加判断操作信息是否为分享类型的信息的过程,服务器将从分享类型的操作信息中解析出的分享数据发送至终端,能够实现将云游戏中的分享数据分享至终端本地的社交应用程序。

Description

信息处理方法、系统、装置、设备及存储介质
本申请要求于2020年04月15日提交的申请号为202010296685.4、发明名称为“信息处理方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机技术领域,特别涉及一种信息处理方法、系统、装置、设备及存储介质。
背景技术
云游戏又可称为游戏点播,是一种以云计算技术为基础的在线游戏技术。云游戏技术使图形处理与数据运算能力相对有限的终端设备能够运行高品质游戏。在云游戏场景下,游戏并不在玩家的终端中运行,而是在服务器中运行,并由服务器将游戏场景渲染为音视频流,通过网络传输给玩家的终端。玩家的终端无需拥有强大的图形运算与数据处理能力,仅需拥有基本的流媒体播放能力与获取玩家输入指令并发送给服务器的能力即可。
目前,云游戏的操作信息对应的处理业务全部在服务器中执行,服务器中除了安装云游戏以外,还会安装社交应用程序。当操作信息为分享类型的信息时,仅能够将分享数据分享至服务器中运行的社交应用程序中,不能分享到玩家实际使用的社交应用程序中,在此种方式下,难以达到玩家预期的社交效果,云游戏的传播度较低,信息处理效果较差。
发明内容
本申请实施例提供了一种信息处理方法、系统、装置、设备及存储介质,可用于提高云游戏的传播度。所述技术方案如下:
一方面,本申请实施例提供了一种信息处理方法,所述方法应用于终端,所述方法包括:
基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;
将所述操作指令发送至安装有所述云游戏的服务器,使所述服务器基于所述操作指令, 生成操作信息;响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息,将所述包括所述分享数据的分享信息发送至所述终端;
接收所述服务器发送的所述包括所述分享数据的分享信息,将所述分享数据分享至目标社交应用程序。
还提供了一种信息处理方法,所述方法应用于服务器,所述方法包括:
接收终端发送的云游戏过程中的操作指令;
基于所述操作指令,生成操作信息;
响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息;
将所述包括所述分享数据的分享信息发送至所述终端,使所述终端将所述分享数据分享至目标社交应用程序。
另一方面,提供了一种信息处理系统,所述系统包括:终端和服务器;
所述终端,用于基于云游戏登录入口的触发指令,登录安装在所述服务器中的云游戏,获取云游戏过程中的操作指令;将所述操作指令发送至安装有所述云游戏的服务器;
所述服务器,用于接收所述终端发送的云游戏过程中的操作指令;基于所述操作指令,生成操作信息;响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息;将所述包括所述分享数据的分享信息发送至所述终端;
所述终端,还用于接收所述服务器发送的所述包括所述分享数据的分享信息,将所述分享数据分享至目标社交应用程序。
另一方面,提供了一种信息处理装置,所述装置包括:
获取模块,用于基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;
发送模块,用于将所述操作指令发送至安装有所述云游戏的服务器,使所述服务器基于所述操作指令,生成操作信息;响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息,将所述包括所述分享数据的分享信息发送至终端;
接收模块,用于接收所述服务器发送的所述包括所述分享数据的分享信息;
分享模块,用于将所述分享数据分享至目标社交应用程序。
还提供了一种信息处理装置,所述装置包括:
接收模块,用于接收终端发送的云游戏过程中的操作指令;
生成模块,用于基于所述操作指令,生成操作信息;
解析模块,用于响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据;
所述生成模块,还用于生成包括所述分享数据的分享信息;
发送模块,用于将所述包括所述分享数据的分享信息发送至所述终端,使所述终端将所述分享数据分享至目标社交应用程序。
另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述至少一条程序代码由所述处理器加载并执行,以实现上述任一所述的信息处理方法。
另一方面,还提供了一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行,以实现上述任一所述的信息处理方法。
另一方面,还提供了一种计算机程序产品,所述计算机程序产品中存储有至少一段计算机程序,所述至少一段计算机程序由处理器加载并执行,以实现上述任一所述的信息处理方法。
本申请实施例提供的技术方案至少带来如下有益效果:
当操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,然后将包括分享数据的分享信息发送至终端,终端将分享数据分享至社交应用程序。在此种信息处理过程中,在服务器中增加判断操作信息是否为分享类型的信息的过程,服务器将从分享类型的操作信息中解析出的分享数据发送至终端,使得终端将分享数据分享至终端的社交应用程序。此过程能够实现将云游戏中的分享数据分享至终端本地的社交应用程序,提高云游戏的扩展性,信息处理效果较好,有利于提高云游戏的社交性,云游戏的传播度较好,能够提高玩家对云游戏的参与度,进而提高云游戏的交互率。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还能够根据这些附图获得其他的附图。
图1是本申请实施例提供的一种信息处理方法的实施环境的示意图;
图2是本申请实施例提供的一种信息处理方法的流程图;
图3是本申请实施例提供的一种云游戏的游戏页面的示意图;
图4是本申请实施例提供的一种服务器对操作信息的处理过程的示意图;
图5是本申请实施例提供的一种服务器将包括分享数据的分享信息发送至终端的过程示意图;
图6是本申请实施例提供的另一种服务器对操作信息的处理过程的示意图;
图7是本申请实施例提供的一种终端将分享数据分享至目标社交应用程序的过程中的页面示意图;
图8是本申请实施例提供的一种信息处理过程的示意图;
图9是本申请实施例提供的一种信息处理装置的示意图;
图10是本申请实施例提供的另一种信息处理装置的示意图;
图11是本申请实施例提供的另一种信息处理装置的示意图;
图12是本申请实施例提供的另一种信息处理装置的示意图;
图13是本申请实施例提供的一种服务器的结构示意图;
图14是本申请实施例提供的一种终端的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
首先对本申请涉及到的几个名词进行解释。
云计算:是一种计算模式,云计算将计算任务分布在大量计算机构成的资源池上,使各种应用系统能够根据需要获取计算力、存储空间和信息服务。提供资源的网络被称为“云”。“云”中的资源在使用者看来是能够无限扩展的,并且能够随时获取,按需使用,随时扩展,按使用付费。随着互联网、实时数据流、连接设备多样化的发展,以及搜索服务、社会网络、移动商务和开放协作等需求的推动,云计算迅速发展起来。不同于以往的并行分布式计算,云计算的产生从理念上将推动整个互联网模式、企业管理模式发生革命性的变革。
云游戏:又可称为游戏点播,是一种以云计算技术为基础的在线游戏技术。云游戏技术使图形处理与数据运算能力相对有限的终端设备能运行高品质游戏。在云游戏场景下,游戏并不在玩家的终端中运行,而是在云端的服务器中运行,并由云端的服务器将游戏场景渲染为视频音频流,通过网络传输给玩家的终端。玩家的终端无需拥有强大的图形运算 与数据处理能力,仅需拥有基本的流媒体播放能力与获取玩家输入指令并发送给云端的服务器的能力即可。
MSDK(Mobile Software Development Kit,移动软件开发工具包):是为自主研发及第三方手游开发团队提供的,旨在帮助手游应用开发商快速接入指定平台并上线运营的公共组件和服务库。MSDK直连游戏应用各大平台,使得游戏应用能够方便享用各大平台的海量数据。MSDK为手游应用提供众多基础服务,包括:登录、好友关系链、分享、积分系统与活动中心等服务。
Intent(意图)信息:主要用于解决Android(安卓)系统的各项组件之间的通讯。Intent信息负责对应用中一次操作的动作、动作涉及数据、附加数据进行描述,Android系统则根据此Intent信息的描述,负责找到对应的组件,将Intent信息传递给被调用的组件,并完成组件的调用。因此,Intent信息起着一个媒体中介的作用,专门提供组件互相调用的相关信息,实现调用者与被调用者之间的解耦。
Activity(活动)组件:是Android系统四大组件(Activity、Service(服务)、Content Provider(内容提供者),Broadcast Receiver(广播接收器))之一,在Android开发过程中很多具体的需求都需要根据Activity组件的不同的生命周期去进行判断和操作执行。Activity组件是一个应用程序组件,用户可与Activity组件提供的界面进行交互,以执行拨打电话、拍摄照片、发送电子邮件或查看地图等操作。示例性地,在一个Android应用中,一个Activity组件是一个单独的界面,界面上面能够显示一些控件,也能够监听并处理用户的事件以及对用户的事件做出响应。Activity组件之间通过Intent信息进行通信。
AMS(Activity Manager Service,活动管理服务):Android(安卓)系统中的Activity组件管理的服务端,用于管理Activity组件的各种行为,例如,控制Activity组件的生命周期,派发消息事件,低内存管理等。AMS实现了IBinder(对象)接口,能够用于进程间通信。
随着近年来游戏产业、终端技术和网络带宽的高速发展,在线游戏已经成为人们生活中不可或缺的互联网应用;另外,云计算技术的日趋成熟催生了“瘦终端-云”的服务模式,在这种模式下,用户的终端设备与云端高性能计算资源互联,能够享受到高质量的云服务,将这种模式应用到在线游戏环境滋生了一种新型的云计算服务——云游戏。通过云游戏技术,玩家能够通过任意的终端设备(如个人电脑,平板,手机等)在任意的地点、任意的时间访问游戏,如此,降低了玩家玩游戏的门槛。目前,如何将云游戏中的分享数据分享至玩家的终端本地运行的社交应用程序中,是一个需要解决的问题。
对此,本申请实施例提供了一种信息处理方法,请参考图1,图1示出了本申请实施例提供的信息处理方法的实施环境的示意图。该实施环境包括:终端11和服务器12。
其中,终端11用于访问云游戏,玩家能够基于终端11,直接访问云游戏。终端11能够获取玩家在云游戏过程中的操作指令,然后将操作指令发送至服务器12。服务器12安装有云游戏,服务器12能够根据终端11发送的操作指令,生成操作信息,当确定操作信息为分享类型的信息时,服务器12将包括分享数据的分享信息发送至终端11。终端11将分享数据分享至本地的社交应用程序。
在一种可能实现方式中,终端11是智能手机、平板电脑、笔记本电脑、台式计算机、智能音箱、智能手表等,但并不局限于此。服务器12是独立的物理服务器,或者是多个物理服务器构成的服务器集群或者分布式系统,再或者是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云端服务器。终端11以及服务器12能够通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。
本领域技术人员应能理解上述终端11和服务器12仅为举例,其他现有的或今后可能出现的终端或服务器如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。
基于上述图1所示的实施环境,本申请实施例提供一种信息处理方法,以该方法应用于终端11和服务器12的交互过程为例。如图2所示,本申请实施例提供的方法包括如下步骤201至步骤207:
在步骤201中,终端基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令。
终端用于访问云游戏,也就是说,玩家能够基于终端直接访问安装在服务器中的云游戏。在一种可能实现方式中,终端中安装有用于访问云游戏的游戏应用程序,玩家能够在该游戏应用程序中访问云游戏。需要说明的是,云游戏并不安装在终端中,而是安装在服务器中。终端能够提供云游戏登录入口,玩家能够通过触发该云游戏登录入口访问云游戏。当玩家触发云游戏登录入口时,终端获取云游戏登录入口的触发指令,然后能够基于该云游戏登录入口的触发指令,登录安装在服务器中的云游戏。
在一种可能实现方式中,终端基于该云游戏登录入口的触发指令,登录安装在服务器中的云游戏的过程为:终端基于云游戏登录入口的触发指令,显示云游戏登录页面;在云 游戏登录页面获取登录信息,将登录信息发送至服务器进行验证;响应于服务器返回验证通过的响应,终端登录安装在服务器中的云游戏。云游戏登录页面中显示有登录信息输入框,玩家能够在登录信息输入框中输入登录信息,从而使终端在云游戏登录页面获取登录信息。需要说明的是,本申请实施例对云游戏登录页面中显示的登录信息输入框的类型及数量不加以限定,这与需要登录的云游戏的类型有关。示例性地,云游戏登录页面中显示的登录信息输入框包括登录账号输入框和登录密码输入框。
在登录云游戏后,终端能够显示云游戏的游戏页面,供玩家在终端体验云游戏。玩家在终端体验云游戏的过程中,能够对云游戏的游戏页面中的可触发控件进行触发,然后终端根据玩家的触发操作,获取云游戏过程中的操作指令。本申请实施例对可触发控件的形式不加以限定,示例性地,可触发控件是指可触发按钮,或者是指可触发图标等。不同的可触发控件可能对应不同类型的触发操作,本申请实施例对玩家在云游戏的游戏页面中可产生的触发操作的类型不加以限定,示例性地,玩家在云游戏的游戏页面中可产生的触发操作包括但不限于分享操作、确认操作、发射技能操作等。
以玩家在云游戏的游戏页面中产生的触发操作为分享操作为例进行说明。当玩家在云游戏的游戏页面中触发分享操作时,终端在游戏页面获取的云游戏过程中的操作指令实际上为分享指令。在一种可能实现方式中,分享操作的触发方式是指点击分享控件(分享按钮或者分享图标等)。
分享控件的类型可能有一种或多种,能够根据云游戏的类型进行设置,本申请实施例对此不加以限定。示例性地,分享控件的类型包括分享至第一社交应用程序中的好友、分享至第一社交应用程序中的互动社区、分享至第二社交应用程序中的好友以及分享至第二社交应用程序中的互动社区中的至少一种。第一社交应用程序和第二社交应用程序为不同的社交类应用程序。社交类应用程序是指供不同对象通过聊天、语音、分享图片、分享互动信息等方式进行社交的应用程序。例如,当分享控件的类型包括分享至第一社交应用程序中的好友时,云游戏的游戏页面如图3所示,在图3中显示分享控件31,当玩家触发该分享控件31时,终端获取的操作指令实际上为分享至第一社交应用程序中的好友的操作指令。
在一种可能实现方式中,玩家触发分享操作的时机包括但不限于:在需要邀请好友一起参与云游戏时触发分享操作;在需要分享云游戏的游戏结果时触发分享操作。需要说明的是,不同时机对应的可触发的分享控件的类型可能相同,也可能不同,本申请实施例对此不加以限定。在不同时机下,分享操作的分享目的不同,示例性地,对于在需要邀请好友一起参与云游戏时触发分享操作的情况,分享操作的分享目的为分享邀请链接;对于在 需要分享云游戏的游戏结果时触发分享操作的情况,分享操作的分享目的为分享包含游戏结果的图片。
在示例性实施例中,当玩家通过点击分享控件触发分享操作时,终端获取的云游戏过程中的操作指令中携带用于指示分享目标的信息,例如,当玩家通过点击分享至第一社交应用程序中的好友的分享控件触发分享操作时,分享目标为第一社交应用程序中的好友;当玩家通过点击分享至第一社交应用程序中的互动社区的分享控件触发分享操作时,分享目标为第一社交应用程序中的互动社区。
需要说明的是,由于云游戏安装在服务器中,所以终端无法识别获取的操作指令为哪种类型的操作指令。终端无论获取什么类型的操作指令,均将操作指令发送至服务器,由服务器对操作指令进行进一步的处理。
在步骤202中,终端将操作指令发送至安装有云游戏的服务器。
终端在获取云游戏过程中的操作指令后,将操作指令发送至安装有云游戏的服务器,以由服务器对操作指令进行处理。在一种可能实现方式中,云游戏过程中的操作指令可能为分享指令。当然,在示例性实施例中,云游戏过程中的操作指令还可能为确认指令、发射技能指令等。
在一种可能实现方式中,终端将操作指令发送至安装有云游戏的服务器的方式包括但不限于以下两种:
方式一:终端将操作指令直接发送至安装有云游戏的服务器。
在此种方式一下,终端与服务器之间能够直接建立网络连接,以便于直接传输信息。在此种方式一下,终端与服务器之间的信息传输效率较高。
示例性地,终端与服务器之间能够直接建立长连接,示例性地,建立长连接的方式为基于Websocket(网络套接字)建立长连接。在基于Websocket建立长连接的过程中,终端和服务器只需要做一个握手的动作,在基于Websocket建立长连接之后,终端和服务器能够在任意时刻相互推送信息。在基于Websocket建立长连接的情况下,服务器与终端之间交换的头信息很小,有利于进一步提高信息传输效率。
方式二:终端将操作指令发送至网关,通过网关将操作指令发送至服务器。
在此种方式二下,终端和服务器之间通过网关建立网络连接,也就是说,终端和服务器之间的传输信息需要网关进行中转。网关能够对传输的信息进行安全校验,进而提高终端和服务器之间信息传输的安全性和可靠性。
在一种可能实现方式中,终端和服务器之间通过网关建立长连接,示例性地,该长连接为基于Websocket(网络套接字)建立的长连接。
需要说明的是,在发送操作指令时,终端需要将操作指令封装成传输过程支持的信息格式,以便于信息传输的有效性。
在步骤203中,服务器接收终端发送的云游戏过程中的操作指令。
服务器安装有云游戏,当终端将云游戏过程中的操作指令发送至服务器后,服务器接收终端发送的云游戏过程中的操作指令。
在一种可能实现方式中,对应于终端将操作指令发送至服务器的两种方式,服务器接收终端发送的云游戏过程中的操作指令的方式包括以下两种:
方式1:服务器接收终端直接发送的云游戏过程中的操作指令。
此种方式1发生在终端将操作指令直接发送至服务器的情况下,终端与服务器之间直接建立网络连接。
方式2:服务器接收终端通过网关发送的云游戏过程中的操作指令。
此种方式2发生在终端将操作指令发送至网关,通过网关将操作指令发送至服务器的情况下,终端和服务器之间通过网关建立网络连接。
在步骤204中,服务器基于操作指令,生成操作信息。
在接收终端发送的云游戏过程中的操作指令后,服务器基于操作指令,生成操作信息。需要说明的是,该操作信息的信息格式为服务器的操作系统(比如ios、Android(安卓))支持的信息格式,以便于服务器的操作系统对该操作信息进行处理。云游戏安装在服务器的操作系统下,在本申请实施例中,以服务器的操作系统为Android(安卓)系统为例进行说明。在示例性实施例中,用于访问云游戏的终端的操作系统与服务器的操作系统一致,以保证云游戏的功能能够在终端正常实现以及游戏页面能够在终端正常显示。也就是说,当用于访问云游戏的终端的操作系统为Android系统时,那么服务器的操作系统也为Android系统。
服务器的操作系统支持的信息格式是指服务器的操作系统中的各个组件之间能够识别的信息格式。示例性地,在Android系统中,支持的信息格式为Intent信息格式。
在一种可能实现方式中,服务器基于操作指令,生成操作信息的过程为:服务器按照Intent信息格式填充操作指令相关的数据,得到操作信息。不同的操作指令对应的操作信息不同,但是信息格式均为Intent信息格式。需要说明的是,在本申请实施例中,在Intent信息格式的基础上,能够结合云游戏的特性预先设置生成的操作信息中应该包括的每部分信息,以便于后续更加便捷地识别操作信息的类型。示例性地,Intent信息格式的操作信息包括操作目标和额外数据两部分。不同的操作指令对应的不同的操作信息中,操作目标和额外数据这两部分中的至少一部分的具体内容不同。
示例性地,当操作指令为分享指令时,操作信息包括的操作目标是指分享目标,该分享目标用于指示待分享的社交应用程序以及该待分享的社交应用程序中待定位的交互页面。操作信息包括的额外数据是指分享数据,分享数据的格式根据经验设置,或者根据应用场景灵活调整,本申请实施例对此不加以限定,例如,分享数据包括主题、详细数据和描述信息中的至少一个方面的信息。
示例性地,在不同的分享目的下,分享数据有所不同。例如,当分享目的为分享邀请链接时,分享数据中的详细数据是指邀请链接;当分享目的为分享包含游戏结果的图片时,分享数据中的详细数据是指对包含游戏结果的图片进行编码后的数据。
示例性地,当分享目的为分享邀请链接时,分享数据如下所示:
Figure PCTCN2021077543-appb-000001
在一种可能实现方式中,Intent信息格式为Key-Value(键-值)对格式。示例性地,将操作信息的标识信息作为Key(键),将操作信息的具体内容作为Value(值)。在此种Key-Value(键-值)对格式下,查询速度快、存放数据量大、支持高并发。需要说明的是,不同的操作指令对应的操作信息可能具有不同的确定Key-Value对的方式。示例性地,当操作指令为分享指令时,Key-Value对根据待分享的社交应用程序开放的分享接口确定。
在步骤205中,响应于操作信息为分享类型的信息,服务器从操作信息中解析出分享数据,生成包括分享数据的分享信息。
在生成操作信息后,服务器判断操作信息是否为分享类型的信息,当操作信息为分享类型的信息时,服务器根据步骤205以及后续的步骤206,将包括分享数据的分享信息发送至终端,以实现将云游戏的分享数据分享至终端的社交应用程序。
在一种可能实现方式中,服务器判断操作信息是否为分享类型的信息方式包括但不限于以下两种:
方式一:服务器利用操作系统对操作信息进行分享类型的验证,根据验证的结果判断操作信息是否为分享类型的信息。
操作信息的信息格式为服务器的操作系统支持的信息格式,服务器的操作系统能够对操作信息进行分享类型的验证,以验证操作信息的类型是否为分享类型。在一种可能实现方式中,云游戏中集成有服务组件,在服务器利用操作系统对操作信息进行分享类型的验 证之前,服务器先通过云游戏中的服务组件将操作信息发送至操作系统。服务组件能够与操作系统进行通信,示例性地,服务组件为MSDK。示例性地,服务组件通过接口与操作系统进行通信,不同的接口用于传输不同类型的信息。例如,服务组件中的分享接口用于将分享类型的信息发送至操作系统。
在一种可能实现方式中,服务器利用操作系统对操作信息进行分享类型的验证的过程是指:服务器利用操作系统识别操作信息是否为分享类型的信息的过程。在一种可能实现方式中,操作信息中包括操作目标,利用操作系统对操作信息进行分享类型的验证的过程为:利用操作系统识别操作信息中的操作目标是否为分享目标。当操作信息中的操作目标为分享目标时,说明操作信息的分享类型的验证通过;当操作信息的操作目标为非分享目标时,说明操作信息的分享类型的验证不通过。
在一种可能实现方式中,服务器利用操作系统对操作信息进行分享类型的验证的过程包括以下两个步骤:
步骤1:利用操作系统的第一组件中的第一函数,发起针对操作信息的处理请求,该处理请求携带操作信息。
在示例性实施例中,对于操作系统为Android系统的情况,操作系统的第一组件是指Android系统的Activity组件,第一组件中的第一函数是指startActivityForResult(开始活动返回结果)函数。在一种可能实现方式中,利用操作系统的第一组件中的第一函数,发起针对操作信息的处理请求的过程为:利用操作系统,将操作信息填充至第一组件中的第一函数中,得到填充后的第一函数,利用操作系统发起填充后的第一函数的请求,将填充后的第一函数的请求作为针对操作信息的处理请求。该处理请求用于由操作系统的其他组件对操作信息进行进一步地处理。处理请求携带操作信息。
步骤2:利用操作系统的第二组件中的第二函数,对处理请求携带的操作信息进行分享类型的验证。
在示例性实施例中,对于操作系统为Android系统的情况,操作系统的第二组件是指Android系统的Instrumentation(检测)组件,第二组件中的第二函数是指execStartActivity(执行开始活动)函数。第二组件中的第二函数中,包括用于对操作系统发起的处理请求携带的操作信息进行分享类型的验证的验证逻辑。示例性地,第二函数中包括的验证逻辑用于验证操作信息是否与分享类型的信息相匹配。
利用操作系统的第二组件中的第二函数,能够对处理请求携带的操作信息进行分享类型的验证。在一种可能实现方式中,当操作信息中包括操作目标时,第二函数中包括备选的分享目标,利用第二函数对操作信息进行分享类型的验证的过程为:利用第二函数将操 作信息中的操作目标与备选的分享目标进行比对。当操作信息中的操作目标与任一备选的分享目标一致时,说明操作信息的分享类型的验证通过;当操作信息中的操作目标与全部备选的分享目标均不一致时,说明操作信息的分享类型的验证不通过。
在另一种可能实现方式中,第二函数中包括分享类型的信息中包含的每部分信息的规定数据格式,例如,分享类型的信息中包括分享目标和分享数据两部分,分享目标的规定数据格式是指包括用于指示待分享的社交应用程序的数据和用于指示待定位的交互页面的数据;分享数据的规定数据格式是指包括分别用于指示主题、详细数据和描述信息的数据。在此种情况下,利用第二函数对操作信息进行分享类型的验证的过程为:利用第二函数将操作信息中包含的信息的数据格式与分享类型的信息中包含的每部分信息的规定数据格式进行比对。当操作信息中包含的信息中,包括与分享类型的信息中包含的每部分信息的规定数据格式分别相同的数据格式的信息时,说明操作信息的分享类型的验证通过;当操作信息中包含的信息中,不包括与分享类型的信息中包含的每部分信息的规定数据格式分别相同的数据格式的信息时,说明操作信息的分享类型的验证不通过。
利用服务器的操作系统对操作信息进行分享类型的验证的结果包括以下两种:
结果一:操作信息的分享类型的验证通过。
当操作信息与分享类型的信息相匹配时,说明操作信息的分享类型的验证通过。
结果二:操作信息的分享类型的验证不通过。
当操作信息与分享信息的信息不匹配时,说明操作信息的分享类型的验证不通过。
根据验证的结果判断操作信息是否为分享类型的信息的过程为:响应于操作信息的分享类型的验证通过,确定操作信息为分享类型的信息;响应于操作信息的分享类型的验证不通过,确定操作信息为非分享类型的信息。
在此种方式一下,利用操作系统判断操作信息是否为分享类型的信息,由于是在操作系统层面进行的,所以能够识别出全部分享类型的操作信息,从而能够使后续将分享数据分享至终端的社交应用程序的分享成功率几乎达到百分之百。
方式二:云游戏中集成有服务组件和拦截组件,服务器通过拦截组件对服务组件中的分享接口进行拦截处理,根据能否在分享接口拦截到操作信息,判断操作信息是否为分享类型的信息。
服务组件与操作系统进行通信。示例性地,服务组件为MSDK。拦截组件用于对服务组件中的某个或某类接口进行拦截处理,以使信息无法通过该接口或该类接口发送至操作系统。在本申请实施例中,拦截组件用于对服务组件中的分享接口进行拦截处理,以使分享类型的信息无法通过分享接口发送至操作系统。分享接口为服务组件中用于接收分享指 令以及将分享类型的信息发送至操作系统的一个或者一类接口。通过拦截组件对服务组件中的分享接口进行拦截处理,能够将分享类型的信息拦截下来。
在示例性实施例中,拦截组件对分享接口进行拦截处理的方式是指利用新程序代码替换分享接口原有的某段或者全部程序代码,以改变分享接口的传输方式,使分享接口不再将分享类型的信息发送至操作系统。在对分享接口进行拦截处理后,能够拦截到分享类型的信息。
通过拦截组件对服务组件中的分享接口进行拦截处理后,根据能否在分享接口拦截到操作信息,能够判断操作信息是否为分享类型的信息。在一种可能实现方式中,根据能否在分享接口拦截到操作信息,判断操作信息是否为分享类型的信息的过程为:响应于在分享接口拦截到操作信息,确定操作信息为分享类型的信息;响应于在分享接口未拦截到操作信息,确定操作信息为非分享类型的信息。
在此种方式二下,判断操作信息是否为分享类型的信息的过程在云游戏层面进行,无需调用操作系统,此种判断方式的判断速率较快,判断过程较方便快捷。
需要说明的是,相关技术中,服务器中不进行判断操作信息是否为分享类型的信息的过程,直接利用操作系统处理操作信息对应的整体业务。在本申请实施例中,通过增加判断操作信息是否为分享类型的信息的过程,能够识别出分享类型的信息,进行实现后续将分享信息中的分享数据分享至终端的社交应用程序。
无论是通过上述方式一还是上述方式二,均能够判断操作信息是否为分享类型的信息。当判断的结果为操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,生成包括分享数据的分享信息。分享信息的信息格式为传输过程支持的信息格式。
在示例性实施例中,操作信息包括操作目标和额外数据两部分。当操作信息为分享类型的信息时,操作信息包括的操作目标是指分享目标,该分享目标用于指示待分享的社交应用程序以及该待分享的社交应用程序中待定位的交互页面。操作信息包括的额外数据是指分享数据。当确定操作信息为分享类型的信息时,能够从该操作信息中将分享数据解析出来。在一种可能实现方式中,当利用操作系统判断操作信息是否为分享类型的信息时,能够利用操作系统的第二组件中的第二函数,从操作信息中解析出分享数据。示例性地,从操作信息中解析出分享数据的过程是指:从Intent信息格式的操作信息中提取出Bundle(束)数据,将提取的Bundle数据作为分享数据。
在操作信息中解析出分享数据后,服务器生成包括分享数据的分享信息,该分享信息的信息格式为传输过程支持的信息格式。在一种可能实现方式中,分享信息的信息格式如下所示:
Figure PCTCN2021077543-appb-000002
分享数据包括在用于指示消息的具体内容的String data中的data(数据)中。需要说明的是,data中除包括分享数据外,还能够包括用于指示分享目标的信息,示例性地,该用于指示分享目标的信息包括待分享的社交应用程序的信息和该待分享的社交应用程序中待定位的交互页面的信息。示例性地,当生成操作信息所依据的分享指令是通过触发分享至第一社交应用程序中的好友的分享控件产生的分享指令时,待分享的社交应用程序为第一社交应用程序,该待分享的社交应用程序中待定位的交互页面为第一社交应用程序中的好友选择页面;当生成操作信息所依据的分享指令是通过触发分享至第一社交应用程序中的互动社区的分享控件产生的分享指令时,待分享的社交应用程序为第一社交应用程序,该待分享的社交应用程序中待定位的交互页面为第一社交应用程序中的互动信息发表页面。
示例性地,String data中的data的内容如下所示:
Figure PCTCN2021077543-appb-000003
当操作信息为分享类型的信息时,服务器基于步骤205生成包括分享数据的分享信息,然后执行步骤206。在一种可能实现方式中,操作信息还可能为非分享类型的信息。对于操作信息为非分享类型的信息的情况,响应于操作信息为非分享类型的信息,服务器执行操作信息对应的处理业务,得到处理结果;将处理结果发送至终端。
当操作信息为非分享类型的信息时,在服务器中执行操作信息对应的处理业务。在一种可能实现方式中,执行操作信息对应的处理业务,是指打开操作信息对应的目标游戏页面。
需要说明的是,根据生成操作信息所依据的操作指令的不同,操作信息对应的目标游戏页面可能不同。例如,当生成操作信息所依据的操作指令为确认指令时,操作信息对应的目标游戏页面是指确认指令关联的游戏页面;当生成操作信息所依据的操作指令为发射技能指令时,操作信息对应的目标游戏页面是指发射技能后的游戏页面。
在一种可能实现方式中,服务器执行操作信息对应的处理业务的方式为:服务器利用操作系统的管理组件中的启动函数,执行操作信息对应的处理业务。也就是说,利用操作系统的管理组件中的启动函数打开操作信息对应的目标游戏页面。示例性地,对于操作系统为Android系统的情况,操作系统的管理组件是指Android系统的AMS组件,管理组件中的启动函数是指startActivity(开始活动)函数。
例如,对于操作信息为非分享类型的信息的情况,服务器对操作信息的处理过程如图4所示。基于终端发送的操作指令,生成操作信息;利用Activity组件中的startActivityForResult函数,发起针对操作信息的处理请求;利用Instrumentation组件中的execStartActivity函数,对处理请求携带的操作信息进行分享类型的验证;当分享类型的验证不通过时,也就是当操作信息为非分享类型的信息时,利用AMS组件中的startActivity函数,打开操作信息对应的目标游戏页面。
在服务器执行操作信息对应的处理业务后,能够得到处理结果,然后服务器将处理结果发送至终端。示例性地,当执行操作信息对应的处理业务是指打开操作信息对应的目标游戏页面时,处理结果中包括将目标游戏页面进行编码后的音视频流。
示例性地,服务器将处理结果发送至终端的方式为直接将处理结果发送至终端,或者为通过网关将处理结果发送至终端,本申请实施例对此不加以限定。需要说明的是,在发送处理结果之前,服务器需要先将处理结果封装成传输过程支持的信息格式。
在服务器将处理结果发送至终端后,终端接收服务器发送的处理结果。该处理结果为服务器响应于操作信息为非分享类型的信息,执行操作信息对应的处理业务后得到的结果。终端接收到处理结果后,显示与处理结果对应的游戏页面。处理结果中包括与该处理结果对应的游戏页面的信息,终端能够根据处理结果中包括的游戏页面的信息显示与处理结果对应的游戏页面。在一种可能实现方式中,与处理结果对应的游戏页面是指操作信息对应的目标游戏页面,处理结果中包括的与该处理结果对应的游戏页面的信息是指将目标游戏页面编码后的音视频流,此种情况下,终端先对音视频流进行解码,然后再显示与处理结 果对应的游戏页面。
在步骤206中,服务器将包括分享数据的分享信息发送至终端。
在生成包括分享数据的分享信息后,服务器将包括分享数据的分享信息发送至终端,以由终端执行将分享数据分享至社交应用程序的过程。在一种可能实现方式中,服务器将包括分享数据的分享信息发送至终端的方式包括以下两种:
方式一:服务器将包括分享数据的分享信息直接发送至终端。
方式二:服务器将包括分享数据的分享信息发送至网关,通过网关将包括分享数据的分享信息发送至终端。
例如,在此种方式二下,服务器将包括分享数据的分享信息发送至终端的过程示意图如图5所示。在图5中,服务器51将包括分享数据的分享信息发送至网关52,网关52将包括分享数据的分享信息发送至终端53。
示例性地,服务器对操作信息的处理过程如图6所示。服务器利用服务器的操作系统的Instrumentation组件中的execStartActivity函数对操作信息进行分享类型的验证,判断操作信息是否为分享类型的信息。当操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,将包括分享数据的分享信息发送至终端,由终端将分享数据分享至社交应用程序,完成分享过程;当操作信息为非分享类型的信息时,服务器将操作信息发送至操作系统的AMS组件,利用AMS组件中的startActivity函数,打开操作信息对应的目标游戏页面。
在步骤207中,终端接收服务器发送的包括分享数据的分享信息,将分享数据分享至目标社交应用程序。
服务器将包括分享数据的分享信息发送至终端后,终端接收服务器发送的包括分享数据的分享信息。在一种可能实现方式中,当服务器将包括分享数据的分享信息直接发送至终端时,终端接收服务器直接发送的包括分享数据的分享信息;当服务器将包括分享数据的分享信息发送至网关时,终端接收服务器通过网关发送的包括分享数据的分享信息。
在接收到包括分享数据的分享信息后,终端将分享数据分享至目标社交应用程序。需要说明的是,目标社交应用程序为待分享的社交应用程序。在一种可能实现方式中,终端将分享数据分享至目标社交应用程序的过程包括以下步骤1至步骤3:
步骤1:终端基于分享信息,生成调用信息,调用信息包括分享数据。
分享信息的信息格式为传输过程支持的信息格式,调用信息的信息格式为终端的操作系统支持的信息格式。由于分享信息的信息格式可能无法被终端的操作系统中的组件识别并处理,所以需要基于分享信息生成信息格式为终端的操作系统支持的信息格式的调用信 息。
在示例性实施例中,用于访问云游戏的终端的操作系统与服务器的操作系统一致,以保证云游戏的功能能够在终端正常实现以及游戏页面能够在终端正常显示。也就是说,当服务器的操作系统为Android系统时,用于访问云游戏的终端的操作系统也为Android系统。示例性地,当终端的操作系统为Android系统时,终端的操作系统支持的信息格式为Intent信息格式。也就是说,终端生成的调用信息的信息格式为Intent信息格式。
在示例性实施例中,Intent信息格式的调用信息包括调用目标和分享数据两部分。示例性地,调用信息中的分享数据能够从分享信息中直接提取,也就是说,将分享信息中的分享数据作为调用信息中的分享数据。调用信息中的调用目标用于标识待调用的社交应用程序,以及该社交应用程序中待定位的交互页面。分享信息的data中除包括分享数据外,还包括用于指示分享目标的信息,终端能够根据分享信息的data中的用于指示分享目标的信息,生成符合Intent信息格式的调用目标。由此,终端完成基于分享信息生成调用信息的过程。
步骤2:利用操作系统的管理组件中的启动函数,启动调用信息对应的目标社交应用程序。
在生成调用信息后,由于调用信息的信息格式为终端的操作系统支持的信息格式,并且调用信息中包括调用目标,所以终端的操作系统能够基于调用信息,确定调用目标,也就是确定待调用的目标社交应用程序。
在一种可能实现方式中,终端安装有用于访问云游戏的游戏应用程序,该游戏应用程序中集成有服务组件。在一些实施例中,终端的游戏应用程序中集成的服务组件与服务器的云游戏中集成的服务组件为相同的服务组件。示例性地,该服务组件为MSDK。在终端利用终端的操作系统的管理组件中的启动函数,启动调用信息对应的目标社交应用程序之前,终端的游戏应用程序中的服务组件调用分享接口,将调用信息发送至终端的操作系统。然后,终端能够利用终端的操作系统的管理组件中的启动函数,启动调用信息对应的目标社交应用程序。
在示例性实施例中,对于终端的操作系统为Android系统的情况,终端的操作系统的管理组件是指Android系统的AMS组件,管理组件中的启动函数是指startActivity函数。需要说明的是,由于终端与服务器的操作系统相同,所以操作系统的管理组件以及管理组件中的启动函数也相同。
由于终端的操作系统能够基于调用信息,确定待调用的目标社交应用程序,所以利用终端的操作系统能够启动待调用的目标社交应用程序。启动目标社交应用程序是指将目标 社交应用程序在当前窗口中打开。启动目标社交应用程序的过程是应用程序跳转的过程,由用于访问云游戏的游戏应用程序跳转至目标社交应用程序。需要说明的是,终端的目标社交应用程序是玩家的个人账号对应的社交应用程序,该目标社交应用程序中的好友关系链为玩家的好友关系链。
步骤3:将调用信息中的分享数据分享至目标社交应用程序。
在启动目标社交应用程序后,终端将调用信息中的分享数据分享至目标社交应用程序,以实现将云游戏中的分享数据分享至终端本地的社交应用程序。
需要说明的是,以上步骤1至步骤3为终端将分享数据分享至目标社交应用程序的实现方式的一种示例性描述,本申请实施例并不局限于此。示例性地,对于分享信息的信息格式为终端的操作系统支持的信息格式的情况,终端还能够直接将分享信息中的分享数据分享至目标应用程序。
无论是将调用信息中的分享数据分享至目标社交应用程序,还是直接将分享信息中的分享数据分享至目标应用程序,均能够实现将分享数据分享至目标社交应用程序。在一种可能实现方式中,将分享数据分享至目标社交应用程序的过程包括以下步骤a和步骤b:
步骤a:将目标社交应用程序的显示页面定位至第一交互页面。
以将调用信息中的分享数据分享至目标应用程序为例进行说明,由于调用信息中包括用于标识待调用的目标社交应用程序,以及该目标社交应用程序中待定位的交互页面的调用目标,所以根据调用目标不仅能够确定待调用的目标社交应用程序,还能够确定该目标社交应用程序中待定位的交互页面。将该目标应用程序中待定位的交互页面作为第一交互页面。
在确定第一交互页面后,终端将目标社交应用程序的显示页面定位至第一交互页面。也就是说,在启动目标社交应用程序后,显示目标社交应用程序的第一交互页面。需要说明的是,目标社交应用程序的第一交互页面可能是指好友选择页面,也可能是指互动信息发表页面,这与玩家产生分享指令时触发的分享控件的类型有关,本申请实施例对此不加以限定。示例性地,当玩家产生分享指令时触发的分享控件的类型为分享至第一社交应用程序中的好友或者为分享至第二社交应用程序中的好友时,目标社交应用程序的第一交互页面是指好友选择页面;当玩家产生分享指令时触发的分享控件的类型为分享至第一社交应用程序中的互动社区或者为分享至第二社交应用程序中的互动社区时,目标社交应用程序的第一交互页面是指互动信息发表页面。
好友选择页面用于供玩家选择待分享的好友,好友选择页面中能够显示该目标社交应用程序中可供选择的好友的信息,该可供选择的好友是指近期与玩家产生过会话的好友, 或者是指与玩家具有好友关系的全部好友,本申请实施例对此不加以限定。示例性地,显示的好友的信息包括好友的头像信息、昵称信息中的至少一种。
互动信息发表页面用于供玩家完善并确认用于发表至互动社区的互动信息。在互动信息发表页面,除显示待发表的分享数据外,还显示供玩家填写对分享数据的介绍信息的输入框。
步骤b:基于第一交互页面中的确认指令,将分享数据分享至目标社交应用程序的第二交互页面中,第二交互页面为与确认指令携带的确认信息匹配的交互页面。
在显示第一交互页面后,玩家能够在第一交互页面触发确认操作,然后终端获取第一交互页面中的确认指令。在一种可能实现方式中,当第一交互页面为好友选择页面时,玩家能够在好友选择页面选择待分享的好友,然后触发确认操作,终端获取第一交互页面中的确认指令。当第一交互页面为互动信息发表页面时,玩家能够在填写对分享数据的介绍信息后,触发确认操作;也能够不填写对分享数据的介绍信息,直接触发确认操作,当触发确认操作后,终端获取第一交互页面中的确认指令。确认指令携带确认信息。
在获取第一交互页面的确认指令后,终端确定与确认指令携带的确认信息匹配的第二交互页面,然后将分享数据分享至目标社交应用程序的第二交互页面中。示例性地,当第一交互页面为好友选择页面时,确认指令携带的确认信息是指待分享的好友的信息,与待分享的好友的信息匹配的第二交互页面是指待分享的好友的会话页面,将分享数据分享至第二交互页面中是指将分享数据发送至待分享的好友的会话页面中。当第一交互页面为互动信息发表页面时,确认指令携带的确认信息是指包括分享数据的待发表互动信息,与包括分享数据的待发表互动信息匹配的第二交互页面是指互动社区显示页面,将分享数据分享至第二交互页面中是指将包括分享数据的待发表互动信息发表至互动社区显示页面中。
需要说明的是,终端在将分享数据分享至目标社交应用程序的第二交互页面中后,包括但不限于以下三种显示方式:
方式一:显示第二交互页面。
在此种方式一下,在将分享数据分享至第二交互页面中后,终端直接显示第二交互页面,在第二交互页面中显示有分享数据。示例性地,当第二交互页面为某一好友的会话页面时,直接显示该好友的会话页面,该会话页面中显示有想让该好友查看的分享数据;当第二交互页面为互动社区显示页面时,直接显示该互动社区显示页面,在该互动社区显示页面显示发表的携带分享数据的互动信息。
方式二:返回游戏页面。
在此种方式二下,在将分享数据分享至第二交互页面中后,终端直接返回游戏页面, 示例性地,该游戏页面为产生云游戏过程中的操作指令的游戏页面。在返回游戏页面后,玩家能够在游戏页面继续进行云游戏。
方式三:显示选择框,该选择框包括第一选项和第二选项。
第一选项用于指示返回与第一选项对应的游戏页面,第二选项用于指示继续留在目标社交应用程序。在此种方式三下,在将分享数据分享至第二交互页面中后,终端显示供玩家主动选择的选择框,有利于提高互动性。
在显示选择框后,玩家能够对第一选项或第二选项进行触发。终端响应于第一选项的触发指令,返回与第一选项对应的游戏页面;响应于第二选项的触发指令,显示目标社交应用程序的目标交互页面。与第一选项对应的游戏页面根据经验设置,或者根据应用场景灵活调整,本申请实施例对此不加以限定。示例性地,与第一选项对应的游戏页面是指产生云游戏过程中的操作指令的游戏页面。目标交互页面根据经验设置,或者根据应用场景灵活调整,本申请实施例对此不加以限定。示例性地,目标交互页面是指第二交互页面,或者,目标交互页面是指目标社交应用程序的首页面。需要说明的是,在显示目标社交应用程序的目标交互页面后,终端能够基于玩家的触发操作,进一步显示目标社交应用程序的其他交互页面。
例如,终端将分享数据分享至目标社交应用程序的过程中的页面示意图如图7所示。当第一交互页面为好友选择页面时,第一交互页面如图7中的(1)所示;当玩家在图7中的(1)所示的页面中选择好友“张三”时,在第一交互页面弹出如图7中的(2)所示的确认框71;当玩家触发确认框71中的分享按钮时,终端获取第一交互页面中的确认指令,然后终端将分享数据分享至好友“张三”的会话页面中。在分享后,在第一交互页面弹出如图7中的(3)所示的选择框72,在选择框72中,第一选项为“返回游戏页面”的选项,第二选项为“留在社交应用程序”的选项。当然,在分享后也能够直接显示图7中的(4)所示的好友“张三”的会话页面,在该会话页面中显示有分享数据73。
在终端将分享数据分享至目标社交应用程序的第二交互页面中后,完成将云游戏中的分享数据分享至终端的社交应用程序的过程。
示例性地,信息处理过程如图8所示,服务器通过云游戏中集成的MSDK将操作信息发送至服务器的操作系统,利用服务器的操作系统的Instrumentation组件中的execStartActivity函数对操作信息进行分享类型的验证,当操作信息为分享类型的信息时,服务器将包括分享数据的分享信息发送至终端;终端接收到分享信息后,生成调用信息,然后通过终端的游戏应用程序中集成的MSDK将调用信息发送至终端的操作系统,利用终端的操作系统的AMS组件中的startActivity函数,启动目标社交应用程序,然后完成将分 享数据分享至目标社交应用程序的过程。
相关技术中,在云游戏中,为了支持社交应用账号登陆,服务器中除了安装云游戏以外,还会安装社交应用程序,服务器安装的社交应用程序只用于云游戏登陆,使用的是专门的账号,而不是玩家的账号。同时,玩家只能操作自己终端上安装的社交应用程序,无法操作服务器的社交应用程序。当前云游戏技术方案中,分享到社交应用程序的功能要么因为技术上无法实现而直接禁用,使得该功能无法使用;要么只能分享到服务器的社交应用程序中,无法分享到玩家终端上的社交应用程序中。在本申请实施例中,服务器将包括分享数据的分享信息发送至终端,实现了将云游戏中的分享数据分享至终端本地的社交应用程序,达到了与传统终端本地游戏分享至终端本地的社交应用程序一致的体验。
在本申请实施例中,当操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,然后将包括分享数据的分享信息发送至终端,终端将分享数据分享至社交应用程序。在此种信息处理过程中,在服务器中增加判断操作信息是否为分享类型的信息的过程,服务器将从分享类型的操作信息中解析出的分享数据发送至终端,使得终端将分享数据分享至终端的社交应用程序。此过程能够实现将云游戏中的分享数据分享至终端本地的社交应用程序,提高云游戏的扩展性,信息处理效果较好,有利于提高云游戏的社交性,云游戏的传播度较好,能够提高玩家对云游戏的参与度,进而提高云游戏的交互率。
本申请实施例提供了一种信息处理系统,该系统包括:终端和服务器;
其中,终端,用于基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;将操作指令发送至安装有云游戏的服务器;
服务器,用于接收终端发送的云游戏过程中的操作指令;基于操作指令,生成操作信息;响应于操作信息为分享类型的信息,从操作信息中解析出分享数据,生成包括分享数据的分享信息;将包括分享数据的分享信息发送至终端;
终端,还用于接收服务器发送的包括分享数据的分享信息,将分享数据分享至目标社交应用程序。
在本申请实施例中,当操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,然后将包括分享数据的分享信息发送至终端,终端将分享数据分享至社交应用程序。在此种信息处理过程中,在服务器中增加判断操作信息是否为分享类型的信息的过程,服务器将从分享类型的操作信息中解析出的分享数据发送至终端,使得终端将分享数据分享至终端的社交应用程序。此过程能够实现将云游戏中的分享数据分享至终端本地的社交应用程序,提高云游戏的扩展性,信息处理效果较好,有利于提高云游戏的社交性,云游 戏的传播度较好,能够提高玩家对云游戏的参与度,进而提高云游戏的交互率。
参见图9,本申请实施例提供了一种信息处理装置,该装置应用于终端,通过图9所示的如下模块,实现上述图2所述的信息处理方法中终端所执行的功能。该装置包括:
获取模块901,用于基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;
发送模块902,用于将操作指令发送至安装有云游戏的服务器,使服务器基于操作指令,生成操作信息;响应于操作信息为分享类型的信息,从操作信息中解析出分享数据,生成包括分享数据的分享信息,将包括分享数据的分享信息发送至终端;
接收模块903,用于接收服务器发送的包括分享数据的分享信息;
分享模块904,用于将分享数据分享至目标社交应用程序。
在一种可能实现方式中,分享模块904,还用于将目标社交应用程序的显示页面定位至第一交互页面;基于第一交互页面中的确认指令,将分享数据分享至目标社交应用程序的第二交互页面中,第二交互页面为与确认指令携带的确认信息匹配的交互页面。
在一种可能实现方式中,参见图10,该装置还包括:
显示模块905,用于显示选择框,选择框中包括第一选项和第二选项;响应于第一选项的触发指令,返回与第一选项对应的游戏页面;响应于第二选项的触发指令,显示目标社交应用程序的目标交互页面。
在一种可能实现方式中,分享模块904,还用于基于分享信息,生成调用信息,调用信息包括分享数据;利用操作系统的管理组件中的启动函数,启动调用信息对应的目标社交应用程序;将调用信息中的分享数据分享至目标社交应用程序。
在一种可能实现方式中,接收模块903,还用于接收服务器发送的处理结果,处理结果为服务器响应于操作信息为非分享类型的信息,执行操作信息对应的处理业务后得到的结果;
显示模块905,还用于显示与处理结果对应的游戏页面。
在一种可能实现方式中,获取模块901,还用于基于云游戏登录入口的触发指令,显示云游戏登录页面;在云游戏登录页面获取登录信息,将登录信息发送至服务器进行验证;响应于服务器返回验证通过的响应,登录安装在服务器中的云游戏。
在本申请实施例中,当操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,然后将包括分享数据的分享信息发送至终端,终端将分享数据分享至社交应用程序。在此种信息处理过程中,在服务器中增加判断操作信息是否为分享类型的信息的过程, 服务器将从分享类型的操作信息中解析出的分享数据发送至终端,使得终端将分享数据分享至终端的社交应用程序。此过程能够实现将云游戏中的分享数据分享至终端本地的社交应用程序,提高云游戏的扩展性,信息处理效果较好,有利于提高云游戏的社交性,云游戏的传播度较好,能够提高玩家对云游戏的参与度,进而提高云游戏的交互率。
参见图11,本申请实施例提供了一种信息处理装置,该装置应用于服务器,通过图11所示的如下模块,实现上述图2所述的信息处理方法中服务器所执行的功能。该装置包括:
接收模块1101,用于接收终端发送的云游戏过程中的操作指令;
生成模块1102,用于基于操作指令,生成操作信息;
解析模块1103,用于响应于操作信息为分享类型的信息,从操作信息中解析出分享数据;
生成模块1102,还用于生成包括分享数据的分享信息;
发送模块1104,用于将包括分享数据的分享信息发送至终端,使终端将分享数据分享至目标社交应用程序。
在一种可能实现方式中,参见图12,该装置还包括:
验证模块1105,用于利用操作系统对操作信息进行分享类型的验证;响应于操作信息的分享类型的验证通过,确定操作信息为分享类型的信息。
在一种可能实现方式中,云游戏中集成有服务组件和拦截组件,参见图12,该装置还包括:
拦截处理模块1106,用于通过拦截组件对服务组件中的分享接口进行拦截处理;响应于在分享接口拦截到操作信息,确定操作信息为分享类型的信息。
在一种可能实现方式中,验证模块1105,还用于利用操作系统的第一组件中的第一函数,发起针对操作信息的处理请求,处理请求携带操作信息;利用操作系统的第二组件中的第二函数,对处理请求携带的操作信息进行分享类型的验证。
在一种可能实现方式中,参见图12,该装置还包括:
执行模块1107,用于响应于操作信息为非分享类型的信息,执行操作信息对应的处理业务,得到处理结果;
发送模块1104,还用于将处理结果发送至终端。
在本申请实施例中,当操作信息为分享类型的信息时,服务器从操作信息中解析出分享数据,然后将包括分享数据的分享信息发送至终端,终端将分享数据分享至社交应用程序。在此种信息处理过程中,在服务器中增加判断操作信息是否为分享类型的信息的过程, 服务器将从分享类型的操作信息中解析出的分享数据发送至终端,使得终端将分享数据分享至终端的社交应用程序。此过程能够实现将云游戏中的分享数据分享至终端本地的社交应用程序,提高云游戏的扩展性,信息处理效果较好,有利于提高云游戏的社交性,云游戏的传播度较好,能够提高玩家对云游戏的参与度,进而提高云游戏的交互率。
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,能够根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图13是本申请实施例提供的一种服务器的结构示意图,该服务器可因配置或性能不同而产生比较大的差异,示例性地,服务器包括一个或多个处理器(Central Processing Units,CPU)1301和一个或多个存储器1302,其中,该一个或多个存储器1302中存储有至少一条程序代码,该至少一条程序代码由该一个或多个处理器1301加载并执行,以实现上述各个方法实施例提供的信息处理方法。当然,该服务器还能够具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还能够包括其他用于实现设备功能的部件,在此不做赘述。
图14是本申请实施例提供的一种终端的结构示意图。示例性地,该终端是:智能手机、平板电脑、笔记本电脑或台式电脑。终端还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
示例性地,终端包括有:处理器1401和存储器1402。
处理器1401能够包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1401能够采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1401也能够包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1401集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1401还包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习 的计算操作。
存储器1402能够包括一个或多个计算机可读存储介质,示例性地,该计算机可读存储介质是非暂态的。存储器1402还能够包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1402中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1401所执行以实现本申请中方法实施例提供的信息处理方法。
在一些实施例中,终端还可选包括有:外围设备接口1403和至少一个外围设备。处理器1401、存储器1402和外围设备接口1403之间能够通过总线或信号线相连。各个外围设备能够通过总线、信号线或电路板与外围设备接口1403相连。具体地,外围设备包括:射频电路1404、触摸显示屏1405、摄像头组件1406、音频电路1407、定位组件1408和电源1409中的至少一种。
外围设备接口1403被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1401和存储器1402。在一些实施例中,处理器1401、存储器1402和外围设备接口1403被集成在同一芯片或电路板上;在一些其他实施例中,处理器1401、存储器1402和外围设备接口1403中的任意一个或两个能够在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1404用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1404通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1404将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1404包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1404能够通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1404还包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
显示屏1405用于显示UI(User Interface,用户界面)。示例性地,该UI包括图形、文本、图标、视频及其它们的任意组合。当显示屏1405是触摸显示屏时,显示屏1405还具有采集在显示屏1405的表面或表面上方的触摸信号的能力。该触摸信号能够作为控制信号输入至处理器1401进行处理。此时,显示屏1405还能够用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1405为一个,设置在终端的前面板;在另一些实施例中,显示屏1405为至少两个,分别设置在终端的不同表面或呈折叠设计; 在再一些实施例中,显示屏1405是柔性显示屏,设置在终端的弯曲表面上或折叠面上。甚至,显示屏1405还能够设置成非矩形的不规则图形,也即异形屏。显示屏1405能够采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1406用于采集图像或视频。可选地,摄像头组件1406包括前置摄像头和后置摄像头。示例性地,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1406还包括闪光灯。闪光灯是单色温闪光灯,或者是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,能够用于不同色温下的光线补偿。
音频电路1407包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1401进行处理,或者输入至射频电路1404以实现语音通信。出于立体声采集或降噪的目的,麦克风能够为多个,分别设置在终端的不同部位。麦克风还能够是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1401或射频电路1404的电信号转换为声波。扬声器是传统的薄膜扬声器,或者是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅能够将电信号转换为人类可听见的声波,也能够将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1407还包括耳机插孔。
定位组件1408用于定位终端的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。示例性地,定位组件1408是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。
电源1409用于为终端中的各个组件进行供电。示例性地,电源1409是交流电、直流电、一次性电池或可充电电池。当电源1409包括可充电电池时,该可充电电池能够支持有线充电或无线充电。该可充电电池还能够用于支持快充技术。
在一些实施例中,终端还包括有一个或多个传感器1410。该一个或多个传感器1410包括但不限于:加速度传感器1411、陀螺仪传感器1412、压力传感器1413、指纹传感器1414、光学传感器1415以及接近传感器1416。
加速度传感器1411能够检测以终端建立的坐标系的三个坐标轴上的加速度大小。陀螺仪传感器1412能够检测终端的机体方向及转动角度。压力传感器1413能够设置在终端的 侧边框和/或触摸显示屏1405的下层。指纹传感器1414用于采集用户的指纹。光学传感器1415用于采集环境光强度。接近传感器1416,也称距离传感器,示例性地,接近传感器1416设置在终端的前面板。接近传感器1416用于采集用户与终端的正面之间的距离。
本领域技术人员能够理解,图14中示出的结构并不构成对终端的限定,能够包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种计算机设备,该计算机设备包括处理器和存储器,该存储器中存储有至少一条程序代码。该至少一条程序代码由一个或者一个以上处理器加载并执行,以实现上述任一种信息处理方法。
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,该非临时性计算机可读存储介质中存储有至少一条程序代码,该至少一条程序代码由计算机设备的处理器加载并执行,以实现上述任一种信息处理方法。
可选地,上述非临时性计算机可读存储介质能够是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品,该计算机程序产品中存储有至少一段计算机程序,该至少一段计算机程序由计算机设备的处理器加载并执行,以实现上述任一种信息处理方法。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示存在三种关系,例如,A和/或B,表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下能够互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (17)

  1. 一种信息处理方法,其中,所述方法应用于终端,所述方法包括:
    基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;
    将所述操作指令发送至安装有所述云游戏的服务器,使所述服务器基于所述操作指令,生成操作信息;响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息,将所述包括所述分享数据的分享信息发送至所述终端;
    接收所述服务器发送的所述包括所述分享数据的分享信息,将所述分享数据分享至目标社交应用程序。
  2. 根据权利要求1所述的方法,其中,所述将所述分享数据分享至目标社交应用程序,包括:
    将所述目标社交应用程序的显示页面定位至第一交互页面;
    基于所述第一交互页面中的确认指令,将所述分享数据分享至所述目标社交应用程序的第二交互页面中,所述第二交互页面为与所述确认指令携带的确认信息匹配的交互页面。
  3. 根据权利要求2所述的方法,其中,所述将所述分享数据分享至所述目标社交应用程序的第二交互页面中之后,所述方法还包括:
    显示选择框,所述选择框中包括第一选项和第二选项;
    响应于所述第一选项的触发指令,返回与所述第一选项对应的游戏页面;
    响应于所述第二选项的触发指令,显示所述目标社交应用程序的目标交互页面。
  4. 根据权利要求1所述的方法,其中,所述将所述分享数据分享至目标社交应用程序,包括:
    基于所述分享信息,生成调用信息,所述调用信息包括所述分享数据;
    利用操作系统的管理组件中的启动函数,启动所述调用信息对应的目标社交应用程序;
    将所述调用信息中的分享数据分享至所述目标社交应用程序。
  5. 根据权利要求1-4任一所述的方法,其中,所述方法还包括:
    接收所述服务器发送的处理结果,所述处理结果为所述服务器响应于所述操作信息为非分享类型的信息,执行所述操作信息对应的处理业务后得到的结果;
    显示与所述处理结果对应的游戏页面。
  6. 根据权利要求1-4任一所述的方法,其中,所述基于云游戏登录入口的触发指令,登 录安装在服务器中的云游戏,包括:
    基于所述云游戏登录入口的触发指令,显示云游戏登录页面;
    在所述云游戏登录页面获取登录信息,将所述登录信息发送至所述服务器进行验证;
    响应于所述服务器返回验证通过的响应,登录安装在所述服务器中的云游戏。
  7. 一种信息处理方法,其中,所述方法应用于服务器,所述方法包括:
    接收终端发送的云游戏过程中的操作指令;
    基于所述操作指令,生成操作信息;
    响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息;
    将所述包括所述分享数据的分享信息发送至所述终端,使所述终端将所述分享数据分享至目标社交应用程序。
  8. 根据权利要求7所述的方法,其中,所述响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据之前,所述方法还包括:
    利用操作系统对所述操作信息进行分享类型的验证;
    响应于所述操作信息的分享类型的验证通过,确定所述操作信息为分享类型的信息。
  9. 根据权利要求7所述的方法,其中,所述云游戏中集成有服务组件和拦截组件,所述响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据之前,所述方法还包括:
    通过所述拦截组件对所述服务组件中的分享接口进行拦截处理;
    响应于在所述分享接口拦截到所述操作信息,确定所述操作信息为分享类型的信息。
  10. 根据权利要求8所述的方法,其中,所述利用操作系统对所述操作信息进行分享类型的验证,包括:
    利用所述操作系统的第一组件中的第一函数,发起针对所述操作信息的处理请求,所述处理请求携带所述操作信息;
    利用所述操作系统的第二组件中的第二函数,对所述处理请求携带的操作信息进行分享类型的验证。
  11. 根据权利要求7-10任一所述的方法,其中,所述方法还包括:
    响应于所述操作信息为非分享类型的信息,执行所述操作信息对应的处理业务,得到处理结果;
    将所述处理结果发送至所述终端。
  12. 一种信息处理系统,其中,所述系统包括:终端和服务器;
    所述终端,用于基于云游戏登录入口的触发指令,登录安装在所述服务器中的云游戏,获取云游戏过程中的操作指令;将所述操作指令发送至安装有所述云游戏的服务器;
    所述服务器,用于接收所述终端发送的云游戏过程中的操作指令;基于所述操作指令,生成操作信息;响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息;将所述包括所述分享数据的分享信息发送至所述终端;
    所述终端,还用于接收所述服务器发送的所述包括所述分享数据的分享信息,将所述分享数据分享至目标社交应用程序。
  13. 一种信息处理装置,其中,所述装置包括:
    获取模块,用于基于云游戏登录入口的触发指令,登录安装在服务器中的云游戏,获取云游戏过程中的操作指令;
    发送模块,用于将所述操作指令发送至安装有所述云游戏的服务器,使所述服务器基于所述操作指令,生成操作信息;响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据,生成包括所述分享数据的分享信息,将所述包括所述分享数据的分享信息发送至终端;
    接收模块,用于接收所述服务器发送的所述包括所述分享数据的分享信息;
    分享模块,用于将所述分享数据分享至目标社交应用程序。
  14. 一种信息处理装置,其中,所述装置包括:
    接收模块,用于接收终端发送的云游戏过程中的操作指令;
    生成模块,用于基于所述操作指令,生成操作信息;
    解析模块,用于响应于所述操作信息为分享类型的信息,从所述操作信息中解析出分享数据;
    所述生成模块,还用于生成包括所述分享数据的分享信息;
    发送模块,用于将所述包括所述分享数据的分享信息发送至所述终端,使所述终端将所述分享数据分享至目标社交应用程序。
  15. 一种计算机设备,其中,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述至少一条程序代码由所述处理器加载并执行,以实现如权利要求1至6任一所述的信息处理方法,或者如权利要求7至11任一所述的信息处理方法。
  16. 一种非临时性计算机可读存储介质,其中,所述非临时性计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行,以实现如权利要求1至6任一所述的信息处理方法,或者如权利要求7至11任一所述的信息处理方法。
  17. 一种计算机程序产品,其中,所述计算机程序产品中存储有至少一段计算机程序,所述至少一段计算机程序由处理器加载并执行,以实现如权利要求1至6任一所述的信息处理方法,或者如权利要求7至11任一所述的信息处理方法。
PCT/CN2021/077543 2020-04-15 2021-02-24 信息处理方法、系统、装置、设备及存储介质 WO2021208599A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP21788658.9A EP4029582A4 (en) 2020-04-15 2021-02-24 INFORMATION PROCESSING METHOD, SYSTEM AND APPARATUS, AND STORAGE DEVICE AND MEDIUM
KR1020227013259A KR20220065856A (ko) 2020-04-15 2021-02-24 정보 처리 방법, 시스템, 장치, 기기 및 저장 매체
JP2022533194A JP2023504668A (ja) 2020-04-15 2021-02-24 情報処理方法、情報処理システム、情報処理装置、コンピュータ機器及びコンピュータプログラム
US17/727,427 US20220241686A1 (en) 2020-04-15 2022-04-22 Information processing method, system, apparatus, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010296685.4A CN111494965B (zh) 2020-04-15 2020-04-15 信息处理方法、装置、设备及存储介质
CN202010296685.4 2020-04-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/727,427 Continuation US20220241686A1 (en) 2020-04-15 2022-04-22 Information processing method, system, apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021208599A1 true WO2021208599A1 (zh) 2021-10-21

Family

ID=71848317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077543 WO2021208599A1 (zh) 2020-04-15 2021-02-24 信息处理方法、系统、装置、设备及存储介质

Country Status (6)

Country Link
US (1) US20220241686A1 (zh)
EP (1) EP4029582A4 (zh)
JP (1) JP2023504668A (zh)
KR (1) KR20220065856A (zh)
CN (1) CN111494965B (zh)
WO (1) WO2021208599A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111494965B (zh) * 2020-04-15 2021-09-14 腾讯科技(深圳)有限公司 信息处理方法、装置、设备及存储介质
CN112138381B (zh) * 2020-10-10 2024-09-20 网易(杭州)网络有限公司 游戏数据的处理方法、装置、存储介质和电子装置
CN112169327A (zh) * 2020-10-29 2021-01-05 腾讯科技(深圳)有限公司 一种云游戏的控制方法以及相关装置
CN113422799B (zh) * 2021-05-11 2023-03-28 北京达佳互联信息技术有限公司 云游戏场景下的通信方法、装置、电子设备和存储介质
CN114448928B (zh) * 2022-01-26 2023-12-19 北京达佳互联信息技术有限公司 命令显示方法、装置、计算机设备及介质
CN114584599B (zh) * 2022-03-18 2023-05-16 北京字跳网络技术有限公司 游戏数据处理方法、装置、电子设备及存储介质
CN116764238B (zh) * 2023-06-27 2024-05-28 广州慧思软件科技有限公司 一种网络游戏的游戏数据的共享方法和服务器
CN117032939B (zh) * 2023-10-08 2024-02-02 腾讯科技(深圳)有限公司 一种云业务的控制方法、相关装置、设备以及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886008A (zh) * 2012-12-21 2014-06-25 索尼电脑娱乐美国公司 将所记录的游戏玩法分享到社交图谱
CN107158704A (zh) * 2017-05-14 2017-09-15 深圳游视虚拟现实技术有限公司 一种虚拟现实游戏系统
US20190351323A1 (en) * 2012-12-26 2019-11-21 Sony Interactive Entertainment America Llc Methods and systems for cloud executing mini-games and sharing
US20200008035A1 (en) * 2015-06-05 2020-01-02 Apple Inc. Cloud-Based Proximity Pairing and Switching for Peer-to-Peer Devices
CN110943959A (zh) * 2018-09-21 2020-03-31 华为技术有限公司 一种业务处理的方法、云管理平台、终端及存储介质
CN111494965A (zh) * 2020-04-15 2020-08-07 腾讯科技(深圳)有限公司 信息处理方法、装置、设备及存储介质

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9218716B2 (en) * 2009-04-03 2015-12-22 Bally Gaming, Inc. Integrating social networks and wagering games
US9564018B2 (en) * 2010-11-14 2017-02-07 Nguyen Gaming Llc Temporary grant of real-time bonus feature
US9345966B2 (en) * 2012-03-13 2016-05-24 Sony Interactive Entertainment America Llc Sharing recorded gameplay to a social graph
US9579561B2 (en) * 2012-12-21 2017-02-28 Zynga Inc. Allowing interactive post of an online game within a social network
KR20210094149A (ko) * 2012-12-21 2021-07-28 소니 인터랙티브 엔터테인먼트 아메리카 엘엘씨 레코딩된 게임플레이에 기반하여 클라우드-게이밍에 대한 제안된 미니-게임의 자동 발생
US9844729B2 (en) * 2012-12-26 2017-12-19 Sony Interactive Entertainment America Llc Systems and methods for managing video game titles and user play metrics for video game titles executing on a game cloud system
US9452354B2 (en) * 2013-06-07 2016-09-27 Sony Interactive Entertainment Inc. Sharing three-dimensional gameplay
US20150128293A1 (en) * 2013-11-01 2015-05-07 Numecent Holdings Inc. Application distribution network
WO2015161077A1 (en) * 2014-04-16 2015-10-22 Zynga Inc. Systems and methods of automatic game creation
US20170157516A1 (en) * 2016-11-19 2017-06-08 Mark Rudes System and method for managing word games
US10532291B2 (en) * 2017-04-19 2020-01-14 Facebook, Inc. Managing game sessions in a social network system
JP6440048B2 (ja) * 2018-04-24 2018-12-19 株式会社ドリコム ゲームシステム、誘導方法、ならびに、プログラム
CN110180166B (zh) * 2019-07-16 2022-04-22 南昌黑鲨科技有限公司 基于云游戏场景的控制系统及方法
CN110572469B (zh) * 2019-09-18 2022-04-12 江苏视博云信息技术有限公司 数据传输方法、输入设备、云端服务器及云游戏系统
CN110798477B (zh) * 2019-11-06 2022-03-18 江苏视博云信息技术有限公司 数据传输方法、设备、管理平台及云游戏系统架构

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886008A (zh) * 2012-12-21 2014-06-25 索尼电脑娱乐美国公司 将所记录的游戏玩法分享到社交图谱
US20190351323A1 (en) * 2012-12-26 2019-11-21 Sony Interactive Entertainment America Llc Methods and systems for cloud executing mini-games and sharing
US20200008035A1 (en) * 2015-06-05 2020-01-02 Apple Inc. Cloud-Based Proximity Pairing and Switching for Peer-to-Peer Devices
CN107158704A (zh) * 2017-05-14 2017-09-15 深圳游视虚拟现实技术有限公司 一种虚拟现实游戏系统
CN110943959A (zh) * 2018-09-21 2020-03-31 华为技术有限公司 一种业务处理的方法、云管理平台、终端及存储介质
CN111494965A (zh) * 2020-04-15 2020-08-07 腾讯科技(深圳)有限公司 信息处理方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4029582A4 *

Also Published As

Publication number Publication date
EP4029582A4 (en) 2023-01-18
KR20220065856A (ko) 2022-05-20
CN111494965B (zh) 2021-09-14
JP2023504668A (ja) 2023-02-06
CN111494965A (zh) 2020-08-07
EP4029582A1 (en) 2022-07-20
US20220241686A1 (en) 2022-08-04

Similar Documents

Publication Publication Date Title
WO2021208599A1 (zh) 信息处理方法、系统、装置、设备及存储介质
US11044514B2 (en) Method for displaying bullet comment information, method for providing bullet comment information, and device
US20210326145A1 (en) Method and apparatus for starting application, computer device, and storage medium
CN111835531B (zh) 会话处理方法、装置、计算机设备及存储介质
CN114616812A (zh) 用于配对的用户计算设备的统一接口
US20230021163A1 (en) Method for displaying resources and computer device
CN106416195B (zh) 一种处理器实现方法、一种通信网络连接的系统和有形的计算机可读存储媒体
CN111614549B (zh) 交互处理方法、装置、计算机设备及存储介质
CN111918086B (zh) 视频连线方法、装置、终端、服务器及可读存储介质
US20220277384A1 (en) Method for processing network data and terminal
WO2021120511A1 (zh) 网络会话的切换方法、装置、计算机设备及存储介质
WO2021073428A1 (zh) 一种账号绑定方法、设备及系统
CN109194972B (zh) 直播流获取方法、装置、计算机设备及存储介质
CN112583806B (zh) 资源共享方法、装置、终端、服务器及存储介质
CN114616813A (zh) 用于配对的用户计算设备的电话会议接口和控件
WO2022217959A1 (zh) 资源展示方法及装置
CN111523136A (zh) 应用程序的权限管理方法、装置、设备及存储介质
CN108579075B (zh) 操作请求响应方法、装置、存储介质及系统
KR20230029903A (ko) 병치된 사용자들을 페어링하기 위한 보안 프로토콜
CN111866140A (zh) 融合管理设备、管理系统、服务调用方法及介质
CN113413615A (zh) 游戏邀请方法、装置、计算机设备及存储介质
CN111970298A (zh) 应用访问方法、装置、存储介质及计算机设备
US20220230553A1 (en) Method for live streaming
CN114826799B (zh) 信息获取方法、装置、终端及存储介质
CN112163862A (zh) 目标功能的处理方法、装置、终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21788658

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20227013259

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021788658

Country of ref document: EP

Effective date: 20220413

ENP Entry into the national phase

Ref document number: 2022533194

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE