Virtual scene editing method and device, equipment and storage medium

By running the virtual scene editing sub-interface in the cloud server and displaying video streams on the terminal, the problem of restriction of the mobile terminal's operating interface is solved, and efficient virtual scene editing across operating system environments is achieved.

CN120510331APending Publication Date: 2025-08-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410184091.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-18
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

The operating interface size of the mobile terminal is limited, which leads to cumbersome operations when editing virtual scenes, affecting editing efficiency.

Method used

By running the scene editing sub-interface of the application in the cloud server and displaying the login interface on the terminal side, receiving video streams and performing editing operations, the user's operation process is simplified and editing across operating system environments is realized.

Benefits of technology

The editing efficiency of virtual scenes is improved, and users do not need to perform additional operations entering the scene editing sub-interface on the mobile terminal, simplifying the operation process and improving interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120510331A_ABST
    Figure CN120510331A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual scene editing method and device, equipment and a storage medium, and belongs to the technical field of virtual world. The method is executed by a first terminal, an operating system environment of the first terminal is a first operating system environment, and the method comprises the following steps: displaying a login interface of a first application program; the first application program is an application program operated by the cloud server in a second operating system environment, and a main interface of the first application program comprises a scene editing sub-interface; in response to a login operation based on the login interface, receiving a first video stream corresponding to the scene editing sub-interface; the first video stream is sent after the cloud server logs in the first application program through a first account and triggers the first application program to enter the scene editing sub-interface; playing the first video stream in a video playing interface; and in response to the received scene editing operation executed in the video playing interface, sending operation information of the scene editing operation to the cloud server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of virtual world technology, and in particular to a method, apparatus, device, and storage medium for editing a virtual scene. Background Art

[0002] In some mobile terminals, the application program running the virtual scene may support a user-defined function of editing the virtual scene.

[0003] In related technologies, when a user uses a mobile terminal such as a mobile phone to run an application for a virtual scene, he or she can trigger the application to enter a scene editing sub-interface through the scene editing entrance in the main interface of the application; the user can customize the virtual scene in the scene editing sub-interface; after the virtual scene editing is completed, the edited virtual scene can be published to the application and used by other users, for example, other users can control the virtual objects to move in the virtual scene.

[0004] However, the solution shown in the above-mentioned related technology is cumbersome due to the limited size of the operating interface of the mobile terminal. When the user needs to edit the virtual scene, he needs to open the main interface of the application and then enter the scene editing sub-interface. The user operation process is relatively cumbersome, which affects the editing efficiency of the virtual scene. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for editing a virtual scene. The technical solution is as follows:

[0006] According to one aspect of the present application, a method for editing a virtual scene is provided. The method is executed by a first terminal, where the operating system environment of the first terminal is a first operating system environment. The method includes:

[0007] Displaying a login interface for a first application; the first application is an application running on a cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene;

[0008] In response to a login operation based on the login interface, a first video stream corresponding to the scene editing sub-interface is received; the first video stream is sent by the cloud server after logging into the first application through a first account and triggering the first application to enter the scene editing sub-interface; the first account is the account corresponding to the login operation;

[0009] Play the first video stream in the video playback interface;

[0010] In response to receiving a scene editing operation performed in the video playback interface, operation information of the scene editing operation is sent to the cloud server, where the operation information is used to instruct the first application to perform an editing behavior corresponding to the scene editing operation on the virtual scene.

[0011] According to one aspect of the present application, a method for editing a virtual scene is provided, the method being executed by a cloud server and comprising:

[0012] In response to a login operation based on a login interface, a first application is logged in through a first account; the login interface is displayed by a first terminal, and the operating system environment of the first terminal is a first operating system environment; the first application is run by the cloud server in a second operating system environment, and the first operating system environment is different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first account is the account corresponding to the login operation;

[0013] Triggering the first application to enter the scene editing sub-interface;

[0014] Sending a first video stream corresponding to the scene editing sub-interface to the first terminal, so that the first terminal plays the first video stream in a video playback interface;

[0015] receiving operation information of a scene editing operation sent by the first terminal; the scene editing operation is an operation received by the first terminal and performed in the video playback interface;

[0016] Based on the operation information, the first application is triggered to perform an editing behavior corresponding to the scene editing operation on the virtual scene.

[0017] According to another aspect of the present application, a device for editing a virtual scene is provided, the device comprising:

[0018] A login interface display module, configured to display a login interface for a first application; the first application is an application running on a cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first operating system environment is the operating system environment of the first terminal displaying the login interface;

[0019] a first video stream receiving module configured to receive a first video stream corresponding to the scene editing sub-interface in response to a login operation based on the login interface; the first video stream is sent by the cloud server after logging into the first application using a first account and triggering the first application to enter the scene editing sub-interface; the first account is the account corresponding to the login operation;

[0020] A first playback module, configured to play the first video stream in a video playback interface;

[0021] An operation information sending module is used to send operation information of the scene editing operation to the cloud server in response to receiving a scene editing operation performed in the video playback interface, wherein the operation information is used to instruct the first application to perform editing behavior corresponding to the scene editing operation on the virtual scene.

[0022] According to another aspect of the present application, a device for editing a virtual scene is provided, the device comprising:

[0023] A program login module, configured to log in to a first application program using a first account in response to a login operation based on a login interface; the login interface is displayed by a first terminal, the operating system environment of the first terminal being a first operating system environment; the first application program is run by the cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application program includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first account is the account corresponding to the login operation;

[0024] A first triggering module, configured to trigger the first application to enter the scene editing sub-interface;

[0025] A first video stream sending module, configured to send the first video stream corresponding to the scene editing sub-interface to the first terminal, so that the first terminal plays the first video stream in the video playing interface;

[0026] an operation information receiving module, configured to receive operation information of a scene editing operation sent by the first terminal; the scene editing operation is an operation received by the first terminal and executed in the video playback interface;

[0027] A scene editing triggering module is used to trigger the first application to perform an editing behavior corresponding to the scene editing operation on the virtual scene based on the operation information.

[0028] According to another aspect of the present application, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program; the processor is configured to execute the at least one program in the memory to implement the virtual scene editing method as described above.

[0029] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores executable instructions, and the executable instructions are loaded and executed by a processor of a computer device to implement the virtual scene editing method as described above.

[0030] According to another aspect of the present application, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned method for editing a virtual scene.

[0031] The beneficial effects of the technical solution provided by this application include at least:

[0032] For a first application program that is run by a cloud server in a second operating system environment and includes a scene editing sub-interface for editing a virtual scene under the main interface, the first terminal running the first operating system environment can display the login interface of the first application program. When the first terminal receives a login operation based on the login interface, the cloud server can log in to the first application program through the first account corresponding to the login operation through the first terminal, and trigger the first application program to enter the scene editing sub-interface. Afterwards, the first terminal can receive a first video stream corresponding to the scene editing sub-interface sent by the cloud server, and play the first video stream through the video playback interface. Subsequently, when the first terminal receives a scene editing operation performed in the video playback interface, the operation information can be sent to the cloud server to instruct the first application program running in the cloud server to perform editing actions corresponding to the scene editing operation on the virtual scene. Through the above scheme, the application program that includes the scene editing sub-interface under the main interface is placed in the second operating system environment of the cloud and runs. The terminal running the first operating system environment can display the login interface of the application program, and the user initiates the login from the terminal side. During the login operation, the cloud can log in to the application through the account corresponding to the login operation, and trigger the application to enter the scene editing sub-interface, and push the video stream of the scene editing sub-interface to the terminal for playback. The user can trigger the cloud application to edit the virtual scene through the editing operation in the video playback interface on the terminal side. On the one hand, when the second operating system environment in which the above-mentioned application runs is the operating system environment corresponding to the mobile terminal, the editing of the virtual scene can be achieved through the first operating system environment outside the second operating system environment (such as the operating system environment running on a personal computer), so that the editing operation of the virtual scene is no longer limited to the mobile terminal. On the other hand, the user only needs to perform the login operation on the terminal side, that is, to trigger the cloud login application and enter the scene editing sub-interface. The user does not need to perform additional operation steps from the main interface of the application to enter the scene editing sub-interface, which simplifies the user operation process; based on the above two aspects, the solution provided in the embodiment of the present application can greatly improve the interaction efficiency between the user and the application when editing the virtual scene, thereby improving the editing efficiency of the virtual scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0034] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an exemplary embodiment of the present application;

[0035] Figure 2 is a flow chart of a method for editing a virtual scene provided by an exemplary embodiment of the present application;

[0036] Figure 3 is a flow chart of a method for editing a virtual scene provided by another exemplary embodiment of the present application;

[0037] Figure 4 is a flowchart of a method for editing a virtual scene provided by another exemplary embodiment of the present application;

[0038] Figure 5 This is a schematic diagram of a login interface involved in an embodiment of the present application;

[0039] Figure 6 This is a schematic diagram of a scene editing sub-interface involved in an embodiment of the present application;

[0040] Figure 7 is a schematic diagram of another scene editing sub-interface involved in an embodiment of the present application;

[0041] Figure 8 This is a diagram showing the corresponding relationship between the operation types involved in the embodiment of the present application;

[0042] Figure 9 is a schematic diagram of another scene editing sub-interface involved in an embodiment of the present application;

[0043] Figure 10 This is another interface diagram showing the corresponding relationship of operation types involved in the embodiment of the present application;

[0044] Figure 11 This is a diagram of a virtual scene sharing interface involved in an embodiment of the present application;

[0045] Figure 12 is a flow chart of a method for editing a virtual scene provided by an exemplary embodiment of the present application;

[0046] Figure 13 This is a schematic diagram of a login interface involved in an embodiment of the present application;

[0047] Figure 14 is a flow chart of a method for editing a virtual scene provided by an exemplary embodiment of the present application;

[0048] Figure 15 is a flow chart of a method for editing a virtual scene provided by an exemplary embodiment of the present application;

[0049] Figure 16 This is a schematic diagram of a cloud editor process involved in this application;

[0050] Figure 17This is a schematic diagram of the login transparent transmission process;

[0051] Figure 18 is a block diagram of a virtual scene editing device provided by an exemplary embodiment of the present application;

[0052] Figure 19 is a block diagram of a virtual scene editing device provided by an exemplary embodiment of the present application;

[0053] Figure 20 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application.

[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION

[0055] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0056] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0057] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0058] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, storage, and display, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the attack operations and other object behaviors involved in this application were obtained with full authorization.

[0059] It should be understood that although the terms first, second, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter without departing from the scope of this disclosure. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0060] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of a solution provided by an exemplary embodiment of the present application. The implementation environment may include: a terminal device 10 and a server 20.

[0061] The terminal device 10 may be an electronic device such as a tablet computer, a PC (Personal Computer), an in-vehicle terminal, a wearable device, an AR (Augmented Reality) device, a VR (Virtual Reality) device, or an MR (Mixed Reality) device. The terminal device 10 may be installed with a client having a web page display function, such as a browser client.

[0062] The terminal device 10 and the server 20 can communicate with each other via a network 30. The network 30 can be a wired network or a wireless network.

[0063] Optionally, the implementation environment may further include a terminal device 40. Terminal device 40 may be an electronic device such as a mobile phone, tablet computer, multimedia player, vehicle-mounted terminal, wearable device, AR (Augmented Reality) device, VR (Virtual Reality) device, or MR (Mixed Reality) device. A client for a target application may be installed in terminal device 40. The target application may be a game application, a social entertainment application, a simulation learning application, or a simulation application.

[0064] The target application can be an online application. For example, the client of the target application can be installed and run in different terminal devices 40 for use by different users. Taking a game application as an example, the game application can be installed and run in different terminal devices 10 in the form of a mobile game, a PC game, a web page, a mini-program, etc. The target application can also be an offline application or a plug-and-play application, which is not limited in the embodiments of the present application.

[0065] Among them, game applications can be any one of massively multiplayer online role-playing games (MMORPG), casual games, party games, sandbox games, tower defense games, level-breaking games, action-adventure games, multiplayer online battle arena (MOBA), first-person shooter games (FPS), multiplayer gun battle survival games, third-person shooter games (TPS), strategy games (SLG), etc., and the embodiments of the present application are not limited to this.

[0066] Optionally, the target application may be a user-generated content (UGC) editor application, or the target application may be a game application integrated with a UGC editor.

[0067] The aforementioned UGC editor application, or an editor within a gaming application, can provide users with UGC editing capabilities. For example, the aforementioned UGC editor application, or an editor within a gaming application, can allow users to create, edit, and share their own game maps or levels (or virtual scenes). In the gaming field, UGC editors typically provide a wealth of tools and functions, enabling users to create unique terrains, arrange game objects, set level objectives, adjust game rules, and so on.

[0068] The server 20 is used to provide background services for the client of the target application (such as a game application) in the terminal device 40. For example, the server 20 can be the background server of the above application (such as a game application), or the server 20 can also be a cloud server running the above application in the cloud. The server 20 can be a single server, a server cluster consisting of multiple servers, or a cloud computing service center.

[0069] For example, taking mobile games as an example, users can open game levels through the mobile game client in the terminal device 40. The client shows the user a virtual scene provided by the game level, and the user can control virtual objects to move in the virtual scene; wherein, the virtual scene can be developed by developers and pre-set in the mobile game client, or the virtual scene can also be customized by the user, edited and generated, and published to the mobile game server or client.

[0070] Please refer to Figure 2 , which shows a flowchart of a virtual scene editing method provided by an exemplary embodiment of the present application. The method is executed by a first terminal, and optionally, the first terminal can be Figure 1 The terminal device 10 in the system shown. Figure 2 As shown, the method may include the following steps.

[0071] Step 210: Display the login interface of the first application; the first application is an application running by the cloud server in the second operating system environment, and the first operating system environment is different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit the virtual scene.

[0072] The first application may be a UGC editor application, or another type of application (such as a game application) that includes a UGC editor. The UGC editor application or the UGC editor may provide users with custom editing capabilities for virtual scenes, virtual maps, and levels. In other words, the solution described in the embodiments of the present application may be applied to the UGC editor scenario.

[0073] In the embodiment of the present application, the operating system environment of the first terminal is the first operating system environment.

[0074] For example, the first terminal may be a PC or a tablet computer, and the first operating system environment may be an operating system environment running on a PC, such as a Windows operating system environment; the second operating system environment may be an operating system environment running on a mobile terminal, such as an Android operating system environment, and so on.

[0075] In an embodiment of the present application, the first application is an application running in a second operating system environment. Specifically, the first application can be run by a cloud server in the second operating system environment. For example, the first application can be run by the cloud server in a container / simulator of the second operating system environment. The main interface of the first application can include one or more sub-interfaces, including a scene editing sub-interface for editing a virtual scene.

[0076] Optionally, the main interface of the first application may further include other sub-interfaces besides the scene editing sub-interface, such as an operation setting sub-interface for setting an operation mode, a scene running sub-interface for running a virtual scene, and the like.

[0077] Step 220: In response to a login operation based on the login interface, a first video stream corresponding to the scene editing sub-interface is received; the first video stream is sent after the cloud server logs in to the first application through the first account and triggers the first application to enter the scene editing sub-interface; the first account is the account corresponding to the login operation.

[0078] In an embodiment of the present application, the user can perform a login operation in the login interface displayed on the first terminal side. After that, the first terminal can trigger the cloud server to log in to the first application through the first account used by the user, and directly trigger the first application to enter the scene editing sub-interface without the user performing additional operations. The cloud server packages the screen of the scene editing sub-interface into a first video stream and sends it to the first terminal.

[0079] Among them, the above-mentioned cloud server logs in to the first application through the first account, which may refer to directly using the first account to initiate a login to the backend server of the first application, or it may refer to initiating a login to the backend server of the first application through other information corresponding to the first account (such as ticket information).

[0080] Step 230: Play the first video stream in the video playback interface.

[0081] After receiving the first video stream, the first terminal can play the first video stream through the video playback interface in the first terminal, that is, play the video screen of the scene editing sub-interface displayed by the first application.

[0082] Step 240: In response to receiving a scene editing operation performed in the video playback interface, operation information of the scene editing operation is sent to the cloud server, where the operation information is used to instruct the first application to perform editing behavior corresponding to the scene editing operation on the virtual scene.

[0083] In an embodiment of the present application, when the first terminal receives a scene editing operation performed by the user in the video playback interface, it can report the operation information of the scene editing operation to the cloud server. For example, the above operation information may include operation coordinates, operation type, timestamp of the operation, and other information.

[0084] After receiving the operation information, the cloud server can use the operation information to trigger the first application to perform editing behavior corresponding to the scene editing operation on the virtual scene; for example, the cloud server can convert the operation information into operation information that can be recognized by the first application, and pass the converted operation information to the first application. The first application determines the editing instructions for the virtual scene based on the converted operation information, and then executes the editing of the virtual scene based on the editing instructions.

[0085] To sum up, based on the scheme shown in the embodiment of the present application, for a first application running in a second operating system environment by a cloud server and including a scene editing sub-interface for editing a virtual scene under the main interface, the first terminal running the first operating system environment can display the login interface of the first application. When the first terminal receives a login operation based on the login interface, the cloud server can log in to the first application through the first account corresponding to the login operation on the first terminal, and trigger the first application to enter the scene editing sub-interface. Afterwards, the first terminal can receive the first video stream corresponding to the scene editing sub-interface sent by the cloud server, and play the first video stream through the video playback interface. Subsequently, when the first terminal receives a scene editing operation performed in the video playback interface, it can send the operation information to the cloud server to instruct the first application running in the cloud server to perform editing actions corresponding to the scene editing operation on the virtual scene. Through the above scheme, the application including the scene editing sub-interface under the main interface is placed in the second operating system environment of the cloud to run, and the terminal running the first operating system environment can display the login interface of the application. When the user initiates a login operation from the terminal side, the cloud can log in to the application through the account corresponding to the login operation, and trigger the application to enter the scene editing sub-interface, and push the video stream of the scene editing sub-interface to the terminal for playback. The user can trigger the cloud application to edit the virtual scene through the editing operation in the video playback interface on the terminal side. On the one hand, when the second operating system environment running the above-mentioned application is the operating system environment corresponding to the mobile terminal, the virtual scene can be edited through the first operating system environment outside the second operating system environment (such as the operating system environment running on a personal computer), so that the editing operation of the virtual scene is no longer limited to the mobile terminal. On the other hand, the user only needs to perform a login operation on the terminal side, that is, to trigger the cloud to log in to the application and enter the scene editing sub-interface. The user does not need to perform additional operation steps from the main interface of the application to enter the scene editing sub-interface, which simplifies the user operation process. Based on the above two aspects, the solution provided in the embodiment of the present application can greatly improve the interaction efficiency between the user and the application when editing the virtual scene, thereby improving the editing efficiency of the virtual scene.

[0086] Please refer to Figure 3 , which shows a flowchart of a virtual scene editing method provided by an exemplary embodiment of the present application. The method is executed by a cloud server, which can be Figure 1 The server 20 in the system shown. Figure 3 As shown, the method may include the following steps.

[0087] Step 310: In response to a login operation based on the login interface, log in to the first application through the first account; the login interface is displayed by the first terminal, and the operating system environment of the first terminal is the first operating system environment; the first application is run by the cloud server in the second operating system environment, and the first operating system environment is different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit the virtual scene; the first account is the account corresponding to the login operation.

[0088] Step 320: Trigger the first application to enter the scene editing sub-interface.

[0089] In an embodiment of the present application, after the cloud server logs in to the first application through the first account, it can directly trigger the first application to enter the scene editing sub-interface without the user performing additional operations.

[0090] Step 330: Send the first video stream corresponding to the scene editing sub-interface to the first terminal, so that the first terminal plays the first video stream in the video playing interface.

[0091] Step 340: Receive operation information of a scene editing operation sent by the first terminal; the scene editing operation is an operation received by the first terminal and executed in the video playback interface.

[0092] Step 350: Based on the operation information, trigger the first application to perform an editing behavior corresponding to the scene editing operation on the virtual scene.

[0093] Based on the above Figure 2 and Figure 3 For the scheme shown, please refer to Figure 4 , which shows a flowchart of a virtual scene editing method provided by an exemplary embodiment of the present application. The method is interactively executed by a first terminal and a cloud server. Optionally, the first terminal can be Figure 1 In the terminal device 10 of the system shown, the cloud server can be Figure 1 The server 20 in the system shown. Figure 3 As shown, the method may include the following steps.

[0094] Step 410: The first terminal displays a login interface of the first application.

[0095] Among them, the above-mentioned first application is an application running by a cloud server in a second operating system environment, and the first operating system environment is different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit the virtual scene.

[0096] In a possible implementation, the main interface of the first application further includes a scene running sub-interface.

[0097] The scene running sub-interface may be an interface that displays a scene image of the running virtual scene when the first application runs the virtual scene.

[0098] In an embodiment of the present application, the above-mentioned first application can be installed and run in any device corresponding to the second operating system environment; for example, in addition to being installed and run in a cloud server, the above-mentioned first application can also be installed and run in a mobile terminal corresponding to the second operating system environment. For example, a user can use the first application through a mobile terminal to run a virtual scene and control virtual objects to perform activities in the virtual scene.

[0099] Optionally, the installation package of the first application installed and run in the cloud server may be different from the installation package of the first application installed and run in the mobile terminal; for example, the installation package of the first application installed and run in the mobile terminal may include the complete resources of the first application, for example, in addition to the resources corresponding to the scene editing sub-page, it also includes resources corresponding to other pages; and the installation package of the first application installed and run in the cloud server may only include the resources corresponding to the scene editing sub-page, and not include resources corresponding to other pages; in this way, the cloud server can save memory resources when installing and running the first application.

[0100] In an embodiment of the present application, when a user uses the first terminal, the login interface of the first application can be opened and displayed through the first terminal. The login interface can include a login entrance of the first application, and the user can initiate a login operation from the login entrance through the first account.

[0101] For example, users can initiate login operations from the login entrance by scanning a code, entering an account number and password, etc.

[0102] Step 420: In response to the login operation based on the login interface, the cloud server logs in to the first application through the first account.

[0103] In an embodiment of the present application, after the user initiates a login operation from the login entrance of the login interface through the first account, the cloud server can obtain information related to the first account, for example, the cloud server can obtain the first account and password, or obtain the ticket information corresponding to the first account in the first application. Then, the cloud server can log in to the first application through the information related to the first account.

[0104] For example, please refer to Figure 5, which shows a schematic diagram of a login interface involved in an embodiment of the present application. Figure 5 As shown, the login interface 510 displayed on the screen of the first terminal (such as a PC) may include a login entry 512 , and the user may initiate login by triggering the login entry 512 .

[0105] Step 430: The cloud server triggers the first application to enter the scene editing sub-interface.

[0106] In an embodiment of the present application, after the cloud server successfully logs in to the first application through the first account, it can directly trigger the first application to enter the scene editing sub-interface. During this process, the user does not need to perform the operation of entering the scene editing sub-interface from the main interface of the first application.

[0107] Step 440: The cloud server sends a first video stream corresponding to the scene editing sub-interface to the first terminal; accordingly, the first terminal receives the first video stream.

[0108] In an embodiment of the present application, after triggering the first application to enter the scene editing sub-interface, the cloud server can capture the screen of the scene editing sub-interface, generate a corresponding first video stream, and then send the first video stream to the first terminal.

[0109] Step 450: The first terminal plays the first video stream in the video playback interface.

[0110] When the first terminal receives the first video stream, it can play the first video stream through the video playback interface, that is, the screen of the playback scene editing sub-interface.

[0111] For example, please refer to Figure 6 , which shows a schematic diagram of a scene editing sub-interface involved in an embodiment of the present application. Figure 6 As shown, after receiving the first video stream, the first terminal can play the real-time video screen of the scene editing sub-interface in the application running in the cloud through the video playback interface 610.

[0112] Step 460: In response to receiving the scene editing operation performed in the video playback interface, the first terminal sends operation information of the scene editing operation to the cloud server; accordingly, the cloud server receives the operation information.

[0113] In an embodiment of the present application, the user can perform scene editing operations in the video playback interface, such as triggering controls in the scene editing sub-interface, operating elements in the virtual scene displayed in the scene editing sub-interface, and so on.

[0114] Among them, the above-mentioned scene editing operation can be an operation supported by the input and output interface of the first terminal. For example, when the above-mentioned first terminal is externally connected to a keyboard and a mouse (for example, the first terminal is a PC), the scene editing operation may include mouse operation and keyboard key operation, etc.; for example, when the display screen of the above-mentioned first terminal supports touch operation (for example, the first terminal is a tablet computer), the scene editing operation may include finger touch operation, touch operation of a stylus, etc.

[0115] For example, Figure 6 As shown, the user can trigger the scene open control 612 in the displayed scene editing sub-interface in the video playback interface to open an existing virtual scene, or trigger the scene create control 614 in the displayed scene editing sub-interface to open a new virtual scene.

[0116] For example, please refer to Figure 7 , which shows a schematic diagram of another scene editing sub-interface involved in an embodiment of the present application. After opening a virtual scene in the scene editing sub-interface, the user can operate the controls or elements in the scene editing sub-interface in the video playback interface to perform editing operations on the virtual scene. For example, the user can trigger the trigger operation of the mechanism control 712 to add the corresponding mechanism scene element to the virtual scene. For example, the user can drag the virtual object element 714 in the virtual scene to drag the virtual object element 714 to its position in the virtual scene, and so on.

[0117] After receiving the scene editing operation, the first terminal can send the operation information of the scene editing operation to the cloud server. The operation information can include the following information:

[0118] 1) Operation position; for example, the operation position may include the coordinates of the scene editing operation on the screen of the first terminal after being mapped to the mapping coordinates of the scene editing sub-interface;

[0119] 2) Operation type; for example, the operation type may indicate that the scene editing operation is a mouse click or long press operation, a keyboard key operation, a touch operation, etc.;

[0120] 3) Timestamp; for example, the timestamp may include the time when the scene editing operation occurs.

[0121] Step 470: Based on the operation information, the cloud server triggers the first application to perform an editing action corresponding to the scene editing operation on the virtual scene.

[0122] In one possible implementation, the cloud server can transmit the above-mentioned operation information to the first application. After receiving the operation information, the first application can convert the operation information into operation information corresponding to the operation that can be recognized by the first application, and then perform editing actions corresponding to the scene editing operation on the virtual scene based on the converted operation information.

[0123] For example, the above-mentioned conversion of the operation information into operation information corresponding to an operation recognizable by the first application may refer to converting the operation type in the above-mentioned operation information into an operation type corresponding to an operation recognizable by the first application.

[0124] For example, when the scene editing operation is performed by the user through the mouse or keyboard of the first terminal, the first application may convert the operation type corresponding to the keyboard or mouse operation into an operation type recognizable by the first application.

[0125] For example, a set of mouse or keyboard operation types can be set in the first application, and the corresponding relationship between the operation types that the first application can recognize. After the first application receives the operation information transmitted from the above-mentioned cloud server, it can query the above-mentioned corresponding relationship to determine the operation type that the first application can recognize corresponding to the scene editing operation.

[0126] Optionally, the correspondence between the above mouse or keyboard operation types and the operation types identifiable by the first application can be displayed by the first application. For example, please refer to Figure 8 , which shows an operation type correspondence display interface diagram involved in an embodiment of the present application; wherein, the first application or cloud server can superimpose an operation type correspondence display interface 810 in the above-mentioned scene editing sub-interface. In the operation type correspondence display interface 810, the left side displays the keyboard and mouse operation type 812 of the scene editing operation, and the right side displays the operation type 814 that can be recognized by the first application and corresponds to the keyboard and mouse operation type 812.

[0127] In another possible implementation of the embodiment of the present application, after receiving the operation information, the cloud server can convert the operation information into operation information corresponding to the operation that can be recognized by the first application.

[0128] For example, when the above-mentioned scene editing operation is performed by the user through the mouse or keyboard of the first terminal, the cloud server can convert the operation type corresponding to the keyboard or mouse operation into an operation type recognizable by the first application, and then pass the operation information after the operation type conversion to the first application.

[0129] That is to say, the correspondence between the above-mentioned mouse or keyboard operation types and the operation types recognizable by the first application can be set in the cloud server and located outside the first application.

[0130] Optionally, based on the above steps 410 to 470, the method may further include the following steps.

[0131] Step 480: In response to the first terminal receiving the scene running operation executed in the video playback interface, the cloud server triggers the first application to enter the scene running sub-interface and run the virtual scene in the scene editing sub-interface.

[0132] In an embodiment of the present application, when the main interface of the above-mentioned first application also includes a scene running sub-interface, when the user triggers the first application in the cloud server to execute the editing behavior of the virtual scene through the video playback interface displayed on the first terminal, the user can also directly trigger the cloud server to test run the edited virtual scene from the video playback interface.

[0133] Step 490: The cloud server sends a second video stream corresponding to the scene running sub-interface to the first terminal, and accordingly, the first terminal receives the second video stream.

[0134] For example, in response to the first terminal receiving a scene running operation executed in the video playback interface, the corresponding operation information can be sent to the cloud server. The cloud server passes the operation information to the first application. The first application recognizes that the operation corresponding to the operation information is the operation of running the currently edited virtual scene, and can switch to the scene running sub-interface to run the virtual scene. At this time, the cloud server collects the picture of the scene running sub-interface and generates a corresponding second video stream, and sends the generated second video stream to the first terminal.

[0135] For example, please refer to Figure 9 , which shows a schematic diagram of another scene editing sub-interface involved in an embodiment of the present application. After opening a virtual scene in the scene editing sub-interface, when a user edits the virtual scene in the scene editing sub-interface in the video playback interface, they can trigger the trial play control 912. At this time, the screen played in the video playback interface will be converted to the real-time screen of the scene running sub-interface. The user can continue to perform control operations based on the virtual scene in the video playback interface, such as controlling the movement of virtual objects in the virtual scene.

[0136] Step 4100: The first terminal plays the second video stream in the video playback interface.

[0137] In the process of the first terminal playing the second video stream in the video playback interface, the user can also perform control operations based on the video playback interface. At this time, the first terminal can upload the operation information corresponding to the control operation to the cloud server, and the cloud server will trigger the first application to perform the control behavior corresponding to the control operation in the virtual scene based on the operation information, such as controlling the virtual objects in the virtual scene to move.

[0138] For example, when the control operation is an operation performed by the user through the mouse or keyboard of the first terminal, the first application may convert the operation type corresponding to the keyboard or mouse operation into an operation type recognizable by the first application.

[0139] For example, please refer to Figure 10 , which shows another operation type correspondence display interface diagram involved in an embodiment of the present application; wherein, the first application or cloud server can superimpose the operation type correspondence display interface 1010 in the above-mentioned scene running sub-interface, and in the operation type correspondence display interface 1010, the left side displays the keyboard and mouse operation type 1012 of the virtual scene control operation, and the right side displays the operation type 1014 that can be recognized by the first application and corresponds to the keyboard and mouse operation type 1012.

[0140] Through the scheme shown in the above-mentioned embodiment of the present application, when the user edits the virtual scene through the scene editing sub-interface displayed in the video playback interface of the first terminal, it can also trigger the first application running in the cloud to switch to the scene running sub-interface and run the virtual scene. At the same time, the user can also control the virtual scene through the scene running sub-interface displayed on the first terminal, thereby improving the efficiency of the user's trial operation of the virtual scene during the process of editing the virtual scene based on the video playback interface.

[0141] Optionally, based on the above steps 410 to 470, after the user completes editing the virtual scene through the scene editing sub-interface displayed in the video playback interface of the first terminal, the user can also share the virtual scene with other users of the first application through the video playback interface.

[0142] For example, after the user completes editing the virtual scene through the scene editing sub-interface displayed in the video playback interface of the first terminal, the user can execute the trigger operation of sharing the virtual scene in the video playback interface of the first terminal, such as clicking the sharing control in the scene editing sub-interface based on the video playback interface. At this time, the first application can generate a link or image code for sharing the virtual scene. The user can share the link or image code for sharing the virtual scene to other terminals based on the video playback interface, and other terminals can use the first application installed in other terminals to run the virtual scene through the link or image code of the virtual scene.

[0143] Through the above solution, the user can run the virtual scene by installing and running the first application in a terminal (such as a mobile terminal such as a mobile phone) corresponding to the second operating system environment other than the first terminal, thereby realizing a trial run of the virtual scene, thereby improving the efficiency of the user's trial run of the virtual scene during the process of editing the virtual scene based on the video playback interface.

[0144] Alternatively, through the above solution, the user can also share the virtual scene being edited or after editing with other users' terminals so that other users' terminals can test run the virtual scene, thereby improving the efficiency of users sharing their own edited virtual scenes.

[0145] For example, please refer to Figure 11 , which shows the virtual scene sharing interface diagram involved in the embodiment of this application. Figure 11 As shown, after the virtual scene is edited, the user can trigger the first application to generate a sharing QR code 1101. The mobile client of the first application can scan the sharing QR code to trigger the mobile client to test run the virtual scene (such as a trial play of the virtual scene).

[0146] The shared QR code may contain a trial command. After the mobile client scans the shared QR code, it opens the virtual scene using the trial command in the shared QR code. The trial command can be: Adb shell am start-ncom.tencent.letsgo / com.tencent.letsgo.cloud.SchemeActivity-d{"mapid":"fdsfertfvcxvsfg","version":"1.2.2"}.

[0147] Among them, mapid is the unique ID of the virtual scene, and version is the modified version of the virtual scene.

[0148] Based on the solution shown in 4 above, please refer to Figure 12 , which shows a flowchart of a virtual scene editing method provided by an exemplary embodiment of the present application. In which, the above step 410 can be implemented as step 410a, and the above step 420 can be implemented as steps 420a to 420e.

[0149] Step 410a: The first terminal displays a login interface of the first application via a web page.

[0150] The first terminal may display the login interface of the first application program through a web page of a browser application.

[0151] Alternatively, the first terminal may also display the login interface of the first application through a web page in other applications. For example, a cloud gaming platform application may be installed in the first terminal, and the cloud gaming platform application may display the login interface of the first application through a web page.

[0152] Step 420a: The first terminal obtains first ticket information in response to a login operation based on the login interface; the first ticket information is ticket information corresponding to the web page of the first account.

[0153] In an embodiment of the present application, the first application may have its own login verification logic. At the same time, the web page displaying the login interface may also have its own login verification logic. In order to ensure the security of the first application, these two login verification logics may be different. Therefore, when the user performs a login operation based on the login interface through the first account, the ticket information corresponding to the web page of the first account can be obtained first through the login verification logic of the web page.

[0154] Among them, the above-mentioned ticket information may include an open ID (Open ID) and a token (Token). The ticket information can be generated through a first account. For example, the first account can be input into a pre-set ticket information generation algorithm, and the first ticket information is generated through the ticket information generation algorithm.

[0155] Step 420b: The first terminal sends a bill conversion request to the first backend server corresponding to the first application program, where the bill conversion request includes the first bill information.

[0156] In an embodiment of the present application, since the login verification logic of the web page is different from the login verification logic of the first application, the first ticket information cannot directly log in to the first application. At this time, the first terminal can send the first ticket information to the first backend server corresponding to the first application in exchange for ticket information that can log in to the first application from the first backend server.

[0157] Step 420c: The first terminal receives second ticket information obtained by the first backend server based on the first ticket information; the second ticket information is ticket information of the first account corresponding to the first application.

[0158] The first backend server may parse the first account according to the first ticket information, and then generate second ticket information corresponding to the first application program through the first account.

[0159] For example, the designated location in the first ticket information may include a first account number. The first backend server may extract the field in the designated location in the first ticket information as the first account number, and then generate the second ticket information based on the first account number. For example, the first backend server may input the first account number into another pre-set ticket information generation algorithm, and generate the second ticket information using the pre-set ticket information generation algorithm.

[0160] Step 420d: The first terminal sends a first login request to the cloud server. Correspondingly, the cloud server receives the first login request; the first login request includes the second ticket information.

[0161] The first login request is used to instruct the cloud server to log in to the first application through the second ticket information, and trigger the first application to enter the scene editing sub-interface.

[0162] In an embodiment of the present application, after the first terminal obtains the second ticket information, it can send the second ticket information to the cloud server through the first login request, so that the cloud server can log in to the first application through the second ticket information.

[0163] Step 420e: The cloud server logs into the first application using the second ticket information.

[0164] The first login request is used to instruct the cloud server to log in to the first application through the second ticket information, and trigger the first application to enter the scene editing sub-interface.

[0165] When the above-mentioned cloud server logs in to the first application through the second ticket information, it can send a second login request to the first background server corresponding to the first application. The second login request can carry the second ticket information. The first background server allows the cloud server to log in to the first application through the first account based on the second ticket information.

[0166] Through the scheme shown in the above-mentioned embodiment of the present application, when the first terminal displays the login interface of the first application through a web page, the first terminal can first obtain the ticket information of the web page corresponding to the first account, and then use the ticket information of the web page corresponding to the first account to exchange the ticket information of the first application corresponding to the first account from the background server of the first application, and send the ticket information of the first application corresponding to the first account to the cloud server, so that the cloud server can correctly log in to the first application, thereby ensuring the security of the login while ensuring that the login to the cloud server is successful.

[0167] In one possible implementation, the above-mentioned login interface may include a coded image; the above-mentioned step 420a may include: in response to the operation of the second terminal scanning the coded image through the second application, the first terminal receives the first ticket information sent by the second background server corresponding to the second application; the second application is the application logged in by the first account, and the first ticket information is generated by the second background server based on the first account.

[0168] The second application may be a communication application or a social application logged in with the first account.

[0169] For example, the above-mentioned coded image may include identification information of the web page (such as page ID, network address of the first terminal, etc.). After the second terminal scans the coded image through the second application, it can send the identification information of the web page and the first account to the second background server. After the second background server generates the first ticket information based on the first account, it sends the first ticket information to the web page according to the identification information of the web page, and the first terminal can receive the first ticket information.

[0170] For example, see Figure 13 , which shows a schematic diagram of a login interface involved in an embodiment of the present application. Figure 13 As shown, the login interface 1310 displayed on the screen of the first terminal (such as a PC) may include a login entry. The user can initiate a login by triggering the login entry. At this time, a coded image 1320 will be displayed. The user scans the coded image 1320 through a social application that logs in to the first account on the mobile phone, which can trigger the background server of the social application to provide the first ticket information to the first terminal.

[0171] In an embodiment of the present application, the user can scan the coded image in the login interface through the second application in the second terminal to trigger the cloud server to log in to the first application through the login interface, thereby simplifying user operations and improving login efficiency.

[0172] based on Figure 4 or Figure 12 For the example shown, please refer to Figure 14 , which shows a flowchart of a method for editing a virtual scene provided by an exemplary embodiment of the present application. In which, the above step 430 can be implemented as step 430a.

[0173] Step 430a: In response to the first application calling the designated interface, the cloud server transmits cloud environment indication information to the first application, so that the first application enters the scene editing sub-interface based on the cloud environment indication information.

[0174] In an embodiment of the present application, when the first application is running, it can obtain information about the current operating environment through a designated interface. At this time, the cloud server can transmit cloud environment indication information to the first application through the designated interface. The cloud environment indication information can indicate that the first application is currently running in the cloud environment. At this time, the first application determines that it is currently running in the cloud environment based on the cloud environment indication information, and directly enters the scene editing sub-interface. For example, it can skip the display of the main interface and directly display the scene editing sub-interface. For example, the first application obtains whether it is currently running in the cloud environment through the kTssSDKRequestCmdIdIsEmulator interface of the tsssdk security SDK, and if so, directly enters the scene editing sub-interface.

[0175] Through the solution shown in the above embodiments of the present application, the first application can automatically enter the scene editing sub-interface by detecting the current operating environment, without the need for other information interaction between the first terminal and the cloud server, which can simplify the implementation complexity of the first application entering the scene editing sub-interface.

[0176] Optionally, when the first application determines that it is currently running in a cloud environment, it can also block other entrances to exit the scene editing sub-interface and enter other interfaces in the first application, so that the entire effect looks like a pure editor application.

[0177] based on Figure 4 or Figure 12 For the example shown, please refer to Figure 15 , which shows a flowchart of a virtual scene editing method provided by an exemplary embodiment of the present application. The first login request also includes interface indication information, which is used to indicate the scene editing sub-interface; the above step 430 can be implemented as step 430b.

[0178] Step 430b: The cloud server transmits simulated operation information to the first application based on the interface indication information. The simulated operation information is operation information corresponding to the operation of entering the scene editing sub-interface from the main interface of the first application, so that the first application enters the scene editing sub-interface based on the transmitted simulated operation information.

[0179] In an embodiment of the present application, when the first terminal sends a first login request to the cloud server, it can carry interface indication information indicating the scene editing sub-interface in the first login request. After the cloud server logs in to the first application through the second ticket information, it can transmit to the first application, based on the interface indication information, the operation information corresponding to the operation of simulating the execution of entering the scene editing sub-interface from the main interface of the first application. After the first application receives the operation information, it can execute the logic of entering the scene editing sub-interface from the main interface of the first application according to the operation information, thereby entering the scene editing sub-interface.

[0180] Through the solution shown in the embodiment of the present application, the indication information of the sub-interface to be entered is carried in the first login request, so that the cloud server directly enters the corresponding sub-interface after logging into the first application, without the user performing additional operations. Through this solution, the solution can be expanded to support the direct display of multiple different sub-interfaces. Specifically, different sub-interfaces correspond to different login interfaces. The user can scan the code through the corresponding login interface to trigger the cloud game to directly display the corresponding sub-interface.

[0181] Based on the solution shown in the above embodiment of this application, login state penetration can be achieved. After scanning the code on the PC to complete the login authorization, you can log in to your own account. After successful login, you can use the keyboard + mouse method to create a virtual scene map on the PC. After the creation is completed, in order to restore the gaming experience on the mobile phone to the greatest extent, you can scan the code with the mobile client to enter the virtual scene and experience it.

[0182] For example, the first application is an editor APK (a file format used to install and distribute applications on the Android operating system), the cloud server is a cloud platform server, and the login interface is displayed through a PC browser. Figure 16 , which shows a schematic diagram of a cloud editor process involved in this application. Figure 16 As shown, the PC browser 1601 is the carrier for displaying and interacting with the solution. The PC browser 1601 will load a web page, which is supported and provided by the cloud platform 1602 corresponding to the cloud game. The editor APK 1603 deployed in the cloud is running on it, and the operations and pictures are transmitted through the video stream channel and command channel of the cloud game platform.

[0183] Among them, please refer to Figure 17 , which shows Figure 16 Schematic diagram of the login transparent transmission process in the solution shown. Figure 17As shown, when the entrance in the PC browser 1701 is clicked, the login component of the social application 1702 (i.e., the second application mentioned above) will be pulled up. After the login is completed, the PC-side ticket (OpenId and Token) will be obtained, that is, the first ticket information mentioned above. This ticket is only the ticket corresponding to the editor APK 1704 on the web page, not the game ticket, so it is impossible to log in to the game. You need to use the PC-side ticket to exchange for the game ticket (i.e., the second ticket information mentioned above) in the background before you can log in normally. After exchanging for the game ticket, it needs to be passed to the cloud game container running the editor APK 1704 through the transparent channel of the cloud platform 1703 corresponding to the cloud game, and the login process is triggered to the background 1705 of the game through the ADB command. The ADB command carries the login ticket (i.e., the ticket for the above game), which will skip the account and password input process and directly initiate a login request. The ADB command format can be: adbshell am start-n com.tencent.letsgo / com.tencent.letsgo.cloud.SchemeActivity-d{"openid":"j4k2la0fnvkx0skwhjg","token":"dsiaop3421pi238094392u1903","platid":"xx"}.

[0184] ADB is a command-line tool used to communicate and debug with Android devices. ADB provides a set of commands that can interact with Android devices during the development process, including installing and uninstalling applications, transferring files, executing shell commands, viewing logs, etc.

[0185] The above-mentioned OpenId is an open standard for verifying identity on the Internet. It allows users to use a unified identity to log in to different websites and applications without having to create and manage different accounts for each website.

[0186] The above-mentioned Token is a credential used for authentication and authorization. During the authentication process, the user provides credentials (usually a username and password), the server verifies the validity of the credentials, and generates a token (the above-mentioned Token) as the user's identity.

[0187] Optionally, during the compilation of the editor APK, developers can modify the build configuration file (DefaultGame.ini) and configure the resource directories not related to the editor under the DirectoriesToNeverCook property. This way, when the installation package is built, these directories will not be included in the package, which will greatly reduce the size of the editor APK installation package.

[0188] exist Figure 16 In the solution shown, developers can modify the engine configuration of the editor APK (DefaultEngine.ini) and turn on EnableHardwareKeyboard and EnableMouse. After turning on these settings, the system's keyboard and mouse events will be passed to the game (i.e., the editor APK). After receiving the corresponding events, the game can call the response method.

[0189] Please refer to Figure 18 , which shows a block diagram of a virtual scene editing device provided by an exemplary embodiment of the present application. Figure 18 As shown, the device includes:

[0190] Login interface display module 1801, configured to display a login interface for a first application; the first application is an application running on a cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first operating system environment is the operating system environment of the first terminal displaying the login interface;

[0191] A first video stream receiving module 1802 is configured to receive a first video stream corresponding to the scene editing sub-interface in response to a login operation based on the login interface; the first video stream is sent by the cloud server after logging into the first application using a first account and triggering the first application to enter the scene editing sub-interface; the first account is the account corresponding to the login operation;

[0192] A first playback module 1803 is configured to play the first video stream in a video playback interface;

[0193] The operation information sending module 1804 is used to send the operation information of the scene editing operation to the cloud server in response to receiving the scene editing operation performed in the video playback interface, and the operation information is used to instruct the first application to perform editing behavior corresponding to the scene editing operation on the virtual scene.

[0194] In some embodiments, the login interface display module 1801 is configured to display the login interface of the first application via a web page;

[0195] The first video stream receiving module 1802 is configured to:

[0196] In response to a login operation based on the login interface, obtaining first ticket information; the first ticket information is ticket information of the first account corresponding to the webpage;

[0197] Sending a bill conversion request to a first backend server corresponding to the first application, wherein the bill conversion request includes the first bill information;

[0198] Receiving second ticket information obtained by the first backend server based on the first ticket information; the second ticket information is ticket information of the first account corresponding to the first application;

[0199] Sending a first login request to the cloud server, wherein the first login request includes the second ticket information, and the first login request is used to instruct the cloud server to log in to the first application using the second ticket information and trigger the first application to enter the scene editing sub-interface;

[0200] Receive the first video stream sent by the cloud server.

[0201] In some embodiments, the first login request further includes interface indication information, and the interface indication information is used to indicate the scene editing sub-interface.

[0202] In some embodiments, the login interface includes a coded image;

[0203] The first video stream receiving module 1802 is used to receive the first ticket information sent by the second background server corresponding to the second application in response to the operation of the second terminal scanning the encoded image through the second application; the second application is the application logged in by the first account, and the first ticket information is generated by the second background server based on the first account.

[0204] In some embodiments, the main interface of the first application further includes a scene running sub-interface;

[0205] The device further comprises:

[0206] A second video stream receiving module is configured to receive a second video stream corresponding to the scene running sub-interface in response to receiving a scene running operation executed in the video playback interface; the second video stream is sent after the cloud server triggers the first application to enter the scene running sub-interface and run the virtual scene in the scene editing sub-interface;

[0207] The first playback module is configured to play the second video stream in the video playback interface.

[0208] Please refer to Figure 19 , which shows a block diagram of a virtual scene editing device provided by an exemplary embodiment of the present application. Figure 19 As shown, the device includes:

[0209] Program login module 1901 is configured to log in to a first application program using a first account in response to a login operation based on a login interface; the login interface is displayed by a first terminal, and the operating system environment of the first terminal is a first operating system environment; the first application program is run by the cloud server in a second operating system environment, and the first operating system environment is different from the second operating system environment; the main interface of the first application program includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first account is the account corresponding to the login operation;

[0210] A first triggering module 1902 is configured to trigger the first application to enter the scene editing sub-interface;

[0211] A first video stream sending module 1903 is configured to send the first video stream corresponding to the scene editing sub-interface to the first terminal, so that the first terminal plays the first video stream in the video playing interface;

[0212] The operation information receiving module 1904 is configured to receive operation information of a scene editing operation sent by the first terminal; the scene editing operation is an operation received by the first terminal and executed in the video playback interface;

[0213] The scene editing triggering module 1905 is configured to trigger the first application to perform an editing action corresponding to the scene editing operation on the virtual scene based on the operation information.

[0214] In some embodiments, the program login module 1901 is used to:

[0215] Receiving a first login request sent by the first terminal, wherein the first login request includes second ticket information; the second ticket information is ticket information of the first account corresponding to the first application;

[0216] Log in to the first application using the second ticket information.

[0217] In some embodiments, the first trigger module 1902 is used to transmit cloud environment indication information to the first application in response to the first application calling a specified interface, so that the first application enters the scene editing sub-interface based on the cloud environment indication information.

[0218] In some embodiments, the first login request also includes interface indication information, and the interface indication information is used to indicate the scene editing sub-interface; the first trigger module 1902 is used to transmit simulation operation information to the first application based on the interface indication information, and the simulation operation information is operation information corresponding to the operation of entering the scene editing sub-interface from the main interface of the first application, so that the first application enters the scene editing sub-interface based on the transmitted simulation operation information.

[0219] In some embodiments, the main interface of the first application further includes a scene running sub-interface;

[0220] The device further comprises:

[0221] a second triggering module, configured to trigger the first application to enter the scene running sub-interface and run the virtual scene in the scene editing sub-interface in response to the first terminal receiving a scene running operation executed in the video playback interface;

[0222] The second video stream sending module is used to send the second video stream corresponding to the scene running sub-interface to the first terminal, so that the first terminal plays the second video stream in the video playing interface.

[0223] It should be noted that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0224] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method; the technical effects achieved by each module performing operations are the same as the technical effects in the embodiment of the method, and will not be elaborated here.

[0225] Figure 20 The following is a block diagram of a computer device according to an exemplary embodiment of the present application. Computer device 2000 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), or MP4 player (Moving Picture Experts Group Audio Layer IV). Computer device 2000 may also be referred to as user equipment, portable terminal, or other similar names.

[0226] Typically, the computer device 2000 includes a processor 2001 and a memory 2002 .

[0227] The processor 2001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0228] The memory 2002 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 2002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one instruction, which is used to be executed by the processor 2001 to implement the virtual scene editing method provided in the embodiments of the present application.

[0229] In some embodiments, the computer device 2000 may further include a peripheral device interface 2003 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 2004 , a touch screen display 2005 , a camera 2006 , an audio circuit 2007 , and a power supply 2008 .

[0230] In some embodiments, the computer device 2000 further includes one or more sensors 2009 , including but not limited to: an acceleration sensor 2010 , a gyroscope sensor 2011 , a pressure sensor 2012 , an optical sensor 2013 , and a proximity sensor 2014 .

[0231] Those skilled in the art will appreciate that the structure shown above does not limit the computer device 2000 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.

[0232] In an exemplary embodiment, a chip is further provided. The chip includes a programmable logic circuit and / or program instructions. When the chip is run on a computer device, it is used to implement the virtual scene editing method described in the above aspects.

[0233] In an exemplary embodiment, a computer program product is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to implement the virtual scene editing methods provided in the above-described method embodiments.

[0234] In an exemplary embodiment, a computer-readable storage medium is further provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the virtual scene editing method provided by the above-mentioned method embodiments.

[0235] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0236] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0237] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for editing a virtual scene, characterized in that: The method is executed by a first terminal, where the operating system environment of the first terminal is a first operating system environment, and the method includes: Displaying a login interface for a first application; the first application is an application running on a cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; In response to a login operation based on the login interface, a first video stream corresponding to the scene editing sub-interface is received; the first video stream is sent by the cloud server after logging into the first application through a first account and triggering the first application to enter the scene editing sub-interface; the first account is the account corresponding to the login operation; Play the first video stream in the video playback interface; In response to receiving a scene editing operation performed in the video playback interface, operation information of the scene editing operation is sent to the cloud server, where the operation information is used to instruct the first application to perform an editing behavior corresponding to the scene editing operation on the virtual scene.

2. The method according to claim 1, characterized in that The displaying of the login interface of the first application includes: Displaying the login interface of the first application via a web page; The receiving, in response to a login operation based on the login interface, a first video stream corresponding to the scene editing sub-interface, comprises: In response to a login operation based on the login interface, obtaining first ticket information; the first ticket information is ticket information of the first account corresponding to the webpage; Sending a bill conversion request to a first backend server corresponding to the first application, wherein the bill conversion request includes the first bill information; Receiving second ticket information obtained by the first backend server based on the first ticket information; the second ticket information is ticket information of the first account corresponding to the first application; Sending a first login request to the cloud server, wherein the first login request includes the second ticket information, and the first login request is used to instruct the cloud server to log in to the first application using the second ticket information and trigger the first application to enter the scene editing sub-interface; Receive the first video stream sent by the cloud server.

3. The method according to claim 2, characterized in that The first login request also includes interface indication information, and the interface indication information is used to indicate the scene editing sub-interface.

4. The method according to claim 2, characterized in that The login interface includes a coded image; The obtaining of first ticket information in response to a login operation based on the login interface includes: In response to the operation of the second terminal scanning the coded image through the second application, the first ticket information sent by the second background server corresponding to the second application is received; the second application is the application logged in by the first account, and the first ticket information is generated by the second background server based on the first account.

5. The method according to any one of claims 1 to 4, characterized in that: The main interface of the first application also includes a scene running sub-interface; The method further comprises: In response to receiving a scene running operation executed in the video playback interface, receiving a second video stream corresponding to the scene running sub-interface; the second video stream is sent after the cloud server triggers the first application to enter the scene running sub-interface and run the virtual scene in the scene editing sub-interface; Play the second video stream in the video playback interface.

6. A method for editing a virtual scene, characterized in that: The method is executed by a cloud server and includes: In response to a login operation based on a login interface, a first application is logged in through a first account; the login interface is displayed by a first terminal, and the operating system environment of the first terminal is a first operating system environment; the first application is run by the cloud server in a second operating system environment, and the first operating system environment is different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first account is the account corresponding to the login operation; Triggering the first application to enter the scene editing sub-interface; Sending a first video stream corresponding to the scene editing sub-interface to the first terminal, so that the first terminal plays the first video stream in a video playback interface; receiving operation information of a scene editing operation sent by the first terminal; the scene editing operation is an operation received by the first terminal and performed in the video playback interface; Based on the operation information, the first application is triggered to perform an editing behavior corresponding to the scene editing operation on the virtual scene.

7. The method according to claim 6, characterized in that The step of logging into the first application program through the first account in response to a login operation based on the login interface includes: Receiving a first login request sent by the first terminal, wherein the first login request includes second ticket information; the second ticket information is ticket information of the first account corresponding to the first application; Log in to the first application using the second ticket information.

8. The method according to claim 6 or 7, characterized in that The triggering the first application to enter the scene editing sub-interface includes: In response to the first application calling a designated interface, cloud environment indication information is transmitted to the first application so that the first application enters the scene editing sub-interface based on the cloud environment indication information.

9. The method according to claim 6 or 7, characterized in that The first login request further includes interface indication information, where the interface indication information is used to indicate the scene editing sub-interface; The triggering the first application to enter the scene editing sub-interface includes: Based on the interface indication information, simulated operation information is transmitted to the first application, where the simulated operation information is operation information corresponding to the operation of entering the scene editing sub-interface from the main interface of the first application, so that the first application enters the scene editing sub-interface based on the transmitted simulated operation information.

10. The method according to claim 6 or 7, characterized in that The main interface of the first application also includes a scene running sub-interface; The method further comprises: In response to the first terminal receiving a scene running operation executed in the video playback interface, triggering the first application to enter the scene running sub-interface and run the virtual scene in the scene editing sub-interface; The second video stream corresponding to the scene running sub-interface is sent to the first terminal so that the first terminal plays the second video stream in the video playing interface.

11. A virtual scene editing device, characterized in that: The device comprises: A login interface display module, configured to display a login interface for a first application; the first application is an application running on a cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first operating system environment is the operating system environment of the first terminal displaying the login interface; a first video stream receiving module configured to receive a first video stream corresponding to the scene editing sub-interface in response to a login operation based on the login interface; the first video stream is sent by the cloud server after logging into the first application using a first account and triggering the first application to enter the scene editing sub-interface; the first account is the account corresponding to the login operation; A first playback module, configured to play the first video stream in a video playback interface; An operation information sending module is used to send operation information of the scene editing operation to the cloud server in response to receiving a scene editing operation performed in the video playback interface, wherein the operation information is used to instruct the first application to perform editing behavior corresponding to the scene editing operation on the virtual scene.

12. A virtual scene editing device, characterized in that: The device comprises: A program login module, configured to log in to a first application program using a first account in response to a login operation based on a login interface; the login interface is displayed by a first terminal, the operating system environment of the first terminal being a first operating system environment; the first application program is run by the cloud server in a second operating system environment, the first operating system environment being different from the second operating system environment; the main interface of the first application program includes a scene editing sub-interface; the scene editing sub-interface is used to edit a virtual scene; the first account is the account corresponding to the login operation; A first triggering module, configured to trigger the first application to enter the scene editing sub-interface; A first video stream sending module, configured to send the first video stream corresponding to the scene editing sub-interface to the first terminal, so that the first terminal plays the first video stream in the video playing interface; an operation information receiving module, configured to receive operation information of a scene editing operation sent by the first terminal; the scene editing operation is an operation received by the first terminal and executed in the video playback interface; A scene editing triggering module is used to trigger the first application to perform an editing behavior corresponding to the scene editing operation on the virtual scene based on the operation information.

13. A computer device, characterized in that: The computer device includes: a processor and a memory, wherein the memory stores at least one program; the processor is configured to execute the at least one program in the memory to implement the virtual scene editing method according to any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that The readable storage medium stores executable instructions, which are loaded and executed by a processor to implement the virtual scene editing method according to any one of claims 1 to 10.

15. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the virtual scene editing method according to any one of claims 1 to 10.