WO2022062921A1 - 应用程序的启动及存档方法、装置、设备及存储介质 - Google Patents

应用程序的启动及存档方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022062921A1
WO2022062921A1 PCT/CN2021/117770 CN2021117770W WO2022062921A1 WO 2022062921 A1 WO2022062921 A1 WO 2022062921A1 CN 2021117770 W CN2021117770 W CN 2021117770W WO 2022062921 A1 WO2022062921 A1 WO 2022062921A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
application
cloud
cloud game
video
Prior art date
Application number
PCT/CN2021/117770
Other languages
English (en)
French (fr)
Inventor
张云
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2022062921A1 publication Critical patent/WO2022062921A1/zh
Priority to US17/954,111 priority Critical patent/US20230014732A1/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/45Controlling the progress of the video game
    • 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/45Controlling the progress of the video game
    • A63F13/49Saving the game status; Pausing or ending the game
    • A63F13/493Resuming a game, e.g. after pausing, malfunction or power failure
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/355Performing operations on behalf of clients with restricted processing capabilities, e.g. servers transform changing game scene into an MPEG-stream for transmitting to a mobile phone or a thin client
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • A63F13/48Starting a game, e.g. activating a game device or waiting for other players to join a multiplayer session
    • 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/45Controlling the progress of the video game
    • A63F13/49Saving the game status; Pausing or ending the game
    • 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/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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/60Methods for processing data by generating or executing the game program
    • A63F2300/63Methods for processing data by generating or executing the game program for controlling the execution of the game in time
    • A63F2300/636Methods for processing data by generating or executing the game program for controlling the execution of the game in time involving process of starting or resuming a game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the embodiments of the present application relate to the technical field of cloud computing and cloud games, and in particular, to a method, apparatus, device, and storage medium for starting and archiving an application program.
  • Cloud gaming is an online game technology based on cloud computing technology. Compared with the traditional game operation mode, it has the advantage of light weight. Cloud games get rid of the dependence on hardware resources. Because they run on the server side, the user side does not need to have strong graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities, input command acquisition capabilities, and data transmission capabilities. .
  • a cloud game video is formed by recording the process of the user operating the cloud game, and the cloud game video is posted on a specific webpage or specific client, and then clicks the cloud game video on the posting platform. You can watch the process of the user operating the cloud game.
  • users are likely to need to operate cloud games. At this time, users need to first determine the cloud game corresponding to the cloud game video, then find the corresponding delivery platform for the cloud game, and then start from the delivery platform. Click the cloud game in the middle to load the cloud game, and then realize the purpose of operating the cloud game.
  • Embodiments of the present application provide a method, apparatus, device, and storage medium for starting and archiving an application, which can be used to conveniently start a cloud game application.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for starting an application, the method is executed by a terminal, and the method includes:
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received.
  • an embodiment of the present application provides a method for archiving an application, the method is executed by a terminal, and the method includes:
  • the playback data is stored.
  • an embodiment of the present application provides a device for starting an application, the device comprising:
  • the video playback module is used to play the game video corresponding to the cloud game application
  • a program startup module configured to start and run the cloud game application in response to a startup operation for the cloud game application, and display a display interface of the cloud game application;
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received.
  • an embodiment of the present application provides an apparatus for archiving an application, the apparatus comprising:
  • the video recording module is used to record the game screen of the cloud game application during the game progress, and obtain the game video;
  • an archive recording module configured to record game data and obtain a cloud game archive corresponding to the cloud game application, where the game data refers to the data involved in the progress of the game;
  • a data generation module configured to associate the game video with the cloud game archive, and obtain the play data corresponding to the cloud game application
  • a data storage module for storing the playback data.
  • an embodiment of the present application provides a terminal, the terminal includes a processor and a memory, and the memory stores at least one instruction, at least a piece of program, code set or instruction set, the at least one instruction, all the The at least one piece of program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned method for starting the application program, or the above-mentioned method for archiving the application program.
  • an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one piece of program, code set or instruction set is stored in the computer-readable storage medium, the at least one instruction, the At least one piece of program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned method for launching an application program, or to implement the above-mentioned method for archiving an application program.
  • an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the above-mentioned application startup method, or implements the above-mentioned application program archive method.
  • a start operation for the cloud game application is received, and in response to the start operation, the cloud game application is started and run, thereby realizing the convenience of playing the game video.
  • Starting the cloud game application not only simplifies the start-up process of the cloud game application, but also improves the start-up efficiency of the cloud game application.
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received, thereby avoiding cloud computing.
  • the deviation between the game progress of the game application and the game progress shown in the game video ensures that the user operates the cloud game application from the starting point of the game he chooses or from the starting point of the game he is interested in, so as to achieve "what you see is what you play" Effect.
  • FIG. 1 is a schematic diagram of a cloud game management system provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a startup process of a cloud game application provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a startup process of a cloud game application provided by another embodiment of the present application.
  • FIG. 4 is a flowchart of a method for starting an application provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a startup process of a cloud game application provided by another embodiment of the present application.
  • FIG. 6 is a schematic diagram of a triggering process of a start operation provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a triggering process of a start operation provided by another embodiment of the present application.
  • FIG. 8 is a schematic diagram of a triggering process of a start operation provided by another embodiment of the present application.
  • FIG. 9 is a flowchart of a method for archiving an application program provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a method for archiving an application program provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a method for starting and archiving an application provided by an embodiment of the present application.
  • FIG. 12 is a block diagram of an application startup device provided by an embodiment of the present application.
  • FIG. 13 is a block diagram of a device for starting an application provided by another embodiment of the present application.
  • FIG. 14 is a block diagram of an archive device for an application program provided by an embodiment of the present application.
  • FIG. 15 is a structural block diagram of a terminal provided by an embodiment of the present application.
  • Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, enabling various application systems to obtain computing power, storage space and information services as needed.
  • the network that provides the resources is called the “cloud”.
  • the resources in the "cloud” are infinitely scalable from the point of view of the user, and can be acquired at any time, used on demand, expanded at any time, and paid for use.
  • a cloud computing resource pool (referred to as "cloud platform”, generally called IaaS (Infrastructure as a Service, infrastructure as a service) platform) will be established, and various types of virtual machines will be deployed in the resource pool. Resources for external customers to choose and use.
  • the cloud computing resource pool mainly includes: computing devices (which are virtualized machines, including operating systems), storage devices, and network devices.
  • the PaaS (Platform as a Service) layer can be deployed on the IaaS layer, and the SaaS (Software as a Service) layer can be deployed on the PaaS layer, or the SaaS can be directly deployed on the on IaaS.
  • PaaS is a platform on which software runs, such as databases, Web (World Wide Web) containers, etc.
  • SaaS is a variety of business software, such as Web portals, SMS group senders, and so on.
  • SaaS and PaaS are upper layers relative to IaaS.
  • Cloud gaming also known as gaming on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology enables thin clients with relatively limited graphics processing and data computing capabilities to run high-quality games.
  • the game is not run on the user's game terminal, but in the cloud server, and the cloud server renders the game scene into a video and audio stream, and transmits it to the user's game terminal through the network.
  • the user game terminal does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain user input instructions and send them to the cloud server.
  • FIG. 1 shows a schematic diagram of a cloud game management system provided by an embodiment of the present application.
  • the cloud game management system includes: a first terminal 10 , a second terminal 20 and a cloud game server 30 .
  • the first terminal 10 and the second terminal 20 may be electronic devices such as mobile phones, tablet computers, game consoles, e-book readers, multimedia playback devices, wearable devices, PCs (Personal Computers, personal computers).
  • the first terminal 10 and the second terminal 20 are installed with a client 50 running a cloud game application (that is, the above-mentioned cloud game); or, the first terminal 10 and the second terminal 20 are not installed and run a cloud game.
  • the client 50 of the application obtains the data of the cloud game application from the cloud game server 30 to load the cloud game application after receiving the startup operation for the cloud game application.
  • This embodiment of the present application does not limit the dependency relationship of the cloud game application.
  • the cloud game application is an independent application that can be directly run on the operating system and can be run without relying on other applications, such as a cloud game application.
  • a cloud game application is an APP (Application, mobile phone software); or, a cloud game application is a sub-application of a target application and needs to rely on the target application to run, for example, a cloud game application is a small program.
  • the cloud game application is a sub-application of the target application
  • the user can directly open the cloud game application by scanning the QR code corresponding to the cloud game application or searching for the name of the cloud game application.
  • Game applications can be easily acquired and transferred in the target application.
  • the target application is an application used to host cloud game applications, and provides an environment for the realization of cloud game applications.
  • Target applications are native applications that run directly on the operating system. This embodiment of the present application does not limit the specific type of the target application.
  • the target application may be a social application, a dedicated application that supports sub-applications, a file management application, an email application, or a game application, etc.
  • Social applications include instant messaging applications, SNS (Social Network Service, social networking site) applications or live broadcast applications.
  • the first terminal 10 refers to the terminal held by the user who records or edits the cloud game video.
  • the user who records or edits the cloud game video can start the cloud game application through the client of the cloud game application installed and run in the first terminal 10, and control the first terminal 10 to record the cloud game during the running process of the cloud game application.
  • the game screen of the application forms a cloud game video.
  • the first terminal 10 may also record data involved in the running process of the cloud game application, and form a cloud game archive. After that, the first terminal 10 may send the cloud game video and the cloud game archive to the cloud game server 30 for storage and the like.
  • the second terminal 20 refers to the terminal held by the user who watches the cloud game video.
  • users can watch cloud game videos in cloud game applications, or watch cloud game videos in other applications, such as live broadcast applications, social applications, video applications, etc., and can also watch in web pages.
  • Cloud game video which is not limited in this embodiment of the present application.
  • the second terminal 20 may also receive the rendered game screen from the cloud game server 30, and then may load the game screen, and may receive an operation instruction input by the user.
  • the first terminal 10 can also be used to play cloud game videos
  • the second terminal 20 can also be used to record or edit cloud game videos, that is, the first terminal 10 or the second terminal 20 can be used to record both Or edit cloud gaming videos, also used to play cloud gaming videos.
  • FIG. 1 is only for the convenience of description.
  • the first terminal 10 is used for recording or editing cloud game videos
  • the second terminal 20 is used for playing cloud game videos. It should be understood that this does not constitute a limitation on the technical solutions of the present application.
  • the cloud game server 30 is used to provide background services for the clients of the cloud game application programs installed and running in the first terminal 10 and the second terminal 20 .
  • the cloud game server 30 may be the background server of the above-mentioned cloud game application.
  • the cloud game server 30 may be a server, a server cluster composed of multiple servers, or a cloud computing service center.
  • the cloud game server 30 provides background services for cloud game applications in multiple terminals at the same time.
  • the first terminal 10 and the cloud game server 30 and the second terminal 20 and the cloud game server 30 communicate with each other through the network 40 .
  • the network may be a wired network or a wireless network, which is not limited in this embodiment of the present application.
  • the first terminal 10 sends the cloud game video recorded during the running of the cloud game application and/or the recorded cloud game data, etc. to the cloud game server 30; the cloud game server 30 renders the cloud game according to the cloud game data
  • the second terminal 20 starts the cloud game application, loads the rendered game screen, and receives user operations.
  • a game selection interface 22 is displayed in the second terminal, and the game selection interface 22 includes a cloud game video corresponding to at least one cloud game application.
  • the user clicks on any cloud game video, and the second terminal displays the play interface 24 of the cloud game video.
  • the play interface 24 of the cloud game video includes a trial play button 26, and the user clicks the trial play button 26 to trigger the second terminal to load the cloud game application. After that, the user can start to operate the cloud game application from the starting level of the cloud game application.
  • Option 2 As shown in FIG. 3 , a play interface 32 of a cloud game video is displayed in the second terminal, and the play interface 32 of the cloud game video includes an option 34 of at least one game segment corresponding to the cloud game application.
  • the user can trigger the second terminal to load the cloud game application by clicking option 34 of any game segment. After that, the user can operate the cloud game application from the starting moment of the game segment.
  • the user starts to operate the cloud game application from the start level of the cloud game application, that is, the initial display interface 28 after the cloud game application is started is the display interface corresponding to the start level of the cloud game application .
  • Users will not be able to freely choose the starting point for operating the cloud game application, but must start the operation from the starting level of the cloud game application.
  • the cloud game video does not necessarily correspond to the starting level of the cloud game application, that is, the display content of the initial display interface 28 and the display content of the cloud game video playback interface 24 may be different, and the user generates an operation cloud.
  • the reason for the demand of game applications may be due to the display content of cloud game videos, but after starting the cloud game application, the game segments of interest cannot be operated, thereby affecting the user's operating experience.
  • the cloud game video is not necessarily played to the game screen corresponding to the start time of the game clip, and the display content of the cloud game video playback interface 32 is not necessarily the same as the game clip. That is, the display content of the initial display interface 36 and the display content of the cloud game video playback interface 34 may be different, which affects the user's operation experience.
  • the user can only operate the cloud game application from the starting moment of the selected game segment, so the user cannot accurately select the starting point for operating the cloud game application.
  • the embodiments of the present application provide a method for starting and archiving an application, which can be used to conveniently start a cloud game application and ensure that the playing interface of the cloud game video matches the initial display interface after the cloud game application is started.
  • the technical solutions of the present application will be described with reference to several embodiments.
  • FIG. 4 shows a flowchart of a method for starting an application provided by an embodiment of the present application.
  • the method can be applied to terminals, such as the first terminal 10 and the second terminal 20 in the cloud game management system shown in FIG. 1 above.
  • the method may include the following steps (steps 410-420).
  • Step 410 Play the game video corresponding to the cloud game application.
  • the game video corresponding to the cloud game application refers to the game video related to the cloud game application, for example, the game video recorded when the user operates the cloud game application, the game video introducing the cloud game application (for example, the introduction The game video of the operation mode of the application (such as automatic running, jumping, etc.); the game video introducing various operation controls (such as buttons, sliders, etc.) in the cloud game application; the game operation involved in the cloud game application (such as release skills, etc.), virtual items (such as virtual missiles, virtual aircraft, etc.), game videos, etc.; game videos that introduce the image of virtual characters involved in cloud game applications (such as virtual character dress-up, etc.), etc.) .
  • the game video introducing the cloud game application for example, the introduction The game video of the operation mode of the application (such as automatic running, jumping, etc.); the game video introducing various operation controls (such as buttons, sliders, etc.) in the cloud game application; the game operation involved in the cloud game application ( Such as release skills, etc.), virtual items (such
  • the terminal can play the game video corresponding to the cloud game application.
  • the embodiments of the present application do not limit the way the terminal plays the game video.
  • the terminal plays the game video on the webpage, for example, the process in which the user operates the cloud game application.
  • the game video recorded in the cloud game is uploaded to the website, after which the terminal can open the website to play the game video on the webpage; or, the terminal can play the game video in the cloud game application.
  • game videos can be viewed in cloud game applications; or, the terminal can play game videos in other applications that can provide video playback functions, such as live broadcast applications, social applications, and video applications.
  • operation controls and indication information may be displayed on the game video playback interface of the cloud game application, for example, exit controls , one or more of pause controls, acceleration controls, zoom controls, progress adjustment controls, start time and end time indication information, playback progress indication information, and the like.
  • the embodiment of the present application does not limit the display styles of the operation controls and the instruction information.
  • the operation controls include one or more of buttons, sliders, and text boxes; optionally, the instruction information includes text instruction information, One or more of color indication information, shape indication information, and the like.
  • the user can also trigger the terminal to perform the functions that can be achieved by the above operation controls in other ways, for example, triggering the terminal to pause, accelerate, exit, and zoom the game video through gestures, voice and other means.
  • FIG. 5( a ) is a playing interface of a game video provided by an embodiment of the present application.
  • the play interface 510 of the game video includes exit control 511 , pause control 512 , start time indication information 513 , playback progress indication information 514 , progress adjustment control 515 , end time indication information 516 , and zoom control 517 .
  • Step 420 in response to the startup operation for the cloud game application, start and run the cloud game application, and display the display interface of the cloud game application; wherein, the content of the game screen displayed on the initial display interface of the cloud game application after startup , which matches the game screen content displayed by the frame of the game video when the startup operation is received.
  • the terminal may receive a startup operation for the cloud game application.
  • This embodiment of the present application does not limit the manner of triggering the startup operation.
  • the playback interface of the game video includes the startup control of the cloud game application, and the user touches the startup control to trigger the terminal to receive the startup for the cloud game application. operation, so that the terminal can start the cloud game application; or, in the process of playing the game video, the terminal receives the operation or instruction input in the playing interface of the game video, and the input operation or instruction matches the preset operation or instruction.
  • the preset operation or instruction is a pre-defined operation or instruction for triggering the cloud game application; or, in the process of playing the game video, the user touches the control the playing interface of the game video to trigger the terminal to display the start control of the cloud game application, and then the user touches the start control to trigger the terminal to receive the start operation for the cloud game application; or, in the process of playing the game video, the user Through voice, gesture, AI (Artificial Intelligence, artificial intelligence) and other operations, the terminal is triggered to receive the startup operation for the cloud game application.
  • AI Artificial Intelligence, artificial intelligence
  • the terminal may start and run the cloud game application, and display the display interface of the cloud game application.
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received.
  • the game screen content displayed by the screen frame of the game video when the terminal receives the startup operation is shown in Figure 5(a).
  • the initial stage of the cloud game application The content of the game screen displayed on the display interface is shown in Figure 5(c).
  • the contents of the two game screens match described in the embodiments of the present application include but are not limited to any of the following: the contents of the two game screens are the same, the contents of the two game screens are connected, and the contents of the two game screens are the same. Consistent, the content of the two game screens is similar.
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup is the same as the content of the game screen displayed by the screen frame of the game video when the startup operation is received.
  • the game screen content displayed on the initial display interface of the cloud game application after startup is connected with the game screen content displayed by the screen frame of the game video when the startup operation is received.
  • the content of the game screen displayed on the initial display interface after startup is the content of the game screen displayed immediately after receiving the content of the game screen displayed by the frame of the game video during the startup operation, or the content of the game video when the startup operation is received.
  • the embodiments of the present application ensure that the content of the game screen displayed on the initial display interface of the cloud game application matches the content of the game screen displayed by the screen frame of the game video when the terminal receives the startup operation, so that the game screen of the cloud game application can be avoided.
  • the deviation between the progress and the game progress shown in the game video ensures that the user starts to operate the cloud game application from the game starting point of his choice, and achieves the effect of "what you see is what you play".
  • the terminal when the terminal receives a startup operation for the cloud game application and starts and runs the cloud game application, the terminal may display a loading interface of the cloud game application, where the loading interface is used to prompt that the cloud game application is being loaded .
  • the loading interface includes waiting time indication information and/or a cancellation control, the waiting time indication information is used to indicate the length of time to wait until the initial display interface of the cloud game application is displayed, and the cancellation control is used to cancel the loading of the cloud.
  • Game application when the terminal receives the trigger operation for the cancel control, it can cancel the loading of the cloud game application and continue to play the game video of the cloud game application.
  • the terminal when the game video is played to the screen frame shown in Figure 5(a), the terminal receives the startup operation for the cloud game application, and displays the cloud game application shown in Figure 5(b) The loading interface of the program, which includes the waiting time prompt information and the cancel control. If the terminal does not receive a touch operation for canceling the control during the process of displaying the loading interface, or does not receive any other cancel operation for canceling the loading of the cloud game application, after the cloud game application is loaded, the display will be displayed as shown in the figure below.
  • the technical solutions provided by the embodiments of the present application receive a startup operation for the cloud game application in the process of playing the game video corresponding to the cloud game application, and start running the cloud game in response to the startup operation application, so that the cloud game application can be conveniently started during the playing process of the game video, which not only simplifies the startup process of the cloud game application, but also improves the startup efficiency of the cloud game application.
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received, thereby avoiding cloud computing.
  • the deviation between the game progress of the game application and the game progress shown in the game video ensures that the user operates the cloud game application from the starting point of the game he chooses or from the starting point of the game he is interested in, so as to achieve "what you see is what you play" Effect.
  • the embodiments of the present application provide various triggering methods for the startup operation of the cloud game application. Hereinafter, several manners for triggering the start operation provided by the embodiments of the present application are introduced and described.
  • the method further includes: receiving a first operation for the playing interface of the game video; and determining that a start operation is received when the first operation matches the game control operation.
  • an operation control is a newly developed operation control of the cloud game application.
  • the user is likely to have the need to touch the operation control.
  • the user can input the first operation in the game video playback interface.
  • the user A sliding (or called dragging, moving, etc.) operation can be input in the playing interface of the game video.
  • the terminal may receive the first operation input in the playing interface of the game video, that is, receive the first operation for the playing interface of the game video.
  • the terminal may compare the first operation with the game control operation, and in the case that the first operation matches the game control operation, determine that a startup operation for the cloud game application is received, and Start and run the cloud gaming application.
  • the game control operation refers to the operation received by the cloud game application indicated by the game video. During the process of playing the game video, the terminal may also obtain the game control operation.
  • the terminal acquires the game control operation in advance before starting to play the game video or playing the game video, so as to facilitate subsequent direct use; or, the terminal is playing the game video.
  • the game control operation corresponding to the time stamp is obtained in real time according to the time stamp corresponding to the picture frame of the game video; or, before the terminal starts to play the game video or plays the game video, the game control operation is obtained in advance, and the game The control operation is stored in the cache, and in the subsequent process of playing the game video, according to the time stamp corresponding to the frame of the game video, the game control operation corresponding to the time stamp is obtained from the cache in real time.
  • the game control operation can be indicated by operation data, which can be stored in the game data of the cloud game application, that is, the terminal can obtain the operation data from the game data to determine the game control operation indicated by the operation data.
  • Game data refers to the data involved in the game progress of cloud game applications, such as operation data, path data of user-controlled virtual objects, and data of virtual resources (such as virtual costumes, virtual items, etc.) owned by user-controlled virtual objects .
  • the method further includes: determining a second time stamp; and acquiring game data corresponding to the second time stamp.
  • the second time stamp is the time stamp corresponding to the picture frame of the game video when the first operation is received, and the terminal may determine the time stamp corresponding to the picture frame of the game video while receiving the first operation.
  • the game data of the cloud game application program establishes an association relationship with the game video of the cloud game application program through the time stamp.
  • the game data corresponding to the second time stamp includes operation data corresponding to the second time stamp, and the operation data corresponding to the second time stamp is used to indicate a game control operation received at the second time stamp.
  • This embodiment of the present application does not limit the specific matching method of the first operation and the game control operation.
  • the operation data includes parameter information such as operation type, operation location information, operation duration, and operation times.
  • the parameter information of the two operation data is consistent
  • the parameter information of the two operation data includes but is not limited to at least one of the following: the parameter information of the two operation data is the same, the parameter information of the two operation data is similar, the The parameter information includes parameter information and the like of another operation data.
  • the terminal can determine The first operation matches the game control operation.
  • the operation data includes the parameter information of operation duration, and the operation data of the first operation is an operation with a duration of 2.2 seconds, and the operation data indicating the game control operation is an operation with a duration of 2.21 seconds. If the operation durations in seconds are similar, the terminal may determine that the first operation matches the game control operation. Also for example, the operation data includes the parameter information of operation position information, and the operation data of the first operation is a sliding operation from the left side of the interface to the middle of the interface for the first slider, and the operation data indicating the game control operation is for the first slider.
  • the sliding operation of the slider from the left side of the interface to the right side of the interface since the operation position information of "sliding operation from the left side of the interface to the right side of the interface for the first slider" includes “for the first slider from the left side of the interface to the interface
  • the operation position information of the middle sliding operation the terminal can determine that the first operation matches the game control operation.
  • FIG. 6( a ) shows a schematic diagram of a trigger start operation provided by an embodiment of the present application
  • FIG. 6( b ) shows a flowchart of a trigger start operation provided by an embodiment of the present application.
  • the terminal plays the game video corresponding to the cloud game application.
  • the game video indicates that when user A is operating the cloud game application, the cloud game application receives
  • the game control operation is to drag the slider 610 to the bottom right of the interface.
  • the terminal also receives the first operation of the user B watching the game video on the playing interface of the game video, and the terminal determines whether the first operation matches the game control operation.
  • the terminal determines that the startup operation for the cloud game application is received, and starts and runs the cloud game application program; in the case that the first operation does not match the game control operation (for example, the first operation is to drag the slider 610 to the upper part of the interface, or, although the first operation is also to drag the slider 610 to the lower right of the interface, the first operation is to drag the slider 610 to the upper right of the interface,
  • the starting point of an operation is inconsistent with the starting point of the game control operation, for example, the starting point of the game control operation is the area where the slider 610 is located, but the starting point of the first operation is the blank area of the interface), the terminal continues to play the game video corresponding to the cloud game application .
  • the method further includes: in response to the second operation on the playing interface of the game video, displaying the startup controls of the cloud game application; in response to the third operation on the startup controls, determining that startup controls are received operate.
  • the user When the user needs to operate the cloud game application, he can also input a second operation in the game video playback interface. For example, when the user needs to operate a certain slider in the cloud game application, the user You can enter a click operation in the play interface of the game video.
  • the terminal may receive the second operation input in the playing interface of the game video, that is, receive the second operation for the playing interface of the game video.
  • the second operation is a click operation, a pressing operation, a sliding operation, and the like.
  • This embodiment of the present application does not limit the operation position of the second operation.
  • the operation position of the second operation is an area other than the position where the existing operation controls are located in the playing interface of the game video.
  • the playback interface includes pause controls, exit controls, progress adjustment controls, and zoom controls
  • the second operation can be applied to any area except where the pause controls, exit controls, progress adjustment controls, and zoom controls are located.
  • the startup control of the cloud game application may be displayed.
  • the startup control can be displayed on the playing interface of the game video, or can be displayed on a display layer above the layer where the playing interface of the game video is located.
  • the embodiment of the present application does not limit the display position of the start-up control.
  • the display position of the start-up control corresponds to the operation position of the second operation; or, the display position of the start-up control is a preset display position; or, the start-up control
  • the display position of is a random display position.
  • the display of the startup controls does not block the main display elements in the playing interface of the game video, for example, does not block the display of other controls, does not block the display of virtual characters in the virtual environment indicated by the game video, and the like.
  • the embodiment of the present application does not limit the display style of the startup control.
  • the startup control is a button, a slider, etc.; or, the startup control may further include text prompt information to prompt the user to touch the startup control to trigger the terminal to start. Run cloud gaming applications.
  • the terminal determines that the activation operation is received. For example, when the start control is a button, the user can click the button to trigger the terminal to receive the start operation of the cloud game application; when the start control is a slider, the user can slide the slider to trigger the terminal to receive the cloud game. The launch action of the application.
  • the terminal cancels the display of the activation control, so as to avoid affecting the user's viewing of the game video.
  • FIG. 7( a ) shows a schematic diagram of a trigger start operation provided by an embodiment of the present application
  • FIG. 7( b ) shows a flowchart of a trigger start operation provided by an embodiment of the present application.
  • the terminal plays the game video corresponding to the cloud game application.
  • the user clicks on the play interface of the game video to trigger the terminal to receive the second operation.
  • the terminal displays the start control 710 of the cloud game application, and the display position of the start control 710 may be the click position of the user's click play interface, or a predefined display position.
  • the terminal receives the third operation for the start control, and starts and runs the cloud game application; when the user touches other areas where the start control is located, for example, the user clicks to play In the blank area in the interface, the terminal cancels the display of the startup control 710, and continues to play the game video corresponding to the cloud game application.
  • the method further includes: receiving a fourth operation for the playing interface of the game video; and determining that the starting operation is received if the fourth operation matches the preset starting operation.
  • the user When the user needs to operate the cloud game application, he can also input a fourth operation in the game video playback interface. For example, when the user needs to operate a certain slider in the cloud game application, the user You can enter a long-press operation in the playback interface of the game video.
  • the terminal may receive the fourth operation input in the play interface of the game video, that is, receive the fourth operation for the play interface of the game video.
  • the fourth operation may be compared with the preset activation operation, and if the fourth operation matches the preset activation operation, it is determined that an activation operation for the cloud game application is received.
  • the preset startup operation refers to a preset operation for starting the cloud game application.
  • the preset startup operation is one or more of the operation modes such as double-click operation, long-press operation, slide-down operation, etc. .
  • the user may define the preset startup operation
  • the developer of the cloud game application may define the default startup operation
  • the developer of the cloud game application may define the default startup operation
  • the subsequent user The default preset startup operation can be modified to meet the user's personalized needs.
  • the operation type of the preset startup operation can be defined, but also the operation attributes (such as the number of operations, the operation duration, and the operation position) of the preset startup operation can be defined.
  • the operation position of the preset start operation may avoid the display position of other operation controls in the play interface.
  • multiple preset startup operations may be defined, that is, the preset startup operations include multiple operation types, so as to facilitate subsequent users to flexibly start the cloud game application.
  • the preset startup operation includes a double-click operation and a long-press operation.
  • the user can either trigger the terminal to receive the startup operation through a double-click operation, or trigger the terminal to receive the startup operation through a long-press operation.
  • the terminal may separately obtain the operation data of the fourth operation and the operation data of the preset startup operation, and then compare the two operation data. , in the case that the parameter information of the two operation data is consistent, it is determined that the fourth operation matches the preset startup operation.
  • the operation data includes parameter information such as operation type, operation location information, operation duration, and operation times.
  • the parameter information of the two operation data is consistent
  • the parameter information of the two operation data includes but is not limited to at least one of the following: the parameter information of the two operation data is the same, the parameter information of the two operation data is similar, the The parameter information includes parameter information and the like of another operation data.
  • the operation data includes two parameter information of operation type and operation duration
  • the operation data of the fourth operation is a 2-second long-press operation
  • the preset start operation is a 1.5-second long-press operation. Since the fourth operation If both the preset startup operations are long-press operations, and the operation duration of 2 seconds includes the operation duration of 1 second, the terminal may determine that the fourth operation matches the preset startup operation.
  • the operation data includes the parameter information of operation duration
  • the operation data of the fourth operation is an operation with a duration of 2.2 seconds
  • the operation data of the preset start operation is an operation with a duration of 2.21 seconds. If the operation durations in seconds are similar, the terminal may determine that the first operation matches the preset start operation.
  • FIG. 8( a ) shows a schematic diagram of a trigger start operation provided by an embodiment of the present application
  • FIG. 8( b ) shows a flowchart of a trigger start operation provided by an embodiment of the present application.
  • the terminal plays the game video corresponding to the cloud game application.
  • the user presses the game video playback interface for a long time to trigger the terminal to receive the fourth operation.
  • the terminal compares the fourth operation with the preset activation operation, and if the fourth operation matches the preset activation operation, if the fourth operation and the preset activation operation are both long.
  • the terminal determines to receive the startup operation of the cloud game application, and starts and runs the cloud game application; If the operations do not match, if the preset startup operation is a double-click operation and the fourth operation is a long-press operation, the terminal continues to play the game video corresponding to the cloud game application.
  • the terminal may display startup mode prompt information to prompt the user to effectively start the cloud game application.
  • the technical solutions provided by the embodiments of the present application meet the diversified and personalized operation requirements of users by providing a variety of ways to trigger startup operations, reserve more selection space for users, and improve the triggering of startup operations. flexibility.
  • the game video is started through the game control operation received by the cloud game application indicated by the game video, which effectively and timely satisfies the operation cloud game application generated during the user's viewing of the game video. demand.
  • the user by displaying the startup control of the cloud game application after receiving the user's operation, the user can be prominently prompted to start the cloud game application.
  • the cloud game application is started when an operation matching the predefined start operation is received, so as to effectively avoid the situation that the user touches by mistake, and because the predefined start operation also It can be defined by the user, which fully meets the user's personalized needs.
  • the above step 420 includes: in response to the startup operation for the cloud game application, determining the game progress corresponding to the game screen content displayed by the frame of the game video; starting from the game progress, starting and running the cloud Game applications, and a display interface for displaying cloud game applications.
  • the content of the game screen displayed on the initial display interface of the cloud game application matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received, that is, the cloud game application starts up.
  • the terminal needs to first determine the game progress corresponding to the game screen content displayed by the frame of the game video, and then use the game progress as a starting point (that is, start from the game progress). ), start and run the cloud game application and display the display interface of the cloud game application.
  • step 420 includes the following steps (steps 422-424).
  • Step 422 determining the first timestamp.
  • the first timestamp is the timestamp corresponding to the frame of the game video when the startup operation for the cloud game application is received.
  • the terminal may determine the first time stamp. It should be noted that, since it takes a certain processing time for the terminal to determine whether the startup operation is received, the user inputs a trigger operation to trigger the terminal to determine whether the startup operation of the cloud game application is received. Time stamp (third time stamp), there may be a certain delay between the time stamp (first time stamp) corresponding to the screen frame of the game video when the terminal determines that the start operation is received, and the time delay is greater than or equal to that of the terminal processing time.
  • the terminal determines the time stamp corresponding to the frame of the game video when the startup operation is received.
  • the processing time of the terminal may be negligible due to the short processing time. Therefore, when the startup operation is received, the game
  • the time stamp corresponding to the picture frame of the video may be considered to be the same as the time stamp corresponding to the picture frame of the game video when the user inputs a trigger operation to trigger the terminal to determine whether the startup operation is received.
  • Step 424 starting from the game progress node corresponding to the first timestamp, start and run the cloud game application, and display a display interface of the cloud game application.
  • the first timestamp is determined, that is, the game progress of the cloud game application after startup is determined.
  • the terminal starts from the game progress node corresponding to the first timestamp, starts and runs the cloud game application, and displays the cloud game The display interface of the application.
  • the user can operate the cloud game application from the game progress node corresponding to the first timestamp. That is, in the embodiment of the present application, for the game video corresponding to the cloud game application, the game progress node before the first time stamp is operated by the user A who recorded the game video, and the game progress node after the first time stamp is operated by watching the game video. User B operation.
  • the game progress node corresponding to the first timestamp may be operated by either user A or user B, which is not limited in this embodiment of the present application.
  • the user A who records the game video and the user B who watches the game video may be the same user, that is to say, a user starts the cloud game application and continues to operate the cloud while watching the game video recorded by himself.
  • the game progress node after the game application starts, and the game progress node before the cloud game application starts is also operated by the user;
  • the user A who records the game video and the user B who watches the game video can also be two different users, that is Say, a user starts the cloud game application while watching the game video recorded by other users, and continues to operate the game progress node after the cloud game application is started, and the game progress node before the cloud game application is started by operated by other users.
  • the method further includes: acquiring a cloud game archive associated with the game video; and determining a game progress node corresponding to the first timestamp.
  • the game video corresponding to the cloud game application is associated with the cloud game archive corresponding to the cloud game application, so that subsequent terminals can quickly obtain Cloud game save.
  • the association process between game videos and cloud game archives please refer to the following embodiments, and details are not repeated here.
  • Cloud game archives are archives used to record game data and timestamps involved in the process of users operating cloud game applications.
  • the cloud game archive includes archive data of at least one game progress node, and the archive data includes a timestamp corresponding to the game progress node. Because the cloud game archive includes a timestamp corresponding to at least one game progress node, after determining the first timestamp, the terminal can obtain the game progress node corresponding to the first timestamp from the cloud game archive.
  • the archive data of the game progress node corresponding to the first timestamp includes the first timestamp.
  • the archive data of the game progress node includes not only the timestamp corresponding to the game progress node, but also the game data corresponding to the game progress node.
  • the game data refers to the data involved in the game progress process of the cloud game application, such as , the game data includes one or more of operation data, path data of virtual objects controlled by the user, and data of virtual resources (such as virtual costumes, virtual items, etc.) owned by the virtual objects controlled by the user.
  • the above step 424 includes: acquiring game data corresponding to the first time stamp; loading the cloud game application according to the game data corresponding to the first time stamp; and displaying an initial display interface of the cloud game application.
  • the game data corresponding to the first time stamp refers to the game data corresponding to the game progress node corresponding to the first time stamp
  • the archive data of the game progress node corresponding to the first time stamp includes the game progress node corresponding to the first time stamp corresponding game data.
  • the technical solutions provided by the embodiments of the present application determine the timestamp corresponding to the frame of the game video when the startup operation is received, and start the cloud game application from the game progress node corresponding to the timestamp. , to ensure that the game progress after the cloud game application is started is the game progress that the user watched when watching the game video, so as to achieve the technical effect of "what you see is what you play”.
  • the embodiment of the present application obtains the cloud game archive associated with the game video corresponding to the cloud game application, and acquires the game data of the game progress node from the cloud game archive, so as to load the cloud game application according to the game data, so as to provide "What you see is what you play" provides full technical support.
  • FIG. 9 shows a flowchart of a method for archiving an application program provided by an embodiment of the present application.
  • the method can be applied to terminals, such as the first terminal 10 and the second terminal 20 in the cloud game management system shown in FIG. 1 above.
  • the method may include the following steps (steps 910-940).
  • Step 910 Record the game screen of the cloud game application during the game progress to obtain the game video.
  • the terminal can record the game screen of the cloud game application in the process of game progress, and obtain the game video corresponding to the cloud game application.
  • the terminal may acquire game images during game progress at preset time intervals, and the acquired game images are in the form of individual frames, so that the game video recorded by the terminal includes at least one acquired image frame.
  • each picture frame has its corresponding timestamp, so as to facilitate subsequent association of the game video corresponding to the cloud game application and the cloud game archive corresponding to the cloud game application.
  • Step 920 Record game data to obtain a cloud game archive corresponding to the cloud game application.
  • game data refers to the data involved in the progress of the game.
  • game data includes operation data, path data of user-controlled virtual objects, and virtual resources owned by user-controlled virtual objects (such as virtual costumes, virtual items, etc.) one or more of data, etc.
  • the above step 920 includes: in the process of game progress, acquiring game data corresponding to at least one game progress node; generating archive data of at least one game progress node to obtain a cloud game archive.
  • the game progress node is used to divide the game progress of the cloud game application. By dividing the game progress node, it is convenient to store, classify, call, and obtain the game data involved in the game progress process. This embodiment of the present application does not limit the division method of game progress nodes.
  • a game progress node is divided every preset time, for example, a game progress node is divided every 0.5 seconds; or, the game progress node is divided according to user operations , for example, each time an operation from the user is received, a game progress node is divided; or, a game progress node is divided according to the path of the virtual object controlled by the user, for example, whenever the path of the virtual object changes, a game progress node is divided Or, divide the game progress nodes in combination with multiple division methods. For example, on the basis of dividing a game progress node every 0.5 seconds, if the user's operation is received during the division interval, the corresponding user's operation is also divided. Game progress node.
  • the game progress node may be acquired after acquiring all game data during the game progress process, or the game progress node may be determined in real time according to the game data obtained in real time during the game progress process.
  • the game data of the game progress node can be obtained, and the archive data of the game progress node is generated, and the archive data of the game progress node includes the timestamp corresponding to the game progress node and the game data.
  • the archive data of the game progress node is generated in real time in the process of acquiring the game data of the game progress node, for example, each time a game progress node is divided, the game data of the game progress node is obtained, and the game progress node of the game progress node is generated.
  • archive data or, the archive data of the game progress node is generated after acquiring the game data of all the game progress nodes, and the embodiment of the present application does not limit the generation method of the archive data of the game progress node.
  • the cloud game archive After the archive data of at least one game progress node is generated, the cloud game archive can be obtained, that is, the cloud game archive includes archive data of at least one game progress node. Since the archive data of each game progress node includes the time stamp and game data corresponding to the game node, in this embodiment of the present application, there is also a correspondence between the time stamp and the game data, and the corresponding time stamp can be used to locate the corresponding game data. game data.
  • the game data corresponding to the target timestamp includes operation data corresponding to the target timestamp, and the operation data corresponding to the target timestamp is used to indicate a game control operation received at the target timestamp.
  • the operation data and the game control operation please refer to the above-mentioned embodiment, and details are not repeated here.
  • Step 930 associate the game video with the cloud game archive to obtain play data corresponding to the cloud game application.
  • the game video corresponding to the cloud game application and the cloud game archive may be generated synchronously, that is, the above step 910 and the above step 920 are executed simultaneously; or, the game video corresponding to the cloud game application and the cloud game archive Cloud game archives are not generated synchronously.
  • the game screen is recorded to obtain the game video
  • the game data is recorded.
  • the cloud game archive is generated according to the recorded game data.
  • the association relationship between the game video and the cloud game archive can be established to associate the game video and the cloud game archive, and the playback data corresponding to the cloud game application can be obtained.
  • game videos and cloud game archives establish an association relationship through timestamps.
  • Each frame of the game video has its corresponding time stamp
  • the cloud game archive also includes the time stamp and game data corresponding to each game progress node, and the game data can be associated with the game video through the time stamp.
  • the game video 1010 there is an associated relationship between the game video 1010 and the cloud game archive 1020 .
  • the timestamp (eg 06:13) of the game progress node included in the cloud game archive 1020 the frame corresponding to the timestamp (eg 06:13) in the game video 1010 can be located, and the timestamp (eg 06:13) can be located.
  • the game data corresponding to 06:13) is associated with the game video 1010, for example, the game data corresponding to the timestamp (eg 06:13) is associated with the frame corresponding to the timestamp (eg 06:13) in the game video 1010.
  • the timestamp of the game video includes 08:00, while the timestamp corresponding to the frame of the game video does not include 08:00, but includes 07:59 and 08:01.
  • the game data corresponding to the time stamp may be associated with the game video through the time stamp closest to the time stamp.
  • the timestamp of the game progress node includes 08:00, but the timestamps corresponding to the frame of the game video include 07:58 and 08:01.
  • the game data corresponding to the timestamp of 08:00 can be passed through The timestamp of 08:01 is associated with the game video.
  • the game data of the game progress node can be associated with the game video through the timestamp before the game progress node.
  • the game data of the game progress node may also be associated with the game video through the timestamp after the game progress node, which is not limited in this embodiment of the present application.
  • the timestamp of the game progress node includes 08:00, but the timestamps corresponding to the frame of the game video include 07:59 and 08:01.
  • the game data corresponding to the timestamp of 08:00 can be
  • the game video can be associated with the timestamp of 08:01, and the game data corresponding to the timestamp of 08:00 can also be associated with the game video through the timestamp of 07:59.
  • Step 940 store the playback data.
  • the play data corresponding to the cloud game application is generated according to the game video and the cloud game archive
  • the play data can be stored for subsequent invocation or acquisition.
  • the terminal can also upload the playback data to the server, so as to reduce the storage pressure of the terminal and facilitate other terminals to call the playback data.
  • the terminal uploads the playback data to the server of the cloud game application; in other applications (such as live broadcast applications, social applications, video playback applications program, etc.) to generate playback data, the terminal uploads the playback data to the server of another application.
  • the embodiments of this application only take the example that the playback data is generated by the terminal as an example.
  • the playback data can also be generated by the server.
  • the terminal will record the game video and the recorded cloud game.
  • the archive is uploaded to the server, and then the server associates the game video and the cloud game archive to obtain playback data; or, the terminal uploads the recorded game video and recorded game data to the server, and the server generates the cloud game archive according to the recorded game data, And associate game videos and cloud game archives to get playback data. It should be understood that these should all fall within the protection scope of the present application.
  • the technical solutions provided by the embodiments of the present application during the game progress process of the cloud game application, on the one hand, record the game screen during the game progress process to obtain the game video, and on the other hand record the games involved in the game progress process.
  • the game data is obtained from the cloud game archive, and then the game video and the cloud game archive are associated to obtain play data, thereby providing a method for archiving cloud game applications.
  • the technical solutions provided by the embodiments of the present application ensure that when the subsequent terminal plays the game video, it can timely and accurately locate the game progress node in the cloud game archive according to the start-up operation triggered by the user, so as to ensure that the game progress from the positioning to the game progress can be realized.
  • the node starts to start the cloud game application, provides the underlying technical support for the start-up effect of the application "what you see is what you play", assists the implementation of the quick start of the cloud game application, and improves the startup and archiving mechanism of the cloud game application .
  • the application terminal of the application startup method and the application terminal of the application archive method may be the same terminal or different terminals.
  • the application archive method is applied to the application terminal.
  • the application startup method is applied to the second terminal 20 in FIG. 1 .
  • the application client of the application startup method and the application client of the application archive method may be the same client, or may be different clients, such as application
  • the program startup method is applied to the client of the live broadcast application, and the application archive method is applied to the client of the cloud game application.
  • FIG. 11 shows a schematic diagram of a method for starting and archiving an application provided by an embodiment of the present application.
  • the client of the cloud game application records the game screen of the cloud game application during the game progress on the one hand, and obtains the game video, and records the game on the other hand.
  • the game data refers to the data involved in the progress of the game.
  • the game data includes operation data, path data of user-controlled virtual objects, and data of virtual resources (such as virtual costumes, virtual items, etc.) owned by user-controlled virtual objects. one or more of etc.
  • the client of the cloud game application After obtaining the game video and the cloud game archive respectively, the client of the cloud game application associates the cloud game archive with the game video through the timestamp, and obtains the playback data corresponding to the cloud game application. Through the playback data, you can not only play the game video, but also try to play the cloud game segment corresponding to the cloud game archive.
  • the client of the video playback application acquires playback data from the client of the cloud game application, and plays the game video corresponding to the cloud game application.
  • the client of the cloud game application can upload the playback data to the cloud game server, and then the cloud game server sends the playback data to the server of the video playback application, and then the server of the video playback application sends the playback data to A client for a video playback application.
  • user B can operate the game video to trigger the client of the video playing application to receive a startup operation for the cloud game application.
  • the embodiment of the present application provides three ways to start the cloud game application.
  • Mode 1 User B operates the game control operation in the cloud game application indicated by the game video to trigger the client of the video playback application to receive the start operation;
  • Mode 2 User B clicks the game video to trigger the client of the video playback application to display the startup control, and further, user B triggers the startup control to trigger the client of the video playback application to receive the startup operation;
  • Method 3 User B long presses or double-clicks the game video to trigger the client of the video playing application to receive the start operation.
  • the client of the video playback application starts and runs the cloud game application.
  • a loading interface of the cloud game application may be displayed to buffer between the video playback application and the cloud game application.
  • the initial display interface of the cloud game application is displayed. The content of the game screen displayed on the initial display interface matches the content of the game screen displayed by the frame of the game video when the startup operation is received. .
  • FIG. 12 shows a block diagram of an apparatus for starting an application provided by an embodiment of the present application.
  • the apparatus has the function of implementing the above example of the application startup method, and the function may be implemented by hardware or by executing corresponding software by the hardware.
  • the device may be a terminal, or may be set in a terminal.
  • the apparatus 1200 may include: a video playing module 1210 and a program starting module 1220 .
  • the video playing module 1210 is used to play the game video corresponding to the cloud game application.
  • the program startup module 1220 is configured to start and run the cloud game application in response to the startup operation for the cloud game application, and display the display interface of the cloud game application; wherein, the cloud game application is in the The content of the game screen displayed on the initial display interface after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received.
  • the program startup module 1220 is configured to: in response to the startup operation, determine the game progress corresponding to the game screen content displayed by the picture frame of the game video; take the game progress as a starting point, Start and run the cloud game application, and display a display interface of the cloud game application.
  • the program startup module 1220 includes: a timestamp determination sub-module 1222, configured to determine a first timestamp, the first timestamp is when the startup operation is received The timestamp corresponding to the picture frame of the game video; the program startup submodule 1224 is used to start running the cloud game application from the game progress node corresponding to the first timestamp, and display the cloud game The display interface of the application.
  • the program startup submodule 1224 is further configured to: obtain a cloud game archive associated with the game video, where the cloud game archive includes archive data of at least one game progress node, The archive data includes the timestamp corresponding to the game progress node; determine the game progress node corresponding to the first timestamp, and the archive data of the game progress node corresponding to the first timestamp includes the first timestamp .
  • the archived data further includes game data corresponding to the game progress node, and the game data refers to the data involved in the game progress of the cloud game application; as shown in FIG. 13 , the The program startup sub-module 1224 is used to: obtain the game data corresponding to the first time stamp, where the game data corresponding to the first time stamp refers to the game data corresponding to the game progress node corresponding to the first time stamp, and The archive data of the game progress node corresponding to the first time stamp includes game data corresponding to the game progress node corresponding to the first time stamp; load the cloud game application according to the game data corresponding to the first time stamp A program; displaying an initial display interface of the cloud game application.
  • the apparatus 1200 further includes: a first receiving module 1232, configured to receive a first operation on the playing interface of the game video; an instruction determining module 1240, configured to When the first operation matches the game control operation, it is determined that the start operation is received; wherein the game control operation refers to the operation received by the cloud game application indicated by the game video.
  • the apparatus 1200 further includes: a time stamp determination module 1234, configured to determine a second time stamp, the second time stamp being the time stamp when the first operation is received The timestamp corresponding to the picture frame of the game video; the data acquisition module 1236 is used to acquire the game data corresponding to the second timestamp, and the game data refers to the data involved in the game progress of the cloud game application ; wherein, the game data corresponding to the second time stamp includes operation data corresponding to the second time stamp, and the operation data corresponding to the second time stamp is used to indicate the game control received at the second time stamp operation, the game control operation is used to determine whether the start operation is received.
  • a time stamp determination module 1234 configured to determine a second time stamp, the second time stamp being the time stamp when the first operation is received The timestamp corresponding to the picture frame of the game video
  • the data acquisition module 1236 is used to acquire the game data corresponding to the second timestamp, and the game data refers to the data involved in the game progress of the cloud game application ;
  • the apparatus 1200 further includes: a second receiving module 1250, configured to display the startup of the cloud game application in response to a second operation on the playing interface of the game video The control; the instruction determination module 1240 is configured to determine that the activation operation is received in response to the third operation for the activation control.
  • the apparatus 1200 further includes: a fourth receiving module 1260, configured to receive a fourth operation on the playing interface of the game video; and an instruction determining module 1240, configured to If the fourth operation matches a preset startup operation, it is determined that the startup operation is received; wherein the preset startup operation refers to a preset operation for starting the cloud game application.
  • the technical solutions provided by the embodiments of the present application receive a startup operation for the cloud game application in the process of playing the game video corresponding to the cloud game application, and start running the cloud game in response to the startup operation application, so that the cloud game application can be conveniently started during the playing process of the game video, which not only simplifies the startup process of the cloud game application, but also improves the startup efficiency of the cloud game application.
  • the content of the game screen displayed on the initial display interface of the cloud game application after startup matches the content of the game screen displayed by the screen frame of the game video when the startup operation is received, thereby avoiding cloud computing.
  • the deviation between the game progress of the game application and the game progress shown in the game video ensures that the user operates the cloud game application from the starting point of the game he chooses or from the starting point of the game he is interested in, so as to achieve "what you see is what you play" Effect.
  • FIG. 14 shows a block diagram of an apparatus for archiving an application program provided by an embodiment of the present application.
  • the apparatus has the function of implementing the above example of the method for archiving application programs, and the function may be implemented by hardware or by executing corresponding software by the hardware.
  • the device may be a terminal, or may be set in a terminal.
  • the apparatus 1400 may include: a video recording module 1410 , an archive recording module 1420 , a data generation module 1430 and a data storage module 1440 .
  • the video recording module 1410 is used to record the game screen of the cloud game application during the game progress to obtain the game video.
  • the archive recording module 1420 is configured to record game data to obtain a cloud game archive corresponding to the cloud game application, and the game data refers to the data involved in the game progress process.
  • the data generation module 1430 is configured to associate the game video with the cloud game archive, and obtain play data corresponding to the cloud game application.
  • the data storage module 1440 is used for storing the playback data.
  • the archive recording module 1420 is configured to: during the game progress, obtain game data corresponding to at least one game progress node; generate archive data of the at least one game progress node, and obtain the cloud Game archive; wherein, the archive data includes a timestamp corresponding to the game progress node and game data.
  • the game data corresponding to the target timestamp includes operation data corresponding to the target timestamp, and the operation data corresponding to the target timestamp is used to indicate a game control operation received at the target timestamp.
  • the technical solutions provided by the embodiments of the present application during the game progress process of the cloud game application, on the one hand, record the game screen during the game progress process to obtain the game video, and on the other hand record the games involved in the game progress process.
  • the game data is obtained from the cloud game archive, and then the game video and the cloud game archive are associated to obtain play data, thereby providing a method for archiving cloud game applications.
  • the technical solutions provided by the embodiments of the present application ensure that when the subsequent terminal plays the game video, it can timely and accurately locate the game progress node in the cloud game archive according to the start-up operation triggered by the user, so as to ensure that the game progress from the positioning to the game progress can be realized.
  • the node starts to start the cloud game application, provides the underlying technical support for the start-up effect of the application "what you see is what you play", assists the implementation of the quick start of the cloud game application, and improves the startup and archiving mechanism of the cloud game application .
  • FIG. 15 shows a structural block diagram of a terminal 1500 provided by an embodiment of the present application.
  • the terminal 1500 may be an electronic device such as a mobile phone, a tablet computer, a multimedia playback device, a television, a projector, a display, a wearable device, a PC, and the like.
  • the terminal can be used to implement the application startup method provided in the above embodiment, or to implement the application archive method provided in the above embodiment. Specifically:
  • the terminal 1500 includes: a processor 1501 and a memory 1502 .
  • the processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1501 can be implemented by at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array).
  • the processor 1501 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state.
  • the processor 1501 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 1501 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 1502 may include one or more computer-readable storage media, which may be non-transitory. Memory 1502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in memory 1502 is used to store at least one instruction, at least one program, code set or instruction set, the at least one instruction, at least one program, code set or instruction set, and is configured to be executed by one or more processors to implement the above-described method of launching an application, or to implement the above-described method of archiving an application.
  • the terminal 1500 may optionally further include: a peripheral device interface 1503 and at least one peripheral device.
  • the processor 1501, the memory 1502 and the peripheral device interface 1503 can be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1503 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1504 , a display screen 1505 , a camera assembly 1506 , an audio circuit 1507 , a positioning assembly 1508 and a power supply 1509 .
  • FIG. 15 does not constitute a limitation on the terminal 1500, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
  • a computer-readable storage medium stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program .
  • the computer-readable storage medium may include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), Solid State Drive (SSD, Solid State Drives), or an optical disc.
  • the random access memory may include a resistive random access memory (ReRAM, Resistance Random Access Memory) and a dynamic random access memory (DRAM, Dynamic Random Access Memory).
  • a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
  • the processor of the terminal reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal executes the above application startup method or implements the above application archive method.
  • references herein to "a plurality” means two or more.
  • "And/or" which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/" generally indicates that the associated objects are an "or” relationship.
  • the numbering of the steps described in this document only exemplarily shows a possible execution sequence between the steps. In some other embodiments, the above steps may also be executed in different order, such as two different numbers. The steps are performed at the same time, or two steps with different numbers are performed in a reverse order to that shown in the figure, which is not limited in this embodiment of the present application.
  • step A, and perform step B and “perform step A, and perform step B” are both used to express “perform both step A and step B", and the order of step A and step B is The execution order is not limited. Step A may be executed before step B, or may be executed after step B, or may be executed simultaneously with step B.

Abstract

一种应用程序的启动及存档方法、装置、设备及存储介质,属于云计算和云游戏技术领域。所述方法包括:播放云游戏应用程序对应的游戏视频(410);响应于针对云游戏应用程序的启动操作,启动运行云游戏应用程序,以及显示云游戏应用程序的显示界面;其中,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配(420)。所述方法实现了在游戏视频的播放过程中便捷启动云游戏应用程序,并且可以避免云游戏应用程序的游戏进度与游戏视频所展示的游戏进度之间的偏差,确保用户从其选择的游戏起点或从其感兴趣的游戏起点开始操作云游戏应用程序,达到"所见即所玩"的效果。

Description

应用程序的启动及存档方法、装置、设备及存储介质
本申请要求于2020年9月23日提交的申请号为202011011843.3、发明名称为“应用程序的启动及存档方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及云计算和云游戏技术领域,特别涉及一种应用程序的启动及存档方法、装置、设备及存储介质。
背景技术
云游戏(Cloud gaming)是一种以云计算技术为基础的在线游戏技术,其相比于传统的游戏运行模式,具备轻量化的优势。云游戏摆脱了对硬件资源的依赖,由于其运行于服务端,用户端无需拥有强大的图形运算和数据处理能力,仅需拥有基本的流媒体播放能力、输入指令获取能力、数据传输能力即可。
正是由于云游戏具备传统的游戏运行模式无法达到的优势,越来越多的云游戏相继研发并面向用户。相关技术在某一用户操作云游戏的过程中,录制该用户操作云游戏的过程形成云游戏视频,并将云游戏视频投放至特定网页或特定客户端中,之后通过在投放平台点击云游戏视频即可观看该用户操作云游戏的过程。然而,在用户观看云游戏视频的过程中,很可能会产生操作云游戏的需求,此时,用户需要先确定云游戏视频对应的云游戏,然后寻找云游戏对应的投放平台,再从投放平台中点击云游戏以加载云游戏,进而实现操作云游戏的目的。
可见,相关技术中,云游戏的启动过程复杂低效,且很可能出现由于用户无法准确判断与云游戏视频对应的云游戏,而导致无法满足用户操作云游戏的需求。
发明内容
本申请实施例提供了一种应用程序的启动及存档方法、装置、设备及存储介质,可用于便捷启动云游戏应用程序。所述技术方案如下:
一方面,本申请实施例提供了一种应用程序的启动方法,所述方法由终端执行,所述方法包括:
播放云游戏应用程序对应的游戏视频;
响应于针对所述云游戏应用程序的启动操作,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面;
其中,所述云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到所述启动操作时所述游戏视频的画面帧所展示的游戏画面内容相匹配。
另一方面,本申请实施例提供了一种应用程序的存档方法,所述方法由终端执行,所述方法包括:
录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频;
记录游戏数据,得到所述云游戏应用程序对应的云游戏存档,所述游戏数据是指所述游戏进展过程中涉及的数据;
关联所述游戏视频和所述云游戏存档,得到所述云游戏应用程序对应的播放数据;
存储所述播放数据。
再一方面,本申请实施例提供了一种应用程序的启动装置,所述装置包括:
视频播放模块,用于播放云游戏应用程序对应的游戏视频;
程序启动模块,用于响应于针对所述云游戏应用程序的启动操作,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面;
其中,所述云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到所述启动操作时所述游戏视频的画面帧所展示的游戏画面内容相匹配。
又一方面,本申请实施例提供了一种应用程序的存档装置,所述装置包括:
视频录制模块,用于录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频;
存档记录模块,用于记录游戏数据,得到所述云游戏应用程序对应的云游戏存档,所述游戏数据是指所述游戏进展过程中涉及的数据;
数据生成模块,用于关联所述游戏视频和所述云游戏存档,得到所述云游戏应用程序对应的播放数据;
数据存储模块,用于存储所述播放数据。
还一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述应用程序的启动方法,或者实现如上述应用程序的存档方法。
还一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如上述应用程序的启动方法,或者实现如上述应用程序的存档方法。
还一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行如上述应用程序的启动方法,或者实现如上述应用程序的存档方法。
本申请实施例提供的技术方案可以带来如下有益效果:
通过在播放云游戏应用程序对应的游戏视频的过程中,接收针对云游戏应用程序的启动操作,并响应于该启动操作,启动运行云游戏应用程序,从而实现了在游戏视频的播放过程中便捷启动云游戏应用程序,既简化了云游戏应用程序的启动过程,也提升了云游戏应用程序的启动效率。并且,本申请实施例中,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配,从而可以避免云游戏应用程序的游戏进度与游戏视频所展示的游戏进度之间的偏差,确保用户从其选择的游戏起点或从其感兴趣的游戏起点开始操作云游戏应用程序,达到“所见即所玩” 的效果。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个实施例提供的云游戏管理系统的示意图;
图2是本申请一个实施例提供的云游戏应用程序的启动过程的示意图;
图3是本申请另一个实施例提供的云游戏应用程序的启动过程的示意图;
图4是本申请一个实施例提供的应用程序的启动方法的流程图;
图5是本申请再一个实施例提供的云游戏应用程序的启动过程的示意图;
图6是本申请一个实施例提供的启动操作的触发过程的示意图;
图7是本申请另一个实施例提供的启动操作的触发过程的示意图;
图8是本申请又一个实施例提供的启动操作的触发过程的示意图;
图9是本申请一个实施例提供的应用程序的存档方法的流程图;
图10是本申请一个实施例提供的应用程序的存档方法的示意图;
图11是本申请一个实施例提供的应用程序的启动及存档方法的示意图;
图12是本申请一个实施例提供的应用程序的启动装置的框图;
图13是本申请另一个实施例提供的应用程序的启动装置的框图;
图14是本申请一个实施例提供的应用程序的存档装置的框图;
图15是本申请一个实施例提供的终端的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
首先,对本申请实施例中涉及的云计算和云游戏进行介绍说明。
1、云计算(Cloud Computing)。
云计算是一种计算模式,它将计算任务分布在大量计算机构成的资源池上,使各种应用系统能够根据需要获取计算力、存储空间和信息服务。提供资源的网络被称为“云”。“云”中的资源在使用者看来是可以无限扩展的,并且可以随时获取、按需使用、随时扩展、按使用付费。
作为云计算的基础能力提供商,会建立云计算资源池(简称“云平台”,一般称为IaaS(Infrastructure as a Service,基础设施即服务)平台),在资源池中部署多种类型的虚拟资源,供外部客户选择使用。云计算资源池中主要包括:计算设备(为虚拟化机器,包含操作系统)、存储设备、网络设备。
按照逻辑功能划分,在IaaS层上可以部署PaaS(Platform as a Service,平台即服务)层,PaaS层之上再部署SaaS(Software as a Service,软件即服务)层,也可以直接将SaaS部署在IaaS上。PaaS为软件运行的平台,如数据库、Web(万维网)容器等。SaaS为各式各样的业务软件,如Web门户网站、短信群发器等。一般来说,SaaS和PaaS相对于IaaS是上层。
2、云游戏(Cloud gaming)。
云游戏又可称为游戏点播(gaming on demand),是一种以云计算技术为基础的在线游戏技术。云游戏技术使图形处理与数据运算能力相对有限的轻端设备(thin client)能运行高品质游戏。在云游戏场景下,游戏并不在用户游戏终端,而是在云端服务器中运行,并由云端服务器将游戏场景渲染为视频音频流,通过网络传输给用户游戏终端。用户游戏终端无需拥有强大的图形运算与数据处理能力,仅需拥有基本的流媒体播放能力与获取用户输入指令并发送给云端服务器的能力即可。
请参考图1,其示出了本申请一个实施例提供的云游戏管理系统的示意图。该云游戏管理系统包括:第一终端10、第二终端20和云游戏服务器30。
第一终端10和第二终端20可以是诸如手机、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备、PC(Personal Computer,个人计算机)等电子设备。可选地,第一终端10和第二终端20中安装运行有云游戏应用程序(即上述云游戏)的客户端50;或者,第一终端10和第二终端20中未安装运行有云游戏应用程序的客户端50,而是在接收到针对云游戏应用程序的启动操作后,从云游戏服务器30处获取云游戏应用程序的数据以加载云游戏应用程序。本申请实施例对云游戏应用程序的依附关系不作限定,可选地,云游戏应用程序是独立的应用程序,可直接运行于操作系统,无需依赖其它应用程序即可运行,如云游戏应用程序为APP(Application,手机软件);或者,云游戏应用程序是目标应用程序的子应用程序,需要依赖目标应用程序才能运行,如云游戏应用程序为小程序。
在云游戏应用程序为目标应用程序的子应用程序的情况下,用户通过扫描云游戏应用程序对应的二维码或者搜索云游戏应用程序的名称等,即可直接打开该云游戏应用程序,云游戏应用程序可以在目标应用程序中被便捷地获取和传输。其中,目标应用程序是用于承载云游戏应用程序的应用程序,为云游戏应用程序的实现提供环境。目标应用程序是原生应用程序,可直接运行于操作系统。本申请实施例对目标应用程序的具体类型不作限定,可选地,目标应用程序可以是社交应用程序、专门支持子应用程序的专用应用程序、文件管理应用程序、邮件应用程序或者游戏应用程序等。社交应用程序包括即时通信应用、SNS(Social Network Service,社交网站)应用或者直播应用等。
第一终端10是指录制或编辑云游戏视频的用户所持有的终端。录制或编辑云游戏视频的用户可以通过第一终端10中安装运行的云游戏应用程序的客户端启动云游戏应用程序,并在云游戏应用程序的运行过程中,控制第一终端10录制云游戏应用程序的游戏画面,形成云游戏视频。此外,第一终端10还可以记录云游戏应用程序运行过程中涉及的数据,并形成云游戏存档。之后,第一终端10可以将云游戏视频和云游戏存档发送至云游戏服务器30进行存储等。
第二终端20是指观看云游戏视频的用户所持有的终端。可选地,用户既可以在云游戏应用程序中观看云游戏视频,也可以在其它应用程序中观看云游戏视频,如直播应用程序、社交应用程序、视频应用程序等,还可以在网页中观看云游戏视频,本申请实施例对此不作限定。此外,第二终端20还可以接收来自于云游戏服务器30渲染后的游戏画面,然后可以加载该游戏画面,并且可以接收用户输入的操作指令。
在一个示例中,第一终端10也可以用于播放云游戏视频,第二终端20也可以用于录制或编辑云游戏视频,也即,第一终端10或第二终端20可以既用于录制或编辑云游戏视频, 也用于播放云游戏视频。图1仅是为了便于描述,区分第一终端10用于录制或编辑云游戏视频,第二终端20用于播放云游戏视频,应理解,这并不构成对本申请技术方案的限定。
云游戏服务器30用于为第一终端10和第二终端20中安装运行的云游戏应用程序的客户端提供后台服务。例如,云游戏服务器30可以是上述云游戏应用程序的后台服务器。云游戏服务器30可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。可选地,云游戏服务器30同时为多个终端中的云游戏应用程序提供后台服务。
可选地,第一终端10和云游戏服务器30之间,以及第二终端20与云游戏服务器30之间通过网络40进行互相通信。该网络可以是有线网络,也可以是无线网络,本申请实施例对此不作限定。在一个示例中,第一终端10将云游戏应用程序运行过程中录制的云游戏视频和/或记录的云游戏数据等发送给云游戏服务器30;云游戏服务器30根据该云游戏数据渲染云游戏的游戏画面,并将渲染后的游戏画面发送给第二终端20;第二终端20启动云游戏应用程序,并加载渲染后的游戏画面,接收用户的操作等。
由上述介绍可知,在用户观看云游戏视频的过程中,很可能会产生操作云游戏应用程序的需求,相关技术中,用户需要先确定云游戏视频对应的云游戏应用程序,然后寻找云游戏应用程序对应的投放平台,再从投放平台中点击云游戏应用程序以加载云游戏应用程序,进而实现操作云游戏应用程序的目的。然而,相关技术中,云游戏应用程序的启动过程复杂低效,且很可能出现由于用户无法准确判断与云游戏视频对应的云游戏应用程序,而导致无法满足用户操作云游戏应用程序的需求。为了简化云游戏应用程序的启动过程,确保满足用户操作云游戏应用程序的需求,有以下两种解决方案:
方案一:如图2所示,第二终端中显示有游戏选择界面22,该游戏选择界面22中包括至少一个云游戏应用程序对应的云游戏视频。用户点击任意一个云游戏视频,第二终端即显示该云游戏视频的播放界面24。该云游戏视频的播放界面24中包括试玩按钮26,用户点击该试玩按钮26即可触发第二终端加载云游戏应用程序。之后,用户即可从该云游戏应用程序的起始关卡开始操作云游戏应用程序。
方案二:如图3所示,第二终端中显示有云游戏视频的播放界面32,在该云游戏视频的播放界面32中包括云游戏应用程序对应的至少一个游戏片段的选项34。用户点击任意一个游戏片段的选项34即可触发第二终端加载云游戏应用程序。之后,用户即可从该游戏片段的起始时刻开始操作云游戏应用程序。
对于上述方案一:用户是从云游戏应用程序的起始关卡开始操作云游戏应用程序,也即,云游戏应用程序启动后的初始显示界面28是云游戏应用程序的起始关卡对应的显示界面。用户将无法自由选择操作云游戏应用程序的起始点,而必须从云游戏应用程序的起始关卡开始操作。此外,云游戏视频却并不一定与云游戏应用程序的起始关卡相对应,也即,初始显示界面28的显示内容与云游戏视频的播放界面24的显示内容可能存在出入,用户产生操作云游戏应用程序的需求的原因可能是因为云游戏视频的显示内容,但是启动云游戏应用程序后,却不能操作其感兴趣的游戏片段,进而影响用户的操作体验。
对于上述方案二:用户点击游戏片段的选项34即触发第二终端加载云游戏应用程序,云游戏应用程序启动后的初始显示界面36是该游戏片段的起始时刻对应的游戏画面。然而,在用户点击游戏片段的选项34的时候,云游戏视频却并不一定播放至游戏片段的起始时刻对应的游戏画面,进而云游戏视频的播放界面32的显示内容并不一定与游戏片段的起始时刻对应 的游戏画面相对应,也即,初始显示界面36的显示内容与云游戏视频的播放界面34的显示内容也可能存在出入,影响用户的操作体验。并且,由于云游戏应用程序在启动后,用户只能从选择的游戏片段的起始时刻开始操作云游戏应用程序,从而用户无法精准选择操作云游戏应用程序的起始点。
基于此,本申请实施例提供了一种应用程序的启动及存档方法,可用于便捷启动云游戏应用程序,并且确保云游戏视频的播放界面与云游戏应用程序启动后的初始显示界面相匹配。下面,将结合几个实施例对本申请的技术方案进行介绍说明。
请参考图4,其示出了本申请一个实施例提供的应用程序的启动方法的流程图。该方法可应用于终端中,如上述图1所示云游戏管理系统中的第一终端10和第二终端20中。该方法可以包括如下几个步骤(步骤410~420)。
步骤410,播放云游戏应用程序对应的游戏视频。
云游戏应用程序对应的游戏视频是指与云游戏应用程序相关的游戏视频,例如,用户操作云游戏应用程序的过程中录制的游戏视频、介绍云游戏应用程序的游戏视频(例如,介绍云游戏应用程序的操作方式(如自动奔跑、跳跃等)的游戏视频;介绍云游戏应用程序中各种操作控件(如按钮、滑块等)的游戏视频;介绍云游戏应用程序中涉及的游戏操作(如释放技能等)、虚拟物品(如虚拟导弹、虚拟飞行器等)等的使用方法的游戏视频;介绍云游戏应用程序中涉及的虚拟人物的形象(如虚拟人物的装扮等)等的游戏视频)。
终端可以播放云游戏应用程序对应的游戏视频,本申请实施例对终端播放游戏视频的方式不作限定,可选地,终端在网页中播放游戏视频,例如,用户将其操作云游戏应用程序的过程中录制的游戏视频上传至网站,之后,终端打开该网站即可在网页中播放游戏视频;或者,终端在云游戏应用程序中播放游戏视频,例如,云游戏应用程序可以提供视频播放功能,用户通过该视频播放功能可以在云游戏应用程序中观看游戏视频;或者,终端在其它可以提供视频播放功能的应用程序中播放游戏视频,例如,直播应用程序、社交应用程序、视频应用程序等。
为了满足用户在观看游戏视频的过程中对游戏视频的播放等进行控制的需求,本申请实施例中,云游戏应用程序的游戏视频的播放界面中可以显示操作控件和指示信息,例如,退出控件、暂停控件、加速控件、缩放控件、进度调整控件、起始时间和结束时间指示信息、播放进度指示信息等中的一种或多种。本申请实施例对操作控件和指示信息的显示样式不作限定,可选地,操作控件包括按钮、滑块、文本框等中的一种或多种;可选地,指示信息包括文字指示信息、颜色指示信息、形状指示信息等中的一种或多种。当然,用户还可以通过其它方式触发终端执行上述操作控件所能达到的功能,例如,通过手势、语音等方式触发终端暂停、加速、退出、缩放游戏视频等。
如图5所示,图5(a)是本申请一个实施例提供的游戏视频的播放界面。该游戏视频的播放界面510中包括退出控件511、暂停控件512、起始时间指示信息513、播放进度指示信息514、进度调整控件515、结束时间指示信息516、缩放控件517。
步骤420,响应于针对云游戏应用程序的启动操作,启动运行云游戏应用程序,以及显示云游戏应用程序的显示界面;其中,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配。
在播放云游戏应用程序对应的游戏视频的过程中,终端可以接收针对云游戏应用程序的启动操作。本申请实施例对触发启动操作的方式不作限定,可选地,游戏视频的播放界面中包括云游戏应用程序的启动控件,用户触控启动控件即可触发终端接收到针对云游戏应用程序的启动操作,从而终端可以启动云游戏应用程序;或者,在播放游戏视频的过程中,终端接收游戏视频的播放界面中输入的操作或指令,在输入的操作或指令与预设的操作或指令匹配的情况下,终端接收到针对云游戏应用程序的启动操作,该预设的操作或指令是预先定义的用于触发云游戏应用程序的操作或指令;或者,在播放游戏视频的过程中,用户触控游戏视频的播放界面,以触发终端显示云游戏应用程序的启动控件,进而用户触控启动控件即可触发终端接收针对云游戏应用程序的启动操作;或者,在播放游戏视频的过程中,用户通过语音、手势、AI(Artificial Intelligence,人工智能)等操作触发终端接收针对云游戏应用程序的启动操作。有关启动操作的其它介绍说明,请参见下述实施例,此处不多赘述。
终端在接收到针对云游戏应用程序的启动操作的情况下,可以启动运行云游戏应用程序,并显示云游戏应用程序的显示界面。本申请实施例中,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配。例如,如图5所示,终端接收到启动操作时游戏视频的画面帧所展示的游戏画面内容如图5(a)所示,终端在启动运行云游戏应用程序后,云游戏应用程序的初始显示界面所展示的游戏画面内容如图5(c)所示。
应理解,本申请实施例中所述的“两个游戏画面内容相匹配”包括但不限于以下任意一项:两个游戏画面内容相同、两个游戏画面内容相衔接、两个游戏画面内容相一致、两个游戏画面内容相似。例如,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相同。又例如,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相衔接,或者可以说,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,是接收到启动操作时游戏视频的画面帧所展示的游戏画面内容之后紧接着展示的游戏画面内容,或者说是接收到启动操作时游戏视频的画面帧的下一个画面帧所展示的游戏画面内容。
本申请实施例通过确保云游戏应用程序的初始显示界面所展示的游戏画面内容,与终端接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配,可以避免云游戏应用程序的游戏进度与游戏视频所展示的游戏进度之间的偏差,确保用户从其选择的游戏起点开始操作云游戏应用程序,达到“所见即所玩”的效果。有关如何启动运行云游戏应用程序,以及如何显示云游戏应用程序在启动后的初始显示界面的介绍说明,请参见下述实施例,此处不多赘述。
在一个示例中,终端在接收到针对云游戏应用程序的启动操作,启动运行云游戏应用程序的过程中,可以显示云游戏应用程序的加载界面,该加载界面用于提示正在加载云游戏应用程序。可选地,加载界面中包括等待时间指示信息和/或取消控件,该等待时间指示信息用于指示距离显示云游戏应用程序的初始显示界面还需等待的时长,该取消控件用于取消加载云游戏应用程序,终端在接收到针对该取消控件的触发操作的情况下,可以取消加载云游戏应用程序,并继续播放云游戏应用程序的游戏视频。
如图5所示,在游戏视频播放至如图5(a)所示的画面帧时,终端接收到针对云游戏应 用程序的启动操作,并显示如图5(b)所示的云游戏应用程序的加载界面,该加载界面中包括等待时长提示信息和取消控件。若终端在显示加载界面的过程中,没有接收到针对取消控件的触控操作,或者没有接收到其它用于取消加载云游戏应用程序的取消操作,将在加载云游戏应用程序之后,显示如图5(c)所示的云游戏应用程序的初始显示界面。其中,图5(a)所示的游戏视频的画面帧所展示的游戏画面内容,与图5(c)所示的云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容相匹配。
综上所述,本申请实施例提供的技术方案,通过在播放云游戏应用程序对应的游戏视频的过程中,接收针对云游戏应用程序的启动操作,并响应于该启动操作,启动运行云游戏应用程序,从而实现了在游戏视频的播放过程中便捷启动云游戏应用程序,既简化了云游戏应用程序的启动过程,也提升了云游戏应用程序的启动效率。并且,本申请实施例中,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配,从而可以避免云游戏应用程序的游戏进度与游戏视频所展示的游戏进度之间的偏差,确保用户从其选择的游戏起点或从其感兴趣的游戏起点开始操作云游戏应用程序,达到“所见即所玩”的效果。
本申请实施例针对云游戏应用程序的启动操作提供了多种触发方式。下面,介绍说明本申请实施例提供的几种触发启动操作的方式。
在一个示例中,上述步骤410之后,还包括:接收针对游戏视频的播放界面的第一操作;在第一操作与游戏控制操作相匹配的情况下,确定接收到启动操作。
用户在观看游戏视频的过程中,很可能会产生操作云游戏应用程序的需求,例如,在游戏视频所指示的云游戏应用程序中某个操作控件为云游戏应用程序新开发的操作控件的情况下,用户很可能会产生触控该操作控件的需求。在用户产生操作云游戏应用程序的需求的情况下,其可以在游戏视频的播放界面中输入第一操作,例如,在用户产生操作云游戏应用程序中某个滑块的需求的情况下,用户可以在游戏视频的播放界面中输入滑动(或称为拖动、移动等)操作。终端可以接收游戏视频的播放界面中输入的第一操作,也即,接收针对游戏视频的播放界面的第一操作。
在接收到第一操作的情况下,终端可以将第一操作与游戏控制操作相比较,在第一操作与游戏控制操作相匹配的情况下,确定接收到针对云游戏应用程序的启动操作,并启动运行云游戏应用程序。其中,游戏控制操作是指游戏视频所指示的云游戏应用程序接收到的操作,在播放游戏视频的过程中,终端还可以获取游戏控制操作。
本申请实施例对终端获取游戏控制操作的方式不作限定,可选地,终端在开始播放游戏视频或者播放游戏视频之前,预先获取游戏控制操作,以便于后续直接使用;或者,终端在播放游戏视频的过程中,按照游戏视频的画面帧所对应的时间戳,实时获取该时间戳对应的游戏控制操作;或者,终端在开始播放游戏视频或播放游戏视频之前,预先获取游戏控制操作,并将游戏控制操作存储于缓存中,后续在播放游戏视频的过程中,按照游戏视频的画面帧所对应的时间戳,实时从缓存中获取该时间戳对应的游戏控制操作。
游戏控制操作可以通过操作数据来指示,该操作数据可以存储于云游戏应用程序的游戏数据中,也即,终端可以从游戏数据中获取操作数据,从而确定该操作数据指示的游戏控制操作。游戏数据是指云游戏应用程序在游戏进展过程中涉及的数据,如操作数据、用户控制 的虚拟对象的路径数据、用户控制的虚拟对象所拥有的虚拟资源(如虚拟装扮、虚拟物品等)数据。可选地,上述接收针对游戏视频的播放界面的第一操作之后,还包括:确定第二时间戳;获取第二时间戳对应的游戏数据。
第二时间戳是在接收到第一操作时游戏视频的画面帧所对应的时间戳,终端可以在接收到第一操作的同时确定游戏视频的画面帧所对应的时间戳。本申请实施例中,云游戏应用程序的游戏数据通过时间戳与云游戏应用程序的游戏视频之间建立关联关系,在确定了第二时间戳的情况下,终端即可按照第二时间戳,获取第二时间戳对应的游戏数据。第二时间戳对应的游戏数据包括第二时间戳对应的操作数据,第二时间戳对应的操作数据用于指示第二时间戳时接收到的游戏控制操作。
本申请实施例对第一操作和游戏控制操作的具体匹配方式不作限定,可选地,终端可以分别获取第一操作的操作数据与指示游戏控制操作的操作数据,然后比较这两个操作数据,在这两个操作数据的参数信息一致的情况下,确定第一操作与游戏控制操作相匹配。可选地,操作数据中包括操作类型、操作位置信息、操作时长、操作次数等参数信息。
应理解,本示例中所述的“两个操作数据的参数信息一致”包括但不限于以下至少一项:两个操作数据的参数信息相同、两个操作数据的参数信息相似、一个操作数据的参数信息包括另一个操作数据的参数信息等。例如,操作数据中包括操作类型和操作次数这两个参数信息,且第一操作的操作数据为双次、点击操作,指示游戏控制操作的操作数据也为双次、点击操作,则终端可以确定第一操作与游戏控制操作相匹配。又例如,操作数据中包括操作时长这一参数信息,且第一操作的操作数据为时长2.2秒的操作,指示游戏控制操作的操作数据为时长2.21秒的操作,由于2.2秒的操作时长与2.21秒的操作时长相似,则终端可以确定第一操作与游戏控制操作相匹配。还例如,操作数据中包括操作位置信息这一参数信息,且第一操作的操作数据为针对第一滑块从界面左侧至界面中间的滑动操作,指示游戏控制操作的操作数据为针对第一滑块从界面左侧至界面右侧的滑动操作,由于“针对第一滑块从界面左侧至界面右侧的滑动操作”的操作位置信息包括“针对第一滑块从界面左侧至界面中间的滑动操作”的操作位置信息,则终端可以确定第一操作与游戏控制操作相匹配。
如图6所示,图6(a)示出了本申请一个实施例提供的触发启动操作的示意图,图6(b)示出了本申请一个实施例提供的触发启动操作的流程图。首先,终端播放云游戏应用程序对应的游戏视频,在游戏视频播放至图6(a)所示的画面帧时,该游戏视频指示用户A在操作云游戏应用程序时,云游戏应用程序接收到的游戏控制操作为向界面右下方拖动滑块610。此时,终端还接收到观看游戏视频的用户B针对游戏视频的播放界面的第一操作,并且,终端判断该第一操作是否与游戏控制操作相匹配。在第一操作与游戏控制操作相匹配的情况下(如第一操作也为向界面右下方拖动滑块610),终端确定接收到针对云游戏应用程序的启动操作,并启动运行云游戏应用程序;在第一操作与游戏控制操作不匹配的情况下(如第一操作为向界面上方拖动滑块610,或者,第一操作虽然也为向界面右下方拖动滑块610,但是第一操作的起点与游戏控制操作的起点不一致,如游戏控制操作的起点为滑块610所在的区域,但是第一操作的起点为界面的空白区域),终端继续播放云游戏应用程序对应的游戏视频。
在另一个示例中,上述步骤410之后,还包括:响应于针对游戏视频的播放界面的第二操作,显示云游戏应用程序的启动控件;响应于针对启动控件的第三操作,确定接收到启动操作。
用户在产生操作云游戏应用程序的需求的情况下,还可以在游戏视频的播放界面中输入第二操作,例如,在用户产生操作云游戏应用程序中某个滑块的需求的情况下,用户可以在游戏视频的播放界面中输入点击操作。终端可以接收游戏视频的播放界面中输入的第二操作,也即,接收针对游戏视频的播放界面的第二操作。
本申请实施例对第二操作的操作类型不作限定,可选地,第二操作为点击操作、按压操作、滑动操作等。本申请实施例对第二操作的操作位置不作限定,可选地,第二操作的操作位置为游戏视频的播放界面中除了已有的操作控件所在的位置之外的区域,例如,在游戏视频的播放界面中包括暂停控件、退出控件、进度调整控件、缩放控件的情况下,第二操作可以作用于除了暂停控件、退出控件、进度调整控件、缩放控件所在位置之外的任何区域。
在终端接收到第二操作的情况下,可以显示云游戏应用程序的启动控件。该启动控件可以显示于游戏视频的播放界面中,也可以显示于游戏视频的播放界面所在图层之上的显示图层中。本申请实施例对启动控件的显示位置不作限定,可选地,启动控件的显示位置与第二操作的操作位置相对应;或者,启动控件的显示位置为预设的显示位置;或者,启动控件的显示位置为随机显示的位置。可选地,启动控件的显示不遮挡游戏视频的播放界面中的主要显示元素,如不遮挡其它控件的显示、不遮挡游戏视频所指示的虚拟环境中虚拟人物的显示等。本申请实施例对启动控件的显示样式不作限定,可选地,启动控件为按钮、滑块等;或者,启动控件还可以包括文字提示信息,以提示用户触控该启动控件即可触发终端启动运行云游戏应用程序。
响应于用户针对启动控件的触控操作,也即,响应于第三操作,终端确定接收到启动操作。例如,在启动控件为按钮的情况下,用户点击该按钮即可触发终端接收云游戏应用程序的启动操作;在启动控件为滑块的情况下,用户滑动该滑块即可触发终端接收云游戏应用程序的启动操作。可选地,响应于用户针对启动控件所在区域的其它区域的触控操作,终端取消显示启动控件,以避免影响用户观看游戏视频。
如图7所示,图7(a)示出了本申请一个实施例提供的触发启动操作的示意图,图7(b)示出了本申请一个实施例提供的触发启动操作的流程图。首先,终端播放云游戏应用程序对应的游戏视频,在游戏视频播放至图7(a)所示的画面帧时,用户点击游戏视频的播放界面从而触发终端接收到第二操作。终端在接收到第二操作的情况下,显示云游戏应用程序的启动控件710,该启动控件710的显示位置可以为用户点击播放界面的点击位置,也可以为预先定义的显示位置。之后,在用户触控启动控件的情况下,终端接收到针对启动控件的第三操作,并启动运行云游戏应用程序;在用户触控启动控件所在位置的其它区域的情况下,如用户点击播放界面中的空白区域,终端取消显示启动控件710,并继续播放云游戏应用程序对应的游戏视频。
在又一个示例中,上述步骤410之后,还包括:接收针对游戏视频的播放界面的第四操作;在第四操作与预设启动操作相匹配的情况下,确定接收到启动操作。
用户在产生操作云游戏应用程序的需求的情况下,还可以在游戏视频的播放界面中输入第四操作,例如,在用户产生操作云游戏应用程序中某个滑块的需求的情况下,用户可以在游戏视频的播放界面中输入长按操作。终端可以接收游戏视频的播放界面中输入的第四操作,也即,接收针对游戏视频的播放界面的第四操作。
在终端接收到第四操作的情况下,可以比较第四操作与预设启动操作,在第四操作与预 设启动操作相匹配的情况下,确定接收到针对云游戏应用程序的启动操作。其中,预设启动操作是指预先设定的用于启动云游戏应用程序的操作,可选地,预设启动操作为双击操作、长按操作、下滑操作等操作方式中的一种或多种。本申请实施例中,可以由用户定义预设启动操作,也可以由云游戏应用程序的开发人员定义预设启动操作,或者由云游戏应用程序的开发人员定义默认的预设启动操作,后续用户可以对默认的预设启动操作进行修改,以满足用户的个性化使用需求。另外,本申请实施例中,不仅可以对预设启动操作的操作类型进行定义,还可以对预设启动操作的操作属性(如操作次数、操作时长、操作位置)等进行定义。此外,为了避免用户误触播放界面中其它操作控件,本申请实施例中,预设启动操作的操作位置可以避开播放界面中其它操作控件的显示位置。
需要说明的一点是,本申请实施例中,可以定义多个预设启动操作,也即预设启动操作包括多种操作类型,以便于后续用户灵活启动云游戏应用程序。例如,预设启动操作包括双击操作和长按操作,后续用户在观看游戏视频的过程中,既可以通过双击操作触发终端接收启动操作,也可以通过长按操作触发终端接收启动操作。
本申请实施例对第四操作和预设启动操作的具体匹配方式不作限定,可选地,终端可以分别获取第四操作的操作数据与预设启动操作的操作数据,然后比较这两个操作数据,在这两个操作数据的参数信息一致的情况下,确定第四操作与预设启动操作相匹配。可选地,操作数据中包括操作类型、操作位置信息、操作时长、操作次数等参数信息。
应理解,本示例中所述的“两个操作数据的参数信息一致”包括但不限于以下至少一项:两个操作数据的参数信息相同、两个操作数据的参数信息相似、一个操作数据的参数信息包括另一个操作数据的参数信息等。例如,操作数据中包括操作类型和操作时长这两个参数信息,且第四操作的操作数据为时长2秒的长按操作,预设启动操作为时长1.5秒的长按操作,由于第四操作与预设启动操作均为长按操作、且2秒的操作时长包括1秒的操作时长,则终端可以确定第四操作与预设启动操作相匹配。又例如,操作数据中包括操作时长这一参数信息,且第四操作的操作数据为时长2.2秒的操作,预设启动操作的操作数据为时长2.21秒的操作,由于2.2秒的操作时长与2.21秒的操作时长相似,则终端可以确定第一操作与预设启动操作相匹配。
如图8所示,图8(a)示出了本申请一个实施例提供的触发启动操作的示意图,图8(b)示出了本申请一个实施例提供的触发启动操作的流程图。首先,终端播放云游戏应用程序对应的游戏视频,在游戏视频播放至图8(a)所示的画面帧时,用户长按游戏视频的播放界面从而触发终端接收到第四操作。终端在接收到第四操作的情况下,将第四操作与预设启动操作相比较,在第四操作与预设启动操作相匹配的情况下,如第四操作与预设启动操作均为长按操作,且第四操作对应的按压时长等于或大于预设启动操作的按压时长,终端确定接收到云游戏应用程序的启动操作,并启动运行云游戏应用程序;在第四操作与预设启动操作不匹配的情况下,如预设启动操作为双击操作而第四操作为长按操作,终端继续播放云游戏应用程序对应的游戏视频。可选地,在第四操作与预设启动操作不匹配的情况下,终端可以显示启动方式提示信息,以提示用户有效启动云游戏应用程序的方式。
需要说明的一点是,本申请实施例仅是为了便于描述而将多种触发启动操作的方式分别进行介绍说明,实际应用中,也可以结合多种触发启动操作的方式来开发云游戏应用程序,以为用户提供更多的自主选择空间,提升启动操作触发的灵活性。应理解,这些均应属于本 申请的保护范围之内。
综上所述,本申请实施例提供的技术方案,通过提供多种触发启动操作的方式,满足了用户多样化和个性化的操作需求,为用户预留更多的选择空间,提升启动操作触发的灵活性。并且,本申请实施例中,通过与游戏视频所指示的云游戏应用程序接收到的游戏控制操作来启动游戏视频,有效且及时地满足了用户观看游戏视频的过程中产生的操作云游戏应用程序的需求。另外,本申请实施例中,通过在接收到用户的操作后显示云游戏应用程序的启动控件,从而可以醒目提示用户启动云游戏应用程序的方式。另外,本申请实施例中,通过在接收到与预定义的启动操作相匹配的操作的情况下,启动云游戏应用程序,从而有效避免用户误触的情况下,且由于预定义的启动操作也可以由用户来定义,充分满足了用户的个性化使用需求。
下面,针对终端启动运行云游戏应用程序,以及显示云游戏应用程序的初始显示界面进行介绍说明。
在一个示例中,上述步骤420,包括:响应于针对云游戏应用程序的启动操作,确定与游戏视频的画面帧所展示的游戏画面内容对应的游戏进度;以该游戏进度为起点,启动运行云游戏应用程序,以及显示云游戏应用程序的显示界面。
本申请实施例中,云游戏应用程序的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配,也就是说,云游戏应用程序启动时的游戏进度,与接收到启动操作时游戏视频所展示的游戏进度之间实现了衔接。基于此,终端响应于针对云游戏应用程序的启动操作,需要先确定与游戏视频的画面帧所展示的游戏画面内容对应的游戏进度,然后以该游戏进度为起点(也即从该游戏进度开始),启动运行云游戏应用程序以及显示云游戏应用程序的显示界面。
有关本示例中“确定与游戏视频的画面帧所展示的游戏画面内容对应的游戏进度”步骤的介绍说明,请参见下述实施例中“第一时间戳对应的游戏进度节点”的确定过程的介绍说明;有关本示例中“以该游戏进度为起点,启动运行云游戏应用程序,以及显示云游戏应用程序的显示界面”步骤的介绍说明,请参见下述实施例中“从第一时间戳对应的游戏进度节点开启,启动运行云游戏应用程序,以及显示云游戏应用程序的显示界面”的介绍说明,此处不多赘述。
在另一个示例中,上述步骤420,包括如下几个步骤(步骤422~424)。
步骤422,确定第一时间戳。
第一时间戳是在接收到针对云游戏应用程序的启动操作时,游戏视频的画面帧所对应的时间戳。终端在确定接收到启动操作时,可以确定第一时间戳。需要说明的一点是,由于终端确定是否接收到启动操作需要一定的处理时长,因此,用户输入触发操作以触发终端确定是否接收到云游戏应用程序的启动操作时,游戏视频的画面帧所对应的时间戳(第三时间戳),与终端确定接收到启动操作时游戏视频的画面帧所对应的时间戳(第一时间戳)之间,可能存在一定的时延,该时延大于或等于终端的处理时长。本申请实施例中,终端确定的是接收到启动操作时游戏视频的画面帧所对应的时间戳,但实际应用中,可能由于终端的处理时长很短可以忽略不计,因而接收到启动操作时游戏视频的画面帧所对应的时间戳,可以认为与用户输入触发操作以触发终端确定是否接收到启动操作时,游戏视频的画面帧所对应的时间 戳相同。
步骤424,从第一时间戳对应的游戏进度节点开始,启动运行云游戏应用程序,以及显示云游戏应用程序的显示界面。
确定了第一时间戳,即确定云游戏应用程序在启动后的游戏进度,本申请实施例中,终端从第一时间戳对应的游戏进度节点开始,启动运行云游戏应用程序,并显示云游戏应用程序的显示界面。之后,用户即可从第一时间戳对应的游戏进度节点开始,操作云游戏应用程序。也即,本申请实施例中,针对云游戏应用程序对应的游戏视频,第一时间戳之前的游戏进度节点由录制游戏视频的用户A操作,第一时间戳之后的游戏进度节点由观看游戏视频的用户B操作。可选地,第一时间戳对应的游戏进度节点既可以由用户A操作,也可以由用户B操作,本申请实施例对此不作限定。
应理解,录制游戏视频的用户A与观看游戏视频的用户B可以是同一个用户,也就是说,某个用户在观看自己录制的游戏视频的过程中,启动云游戏应用程序,并继续操作云游戏应用程序启动之后的游戏进度节点,云游戏应用程序启动之前的游戏进度节点也是该用户操作的;录制游戏视频的用户A与观看游戏视频的用户B也可以是不同的两个用户,也就是说,某个用户在观看其它用户录制的游戏视频的过程中,启动云游戏应用程序,并继续操作云游戏应用程序启动之后的游戏进度节点,而云游戏应用程序启动之前的游戏进度节点是由其它用户操作的。
可选地,上述步骤424之前,还包括:获取游戏视频关联的云游戏存档;确定第一时间戳对应的游戏进度节点。
本申请实施例中,为了实现在观看游戏视频的过程中快捷启动云游戏应用程序,将云游戏应用程序对应的游戏视频与云游戏应用程序对应的云游戏存档相关联,从而后续终端可以快速获取云游戏存档。有关游戏视频与云游戏存档的关联过程的介绍说明,请参见下述实施例,此处不多赘述。
云游戏存档是用于记录用户操作云游戏应用程序的过程中所涉及的游戏数据和时间戳的存档。本申请实施例中,云游戏存档中包括至少一个游戏进度节点的存档数据,存档数据包括游戏进度节点对应的时间戳。正是由于云游戏存档中包括至少一个游戏进度节点对应的时间戳,因而终端在确定第一时间戳之后,可以从云游戏存档中获取第一时间戳对应的游戏进度节点。其中,第一时间戳对应的游戏进度节点的存档数据中包含第一时间戳。
可选地,游戏进度节点的存档数据除了包括游戏进度节点对应的时间戳之外,还包括游戏进度节点对应的游戏数据,游戏数据是指云游戏应用程序在游戏进展过程中涉及的数据,例如,游戏数据包括操作数据、用户控制的虚拟对象的路径数据、用户控制的虚拟对象所拥有的虚拟资源(如虚拟装扮、虚拟物品等)数据等中的一种或多种。基于此,上述步骤424包括:获取第一时间戳对应的游戏数据;按照第一时间戳对应的游戏数据,加载云游戏应用程序;显示云游戏应用程序的初始显示界面。其中,第一时间戳对应的游戏数据是指第一时间戳对应的游戏进度节点对应的游戏数据,且第一时间戳对应的游戏进度节点的存档数据中包含第一时间戳对应的游戏进度节点对应的游戏数据。终端在启动运行云游戏应用程序时,是按照一定的数据来加载云游戏应用程序的,本申请实施例中,终端按照接收到启动操作时游戏视频的画面帧所对应的时间戳对应的游戏数据来加载云游戏应用程序,并显示云游戏应用程序的初始显示界面,从而确保了云游戏应用程序的初始显示界面所展示的游戏画面内容, 与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容一致。
综上所述,本申请实施例提供的技术方案,通过确定接收到启动操作时游戏视频的画面帧所对应的时间戳,并从该时间戳对应的游戏进度节点开始,启动运行云游戏应用程序,确保云游戏应用程序启动后的游戏进度为用户观看游戏视频时观看至的游戏进度,达到“所见即所玩”的技术效果。并且,本申请实施例通过获取云游戏应用程序对应的游戏视频关联的云游戏存档,并从云游戏存档中获取该游戏进度节点的游戏数据,以按照该游戏数据加载云游戏应用程序,从而为“所见即所玩”提供了充分的技术支持。
请参考图9,其示出了本申请一个实施例提供的应用程序的存档方法的流程图。该方法可应用于终端中,如上述图1所示云游戏管理系统中的第一终端10和第二终端20中。该方法可以包括如下几个步骤(步骤910~940)。
步骤910,录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频。
在用户操作云游戏应用程序的过程中,终端可以录制云游戏应用程序在游戏进展过程中的游戏画面,得到云游戏应用程序对应的游戏视频。本申请实施例中,终端可以每隔预设时间获取游戏进展过程中的游戏画面,获取的游戏画面为一个个画面帧的形式,从而终端录制的游戏视频包括获取的至少一个画面帧。可选地,每个画面帧均有其对应的时间戳,以便于后续关联云游戏应用程序对应的游戏视频和云游戏应用程序对应的云游戏存档。
步骤920,记录游戏数据,得到云游戏应用程序对应的云游戏存档。
在用户操作云游戏应用程序的过程中,一方面,终端录制游戏进展过程中的游戏画面得到游戏视频,另一方面,终端记录游戏数据得到云游戏存档。其中,游戏数据是指游戏进展过程中涉及的数据,例如,游戏数据包括操作数据、用户控制的虚拟对象的路径数据、用户控制的虚拟对象所拥有的虚拟资源(如虚拟装扮、虚拟物品等)数据等中的一种或多种。
在一个示例中,上述步骤920,包括:在游戏进展过程中,获取至少一个游戏进度节点对应的游戏数据;生成至少一个游戏进度节点的存档数据,得到云游戏存档。
游戏进度节点用于划分云游戏应用程序的游戏进度,通过划分游戏进度节点,可以便于对游戏进展过程中涉及的游戏数据进行存储、分类、调用、获取等。本申请实施例对游戏进度节点的划分方式不作限定,可选地,每隔预设时间划分一个游戏进度节点,例如,每隔0.5秒划分一个游戏进度节点;或者,按照用户操作划分游戏进度节点,例如,每接收到用户的一个操作,即划分一个游戏进度节点;或者,按照用户控制的虚拟对象的路径划分游戏进度节点,例如,每当虚拟对象的路径发生改变时,即划分一个游戏进度节点;或者,结合多种划分方式划分游戏进度节点,例如,在每隔0.5秒划分一个游戏进度节点的基础上,若在划分间隔期间接收到用户的操作,即按照用户的操作也划分相应的游戏进度节点。
本申请实施例中,游戏进度节点既可以在获取游戏进展过程中所有的游戏数据后获取,也可以在游戏进展过程中根据实时获取的游戏数据等来实时确定游戏进度节点。在划分游戏进度节点之后,即可获取游戏进度节点的游戏数据,并且生成游戏进度节点的存档数据,游戏进度节点的存档数据包括游戏进度节点对应的时间戳和游戏数据。可选地,游戏进度节点的存档数据在获取游戏进度节点的游戏数据的过程中实时生成,例如,每划分一个游戏进度节点,即获取该游戏进度节点的游戏数据,并生成该游戏进度节点的存档数据;或者,游戏进度节点的存档数据在获取到所有游戏进度节点的游戏数据后生成,本申请实施例对游戏进 度节点的存档数据的生成方式不作限定。
在生成至少一个游戏进度节点的存档数据后,即可得到云游戏存档,也即,云游戏存档中包括至少一个游戏进度节点的存档数据。由于每个游戏进度节点的存档数据均包括该游戏节点对应的时间戳和游戏数据,因而在本申请实施例中,时间戳和游戏数据之间也存在对应关系,通过时间戳即可定位至对应的游戏数据。可选地,目标时间戳对应的游戏数据包括目标时间戳对应的操作数据,目标时间戳对应的操作数据用于指示目标时间戳时接收到的游戏控制操作。有关操作数据和游戏控制操作的介绍说明,请参见上述实施例,此处不多赘述。
步骤930,关联游戏视频和云游戏存档,得到云游戏应用程序对应的播放数据。
本申请实施例中,云游戏应用程序对应的游戏视频和云游戏存档可以是同步生成的,也即,上述步骤910和上述步骤920是同时执行的;或者,云游戏应用程序对应的游戏视频和云游戏存档不是同步生成的,例如,在游戏进展过程中一方面录制游戏画面得到游戏视频,另一方面记录游戏数据,在游戏进展过程之后,根据记录的游戏数据生成云游戏存档。
在分别获取了游戏数据和云游戏存档后,即可建立游戏视频和云游戏存档之间的关联关系,以关联游戏视频和云游戏存档,得到云游戏应用程序对应的播放数据。可选地,本申请实施例中,游戏视频和云游戏存档通过时间戳建立关联关系。游戏视频的每个画面帧均有其对应的时间戳,云游戏存档中也包括各个游戏进度节点对应的时间戳和游戏数据,可以通过时间戳将游戏数据关联至游戏视频。
例如,如图10所示,游戏视频1010和云游戏存档1020之间具有关联关系。根据云游戏存档1020中包括的游戏进度节点的时间戳(如06:13),可以定位至游戏视频1010中与该时间戳(如06:13)对应的画面帧,并且将该时间戳(如06:13)对应的游戏数据关联至游戏视频1010,如将该时间戳(如06:13)对应的游戏数据与游戏视频1010中该时间戳(如06:13)对应的画面帧关联。
需要说明的一点是,由于画面帧的获取方式与游戏进度节点的划分方式可能不一致,因而可能会导致某一游戏进度节点的时间戳在游戏视频中没有准确对应的画面帧,例如,游戏进度节点的时间戳包括08:00,而游戏视频的画面帧所对应的时间戳不包括08:00,但是包括07:59和08:01。此时,可以将该时间戳对应的游戏数据通过与该时间戳最接近的时间戳关联至游戏视频。例如,游戏进度节点的时间戳包括08:00,但是游戏视频的画面帧所对应的时间戳包括07:58和08:01,此时,可以将08:00这一时间戳对应的游戏数据通过08:01这一时间戳关联至游戏视频。
若游戏视频的画面帧所对应的时间戳中存在多个与游戏进度节点的时间戳最接近的时间戳,既可以将游戏进度节点的游戏数据通过游戏进度节点之前的时间戳关联至游戏视频,也可以将游戏进度节点的游戏数据通过游戏进度节点之后的时间戳关联至游戏视频,本申请实施例对此不作限定。例如,游戏进度节点的时间戳包括08:00,但是游戏视频的画面帧所对应的时间戳包括07:59和08:01,此时,既可以将08:00这一时间戳对应的游戏数据通过08:01这一时间戳关联至游戏视频,也可以将08:00这一时间戳对应的游戏数据通过07:59这一时间戳关联至游戏视频。
步骤940,存储播放数据。
根据游戏视频和云游戏存档生成云游戏应用程序对应的播放数据后,即可存储该播放数据,以便于后续调用或获取。可选地,终端也可以将播放数据上传至服务器,以减少终端的 存储压力,并便于其他终端调用该播放数据。例如,在云游戏应用程序的客户端生成播放数据的情况下,终端将播放数据上传至云游戏应用程序的服务器;在其他应用程序(如直播类应用程序、社交类应用程序、视频播放类应用程序等)生成播放数据的情况下,终端将播放数据上传至其他应用程序的服务器。
需要说明的一点是,本申请实施例仅以播放数据由终端生成为例进行举例说明,实际应用中,播放数据也可以由服务器生成,例如,终端将录制得到的游戏视频和记录得到的云游戏存档上传至服务器,然后由服务器关联游戏视频和云游戏存档以得到播放数据;或者,终端将录制得到的游戏视频和记录的游戏数据上传至服务器,由服务器根据记录的游戏数据生成云游戏存档,并关联游戏视频和云游戏存档,得到播放数据。应理解,这些均应属于本申请的保护范围之内。
综上所述,本申请实施例提供的技术方案,通过在云游戏应用程序的游戏进展过程中,一方面录制游戏进展过程中的游戏画面得到游戏视频,另一方面记录游戏进展过程中涉及的游戏数据得到云游戏存档,然后,关联游戏视频和云游戏存档得到播放数据,从而提供了一种云游戏应用程序的存档方法。并且,本申请实施例提供的技术方案确保了后续终端播放游戏视频时,可以根据用户触发的启动操作及时准确地定位至云游戏存档中的游戏进度节点,以确保能够实现从定位至的游戏进度节点开始启动云游戏应用程序,为“所见即所玩”这一应用程序的启动效果提供底层的技术支持,辅助快捷启动云游戏应用程序的实施,完善了云游戏应用程序的启动和存档机制。
需要说明的一点是,本申请实施例中,应用程序的启动方法的应用终端,与应用程序的存档方法的应用终端可以为相同的终端,也可以不同的终端,如应用程序的存档方法应用于图1中的第一终端10中,应用程序的启动方法应用于图1中的第二终端20中。需要说明的另一点是,本申请实施例中,应用程序的启动方法的应用客户端,与应用程序的存档方法的应用客户端可以为相同的客户端,也可以为不同的客户端,如应用程序的启动方法应用于直播类应用程序的客户端中,应用程序的存档方法应用于云游戏应用程序的客户端中。
下面,以应用程序的启动方法应用于视频播放应用程序的客户端,应用程序的存档方法应用于云游戏应用程序的客户端为例,对本申请的技术方案进行介绍说明。请参考图11,其示出了本申请一个实施例提供应用程序的启动及存档方法的示意图。
如图11所示,云游戏应用程序的客户端在用户A操作云游戏应用程序的过程中,一方面录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频,另一方面记录游戏数据,得到云游戏应用程序对应的云游戏存档。该游戏数据是指游戏进展过程中涉及的数据,例如,游戏数据包括操作数据、用户控制的虚拟对象的路径数据、用户控制的虚拟对象所拥有的虚拟资源(如虚拟装扮、虚拟物品等)数据等中的一种或多种。
在分别得到游戏视频和云游戏存档后,云游戏应用程序的客户端将云游戏存档通过时间戳关联至游戏视频中,得到云游戏应用程序对应的播放数据。通过该播放数据,既可以播放游戏视频,也可以试玩云游戏存档所对应的云游戏片段。
如图11所示,视频播放应用程序的客户端在用户B的操作下,从云游戏应用程序的客户端处获取播放数据,并播放云游戏应用程序对应的游戏视频。可选地,云游戏应用程序的客 户端可以将播放数据上传至云游戏服务器,然后云游戏服务器将播放数据发送至视频播放应用程序的服务器,再由视频播放应用程序的服务器将播放数据发送至视频播放应用程序的客户端。
在播放游戏视频的过程中,用户B可以操作游戏视频以触发视频播放应用程序的客户端接收到针对云游戏应用程序的启动操作。如图11所示,本申请实施例提供了三种启动云游戏应用程序的方式。
方式一:用户B操作游戏视频指示的云游戏应用程序内的游戏控制操作,以触发视频播放应用程序的客户端接收到启动操作;
方式二:用户B点击游戏视频,以触发视频播放应用程序的客户端显示启动控件,进一步地,用户B触发启动控件,以触发视频播放应用程序的客户端接收到启动操作;
方式三:用户B长按或双击游戏视频,以触发视频播放应用程序的客户端接收到启动操作。
如图11所示,视频播放应用程序的客户端在接收到启动操作后,即启动运行云游戏应用程序。在云游戏应用程序的加载过程中,可以显示云游戏应用程序的加载界面,以在视频播放应用程序和云游戏应用程序之间进行缓冲。在云游戏应用程序加载完成后,即显示云游戏应用程序的初始显示界面,该初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参考图12,其示出了本申请一个实施例提供的应用程序的启动装置的框图。该装置具有实现上述应用程序的启动方法示例的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以是终端,也可以设置在终端中。该装置1200可以包括:视频播放模块1210和程序启动模块1220。
视频播放模块1210,用于播放云游戏应用程序对应的游戏视频。
程序启动模块1220,用于响应于针对所述云游戏应用程序的启动操作,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面;其中,所述云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到所述启动操作时所述游戏视频的画面帧所展示的游戏画面内容相匹配。
在一个示例中,所述程序启动模块1220,用于:响应于所述启动操作,确定与所述游戏视频的画面帧所展示的游戏画面内容对应的游戏进度;以所述游戏进度为起点,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面。
在一个示例中,如图13所示,所述程序启动模块1220,包括:时间戳确定子模块1222,用于确定第一时间戳,所述第一时间戳是在接收到所述启动操作时所述游戏视频的画面帧所对应的时间戳;程序启动子模块1224,用于从所述第一时间戳对应的游戏进度节点开始,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面。
在一个示例中,如图13所示,所述程序启动子模块1224,还用于:获取所述游戏视频关联的云游戏存档,所述云游戏存档中包括至少一个游戏进度节点的存档数据,所述存档数据包括所述游戏进度节点对应的时间戳;确定所述第一时间戳对应的游戏进度节点,所述第 一时间戳对应的游戏进度节点的存档数据中包含所述第一时间戳。
在一个示例中,所述存档数据还包括所述游戏进度节点对应的游戏数据,所述游戏数据是指所述云游戏应用程序在游戏进展过程中涉及的数据;如图13所示,所述程序启动子模块1224,用于:获取所述第一时间戳对应的游戏数据,所述第一时间戳对应的游戏数据是指所述第一时间戳对应的游戏进度节点对应的游戏数据,且所述第一时间戳对应的游戏进度节点的存档数据中包含所述第一时间戳对应的游戏进度节点对应的游戏数据;按照所述第一时间戳对应的游戏数据,加载所述云游戏应用程序;显示所述云游戏应用程序的初始显示界面。
在一个示例中,如图13所示,所述装置1200还包括:第一接收模块1232,用于接收针对所述游戏视频的播放界面的第一操作;指令确定模块1240,用于在所述第一操作与游戏控制操作相匹配的情况下,确定接收到所述启动操作;其中,所述游戏控制操作是指所述游戏视频所指示的所述云游戏应用程序接收到的操作。
在一个示例中,如图13所示,所述装置1200还包括:时间戳确定模块1234,用于确定第二时间戳,所述第二时间戳是在接收到所述第一操作时所述游戏视频的画面帧所对应的时间戳;数据获取模块1236,用于获取所述第二时间戳对应的游戏数据,所述游戏数据是指所述云游戏应用程序在游戏进展过程中涉及的数据;其中,所述第二时间戳对应的游戏数据包括所述第二时间戳对应的操作数据,所述第二时间戳对应的操作数据用于指示所述第二时间戳时接收到的游戏控制操作,所述游戏控制操作用于确定是否接收到所述启动操作。
在一个示例中,如图13所示,所述装置1200还包括:第二接收模块1250,用于响应于针对所述游戏视频的播放界面的第二操作,显示所述云游戏应用程序的启动控件;指令确定模块1240,用于响应于针对所述启动控件的第三操作,确定接收到所述启动操作。
在一个示例中,如图13所示,所述装置1200还包括:第四接收模块1260,用于接收针对所述游戏视频的播放界面的第四操作;指令确定模块1240,用于在所述第四操作与预设启动操作相匹配的情况下,确定接收到所述启动操作;其中,所述预设启动操作是指预先设定的用于启动所述云游戏应用程序的操作。
综上所述,本申请实施例提供的技术方案,通过在播放云游戏应用程序对应的游戏视频的过程中,接收针对云游戏应用程序的启动操作,并响应于该启动操作,启动运行云游戏应用程序,从而实现了在游戏视频的播放过程中便捷启动云游戏应用程序,既简化了云游戏应用程序的启动过程,也提升了云游戏应用程序的启动效率。并且,本申请实施例中,云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到启动操作时游戏视频的画面帧所展示的游戏画面内容相匹配,从而可以避免云游戏应用程序的游戏进度与游戏视频所展示的游戏进度之间的偏差,确保用户从其选择的游戏起点或从其感兴趣的游戏起点开始操作云游戏应用程序,达到“所见即所玩”的效果。
请参考图14,其示出了本申请一个实施例提供的应用程序的存档装置的框图。该装置具有实现上述应用程序的存档方法示例的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以是终端,也可以设置在终端中。该装置1400可以包括:视频录制模块1410、存档记录模块1420、数据生成模块1430和数据存储模块1440。
视频录制模块1410,用于录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频。
存档记录模块1420,用于记录游戏数据,得到所述云游戏应用程序对应的云游戏存档,所述游戏数据是指所述游戏进展过程中涉及的数据。
数据生成模块1430,用于关联所述游戏视频和所述云游戏存档,得到所述云游戏应用程序对应的播放数据。
数据存储模块1440,用于存储所述播放数据。
在一个示例中,所述存档记录模块1420,用于:在所述游戏进展过程中,获取至少一个游戏进度节点对应的游戏数据;生成所述至少一个游戏进度节点的存档数据,得到所述云游戏存档;其中,所述存档数据包括所述游戏进度节点对应的时间戳和游戏数据。
在一个示例中,目标时间戳对应的游戏数据包括所述目标时间戳对应的操作数据,所述目标时间戳对应的操作数据用于指示所述目标时间戳时接收到的游戏控制操作。
综上所述,本申请实施例提供的技术方案,通过在云游戏应用程序的游戏进展过程中,一方面录制游戏进展过程中的游戏画面得到游戏视频,另一方面记录游戏进展过程中涉及的游戏数据得到云游戏存档,然后,关联游戏视频和云游戏存档得到播放数据,从而提供了一种云游戏应用程序的存档方法。并且,本申请实施例提供的技术方案确保了后续终端播放游戏视频时,可以根据用户触发的启动操作及时准确地定位至云游戏存档中的游戏进度节点,以确保能够实现从定位至的游戏进度节点开始启动云游戏应用程序,为“所见即所玩”这一应用程序的启动效果提供底层的技术支持,辅助快捷启动云游戏应用程序的实施,完善了云游戏应用程序的启动和存档机制。
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
请参考图15,其示出了本申请一个实施例提供的终端1500的结构框图。该终端1500可以是诸如手机、平板电脑、多媒体播放设备、电视机、放映机、显示器、可穿戴设备、PC等电子设备。该终端可用于实施上述实施例中提供的应用程序的启动方法,或者用于实施上述实施例中提供的应用程序的存档方法。具体来讲:
通常,终端1500包括有:处理器1501和存储器1502。
处理器1501可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1501可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1501也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理单元);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1501可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1501还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1502可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1502还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1502中的非暂态的计算机可读存储介质用于存储至少一个指令,至少一段程序、代码集或指令集,所述至少一条指令、至少一段程序、代码集或指令集,且经配置以由一个或者一个以上处理器执行,以实现上述应用程序的启动方法,或者实现如上述应用程序的存档方法。
在一些实施例中,终端1500还可选包括有:外围设备接口1503和至少一个外围设备。处理器1501、存储器1502和外围设备接口1503之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1503相连。具体地,外围设备包括:射频电路1504、显示屏1505、摄像头组件1506、音频电路1507、定位组件1508和电源1509中的至少一种。
本领域技术人员可以理解,图15中示出的结构并不构成对终端1500的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被终端的处理器执行时以实现上述应用程序的启动方法,或者实现上述应用程序的存档方法。
可选地,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、固态硬盘(SSD,Solid State Drives)或光盘等。其中,随机存取记忆体可以包括电阻式随机存取记忆体(ReRAM,Resistance Random Access Memory)和动态随机存取存储器(DRAM,Dynamic Random Access Memory)。
在示例性实施例中,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述应用程序的启动方法,或者实现上述应用程序的存档方法。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。
还应当理解的是,在本文中,用于连接两个步骤的“并”和“以及”表达的是同一含义,均用于表达两个步骤需要执行,而对两个步骤的先后执行顺序并不作限定。例如,“执行步骤A,并执行步骤B”和“执行步骤A,以及执行步骤B”均用于表达“既要执行步骤A,也要执行步骤B”,而对步骤A和步骤B的先后执行顺序并不作限定,步骤A既可以在步骤B之前执行,也可以在步骤B之后执行,还可以与步骤B同时执行。
还应当理解的是,在本文中,用于连接两个信息的“若……,则……”和“在……情况 下,……”表达的是同一含义,均用于表达前一信息是后一信息的充分不必要条件。例如,“若A,则B”和“在A的情况下,B”均用于表达“如果有A,则有B;但如果有B,则不必然有A”。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (17)

  1. 一种应用程序的启动方法,所述方法由终端执行,所述方法包括:
    播放云游戏应用程序对应的游戏视频;
    响应于针对所述云游戏应用程序的启动操作,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面;
    其中,所述云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到所述启动操作时所述游戏视频的画面帧所展示的游戏画面内容相匹配。
  2. 根据权利要求1所述的方法,其中,所述响应于针对所述云游戏应用程序的启动操作,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面,包括:
    响应于所述启动操作,确定与所述游戏视频的画面帧所展示的游戏画面内容对应的游戏进度;
    以所述游戏进度为起点,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面。
  3. 根据权利要求1所述的方法,其中,所述启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面,包括:
    确定第一时间戳,所述第一时间戳是在接收到所述启动操作时所述游戏视频的画面帧所对应的时间戳;
    从所述第一时间戳对应的游戏进度节点开始,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面。
  4. 根据权利要求3所述的方法,其中,所述从所述第一时间戳对应的游戏进度节点开始,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面之前,还包括:
    获取所述游戏视频关联的云游戏存档,所述云游戏存档中包括至少一个游戏进度节点的存档数据,所述存档数据包括所述游戏进度节点对应的时间戳;
    确定所述第一时间戳对应的游戏进度节点,所述第一时间戳对应的游戏进度节点的存档数据中包含所述第一时间戳。
  5. 根据权利要求4所述的方法,其中,所述存档数据还包括所述游戏进度节点对应的游戏数据,所述游戏数据是指所述云游戏应用程序在游戏进展过程中涉及的数据;
    所述从所述第一时间戳对应的游戏进度节点开始,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面,包括:
    获取所述第一时间戳对应的游戏数据;
    按照所述第一时间戳对应的游戏数据,加载所述云游戏应用程序;
    显示所述云游戏应用程序的初始显示界面。
  6. 根据权利要求1至5任一项所述的方法,其中,所述播放云游戏应用程序对应的游戏 视频之后,还包括:
    接收针对所述游戏视频的播放界面的第一操作;
    在所述第一操作与游戏控制操作相匹配的情况下,确定接收到所述启动操作;
    其中,所述游戏控制操作是指所述游戏视频所指示的所述云游戏应用程序接收到的操作。
  7. 根据权利要求6所述的方法,其中,所述接收针对所述游戏视频的播放界面的第一操作之后,还包括:
    确定第二时间戳,所述第二时间戳是在接收到所述第一操作时所述游戏视频的画面帧所对应的时间戳;
    获取所述第二时间戳对应的游戏数据,所述游戏数据是指所述云游戏应用程序在游戏进展过程中涉及的数据;
    其中,所述第二时间戳对应的游戏数据包括所述第二时间戳对应的操作数据,所述第二时间戳对应的操作数据用于指示所述第二时间戳时接收到的游戏控制操作,所述游戏控制操作用于确定是否接收到所述启动操作。
  8. 根据权利要求1至5任一项所述的方法,其中,所述播放云游戏应用程序对应的游戏视频之后,还包括:
    响应于针对所述游戏视频的播放界面的第二操作,显示所述云游戏应用程序的启动控件;
    响应于针对所述启动控件的第三操作,确定接收到所述启动操作。
  9. 根据权利要求1至5任一项所述的方法,其中,所述播放云游戏应用程序对应的游戏视频之后,还包括:
    接收针对所述游戏视频的播放界面的第四操作;
    在所述第四操作与预设启动操作相匹配的情况下,确定接收到所述启动操作;
    其中,所述预设启动操作是指预先设定的用于启动所述云游戏应用程序的操作。
  10. 一种应用程序的存档方法,所述方法由终端执行,所述方法包括:
    录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频;
    记录游戏数据,得到所述云游戏应用程序对应的云游戏存档,所述游戏数据是指所述游戏进展过程中涉及的数据;
    关联所述游戏视频和所述云游戏存档,得到所述云游戏应用程序对应的播放数据;
    存储所述播放数据。
  11. 根据权利要求10所述的方法,其中,所述记录游戏数据,得到所述云游戏应用程序对应的云游戏存档,包括:
    在所述游戏进展过程中,获取至少一个游戏进度节点对应的游戏数据;
    生成所述至少一个游戏进度节点的存档数据,得到所述云游戏存档;
    其中,所述存档数据包括所述游戏进度节点对应的时间戳和游戏数据。
  12. 根据权利要求11所述的方法,其中,目标时间戳对应的游戏数据包括所述目标时间戳对应的操作数据,所述目标时间戳对应的操作数据用于指示所述目标时间戳时接收到的游戏控制操作。
  13. 一种应用程序的启动装置,所述装置包括:
    视频播放模块,用于播放云游戏应用程序对应的游戏视频;
    程序启动模块,用于响应于针对所述云游戏应用程序的启动操作,启动运行所述云游戏应用程序,以及显示所述云游戏应用程序的显示界面;
    其中,所述云游戏应用程序在启动后的初始显示界面所展示的游戏画面内容,与接收到所述启动操作时所述游戏视频的画面帧所展示的游戏画面内容相匹配。
  14. 一种应用程序的存档装置,所述装置包括:
    视频录制模块,用于录制云游戏应用程序在游戏进展过程中的游戏画面,得到游戏视频;
    存档记录模块,用于记录游戏数据,得到所述云游戏应用程序对应的云游戏存档,所述游戏数据是指所述游戏进展过程中涉及的数据;
    数据生成模块,用于关联所述游戏视频和所述云游戏存档,得到所述云游戏应用程序对应的播放数据;
    数据存储模块,用于存储所述播放数据。
  15. 一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至9任一项所述的应用程序的启动方法,或者实现如权利要求10至12任一项所述的应用程序的存档方法。
  16. 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如权利要求1至9任一项所述的应用程序的启动方法,或者实现如权利要求10至12任一项所述的应用程序的存档方法。
  17. 一种计算机程序产品或计算机程序,所述计算机程序产品或所述计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,终端的处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令,使得所述终端执行如权利要求1至9任一项所述的应用程序的启动方法,或者实现如权利要求10至12任一项所述的应用程序的存档方法。
PCT/CN2021/117770 2020-09-23 2021-09-10 应用程序的启动及存档方法、装置、设备及存储介质 WO2022062921A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/954,111 US20230014732A1 (en) 2020-09-23 2022-09-27 Application startup and archiving

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011011843.3A CN112169320B (zh) 2020-09-23 2020-09-23 应用程序的启动及存档方法、装置、设备及存储介质
CN202011011843.3 2020-09-23

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/954,111 Continuation US20230014732A1 (en) 2020-09-23 2022-09-27 Application startup and archiving

Publications (1)

Publication Number Publication Date
WO2022062921A1 true WO2022062921A1 (zh) 2022-03-31

Family

ID=73956046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117770 WO2022062921A1 (zh) 2020-09-23 2021-09-10 应用程序的启动及存档方法、装置、设备及存储介质

Country Status (3)

Country Link
US (1) US20230014732A1 (zh)
CN (1) CN112169320B (zh)
WO (1) WO2022062921A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112169320B (zh) * 2020-09-23 2023-10-10 腾讯科技(深圳)有限公司 应用程序的启动及存档方法、装置、设备及存储介质
CN112331235B (zh) 2021-01-04 2021-04-06 腾讯科技(深圳)有限公司 多媒体内容的编辑控制方法、装置、电子设备和存储介质
CN113556568B (zh) * 2021-07-21 2023-04-21 北京奇艺世纪科技有限公司 一种云应用程序运行方法、系统、装置与存储介质
CN116992074A (zh) * 2022-09-30 2023-11-03 腾讯科技(成都)有限公司 游戏视频的播放方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140094302A1 (en) * 2012-10-03 2014-04-03 Google Inc. Cloud-based multi-player gameplay video rendering and encoding
CN108066986A (zh) * 2017-10-26 2018-05-25 咪咕互动娱乐有限公司 一种流媒体确定方法及装置和存储介质
CN111603764A (zh) * 2020-05-28 2020-09-01 腾讯科技(深圳)有限公司 一种云游戏的处理方法及设备
CN111632373A (zh) * 2020-05-30 2020-09-08 腾讯科技(深圳)有限公司 一种启动游戏的方法、装置及计算机可读存储介质
CN112169320A (zh) * 2020-09-23 2021-01-05 腾讯科技(深圳)有限公司 应用程序的启动及存档方法、装置、设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9345966B2 (en) * 2012-03-13 2016-05-24 Sony Interactive Entertainment America Llc Sharing recorded gameplay to a social graph
CN103902808B (zh) * 2012-12-27 2017-04-26 索尼互动娱乐美国有限责任公司 用于生成和共享云供应游戏的视频剪辑的系统和方法
US10625156B2 (en) * 2016-06-30 2020-04-21 Sony Interactive Entertainment LLC Method and system for sharing video game content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140094302A1 (en) * 2012-10-03 2014-04-03 Google Inc. Cloud-based multi-player gameplay video rendering and encoding
CN108066986A (zh) * 2017-10-26 2018-05-25 咪咕互动娱乐有限公司 一种流媒体确定方法及装置和存储介质
CN111603764A (zh) * 2020-05-28 2020-09-01 腾讯科技(深圳)有限公司 一种云游戏的处理方法及设备
CN111632373A (zh) * 2020-05-30 2020-09-08 腾讯科技(深圳)有限公司 一种启动游戏的方法、装置及计算机可读存储介质
CN112169320A (zh) * 2020-09-23 2021-01-05 腾讯科技(深圳)有限公司 应用程序的启动及存档方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN112169320A (zh) 2021-01-05
US20230014732A1 (en) 2023-01-19
CN112169320B (zh) 2023-10-10

Similar Documents

Publication Publication Date Title
WO2022062921A1 (zh) 应用程序的启动及存档方法、装置、设备及存储介质
CN111294663B (zh) 弹幕处理方法、装置、电子设备及计算机可读存储介质
US20230137850A1 (en) Method, apparatus, device and medium for posting a video or image
KR102083696B1 (ko) 사용자 개입 없이 레이아웃에 따라 이미지를 식별하고 정리하는 기법
US9888207B2 (en) Automatic camera selection
WO2020034747A1 (zh) 图片生成方法、装置、设备及存储介质
US20150264303A1 (en) Stop Recording and Send Using a Single Action
CN112169318B (zh) 应用程序的启动及存档方法、装置、设备及存储介质
JP2016164782A (ja) インスタントメッセージサービスを通じたシナリオエモーティコンの表示方法及びそのためのユーザ端末
EP3186970B1 (en) Enhanced interactive television experiences
US10178346B2 (en) Highlighting unread messages
US11212594B2 (en) Server device and storage medium for use therewith
US20160150009A1 (en) Actionable souvenir from real-time sharing
US20150264312A1 (en) Highlighting Unread Messages
US11941728B2 (en) Previewing method and apparatus for effect application, and device, and storage medium
CN112003913A (zh) 内容发布方法、装置、终端及存储介质
CN106105245A (zh) 互连视频的回放
CN112169319B (zh) 应用程序的启动方法、装置、设备及存储介质
US20150264305A1 (en) Playback of Interconnected Videos
US10698744B2 (en) Enabling third parties to add effects to an application
WO2023241373A1 (zh) 影像记录生成方法、装置、电子设备及存储介质
CN115605837A (zh) 带有动作卡链的游戏控制台应用程序
US20230326488A1 (en) Content creation based on text-to-image generation
CN114432708A (zh) 云游戏的处理方法、终端设备及计算机程序产品
US20170134781A1 (en) Method and apparatus for realizing custom menu, client and server

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/08/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21871292

Country of ref document: EP

Kind code of ref document: A1