WO2021078215A1 - Method for cross-terminal switching of cloud game and related device - Google Patents

Method for cross-terminal switching of cloud game and related device Download PDF

Info

Publication number
WO2021078215A1
WO2021078215A1 PCT/CN2020/122965 CN2020122965W WO2021078215A1 WO 2021078215 A1 WO2021078215 A1 WO 2021078215A1 CN 2020122965 W CN2020122965 W CN 2020122965W WO 2021078215 A1 WO2021078215 A1 WO 2021078215A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
cloud game
switching
game information
game client
Prior art date
Application number
PCT/CN2020/122965
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2021078215A1 publication Critical patent/WO2021078215A1/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/31Communication aspects specific to video games, e.g. between several handheld game devices at close range
    • 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/352Details of game servers involving special game server arrangements, e.g. regional servers connected to a national server or a plurality of servers managing partitions of the game world
    • 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/40Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
    • A63F2300/402Communication between platforms, i.e. physical link to protocol
    • 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/40Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
    • A63F2300/403Connection between platform and handheld device
    • 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/40Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
    • A63F2300/406Transmission via wireless network, e.g. pager or GSM
    • 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/53Features 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 basic data processing
    • A63F2300/531Server assignment

Definitions

  • This application relates to the field of cloud computing technology, and in particular to a method and related device for switching between cloud games across terminals.
  • cloud computing technology has been applied in various fields, one of which is cloud gaming.
  • the game runs on the cloud server, and the cloud server pushes the video stream rendered by the game to the client on the terminal; the client does not need to install the game, only needs to decode the video stream in real time and upload the user's input instructions to The cloud server can realize the control of the game.
  • a method for switching cloud games across terminals is to switch cloud games to large-screen terminals through mobile phone projection.
  • the video stream of the cloud game needs to pass through the mobile terminal, which increases the delay for the large-screen terminal to display the cloud game screen.
  • the embodiments of the present application provide a method and related device for switching cloud games across terminals, which are used to switch cloud games across terminals, avoiding the defect of interaction delay caused by screen projection methods.
  • the first aspect of the embodiments of the present application provides a method for switching cloud games across terminals, including:
  • a cloud game client runs on the first terminal, and a communication link is established between the game client and the rendering server. At this time, the first terminal may obtain the first switching instruction;
  • the first terminal When the first terminal obtains the first switching instruction, it sends cloud game information to the second terminal according to the first switching instruction, and then the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information road.
  • the cross-terminal switching of the cloud game can be completed.
  • the second terminal directly interacts with the rendering server through the communication link, thereby avoiding the defect of interaction delay caused by the screen projection method.
  • the embodiments of the present application also provide the first implementation manner of the first aspect.
  • the first terminal sending cloud game information to the second terminal according to the first switching instruction includes:
  • the first terminal directly sends cloud game information to the second terminal according to the first switching instruction, for example, the distance wireless communication NFC technology may be used for transmission.
  • the distance wireless communication NFC technology may be used for transmission.
  • the first terminal directly sends cloud game information to the second terminal, which is convenient and quick, and can save the time for the second terminal to establish a communication link with the rendering server.
  • the embodiments of the present application also provide a second implementation manner of the first aspect.
  • the first terminal sending cloud game information to the second terminal according to the first switching instruction includes:
  • the first terminal sends a first switching request to the management server according to the first switching instruction, the first switching request carries cloud game information, and the management server sends the cloud game information to the second terminal after receiving the first switching request.
  • the first terminal sends cloud game information to the second terminal through the management server, which is suitable for scenarios where the second terminal cannot directly receive cloud game information of the first terminal.
  • the second terminal does not have the NFC technology function.
  • the embodiments of the present application also provide a third implementation manner of the first aspect.
  • the obtaining of the first switching instruction by the first terminal includes:
  • the first terminal obtains the ID of the second terminal through NFC technology.
  • the first terminal When the first terminal obtains the ID of the second terminal, it sends cloud game information to the second terminal, providing a solution for obtaining the first switching instruction.
  • a second aspect of the embodiments of the present application provides a method for switching between cloud games across terminals, including:
  • the second terminal obtains cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the second terminal directly interacts with the rendering server through the communication link, which avoids the defect of interaction delay caused by the screen projection method.
  • the embodiments of the present application also provide the first implementation manner of the second aspect.
  • the second terminal acquiring cloud game information corresponding to the cloud game client on the first terminal includes:
  • the second terminal directly receives the cloud game information corresponding to the cloud game client sent by the first terminal.
  • the second terminal directly receives the cloud game information sent by the first terminal, which is convenient and quick, and can save the time for the second terminal to establish a communication link with the rendering server.
  • the embodiments of the present application also provide the second implementation manner of the second aspect.
  • the second terminal Since the second terminal directly obtains the cloud game information from the first terminal, the second terminal establishing the communication link between the local cloud game client and the rendering server according to the cloud game information includes:
  • the second terminal sends a second switching request to the management server according to the cloud game information to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information;
  • the second terminal receives a second handover response corresponding to the second handover request sent by the management server;
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
  • the above process provides a feasible solution for establishing a communication link when the second terminal directly receives the cloud game information sent by the first terminal.
  • the embodiments of the present application also provide a third implementation manner of the second aspect.
  • the second terminal acquiring cloud game information corresponding to the cloud game client on the first terminal includes:
  • the second terminal receives cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
  • the second terminal receives the cloud game information sent by the first terminal through the management server, which is suitable for scenarios where the second terminal cannot directly receive the cloud game information of the first terminal.
  • the second terminal does not have the NFC technology function.
  • an embodiment of the present application also provides a fourth implementation manner of the second aspect.
  • the communication between the local cloud game client and the rendering server is established at the second terminal according to the cloud game information.
  • the method also includes:
  • the second terminal sends a connection establishment request to the management server, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
  • the second terminal receives a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information;
  • the user If it is necessary to establish a communication link between the local cloud game client and the rendering server based on the cloud game information, the user inputs a second switching instruction corresponding to the switching prompt, and the second terminal receives the second switching instruction according to the cloud
  • the game information establishes a communication link between the local cloud game client and the rendering server.
  • the management server sends cloud game information to the second terminal.
  • the above process provides a situation, that is, when the second terminal requests to establish a communication link with the rendering server, the management server prompts whether to perform cloud game switching. This enables the method in the embodiments of the present application to be applicable to multiple scenarios.
  • the embodiments of the present application also provide a fifth implementation manner of the second aspect.
  • Obtaining the cloud game information corresponding to the cloud game client on the first terminal by the second terminal includes: the second terminal directly reads the cloud game information corresponding to the cloud game client on the first terminal.
  • the second terminal can directly read the cloud game information in the first terminal, which is more convenient and quicker than the method in which the first terminal obtains the switching instruction and then sends the cloud game to the first terminal.
  • the third aspect of the embodiments of the present application provides a method for switching cloud games across terminals, which is applied to a management server, and includes:
  • the management server receives the first switching request sent by the first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
  • the management server sends cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
  • the embodiments of the present application are applicable to scenarios where the second terminal cannot directly receive cloud game information.
  • the fourth aspect of the embodiments of the present application provides a cloud game cross-terminal switching method, which is applied to a management server, and includes:
  • the management server receives the second switching request sent by the second terminal, and the second switching request is used to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information corresponding to the cloud game client on the first terminal Road, a communication link is established between the cloud game client on the first terminal and the rendering server;
  • the management server sends a second switching response corresponding to the second switching request to the second terminal, where the second switching response is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the embodiments of this application are applicable to scenarios where the second terminal directly receives cloud game information.
  • the fifth aspect of the embodiments of the present application provides a method for switching cloud games across terminals, which is applied to a management server, and includes:
  • the management server receives the connection establishment request sent by the second terminal, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
  • the management server If the management server detects that a communication link is established between the cloud game client on the first terminal and the rendering server, it sends cloud game information corresponding to the cloud game client on the first terminal and corresponding to the connection establishment request to the second terminal.
  • the switching prompt of the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account.
  • the switching prompt is used to prompt the user whether to establish the local cloud game client and the rendering server based on the cloud game information. Communication link between.
  • the embodiments of the present application are applicable to when the second terminal requests to establish a communication link, the management server finds that there is a cloud game client running on the first terminal under the same account, and therefore prompts the user whether to switch to the cloud game.
  • a sixth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
  • the first acquiring unit is configured to acquire a first switching instruction, and the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal, the cloud game client on the first terminal and the rendering server There is a communication link between them;
  • the first sending unit is configured to send cloud game information to the second terminal according to the first switching instruction, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
  • the embodiments of the present application also provide the first implementation manner of the sixth aspect, and the first sending unit is configured to:
  • the cloud game information is directly sent to the second terminal according to the first switching instruction.
  • the embodiments of the present application also provide a second implementation manner of the sixth aspect, and the first sending unit is configured to:
  • a first switching request is sent to the management server according to the first switching instruction, the first switching request carries cloud game information, and the first switching request is used to instruct the management server to send cloud game information to the second terminal.
  • the first implementation manner of the sixth aspect, or the second implementation manner of the sixth aspect also provides a third implementation manner of the sixth aspect, and the first acquiring unit is configured to:
  • a seventh aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
  • the second acquiring unit is configured to acquire cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
  • the first processing unit is configured to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the embodiments of the present application also provide the first implementation manner of the seventh aspect, and the second acquiring unit is configured to:
  • an embodiment of the present application also provides a second implementation manner of the seventh aspect, and the first processing unit is configured to:
  • the communication link between the local cloud game client and the rendering server is established according to the second switching response and the cloud game information.
  • the embodiments of the present application also provide a third implementation manner of the seventh aspect, and the second acquiring unit is configured to:
  • the embodiments of the present application further provide a fourth implementation manner of the seventh aspect, and the device further includes:
  • the fifth sending unit is configured to send a connection establishment request to the management server, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
  • the second acquiring unit is further configured to receive a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information;
  • a second switching instruction corresponding to the switching prompt input by the user is received, where the second switching instruction is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the embodiments of the present application also provide a fifth implementation manner of the seventh aspect, and the second acquiring unit is configured to directly read cloud game information corresponding to the cloud game client on the first terminal.
  • the eighth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
  • the first receiving unit is configured to receive a first switching request sent by the first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
  • the second sending unit is configured to send cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
  • a ninth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
  • the second receiving unit is configured to receive a second switching request sent by the second terminal, and the second switching request is used to request the establishment of a local cloud game client and a rendering server according to the cloud game information corresponding to the cloud game client on the first terminal There is a communication link between the cloud game client and the rendering server on the first terminal;
  • the third sending unit is configured to send a second switching response corresponding to the second switching request to the second terminal, where the second switching response is used to instruct the second terminal to establish a connection between the local cloud game client and the rendering server according to the cloud game information Communication link.
  • a tenth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
  • the third receiving unit is configured to receive a connection establishment request sent by the second terminal, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
  • the fourth sending unit is configured to send a switching prompt corresponding to the connection establishment request and the cloud on the first terminal to the second terminal when it is detected that a communication link is established between the cloud game client on the first terminal and the rendering server.
  • the cloud game information corresponding to the game client, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account, and the switching prompt is used to prompt the user whether to establish a local cloud game client based on the cloud game information
  • the eleventh aspect of the embodiments of the present application provides a terminal device, including: a memory, a transceiver, a processor, and a bus system;
  • the memory is used to store programs
  • the processor is used to execute the program in the memory to execute the method of any one of the first aspect and the second aspect of the above-mentioned embodiment.
  • a twelfth aspect of the embodiments of the present application provides a management server, including: a memory, a transceiver, a processor, and a bus system;
  • the memory is used to store programs
  • the processor is used to execute the program in the memory to execute the method of any one of the third aspect, the fourth aspect, and the fifth aspect of the foregoing embodiment.
  • the thirteenth aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any one of the first aspect to the fifth aspect of the above-mentioned embodiment method.
  • the fourteenth aspect of the embodiments of the present application provides a computer program product, which when running on a computer, causes the computer to execute the method described in any one of the first aspect to the fifth aspect of the foregoing embodiment.
  • the first terminal runs a cloud game client, and a communication link is established between the cloud game client and the rendering server.
  • the first terminal obtains the first switching instruction, it sends the cloud game client to the second terminal according to the first switching instruction.
  • Game information and then the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information, thereby completing the cross-terminal switching of the cloud game.
  • the second terminal directly uses the communication link
  • the interaction with the rendering server does not require forwarding through the first terminal, which avoids the defect of interaction delay caused by the screen projection method.
  • FIG. 1 is a schematic diagram of the framework of a cloud game system in an embodiment of the application
  • FIG. 2 is a schematic diagram of a first embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
  • Figure 3(a) is a schematic diagram of a second embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
  • Figure 3(b) is a schematic diagram of a third embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
  • FIG. 4 is a schematic diagram of a fourth embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
  • FIG. 5 is a schematic diagram of a fifth embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
  • FIG. 6 is a schematic diagram of a first embodiment of a cloud game cross-terminal switching device in an embodiment of this application;
  • FIG. 7 is a schematic diagram of a second embodiment of a cloud game cross-terminal switching device in an embodiment of this application.
  • FIG. 8 is a schematic diagram of a third embodiment of a cloud game cross-terminal switching device in an embodiment of this application.
  • FIG. 9 is a schematic diagram of a fourth embodiment of a cloud game cross-terminal switching device in an embodiment of this application.
  • FIG. 10 is a schematic diagram of a fifth embodiment of a cloud game cross-terminal switching device in an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • FIG. 12 is a schematic diagram of a structure of a management server provided by an embodiment of this application.
  • the embodiments of the present application provide a method and related device for switching cloud games across terminals, which are used to switch cloud games across terminals, avoiding the defect of interaction delay caused by screen projection methods.
  • Fig. 1 is a schematic diagram of the framework of the cloud game system in an embodiment of the present application.
  • the cloud game system includes a terminal and a cloud server.
  • the number of terminals is one or more, and to achieve cross-terminal switching of cloud games, the number of terminals should be multiple.
  • Terminals include but are not limited to mobile phones, tablets, smart TVs, etc., where Figure 1 shows The first terminal and the second terminal.
  • Cloud servers can be divided into management servers and rendering servers according to their functions.
  • the number of rendering servers can be one or more.
  • Figure 1 shows a rendering server; the management server is responsible for the account authentication and rendering of the cloud game client on the terminal. Server allocation and terminal state management, etc.
  • the rendering server is responsible for running the game entity, receiving user instructions from the cloud game client and rendering the corresponding game screen, and then pushing the game screen to the client for display.
  • an embodiment of the present application proposes a method for cross-terminal switching of cloud games, which can switch the cloud game from the first terminal to the second terminal, so that the user can directly use the cloud game of the second terminal
  • the client interacts with the rendering server to avoid the shortcomings of interaction delay caused by the screen projection method.
  • the process of establishing a communication link may include: the first terminal starts the cloud game client, and logs in to the cloud game client through the account, and then the management server authenticates the account. After the authentication is successful, the management server uses a certain algorithm from at least one One rendering server is selected among the rendering servers, and the IP address of the selected rendering server is sent to the first terminal, and finally the first terminal establishes a communication link with the rendering server through the IP address.
  • FIG. 2 is a schematic diagram of a first embodiment of a method for switching a cloud game across terminals in an embodiment of the present application.
  • the embodiment of the present application provides a first embodiment of a method for switching a cloud game across terminals, including:
  • the first terminal obtains a first switching instruction.
  • a communication link is established between the cloud game client on the first terminal and the rendering server.
  • the communication link is generally a two-way link, specifically including an uplink and a downlink, and the uplink is used for The rendering server transmits the user's instructions, and the downlink is used for the rendering server to transmit the video stream of the cloud game screen to the terminal, which will not be repeated hereafter.
  • the first switching instruction can have multiple contents, which are not limited in the embodiment of this application.
  • it can be the ID of the second terminal or other indication information related to the second terminal; and there are many ways to obtain the first switching instruction.
  • the first terminal may also obtain the second terminal through NFC technology.
  • the ID of the terminal compared to obtaining the ID of the second terminal by scanning QR codes and barcodes, etc., based on NFC technology, the first terminal only needs to be close to the NFC tag of the second terminal to read the ID of the second terminal. ,Convenient.
  • the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal.
  • the cloud game information can be set according to actual needs. For example, it can include the ID of the cloud game and the IP address of the rendering server. In addition, the cloud game information may also include the account and password for logging in to the first terminal.
  • the cloud game client can include one cloud game or multiple cloud games.
  • the cloud game running on the rendering server can be determined according to the ID of the cloud game.
  • the first terminal sends cloud game information to the second terminal according to the first switching instruction.
  • the first terminal can send cloud game information according to the first switching instruction, which is not limited in the embodiment of this application; wherein, when the first switching instruction is the ID of the second terminal, the first switching instruction is the ID of the second terminal.
  • the terminal can then determine the second terminal according to the ID of the second terminal, so that cloud game information can be sent.
  • the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
  • the second terminal needs to receive cloud game information corresponding to the cloud game client on the first terminal.
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the basic establishment process is the same as the process for the first terminal to establish a communication link, that is, a communication link is established with the rendering server according to the IP address of the rendering server.
  • the cloud game client on the second terminal first needs to run; there are many ways to run, if the cloud game client on the second terminal has been pre-started and used Login with the same account password as the first terminal, then in step 103, there is no need to restart the cloud game client.
  • the second terminal is a smart TV, after the second terminal is started, it will automatically be based on the historical account and password.
  • the second terminal can use the cloud game ID, The account and password are used to log in to the cloud game client; if the cloud game client on the second terminal is not pre-started, the second terminal can start and log in to the cloud game client according to the cloud game ID, account and password in the cloud game information, For example, when the first terminal is one's own mobile phone and the second terminal is another's mobile phone, the cloud game client on the other's mobile phone may be in a state that has not been activated in advance. Since the second terminal can automatically log in to the game client, there is no need to manually log in to the game client on the second terminal, so that the cloud game switching process can be performed automatically.
  • first terminal and the second terminal may be the same type of terminal, for example, both the first terminal and the second terminal are mobile phones; they may also be different types of terminals, for example, the first terminal is a mobile phone, and the second terminal is a mobile phone.
  • the smart TV is not limited in this embodiment of the application.
  • the second terminal after the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information, the second terminal directly interacts with the rendering server through the communication link, and the second terminal not only
  • the game screen of the cloud game can be displayed, and user instructions can also be obtained and transmitted to the rendering server to achieve control of the cloud game.
  • there is no need to forward through the first terminal which avoids the screen projection method. Come to interact with the defect of delay.
  • the rendering server since the rendering server has established a communication link with the second terminal, the communication link with the first terminal can be disconnected to release the resources of the first terminal; To watch the game screen of the cloud game on a terminal, the rendering server may only disconnect the uplink with the first terminal, so that the first terminal can receive the video stream of the game screen through the downlink. In this case, if the cloud game is switched from the second terminal to the first terminal later, since the downlink between the first terminal and the rendering server is not disconnected, the connection between the first terminal and the rendering server is established. For the communication link, only the uplink between the first terminal and the rendering server needs to be established.
  • the first terminal may also send a status update message to the management server, so that the management server updates the status of the first terminal in time.
  • the rendering server may choose to disconnect the communication link or the uplink of the first terminal when receiving the user instruction sent by the second terminal via the uplink.
  • FIG. 3(a) is a schematic diagram of a second embodiment of a method for switching between cloud games across terminals in an embodiment of the present application.
  • the embodiment of the present application provides a second embodiment of a method for switching a cloud game across terminals, including:
  • the first terminal obtains a first switching instruction.
  • Step 201 in the embodiment of the present application is the same as step 101 in the first embodiment.
  • step 101 in the first embodiment for details, reference may be made to step 101 in the first embodiment for understanding.
  • the first terminal directly sends cloud game information to the second terminal according to the first switching instruction.
  • the first terminal can directly send cloud game information to the second terminal.
  • both the first terminal and the second terminal have NFC functions.
  • the first terminal and the second terminal can also use other wireless communication technologies such as Bluetooth to transmit cloud games.
  • the second terminal directly receives the cloud game information corresponding to the cloud game client sent by the first terminal.
  • the second terminal sends a second switching request to the management server according to the cloud game information.
  • the second switching request is used to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the management server since the management server is responsible for managing the terminal access to the rendering server, the second terminal needs to send a second switching request, where the second switching request may include the IP address of the rendering server.
  • the management server needs to receive the second handover request sent by the second terminal.
  • the management server sends a second handover response corresponding to the second handover request to the second terminal.
  • the second switching response is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the second terminal needs to receive the second handover response corresponding to the second handover request sent by the management server.
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
  • the second terminal can establish a communication link with the local cloud game client and the rendering server according to the cloud game information.
  • the second terminal directly receives the cloud game information sent by the first terminal, which is suitable for scenarios where the first terminal and the second terminal can directly communicate with each other. Compared with the first terminal, the cloud game information is forwarded through other devices. To the second terminal, the method of the embodiment of the present application is convenient and quick.
  • the second terminal directly receives the cloud game information sent by the first terminal.
  • the following will take the second terminal through the management server to receive the cloud game information sent by the first terminal as an example. Methods are introduced.
  • the first terminal sends cloud game information to the second terminal after acquiring the first switching instruction.
  • the second terminal receives the cloud game information sent by the first terminal, and the second terminal can also directly Read cloud game information in the first terminal.
  • FIG. 3(b) is a schematic diagram of a third embodiment of a method for switching a cloud game across terminals in an embodiment of the present application.
  • the embodiment of the present application provides a third embodiment of a method for switching a cloud game across terminals, including:
  • the second terminal directly reads cloud game information corresponding to the cloud game client on the first terminal.
  • the second terminal when both the first terminal and the second terminal have NFC functions, when the second terminal is close to the first terminal, it can directly read the cloud game information in the first terminal.
  • the second terminal can also The cloud game information on the first terminal is directly read by other methods, which is not limited in the embodiment of the present application.
  • the second terminal sends a second switching request to the management server according to the cloud game information.
  • the management server sends a second handover response corresponding to the second handover request to the second terminal.
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
  • steps 207 to 209 in the embodiment of the present application are respectively the same as steps 203 to 205 in the second embodiment.
  • steps 203 to 205 in the second embodiment for details, reference may be made to steps 203 to 205 in the second embodiment for understanding.
  • the second terminal can directly read the cloud game information in the first terminal, which is more convenient and quicker than the method in which the first terminal obtains the switching instruction and then sends the cloud game to the first terminal.
  • FIG. 4 is a schematic diagram of a fourth embodiment of a method for switching between cloud games across terminals in an embodiment of the present application.
  • the embodiment of the present application provides a fourth embodiment of a method for cloud game switching across terminals, including:
  • the first terminal obtains a first switching instruction.
  • Step 301 in the embodiment of the present application is the same as step 101 in the first embodiment.
  • step 101 in the first embodiment for details, reference may be made to step 101 in the first embodiment for understanding.
  • the first terminal sends a first switching request to the management server according to the first switching instruction.
  • the first switching request carries cloud game information
  • the first switching request is used to instruct the management server to send the cloud game information to the second terminal.
  • the first terminal and the second terminal cannot directly transmit cloud game information.
  • the first terminal when the first terminal is a mobile phone, and when the second terminal is a smart TV, the mobile phone cannot directly send cloud game information to the smart TV. ;
  • the first terminal needs to send a first switching request to the management server, the first switching request instructs the management server to send cloud game information to the second terminal.
  • the management server needs to receive the first handover request sent by the first terminal.
  • the management server sends cloud game information to the second terminal according to the first switching request.
  • the management server will send cloud game information to the second terminal.
  • the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server. road.
  • the management server for the management server to be able to send cloud game information to the second terminal, a communication connection between the second terminal and the management server must be ensured, and the communication connection may be a long heartbeat connection.
  • the second terminal needs to receive cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • Step 304 in the embodiment of the present application is the same as step 103 in the first embodiment.
  • step 103 in the first embodiment for details, reference may be made to step 103 in the first embodiment for understanding.
  • the first terminal can send cloud game information to the second terminal through the management server, so this method is suitable for scenarios where the first terminal and the second terminal cannot directly transmit cloud game information.
  • the premise for the management server to send cloud game information to the second terminal is that the first terminal sends the first switching request to the management server according to the first switching instruction, and the management server sends to the second terminal.
  • cloud game information There are also multiple cases of cloud game information. The following will take another case where the management server sends cloud game information to the second terminal as an example to introduce a method for switching between cloud games across terminals.
  • FIG. 5 is a schematic diagram of a fifth embodiment of a method for switching between cloud games across terminals in an embodiment of the present application.
  • the embodiment of the present application provides a fifth embodiment of a method for switching a cloud game across terminals, including:
  • the second terminal sends a connection establishment request to the management server.
  • connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server.
  • the second terminal will send a connection establishment request to the management server.
  • the management server will receive the connection establishment request sent by the second terminal.
  • the management server If the management server detects that a communication link is established between the cloud game client on the first terminal and the rendering server, it sends cloud game information corresponding to the cloud game client on the first terminal and establishes a connection with the second terminal. Request the corresponding switching prompt.
  • the management server will feed back a response from the second terminal to instruct the second terminal to establish a communication link between the cloud game client and the rendering server.
  • the management server detects that the cloud game client on the first terminal has established a communication link with the rendering server, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same Account, the switching prompt is sent to the second terminal, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the switching prompt can also prevent the user from misoperation. For example, the user forgets to start the cloud game client on the first terminal to establish a communication link with the rendering server, and then restarts the game client on the second terminal repeatedly , The switch prompt can avoid this situation.
  • the second terminal needs to receive the cloud game information corresponding to the cloud game client on the first terminal and the switching prompt corresponding to the connection establishment request sent by the management server.
  • the second terminal receives a second switching instruction corresponding to the switching prompt input by the user, where the second switching instruction is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the second terminal when the second terminal receives the switching prompt, it will display the switching prompt to the user, and the user can input a second switching instruction corresponding to the switching prompt to instruct the second terminal to establish a local cloud game based on the cloud game information
  • the embodiment of the present application does not specifically limit the second switching instruction.
  • the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the second terminal after receiving the second switching instruction, the second terminal needs to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the management server can obtain the cloud game information corresponding to the cloud game client on the first terminal, and does not require the first terminal to send to the second terminal or the second terminal.
  • the second terminal or the first terminal actively sends a switching request to the management server, which is suitable for cloud game switching between any two terminals, especially when the first terminal cannot directly send cloud game information to the second terminal, for example, when the first terminal cannot directly send cloud game information to the second terminal.
  • the terminal is a smart TV, you can directly log in to the cloud game client on a mobile terminal such as a mobile phone to switch between cloud games.
  • FIG. 6 is a schematic diagram of a first embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application.
  • an embodiment of the present application provides a first embodiment of a cloud game cross-terminal switching device, which is applied to a terminal, and includes:
  • the first acquiring unit 501 is configured to acquire a first switching instruction, and the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal, and the cloud game client on the first terminal and the rendering A communication link is established between the servers;
  • the first sending unit 502 is configured to send cloud game information to the second terminal according to the first switching instruction, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
  • the first sending unit 502 is configured to:
  • the cloud game information is directly sent to the second terminal according to the first switching instruction.
  • the first sending unit 502 is configured to:
  • a first switching request is sent to the management server according to the first switching instruction, the first switching request carries cloud game information, and the first switching request is used to instruct the management server to send cloud game information to the second terminal.
  • the first obtaining unit 501 is used for:
  • FIG. 7 is a schematic diagram of a second embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application.
  • an embodiment of the present application provides a second embodiment of a cloud game cross-terminal switching device, which is applied to a terminal, and includes:
  • the second acquiring unit 601 is configured to acquire cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
  • the first processing unit 602 is configured to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the second obtaining unit 601 is used for:
  • first processing unit 602 is configured to:
  • the second obtaining unit 601 is used for:
  • the device also includes:
  • the fifth sending unit 603 is configured to send a connection establishment request to the management server, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
  • the second acquiring unit 601 is further configured to receive a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information ;
  • a second switching instruction corresponding to the switching prompt input by the user is received, where the second switching instruction is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
  • the second acquiring unit 601 is configured to directly read cloud game information corresponding to the cloud game client on the first terminal.
  • FIG. 8 is a schematic diagram of a third embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application.
  • an embodiment of the present application provides a third embodiment of a cloud game cross-terminal switching device, which is applied to a server, and includes:
  • the first receiving unit 701 is configured to receive a first switching request sent by a first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
  • the second sending unit 702 is configured to send cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
  • FIG. 9 is a schematic diagram of a fourth embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application.
  • an embodiment of the present application provides a fourth embodiment of a cloud game cross-terminal switching device, which is applied to a server, and includes:
  • the second receiving unit 801 is configured to receive a second switching request sent by the second terminal, and the second switching request is used to request the establishment of a local cloud game client and rendering based on the cloud game information corresponding to the cloud game client on the first terminal A communication link between the servers, a communication link is established between the cloud game client on the first terminal and the rendering server;
  • the third sending unit 802 is configured to send a second switching response corresponding to the second switching request to the second terminal.
  • the second switching response is used to instruct the second terminal to establish a local cloud game client and rendering server based on the cloud game information. Communication link between.
  • FIG. 10 is a schematic diagram of a fifth embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application.
  • the embodiment of the present application provides a fifth embodiment of a cloud game cross-terminal switching device, which is applied to a server, and includes:
  • the third receiving unit 901 is configured to receive a connection establishment request sent by the second terminal, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
  • the fourth sending unit 902 is configured to send to the second terminal a switching prompt corresponding to the connection establishment request and a notification on the first terminal when it is detected that a communication link is established between the cloud game client on the first terminal and the rendering server.
  • the cloud game information corresponding to the cloud game client, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account, and the switching prompt is used to prompt the user whether to establish a local cloud game based on the cloud game information
  • the attribute information display device can be any terminal equipment including mobile phones, tablet computers, personal digital assistants (PDAs), point of sales (POS), on-board computers, etc. Take the attribute information display device as a mobile phone as an example :
  • FIG. 11 shows a block diagram of a part of the structure of a mobile phone related to the attribute information display device provided by an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, and a processor 1180 , And power supply 1190 and other components.
  • RF radio frequency
  • the RF circuit 1110 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1180; in addition, the designed uplink data is sent to the base station.
  • the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 1110 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • the memory 1120 may be used to store software programs and modules.
  • the processor 1180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1120.
  • the memory 1120 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 1130 may be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the mobile phone.
  • the input unit 1130 may include a touch panel 1131 and other input devices 1132.
  • the touch panel 1131 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1180, and can receive and execute the commands sent by the processor 1180.
  • the touch panel 1131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick.
  • the display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 1140 may include a display panel 1141.
  • the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • the touch panel 1131 can cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it transmits it to the processor 1180 to determine the type of the touch event, and then the processor 1180 responds to the touch event. The type provides corresponding visual output on the display panel 1141.
  • the touch panel 1131 and the display panel 1141 are used as two independent components to implement the input and input functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated. Realize the input and output functions of the mobile phone.
  • the mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1141 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1141 and/or when the mobile phone is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary.
  • the audio circuit 1160, the speaker 1161, and the microphone 1162 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 1160 can transmit the electrical signal converted from the received audio data to the speaker 1161, which is converted into a sound signal by the speaker 1161 for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After being received, it is converted into audio data, and then processed by the audio data output processor 1180, and sent to, for example, another mobile phone via the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.
  • WiFi is a short-distance wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1170. It provides users with wireless broadband Internet access.
  • FIG. 11 shows the WiFi module 1170, it is understandable that it is not a necessary component of the mobile phone, and can be omitted as needed without changing the essence of the invention.
  • the processor 1180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. Various functions and processing data of the mobile phone can be used to monitor the mobile phone as a whole.
  • the processor 1180 may include one or more processing units; optionally, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs. And so on, the modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1180.
  • the mobile phone also includes a power source 1190 (such as a battery) for supplying power to various components.
  • a power source 1190 such as a battery
  • the power source may be logically connected to the processor 1180 through a power management system, so that functions such as charging, discharging, and power management are managed through the power management system.
  • the mobile phone may also include a camera module, a Bluetooth module, etc., which will not be repeated here.
  • the processor 1180 included in the terminal device also has the function of the cloud game cross-terminal switching device shown in FIG. 6 and FIG. 7 in the foregoing embodiment.
  • FIG. 12 is a schematic diagram of a structure of the management server provided by an embodiment of the present application.
  • the management server 1200 may have relatively large differences due to different configurations or performances. , May include one or more central processing units (CPU) 1222 (e.g., one or more processors) and memory 1232, and one or more storage media 1230 (e.g., one Or a storage device in Shanghai). Among them, the memory 1232 and the storage medium 1230 may be short-term storage or persistent storage.
  • the program stored in the storage medium 1230 may include one or more modules (not shown in the figure), and each module may include a series of command operations on the server.
  • the central processing unit 1222 may be configured to communicate with the storage medium 1230, and execute a series of instruction operations in the storage medium 1230 on the management server 1200.
  • the management server 1200 may also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input and output interfaces 1258, and/or one or more operating systems 1241, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • operating systems 1241 such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the steps performed by the management server in the foregoing embodiment may be based on the management server structure shown in FIG. 12.
  • An embodiment of the present application also provides a computer-readable storage medium, which stores electronic payment instructions, which when run on a computer, causes the computer to execute the above-mentioned embodiments shown in FIGS. 2 to 5 The steps performed by the terminal device and the management server in the described method.
  • the embodiment of the present application also provides a computer program product, which when running on a computer, causes the computer to execute the steps performed by the terminal device and the management server in the method described in the embodiments shown in FIGS. 2 to 5 above.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .

Abstract

A method for cross-terminal switching of a cloud game and a related device, used for performing cross-terminal switching on the cloud game. The method comprises: a first terminal has a cloud game client running therein, a communication link is established between the cloud game client and a rendering server, and when the first terminal obtains a first switching instruction (101), the first terminal sends cloud game information according to the first switching instruction (102); then a second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information (103), so as to complete cross-terminal switching of the cloud game, and after the switching is completed, the second terminal directly interacts with the rendering server by means of the communication link, avoiding the defect of interaction delay caused by a projection mode.

Description

一种云游戏跨终端切换的方法和相关装置Method and related device for cloud game switching across terminals
本申请要求于2019年10月22日提交中国专利局、申请号为201911010529.0、发明名称为“一种云游戏跨终端切换的方法和相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on October 22, 2019, the application number is 201911010529.0, and the invention title is "a method and related device for switching cloud games across terminals", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及云计算技术领域,尤其涉及一种云游戏跨终端切换的方法和相关装置。This application relates to the field of cloud computing technology, and in particular to a method and related device for switching between cloud games across terminals.
背景技术Background technique
随着云计算技术的发展,云计算技术已经被应用于各个领域,其中一个领域就是云游戏。With the development of cloud computing technology, cloud computing technology has been applied in various fields, one of which is cloud gaming.
在云游戏模式下,游戏运行在云端服务器,云端服务器把游戏渲染的视频流推流到终端上的客户端;客户端无需安装游戏,只需实时解码视频流,并将用户的输入指令上传给云端服务器,即可实现对游戏的控制。In the cloud game mode, the game runs on the cloud server, and the cloud server pushes the video stream rendered by the game to the client on the terminal; the client does not need to install the game, only needs to decode the video stream in real time and upload the user's input instructions to The cloud server can realize the control of the game.
在云游戏运行的过程中,可能面临跨终端切换的情况。例如,像移动终端等小屏终端便于携带,而像大屏电视机等大屏终端临场感更强,所以用户不同场景会选择不同的终端操作云游戏,因此需要将云游戏在多终端间进行切换。具体地,用户回到家里,可以将云游戏从手机切换到智能电视,以享受更高的分辨率。In the process of running cloud games, you may be faced with cross-terminal switching. For example, small-screen terminals such as mobile terminals are easy to carry, while large-screen terminals such as large-screen TVs have a stronger sense of presence. Therefore, users will choose different terminals to operate cloud games in different scenarios. Therefore, cloud games need to be played between multiple terminals. Switch. Specifically, when the user returns home, he can switch cloud gaming from his mobile phone to a smart TV to enjoy a higher resolution.
目前,一种跨终端切换云游戏的方法是,通过手机投屏的方式将云游戏切换到大屏终端上。然而,采用这种方法对云游戏进行跨终端切换,云游戏的视频流需要经过手机终端,增加了大屏终端显示云游戏画面的延迟。Currently, a method for switching cloud games across terminals is to switch cloud games to large-screen terminals through mobile phone projection. However, using this method to switch the cloud game across terminals, the video stream of the cloud game needs to pass through the mobile terminal, which increases the delay for the large-screen terminal to display the cloud game screen.
发明内容Summary of the invention
本申请实施例提供了一种云游戏跨终端切换的方法和相关装置,用于对云游戏进行跨终端切换,避免了投屏方式带来交互延迟的缺陷。The embodiments of the present application provide a method and related device for switching cloud games across terminals, which are used to switch cloud games across terminals, avoiding the defect of interaction delay caused by screen projection methods.
本申请实施例第一方面提供了一种云游戏跨终端切换的方法,包括:The first aspect of the embodiments of the present application provides a method for switching cloud games across terminals, including:
第一终端上运行有云游戏客户端,该游戏客户端与渲染服务器之间建立有通信链路,此时,第一终端可能获取第一切换指令;A cloud game client runs on the first terminal, and a communication link is established between the game client and the rendering server. At this time, the first terminal may obtain the first switching instruction;
当第一终端获取到第一切换指令时,会根据第一切换指令向第二终端发送云游戏信息,然后第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。When the first terminal obtains the first switching instruction, it sends cloud game information to the second terminal according to the first switching instruction, and then the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information road.
通过上述过程可以完成云游戏的跨终端切换,在切换完成后,第二终端通过通信链路直接与渲染服务器进行交互,避免了投屏方式带来交互延迟的缺陷。Through the above process, the cross-terminal switching of the cloud game can be completed. After the switching is completed, the second terminal directly interacts with the rendering server through the communication link, thereby avoiding the defect of interaction delay caused by the screen projection method.
基于第一方面,本申请实施例还提供了第一方面的第一种实施方式,Based on the first aspect, the embodiments of the present application also provide the first implementation manner of the first aspect.
第一终端根据第一切换指令向第二终端发送云游戏信息包括:The first terminal sending cloud game information to the second terminal according to the first switching instruction includes:
第一终端根据第一切换指令直接向第二终端发送云游戏信息,例如可以采用距离无线通信NFC技术进行发送。The first terminal directly sends cloud game information to the second terminal according to the first switching instruction, for example, the distance wireless communication NFC technology may be used for transmission.
第一终端直接向第二终端发送云游戏信息,方便快捷,能够节省第二终端与渲染服务器建立通信链路的时间。The first terminal directly sends cloud game information to the second terminal, which is convenient and quick, and can save the time for the second terminal to establish a communication link with the rendering server.
基于第一方面,本申请实施例还提供了第一方面的第二种实施方式,Based on the first aspect, the embodiments of the present application also provide a second implementation manner of the first aspect.
第一终端根据第一切换指令向第二终端发送云游戏信息包括:The first terminal sending cloud game information to the second terminal according to the first switching instruction includes:
第一终端根据第一切换指令向管理服务器发送第一切换请求,第一切换请求中携带有云游戏信息,管理服务器在接收到第一切换请求后向第二终端发送云游戏信息。The first terminal sends a first switching request to the management server according to the first switching instruction, the first switching request carries cloud game information, and the management server sends the cloud game information to the second terminal after receiving the first switching request.
第一终端通过管理服务器向第二终端发送云游戏信息,适用于第二终端不能直接接收第一终端的云游戏信息的场景,例如,第二终端不具备NFC技术功能。The first terminal sends cloud game information to the second terminal through the management server, which is suitable for scenarios where the second terminal cannot directly receive cloud game information of the first terminal. For example, the second terminal does not have the NFC technology function.
基于第一方面,本申请实施例还提供了第一方面的第三种实施方式,Based on the first aspect, the embodiments of the present application also provide a third implementation manner of the first aspect.
第一终端获取第一切换指令包括:The obtaining of the first switching instruction by the first terminal includes:
第一终端通过近距离无线通信NFC技术获取第二终端的ID。The first terminal obtains the ID of the second terminal through NFC technology.
当第一终端获取到第二终端的ID时,便向第二终端发送云游戏信息,提供了一种获取第一切换指令的方案。When the first terminal obtains the ID of the second terminal, it sends cloud game information to the second terminal, providing a solution for obtaining the first switching instruction.
本申请实施例第二方面提供了一种云游戏跨终端切换的方法,包括:A second aspect of the embodiments of the present application provides a method for switching between cloud games across terminals, including:
第二终端获取第一终端上的云游戏客户端对应的云游戏信息,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The second terminal obtains cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
第二终端通过通信链路直接与渲染服务器进行交互,避免了投屏方式带来交互延迟的缺陷。The second terminal directly interacts with the rendering server through the communication link, which avoids the defect of interaction delay caused by the screen projection method.
基于第二方面,本申请实施例还提供了第二方面的第一种实施方式,Based on the second aspect, the embodiments of the present application also provide the first implementation manner of the second aspect.
第二终端获取第一终端上的云游戏客户端对应的云游戏信息包括:The second terminal acquiring cloud game information corresponding to the cloud game client on the first terminal includes:
第二终端直接接收第一终端发送的云游戏客户端对应的云游戏信息。The second terminal directly receives the cloud game information corresponding to the cloud game client sent by the first terminal.
第二终端直接接收第一终端发送的云游戏信息,方便快捷,能够节省第二终端与渲染服务器建立通信链路的时间。The second terminal directly receives the cloud game information sent by the first terminal, which is convenient and quick, and can save the time for the second terminal to establish a communication link with the rendering server.
基于第二方面的第一种实施方式,本申请实施例还提供了第二方面的第二种实施方式,Based on the first implementation manner of the second aspect, the embodiments of the present application also provide the second implementation manner of the second aspect.
由于第二终端直接从第一终端获取了云游戏信息,所以第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路包括:Since the second terminal directly obtains the cloud game information from the first terminal, the second terminal establishing the communication link between the local cloud game client and the rendering server according to the cloud game information includes:
第二终端根据云游戏信息向管理服务器发送第二切换请求,以请求根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;The second terminal sends a second switching request to the management server according to the cloud game information to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information;
第二终端接收管理服务器发送的与第二切换请求对应的第二切换响应;The second terminal receives a second handover response corresponding to the second handover request sent by the management server;
第二终端根据第二切换响应和云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The second terminal establishes a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
上述过程提供了,当第二终端直接接收第一终端发送的云游戏信息时,进行通信链路建立的一个可行的方案。The above process provides a feasible solution for establishing a communication link when the second terminal directly receives the cloud game information sent by the first terminal.
基于第二方面,本申请实施例还提供了第二方面的第三种实施方式,Based on the second aspect, the embodiments of the present application also provide a third implementation manner of the second aspect.
第二终端获取第一终端上的云游戏客户端对应的云游戏信息包括:The second terminal acquiring cloud game information corresponding to the cloud game client on the first terminal includes:
第二终端接收管理服务器发送的第一终端上的云游戏客户端对应的云游戏信息。The second terminal receives cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
第二终端通过管理服务器接收第一终端发送的云游戏信息,适用于第二终端不能直接接收第一终端的云游戏信息的场景,例如,第二终端不具备NFC技术功能。The second terminal receives the cloud game information sent by the first terminal through the management server, which is suitable for scenarios where the second terminal cannot directly receive the cloud game information of the first terminal. For example, the second terminal does not have the NFC technology function.
基于第二方面的第三种实施例,本申请实施例还提供了第二方面的第四种实施方式,在第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路之前,方法还包括:Based on the third embodiment of the second aspect, an embodiment of the present application also provides a fourth implementation manner of the second aspect. The communication between the local cloud game client and the rendering server is established at the second terminal according to the cloud game information. Before the link, the method also includes:
第二终端向管理服务器发送建立连接请求,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The second terminal sends a connection establishment request to the management server, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
第二终端接收管理服务器发送的与建立连接请求对应的切换提示,切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;The second terminal receives a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information;
若需要根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路,则用户输入与切换提示对应的第二切换指令,第二终端在接收到第二切换指令后,根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。If it is necessary to establish a communication link between the local cloud game client and the rendering server based on the cloud game information, the user inputs a second switching instruction corresponding to the switching prompt, and the second terminal receives the second switching instruction according to the cloud The game information establishes a communication link between the local cloud game client and the rendering server.
管理服务器向第二终端发送云游戏信息存在多种情况,上述过程提供了一种情况,即当第二终端请求建立与渲染服务器之间的通信链路时,管理服务器提示是否进行云游戏切换,使得本申请实施例的方法能够适用于多种场景。There are many situations in which the management server sends cloud game information to the second terminal. The above process provides a situation, that is, when the second terminal requests to establish a communication link with the rendering server, the management server prompts whether to perform cloud game switching. This enables the method in the embodiments of the present application to be applicable to multiple scenarios.
基于第二方面,本申请实施例还提供了第二方面的第五种实施方式,Based on the second aspect, the embodiments of the present application also provide a fifth implementation manner of the second aspect.
第二终端获取第一终端上的云游戏客户端对应的云游戏信息包括:第二终端直接读取第一终端上云游戏客户端对应的云游戏信息。Obtaining the cloud game information corresponding to the cloud game client on the first terminal by the second terminal includes: the second terminal directly reads the cloud game information corresponding to the cloud game client on the first terminal.
在本申请实施例中,第二终端可以直接读取第一终端中的云游戏信息,与第一终端获取到切换指令再向第一终端发送云游戏的方式相比,更加方便快捷。In the embodiment of the present application, the second terminal can directly read the cloud game information in the first terminal, which is more convenient and quicker than the method in which the first terminal obtains the switching instruction and then sends the cloud game to the first terminal.
本申请实施例第三方面提供了一种云游戏跨终端切换的方法,应用于管理服务器,包括:The third aspect of the embodiments of the present application provides a method for switching cloud games across terminals, which is applied to a management server, and includes:
管理服务器接收第一终端发送的第一切换请求,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路,第一切换请求中携带有云游戏信息;The management server receives the first switching request sent by the first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
管理服务器根据第一切换请求向第二终端发送云游戏信息,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。The management server sends cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
本申请实施例适用于第二终端不能直接接收云游戏信息的场景。The embodiments of the present application are applicable to scenarios where the second terminal cannot directly receive cloud game information.
本申请实施例第四方面提供了一种云游戏跨终端切换的方法,应用于管理服务器,包括:The fourth aspect of the embodiments of the present application provides a cloud game cross-terminal switching method, which is applied to a management server, and includes:
管理服务器接收第二终端发送的第二切换请求,第二切换请求用于请求根据第一终端上云游戏客户端对应的云游戏信息,建立本地的云游戏客户端与渲染服务器之间的通信链路,第一终端上云游戏客户端与渲染服务器之间建立有通信链路;The management server receives the second switching request sent by the second terminal, and the second switching request is used to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information corresponding to the cloud game client on the first terminal Road, a communication link is established between the cloud game client on the first terminal and the rendering server;
管理服务器向第二终端发送与第二切换请求对应的第二切换响应,第二切换响应用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The management server sends a second switching response corresponding to the second switching request to the second terminal, where the second switching response is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
本申请实施例适用于第二终端直接接收云游戏信息的场景。The embodiments of this application are applicable to scenarios where the second terminal directly receives cloud game information.
本申请实施例第五方面提供了一种云游戏跨终端切换的方法,应用于管理服务器,包括:The fifth aspect of the embodiments of the present application provides a method for switching cloud games across terminals, which is applied to a management server, and includes:
管理服务器接收第二终端发送的建立连接请求,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The management server receives the connection establishment request sent by the second terminal, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
管理服务器若检测到第一终端上的云游戏客户端与渲染服务器之间建立通信链路,则向第二终端发送第一终端上的云游戏客户端对应的云游戏信息和与建立连接请求对应的切换提示,第一终端上的云游戏客户端与第二终端上本地的云游戏客户端登录同一账号,切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。If the management server detects that a communication link is established between the cloud game client on the first terminal and the rendering server, it sends cloud game information corresponding to the cloud game client on the first terminal and corresponding to the connection establishment request to the second terminal The switching prompt of the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account. The switching prompt is used to prompt the user whether to establish the local cloud game client and the rendering server based on the cloud game information. Communication link between.
本申请实施例适用于当第二终端请求建立通信链路时,管理服务器发现同一账号下的第一终端上运行有云游戏的客户端,因此提示用户是否进行云游戏的切换。The embodiments of the present application are applicable to when the second terminal requests to establish a communication link, the management server finds that there is a cloud game client running on the first terminal under the same account, and therefore prompts the user whether to switch to the cloud game.
本申请实施例第六方面提供了一种云游戏跨终端切换的装置,包括:A sixth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
第一获取单元,用于获取第一切换指令,第一切换指令用于指示第一终端向第二终端发送云游戏客户端对应的云游戏信息,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The first acquiring unit is configured to acquire a first switching instruction, and the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal, the cloud game client on the first terminal and the rendering server There is a communication link between them;
第一发送单元,用于根据第一切换指令向第二终端发送云游戏信息,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。The first sending unit is configured to send cloud game information to the second terminal according to the first switching instruction, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
基于第六方面,本申请实施例还提供了第六方面的第一种实施方式,第一发送单元用于:Based on the sixth aspect, the embodiments of the present application also provide the first implementation manner of the sixth aspect, and the first sending unit is configured to:
根据第一切换指令直接向第二终端发送云游戏信息。The cloud game information is directly sent to the second terminal according to the first switching instruction.
基于第六方面,本申请实施例还提供了第六方面的第二种实施方式,第一发送单元用于:Based on the sixth aspect, the embodiments of the present application also provide a second implementation manner of the sixth aspect, and the first sending unit is configured to:
根据第一切换指令向管理服务器发送第一切换请求,第一切换请求中携带有云游戏信息,第一切换请求用于指示管理服务器向第二终端发送云游戏信息。A first switching request is sent to the management server according to the first switching instruction, the first switching request carries cloud game information, and the first switching request is used to instruct the management server to send cloud game information to the second terminal.
基于第六方面、第六方面的第一种实施方式或第六方面的第二种实施方式,本申请实施例还提供了第六方面的第三种实施方式,第一获取单元用于:Based on the sixth aspect, the first implementation manner of the sixth aspect, or the second implementation manner of the sixth aspect, an embodiment of the present application also provides a third implementation manner of the sixth aspect, and the first acquiring unit is configured to:
通过近距离无线通信NFC技术获取第二终端的ID。Obtain the ID of the second terminal through the NFC technology of short-range wireless communication.
本申请实施例第七方面提供了一种云游戏跨终端切换的装置,包括:A seventh aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
第二获取单元,用于获取第一终端上的云游戏客户端对应的云游戏信息,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The second acquiring unit is configured to acquire cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
第一处理单元,用于根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The first processing unit is configured to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
基于第七方面,本申请实施例还提供了第七方面的第一种实施方式,第二获取单元用于:Based on the seventh aspect, the embodiments of the present application also provide the first implementation manner of the seventh aspect, and the second acquiring unit is configured to:
直接接收第一终端发送的云游戏客户端对应的云游戏信息。Directly receive the cloud game information corresponding to the cloud game client sent by the first terminal.
基于第七方面的第一种实施方式,本申请实施例还提供了第七方面的第二种实施方式,第一处理单元用于:Based on the first implementation manner of the seventh aspect, an embodiment of the present application also provides a second implementation manner of the seventh aspect, and the first processing unit is configured to:
根据云游戏信息向管理服务器发送第二切换请求,第二切换请求用于请求根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;Sending a second switching request to the management server according to the cloud game information, where the second switching request is used to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information;
接收管理服务器发送的与第二切换请求对应的第二切换响应;Receiving a second handover response corresponding to the second handover request sent by the management server;
根据第二切换响应和云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链 路。The communication link between the local cloud game client and the rendering server is established according to the second switching response and the cloud game information.
基于第七方面,本申请实施例还提供了第七方面的第三种实施方式,第二获取单元用于:Based on the seventh aspect, the embodiments of the present application also provide a third implementation manner of the seventh aspect, and the second acquiring unit is configured to:
接收管理服务器发送的第一终端上的云游戏客户端对应的云游戏信息。Receive cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
基于第七方面,本申请实施例还提供了第七方面的第四种实施方式,装置还包括:Based on the seventh aspect, the embodiments of the present application further provide a fourth implementation manner of the seventh aspect, and the device further includes:
第五发送单元,用于向管理服务器发送建立连接请求,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The fifth sending unit is configured to send a connection establishment request to the management server, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
第二获取单元,还用于接收管理服务器发送的与建立连接请求对应的切换提示,切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;The second acquiring unit is further configured to receive a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information;
接收用户输入的与切换提示对应的第二切换指令,第二切换指令用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。A second switching instruction corresponding to the switching prompt input by the user is received, where the second switching instruction is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
基于第七方面,本申请实施例还提供了第七方面的第五种实施方式,第二获取单元用于:直接读取第一终端上云游戏客户端对应的云游戏信息。Based on the seventh aspect, the embodiments of the present application also provide a fifth implementation manner of the seventh aspect, and the second acquiring unit is configured to directly read cloud game information corresponding to the cloud game client on the first terminal.
本申请实施例第八方面提供了一种云游戏跨终端切换的装置,包括:The eighth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
第一接收单元,用于接收第一终端发送的第一切换请求,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路,第一切换请求中携带有云游戏信息;The first receiving unit is configured to receive a first switching request sent by the first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
第二发送单元,用于根据第一切换请求向第二终端发送云游戏信息,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。The second sending unit is configured to send cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
本申请实施例第九方面提供了一种云游戏跨终端切换的装置,包括:A ninth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
第二接收单元,用于接收第二终端发送的第二切换请求,第二切换请求用于请求根据第一终端上云游戏客户端对应的云游戏信息,建立本地的云游戏客户端与渲染服务器之间的通信链路,第一终端上云游戏客户端与渲染服务器之间建立有通信链路;The second receiving unit is configured to receive a second switching request sent by the second terminal, and the second switching request is used to request the establishment of a local cloud game client and a rendering server according to the cloud game information corresponding to the cloud game client on the first terminal There is a communication link between the cloud game client and the rendering server on the first terminal;
第三发送单元,用于向第二终端发送与第二切换请求对应的第二切换响应,第二切换响应用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The third sending unit is configured to send a second switching response corresponding to the second switching request to the second terminal, where the second switching response is used to instruct the second terminal to establish a connection between the local cloud game client and the rendering server according to the cloud game information Communication link.
本申请实施例第十方面提供了一种云游戏跨终端切换的装置,包括:A tenth aspect of the embodiments of the present application provides a cloud game cross-terminal switching device, including:
第三接收单元,用于接收第二终端发送的建立连接请求,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The third receiving unit is configured to receive a connection establishment request sent by the second terminal, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
第四发送单元,用于当检测到第一终端上的云游戏客户端与渲染服务器之间建立通信链路时,向第二终端发送与建立连接请求对应的切换提示和第一终端上的云游戏客户端对应的云游戏信息,第一终端上的云游戏客户端与第二终端上本地的云游戏客户端登录同一账号,切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The fourth sending unit is configured to send a switching prompt corresponding to the connection establishment request and the cloud on the first terminal to the second terminal when it is detected that a communication link is established between the cloud game client on the first terminal and the rendering server. The cloud game information corresponding to the game client, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account, and the switching prompt is used to prompt the user whether to establish a local cloud game client based on the cloud game information The communication link between the end and the rendering server.
本申请实施例第十一方面提供了一种终端设备,包括:存储器、收发器、处理器以及总线系统;The eleventh aspect of the embodiments of the present application provides a terminal device, including: a memory, a transceiver, a processor, and a bus system;
其中,存储器用于存储程序;Among them, the memory is used to store programs;
处理器用于执行存储器中的程序,以执行如上述实施例第一方面和第二方面中任一项的方法。The processor is used to execute the program in the memory to execute the method of any one of the first aspect and the second aspect of the above-mentioned embodiment.
本申请实施例第十二方面提供了一种管理服务器,包括:存储器、收发器、处理器以及总线系统;A twelfth aspect of the embodiments of the present application provides a management server, including: a memory, a transceiver, a processor, and a bus system;
其中,存储器用于存储程序;Among them, the memory is used to store programs;
处理器用于执行存储器中的程序,以执行如上述实施例第三方面、第四方面和第五方面中任一项的方法。The processor is used to execute the program in the memory to execute the method of any one of the third aspect, the fourth aspect, and the fifth aspect of the foregoing embodiment.
本申请实施例第十三方面提供了一种计算机可读存储介质,包括指令,当指令在计算机上运行时,使得计算机执行如上述实施例第一方面至第五方面中任一项所述的方法。The thirteenth aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any one of the first aspect to the fifth aspect of the above-mentioned embodiment method.
本申请实施例第十四方面提供了一种计算机程序产品,当其在计算机上运行时,使得计算机执行如上述实施例第一方面至第五方面中任一项所述的方法。The fourteenth aspect of the embodiments of the present application provides a computer program product, which when running on a computer, causes the computer to execute the method described in any one of the first aspect to the fifth aspect of the foregoing embodiment.
从以上技术方案可以看出,本申请实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
第一种终端运行有云游戏客户端,该云游戏客户端与渲染服务器之间建立有通信链路,当第一终端获取到第一切换指令时,根据第一切换指令向第二终端发送云游戏信息,然后第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路,从而完成云游戏的跨终端切换,在切换完成后,第二终端通过通信链路直接与渲染服务器进行交互,不需要经过第一终端进行转发,避免了投屏方式带来交互延迟的缺陷。The first terminal runs a cloud game client, and a communication link is established between the cloud game client and the rendering server. When the first terminal obtains the first switching instruction, it sends the cloud game client to the second terminal according to the first switching instruction. Game information, and then the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information, thereby completing the cross-terminal switching of the cloud game. After the switching is completed, the second terminal directly uses the communication link The interaction with the rendering server does not require forwarding through the first terminal, which avoids the defect of interaction delay caused by the screen projection method.
附图说明Description of the drawings
图1为本申请实施例中云游戏系统的框架示意图;FIG. 1 is a schematic diagram of the framework of a cloud game system in an embodiment of the application;
图2为本申请实施例中云游戏跨终端切换的方法的第一实施例示意图;2 is a schematic diagram of a first embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
图3(a)为本申请实施例中云游戏跨终端切换的方法的第二实施例示意图;Figure 3(a) is a schematic diagram of a second embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
图3(b)为本申请实施例中云游戏跨终端切换的方法的第三实施例示意图;Figure 3(b) is a schematic diagram of a third embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
图4为本申请实施例中云游戏跨终端切换的方法的第四实施例示意图;4 is a schematic diagram of a fourth embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
图5为本申请实施例中云游戏跨终端切换的方法的第五实施例示意图;5 is a schematic diagram of a fifth embodiment of a method for switching between cloud games across terminals in an embodiment of this application;
图6为本申请实施例中云游戏跨终端切换的装置的第一实施例示意图;6 is a schematic diagram of a first embodiment of a cloud game cross-terminal switching device in an embodiment of this application;
图7为本申请实施例中云游戏跨终端切换的装置的第二实施例示意图;FIG. 7 is a schematic diagram of a second embodiment of a cloud game cross-terminal switching device in an embodiment of this application;
图8为本申请实施例中云游戏跨终端切换的装置的第三实施例示意图;FIG. 8 is a schematic diagram of a third embodiment of a cloud game cross-terminal switching device in an embodiment of this application;
图9为本申请实施例中云游戏跨终端切换的装置的第四实施例示意图;FIG. 9 is a schematic diagram of a fourth embodiment of a cloud game cross-terminal switching device in an embodiment of this application;
图10为本申请实施例中云游戏跨终端切换的装置的第五实施例示意图;10 is a schematic diagram of a fifth embodiment of a cloud game cross-terminal switching device in an embodiment of this application;
图11为本申请实施例提供的终端设备的一种结构示意图;FIG. 11 is a schematic structural diagram of a terminal device provided by an embodiment of this application;
图12为本申请实施例提供的管理服务器的一种结构示意图。FIG. 12 is a schematic diagram of a structure of a management server provided by an embodiment of this application.
具体实施方式Detailed ways
本申请实施例提供了一种云游戏跨终端切换的方法和相关装置,用于对云游戏进行跨终端切换,避免了投屏方式带来交互延迟的缺陷。The embodiments of the present application provide a method and related device for switching cloud games across terminals, which are used to switch cloud games across terminals, avoiding the defect of interaction delay caused by screen projection methods.
请参阅图1,本申请实施例中云游戏系统的框架示意图;云游戏系统包含终端和云端服务器。Please refer to Fig. 1, which is a schematic diagram of the framework of the cloud game system in an embodiment of the present application; the cloud game system includes a terminal and a cloud server.
其中终端的数量为一个或多个,而要实现云游戏的跨终端切换,则终端的数量则应为多个,终端包括但不限于手机、平板电脑和智能电视等,其中图1示出了第一终端和第二终端。Among them, the number of terminals is one or more, and to achieve cross-terminal switching of cloud games, the number of terminals should be multiple. Terminals include but are not limited to mobile phones, tablets, smart TVs, etc., where Figure 1 shows The first terminal and the second terminal.
云端服务器根据功能划分,可以具体划分为管理服务器和渲染服务器,其中渲染服务器的数量可以为一个或多个,图1示出了一个渲染服务器;管理服务器负责终端上云游戏客户端的账号认证、渲染服务器的分配以及终端的状态管理等;渲染服务器负责运行游戏实体,接收云游戏客户端的用户指令并渲染出相应的游戏画面,然后将游戏画面推流到客户端显示。Cloud servers can be divided into management servers and rendering servers according to their functions. The number of rendering servers can be one or more. Figure 1 shows a rendering server; the management server is responsible for the account authentication and rendering of the cloud game client on the terminal. Server allocation and terminal state management, etc. The rendering server is responsible for running the game entity, receiving user instructions from the cloud game client and rendering the corresponding game screen, and then pushing the game screen to the client for display.
在云游戏运行的过程中,可能面临跨终端切换的情况。例如,像移动终端等小屏终端便于携带,而像大屏电视机等大屏终端临场感更强,所以用户不同场景会选择不同的终端操作云游戏,因此需要将云游戏在多终端间进行切换。具体地,用户回到家里,可以将云游戏从手机切换到智能电视,以享受更高的分辨率。为了实现云游戏的跨终端切换,本申请实施例提出了一种云游戏跨终端切换的方法,能够将云游戏从第一终端切换到第二终端,使得用户可以直接通过第二终端的云游戏客户端与渲染服务器进行交互,可以避免投屏方式带来交互延迟的缺陷。In the process of running cloud games, you may be faced with cross-terminal switching. For example, small-screen terminals such as mobile terminals are easy to carry, while large-screen terminals such as large-screen TVs have a stronger sense of presence. Therefore, users will choose different terminals to operate cloud games in different scenarios. Therefore, cloud games need to be played between multiple terminals. Switch. Specifically, when the user returns home, he can switch cloud gaming from his mobile phone to a smart TV to enjoy a higher resolution. In order to achieve cross-terminal switching of cloud games, an embodiment of the present application proposes a method for cross-terminal switching of cloud games, which can switch the cloud game from the first terminal to the second terminal, so that the user can directly use the cloud game of the second terminal The client interacts with the rendering server to avoid the shortcomings of interaction delay caused by the screen projection method.
为了更好的理解本申请实施例提供的云游戏跨终端切换的方法,下面将对云游戏跨终端切换的方法进行具体介绍,在介绍之前,首先需要说明的是,下面的实施例介绍的是将云游戏从第一终端切换至第二终端的过程,因此在切换之前,第一终端和第二终端需要安装相同的云游戏客户端,并且第一终端上的云游戏客户端需要处于运行状态,并与渲染服务器建立通信链路。In order to better understand the cross-terminal switching method of cloud games provided in the embodiments of the present application, the following will specifically introduce the method of cross-terminal switching of cloud games. Before the introduction, it is first necessary to explain that the following embodiment introduces The process of switching a cloud game from the first terminal to the second terminal. Therefore, before switching, the first terminal and the second terminal need to install the same cloud game client, and the cloud game client on the first terminal needs to be running , And establish a communication link with the rendering server.
其中建立通信链路的过程可以包括:第一终端启动云游戏客户端,并通过账号登陆云游戏客户端,然后管理服务器对账号进行认证,认证成功后,管理服务器通过一定的算法从至少一台渲染服务器中选择一台渲染服务器,并将选择出的渲染服务器的IP地址发送给第一终端,最终第一终端通过IP地址与渲染服务器建立通信链路。The process of establishing a communication link may include: the first terminal starts the cloud game client, and logs in to the cloud game client through the account, and then the management server authenticates the account. After the authentication is successful, the management server uses a certain algorithm from at least one One rendering server is selected among the rendering servers, and the IP address of the selected rendering server is sent to the first terminal, and finally the first terminal establishes a communication link with the rendering server through the IP address.
具体地,请参阅图2,本申请实施例中云游戏跨终端切换的方法的第一实施例示意图。如图2所示,本申请实施例提供了一种云游戏跨终端切换的方法的第一实施例,包括:Specifically, please refer to FIG. 2, which is a schematic diagram of a first embodiment of a method for switching a cloud game across terminals in an embodiment of the present application. As shown in FIG. 2, the embodiment of the present application provides a first embodiment of a method for switching a cloud game across terminals, including:
101,第一终端获取第一切换指令。101. The first terminal obtains a first switching instruction.
第一终端上的云游戏客户端与渲染服务器之间建立有通信链路,可以理解的是,通信链路一般为双向链路,具体包括上行链路和下行链路,上行链路用于向渲染服务器传输用户的指令,下行链路用于渲染服务器向终端传输云游戏画面的视频流,此后不做赘述。A communication link is established between the cloud game client on the first terminal and the rendering server. It can be understood that the communication link is generally a two-way link, specifically including an uplink and a downlink, and the uplink is used for The rendering server transmits the user's instructions, and the downlink is used for the rendering server to transmit the video stream of the cloud game screen to the terminal, which will not be repeated hereafter.
第一切换指令可以多种内容,本申请实施例对此不作限定,例如可以是第二终端的ID,也可以是与第二终端相关的其他指示信息;而获取第一切换指令的方式也多种,例如可以通过扫描第二终端的二维码或条形码获取第二终端的ID等指示信息,并将指示信息作为第一切换指令,第一终端还可以通过近距离无线通信NFC技术获取第二终端的ID,相比于通过扫描二维码和条形码等方式获取第二终端的ID,基于NFC技术,第一终端只需要靠近第 二终端的NFC标签既可以读取其中的第二终端的ID,方便快捷。The first switching instruction can have multiple contents, which are not limited in the embodiment of this application. For example, it can be the ID of the second terminal or other indication information related to the second terminal; and there are many ways to obtain the first switching instruction. For example, by scanning the two-dimensional code or barcode of the second terminal to obtain indication information such as the ID of the second terminal, and using the indication information as the first switching instruction, the first terminal may also obtain the second terminal through NFC technology. The ID of the terminal, compared to obtaining the ID of the second terminal by scanning QR codes and barcodes, etc., based on NFC technology, the first terminal only needs to be close to the NFC tag of the second terminal to read the ID of the second terminal. ,Convenient.
第一切换指令用于指示第一终端向第二终端发送云游戏客户端对应的云游戏信息,云游戏信息可以根据实际需要进行设定,例如可以包括云游戏的ID和渲染服务器的IP地址,除此之外,云游戏信息还可以包括第一终端登陆的账号和密码。The first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal. The cloud game information can be set according to actual needs. For example, it can include the ID of the cloud game and the IP address of the rendering server. In addition, the cloud game information may also include the account and password for logging in to the first terminal.
需要说明的是,云游戏客户端中可以包含一款云游戏,也可以包含多款云游戏,当包含多款云游戏时,则根据云游戏的ID可以确定渲染服务器上运行的云游戏。It should be noted that the cloud game client can include one cloud game or multiple cloud games. When multiple cloud games are included, the cloud game running on the rendering server can be determined according to the ID of the cloud game.
102,第一终端根据第一切换指令向第二终端发送云游戏信息。102. The first terminal sends cloud game information to the second terminal according to the first switching instruction.
需要说明的是,第一终端根据第一切换指令发送云游戏信息的方法有多种,本申请实施例对此不做限定;其中,当第一切换指令为第二终端的ID时,第一终端便可以根据第二终端的ID确定第二终端,从而可以进行云游戏信息的发送。It should be noted that there are multiple methods for the first terminal to send cloud game information according to the first switching instruction, which is not limited in the embodiment of this application; wherein, when the first switching instruction is the ID of the second terminal, the first switching instruction is the ID of the second terminal. The terminal can then determine the second terminal according to the ID of the second terminal, so that cloud game information can be sent.
其中,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。The cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
对应地,第二终端则需要接收第一终端上的云游戏客户端对应的云游戏信息。Correspondingly, the second terminal needs to receive cloud game information corresponding to the cloud game client on the first terminal.
103,第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。103. The second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
其中,第二终端建立通信链路的过程可以有多种,但基本的建立过程与第一终端建立通信链路的过程相同,即根据渲染服务器的IP地址与渲染服务器建立通信链路。Among them, there may be multiple processes for the second terminal to establish a communication link, but the basic establishment process is the same as the process for the first terminal to establish a communication link, that is, a communication link is established with the rendering server according to the IP address of the rendering server.
可以理解的是,在与渲染服务器建立通信链路之前,第二终端上的云游戏客户端首先需要运行;其中运行方式有多种,若第二终端上的云游戏客户端已经预先启动并采用与第一终端相同的账号密码进行登陆,那么在步骤103中,则不需要重新启动云游戏客户端,例如当第二终端为智能电视时,第二终端启动后,会根据历史账号和密码自动启动和登录云游戏客户端;若第二终端数上的云游戏客户端已经预先启动但未登录,则第二终端在接收到云游戏信息后,可以根据云游戏信息中的云游戏的ID、账号和密码登陆云游戏客户端;若第二终端上的云游戏客户端未预先启动,则第二终端可以根据云游戏信息中的云游戏的ID、账号和密码启动并登陆云游戏客户端,例如,当第一终端为自己手机,而第二终端为他人手机时,他人手机上的云游戏客户端可能处于未预先启动的状态。由于第二终端可以自动登录游戏客户端,所以不需要人工在第二终端上登录游戏客户端,使得云游戏的切换过程可以自动进行。It is understandable that before establishing a communication link with the rendering server, the cloud game client on the second terminal first needs to run; there are many ways to run, if the cloud game client on the second terminal has been pre-started and used Login with the same account password as the first terminal, then in step 103, there is no need to restart the cloud game client. For example, when the second terminal is a smart TV, after the second terminal is started, it will automatically be based on the historical account and password. Start and log in to the cloud game client; if the cloud game client on the second terminal number has been pre-started but not logged in, after receiving the cloud game information, the second terminal can use the cloud game ID, The account and password are used to log in to the cloud game client; if the cloud game client on the second terminal is not pre-started, the second terminal can start and log in to the cloud game client according to the cloud game ID, account and password in the cloud game information, For example, when the first terminal is one's own mobile phone and the second terminal is another's mobile phone, the cloud game client on the other's mobile phone may be in a state that has not been activated in advance. Since the second terminal can automatically log in to the game client, there is no need to manually log in to the game client on the second terminal, so that the cloud game switching process can be performed automatically.
需要说明的是,第一终端和第二终端可以是同类型的终端,例如第一终端和第二终端都为手机;也可以是不同类型的终端,例如第一终端为手机,第二终端为智能电视,本申请实施例对此不进行限定。It should be noted that the first terminal and the second terminal may be the same type of terminal, for example, both the first terminal and the second terminal are mobile phones; they may also be different types of terminals, for example, the first terminal is a mobile phone, and the second terminal is a mobile phone. The smart TV is not limited in this embodiment of the application.
在本申请实施例中,第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路后,第二终端通过通信链路直接与渲染服务器进行交互,第二终端不仅可以显示云游戏的游戏画面,还可以获取用户指令并将用户指令传输给渲染服务器,以实现对云游戏的控制,在此过程中,不需要经过第一终端进行转发,避免了投屏方式带来交互延迟的缺陷。In the embodiment of the present application, after the second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information, the second terminal directly interacts with the rendering server through the communication link, and the second terminal not only The game screen of the cloud game can be displayed, and user instructions can also be obtained and transmitted to the rendering server to achieve control of the cloud game. In this process, there is no need to forward through the first terminal, which avoids the screen projection method. Come to interact with the defect of delay.
另外,由于渲染服务器已经建立了与第二终端之间的通信链路,因此可以断开与第一终端之间的通信链路,以释放第一终端的资源;若为了使用户仍可以在第一终端上观看云 游戏的游戏画面,渲染服务器也可以仅断开与第一终端之间的上行链路,使得第一终端能够通过下行链路接收游戏画面的视频流。这种情况下,若之后再将云游戏从第二终端切换回第一终端,由于第一终端与渲染服务器之间的下行链路未断开,因此在建立第一终端与渲染服务器之间的通信链路时,只需建立第一终端与渲染服务器之间的上行链路即可。In addition, since the rendering server has established a communication link with the second terminal, the communication link with the first terminal can be disconnected to release the resources of the first terminal; To watch the game screen of the cloud game on a terminal, the rendering server may only disconnect the uplink with the first terminal, so that the first terminal can receive the video stream of the game screen through the downlink. In this case, if the cloud game is switched from the second terminal to the first terminal later, since the downlink between the first terminal and the rendering server is not disconnected, the connection between the first terminal and the rendering server is established. For the communication link, only the uplink between the first terminal and the rendering server needs to be established.
当第一终端的通信链路或上行链路被断开后,第一终端还可以向管理服务器发送状态更新的消息,使得管理服务器及时更新第一终端的状态。When the communication link or uplink of the first terminal is disconnected, the first terminal may also send a status update message to the management server, so that the management server updates the status of the first terminal in time.
另外,需要说明的是,为了确保云游戏能够实现无缝切换,即在第二终端能够通过通信链路与渲染服务器交互的情况下,断开第一终端的通信链路或上行链路,所以渲染服务器可以在通过上行链路接收到第二终端发送的用户指令的情况下,选择断开第一终端的通信链路或上行链路。In addition, it should be noted that in order to ensure seamless switching of cloud games, that is, when the second terminal can interact with the rendering server through the communication link, the communication link or uplink of the first terminal is disconnected, so The rendering server may choose to disconnect the communication link or the uplink of the first terminal when receiving the user instruction sent by the second terminal via the uplink.
根据上述分析可知,第一终端根据第一切换指令向第二终端发送云游戏信息的方法有多种,因此下面将根据云游戏信息的不同发送方法,以不同的实施例对云游戏跨终端切换的方法进行分别介绍。请参阅图3(a),本申请实施例中云游戏跨终端切换的方法的第二实施例示意图。如图3(a)所示,本申请实施例提供了一种云游戏跨终端切换的方法的第二实施例,包括:According to the above analysis, there are multiple methods for the first terminal to send cloud game information to the second terminal according to the first switching instruction. Therefore, the following will use different embodiments to switch cloud games across terminals according to different sending methods of cloud game information. The methods are introduced separately. Please refer to FIG. 3(a), which is a schematic diagram of a second embodiment of a method for switching between cloud games across terminals in an embodiment of the present application. As shown in FIG. 3(a), the embodiment of the present application provides a second embodiment of a method for switching a cloud game across terminals, including:
201,第一终端获取第一切换指令。201: The first terminal obtains a first switching instruction.
本申请实施例中的步骤201与第一实施例中步骤101相同,具体可以参照第一实施例中的步骤101进行理解。Step 201 in the embodiment of the present application is the same as step 101 in the first embodiment. For details, reference may be made to step 101 in the first embodiment for understanding.
202,第一终端根据第一切换指令直接向第二终端发送云游戏信息。202. The first terminal directly sends cloud game information to the second terminal according to the first switching instruction.
可以理解的是,对于可以直接进行通信的第一终端和第二终端来说,第一终端可以直接将云游戏信息发送给第二终端,例如,第一终端和第二终端都为具备NFC功能的终端,或者第一终端和第二终端也可以通过蓝牙等其他无线通信技术进行云游戏的传输。It is understandable that for the first terminal and the second terminal that can communicate directly, the first terminal can directly send cloud game information to the second terminal. For example, both the first terminal and the second terminal have NFC functions. , Or the first terminal and the second terminal can also use other wireless communication technologies such as Bluetooth to transmit cloud games.
相应地,第二终端直接接收第一终端发送的云游戏客户端对应的云游戏信息。Correspondingly, the second terminal directly receives the cloud game information corresponding to the cloud game client sent by the first terminal.
203,第二终端根据云游戏信息向管理服务器发送第二切换请求。203. The second terminal sends a second switching request to the management server according to the cloud game information.
其中,第二切换请求用于请求根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The second switching request is used to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information.
可以理解的是,由于管理服务器负责管理终端接入渲染服务器,因此第二终端需要发送第二切换请求,其中第二切换请求中可以包含渲染服务器的IP地址。It is understandable that since the management server is responsible for managing the terminal access to the rendering server, the second terminal needs to send a second switching request, where the second switching request may include the IP address of the rendering server.
相应地,管理服务器需要接收第二终端发送的第二切换请求。Correspondingly, the management server needs to receive the second handover request sent by the second terminal.
204,管理服务器向第二终端发送与第二切换请求对应的第二切换响应。204. The management server sends a second handover response corresponding to the second handover request to the second terminal.
其中,第二切换响应用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The second switching response is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
相应地,第二终端需要接收管理服务器发送的与第二切换请求对应的第二切换响应。Correspondingly, the second terminal needs to receive the second handover response corresponding to the second handover request sent by the management server.
205,第二终端根据第二切换响应和云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。205. The second terminal establishes a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
可以理解的是,当第二终端接收到第二切换响应后,则可以根据云游戏信息建立与本地的云游戏客户端与渲染服务器之间的通信链路。It is understandable that after receiving the second switching response, the second terminal can establish a communication link with the local cloud game client and the rendering server according to the cloud game information.
在本申请实施例中,第二终端直接接收第一终端发送的云游戏信息,适用于第一终端和第二终端能够直接进行通信的场景,相对于第一终端通过其他设备将云游戏信息转发至第二终端,本申请实施例的方法方便快捷。In this embodiment of the application, the second terminal directly receives the cloud game information sent by the first terminal, which is suitable for scenarios where the first terminal and the second terminal can directly communicate with each other. Compared with the first terminal, the cloud game information is forwarded through other devices. To the second terminal, the method of the embodiment of the present application is convenient and quick.
在上述实施例的方法中,第二终端直接接收第一终端发送的云游戏信息,下面将以第二终端通过管理服务器接收第一终端发送的云游戏信息为例,对云游戏跨终端切换的方法进行介绍。In the method of the above-mentioned embodiment, the second terminal directly receives the cloud game information sent by the first terminal. The following will take the second terminal through the management server to receive the cloud game information sent by the first terminal as an example. Methods are introduced.
上述实施例是第一终端在获取到第一切换指令的情况下,向第二终端发送云游戏信息,对应地,第二终端接收第一终端发送的云游戏信息,而第二终端也可以直接读取第一终端中的云游戏信息。具体地,请参阅图3(b),本申请实施例中云游戏跨终端切换的方法的第三实施例示意图。如图3(b)所示,本申请实施例提供了一种云游戏跨终端切换的方法的第三实施例,包括:In the above-mentioned embodiment, the first terminal sends cloud game information to the second terminal after acquiring the first switching instruction. Correspondingly, the second terminal receives the cloud game information sent by the first terminal, and the second terminal can also directly Read cloud game information in the first terminal. Specifically, please refer to FIG. 3(b), which is a schematic diagram of a third embodiment of a method for switching a cloud game across terminals in an embodiment of the present application. As shown in FIG. 3(b), the embodiment of the present application provides a third embodiment of a method for switching a cloud game across terminals, including:
206,第二终端直接读取第一终端上云游戏客户端对应的云游戏信息。206. The second terminal directly reads cloud game information corresponding to the cloud game client on the first terminal.
例如,当第一终端和第二终端均具备NFC功能时,当第二终端靠近第一终端时,便可以直接读取第一终端中的云游戏信息,除此之外,第二终端还可以通过其他方式直接读取第一终端上的云游戏信息,本申请实施例对此不做限定。For example, when both the first terminal and the second terminal have NFC functions, when the second terminal is close to the first terminal, it can directly read the cloud game information in the first terminal. In addition, the second terminal can also The cloud game information on the first terminal is directly read by other methods, which is not limited in the embodiment of the present application.
207,第二终端根据云游戏信息向管理服务器发送第二切换请求。207. The second terminal sends a second switching request to the management server according to the cloud game information.
208,管理服务器向第二终端发送与第二切换请求对应的第二切换响应。208. The management server sends a second handover response corresponding to the second handover request to the second terminal.
209,第二终端根据第二切换响应和云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。209. The second terminal establishes a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
需要说明的是,本申请实施例中的步骤207至步骤209分别与第二实施例中步骤203至205相同,具体可以参照第二实施例中的步骤203至205进行理解。It should be noted that steps 207 to 209 in the embodiment of the present application are respectively the same as steps 203 to 205 in the second embodiment. For details, reference may be made to steps 203 to 205 in the second embodiment for understanding.
在本申请实施例中,第二终端可以直接读取第一终端中的云游戏信息,与第一终端获取到切换指令再向第一终端发送云游戏的方式相比,更加方便快捷。In the embodiment of the present application, the second terminal can directly read the cloud game information in the first terminal, which is more convenient and quicker than the method in which the first terminal obtains the switching instruction and then sends the cloud game to the first terminal.
请参阅图4,本申请实施例中云游戏跨终端切换的方法的第四实施例示意图。如图4所示,本申请实施例提供了一种云游戏跨终端切换的方法的第四实施例,包括:Please refer to FIG. 4, which is a schematic diagram of a fourth embodiment of a method for switching between cloud games across terminals in an embodiment of the present application. As shown in FIG. 4, the embodiment of the present application provides a fourth embodiment of a method for cloud game switching across terminals, including:
301,第一终端获取第一切换指令。301. The first terminal obtains a first switching instruction.
本申请实施例中的步骤301与第一实施例中步骤101相同,具体可以参照第一实施例中的步骤101进行理解。Step 301 in the embodiment of the present application is the same as step 101 in the first embodiment. For details, reference may be made to step 101 in the first embodiment for understanding.
302,第一终端根据第一切换指令向管理服务器发送第一切换请求。302. The first terminal sends a first switching request to the management server according to the first switching instruction.
其中,第一切换请求中携带有云游戏信息,第一切换请求用于指示管理服务器向第二终端发送云游戏信息。Wherein, the first switching request carries cloud game information, and the first switching request is used to instruct the management server to send the cloud game information to the second terminal.
可以理解的是,存在第一终端和第二终端不能直接传输云游戏信息的情况,例如当第一终端为手机,而当第二终端为智能电视时,手机无法直接向智能电视发送云游戏信息;此时,第一终端需要向管理服务器发送第一切换请求,该第一切换请求指示管理服务器向第二终端发送云游戏信息。It is understandable that there are cases where the first terminal and the second terminal cannot directly transmit cloud game information. For example, when the first terminal is a mobile phone, and when the second terminal is a smart TV, the mobile phone cannot directly send cloud game information to the smart TV. ; At this time, the first terminal needs to send a first switching request to the management server, the first switching request instructs the management server to send cloud game information to the second terminal.
相应地,管理服务器需要接收第一终端发送的第一切换请求。Correspondingly, the management server needs to receive the first handover request sent by the first terminal.
303,管理服务器根据第一切换请求向第二终端发送云游戏信息。303. The management server sends cloud game information to the second terminal according to the first switching request.
可以理解的是,管理服务器若同意该第一切换请求,则会向第二终端发送云游戏信息,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。It is understandable that if the management server agrees to the first switching request, it will send cloud game information to the second terminal. The cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server. road.
需要说明的是,管理服务器能够向第二终端发送云游戏信息的前提,要保证第二终端与管理服务器通信连接,该通信连接可以为心跳长连接。It should be noted that, for the management server to be able to send cloud game information to the second terminal, a communication connection between the second terminal and the management server must be ensured, and the communication connection may be a long heartbeat connection.
相应地,第二终端需要接收管理服务器发送的第一终端上的云游戏客户端对应的云游戏信息。Correspondingly, the second terminal needs to receive cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
304,第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。304. The second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
本申请实施例中的步骤304与第一实施例中步骤103相同,具体可以参照第一实施例中的步骤103进行理解。Step 304 in the embodiment of the present application is the same as step 103 in the first embodiment. For details, reference may be made to step 103 in the first embodiment for understanding.
在本申请实施例中,第一终端可以通过管理服务器向第二终端发送云游戏信息,因此该方法适用于第一终端和第二终端不能直接传输云游戏信息的场景。In the embodiment of the present application, the first terminal can send cloud game information to the second terminal through the management server, so this method is suitable for scenarios where the first terminal and the second terminal cannot directly transmit cloud game information.
需要说明的是,在上述实施例中,管理服务器向第二终端发送云游戏信息的前提是,第一终端根据第一切换指令向管理服务器发送第一切换请求,而管理服务器向第二终端发送云游戏信息的情况还包括多种,下面将以另一情况下管理服务器向第二终端发送云游戏信息为例,对云游戏跨终端切换的方法进行介绍。It should be noted that in the above embodiment, the premise for the management server to send cloud game information to the second terminal is that the first terminal sends the first switching request to the management server according to the first switching instruction, and the management server sends to the second terminal There are also multiple cases of cloud game information. The following will take another case where the management server sends cloud game information to the second terminal as an example to introduce a method for switching between cloud games across terminals.
请参阅图5,本申请实施例中云游戏跨终端切换的方法的第五实施例示意图。如图5所示,本申请实施例提供了一种云游戏跨终端切换的方法的第五实施例,包括:Please refer to FIG. 5, which is a schematic diagram of a fifth embodiment of a method for switching between cloud games across terminals in an embodiment of the present application. As shown in FIG. 5, the embodiment of the present application provides a fifth embodiment of a method for switching a cloud game across terminals, including:
401,第二终端向管理服务器发送建立连接请求。401: The second terminal sends a connection establishment request to the management server.
其中,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路。Wherein, the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server.
可以理解的是,在实际应用中,可能存在用户直接使用第二终端启动本地的云游戏客户端的情况,在这种情况下,用户想建立云游戏客户端与渲染服务器之间的通信链路,因此第二终端会向管理服务器发送建立连接请求。It is understandable that in practical applications, there may be cases where the user directly uses the second terminal to start the local cloud game client. In this case, the user wants to establish a communication link between the cloud game client and the rendering server. Therefore, the second terminal will send a connection establishment request to the management server.
相应地,管理服务器会接收第二终端发送的建立连接请求。Correspondingly, the management server will receive the connection establishment request sent by the second terminal.
402,管理服务器若检测到第一终端上的云游戏客户端与渲染服务器之间建立通信链路,则向第二终端发送第一终端上的云游戏客户端对应的云游戏信息和与建立连接请求对应的切换提示。402. If the management server detects that a communication link is established between the cloud game client on the first terminal and the rendering server, it sends cloud game information corresponding to the cloud game client on the first terminal and establishes a connection with the second terminal. Request the corresponding switching prompt.
可以理解的是,一般情况下,管理服务器则会反馈第二终端一个响应,以指示第二终端建立云游戏客户端与渲染服务器之间的通信链路。然而,当管理服务器检测到第一终端上的云游戏客户端已经与渲染服务器之间建立通信链路,其中第一终端上的云游戏客户端与第二终端上本地的云游戏客户端登录同一账号,则会向第二终端发送切换提示,该切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。It can be understood that, in general, the management server will feed back a response from the second terminal to instruct the second terminal to establish a communication link between the cloud game client and the rendering server. However, when the management server detects that the cloud game client on the first terminal has established a communication link with the rendering server, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same Account, the switching prompt is sent to the second terminal, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
其中切换提示还能够起到防止用户误操作的情况,例如用户忘记已经在第一终端上启动云游戏客户端与渲染服务器之间建立通信链路,然后会在第二终端上重复启动游戏客户端,该切换提示能够避免这种情况的出现。The switching prompt can also prevent the user from misoperation. For example, the user forgets to start the cloud game client on the first terminal to establish a communication link with the rendering server, and then restarts the game client on the second terminal repeatedly , The switch prompt can avoid this situation.
相应地,第二终端需要接收管理服务器发送的第一终端上的云游戏客户端对应的云游戏信息和与建立连接请求对应的切换提示。Correspondingly, the second terminal needs to receive the cloud game information corresponding to the cloud game client on the first terminal and the switching prompt corresponding to the connection establishment request sent by the management server.
403,第二终端接收用户输入的与切换提示对应的第二切换指令,第二切换指令用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。403. The second terminal receives a second switching instruction corresponding to the switching prompt input by the user, where the second switching instruction is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
可以理解的是,当第二终端接收到该切换提示后,会向用户显示该切换提示,用户可以输入与切换提示对应的第二切换指令,指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;当第二终端为手机等触摸屏移动终端时,第二切换指令可以是用户的触屏指令,当第二终端为智能电视时,第二切换指令可以是遥控器发射的红外信号,也可以是游戏手柄输入的切换指令,本申请实施例对第二切换指令不做具体限定。It is understandable that when the second terminal receives the switching prompt, it will display the switching prompt to the user, and the user can input a second switching instruction corresponding to the switching prompt to instruct the second terminal to establish a local cloud game based on the cloud game information The communication link between the client and the rendering server; when the second terminal is a mobile terminal with a touch screen such as a mobile phone, the second switching instruction may be a touch screen instruction of the user, and when the second terminal is a smart TV, the second switching instruction may It is the infrared signal emitted by the remote control, or it may be the switching instruction input by the game controller. The embodiment of the present application does not specifically limit the second switching instruction.
而若用户因误操作或个人意愿的改变,未输入第二切换指令,则不会建立第二终端上云游戏客户端与渲染服务器之间的通信链路。However, if the user does not input the second switching instruction due to a misoperation or a change in personal will, the communication link between the cloud game client on the second terminal and the rendering server will not be established.
404、第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。404. The second terminal establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
可以理解的是,当第二终端接收到第二切换指令后,需要根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。It can be understood that after receiving the second switching instruction, the second terminal needs to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
在本申请实施例中,由于管理服务器本身的管理职能,所以管理服务器能够获取到第一终端上云游戏客户端对应的云游戏信息,不需要第一终端向第二终端发送,也不需要第二终端或第一终端主动向管理服务器发送切换请求,适用于任意两个终端之间的云游戏切换,尤其适用于第一终端无法直接向第二终端发送云游戏信息的情况,例如当第一终端为智能电视时,可以直接登陆手机等移动终端上的云游戏客户端,以实现云游戏的切换。In the embodiment of the present application, due to the management function of the management server itself, the management server can obtain the cloud game information corresponding to the cloud game client on the first terminal, and does not require the first terminal to send to the second terminal or the second terminal. The second terminal or the first terminal actively sends a switching request to the management server, which is suitable for cloud game switching between any two terminals, especially when the first terminal cannot directly send cloud game information to the second terminal, for example, when the first terminal cannot directly send cloud game information to the second terminal. When the terminal is a smart TV, you can directly log in to the cloud game client on a mobile terminal such as a mobile phone to switch between cloud games.
请参阅图6,本申请实施例中云游戏跨终端切换的装置的第一实施例示意图。如图6所示,本申请实施例提供了一种云游戏跨终端切换的装置的第一实施例,应用于终端,包括:Please refer to FIG. 6, which is a schematic diagram of a first embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application. As shown in FIG. 6, an embodiment of the present application provides a first embodiment of a cloud game cross-terminal switching device, which is applied to a terminal, and includes:
第一获取单元501,用于获取第一切换指令,第一切换指令用于指示第一终端向第二终端发送云游戏客户端对应的云游戏信息,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The first acquiring unit 501 is configured to acquire a first switching instruction, and the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal, and the cloud game client on the first terminal and the rendering A communication link is established between the servers;
第一发送单元502,用于根据第一切换指令向第二终端发送云游戏信息,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。The first sending unit 502 is configured to send cloud game information to the second terminal according to the first switching instruction, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
进一步地,第一发送单元502用于:Further, the first sending unit 502 is configured to:
根据第一切换指令直接向第二终端发送云游戏信息。The cloud game information is directly sent to the second terminal according to the first switching instruction.
进一步地,第一发送单元502用于:Further, the first sending unit 502 is configured to:
根据第一切换指令向管理服务器发送第一切换请求,第一切换请求中携带有云游戏信息,第一切换请求用于指示管理服务器向第二终端发送云游戏信息。A first switching request is sent to the management server according to the first switching instruction, the first switching request carries cloud game information, and the first switching request is used to instruct the management server to send cloud game information to the second terminal.
进一步地,第一获取单元501用于:Further, the first obtaining unit 501 is used for:
通过近距离无线通信NFC技术获取第二终端的ID。Obtain the ID of the second terminal through the NFC technology of short-range wireless communication.
请参阅图7,本申请实施例中云游戏跨终端切换的装置的第二实施例示意图。如图7所示,本申请实施例提供了一种云游戏跨终端切换的装置的第二实施例,应用于终端,包括:Please refer to FIG. 7, which is a schematic diagram of a second embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application. As shown in FIG. 7, an embodiment of the present application provides a second embodiment of a cloud game cross-terminal switching device, which is applied to a terminal, and includes:
第二获取单元601,用于获取第一终端上的云游戏客户端对应的云游戏信息,第一终 端上的云游戏客户端与渲染服务器之间建立有通信链路;The second acquiring unit 601 is configured to acquire cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
第一处理单元602,用于根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The first processing unit 602 is configured to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
进一步地,第二获取单元601用于:Further, the second obtaining unit 601 is used for:
直接接收第一终端发送的云游戏客户端对应的云游戏信息。Directly receive the cloud game information corresponding to the cloud game client sent by the first terminal.
进一步地,第一处理单元602用于:Further, the first processing unit 602 is configured to:
根据云游戏信息向管理服务器发送第二切换请求,第二切换请求用于请求根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;Sending a second switching request to the management server according to the cloud game information, where the second switching request is used to request the establishment of a communication link between the local cloud game client and the rendering server according to the cloud game information;
接收管理服务器发送的与第二切换请求对应的第二切换响应;Receiving a second handover response corresponding to the second handover request sent by the management server;
根据第二切换响应和云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。Establish a communication link between the local cloud game client and the rendering server according to the second switching response and the cloud game information.
进一步地,第二获取单元601用于:Further, the second obtaining unit 601 is used for:
接收管理服务器发送的第一终端上的云游戏客户端对应的云游戏信息。Receive cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
进一步地,装置还包括:Further, the device also includes:
第五发送单元603,用于向管理服务器发送建立连接请求,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The fifth sending unit 603 is configured to send a connection establishment request to the management server, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
第二获取单元601,还用于接收管理服务器发送的与建立连接请求对应的切换提示,切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路;The second acquiring unit 601 is further configured to receive a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a communication link between the local cloud game client and the rendering server according to the cloud game information ;
接收用户输入的与切换提示对应的第二切换指令,第二切换指令用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。A second switching instruction corresponding to the switching prompt input by the user is received, where the second switching instruction is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server according to the cloud game information.
进一步地,第二获取单元601用于:直接读取第一终端上云游戏客户端对应的云游戏信息。Further, the second acquiring unit 601 is configured to directly read cloud game information corresponding to the cloud game client on the first terminal.
请参阅图8,本申请实施例中云游戏跨终端切换的装置的第三实施例示意图。如图8所示,本申请实施例提供了一种云游戏跨终端切换的装置的第三实施例,应用于服务器,包括:Please refer to FIG. 8, which is a schematic diagram of a third embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application. As shown in FIG. 8, an embodiment of the present application provides a third embodiment of a cloud game cross-terminal switching device, which is applied to a server, and includes:
第一接收单元701,用于接收第一终端发送的第一切换请求,第一终端上的云游戏客户端与渲染服务器之间建立有通信链路,第一切换请求中携带有云游戏信息;The first receiving unit 701 is configured to receive a first switching request sent by a first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
第二发送单元702,用于根据第一切换请求向第二终端发送云游戏信息,云游戏信息用于指示第二终端建立本地的云游戏客户端与渲染服务器之间的通信链路。The second sending unit 702 is configured to send cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a communication link between the local cloud game client and the rendering server.
请参阅图9,本申请实施例中云游戏跨终端切换的装置的第四实施例示意图。如图9所示,本申请实施例提供了一种云游戏跨终端切换的装置的第四实施例,应用于服务器,包括:Please refer to FIG. 9, which is a schematic diagram of a fourth embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application. As shown in FIG. 9, an embodiment of the present application provides a fourth embodiment of a cloud game cross-terminal switching device, which is applied to a server, and includes:
第二接收单元801,用于接收第二终端发送的第二切换请求,第二切换请求用于请求根据第一终端上云游戏客户端对应的云游戏信息,建立本地的云游戏客户端与渲染服务器之间的通信链路,第一终端上云游戏客户端与渲染服务器之间建立有通信链路;The second receiving unit 801 is configured to receive a second switching request sent by the second terminal, and the second switching request is used to request the establishment of a local cloud game client and rendering based on the cloud game information corresponding to the cloud game client on the first terminal A communication link between the servers, a communication link is established between the cloud game client on the first terminal and the rendering server;
第三发送单元802,用于向第二终端发送与第二切换请求对应的第二切换响应,第二 切换响应用于指示第二终端根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The third sending unit 802 is configured to send a second switching response corresponding to the second switching request to the second terminal. The second switching response is used to instruct the second terminal to establish a local cloud game client and rendering server based on the cloud game information. Communication link between.
请参阅图10,本申请实施例中云游戏跨终端切换的装置的第五实施例示意图。如图10所示,本申请实施例提供了一种云游戏跨终端切换的装置的第五实施例,应用于服务器,包括:Please refer to FIG. 10, which is a schematic diagram of a fifth embodiment of a cloud game cross-terminal switching apparatus in an embodiment of the present application. As shown in FIG. 10, the embodiment of the present application provides a fifth embodiment of a cloud game cross-terminal switching device, which is applied to a server, and includes:
第三接收单元901,用于接收第二终端发送的建立连接请求,建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The third receiving unit 901 is configured to receive a connection establishment request sent by the second terminal, and the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
第四发送单元902,用于当检测到第一终端上的云游戏客户端与渲染服务器之间建立通信链路时,向第二终端发送与建立连接请求对应的切换提示和第一终端上的云游戏客户端对应的云游戏信息,第一终端上的云游戏客户端与第二终端上本地的云游戏客户端登录同一账号,切换提示用于提示用户是否根据云游戏信息建立本地的云游戏客户端与渲染服务器之间的通信链路。The fourth sending unit 902 is configured to send to the second terminal a switching prompt corresponding to the connection establishment request and a notification on the first terminal when it is detected that a communication link is established between the cloud game client on the first terminal and the rendering server. The cloud game information corresponding to the cloud game client, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account, and the switching prompt is used to prompt the user whether to establish a local cloud game based on the cloud game information The communication link between the client and the rendering server.
接下来,本申请实施例还提供了一种终端设备,如图11所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该属性信息展示装置可以为包括手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)、车载电脑等任意终端设备,以属性信息展示装置为手机为例:Next, the embodiment of the present application also provides a terminal device. As shown in FIG. 11, for ease of description, only the parts related to the embodiment of the present invention are shown. For specific technical details that are not disclosed, please refer to the implementation of the present invention. Example method part. The attribute information display device can be any terminal equipment including mobile phones, tablet computers, personal digital assistants (PDAs), point of sales (POS), on-board computers, etc. Take the attribute information display device as a mobile phone as an example :
图11示出的是与本发明实施例提供的属性信息展示装置相关的手机的部分结构的框图。参考图11,手机包括:射频(Radio Frequency,RF)电路1110、存储器1120、输入单元1130、显示单元1140、传感器1150、音频电路1160、无线保真(wireless fidelity,WiFi)模块1170、处理器1180、以及电源1190等部件。本领域技术人员可以理解,图11中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 11 shows a block diagram of a part of the structure of a mobile phone related to the attribute information display device provided by an embodiment of the present invention. Referring to FIG. 11, the mobile phone includes: a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, and a processor 1180 , And power supply 1190 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 11 does not constitute a limitation on the mobile phone, and may include more or less components than those shown in the figure, or a combination of certain components, or different component arrangements.
下面结合图11对手机的各个构成部件进行具体地介绍:The components of the mobile phone are specifically introduced below in conjunction with Figure 11:
RF电路1110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1180处理;另外,将设计上行的数据发送给基站。通常,RF电路1110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1110 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1180; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1110 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所 创建的数据(比如音频数据、电话本等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1120 may be used to store software programs and modules. The processor 1180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元1130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1130可包括触控面板1131以及其他输入设备1132。触控面板1131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1131上或在触控面板1131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选地,触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1180,并能接收处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1131。除了触控面板1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1130 may be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. The touch panel 1131, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 1131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1180, and can receive and execute the commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1131, the input unit 1130 may also include other input devices 1132. Specifically, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick.
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1140可包括显示面板1141,可选地,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1141。进一步地,触控面板1131可覆盖显示面板1141,当触控面板1131检测到在其上或附近的触摸操作后,传送给处理器1180以确定触摸事件的类型,随后处理器1180根据触摸事件的类型在显示面板1141上提供相应的视觉输出。虽然在图11中,触控面板1131与显示面板1141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1131与显示面板1141集成而实现手机的输入和输出功能。The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1140 may include a display panel 1141. Optionally, the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 1131 can cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it transmits it to the processor 1180 to determine the type of the touch event, and then the processor 1180 responds to the touch event. The type provides corresponding visual output on the display panel 1141. Although in FIG. 11, the touch panel 1131 and the display panel 1141 are used as two independent components to implement the input and input functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器1150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1141 according to the brightness of the ambient light. The proximity sensor can close the display panel 1141 and/or when the mobile phone is moved to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary. It can be used to identify mobile phone posture applications (such as horizontal and vertical screen switching, related Games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can also be configured in mobile phones, I will not here Go into details.
音频电路1160、扬声器1161,传声器1162可提供用户与手机之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110以发送给比如另一手机,或者将音频数据输出至存储器1120以便进一步处理。The audio circuit 1160, the speaker 1161, and the microphone 1162 can provide an audio interface between the user and the mobile phone. The audio circuit 1160 can transmit the electrical signal converted from the received audio data to the speaker 1161, which is converted into a sound signal by the speaker 1161 for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After being received, it is converted into audio data, and then processed by the audio data output processor 1180, and sent to, for example, another mobile phone via the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1170可以帮助用户收发电子邮件、 浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块1170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1170. It provides users with wireless broadband Internet access. Although FIG. 11 shows the WiFi module 1170, it is understandable that it is not a necessary component of the mobile phone, and can be omitted as needed without changing the essence of the invention.
处理器1180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选地,处理器1180可包括一个或多个处理单元;可选地,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。The processor 1180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. Various functions and processing data of the mobile phone can be used to monitor the mobile phone as a whole. Optionally, the processor 1180 may include one or more processing units; optionally, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs. And so on, the modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1180.
手机还包括给各个部件供电的电源1190(比如电池),可选地,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power source 1190 (such as a battery) for supplying power to various components. Optionally, the power source may be logically connected to the processor 1180 through a power management system, so that functions such as charging, discharging, and power management are managed through the power management system.
尽管未示出,手机还可以包括摄像模块、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera module, a Bluetooth module, etc., which will not be repeated here.
在本发明实施例中,该终端设备所包括的处理器1180还具有前述实施例中如图6和图7所示的云游戏跨终端切换的装置的功能。In the embodiment of the present invention, the processor 1180 included in the terminal device also has the function of the cloud game cross-terminal switching device shown in FIG. 6 and FIG. 7 in the foregoing embodiment.
本申请实施例还提供了一种管理服务器,请参阅图12,图12是本申请实施例提供的管理服务器的一种结构示意图,该管理服务器1200可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1222(例如,一个或一个以上处理器)和存储器1232,一个或一个以上存储应用程序1242或数据1244的存储介质1230(例如一个或一个以上海量存储设备)。其中,存储器1232和存储介质1230可以是短暂存储或持久存储。存储在存储介质1230的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1222可以设置为与存储介质1230通信,在管理服务器1200上执行存储介质1230中的一系列指令操作。The embodiment of the present application also provides a management server. Please refer to FIG. 12. FIG. 12 is a schematic diagram of a structure of the management server provided by an embodiment of the present application. The management server 1200 may have relatively large differences due to different configurations or performances. , May include one or more central processing units (CPU) 1222 (e.g., one or more processors) and memory 1232, and one or more storage media 1230 (e.g., one Or a storage device in Shanghai). Among them, the memory 1232 and the storage medium 1230 may be short-term storage or persistent storage. The program stored in the storage medium 1230 may include one or more modules (not shown in the figure), and each module may include a series of command operations on the server. Furthermore, the central processing unit 1222 may be configured to communicate with the storage medium 1230, and execute a series of instruction operations in the storage medium 1230 on the management server 1200.
管理服务器1200还可以包括一个或一个以上电源1226,一个或一个以上有线或无线网络接口1250,一个或一个以上输入输出接口1258,和/或,一个或一个以上操作系统1241,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The management server 1200 may also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input and output interfaces 1258, and/or one or more operating systems 1241, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
上述实施例中由管理服务器所执行的步骤可以基于该图12所示的管理服务器结构。The steps performed by the management server in the foregoing embodiment may be based on the management server structure shown in FIG. 12.
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有电子支付指令,当其在计算机上运行时,使得计算机执行如前述图2至图5所示实施例描述的方法中终端设备和管理服务器所执行的步骤。An embodiment of the present application also provides a computer-readable storage medium, which stores electronic payment instructions, which when run on a computer, causes the computer to execute the above-mentioned embodiments shown in FIGS. 2 to 5 The steps performed by the terminal device and the management server in the described method.
本申请实施例中还提供一种计算机程序产品,当其在计算机上运行时,使得计算机执行如前述图2至图5所示实施例描述的方法中终端设备和管理服务器所执行的步骤。The embodiment of the present application also provides a computer program product, which when running on a computer, causes the computer to execute the steps performed by the terminal device and the management server in the method described in the embodiments shown in FIGS. 2 to 5 above.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的 划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .

Claims (21)

  1. 一种云游戏跨终端切换的方法,其特征在于,包括:A method for switching cloud games across terminals, which is characterized in that it includes:
    第一终端获取第一切换指令,所述第一切换指令用于指示所述第一终端向第二终端发送云游戏客户端对应的云游戏信息,所述第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The first terminal acquires a first switching instruction, where the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal, and the cloud game client on the first terminal is connected to the cloud game client on the first terminal. A communication link is established between the rendering servers;
    所述第一终端根据所述第一切换指令向所述第二终端发送所述云游戏信息,所述云游戏信息用于指示所述第二终端建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The first terminal sends the cloud game information to the second terminal according to the first switching instruction, where the cloud game information is used to instruct the second terminal to establish a local cloud game client and the rendering server Communication link between.
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端根据所述第一切换指令向所述第二终端发送所述云游戏信息包括:The method according to claim 1, wherein the first terminal sending the cloud game information to the second terminal according to the first switching instruction comprises:
    所述第一终端根据所述第一切换指令直接向所述第二终端发送所述云游戏信息。The first terminal directly sends the cloud game information to the second terminal according to the first switching instruction.
  3. 根据权利要求1所述的方法,其特征在于,所述第一终端根据所述第一切换指令向所述第二终端发送所述云游戏信息包括:The method according to claim 1, wherein the first terminal sending the cloud game information to the second terminal according to the first switching instruction comprises:
    所述第一终端根据所述第一切换指令向管理服务器发送第一切换请求,所述第一切换请求中携带有所述云游戏信息,所述第一切换请求用于指示所述管理服务器向所述第二终端发送所述云游戏信息。The first terminal sends a first switching request to the management server according to the first switching instruction, the first switching request carries the cloud game information, and the first switching request is used to instruct the management server to send The second terminal sends the cloud game information.
  4. 根据权利要求1至3中任意一项所述的方法,其特征在于,所述第一终端获取第一切换指令包括:The method according to any one of claims 1 to 3, wherein the first terminal acquiring the first handover instruction comprises:
    所述第一终端通过近距离无线通信NFC技术获取所述第二终端的ID。The first terminal obtains the ID of the second terminal through NFC technology.
  5. 一种云游戏跨终端切换的方法,其特征在于,包括:A method for switching cloud games across terminals, which is characterized in that it includes:
    第二终端获取第一终端上的云游戏客户端对应的云游戏信息,所述第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The second terminal acquires cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
    所述第二终端根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The second terminal establishes a communication link between a local cloud game client and the rendering server according to the cloud game information.
  6. 根据权利要求5所述的方法,其特征在于,所述第二终端获取第一终端上的云游戏客户端对应的云游戏信息包括:The method according to claim 5, wherein the acquiring, by the second terminal, the cloud game information corresponding to the cloud game client on the first terminal comprises:
    所述第二终端直接接收第一终端发送的云游戏客户端对应的云游戏信息。The second terminal directly receives cloud game information corresponding to the cloud game client sent by the first terminal.
  7. 根据权利要求6所述的方法,其特征在于,所述第二终端根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路包括:The method according to claim 6, wherein the second terminal establishing a communication link between a local cloud game client and the rendering server according to the cloud game information comprises:
    所述第二终端根据所述云游戏信息向管理服务器发送第二切换请求,所述第二切换请求用于请求根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路;The second terminal sends a second switching request to the management server according to the cloud game information, and the second switching request is used to request the establishment of a local cloud game client and the rendering server according to the cloud game information. Communication link
    所述第二终端接收所述管理服务器发送的与所述第二切换请求对应的第二切换响应;Receiving, by the second terminal, a second handover response corresponding to the second handover request sent by the management server;
    所述第二终端根据所述第二切换响应和所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The second terminal establishes a communication link between a local cloud game client and the rendering server according to the second switching response and the cloud game information.
  8. 根据权利要求5所述的方法,其特征在于,所述第二终端获取第一终端上的云游戏客户端对应的云游戏信息包括:The method according to claim 5, wherein the acquiring, by the second terminal, the cloud game information corresponding to the cloud game client on the first terminal comprises:
    所述第二终端接收管理服务器发送的第一终端上的云游戏客户端对应的云游戏信息。The second terminal receives cloud game information corresponding to the cloud game client on the first terminal sent by the management server.
  9. 根据权利要求8所述的方法,其特征在于,在所述第二终端根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路之前,所述方法还包括:The method according to claim 8, characterized in that, before the second terminal establishes a communication link between a local cloud game client and the rendering server according to the cloud game information, the method further comprises :
    所述第二终端向管理服务器发送建立连接请求,所述建立连接请求用于请求建立本地的云游戏客户端与所述渲染服务器之间的通信链路;Sending, by the second terminal, a connection establishment request to the management server, where the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
    所述第二终端接收所述管理服务器发送的与所述建立连接请求对应的切换提示,所述切换提示用于提示用户是否根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路;The second terminal receives a switching prompt corresponding to the connection establishment request sent by the management server, and the switching prompt is used to prompt the user whether to establish a local cloud game client and the rendering server according to the cloud game information Communication link between;
    所述第二终端接收用户输入的与所述切换提示对应的第二切换指令,所述第二切换指令用于指示所述第二终端根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The second terminal receives a second switching instruction corresponding to the switching prompt input by the user, and the second switching instruction is used to instruct the second terminal to establish a local cloud game client and a local cloud game client according to the cloud game information. Describes the communication link between the rendering servers.
  10. 根据权利要求5所述的方法,其特征在于,所述第二终端获取第一终端上的云游戏客户端对应的云游戏信息包括:The method according to claim 5, wherein the acquiring, by the second terminal, the cloud game information corresponding to the cloud game client on the first terminal comprises:
    第二终端直接读取第一终端上云游戏客户端对应的云游戏信息。The second terminal directly reads the cloud game information corresponding to the cloud game client on the first terminal.
  11. 一种云游戏跨终端切换的方法,其特征在于,包括:A method for switching cloud games across terminals, which is characterized in that it includes:
    管理服务器接收第一终端发送的第一切换请求,所述第一终端上的云游戏客户端与渲染服务器之间建立有通信链路,所述第一切换请求中携带有云游戏信息;The management server receives the first switching request sent by the first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first switching request carries cloud game information;
    所述管理服务器根据所述第一切换请求向所述第二终端发送所述云游戏信息,所述云游戏信息用于指示所述第二终端建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The management server sends the cloud game information to the second terminal according to the first switching request, and the cloud game information is used to instruct the second terminal to establish a relationship between the local cloud game client and the rendering server. Communication link between.
  12. 一种云游戏跨终端切换的方法,其特征在于,包括:A method for switching cloud games across terminals, which is characterized in that it includes:
    管理服务器接收第二终端发送的第二切换请求,所述第二切换请求用于请求根据第一终端上云游戏客户端对应的云游戏信息,建立本地的云游戏客户端与所述渲染服务器之间的通信链路,所述第一终端上云游戏客户端与所述渲染服务器之间建立有通信链路;The management server receives a second switching request sent by the second terminal, and the second switching request is used to request the establishment of a relationship between the local cloud game client and the rendering server according to the cloud game information corresponding to the cloud game client on the first terminal. A communication link between the cloud game client on the first terminal and the rendering server;
    所述管理服务器向所述第二终端发送与所述第二切换请求对应的第二切换响应,所述第二切换响应用于指示所述第二终端根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The management server sends a second switching response corresponding to the second switching request to the second terminal, where the second switching response is used to instruct the second terminal to establish a local cloud game according to the cloud game information The communication link between the client and the rendering server.
  13. 一种云游戏跨终端切换的方法,其特征在于,包括:A method for switching cloud games across terminals, which is characterized in that it includes:
    管理服务器接收第二终端发送的建立连接请求,所述建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The management server receives a connection establishment request sent by the second terminal, where the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
    所述管理服务器若检测到第一终端上的云游戏客户端与渲染服务器之间建立通信链路,则向所述第二终端发送所述第一终端上的云游戏客户端对应的云游戏信息和与所述建立连接请求对应的切换提示,所述第一终端上的云游戏客户端与所述第二终端上本地的云游戏客户端登录同一账号,所述切换提示用于提示用户是否根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。If the management server detects that a communication link is established between the cloud game client on the first terminal and the rendering server, it sends cloud game information corresponding to the cloud game client on the first terminal to the second terminal And the switching prompt corresponding to the connection establishment request, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account, and the switching prompt is used to prompt the user whether to follow The cloud game information establishes a communication link between a local cloud game client and the rendering server.
  14. 一种云游戏跨终端切换的装置,其特征在于,包括:A device for switching cloud games across terminals, which is characterized in that it includes:
    第一获取单元,用于获取第一切换指令,所述第一切换指令用于指示所述第一终端向第二终端发送云游戏客户端对应的云游戏信息,所述第一终端上的云游戏客户端与渲染服 务器之间建立有通信链路;The first acquiring unit is configured to acquire a first switching instruction, where the first switching instruction is used to instruct the first terminal to send cloud game information corresponding to the cloud game client to the second terminal, and the cloud on the first terminal A communication link is established between the game client and the rendering server;
    第一发送单元,用于根据所述第一切换指令向所述第二终端发送所述云游戏信息,所述云游戏信息用于指示所述第二终端建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The first sending unit is configured to send the cloud game information to the second terminal according to the first switching instruction, and the cloud game information is used to instruct the second terminal to establish a local cloud game client with the The communication link between rendering servers.
  15. 一种云游戏跨终端切换的装置,其特征在于,包括:A device for switching cloud games across terminals, which is characterized in that it includes:
    第二获取单元,用于获取第一终端上的云游戏客户端对应的云游戏信息,所述第一终端上的云游戏客户端与渲染服务器之间建立有通信链路;The second acquiring unit is configured to acquire cloud game information corresponding to the cloud game client on the first terminal, and a communication link is established between the cloud game client on the first terminal and the rendering server;
    第一处理单元,用于根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The first processing unit is configured to establish a communication link between a local cloud game client and the rendering server according to the cloud game information.
  16. 一种云游戏跨终端切换的装置,其特征在于,包括:A device for switching cloud games across terminals, which is characterized in that it includes:
    第一接收单元,用于接收第一终端发送的第一切换请求,所述第一终端上的云游戏客户端与渲染服务器之间建立有通信链路,所述第一切换请求中携带有云游戏信息;The first receiving unit is configured to receive a first handover request sent by a first terminal, a communication link is established between the cloud game client on the first terminal and the rendering server, and the first handover request carries a cloud Game information
    第二发送单元,用于根据所述第一切换请求向所述第二终端发送所述云游戏信息,所述云游戏信息用于指示所述第二终端建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The second sending unit is configured to send the cloud game information to the second terminal according to the first switching request, where the cloud game information is used to instruct the second terminal to establish a local cloud game client with the The communication link between rendering servers.
  17. 一种云游戏跨终端切换的装置,其特征在于,包括:A device for switching cloud games across terminals, which is characterized in that it includes:
    第二接收单元,用于接收第二终端发送的第二切换请求,所述第二切换请求用于请求根据第一终端上云游戏客户端对应的云游戏信息,建立本地的云游戏客户端与所述渲染服务器之间的通信链路,所述第一终端上云游戏客户端与所述渲染服务器之间建立有通信链路;The second receiving unit is configured to receive a second switching request sent by the second terminal, where the second switching request is used to request the establishment of a local cloud game client and the cloud game client according to the cloud game information corresponding to the cloud game client on the first terminal A communication link between the rendering servers, a communication link is established between the cloud game client on the first terminal and the rendering server;
    第三发送单元,用于向所述第二终端发送与所述第二切换请求对应的第二切换响应,所述第二切换响应用于指示所述第二终端根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The third sending unit is configured to send a second handover response corresponding to the second handover request to the second terminal, where the second handover response is used to instruct the second terminal to establish a local The communication link between the cloud game client and the rendering server.
  18. 一种云游戏跨终端切换的装置,其特征在于,包括:A device for switching cloud games across terminals, which is characterized in that it includes:
    第三接收单元,用于接收第二终端发送的建立连接请求,所述建立连接请求用于请求建立本地的云游戏客户端与渲染服务器之间的通信链路;The third receiving unit is configured to receive a connection establishment request sent by the second terminal, where the connection establishment request is used to request the establishment of a communication link between the local cloud game client and the rendering server;
    第四发送单元,用于当检测到第一终端上的云游戏客户端与渲染服务器之间建立通信链路时,向所述第二终端发送与所述建立连接请求对应的切换提示和所述第一终端上的云游戏客户端对应的云游戏信息,所述第一终端上的云游戏客户端与所述第二终端上本地的云游戏客户端登录同一账号,所述切换提示用于提示用户是否根据所述云游戏信息建立本地的云游戏客户端与所述渲染服务器之间的通信链路。The fourth sending unit is configured to send a switching prompt corresponding to the connection establishment request and the second terminal to the second terminal when it is detected that a communication link is established between the cloud game client on the first terminal and the rendering server. Cloud game information corresponding to the cloud game client on the first terminal, the cloud game client on the first terminal and the local cloud game client on the second terminal log in to the same account, and the switching prompt is used for prompting Whether the user establishes a communication link between the local cloud game client and the rendering server according to the cloud game information.
  19. 一种终端设备,其特征在于,包括:存储器、收发器、处理器以及总线系统;A terminal device, characterized by comprising: a memory, a transceiver, a processor, and a bus system;
    其中,所述存储器用于存储程序;Wherein, the memory is used to store a program;
    所述处理器用于执行所述存储器中的程序,以执行如权利要求1至10中任一项所述的方法。The processor is configured to execute the program in the memory to execute the method according to any one of claims 1 to 10.
  20. 一种管理服务器,其特征在于,包括:存储器、收发器、处理器以及总线系统;A management server, which is characterized by comprising: a memory, a transceiver, a processor, and a bus system;
    其中,所述存储器用于存储程序;Wherein, the memory is used to store a program;
    所述处理器用于执行所述存储器中的程序,以执行如权利要求11至13中任一项所述的方法。The processor is configured to execute the program in the memory to execute the method according to any one of claims 11 to 13.
  21. 一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1至13中任一项所述的方法。A computer-readable storage medium, comprising instructions, which when run on a computer, cause the computer to execute the method according to any one of claims 1 to 13.
PCT/CN2020/122965 2019-10-22 2020-10-22 Method for cross-terminal switching of cloud game and related device WO2021078215A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911010529.0A CN112691363A (en) 2019-10-22 2019-10-22 Cross-terminal switching method and related device for cloud games
CN201911010529.0 2019-10-22

Publications (1)

Publication Number Publication Date
WO2021078215A1 true WO2021078215A1 (en) 2021-04-29

Family

ID=75504869

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122965 WO2021078215A1 (en) 2019-10-22 2020-10-22 Method for cross-terminal switching of cloud game and related device

Country Status (2)

Country Link
CN (1) CN112691363A (en)
WO (1) WO2021078215A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116920415A (en) * 2023-09-15 2023-10-24 深圳云天畅想信息科技有限公司 Cloud game multi-terminal interaction switching method and device and computer equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584615A (en) * 2022-03-01 2022-06-03 阿里巴巴(中国)有限公司 Cloud service collaborative interaction method, device and equipment
CN116899210A (en) * 2023-01-28 2023-10-20 腾讯科技(深圳)有限公司 Data processing method and device and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969443A (en) * 2010-10-28 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method and system for switching and operating network application program on network terminal
CN102752327A (en) * 2011-04-19 2012-10-24 南京中兴新软件有限责任公司 Method, system and device for performing interaction between terminals and cloud server
CN103034533A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method, device and terminal of switching games between different terminals
CN103067403A (en) * 2013-01-10 2013-04-24 中兴通讯股份有限公司 Method and system and server of business switching
CN103874989A (en) * 2011-11-07 2014-06-18 史克威尔·艾尼克斯控股公司 Rendering server, central server, encoding apparatus, control method, encoding method, program, and recording medium
US20170230481A1 (en) * 2014-10-31 2017-08-10 Tencent Technology (Shenzhen) Company Limited Method, Apparatus And Non-Transitory Computer Storage Medium For Migrating Application Data Between Terminals

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10207185B2 (en) * 2015-03-07 2019-02-19 Sony Interactive Entertainment America Llc Using connection quality history to optimize user experience
US10238965B2 (en) * 2016-04-28 2019-03-26 Sony Interactive Entertainment America Llc Cloud gaming device handover
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN109589606A (en) * 2019-01-03 2019-04-09 中国联合网络通信集团有限公司 A kind of information processing method and equipment, system
CN110180166B (en) * 2019-07-16 2022-04-22 南昌黑鲨科技有限公司 Control system and method based on cloud game scene

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969443A (en) * 2010-10-28 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Method and system for switching and operating network application program on network terminal
CN102752327A (en) * 2011-04-19 2012-10-24 南京中兴新软件有限责任公司 Method, system and device for performing interaction between terminals and cloud server
CN103034533A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method, device and terminal of switching games between different terminals
CN103874989A (en) * 2011-11-07 2014-06-18 史克威尔·艾尼克斯控股公司 Rendering server, central server, encoding apparatus, control method, encoding method, program, and recording medium
CN103067403A (en) * 2013-01-10 2013-04-24 中兴通讯股份有限公司 Method and system and server of business switching
US20170230481A1 (en) * 2014-10-31 2017-08-10 Tencent Technology (Shenzhen) Company Limited Method, Apparatus And Non-Transitory Computer Storage Medium For Migrating Application Data Between Terminals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116920415A (en) * 2023-09-15 2023-10-24 深圳云天畅想信息科技有限公司 Cloud game multi-terminal interaction switching method and device and computer equipment
CN116920415B (en) * 2023-09-15 2023-12-08 深圳云天畅想信息科技有限公司 Cloud game multi-terminal interaction switching method and device and computer equipment

Also Published As

Publication number Publication date
CN112691363A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
US10834432B2 (en) Method, device and system for in-sequence live streaming
US11798107B2 (en) Scenario-based application recommendation method and apparatus
KR102025713B1 (en) Method, server, mobile terminal and device for exchanging data with in-vehicle infotainment
WO2021078215A1 (en) Method for cross-terminal switching of cloud game and related device
WO2015124033A1 (en) Video interaction method, terminal, server and system
WO2016150270A1 (en) Method and apparatus for processing group session message
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
WO2016127795A1 (en) Service processing method, server, and terminal
WO2018121086A1 (en) Method for connecting to hidden ap, and terminal device
WO2017215660A1 (en) Scene sound effect control method, and electronic device
WO2021104230A1 (en) Synchronization method and electronic device
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
US10691819B2 (en) Method and apparatus for remotely deleting information
WO2017215511A1 (en) Control method of scene sound effect and related products
WO2018049894A1 (en) Data transmission method and device
WO2017114115A1 (en) Data processing method, apparatus and system for vehicle diagnosis system
WO2019076250A1 (en) Push message management method and related products
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
WO2019095156A1 (en) Information search method, terminal, network device, and system
CN108270764B (en) Application login method, server and mobile terminal
WO2017000495A1 (en) Method and device for adding contacts
WO2014026581A1 (en) Information management method, client, and mobile terminal

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: 20879247

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20879247

Country of ref document: EP

Kind code of ref document: A1