Interaction method and device for virtual scene, equipment and storage medium
By loading scene data of virtual scenes in advance and providing moving mirror animations in the interactive interface, the problem of low loading efficiency of virtual scenes is solved, and the smooth transition of the picture and the improvement of user experience is achieved.
Patent Information
- Application Number
- CN202411643903.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-15
AI Technical Summary
The prior art is inefficient in the loading process of virtual scenes, affecting the user's interactive experience.
By responding to the application's startup command, scene data associated with the virtual scene is loaded from the service device in advance, and multiple interactive portals are provided in the interactive interface. After the user selects the portal, the user displays the moving mirror animation to switch images.
It improves the loading efficiency of virtual scenes, achieves smooth transitions of the picture, and improves the user's interactive experience.
Smart Images

Figure CN119587985A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to interactive methods, devices, apparatuses, and computer-readable storage media for virtual scenes. Background Art
[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, players can interact with other objects in the virtual scene (e.g., non-player characters or other player characters). However, virtual scenes usually involve the loading and drawing of a large number of graphic elements. How to improve the loading efficiency of virtual scenes has become the focus of people's attention. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for interacting with a virtual scene is provided. The method includes: in response to a startup instruction of an application, loading scene data associated with a first virtual scene; displaying an interactive interface of the application, the interactive interface providing multiple interactive entrances 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; and in response to receiving a selection of a first interactive entrance among the multiple interactive entrances, displaying a camera animation from the first image of the first virtual scene to the second image of the first virtual scene based on the scene data, wherein the first interactive entrance corresponds to the first virtual scene.
[0004] In a second aspect of the present disclosure, an interactive device for a virtual scene is provided. The device includes: a resource preloading module, configured to load scene data associated with a first virtual scene from a first service device in response to a startup instruction of an application; an interactive module, displaying an interactive interface of the application, the interactive interface providing multiple interactive entrances 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 loaded scene data; and a virtual scene entry module, in response to receiving a selection of a first interactive entrance among the multiple interactive entrances, displaying a camera animation from the first image of the first virtual scene to the second image of the first virtual scene based on the scene data, wherein the first interactive entrance corresponds to the first virtual scene.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0010] Figure 2 A schematic diagram showing a virtual interaction system according to some embodiments of the present disclosure is shown;
[0011] FIG. 3A to FIG. 3C A schematic diagram of an interactive interface for a virtual scene according to some embodiments of the present disclosure is shown.
[0012] Figure 4 A flowchart of a process for generating an image according to some embodiments of the present disclosure is shown.
[0013] Figure 5 A block diagram showing an apparatus for generating an image according to some embodiments of the present disclosure; and
[0014] Figure 6 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0015] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0016] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0017] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0018] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0019] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and 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 accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of 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 sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0022] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0023] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0024] In some scenarios, an integrated portal associated with multiple different virtual scenes can be provided. Taking a game scenario as an example, multiple different game portals can be provided through a game lobby. Different game portals can lead to different virtual scenes hosted by different servers. For example, a user can select a specific game and trigger a connection to the corresponding game server to load the corresponding virtual scene.
[0025] In the process of loading such a virtual scene, the client needs to connect to the corresponding server according to the virtual scene selected by the user and load the corresponding scene data (for example, scene resources for drawing). This causes the user to wait for the loading of the scene data during such a switching process, thus affecting the user's interactive experience.
[0026] An embodiment of the present disclosure provides 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 startup instruction of an application. Further, an interactive interface of the application can be displayed, and the interactive interface provides multiple interactive portals associated with different virtual scenes, wherein the interactive interface displays a first image of the first virtual scene, and the first image is drawn based on the loaded scene data. Accordingly, in response to receiving a selection of a first interactive portal among multiple interactive portals, a camera animation from a 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, the embodiments of the present disclosure can preload the resources of the relevant virtual scenes during the loading process of the interactive interface providing multiple interactive entrances, thereby improving the loading efficiency of the virtual scenes. In addition, by preloading the scene data of the virtual scenes, the embodiments of the present disclosure can also achieve smooth transitions of the screen and enhance the user's interactive experience.
[0028] Example Environment
[0029] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0030] In the example environment 100, the electronic device 110 may run an application 120 that supports virtual scene interaction. The application 120 may be any appropriate type of application that supports virtual scene interaction, and examples thereof may include but are not limited to: simulation applications, simulation applications, game applications, and other appropriate types of applications, and the embodiments of the present disclosure are not limited in this respect. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.
[0031] exist Figure 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 provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game 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 receiver, an e-book device, a game device, or any combination of the foregoing, 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 for the user (such as a "wearable" circuit, etc.).
[0033] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as 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 big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.
[0034] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0035] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0036] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0037] Example System
[0038] Figure 2 An example interactive system 200 is shown according to some embodiments of the present disclosure. Figure 2 As shown, the system 200 may be associated with a plurality of service devices, for example, a service device A 210 and a service device B 220 .
[0039] In some embodiments, service device A 210 and service device B 220 may 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 may correspond to game servers providing different games.
[0040] like Figure 2 As shown, unlike the traditional use of a separate server to provide an interactive interface including multiple interactive entrances (e.g., a game lobby), the service device A 210 that provides a virtual scene 214 can be configured to provide the interactive interface. The interactive interface can include interactive entrances corresponding to different virtual scenes. For example, the interactive interface can include an interactive entrance 212 corresponding to the virtual scene 214 and an interactive entrance 216 corresponding to the virtual scene 222.
[0041] The following will further combine FIG. 3A to FIG. 3C To describe in detail the loading and interaction process of the interactive interface. Figure 3A An example interactive interface 300A is shown according to some embodiments of the present disclosure.
[0042] like Figure 3A As shown, the interactive interface 300A may be, for example, a game lobby interface, which may provide interactive entrances corresponding to a plurality of interactive scenes. As an example, the interactive interface 300A may switch between different virtual scenes by means of tabs. For example, the interface currently displayed in the interactive interface 300A is a tab corresponding to the first interactive scene 305 (e.g., the main game). The user may also switch to the second interactive scene 310 by, for example, clicking on the tab bar corresponding to the second interactive scene 310 (e.g., the mini game).
[0043] As reference Figure 2As described, the interface 300A may be provided by a service device that provides a first interactive scene 305 (i.e., a main game). In order to improve the loading efficiency of the first interactive scene 305, after receiving the start instruction of the application 120, the electronic device 110 may load the scene data associated with the first virtual scene from the first service device.
[0044] Further, the electronic device 110 may display the interactive interface 300A of the application 120, and may draw a 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] like Figure 3A As shown, the first interactive scene 305 may be associated with a virtual city scene, for example, and the electronic device 110 may load scene data of the virtual city scene to draw and display an image 315 of the virtual city scene based on the preloaded scene data.
[0046] Additionally, if Figure 3A As shown, the interactive interface 300A may also provide an interactive entrance 320 associated with the first interactive scene 305. Taking the game scene as an example, the interactive entrance 320 may be used to enter the game interface of the game.
[0047] In some embodiments, the electronic device 110 may receive a user's selection of the interactive portal 320 to trigger the display of a scene interactive page of the first interactive scene 305, such as a game interface. Figure 3B As shown, the electronic device 110 may also display a camera animation (also called a transition animation) from a first image 315 of the first virtual scene to a second image 325 of the first virtual scene based on the preloaded scene data.
[0048] like Figure 3A 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 the user's selection of the interactive entrance 320, and based on the additional scene data, draw the first part of the camera animation and display it on the interactive interface 300A. During the process of displaying the first part of the camera animation on the interactive interface 300A, the electronic device 110 can continue to load additional scene data, and then draw the second part of the camera animation according to the loaded additional scene data.
[0049] In some embodiments, during the display process of the second part of the camera movement animation, the electronic device 110 continues to load additional scene data. Then, the electronic device 110 generates a new camera movement animation based on the additional scene data as a subsequent part of the new camera movement animation.
[0050] In some embodiments, the camera movement animation can be generated based on the movement of the virtual camera associated with the first virtual scene. Specifically, the electronic device 110 can determine the target movement of the virtual camera associated with the first virtual scene. In some embodiments, the target movement of the virtual camera can be determined based on pre-set camera movement parameters (e.g., distance from the shooting center point, shooting angle).
[0051] Further, the electronic device 110 may generate a camera movement animation corresponding to the target motion based on the scene data. Specifically, the electronic device 110 may move the virtual camera according to the determined camera movement parameters, thereby generating a camera movement animation corresponding to the target motion of the virtual camera.
[0052] like Figure 3A As shown, the first image 315 of the first virtual scene may correspond to, for example, a first viewing angle in the first virtual scene. Figure 3B As shown, the electronic device 110 can change the viewing angle and switch to display as shown in FIG. Figure 3B The second image 325 of the first virtual scene shown. The second image 325 may, for example, correspond to a second perspective different from the first perspective. Thus, the electronic device 110 can present the camera animation associated with the first virtual scene by changing the perspective, thereby providing a more coherent scene switching effect. In addition, in the process of generating the camera animation, the electronic device 110 can use the preloaded scene data to improve the generation efficiency of the camera animation, thereby reducing the waiting time required for entering the interactive scene.
[0053] Figure 3B An example interactive page 300B (also referred to as a first interactive page) of a first interactive scene according to some embodiments of the present disclosure is shown. Interactive page 300B may be, for example, a game interface of a main game. Unlike interactive interface 300A, the interactive page may display at least one interactive object in the first virtual scene to support interaction between a user and the first virtual scene.
[0054] As an example, in the interactive page 300B, the electronic device 110 may display a second image 325 of the first virtual scene, and may provide one or more interactive controls associated with the first virtual scene, for example, to perform related interactions with the first virtual scene. As an example, the first image 315 is, for example, a static rendered image, and the second image 325 may correspond to a virtual object that supports interaction, such as a building, a character, etc. The second image 325 may, for example, dynamically change according to the user's interactive operation.
[0055] In some embodiments, at least one interactive object displayed in the interactive page 300B is determined based on the historical interactive information of the current user about the first virtual interactive scene. For example, the interactive page 300B may display the building where the user was when he last exited the first virtual interactive scene.
[0056] As an example, the electronic device 110 may display a virtual character corresponding to the current user in the first virtual scene in the interactive page 300B, and may provide related controls for operating or configuring the virtual character, etc.
[0057] In some embodiments, the electronic device 110 may also receive a request to exit the interactive page 300B. For example, the electronic device 110 may receive a user's selection of the exit control 335. Figure 3C As shown, the electronic device 110 can be redirected to the interactive interface 300C (e.g., a game lobby) to display multiple interactive entrances (e.g., interactive entrance 320 to enter the interactive entrance of the second interactive scene 310, etc.) and disable the interaction of the first virtual scene in the interactive interface 300C.
[0058] In some embodiments, Figure 3C As shown, the electronic device 110 displays the third image of the first virtual scene in the interactive interface 300C, for example. The third image may be determined based on the latest interactive state of the user in the first virtual scene, for example.
[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 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 may be different from that of the first virtual scene. Figure 3A In this way, the embodiments of the present disclosure can help the user better perceive the latest interactive state in the first virtual scene and improve the smoothness of screen switching when the user interacts with the first virtual scene again.
[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. Before the user chooses to exit the application 120 or connect to other service devices, the state data of the user in the first virtual scene can be retained.
[0061] In some embodiments, Figure 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, for example, click on the label "Mini Game" to directly enter the corresponding virtual scene. As another example, the electronic device 110 can also click on the label "Mini Game" and present multiple candidate virtual scenes. The user can further select a specific virtual scene to interact. The electronic device 110 can obtain the basic data of the mini game from the service device B to present multiple candidate virtual scenes. The basic data can be, for example, a game cover, a game name, and a game introduction, etc.
[0062] As an example, the electronic device 110 may receive a user's selection of an interactive portal associated with another virtual scene, and may connect to a service device corresponding to the virtual scene. Figure 2 As an example, the electronic device 110 may receive a user selection of the portal 216 to switch from the currently connected service device A 210 to the service device B 220 .
[0063] Accordingly, the electronic device 110 can receive new scene data from the service device, and display the interactive page of the virtual scene (also referred to as the second interactive page) based on the loaded scene data. Taking a 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 provide the game interface of the mini game accordingly.
[0064] Thus, the embodiments of the present disclosure can preload the resources of the relevant virtual scenes during the loading process of the interactive interface providing multiple interactive entrances, thereby improving the loading efficiency of the virtual scenes. In addition, by preloading the scene data of the virtual scenes, the embodiments of the present disclosure can also achieve smooth transitions of the screen and enhance the user's interactive experience.
[0065] Example Process
[0066] Figure 4 A flow chart of a process 400 for generating an image according to some embodiments of the present disclosure is shown. The process 400 may be implemented at the electronic device 110.
[0067] In block 410 , the electronic device 110 loads scene data associated with the first virtual scene in response to a start instruction of the application 120 .
[0068] In block 420, the electronic device 110 then displays an interactive interface of the application 120. The interactive interface provides a plurality of interactive entrances associated with different virtual scenes, wherein the interactive interface displays a first image of a first virtual scene, the first image being drawn based on scene data.
[0069] In box 430, in response to receiving a selection of a first interactive portal among multiple interactive portals, the electronic device 110 displays a first interactive page of a first virtual scene, the first interactive page displays at least one interactive object in the first virtual scene, the at least one interactive object is drawn based on at least scene data, wherein the first interactive portal corresponds to the first virtual scene.
[0070] In some embodiments, displaying a camera animation from a first image of a first virtual scene to a second image of the first virtual scene includes: determining a target motion of a virtual camera associated with the first virtual scene; and generating a camera animation corresponding to the target motion based on scene data.
[0071] In some embodiments, displaying a camera animation from a first image of a first virtual scene to a second image of the first virtual scene includes: drawing a first part of the camera animation based on scene data; loading additional scene data during display of the first part of the camera animation; and drawing a second part of the camera animation based at least on the additional scene data to display the second part of the camera animation on an interactive interface.
[0072] In some embodiments, method 400 further includes: in response to receiving a request to exit the first interactive page, the first service device redirects to the interactive interface to display multiple interactive entrances and disables interaction with the first virtual scene in the interactive interface.
[0073] In some embodiments, the method 400 further includes: loading scene data from a first service device corresponding to the first virtual scene.
[0074] In some embodiments, 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 multiple interactive portals also include a second interactive portal associated with a second virtual scene, wherein the scene data is first scene data, and method 400 also includes: in response to receiving a selection of the second interactive portal, the first service device loads the second scene data from a second service device corresponding to the second virtual scene; and, based on the second scene data, displays a second interactive page of the second virtual scene.
[0076] In some embodiments, the method 400 further includes: a plurality of interactive portals are associated with virtual scene services provided by different service devices.
[0077] Example devices and equipment
[0078] Figure 5A schematic structural block diagram of an apparatus 500 for generating an image according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the first service device 220. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware or any combination thereof.
[0079] As shown in the figure, the device 500 includes: a resource preloading module 510, configured to load scene data associated with a first virtual scene in response to a startup instruction of an application; an interactive module 520, configured to display an interactive interface of the application 120, the interactive interface providing multiple interactive entrances associated with different virtual scenes, wherein the interactive interface displays a first image of the first virtual scene, and the first image is drawn based on the scene data; and a virtual scene entry module 530, configured to display a first interactive page of the first virtual scene in response to receiving a selection of a first interactive entrance among multiple interactive entrances, the first interactive page displays at least one interactive object in the first virtual scene, and the at least one interactive object is drawn at least based on the scene data, wherein the first interactive entrance corresponds to the first virtual scene.
[0080] In some embodiments, the virtual scene entry module 530 is further configured to: in response to receiving a selection of the first interactive entrance, display a camera animation from a first image of the first virtual scene to a second image of the first virtual scene.
[0081] In some embodiments, the virtual scene entry module 530 is further configured to determine a target motion of a virtual camera associated with the first virtual scene; and based on the scene data, generate a camera animation corresponding to the target motion.
[0082] In some embodiments, the virtual scene entry module 530 is also configured to draw a first part of the camera movement animation based on the scene data; 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, draw a second part of the camera movement animation to display the second part of the camera movement animation in the interactive interface.
[0083] In some embodiments, the interaction module 520 is further configured to: in response to receiving a request to exit the first interactive page, redirect to the interactive interface to display multiple interactive entrances and disable interaction with the first virtual scene in the interactive interface.
[0084] In some embodiments, the apparatus 500 further includes a data loading module configured to load scene data from a first service device corresponding to the first virtual scene.
[0085] In some embodiments, at least one interactive object is determined based on historical interaction information of the current user with respect to the first virtual interactive scene.
[0086] In some embodiments, the virtual scene entry module 530 is further configured to: in response to receiving a selection of the second interactive entrance, load 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 interaction page of the second virtual scene based on the second scene data.
[0088] Figure 6 6 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to implement Figure 1 An electronic device 110.
[0089] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may 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 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.
[0090] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 600.
[0091] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0092] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0093] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0094] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0095] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram 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 device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in 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 so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0098] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0099] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A virtual scene interaction method, comprising: In response to a startup instruction of the application, loading scene data associated with the first virtual scene; Displaying an interactive interface of the application, the interactive interface providing a plurality of interactive entrances 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 entrance among the multiple interactive entrances, a first interactive page of the first virtual scene is displayed, the first interactive page displays at least one interactive object in the first virtual scene, the at least one interactive object is drawn based at least on the scene data, wherein the first interactive entrance corresponds to the first virtual scene.
2. The method according to claim 1, wherein the first interactive page displays a second image of the first virtual scene, the method further comprising: In response to receiving the selection of the first interactive portal, a camera animation from the first image of the first virtual scene to a second image of the first virtual scene is displayed.
3. The method according to claim 2, wherein displaying a camera animation from a first image of the first virtual scene to a second image of the first virtual scene comprises: determining a target motion of a virtual camera associated with the first virtual scene; as well as Based on the scene data, the camera animation corresponding to the target movement is generated.
4. The method according to claim 2, wherein displaying a camera animation from a first image of the first virtual scene to a second image of the first virtual scene comprises: Based on the scene data, drawing a first part of the camera animation; During display of the first portion of the camera animation, loading additional scene data; as well as Based at least 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.
5. The method according to claim 1, further comprising: In response to receiving a request to exit the first interactive page, redirect to the interactive interface to display the multiple interactive entrances and disable interaction with the first virtual scene in the interactive interface.
6. The method of claim 1 , wherein loading scene data associated with the first virtual scene comprises: The scene data is loaded from a first service device corresponding to the first virtual scene.
7. The method according to claim 1, wherein the at least one interactive object is determined based on historical interaction information of the current user regarding the first virtual interactive scene.
8. The method according to claim 1, wherein the plurality of interactive entrances further comprises a second interactive entrance associated with a second virtual scene, wherein the scene data is first scene data, and the method further comprises: In response to receiving a selection of the second interactive portal, loading second scene data from a 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. 9 . The method according to claim 1 , wherein the plurality of interactive portals are associated with virtual scene services provided by different service devices.
10. A device for page interaction, comprising: a resource preloading module, configured to load scene data associated with the first virtual scene in response to a startup instruction of the application; an interactive module, configured to display an interactive interface of the application, the interactive interface providing a plurality of interactive entrances 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 display a first interactive page of the first virtual scene, the first interactive page displays at least one interactive object in the first virtual scene, the at least one interactive object is drawn based at least on the scene data, wherein the first interactive entrance corresponds to the first virtual scene.
11. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.
12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for cartoon loading in game
CN106528201A
Scene switching method and device, terminal and storage medium
CN110062271A
Plot animation playing method, generating method, terminal, device and equipment
CN113546415A
Switching method and device of scenes in game, electronic equipment and readable storage medium
CN114225399A
Transition control method and device and electronic equipment
CN116570913A