Interaction method, device and equipment for virtual scene and storage medium
By preloading virtual scene resources and displaying camera movement animations when the user selects a scene, the problem of loading wait time during virtual scene switching is solved, resulting in more efficient scene loading and a smoother user experience.
Patent Information
- Application Number
- CN202411643903.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-11-15
AI Technical Summary
In existing technologies, users need to wait for scene data to load during virtual scene switching, which affects the interactive experience.
By preloading virtual scene resources, scene data associated with multiple interactive entry points is preloaded, and camera animations are displayed when the user makes a selection to achieve smooth scene transitions.
It improves the loading efficiency of virtual scenes and the user interaction experience, reduces waiting time, and provides smoother screen transitions.
Smart Images

Figure CN119587985B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, apparatus, device and computer readable storage medium for interaction of virtual scenes. BACKGROUND
[0002] With the development of network technology, people have been able to interact with various types of virtual scenes. For example, in a virtual scene of a game, a player can interact with other objects (e.g., non-player characters or other player characters) in the virtual scene. However, virtual scenes usually involve loading and rendering of a large number of graphical elements, and how to improve the loading efficiency of virtual scenes is the focus of attention. SUMMARY
[0003] In a first aspect of the present disclosure, a method for interaction of virtual scenes is provided. The method comprises: in response to a start instruction of an application, loading scene data associated with a first virtual scene; displaying an interaction interface of the application, the interaction interface providing a plurality of interaction entrances associated with different virtual scenes, wherein the interaction interface displays a first image of the first virtual scene, the first image being rendered based on the scene data; and in response to receiving a selection of a first interaction entrance of the plurality of interaction entrances, displaying a dissolve animation from the first image of the first virtual scene to a second image of the first virtual scene based on the scene data, wherein the first interaction entrance corresponds to the first virtual scene.
[0004] In a second aspect of the present disclosure, an apparatus for interaction of virtual scenes is provided. The apparatus comprises: a resource preloading module configured to load, in response to a start instruction of an application, scene data associated with a first virtual scene from a first service device; an interaction module configured to display an interaction interface of the application, the interaction interface providing a plurality of interaction entrances associated with different virtual scenes, wherein the interaction interface displays a first image of the first virtual scene, the first image being rendered based on the loaded scene data; and a virtual scene entering module configured to, in response to receiving a selection of a first interaction entrance of the plurality of interaction entrances, display a dissolve animation from the first image of the first virtual scene to a second image of the first virtual scene based on the scene data, wherein the first interaction entrance corresponds to the first virtual scene.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon a computer program, which is executable by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this part is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0008] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail some embodiments thereof with reference to the annexed drawings in which:
[0009] FIG. 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented is shown;
[0010] FIG. 2 A schematic diagram showing a virtual interaction system according to some embodiments of the present disclosure is shown;
[0011] FIGS. 3A-3C A schematic diagram showing an interaction interface for a virtual scene according to some embodiments of the present disclosure is shown.
[0012] FIG. 4 A flowchart showing a process of generating an image according to some embodiments of the present disclosure is shown.
[0013] FIG. 5 A block diagram showing an apparatus for generating an image according to some embodiments of the present disclosure is shown; and
[0014] FIG. 6 A block diagram showing an electronic device capable of implementing a plurality of embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0015] It can be understood that, before using the technical solutions disclosed by the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the scope of use, the scenario of use, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means in accordance with relevant laws and regulations.
[0016] For example, in response to receiving a user's active request, a prompt message is sent to the user to explicitly prompt the user that the operation requested to be performed will require the acquisition and use of the user's personal information. Thus, the user can voluntarily choose whether to provide personal information to the electronic device, application program, server or storage medium, etc. software or hardware that performs the operation of the technical solutions of the present disclosure according to the prompt message.
[0017] As an optional but non-limiting implementation, in response to receiving the active request of the user, the manner of sending the prompt information to the user may be, for example, a pop-up window manner, in which the prompt information may be presented in the form of text. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0018] It can be understood that the above notification and user authorization obtaining process is only illustrative, and does not limit the implementation of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0019] It can be understood that the data involved in the technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the relevant laws and regulations and the relevant provisions.
[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the scope of protection of the present disclosure.
[0021] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. Furthermore, embodiments described in any section / subsection can be combined with any other embodiment described in the same section / subsection and / or a different section / subsection in any manner.
[0022] In this document, unless explicitly stated otherwise, performing a step "in response to A" does not mean that the step is performed immediately after A, but can include one or more intermediate steps.
[0023] In the description of embodiments of the present disclosure, the term "comprising" and similar terms are to be understood as open-ended, i.e., "including but not limited to". The term "based on" is to be understood as "based at least in part on". The term "one embodiment" or "the embodiment" is to be understood as "at least one embodiment". The term "some embodiments" is to be understood as "at least some embodiments". Other explicit and implicit definitions can also be included below. The terms "first", "second", etc. can refer to different or the same objects. Other explicit and implicit definitions can also be included below.
[0024] In some scenarios, an integrated portal associated with multiple different virtual scenes can be provided. Taking a game scene as an example, multiple different game portals can be provided through a game lobby. Different game portals can lead to different virtual scenes served by different servers. For example, a user can select a certain game and trigger a connection to a corresponding game server to load a corresponding virtual scene.
[0025] During loading of such a virtual scene, a client needs to connect to a corresponding server according to a virtual scene selected by a user and load corresponding scene data (e.g., scene resources for rendering). This causes the user to wait for loading of scene data during such a switching process, thereby affecting the user’s interactive experience.
[0026] Embodiments of the present disclosure provide an interactive scheme for a virtual scene. According to the scheme, scene data associated with a first virtual scene can be loaded from a first service device in response to a start instruction of an application. Further, an interactive interface of the application can be displayed, the interactive interface providing multiple interactive portals associated with different virtual scenes, wherein the interactive interface displays a first image of the first virtual scene, the first image being rendered based on the loaded scene data. Accordingly, in response to receiving a selection of a first interactive portal of the multiple interactive portals, a crossfade animation from the first image of the first virtual scene to a second image of the first virtual scene can be displayed based on the scene data, wherein the first interactive portal corresponds to the first virtual scene.
[0027] Thus, embodiments of the present disclosure can load resources of a related virtual scene in advance during loading of an interactive interface providing multiple interactive portals, thereby improving loading efficiency of a virtual scene. In addition, by preloading scene data of a virtual scene, embodiments of the present disclosure can also achieve smooth transition of a picture and improve the user’s interactive experience.
[0028] Example Environment
[0029] FIG. 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. As shown, the example environment 100 can include an electronic device 110. FIG. 1
[0030] In this example environment 100, the electronic device 110 can run an application 120 that supports virtual scene interaction. The application 120 can be any suitable type of application that supports virtual scene interaction, examples of which can include, but are not limited to, a simulation application, a simulation application, a game application, and other suitable types of applications, embodiments of the present disclosure are not limited in this respect. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0031] In FIG. 1 In the environment 100, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting virtual scene interaction through the application 120.
[0032] In some embodiments, the electronic device 110 communicates with the server 130 to implement the provisioning of services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) device, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface to the user (such as "wearable" circuitry, etc.).
[0033] The server 130 can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 can provide background services for the application 120 supporting content presentation in the electronic device 110.
[0034] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0035] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0036] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0037] Example System
[0038] FIG. 2 An example interactive system 200 according to some embodiments of the present disclosure is shown. For example... FIG. 2 As shown, system 200 can be associated with multiple service devices, such as service device A 210 and service device B 220.
[0039] In some embodiments, service device A 210 and service device B 220 can be configured to provide different virtual scenes, such as virtual scene 214 and virtual scene 222. Taking a game scene as an example of a virtual scene, service device A 210 and service device B 220 can, for example, correspond to game servers that provide different games.
[0040] like FIG. 2 As shown, unlike traditional interactive interfaces that utilize a separate server to provide multiple interactive entry points (e.g., a game lobby), the service device A 210 providing virtual scene 214 can be configured to provide this interactive interface. This interactive interface may include interactive entry points corresponding to different virtual scenes. For example, the interactive interface may include interactive entry point 212 corresponding to virtual scene 214 and interactive entry point 216 corresponding to virtual scene 222.
[0041] The following will be further combined FIGS. 3A-3C This section describes in detail the loading and interaction process of the interactive interface. FIG. 3A An example interactive interface 300A according to some embodiments of the present disclosure is shown.
[0042] like FIG. 3A As shown, the interactive interface 300A can be, for example, a game lobby interface, which can provide interactive entry points corresponding to multiple interactive scenes. As an example, the interactive interface 300A can switch between different virtual scenes using tabs. For example, the currently displayed interface of the interactive interface 300A is the tab corresponding to the first interactive scene 305 (e.g., the main game). The user can also switch to the second interactive scene 310 (e.g., mini-games) by clicking the tab corresponding to that scene.
[0043] For reference FIG. 2As described, the interface 300A can be provided by a service device providing the first interactive scene 305 (i.e., a main game). To improve the loading efficiency of the first interactive scene 305, upon receiving the start instruction of the application 120, the electronic device 110 can load the scene data associated with the first virtual scene from the first service device.
[0044] Further, the electronic device 110 can display the interactive interface 300A of the application 120, and can render the first image 315 of the first virtual scene in the interactive interface 300A based on the preloaded scene data. In some embodiments, the first image 315 is in a non-interactive state.
[0045] As shown, the first interactive scene 305 can be associated with a virtual city scene, for example, and the electronic device 110 can load the scene data of the virtual city scene to render and display the image 315 of the virtual city scene based on the preloaded scene data. FIG. 3A
[0046] Additionally, as shown, the interactive interface 300A can also provide an interactive entry 320 associated with the first interactive scene 305. Taking a game scene as an example, the interactive entry 320 can be used to enter the game interface of the game, for example. FIG. 3A
[0047] In some embodiments, the electronic device 110 can receive a user selection of the interactive entry 320 to trigger the display of a scene interaction page of the first interactive scene 305, e.g., a game interface. To improve the continuity of the picture transition, as shown, the electronic device 110 can also display a wipe animation (also referred to as a transition animation) from the first image 315 of the first virtual scene to the second image 325 of the first virtual scene based on the preloaded scene data. FIG. 3B
[0048] As shown, after displaying the interactive interface 330A, the electronic device 110 can continue to load additional scene data of the first virtual scene. Specifically, the electronic device 110 can receive a user selection of the interactive entry 320, render and display a first part of the wipe animation in the interactive interface 300A based on the additional scene data. During the display of the first part of the wipe animation in the interactive interface 300A, the electronic device 110 can continue to load the additional scene data, and then render a second part of the wipe animation according to the loaded additional scene data. FIG. 3A
[0049] In some embodiments, during the display of the second part of the wipe animation, the electronic device 110 continues to load additional scene data. Then, the electronic device 110 generates a new wipe animation as a subsequent part of the new wipe animation based on the additional scene data.
[0050] In some embodiments, the dolly animation can be generated based on the motion of the virtual camera associated with the first virtual scene. Specifically, the electronic device 110 can determine a target motion of the virtual camera associated with the first virtual scene. In some embodiments, the target motion of the virtual camera can be determined based on pre-set dolly parameters (e.g., distance from the center of the shot, angle of the shot).
[0051] Further, the electronic device 110 can generate a dolly animation corresponding to the target motion based on the scene data. Specifically, the electronic device 110 can move the virtual camera according to the determined dolly parameters, thereby generating a dolly animation corresponding to the target motion of the virtual camera.
[0052] As shown in FIG. 3A, the first image 315 of the first virtual scene can correspond to a first perspective in the first virtual scene, for example. FIG. 3A As shown in FIG. 3B, the electronic device 110 can switch to display a second image 325 of the first virtual scene by changing the perspective, as shown in FIG. 3C. The second image 325 can correspond to a second perspective different from the first perspective, for example. FIG. 3B As shown in FIG. 3B, the electronic device 110 can switch to display a second image 325 of the first virtual scene by changing the perspective, as shown in FIG. 3C. The second image 325 can correspond to a second perspective different from the first perspective, for example. FIG. 3B As shown in FIG. 3B, the electronic device 110 can switch to display a second image 325 of the first virtual scene by changing the perspective, as shown in FIG. 3C. The second image 325 can correspond to a second perspective different from the first perspective, for example.
[0053] FIG. 3B An example interactive page 300B (also referred to as the first interactive page) of the first interactive scene is shown, in accordance with some embodiments of the present disclosure. The interactive page 300B can be a game interface of a main game, for example. Unlike the interactive interface 300A, the interactive page can display at least one interactive object in the first virtual scene to support the interaction between the user and the first virtual scene.
[0054] As an example, in the interactive page 300B, the electronic device 110 can display the second image 325 of the first virtual scene, and can provide one or more interactive controls associated with the first virtual scene to perform an interaction related to the first virtual scene, for example. As an example, the first image 315 is a static rendered image, and the second image 325 can correspond to a virtual object that supports interaction, such as a building, a character, or the like. The second image 325 can dynamically change according to the interactive operation of the user, for example.
[0055] In some embodiments, the at least one interactive object displayed in the interactive page 300B is determined based on the historical interaction information of the current user with respect to the first virtual interactive scene. For example, the interactive page 300B can display the building in which the user was last time when the user exited the first virtual interactive scene.
[0056] As an example, the electronic device 110 can display the virtual character corresponding to the current user in the first virtual scene in the interactive page 300B, and can provide related controls for operating the virtual character or configuring the virtual character, etc.
[0057] In some embodiments, the electronic device 110 can also receive a request to exit the interactive page 300B. For example, the electronic device 110 can receive a selection of the exit control 335 by the user. Accordingly, as shown in FIG. 3C , the electronic device 110 can be redirected to the interactive interface 300C (e.g., a game lobby) to display a plurality of interactive entrances (e.g., an interactive entrance 320 into the second interactive scene 310, etc.) and disable the interaction of the first virtual scene in the interactive interface 300C.
[0058] In some embodiments, as shown in FIG. 3C , the electronic device 110 displays a third image of the first virtual scene in the interactive interface 300C, for example. The third image may, for example, be determined based on the latest interaction state of the user in the first virtual scene.
[0059] For example, when the user controls the virtual character to move to a preset position in the first virtual scene and requests to exit the interactive page 300B, the electronic device 110 may, for example, display a third image corresponding to the preset position in the first virtual scene. That is, the perspective of the virtual scene corresponding to the third image can be different from the perspective corresponding to the first image as shown in FIG. 3A . In this way, the embodiments of the present disclosure can help the user to better perceive the latest interaction state in the first virtual scene, and improve the fluency of the picture switching when the user re-interacts with the first virtual scene.
[0060] In some embodiments, the electronic device 110 retains the state data of the virtual object in the first virtual scene, such as the task progress of the game character, etc. The state data of the user in the first virtual scene can be retained before the user selects to exit the application 120 or connects to other service devices.
[0061] In some embodiments, as shown in FIG. 3AAs shown, the electronic device 110 can also support the user to interact with other virtual scenes via the interactive interface 300A. As an example, the electronic device 110 can directly enter into the corresponding virtual scene by clicking the label “Mini-game”, for example. As another example, the electronic device 110 can also present a plurality of candidate virtual scenes by clicking the label “Mini-game”, for example. The user can further select a specific virtual scene to interact with. The electronic device 110 can obtain the base data of the mini-game from the service device B to present the plurality of candidate virtual scenes. The base data can be, for example, the game cover, the game name, and the game introduction, and the like.
[0062] As an example, the electronic device 110 can receive the user’s selection of the interactive entry associated with another virtual scene, and can connect to the service device corresponding to the virtual scene. In this case, the electronic device 110 can receive the scene data of the virtual scene from the service device, and display the interactive page of the virtual scene based on the loaded scene data. FIG. 2 As an example, the electronic device 110 can receive the user’s selection of the entry 216, so as to switch from the currently connected service device A 210 to the service device B 220.
[0063] Accordingly, the electronic device 110 can receive the new scene data from the service device, and display the interactive page (also referred to as the second interactive page) of the virtual scene based on the loaded scene data. Taking the mini-game as an example, the electronic device 110 can obtain the scene data of the mini-game from the corresponding service device (different from the service device of the main game), and accordingly provide the game interface of the mini-game.
[0064] Thus, the embodiments of the present disclosure can load the resources of the related virtual scene in advance during the loading of the interactive interface providing the multiple interactive entries, so as to improve the loading efficiency of the virtual scene. In addition, by preloading the scene data of the virtual scene, the embodiments of the present disclosure can also realize the smooth transition of the picture, and improve the user’s interactive experience.
[0065] Example Process
[0066] FIG. 4 A flowchart illustrating a process 400 for generating an image is shown, in accordance with some embodiments of the present disclosure. The process 400 can be implemented at the electronic device 110.
[0067] At block 410, the electronic device 110 loads scene data associated with a first virtual scene in response to a launch instruction of an application 120.
[0068] At block 420, the electronic device 110 subsequently displays an interactive interface of the application 120. The interactive interface provides a plurality of interactive entries associated with different virtual scenes, wherein the interactive interface displays a first image of the first virtual scene, the first image being rendered based on the scene data.
[0069] At block 430, the electronic device 110 displays, in response to receiving the selection of the first interactive portal of the plurality of interactive portals, a first interactive page of the first virtual scene, the first interactive page displaying at least one interactive object in the first virtual scene, the at least one interactive object rendered based on at least the scene data, wherein the first interactive portal corresponds to the first virtual scene.
[0070] In some embodiments, displaying the dolly animation from the first image of the first virtual scene to the second image of the first virtual scene includes determining a target motion of a virtual camera associated with the first virtual scene, and generating, based on the scene data, the dolly animation corresponding to the target motion.
[0071] In some embodiments, displaying the dolly animation from the first image of the first virtual scene to the second image of the first virtual scene includes rendering a first portion of the dolly animation based on the scene data, loading additional scene data during displaying the first portion of the dolly animation, and rendering a second portion of the dolly animation based on at least the additional scene data to display the second portion of the dolly animation in the interactive interface.
[0072] In some embodiments, the method 400 further includes redirecting, by the first service device, to the interactive interface to display the plurality of interactive portals and disable the interaction of the first virtual scene in the interactive interface in response to receiving the request to exit the first interactive page.
[0073] In some embodiments, the method 400 further includes loading the scene data from a first service device corresponding to the first virtual scene.
[0074] In some embodiments, the at least one interactive object is determined based on historical interaction information of the current user with respect to the first virtual interactive scene.
[0075] In some embodiments, the plurality of interactive portals further includes a second interactive portal associated with a second virtual scene, wherein the scene data is first scene data, the method 400 further includes loading, by the first service device, second scene data from a second service device corresponding to the second virtual scene in response to receiving a selection of the second interactive portal, and displaying, based on the second scene data, a second interactive page of the second virtual scene.
[0076] In some embodiments, the method 400 further includes that the plurality of interactive portals are associated with virtual scene services provided by different service devices.
[0077] Example Devices and Apparatus
[0078] FIG. 5A schematic structural block diagram of an apparatus 500 for generating images according to certain embodiments of the present disclosure is shown. The apparatus 500 can be implemented as or included in the first service device 220. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.
[0079] As shown, the apparatus 500 includes a resource preloading module 510 configured to load scene data associated with a first virtual scene in response to a start instruction of an application; an interaction module 520 configured to display an interaction interface of the application 120, the interaction interface providing a plurality of interaction entrances associated with different virtual scenes, wherein the interaction interface displays a first image of the first virtual scene, the first image being rendered based on the scene data; and a virtual scene entering module 530 configured to display a first interaction page of the first virtual scene in response to receiving a selection of a first interaction entrance of the plurality of interaction entrances, the first interaction page displaying at least one interaction object in the first virtual scene, the at least one interaction object being rendered based on at least the scene data, wherein the first interaction entrance corresponds to the first virtual scene.
[0080] In some embodiments, the virtual scene entering module 530 is further configured to display a dolly animation from the first image of the first virtual scene to a second image of the first virtual scene in response to receiving the selection of the first interaction entrance.
[0081] In some embodiments, the virtual scene entering module 530 is further configured to determine a target motion of a virtual camera associated with the first virtual scene; and generate a dolly animation corresponding to the target motion based on the scene data.
[0082] In some embodiments, the virtual scene entering module 530 is further configured to render a first part of the dolly animation based on the scene data; load additional scene data in a process of displaying the first part of the dolly animation; and render a second part of the dolly animation based on at least the additional scene data to display the second part of the dolly animation in the interaction interface.
[0083] In some embodiments, the interaction module 520 is further configured to redirect to the interaction interface to display the plurality of interaction entrances and disable the interaction of the first virtual scene in the interaction interface in response to receiving a request to exit the first interaction page.
[0084] In some embodiments, the apparatus 500 further includes a data loading module configured to load the scene data from a first service device corresponding to the first virtual scene.
[0085] In some embodiments, the at least one interaction object is determined based on historical interaction information of a current user with respect to the first virtual interaction scene.
[0086] In some embodiments, the virtual scene entering module 530 is further configured to, in response to receiving the selection of the second interactive portal, load the second scene data from a second service device corresponding to the second virtual scene.
[0087] In some embodiments, the interaction module 520 is further configured to display a second interactive page of the second virtual scene based on the second scene data.
[0088] FIG. 6 A block diagram illustrating an electronic device 600 in which one or more embodiments of the disclosure can be implemented is shown. It should be understood that FIG. 6 The electronic device 600 shown is merely exemplary and should not be construed as limiting the scope of the embodiments described herein. FIG. 6 The electronic device 600 shown can be used to implement FIG. 1 the electronic device 110.
[0089] As FIG. 6 shown, the electronic device 600 is in the form of a general electronic device. Components of the electronic device 600 can include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 can be a real or virtual processor and capable of executing various processing in accordance with programs stored in the memory 620. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve parallel processing capability of the electronic device 600.
[0090] The electronic device 600 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 600 and includes both volatile and non-volatile media, removable and non-removable media. The memory 620 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 can be a removable or non-removable media and can include machine-readable media such as a flash drive, a magnetic disk drive, or any other media that can be used to store information and / or data and that can be accessed by the electronic device 600.
[0091] The electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown, the electronic device 600 can further include a network-based storage device. The network-based storage device can include a cloud storage device, and can be accessed via the communication unit 640. FIG. 6As shown in FIG. 12, a disk drive 621 or CD drive 622 can be provided that enable reading from or writing to a removable, non- volatile disk, such as a "floppy drive" or a "click-together" CD or DVD drive. In these cases, each drive can be connected to the system bus, along with one or more data media interfaces 620, by one or more data media interfaces. The memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0092] The communication unit 640 enables communication with other electronic devices over a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating over a communication connection. As such, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in the networking environment.
[0093] The input device 650 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown), such as a storage device, a display device, etc., communicate with one or more devices that enable a user to interact with the electronic device 600, or communicate with any devices (e.g., a network card, a modem, etc.) that enable the electronic device 600 to communicate with one or more other electronic devices, as desired, through the communication unit 640. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0094] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0095] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings described below are diagrammatic and schematic representations of actual or conceptual structures and processes, and as such, they are not drawn to scale. Certain aspects of the disclosure are described below with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, systems, and computer program products according to this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0096] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0097] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0099] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for interacting with a virtual scene, comprising: In response to the application's startup command, load the scene data associated with the first virtual scene; The application displays an interactive interface that provides multiple interactive entry points associated with different virtual scenes, wherein the interactive interface displays a first image of the first virtual scene, the first image being drawn based on the scene data; as well as In response to receiving a selection of a first interactive entry among the plurality of interactive entry points, a camera movement animation from the first image of the first virtual scene to a second image of the first virtual scene is displayed, and a first interactive page of the first virtual scene is displayed. The first interactive page displays the second image of the first virtual scene and at least one interactive object in the first virtual scene, the at least one interactive object being drawn based at least on the scene data, wherein the first interactive entry point corresponds to the first virtual scene. The camera movement animation that displays a transition from a first image in the first virtual scene to a second image in the first virtual scene includes: drawing a first portion of the camera movement animation based on the scene data; loading additional scene data during the display of the first portion of the camera movement animation; and drawing a second portion of the camera movement animation based at least on the additional scene data, so as to display the second portion of the camera movement animation on the interactive interface.
2. The method of claim 1, wherein displaying camera movement animation from a first image of the first virtual scene to a second image of the first virtual scene further comprises: Determine the target motion of the virtual camera associated with the first virtual scene; as well as Based on the scene data, the camera movement animation corresponding to the target movement is generated.
3. The method according to claim 1, further comprising: In response to receiving a request to exit the first interactive page, the system redirects to the interactive interface to display the multiple interactive entry points and disables the interaction of the first virtual scene in the interactive interface.
4. The method according to claim 1, wherein loading scene data associated with the first virtual scene comprises: The scene data is loaded from the first service device corresponding to the first virtual scene.
5. The method according to claim 1, wherein the at least one interactive object is determined based on the current user's historical interaction information about the first virtual scene.
6. The method of claim 1, wherein the plurality of interactive entry points further includes a second interactive entry point associated with a second virtual scene, wherein the scene data is first scene data, and the method further includes: In response to receiving a selection from the second interactive entry point, the second scene data is loaded from the second service device corresponding to the second virtual scene; as well as Based on the second scene data, a second interactive page of the second virtual scene is displayed.
7. The method of claim 1, wherein the plurality of interactive entry points are associated with virtual scene services provided by different service devices.
8. A device for page interaction, comprising: The resource preloading module is configured to load scene data associated with the first virtual scene in response to the application's startup command; An interactive module is configured to display an interactive interface of the application, the interactive interface providing multiple interactive entry points associated with different virtual scenes, wherein the interactive interface displays a first image of the first virtual scene, the first image being drawn based on the scene data; as well as A virtual scene entry module is configured to, in response to receiving a selection of a first interactive entry among the plurality of interactive entry points, display a camera movement animation from a first image of the first virtual scene to a second image of the first virtual scene, and display a first interactive page of the first virtual scene. The first interactive page displays the second image of the first virtual scene and at least one interactive object in the first virtual scene, the at least one interactive object being drawn based at least on the scene data, wherein the first interactive entry point corresponds to the first virtual scene. The virtual scene entry module is further configured to: draw the first part of the camera movement animation based on the scene data; and load additional scene data during the display of the first part of the camera movement animation. And at least based on the additional scene data, a second portion of the camera movement animation is drawn to display the second portion of the camera movement animation on the interactive interface.
9. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Scene switching method and device, terminal and storage medium
CN110062271A
Switching method and device of scenes in game, electronic equipment and readable storage medium
CN114225399A