Virtual scene-based interaction method, electronic device, and computer program
The virtual scene-based interaction method simplifies interactions by allowing virtual objects to enter assimilation areas for simultaneous states, addressing inefficiencies in invitation processes and reducing computational complexity.
Patent Information
- Application Number
- JP2025525362
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-12-15
- Filing Date
- 2023-10-11
- Publication Date
- 2025-12-24
AI Technical Summary
The inefficiency in interaction processes between virtual characters in virtual scenes due to the need for complete invitation acceptance processes affects the interaction efficiency and complexity.
A virtual scene-based interaction method where virtual objects are associated with accounts and presented in assimilation waiting states, allowing interactions to occur when one virtual object enters a state assimilation area, eliminating the need for explicit request sending and reducing computational complexity.
This method enhances interaction efficiency and reduces computational resources by simplifying the interaction process, as virtual objects can enter assimilation areas to trigger simultaneous interactions without additional requests, improving overall interaction efficiency.
Smart Images

Figure 2025541971000001_ABST
Abstract
Description
[Technical Field]
[0001] This application is based on and claims priority from a Chinese patent application having application number 202211626109.7 and filing date December 15, 2022, the entire contents of which are hereby incorporated by reference into this application.
[0002] The present application relates to data processing technology in the field of computer applications, and in particular to a virtual scene-based interaction method, an electronic device, a computer storage medium, and a computer program product. [Background technology]
[0003] The virtual scene man-machine interaction technology based on graphics processing hardware can realize various interactions between users and virtual characters controlled by artificial intelligence based on actual application needs, and has broad practical value, such as simulating realistic interaction processes between virtual characters in virtual game scenes.
[0004] In an interaction scenario, to realize interaction between two accounts, one account often invites another account, and when the other account accepts the invitation, the two accounts further interact with each other. Thus, the interaction between the two accounts needs to have a complete invitation acceptance process, which affects the efficiency of the interaction. Summary of the Invention [Problem to be solved by the invention]
[0005] The embodiments of the present application provide a virtual scene-based interaction method, an electronic device, a computer storage medium, and a computer program product, which can improve interaction efficiency.
[0006] The technical solutions of the embodiments of the present application are realized as follows: [Means for solving the problem]
[0007] An embodiment of the present application provides an interaction method based on a virtual scene, the method being executed by an electronic device, the method comprising: presenting, in a first virtual scene, a first virtual object in a state waiting for assimilation and a state assimilation region corresponding to the state waiting for assimilation, wherein the first virtual object is associated with a first account; presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on an interaction operation between the first virtual object and a second virtual object, where the second virtual object is associated with a second account, and the interaction operation represents an interaction between the first account and the second account; and when the interaction screen represents that the second virtual object is entering the state assimilation area, outputting state representation information indicating that the second virtual object is in the assimilation waiting state in response to the second virtual object entering the state assimilation area.
[0008] An embodiment of the present application further provides an interaction method based on a virtual scene, the method being performed by an electronic device, the method comprising: In response to a state setting operation on a first virtual object, in a second virtual scene, presenting the first virtual object in an assimilation waiting state and a state assimilation region corresponding to the assimilation waiting state, where the first virtual object corresponds to a first account; and a step of presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on an interaction operation between the first virtual object and a second virtual object, wherein the second virtual object corresponds to a second account, the interaction operation represents an interaction between the first account and the second account, and when the interaction screen represents the second virtual object entering the state assimilation area, a second electronic device is used to output state representation information that the second virtual object is in the assimilation waiting state, and the second electronic device is an electronic device to which the second account is logged in.
[0009] An embodiment of the present application provides a first interaction device based on a virtual scene, a state setting module configured to, in a second virtual scene, respond to a state setting operation on a first virtual object and present the first virtual object in an assimilation waiting state and a state assimilation region corresponding to the assimilation waiting state, wherein the first virtual object corresponds to a first account; and and a first interaction module configured to present an interaction screen in which the second virtual object and the state assimilation area approach based on an interaction operation between the first virtual object and a second virtual object, wherein the second virtual object corresponds to a second account, the interaction operation represents an interaction between the first account and the second account, and when the interaction screen represents the second virtual object entering the state assimilation area, a second electronic device is used to output state representation information that the second virtual object is in the assimilation waiting state, and the second electronic device is an electronic device to which the second account is logged in.
[0010] An embodiment of the present application provides a second interaction device based on a virtual scene, a status display module configured to present, in a first virtual scene, a first virtual object in a state awaiting assimilation and a state assimilation region corresponding to the awaiting assimilation state, where the first virtual object is associated with a first account; and a second interaction module configured to present an interaction screen in which the second virtual object and the state assimilation area approach each other based on an interaction operation between the first virtual object and a second virtual object, where the second virtual object is associated with a second account, and the interaction operation represents an interaction between the first account and the second account; and a state interaction module configured to, when the interaction screen represents the second virtual object entering the state assimilation area, output state representation information that the second virtual object is in the assimilation waiting state in response to the second virtual object entering the state assimilation area.
[0011] An embodiment of the present application provides a first electronic device for use in interacting with a virtual scene, a first memory adapted to store computer-executable instructions; and a first processor used to realize a virtual scene-based interaction method applied to a first electronic device provided by an embodiment of the present application when executing computer-executable instructions stored in the first memory.
[0012] An embodiment of the present application provides a second electronic device for use in interacting with a virtual scene, a second memory adapted to store computer-executable instructions; and a second processor used to realize the virtual scene-based interaction method applied to the second electronic device provided by an embodiment of the present application when executing computer-executable instructions stored in the second memory.
[0013] An embodiment of the present application provides a computer-readable storage medium having computer-executable instructions stored thereon, which, when executed by a first processor, are used to realize a virtual scene-based interaction method applied to a first electronic device provided by an embodiment of the present application, or which, when executed by a second processor, are used to realize a virtual scene-based interaction method applied to a second electronic device provided by an embodiment of the present application.
[0014] An embodiment of the present application provides a computer program product, which includes a computer program or computer-executable instructions, which, when executed by a first processor, realizes a virtual scene-based interaction method applied to a first electronic device provided by an embodiment of the present application, or which, when executed by a second processor, realizes a virtual scene-based interaction method applied to a second electronic device provided by an embodiment of the present application. [Effects of the Invention]
[0015] The embodiment of the present application has at least the following beneficial effects: by associating a first virtual object with a first account, a second virtual object with a second account, and presenting a state assimilation area when the first virtual object is in an assimilation waiting state, the second virtual object entering the state assimilation area triggers an interaction between the first account and the second account that is simultaneously in an assimilation waiting state; thus, entering the state assimilation area can trigger an interaction that is simultaneously in the same assimilation waiting state; in the related art, a virtual object participating in an interaction requests an interaction from another virtual object, and the other virtual object receives the interaction. Compared with the solution that requires waiting for the second virtual object to enter the state assimilation area, the solution provided by the embodiments of the present application does not require the virtual objects to send requests to each other, and only requires the second virtual object to enter the state assimilation area, thereby realizing the interaction between the two virtual objects, thereby reducing the complexity of the interaction. Since there is no need to send an additional interaction request, there is no need to check whether the other virtual object has received the interaction request. Compared with the solution of the related art, this can save computing resources that need to be consumed for the interaction between virtual objects, and can improve interaction efficiency. [Brief explanation of the drawings]
[0016] [Figure 1] FIG. 1 is a schematic diagram of one type of exemplary interaction. [Figure 2] 1 is a schematic diagram of the architecture of an interaction system based on a virtual scene provided by an embodiment of the present application; [Figure 3] FIG. 3 is a schematic diagram of the structure of a terminal in FIG. 2 provided by an embodiment of the present application; [Figure 4] FIG. 3 is a schematic diagram of the structure of another terminal in FIG. 2 provided by an embodiment of the present application. [Figure 5]FIG. 1 is a first schematic diagram of the process of a virtual scene interaction method provided by an embodiment of the present application; [Figure 6] FIG. 2 is a first schematic diagram of an exemplary interaction interface provided by an embodiment of the present application. [Figure 7] FIG. 2 is a second schematic diagram of the process of the virtual scene interaction method provided by an embodiment of the present application; [Figure 8] FIG. 2 is a second schematic diagram of an exemplary interaction interface provided by an embodiment of the present application. [Figure 9] FIG. 10 is an interaction diagram illustrating an exemplary second virtual object provided by an embodiment of the present application entering a state assimilation area. [Figure 10] FIG. 3 is a third schematic diagram of the process of the virtual scene interaction method provided by an embodiment of the present application; [Figure 11] FIG. 1 is a schematic diagram of an exemplary process for listening to songs together provided by an embodiment of the present application. [Figure 12] FIG. 2 is a schematic diagram of a state setting provided by an embodiment of the present application. [Figure 13] 2 is a schematic diagram of an exemplary trigger state change provided by an embodiment of the present application; FIG. [Figure 14] FIG. 2 is a schematic diagram of an exemplary prompt information presentation provided by an embodiment of the present application. [Figure 15] FIG. 1 is a schematic diagram of an exemplary song synchronous listening provided by an embodiment of the present application. [Figure 16] FIG. 10 is a schematic diagram of an example of exiting a song listening state provided by an embodiment of the present application. [Figure 17] FIG. 10 is a schematic diagram of exiting another exemplary song listening state provided by an embodiment of the present application. [Figure 18] FIG. 1 is a schematic diagram of an exemplary song-listening interaction provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0017] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in more detail below in conjunction with the drawings. The described embodiments should not be considered as limiting the present application, and all other embodiments obtained by those skilled in the art without any creative work fall within the scope of protection of the present application.
[0018] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it will be understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other where not inconsistent.
[0019] In the following description, the relative terms "first / second" are used merely to distinguish between similar objects and do not represent a particular sorting of the objects; it will be understood that "first / second" may be interchangeable with a particular order or priority where permitted, and that the embodiments of the present application described herein may be implemented in orders other than those illustrated or described herein.
[0020] Unless otherwise defined, all technical and scientific terms used in the examples of this application have the same meaning as commonly understood by those skilled in the art. The terms used in the examples of this application are only for describing the purpose of the examples of this application and are not intended to limit the scope of this application.
[0021] Before describing the embodiments of the present application in more detail, the nouns and terms related to the embodiments of the present application will be explained, and the nouns and terms related to the embodiments of the present application will be interpreted as follows.
[0022] 1) Artificial Intelligence (AI) refers to theories, methods, technologies, and application systems that use digital computers or devices controlled by digital computers to simulate, expand, and enhance human intelligence, sense the environment, acquire knowledge, and use the knowledge to achieve optimal results. In an embodiment of the present application, the state content of the second virtual object can be determined using an artificial intelligence approach.
[0023] 2) A virtual scene refers to a virtual scene presented (or provided) when an application program is run on a terminal device, and may refer to a virtual scene played by receiving audio-video information sent by a cloud server, where the application program is run on the cloud server. The virtual scene may be a simulated environment of the real world, a semi-simulated, semi-fictional virtual environment, or even a purely fictional virtual environment. The virtual scene may be any type of 2D virtual scene, 2.5D virtual scene, or 3D virtual scene. The embodiments of the present application are not limited by the dimensions of the virtual scene. For example, the virtual scene may include a virtual sky, a virtual land, and a virtual ocean, and the virtual land may include environmental elements such as a virtual desert or a virtual city. A user can control virtual objects to move in the virtual scene.
[0024] 3) A virtual object is a representation of various people and objects that can interact with the virtual scene, or an actionable object in the virtual scene. Here, the actionable object may be a virtual person, a virtual animal, a virtual vehicle, an animated character, etc., such as a person or an animal presented in the virtual scene. The virtual object may be a single virtual representation used to represent the user in the virtual scene. The virtual scene may include multiple virtual objects, each of which has its own shape and volume and occupies a certain space in the virtual scene. For example, the first virtual object and the second virtual object in the embodiment of the present application.
[0025] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology that are applied based on the cloud computing business model, and can form a resource pool, be used as needed, and is flexible and convenient.
[0026] 5) A control component is triggerable information represented in the form of an area, button, icon, link, text, selection frame, input frame, tab, etc., where the trigger type may be a contact trigger, a contactless trigger, or even a command-receiving trigger, etc., and the various control components in the embodiments of the present application may be a single control component or a collective term for multiple control components.
[0027] 6) An operation is a method used to trigger a device to perform a process, such as a click operation, a double-click operation, a long press operation, a slide operation, a gesture operation, a received trigger command, etc. In addition, the various operations in the embodiments of the present application may be a single operation or a collective term for multiple operations, and the various operations in the embodiments of the present application may be touch control operations or non-touch control operations.
[0028] 7) "Responsive to" is used to describe a condition or state upon which the performed operation depends, and when the dependent condition or state is met, the performed operation or operations may be in real time or may have a set delay, and unless otherwise specified, the performed operations are not subject to first-come, first-served execution restrictions.
[0029] 8) A state is the appearance characteristics and motion state, or the situation in which a material system is. In the academic field, a "state" refers to a process involved in an object and is represented by a set of physical quantities. In the present embodiment, a state is used to represent the situation in which a virtual object is or the action being performed.
[0030] 9) By state assimilation, at least two virtual objects are in the same state of processing. The assimilation waiting state includes a state assimilation function, and the state assimilation function refers to a function in which, when one virtual object is in the assimilation waiting state, another virtual object is assimilated, so that the other virtual object is also in the same state.
[0031] 10) The state assimilation area is an area having a state assimilation function, and when one virtual object is in the state assimilation area, it is in the same state as another virtual object to which the state assimilation area belongs. For example, if virtual object A is in a song listening state and has a state assimilation area, virtual object B is in the song listening state after entering the state assimilation area of virtual object A.
[0032] In an interaction scenario, to realize interaction between two accounts, one account often invites another account, and when the other account accepts the invitation, the two accounts further interact with each other. Thus, the interaction between the two accounts needs to have a complete invitation acceptance process, which affects the efficiency of the interaction.
[0033] For example, refer to Figure 1, which is a schematic diagram of an exemplary interaction. As shown in Figure 1, when one account invites another account to listen to a song together, it triggers the presented icon 1-11 ("Listen to a song together") in the chat frame shown by interface 1-1 corresponding to the one account, and responds to the trigger operation acting on icon 1-11 to present interface 1-2, and responds to the song selection operation in interface 1-2 to obtain the song to be listened to together, and responds to the decision operation acting on the button ("Listen together") for the song to send a song listening invitation to the other account, and presents interface 1-3, and presents a song listening invitation message in interface 1-3, thereby realizing the interaction of the two accounts listening to a song together in response to the song listening invitation in the other account.
[0034] However, in the interaction method for realizing the above-mentioned interaction such as listening to songs together, the interaction between two accounts requires a complete invitation acceptance process, which affects the interaction efficiency, and the interaction process is the interaction between two accounts, which affects the interaction effect.
[0035] Based on this, embodiments of the present application provide a virtual scene-based interaction method, device, electronic device, computer-readable storage medium, and computer program product, which can improve interaction efficiency and interaction visualization effects. Exemplary applications of the electronic device provided by the embodiments of the present application are described below. The electronic device provided by the embodiments of the present application may be implemented as various types of terminals, such as smartphones, smart watches, laptops, tablet computers, desktop computers, smart home appliances, set-top boxes, smart car devices, portable music players, personal digital assistants, dedicated messaging devices, smart voice interaction devices, portable game devices, and smart speakers, or may be implemented as a server, or may even be a combination of both. Exemplary applications when the electronic device is implemented as a terminal are described below.
[0036] 2, which is a schematic diagram of the structure of a virtual scene-based interaction system provided by an embodiment of the present application. As shown in FIG. 2, to support a virtual scene-based interaction application, in the interaction system 100, a terminal 400 (referred to as a first electronic device) and a terminal 200 (referred to as a second electronic device) are connected to a server 600 via a network 300. The server 600 is used to provide computing services to the terminal 400 and the terminal 200. The network 300 may be a wide area network, a local area network, or a combination of both. The interaction system 100 further includes a database 500, which is used to provide data support to the server 600. FIG. 2 shows a case where the database 500 is independent of the server 600. Alternatively, the database 500 may be integrated into the server 200, and the embodiment of the present application is not limited thereto.
[0037] The terminal 200 is used to present, in a first virtual scene, a first virtual object in a waiting-for-assimilation state and a state assimilation area corresponding to the waiting-for-assimilation state, where the first virtual object is associated with a first account, and based on an interaction operation between the first virtual object and a second virtual object, presents an interaction screen in which a second virtual object and the state assimilation area approach, where the second virtual object is associated with a second account, and the interaction operation represents an interaction between the first account and the second account, and when the interaction screen represents the second virtual object entering the state assimilation area, in response to the second virtual object entering the state assimilation area, outputs state representation information that the second virtual object is in a waiting-for-assimilation state (graphics interface 200-1 is shown as an example).
[0038] The terminal 400 is used to respond to a state setting operation on a first virtual object in a second virtual scene by presenting a first virtual object in an assimilation waiting state and a state assimilation area corresponding to the assimilation waiting state, where the first virtual object corresponds to a first account, and based on an interaction operation between the first virtual object and a second virtual object, present an interaction screen in which the second virtual object and the state assimilation area approach, where the second virtual object corresponds to a second account, and the interaction operation represents an interaction between the first account and the second account, and when the interaction screen represents the second virtual object entering the state assimilation area, the second electronic device is used to output state representation information that the second virtual object is in an assimilation waiting state, and the second electronic device is an electronic device into which the second account is logged in (graphics interface 400-1 is shown as an example).
[0039] In some embodiments, server 600 may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server providing 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 delivery networks (CDNs), and big data and artificial intelligence platforms. Terminal 200 and terminal 400 may be, but are not limited to, smartphones, smart watches, laptops, tablet computers, desktop computers, smart TVs, set-top boxes, smart car devices, portable music players, personal digital assistants, dedicated messaging devices, portable game devices, and smart speakers. The terminals and servers may be directly or indirectly connected via wired or wireless communication, and this is not a limitation of the embodiments of the present application.
[0040] In some embodiments, the server and the terminal device cooperate to realize the virtual scene-based interaction method provided by the embodiments of the present application. The solution implemented by the terminal device and the server in cooperation mainly involves two game modes: a local game mode and a cloud game mode. The local game mode refers to the terminal device and the server working together to run the game processing logic, and the operation commands entered by the player on the terminal device are partly run by the terminal device to run the game logic processing and partly run by the server to run the game logic processing, and the game logic processing run by the server is more complex and often requires more hash rate. The cloud game mode refers to the server completely running the game logic processing, and the cloud server rendering the game scene data into an audio-video stream, which is then transmitted to the terminal device via a network for display. The terminal device only needs to have basic streaming media playback capabilities and the ability to receive and transmit player operation commands to the server.
[0041] Referring to FIG. 3, FIG. 3 is a schematic diagram of the structure of a terminal in FIG. 2 provided by an embodiment of the present application. As shown in FIG. 3, the terminal 400 includes at least one first processor 410, a first memory 450, at least one first network interface 420, and a first user interface 430. Each assembly in the terminal 400 is coupled together by a bus system 440. As can be understood, the first bus system 440 is used to realize connection and communication between these assemblies. In addition to including a data bus, the first bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, all of the various buses in FIG. 3 will be referred to as the first bus system 440.
[0042] The first processor 410 may be a type of integrated circuit chip, having signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware assembly, etc., where the general-purpose processor may be a microprocessor, or any other conventional processor, etc.
[0043] The first user interface 430 includes one or more first output devices 431 that allow media content to be presented, including one or more speakers and / or one or more visual display screens. The first user interface 430 further includes one or more first input devices 432, including user interface components that contribute user input, such as a keyboard, mouse, microphone, touchscreen display screen, camera, other input buttons, and control components.
[0044] The first memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The first memory 450 optionally includes one or more storage devices that are remote in physical location from the first processor 410.
[0045] The first memory 450 may include volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. Nonvolatile memory may be read-only memory (ROM), and volatile memory may be random access memory (RAM). Embodiments of the present application describe the first memory 450 to include any suitable type of memory.
[0046] In some embodiments, the first memory 450 may store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as illustratively described below.
[0047] The first operating system 451 is used to process various basic system services and execute system programs for hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., and is used to realize various basic services and process hardware-based tasks.
[0048] The first network communication module 452 is used to access other electronic devices via one or more (wired or wireless) first network interfaces 420, and exemplary first network interfaces 420 include Bluetooth, Wireless Firmware (Wi-Fi), and Universal Serial Bus (USB), etc.
[0049] The first presentation module 453 is used to present information via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with the first user interface 430 (e.g., a user interface used to operate peripheral devices and present content and information).
[0050] The first input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more first input devices 432 and interpret the detected inputs or interactions.
[0051] In some embodiments, the first interaction device (hereinafter referred to as the first interaction device) based on the virtual scene provided by the embodiments of the present application can be realized using a software method. Figure 3 shows a first interaction device 455 stored in a first memory 450, which can be software in the form of a program, plug-in, etc., and includes software modules: a state setting module 4551, a first interaction module 4552, a first switching module 4553, and a first exit module 4554. These modules are logical and can therefore be arbitrarily combined or further divided based on the realized functions. The functions of each module are described below.
[0052] In some embodiments, the first interaction device provided by the embodiments of the present application may be implemented using a hardware method. For example, the first interaction device provided by the embodiments of the present application may be a processor using a hardware decode processor format, which is programmed to execute the virtual scene-based interaction method applied to the first electronic device provided by the embodiments of the present application. For example, the processor in the form of a hardware decode processor may use one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate Arrays (FPGAs), or other electronic components.
[0053] Referring to FIG. 4, FIG. 4 is a schematic diagram of another type of terminal structure in FIG. 2 provided by an embodiment of the present application. As shown in FIG. 4, the terminal 200 includes at least one second processor 210, a second memory 250, at least one second network interface 220, and a second user interface 230. Each assembly in the terminal 200 is coupled together by a bus system 240. As can be understood, the second bus system 240 is used to realize connection and communication between these assemblies. In addition to including a data bus, the second bus system 240 also includes a power bus, a control bus, and a status signal bus. However, for clarity, various buses in FIG. 4 will all be referred to as the second bus system 240.
[0054] The second processor 210 may be a type of integrated circuit chip, having signal processing capabilities, such as a general-purpose processor, a digital signal processor, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware assembly, etc., where the general-purpose processor may be a microprocessor, or any conventional processor, etc.
[0055] The second user interface 230 includes one or more second output devices 231 that allow media content to be presented, including one or more speakers and / or one or more visual display screens. The second user interface 230 includes one or more second input devices 232, including user interface components that contribute user input, such as a keyboard, mouse, microphone, touch screen, camera, other input buttons, and control components.
[0056] Second memory 250 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Second memory 250 optionally includes one or more storage devices that are remote in physical location from second processor 210.
[0057] Second memory 250 may include volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. Nonvolatile memory may be read-only memory, and volatile memory may be random-access memory. Embodiments of the present application describe second memory 250 to include any suitable type of memory.
[0058] In some embodiments, the second memory 250 may store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as illustratively described below.
[0059] The second operating system 251 is used to process various basic system services and execute system programs for hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., and is used to realize various basic services and process hardware-based tasks.
[0060] The second network communication module 252 is used to access other electronic devices via one or more (wired or wireless) second network interfaces 220, and exemplary second network interfaces 220 include Bluetooth, wireless integrity authentication, and universal serial bus, etc.
[0061] The second presentation module 253 is used to present information via one or more output devices 231 (e.g., a display screen, a speaker, etc.) associated with the second user interface 230 (e.g., a user interface used to operate peripheral devices and present content and information).
[0062] The second input processing module 254 is used to detect one or more user inputs or interactions from one of the one or more second input devices 232 and interpret the detected inputs or interactions.
[0063] In some embodiments, the second interaction device (hereinafter referred to as the second interaction device) based on the virtual scene provided by the embodiments of the present application can be realized using a software method. Figure 4 shows a second interaction device 255 stored in a second memory 250, which can be software in the form of a program, plug-in, etc., and includes software modules such as a status display module 2551, a second interaction module 2552, a status interaction module 2553, a second exit module 2554, and a second switching module 2555. These modules are logical and can therefore be arbitrarily combined or further divided based on the realized functions. The functions of each module are described below.
[0064] In some embodiments, the second interaction device provided by the embodiments of the present application can be realized using a hardware method. For example, the second interaction device provided by the embodiments of the present application can be a processor using a hardware decoding processor type, which is programmed to execute the virtual scene-based interaction method applied to the second electronic device provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can use one or more application-specific integrated circuits, DSPs, programmable logic devices, complex programmable logic devices, field programmable gate arrays, or other electronic components.
[0065] In some embodiments, a terminal or a server can implement the virtual scene-based interaction method provided by the embodiments of the present application by running a computer program. For example, the computer program may be a native program or software module in an operating system, a local application program (APP) that needs to be installed in an operating system to operate, such as an interaction APP or instant communication APP, an applet that only needs to be downloaded to a browser environment to operate, or an applet that can be embedded in any APP. In short, the computer program may be any type of application program, module, or plug-in.
[0066] The virtual scene-based interaction method provided by the embodiments of the present application will be described below in conjunction with exemplary applications and implementations of the first electronic device and the second electronic device provided by the embodiments of the present application, and the virtual scene-based interaction method provided by the embodiments of the present application can be applied to various virtual scene-based interactions such as cloud technology, artificial intelligence, smart mobility, and in-vehicle.
[0067] Referring to Figure 5, Figure 5 is a first schematic diagram of the process of the virtual scene interaction method provided by an embodiment of the present application, which will be described below in conjunction with the steps shown in Figure 5, with the second electronic device as the execution entity.
[0068] Step 101: In a first virtual scene, a second electronic device presents a first virtual object in an assimilation waiting state and a state assimilation region corresponding to the assimilation waiting state.
[0069] In an embodiment of the present application, the virtual scene presented by the second electronic device is, namely, a first virtual scene, in which a first virtual object in an assimilation waiting state is presented in the first virtual scene, and a state assimilation area corresponding to the assimilation waiting state is further presented, and a second virtual object may also be presented in the first virtual scene, or the second virtual object may not be presented; for example, when the distance between the first virtual object and the second virtual object is less than the distance threshold and both can be presented simultaneously in the presentable area, the second virtual object is further presented in the first virtual scene, and when the distance between the first virtual object and the second virtual object is equal to or greater than the distance threshold, both cannot be presented in the presentable area and further the second virtual object is not presented in the first virtual scene.
[0070] As illustrated, the first virtual object is associated with the first account, i.e., the first virtual object is a virtual object controlled by the first account, and may be a virtual character mapped by the first account, a virtual resource (e.g., a virtual pet) owned by the first account, or a combination of both, etc., and the embodiment of the present application is not limited thereto, and the control over the first virtual object is realized by the first account. The second virtual object is associated with the second account, and the second virtual object is a virtual object controlled by the second account, and may be a virtual character mapped by the second account, a virtual resource owned by the second account, or a combination of both, and the embodiment of the present application is not limited thereto, and the control over the second virtual object is realized by the second account, and the second account completes login to the second electronic device, and the logged-in second account realizes control over the second virtual object through the second electronic device.
[0071] As illustrated, the assimilation waiting state represents a state of a virtual object and is used to reflect the virtual action currently being performed by the virtual object, and the assimilation waiting state includes an assimilation function, which refers to the following function: when one virtual object is in the assimilation waiting state, other virtual objects will be assimilated, and therefore the other virtual objects will also be in the same state; the assimilation waiting state can be at least one of an online state, a busy state, a mute state, an absent state, an offline state, an audio listening state, and a video watching state, where the audio listening state represents a state in which the virtual object listens to audio information, and the video watching state represents a state in which the virtual object watches video information. The absent state refers to a state in which the account controlling the virtual object has not performed any operation within a preset length of time, the busy state refers to a state in which the account controlling the virtual object performs operations in other application programs but has not performed any operation on the current virtual object, the offline state refers to a state in which the account controlling the virtual object has logged off from the current application program, and the mute state refers to a state in which the account controlling the virtual object has muted the current application program that runs the interaction scene.
[0072] The first virtual object and the second virtual object are both virtual objects. The first virtual object in the assimilation standby state presented by the first electronic device is realized by at least one of text description information (used to describe the text of the first virtual object in the assimilation standby state), a virtual motion performed by the first virtual object indicating that the first virtual object is in the assimilation standby state (for example, when the assimilation standby state is a song listening state, the virtual object is a song listening motion sitting at a speaker and listening to a song), and status indicator information displayed in an area based on the first virtual object (for example, when the assimilation standby state is a song listening state, at least one of an audio title, an audio composer, an audio text, an audio cover, a musical notation, and a status icon displayed in an area corresponding to the first virtual object). Here, the fact that the first virtual object is in the assimilation standby state may indicate that the first account is also in the assimilation standby state, or may indicate that the assimilation standby state is unrelated to the state of the first account, etc., and the embodiment of the present application is not limited thereto.
[0073] In addition, the state assimilation area is used to trigger assimilation of a waiting state between virtual objects. Here, the state assimilation area is one or both of an object mark area and an object formation area. Here, the object mark area refers to the area marked by the first virtual object, and the object formation area refers to the area formed based on the first virtual object.
[0074] For example, if the type of state assimilation region is an object mark region and the marking method is to select a point, the state assimilation region is a region formed around a point marked at any one position in the virtual scene by the account controlling the virtual object, or if the marking method is to select a region, the state assimilation region is a region marked by the account controlling the virtual object with a circle or by sliding.Furthermore, for example, if the type of state assimilation region is an object formation region and the state assimilation region is a circular region centered around the virtual object, or if the virtual scene is divided into multiple cells, the state assimilation region is a region corresponding to the cell in which the virtual object is located.
[0075] The state assimilation area may be a two-dimensional shape (e.g., at least one of a circle, a rectangle, an ellipse, a polygon, a diamond, etc.), a three-dimensional shape (e.g., one or two of a cylinder and a cube, etc.), or even a combination of both, and the embodiments of the present application are not limited thereto. The state assimilation area may also include a state effect, and the state effect corresponds to an assimilation waiting state, for example, the assimilation waiting state is an audio listening state, and the state effect is an audio playback effect, where the state effect is used to, on the one hand, indicate that a certain state of a virtual object is an assimilation waiting state, and, on the other hand, indicate that the assimilation waiting state corresponds to an assimilation function.
[0076] Step 102: The second electronic device presents an interaction screen in which the second virtual object and the state assimilation region approach each other based on the interaction operation between the first virtual object and the second virtual object.
[0077] In an embodiment of the present application, the interaction operation represents a state assimilation interaction between a first account and a second account, and the interaction operation is used to control the approach of both the second virtual object and the state assimilation area of the first virtual object, so that the second electronic device can present an interaction screen in which the second virtual object and the state assimilation area approach each other based on the interaction operation.
[0078] As illustrated, the interaction operation includes one or two of a first interaction operation and a second interaction operation, where the first interaction operation represents a movement operation of controlling a first virtual object with a first account to approach a second virtual object, and the state assimilation area moves in synchronization with the first virtual object (wherein the first interaction operation can represent a movement operation of controlling the state assimilation area with the first account to approach a second virtual object, and in this case, the state assimilation area may or may not move in synchronization with the first virtual object), and the second interaction operation represents a movement operation of controlling a second virtual object with a second account to approach the state assimilation area. Thus, the interaction screen may be a screen in which the second virtual object approaches the state assimilation area, and at this time, the interaction operation includes the second interaction operation; the interaction screen may be a screen in which the state assimilation area approaches the second virtual object, and at this time, the interaction operation includes the first interaction operation; and the interaction screen may be a screen in which the second virtual object and the state assimilation area approach each other, and at this time, the interaction operation includes the first interaction operation and the second interaction operation. Also, the first interaction operation is responded to by the first electronic device, and the first account completes login on the first electronic device, and the first account in the logged-in state realizes control of the first virtual object through the first electronic device.
[0079] As illustrated, when the interaction operation includes at least the first interaction operation (which may further include the second interaction operation, or may not further include the second interaction operation), the state assimilation area moves in synchronization with the first virtual object; on the other hand, when the interaction operation includes the second interaction operation but does not include the first interaction operation, the state assimilation area may move in synchronization with the first virtual object, or the state assimilation area may be fixed and unmoving and not move in synchronization with the first virtual object, and the embodiments of the present application are not limited thereto.
[0080] Step 103: When the interaction screen represents that the second virtual object is entering the state assimilation area, the second electronic device outputs state representation information indicating that the second virtual object is in an assimilation waiting state in response to the second virtual object entering the state assimilation area.
[0081] In an embodiment of the present application, when the second electronic device determines that the interaction screen represents that the second virtual object enters the state assimilation area during the process of presenting the interaction screen, the second electronic device outputs state expression information indicating that the second virtual object is in an assimilation waiting state in response to the second virtual object entering the state assimilation area. Here, the state expression information represents expression information indicating that the second virtual object is in an assimilation waiting state, and may include at least one of text description information (used to describe the text of the second virtual object in an assimilation waiting state), a virtual motion indicating that the second virtual object is in an assimilation waiting state, state content control information (e.g., at least one of an audio and video playback control interface), information output by an output device of the second electronic device (e.g., audio information, video information, etc.), and a description of a state of the second account.
[0082] As illustrated, the state contents corresponding to a first virtual object waiting to be assimilated and a second virtual object waiting to be assimilated may or may not match, and when the state contents match, this may include at least one of matching audio contents, matching video contents, and matching playback progress.
[0083] For example, refer to Figure 6, which is a first schematic diagram of an exemplary interaction interface provided by an embodiment of the present application. As shown in Figure 6, a first virtual scene 6-11 of an interface 6-1 presents a first virtual object 6-12 in an assimilation waiting state and a state assimilation area 6-13 corresponding to the assimilation waiting state. When a second virtual object 6-21 enters the state assimilation area 6-13, state content control information 6-22 is presented as shown in interface 6-2, and at least one of audio information and video information corresponding to the assimilation waiting state can be played. In addition, "111-222" represents state indicator information.
[0084] In the embodiment of the present application, compared to the prior art where an interaction operation requires the consent of both the accounts corresponding to the first virtual object and the second virtual object to be executed, the interaction between virtual objects is realized by the operation of the virtual object entering the assimilation area, and the state of the virtual object is synchronized with other virtual objects, thereby enriching the types of interaction operations, reducing the complexity of the interaction operations, eliminating the need to receive interaction requests and interaction confirmation requests, saving the computing resources required by the processor operating the virtual scene to realize the interaction operations, and improving the efficiency of interaction between virtual objects.
[0085] Referring to Figure 7, Figure 7 is a second schematic diagram of the process of the virtual scene interaction method provided by an embodiment of the present application, which will be described below in conjunction with the steps shown in Figure 7, with the first electronic device as the execution entity.
[0086] Step 104: In the second virtual scene, the first electronic device, in response to the state setting operation on the first virtual object, presents the first virtual object in an assimilation waiting state and a state assimilation region corresponding to the assimilation waiting state.
[0087] In an embodiment of the present application, when a user corresponding to a first account sets the state of a first virtual object to an assimilation waiting state through an operation (e.g., an operation of selecting an assimilation waiting state), or when a first electronic device receives a trigger command (e.g., an automatic test command, a trigger event for setting an assimilation waiting state, etc.) used to set the state of a first virtual object to an assimilation waiting state, the first electronic device receives a state setting operation for the first virtual object, and at this time, in response to the state setting operation, sets the state of the first virtual object to an assimilation waiting state, and presents, in a second virtual scene, the first virtual object in an assimilation waiting state and a state assimilation area corresponding to the assimilation waiting state.
[0088] As illustrated, the virtual scene presented by the first electronic device is a second virtual scene, and a second virtual object may or may not be presented in the second virtual scene. Whether the second virtual object needs to be presented is similar to that in the first virtual scene, and the embodiments of the present application will not be described again here. Furthermore, the first virtual object in the assimilation waiting state presented by the first electronic device can be realized by at least one of text description information, a virtual motion performed by the first virtual object indicating that the first virtual object is in the assimilation waiting state, status indicator information displayed in an area based on the first virtual object, information output by an output device of the first electronic device (e.g., audio information, video information, etc.), and a description of the state of the first account. The fact that the first virtual object is in the assimilation waiting state can indicate that the first account is also in the assimilation waiting state, or that the assimilation waiting state is unrelated to the state of the first account, and the embodiments of the present application are not limited thereto.
[0089] Step 105: The first electronic device presents an interaction screen in which the second virtual object and the state assimilation region approach each other based on the interaction operation between the first virtual object and the second virtual object.
[0090] For example, when the first electronic device displays an interaction screen based on an interaction operation, the second electronic device outputs state representation information indicating that the second virtual object is in an assimilation waiting state when the interaction screen indicates that the second virtual object enters a state assimilation area. Furthermore, when the second electronic device outputs the state representation information indicating that the second virtual object is in an assimilation waiting state, the first electronic device can further display assimilation result information, where the assimilation result information indicates that the second virtual object has been transformed into an assimilation waiting state by the state assimilation area.
[0091] For example, refer to FIG. 8, which is a second schematic diagram of an exemplary interaction interface provided by an embodiment of the present application. As shown in FIG. 8, in the second virtual scene 8-11 of the interface 8-1, a first virtual object 8-12 in a state waiting for assimilation and a state assimilation area 8-13 corresponding to the state waiting for assimilation are presented, and when the second virtual object 8-21 enters the state assimilation area 8-13, assimilation result information 8-22 is presented (the second virtual object 8-21 is waiting for assimilation by your state assimilation area 8-13), as shown in the interface 8-2.
[0092] As can be understood, by associating a first virtual object with a first account, associating a second virtual object with a second account, and presenting a state assimilation area when the first virtual object is in an assimilation waiting state, the second virtual object's entry into the state assimilation area triggers an interaction between the first account and the second account that is simultaneously in an assimilation waiting state. In this way, entering the state assimilation area can trigger an interaction between two accounts that are simultaneously in the same assimilation waiting state, thereby reducing the complexity of the interaction and improving the interaction efficiency. Furthermore, when the first virtual object and the second virtual object realize the interaction between the first account and the second account, by combining the virtual object with the interaction process, the state assimilation interaction process can be presented by the virtual object, improving the visualization effect of the state assimilation, thereby improving the visualization effect of the interaction.
[0093] In an embodiment of the present application, when the interaction operation includes a second interaction operation, in step 102, the second electronic device presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on the interaction operation between the first virtual object and the second virtual object includes the second electronic device responding to the second interaction operation between the first virtual object and the second virtual object and presenting an interaction screen in which the second virtual object approaches the state assimilation area. In this case, the virtual scene-based interaction method includes: the second electronic device responding to the second interaction operation between the first virtual object and the second virtual object and generating first interaction data; and transmitting the first interaction data to the first electronic device, so that the first electronic device presents an interaction screen in which the second virtual object approaches the state assimilation area based on the first interaction data.
[0094] As illustrated, the interaction screen may be presented by the second electronic device in response to an interaction operation, wherein the interaction operation is a second interaction operation received by the second electronic device, and when the second electronic device presents an interaction animation in response to the second interaction operation, it further transmits first interaction data generated in response to the second interaction operation to the first electronic device, so that when the first electronic device receives the first interaction data, it presents a similar interaction animation based on the first interaction data.
[0095] Illustratively, the interaction data includes display data, and the display data is used to present an interaction animation. In some embodiments, the interaction data may include audio data or video data, when the interaction operation is an operation to synchronize the states of a first virtual object and a second virtual object, such as listening to a song or watching a video.
[0096] As can be understood, the second electronic device responds to the second interaction operation based on the presented state assimilation area, and actively transforms the state of the second virtual object into a state waiting for assimilation, which is a kind of interaction that actively triggers state assimilation, thereby improving the success rate of the interaction, further improving the effectiveness of the interaction, and reducing the resource consumption of the interaction.
[0097] In an embodiment of the present application, when the interaction operation includes a first interaction operation, in step 102, the second electronic device presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on the interaction operation between the first virtual object and the second virtual object includes the second electronic device responding to the received second interaction data transmitted by the first electronic device and presenting an interaction screen in which both the first virtual object and the state assimilation area approach each other based on the second interaction data, where the second interaction data is generated by the first electronic device in response to the first interaction operation between the first virtual object and the second virtual object.
[0098] As illustrated, the interaction screen may further be presented by a first electronic device in response to an interaction operation, wherein the interaction operation is a first interaction operation received by the first electronic device, and when the first electronic device presents an interaction animation in response to the first interaction operation, it further transmits second interaction data generated in response to the first interaction operation to a second electronic device, so that when the second electronic device receives the second interaction data, it presents a similar interaction animation based on the second interaction data.
[0099] In an embodiment of the present application, when the interaction operation includes a first interaction operation and a second interaction operation, in step 102, the second electronic device presents an interaction screen in which the second virtual object and the state assimilation area approach each other based on the interaction operation between the first virtual object and the second virtual object. The second electronic device presents an interaction screen in which the state assimilation area and the second virtual object approach each other in response to the second interaction operation and the received second interaction data transmitted by the first electronic device. Similarly, the first electronic device presents an interaction screen in which the state assimilation area and the second virtual object approach each other in response to the first interaction operation and the received first interaction data transmitted by the second electronic device. At this time, the interaction screen is presented by the first electronic device and the second electronic device jointly in response to the interaction operation.
[0100] As illustrated, the first interaction data and the second interaction data may be data transmitted directly between the first electronic device and the second electronic device, or may be data transmitted between the first electronic device and the second electronic device by a server-side device, and the embodiments of the present application are not limited thereto, and in this case, the server-side device is a background service device of the first electronic device and the second electronic device.
[0101] As can be understood, the state assimilation interaction may be triggered by a first electronic device in response to an interaction operation, may be triggered by a second electronic device in response to an interaction operation, or may be triggered by the first electronic device and the second electronic device jointly in response to an interaction operation, thus improving the flexibility of the interaction.
[0102] In the embodiment of the present application, the state of the first virtual object is assimilated with that of the second virtual object by the second virtual object entering the state assimilation area. Compared with the interaction method in the prior art in which both parties need to submit an interaction request, only one operation of entering the virtual object's area is required to perform the interaction between the virtual objects, which improves interaction efficiency and saves the computing resources required for the interaction between the virtual objects.
[0103] Referring to FIG. 9, FIG. 9 is an exemplary interaction diagram of a second virtual object entering a state assimilation area provided by an embodiment of the present application. As shown in FIG. 9, in step 103 of FIG. 5, the second electronic device responds to the second virtual object entering the state assimilation area by outputting state expression information indicating that the second virtual object is waiting for assimilation, which includes steps 1031 to 1035. Each step will be described below.
[0104] Step 1031: In response to the second virtual object entering the state assimilation area, the second electronic device transmits a state assimilation request to the server-side device.
[0105] As illustrated, the state assimilation request is used to request that the state of the second virtual object be converted into a state waiting for assimilation, and the state assimilation request includes at least a first account corresponding to the state assimilation area and a second account associated with the second virtual object, so that the server-side device determines the state content of the state waiting for assimilation of the first virtual object based on the first account, and converts the state of the second object into the state waiting for assimilation of the first virtual object based on the second account.
[0106] Step 1032: In response to the state assimilation request, the server-side device transmits an information reproduction request to the first electronic device.
[0107] In an embodiment of the present application, when the second electronic device sends a state assimilation request to the server-side device, the server-side device receives the state assimilation request, and the server-side device responds to the state assimilation request by sending an information playback request to the first electronic device to request current playback information of the state content in the assimilation-waiting state in which the first virtual object exists from the first electronic device, where the current playback information includes the current playback content and a current playback progress corresponding to the current playback content, such as at least one of audio information and video information currently being played by the first electronic device and the corresponding current playback progress, where the current playback content is the content played by the first virtual object in the assimilation-waiting state, and the current playback progress is the playback progress of the current playback content.
[0108] Step 1033: In response to the information playback request, the first electronic device transmits the current playback content and the current playback progress to the server-side device.
[0109] In an embodiment of the present application, when a server-side device sends an information playback request to a first electronic device, the first electronic device receives the information playback request, and then responds to the information playback request by sending the current playback content and the current playback progress to the server-side device.
[0110] Step 1034: The server-side device transmits the current playback content and the current playback progress to the second electronic device.
[0111] As illustrated, the server-side device can request current playback information and current playback content from the first electronic device, and can further obtain the current playback information and current playback content based on synchronization data for the first account of the server-side device itself, but the embodiments of the present application are not limited thereto.
[0112] Step 1035: The second electronic device plays the current playback content at the current playback speed.
[0113] As illustrated, the state representation information indicating that the second virtual object is in the assimilation waiting state includes reproducing the current reproduction content at the current reproduction progress.
[0114] In the present embodiment, when the second electronic device sends a state assimilation request to the server device, the acquired content may also be the currently played content, and the second electronic device then plays the currently played content. That is, through the state assimilation interaction, the first electronic device and the second electronic device may have the same playback content, or may have the same playback content and playback progress, but the present embodiment is not limited thereto.
[0115] In the embodiment of the present application, state assimilation can be used to set the contents played on different electronic devices to be consistent, and further set the playback progress to be consistent, thereby improving the interest of interactions between virtual objects in virtual scenes and improving the efficiency of man-machine interaction.
[0116] Continuing to refer to FIG. 9, after step 1034, the virtual scene-based interaction method further includes steps 1036 and 1037, that is, after receiving the state assimilation result sent by the server-side device in response to the state assimilation request, the virtual scene-based interaction method further includes steps 1036 and 1037, and each step is described below.
[0117] Step 1036: The second electronic device presents a playback control interface, where at least one of a current playback progress, a current playback content, content-related information, and a volume control component is presented in the playback control interface.
[0118] As illustrated, the content-related information is information related to the currently played content, such as at least one of the name of the played content, the content providing object, the content cover image, and the content details, and the volume control component is used to control the playback volume of the currently played content, where the status representation information further includes a playback control interface.
[0119] Step 1037: When the volume control component is presented in the playback control interface, the second electronic device adjusts and controls the playback volume of the currently played content in response to a volume adjustment control operation on the volume control component.
[0120] In an embodiment of the present application, when a volume control component is presented in the playback control interface, and a user triggers the volume control component to adjust the volume using a second account, or receives an automated command to trigger the volume control component, the second electronic device receives a volume adjustment control operation on the volume control component, and at this time, the second electronic device responds to the volume adjustment control operation and adjusts the playback volume of the currently played content, where the playback volume adjustment control includes volume on / off adjustment control, volume loudness adjustment control, etc.
[0121] In an embodiment of the present application, in step 103 of FIG. 5 , the second electronic device responding to the second virtual object entering the state assimilation area and outputting state representation information of the second virtual object in a state waiting for assimilation may include the second electronic device responding to the second virtual object entering the state assimilation area and presenting authority prompt information, and then the second electronic device responding to a successful acquisition operation for the authority prompt information and outputting state representation information of the second virtual object in a state waiting for assimilation, and further including the second electronic device responding to a failed acquisition operation for the authority prompt information and presenting a screen of the second virtual object outside the state assimilation area, and terminating control of converting the state of the second virtual object to a state waiting for assimilation.
[0122] As illustrated, when the second electronic device responds to the second virtual object entering the state assimilation area, it first determines whether the second virtual object has the authority to enter the assimilation waiting state, where the authority to enter the assimilation waiting state refers to the authority to acquire the state content of the assimilation waiting state of the first virtual object. Here, the authority prompt information represents prompt information for authority acquisition, and the first virtual object acquires the authority for the state content of the assimilation waiting state according to the authority prompt information. Here, the successful acquisition operation represents successful acquisition of the authority in the assimilation waiting state by controlling the second virtual object, such as an authority trading operation (representing an operation to acquire authority through a transaction) or an authority application operation (representing an operation to apply for acquisition of authority). The unsuccessful acquisition operation represents failure to acquire the authority in the assimilation waiting state by controlling the second virtual object, and may be an operation to cancel the acquisition of authority, or may even be an error operation in the authority acquisition, but the embodiment of the present application is not limited thereto.
[0123] In an embodiment of the present application, presenting authority prompt information by the second electronic device in response to the second virtual object entering the state assimilation area includes: the second electronic device sending an authority judgment request, in which the second account is carried, to the server-side device in response to the second virtual object entering the state assimilation area; receiving the authority judgment result sent by the server-side device in response to the authority judgment request; presenting the authority prompt information when the authority judgment result indicates that the second virtual object does not have the authority to be in the assimilation waiting state; and directly outputting state expression information of the second virtual object in the assimilation waiting state when the authority judgment result indicates that the second virtual object includes the authority to be in the assimilation waiting state.
[0124] As illustrated, the presentation of the authority prompt information is triggered when the second virtual object or the second account does not have the authority to acquire the state content of the first virtual object in the assimilation waiting state. Here, the authority determination request is used to request to determine whether the second virtual object has the authority to be in the assimilation waiting state based on the second account. If the authority is granted, the second electronic device outputs the state representation information of the second virtual object in the assimilation waiting state. If not, the state assimilation interaction is terminated, and at this time, the second electronic device can also present the prompt information of the interaction failure.
[0125] Referring to Figure 10, Figure 10 is a third schematic diagram of the process of the virtual scene interaction method provided by an embodiment of the present application. As shown in Figure 10, in the embodiment of the present application, after the second electronic device outputs state expression information of the second virtual object waiting for assimilation in response to the second virtual object entering the state assimilation area in step 103 of Figure 5, and after the first electronic device presents an interaction screen in which the second virtual object and the state assimilation area are approaching based on the interaction operation between the first virtual object and the second virtual object in step 105 of Figure 7, the virtual scene-based interaction method further includes steps 106 to 109, and each step will be described below.
[0126] Step 106: During the process in which the interaction screen indicates that the second virtual object is within the state assimilation area, the first electronic device responds to a content switching operation for the state content in which the first virtual object is waiting to be assimilated, obtains content switching information, and updates the state content presenting the state in which the first virtual object is waiting to be assimilated based on the content switching information.
[0127] As illustrated, the content switching operation is used to switch the state content of the first virtual object in the assimilation waiting state, and the content switching information refers to the state content of the first virtual object in the assimilation waiting state after the content is switched.
[0128] Step 107: The first electronic device sends content switching information to the second electronic device.
[0129] As illustrated, the first electronic device transmits content switching information to the second electronic device, and the second electronic device updates the status expression information output based on the content switching information, thereby realizing synchronous updating of the status content.
[0130] Step 108: During the process in which the second virtual object is in the assimilation waiting state, the second electronic device updates the state expression information based on the content switching information, and obtains the state information to be output.
[0131] In an embodiment of the present application, when the first electronic device sends content switching information to the second electronic device, the second electronic device receives the content switching information sent by the first electronic device, and the content switching information is generated by the first electronic device in response to a content switching operation for the assimilation waiting state, and the state content of the assimilation waiting state in which the second virtual object is located matches the state content of the assimilation waiting state in which the first virtual object is located, so that the second electronic device updates and outputs the output state representation information based on the content switching information, and the output state information is the updated state representation information.
[0132] Step 109: The second electronic device outputs the status information to be output.
[0133] As illustrated, the second electronic device updates the state representation information to obtain the state information to be output, and then outputs the state information to be output, thereby maintaining the state content of the first virtual object so that it continues to match the state content of the first virtual object.
[0134] In an embodiment of the present application, after the second electronic device outputs state representation information indicating that the second virtual object is in an assimilation waiting state in response to the second virtual object entering the state assimilation region in step 103, and after the first electronic device presents an interaction screen in which the second virtual object and the state assimilation region approach each other based on the interaction operation between the first virtual object and the second virtual object in step 105, the virtual scene-based interaction method further includes a process of terminating the state assimilation interaction, which process includes: the second electronic device presents a separation animation between the second virtual object and the state assimilation region based on the separation operation between the second virtual object and the state assimilation region, and terminates the output of the state representation information in response to the separation animation indicating the separation between the second virtual object and the state assimilation region. Alternatively, in a process in which the interaction screen indicates that the second virtual object is within the state assimilation area, the first electronic device transmits a state exit message to the second electronic device in response to a state exit operation for controlling the first virtual object to exit the assimilation waiting state, causing the second electronic device to terminate output of the state expression information based on the state exit message, whereby the second electronic device responds to the received state exit message transmitted by the first electronic device and terminates output of the state expression information. Here, the state exit message is generated by the first electronic device in response to the state exit operation, and the state exit operation represents an operation for controlling the first virtual object to exit the assimilation waiting state.
[0135] As illustrated, the separation operation includes one or both of a first separation operation and a second separation operation, where the first separation operation represents a movement operation in which a first account controls a first virtual object and a state assimilation area to move both away from a second virtual object, and the second separation operation represents a movement operation in which a second account controls a second virtual object to move away from the state assimilation area.
[0136] In an embodiment of the present application, when the separation operation is the first separation operation, the first electronic device responds to the first separation operation by sending a separation message to the second electronic device while the interaction screen indicates that the second virtual object is within the state assimilation area. At this time, the second electronic device presents a separation animation in which the state assimilation area separates from the second virtual object based on the separation message, and terminates output of the state expression information in response to the separation animation indicating the separation between the second virtual object and the state assimilation area.
[0137] In an embodiment of the present application, when the separation operation is a second separation operation, the second electronic device, in the process in which the interaction screen represents that the second virtual object is within the state assimilation area, responds to the second separation operation, presents a separation animation of the second virtual object leaving the state assimilation area, and sends an active separation message to the first electronic device, and in response to the separation animation representing the separation of the second virtual object and the state assimilation area, terminates the output of state expression information; at this time, the first electronic device presents a separation animation of the second virtual object leaving the state assimilation area based on the active separation message, and displays prompt information for the end of state assimilation when the separation animation represents the separation of the second virtual object and the state assimilation area.
[0138] In the embodiment of the present application, when the separation operation includes a first separation operation and a second separation operation, the separation animation is an animation in which the second virtual object and the state assimilation region move away from each other.
[0139] An exemplary application of an embodiment of the present application in a practical application scenario will be described below, which describes a process for realizing two accounts listening to a song together through the interaction of their respective virtual characters.
[0140] In the embodiments of the present application, when a virtual object enters a state assimilation area, state synchronization between the virtual object and other virtual objects is realized, and when the virtual object leaves the state assimilation area, state desynchronization between the virtual object and other virtual objects is realized, thereby improving interaction efficiency and increasing the degree of freedom of interaction between virtual objects in a virtual scene.
[0141] Referring to Figure 11, Figure 11 is a schematic diagram of an exemplary process of listening to songs together provided by an embodiment of the present application. The schematic diagram of the exemplary process of listening to songs together shown in Figure 11 includes steps 1101 to 1110, and each step will be described respectively below.
[0142] Step 1101: In response to a song listening state setting operation (referred to as a state setting operation) for account B (first account), terminal B (referred to as the first electronic device) presents information that virtual character B (referred to as the first virtual object) of account B is in a song listening state (referred to as an assimilation waiting state) in a virtual scene (referred to as a second virtual scene), and a range frame (referred to as a state assimilation area).
[0143] As illustrated, when user B turns on song listening in a virtual scene using terminal B, terminal B receives a song listening state setting operation for account B, and terminal B responds to the song listening state setting operation by presenting virtual character B in the virtual scene whose character state is listening to a song, presenting the name and singer of the song being listened to, and presenting a range frame with an animation effect centered on virtual character B.
[0144] 12, an interface 12-1 presents a title 12-11 and a virtual scene 12-12, in which a virtual object 12-13 (virtual character B "Honey", referred to as the first virtual character) is presented. In response to a song listening state setting operation for the virtual object 12-13, an interface 12-2 presents a title 12-21 and a virtual scene 12-22, in which a virtual object 12-23 (virtual character B "Honey", referred to as the first virtual character) whose character state is listening to a song is presented. In addition, song information 12-24 (song name-singer), a range frame 12-25 with an animation effect, and a musical code corresponding to the virtual object 12-23 are presented.
[0145] Step 1102: Terminal A (referred to as the second electronic device) presents information and a range frame in which virtual character B of account B is listening to a song in a virtual scene (referred to as the first virtual scene).
[0146] As illustrated, the content presented on terminal A is the same as that on terminal B, and terminal A similarly presents information and range frames in which virtual character B of account B is listening to a song in a virtual scene.
[0147] Step 1103: Terminal A controls virtual character A (referred to as second virtual object) of account A (referred to as second account) to enter the range frame.
[0148] As illustrated, user A enters the range frame by controlling the movement of virtual character A of account A using terminal A.
[0149] For example, refer to FIG. 13, which is a schematic diagram of an exemplary trigger state change provided by an embodiment of the present application. As shown in FIG. 13, in an interface 13-1, a title 13-11 and a virtual scene 13-12 are presented. In the virtual scene 13-12, a virtual object 13-13 (virtual character B "Honey", referred to as the first virtual character) whose character state is listening to a song is presented. Song information 13-14 and a range frame 13-15 with animation effects are further presented. A virtual object 13-16 (i.e., virtual character A) is further presented. The virtual object 13-16 gradually advances into the range frame 13-15 in the virtual scene 13-12, thereby entering the range frame 13-15.
[0150] Step 1104: When the virtual object A enters the range frame, terminal A judges whether it has the right to listen to the song. If it does, execute step 1106; if it does not, execute step 1105.
[0151] As illustrated, when virtual object A enters the range frame, it triggers terminal A to make a song listening authority judgment.
[0152] Step 1105: Terminal A obtains song listening authority, and then executes step 1104.
[0153] As illustrated, when it is determined that account A does not have the authorization to listen to the song, terminal A will present prompt information (referred to as authorization prompt information). See FIG. 14, which is a schematic diagram illustrating exemplary prompt information provided by an embodiment of the present application. As shown in FIG. 14, a pop-up window 14-11 is presented in interface 14-1. The pop-up window 14-11 includes description information 14-111 (listening to the song requires membership. Would you like to create a membership?), a button 14-112 ("Cancel"), and a button 14-113 ("Create") for obtaining authorization. When button 14-113 is triggered, step 1105 is executed. When button 14-112 is triggered, an animation of virtual object A exiting the range frame is presented.
[0154] Step 1106: Terminal A synchronously plays the song played by terminal B and listened to by account B, and displays the control panel, and then executes step 1107 or step 1108.
[0155] For example, when account A has song listening privileges, account A can listen to the song that account B listens to, so that terminal A synchronously plays the song that account B listens to on terminal B and presents a control panel, where the playback progress of terminal A and terminal B is synchronized, and the control panel is used to control the on / off of the song's sound, and the control panel is further used to present the cover, name, singer, and lyrics of the song.
[0156] For example, refer to Figure 15, which is a schematic diagram of synchronously listening to an exemplary song provided by an embodiment of the present application. As shown in Figure 15, in interface 15-1, a title 15-11 and a virtual scene 15-12 are presented, in which, in virtual scene 15-12, a virtual object 15-13 (referred to as "Honey", virtual character B) whose character state is listening to a song is presented, song information 15-14 and a range frame 15-15 with animation effects are further presented, and a virtual object 15-16 (referred to as virtual character A) is further presented. Here, when the virtual object 15-16 gradually advances to the range frame 15-15 in the virtual scene 15-12 and enters the range frame 15-15, and the account A has the song listening authority for the song information 15-14, as shown in the interface 15-2, the title 15-21 and the virtual scene 15-22 are presented in the interface 15-2, and here, in the virtual scene 15-22, a virtual object 15-23 (referred to as "Honey", virtual character B) whose character state is listening to a song is presented. In addition, song information 15-24 and a range frame 15-25 with animation effects are further presented, a virtual object 15-26 (referred to as virtual character A) located within the range frame 15-25 is further presented, and a control panel 15-27 (referred to as playback control interface) is further presented, in which a song cover 15-271, song name 15-272, singer 15-273, lyrics 15-274, and song playback audio on / off icon 15-275 are presented, and may further include playback progress.
[0157] Step 1107: When the virtual character B corresponding to the account B on the terminal B exits the song listening state, the terminal A ends the playback of the song being listened to together.
[0158] As illustrated, the end of song playback on terminal A may be triggered by an event in which virtual character B exits the song listening state. For example, refer to FIG. 16, which is a schematic diagram of an exemplary song listening state exit provided by an embodiment of the present application. As shown in FIG. 16, an interface 16-1 presents a title 16-11 and a virtual scene 16-12. In the virtual scene 16-12, a virtual object 16-13 (referred to as "Honey," virtual character B) whose character state is listening to a song is presented. Song information 16-14 and a range frame 16-15 with an animation effect are further presented. A virtual object 16-16 (referred to as virtual character A) located within the range frame 16-15 is further presented. A control panel 16-17 is further presented. When terminal B responds to the song listening state exit operation and converts virtual character B from the song listening state to the normal state, as shown in interface 16-2, a title 16-21 and a virtual scene 16-22 are presented in interface 16-2, in which a virtual object 16-23 (referred to as "Honey", virtual character B) whose character state is the normal state is presented in virtual scene 16-22, and a virtual object 16-26 (referred to as virtual character A) whose character state is the normal state is also presented. In interface 16-2, song information 16-14, range frame 16-15 with animation effect, and control panel 16-17 in interface 16-1 disappear.
[0159] Step 1108: When terminal A controls virtual character A corresponding to account A to exit the range frame, terminal A ends the playback of the song being listened to together.
[0160] Illustratively, the end of song playback on terminal A may be triggered by an event in which virtual character A exits a range frame. For example, refer to FIG. 17, which is a schematic diagram of exiting another exemplary song listening state provided by an embodiment of the present application. As shown in FIG. 17, an interface 17-1 presents a title 17-11 and a virtual scene 17-12. In the virtual scene 17-12, a virtual object 17-13 (referred to as "Honey," virtual character B) whose character state is listening to a song is presented. Song information 17-14 and a range frame 17-15 with animation effects are further presented. A virtual object 17-16 (referred to as virtual character A) located within the range frame 17-15 is further presented. A control panel 17-17 is further presented. When terminal A controls virtual character A to exit the range frame, as shown in interface 17-2, a title 17-21 and a virtual scene 17-22 are presented in interface 17-2, where a virtual object 17-23 (referred to as "Honey", virtual character B) whose character state is listening to a song is presented in virtual scene 17-22, song information 17-24 and a range frame 17-25 with animation effects are further presented, and a virtual object 17-26 (referred to as virtual character A) whose character state is normal is further presented. In interface 17-2, the control panel 17-17 in interface 17-1 has already disappeared.
[0161] Based on FIG. 11, reference is made to FIG. 18, which is a schematic diagram of an exemplary interaction of listening to songs together provided by an embodiment of the present application. As shown in FIG. 18, the exemplary interaction process of listening to songs together includes steps 1801 to 1812, and each step will be described below.
[0162] Step 1801: Terminal B receives a song listening on operation (referred to as a song listening state setting operation).
[0163] Step 1802: In response to the song listening on operation, the terminal B sets the state of the virtual character B of the account B to a song listening state, and presents song listening information and range frames.
[0164] Step 1803: Terminal A presents the song listening information and range frame of virtual character B of account B.
[0165] Step 1804: Terminal A controls virtual character A of account A to enter the range frame.
[0166] Step 1805: In response to the virtual character A of account A entering the range frame, terminal A transmits an authority determination request to the server (referred to as a server-side device) for account A and the song.
[0167] Step 1806: The server responds to the authority determination request and determines that it does not have the song listening authority.
[0168] Step 1807: The server sends information to terminal A that terminal A does not have the right to listen to songs.
[0169] Step 1808: Terminal A presents transaction prompt information (referred to as authority prompt information) based on the information that the user does not have the song listening authority.
[0170] Step 1809: Terminal A responds to the transaction operation for the transaction prompt information and sends an authorization acquisition request to the server.
[0171] Step 1810: The server responds to the authorization acquisition request and acquires the playback progress (referred to as the current playback progress) from terminal B.
[0172] Step 1811: The server sends song information (called current playback content) and playback progress to terminal A.
[0173] Step 1812: Terminal A plays the song information according to the playback progress and displays the playback panel.
[0174] As can be seen, the embodiments of the present application provide a method for jointly listening to songs in a virtual scene, which can realize active interactive song listening. Furthermore, since the virtual character is a mapping in the virtual scene of the account, by combining with the virtual scene, the visualization of the interaction can be realized, which further improves the interaction effect. Furthermore, by entering the range frame, the interaction of listening to songs together can be realized, which improves the interaction efficiency of listening to songs and reduces the resource consumption of interaction for listening to songs.
[0175] The following description will continue to describe an exemplary structure in which the first interaction device 455 provided by the embodiments of the present application is implemented as a software module. In some embodiments, as shown in FIG. 3, the software module in the first interaction device 455 stored in the first memory 450 is: a state setting module (4551) configured to, in a second virtual scene, respond to a state setting operation on a first virtual object, present the first virtual object in an assimilation waiting state and a state assimilation region corresponding to the assimilation waiting state, where the first virtual object corresponds to a first account; The device may include a first interaction module 4552 configured to present an interaction screen in which the second virtual object and the state assimilation area approach each other based on an interaction operation between the first virtual object and a second virtual object, where the second virtual object corresponds to a second account, the interaction operation represents an interaction between the first account and the second account, and when the interaction screen represents the second virtual object entering the state assimilation area, a second electronic device is used to output state representation information that the second virtual object is in the assimilation waiting state, where the second electronic device is an electronic device to which the second account is logged in.
[0176] In an embodiment of the present application, the first interaction device 455 further includes a first switching module 4553, which is configured to, in the process of the interaction screen representing that the second virtual object is within the state assimilation area, respond to a content switching operation for the state content of the assimilation waiting state in which the first virtual object is located, obtain content switching information, and send the content switching information to the second electronic device, so that the second electronic device updates the state expression information output based on the content switching information.
[0177] In an embodiment of the present application, the first interaction device 455 further includes a first exit module 4554, which, in the process of the interaction screen representing that the second virtual object is in the state assimilation area, responds to a state exit operation of controlling the first virtual object to exit the assimilation waiting state and sends a state exit message to the second electronic device, so that the second electronic device terminates output of the state expression information based on the state exit message; or, in the process of the interaction screen representing that the second virtual object is in the state assimilation area, responds to a first separation operation. The second electronic device is configured to present a separation animation of the state assimilation area moving away from the second virtual object, and to send a separation message to the second electronic device, so that the second electronic device presents a separation animation of the state assimilation area moving away from the second virtual object based on the separation message, and in response to the separation animation representing the separation of the second virtual object and the state assimilation area, terminate output of the state expression information, wherein the first separation operation represents a movement operation of controlling the first virtual object and the state assimilation area by the first account to move both away from the second virtual object.
[0178] The following description continues to describe an exemplary structure in which the second interaction device 255 provided by the embodiments of the present application is implemented as a software module. In some embodiments, as shown in FIG. 4, the software modules in the second interaction device 255 stored in the second memory 250 include: a status display module 2551 configured to present, in a first virtual scene, a first virtual object in a waiting-to-assimilate state and a status assimilation region corresponding to the waiting-to-assimilate state, where the first virtual object is associated with a first account; and a second interaction module 2552 configured to present an interaction screen in which the second virtual object and the state assimilation region approach each other based on an interaction operation between the first virtual object and a second virtual object, where the second virtual object is associated with a second account, and the interaction operation represents an interaction between the first account and the second account; and a state interaction module 2553 configured to, when the interaction screen represents the second virtual object entering the state assimilation area, output state representation information that the second virtual object is in the assimilation waiting state in response to the second virtual object entering the state assimilation area.
[0179] In an embodiment of the present application, the assimilation waiting state includes at least one of an audio listening state and a video watching state, where the audio listening state represents a state in which a virtual object listens to audio information, the video watching state represents a state in which the virtual object watches video information, and the first virtual object and the second virtual object are both the virtual objects.
[0180] In an embodiment of the present application, the interaction operation includes one or two of a first interaction operation and a second interaction operation, wherein the first interaction operation represents a movement operation of controlling the first virtual object by the first account to approach the second virtual object, the state assimilation area moving in synchronization with the first virtual object, and the second interaction operation represents a movement operation of controlling the second virtual object by the second account to approach the state assimilation area.
[0181] In an embodiment of the present application, when the interaction operation includes a second interaction operation, the second interaction module 2552 is further configured to respond to the second interaction operation between the first virtual object and the second virtual object and present the interaction screen in which the second virtual object approaches the state assimilation area, where the second interaction operation is responded to by a second electronic device, the second electronic device being an electronic device in which the second account is logged in, and to generate first interaction data in response to the second interaction operation between the first virtual object and the second virtual object and send the first interaction data to the first electronic device, so that the first electronic device presents the interaction screen in which the second virtual object approaches the state assimilation area based on the first interaction data.
[0182] In an embodiment of the present application, when the interaction operation includes a first interaction operation, the second interaction module 2552 is further configured to respond to second interaction data received and sent by the first electronic device, and present the interaction screen in which the first virtual object and the state assimilation area both approach the second virtual object based on the second interaction data, where the second interaction data is generated by the first electronic device in response to the first interaction operation between the first virtual object and the second virtual object, and the first electronic device is an electronic device into which the first account is logged in.
[0183] In an embodiment of the present application, the state interaction module 2553 is further configured to send a state assimilation request to a server-side device in response to the second virtual object entering the state assimilation area, where the server-side device is a background service device of the first electronic device and the second electronic device. The state assimilation request is used to request that the state of the second virtual object be converted into the assimilation waiting state. The server-side device receives the current playback content and the current playback progress sent by the server-side device in response to the state assimilation request, and plays the current playback content at the current playback progress, where the current playback content is the content played by the first virtual object in the assimilation waiting state, the current playback progress is the playback progress of the current playback content, and the state expression information of the second virtual object in the assimilation waiting state includes playing the current playback content at the current playback progress.
[0184] In an embodiment of the present application, the state interaction module 2553 is further configured to present a playback control interface, where at least one of the current playback progress, the current playback content, content-related information, and a volume control component is presented in the playback control interface, the content-related information is information related to the current playback content, and the state expression information further includes the playback control interface; and when the volume control component is presented in the playback control interface, adjusts and controls the playback volume of the current playback content in response to a volume adjustment control operation on the volume control component.
[0185] In an embodiment of the present application, the state interaction module 2553 is further configured to: present authority prompt information in response to the second virtual object entering the state assimilation area, where the authority prompt information represents prompt information for authority acquisition; and, in response to an acquisition success operation on the authority prompt information, output the state expression information that the second virtual object is in the assimilation waiting state, where the acquisition success operation represents controlling the second virtual object to successfully acquire the authority in the assimilation waiting state.
[0186] In an embodiment of the present application, the state interaction module 2553 is further configured to, in response to the second virtual object entering the state assimilation area, send an authority determination request to the server-side device, carrying a second account, where the authority determination request is used to request determining whether the second virtual object has the authority to be in the assimilation waiting state based on the second account; receive an authority determination result sent by the server-side device in response to the authority determination request, and the authority determination result represents presenting the authority prompt information when the second virtual object does not have the authority to be in the assimilation waiting state.
[0187] In an embodiment of the present application, the state interaction module 2553 is further configured to respond to an acquisition failure operation on the authority prompt information, present a screen in which the second virtual object is outside the state assimilation area, and terminate control of converting the state of the second virtual object into the assimilation waiting state, where the acquisition failure operation represents a failure to control the second virtual object to acquire the authority in the assimilation waiting state.
[0188] In an embodiment of the present application, the second interaction device 255 further includes a second exit module 2554, which is configured to present a separation animation between the second virtual object and the state assimilation area based on a separation operation between the second virtual object and the state assimilation area, and to terminate output of the state expression information in response to the separation animation representing the separation between the second virtual object and the state assimilation area, where the separation operation includes one or both of a first separation operation and a second separation operation, and the first separation operation is configured to: The count represents a movement operation of controlling the first virtual object and the state assimilation area to move away from the second virtual object, the second separation operation represents a movement operation of controlling the second virtual object to move away from the state assimilation area by the second account, or terminates output of the state expression information in response to a state exit message received and sent by the first electronic device, wherein the state exit message is generated by the first electronic device in response to a state exit operation, and the state exit operation represents an operation of controlling the first virtual object to exit from the assimilation waiting state.
[0189] In an embodiment of the present application, the second interaction device 255 further includes a second switching module 2555, which is configured to receive content switching information sent by the first electronic device while the second virtual object is in the assimilation waiting state, where the content switching information is generated by the first electronic device in response to a content switching operation for the assimilation waiting state, and the content switching operation is used to switch the state content of the assimilation waiting state in which the first virtual object is located, and update the state expression information based on the content switching information, obtain output state information, and output the output state information.
[0190] In an embodiment of the present application, the state assimilation area is one or both of an object mark area and an object formation area, where the object mark area refers to an area marked by the first virtual object, and the object formation area refers to an area formed based on the first virtual object.
[0191] An embodiment of the present application provides a computer program product, the computer program product including a computer program or computer-executable instructions stored in a computer-readable storage medium. A first processor of a first electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, thereby causing the first electronic device to perform the virtual scene-based interaction method applied to the first electronic device of the embodiment of the present application. A second processor of a second electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, thereby causing the second electronic device to perform the virtual scene-based interaction method applied to the second electronic device of the embodiment of the present application.
[0192] An embodiment of the present application provides a computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions, when executed by a first processor, cause the first processor to execute a virtual scene-based interaction method applied to a first electronic device provided by an embodiment of the present application, for example, the virtual scene-based method applied to the first electronic device shown in FIG. 7, and the computer-executable instructions, when executed by a second processor, cause the second processor to execute a virtual scene-based interaction method applied to a second electronic device provided by an embodiment of the present application, for example, the virtual scene-based method applied to the second electronic device shown in FIG. 5.
[0193] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM, or may be various devices including one or any combination of the above memories.
[0194] In some embodiments, the computer-executable instructions may take the form of a program, software, software module, script, or code, written in any type of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, assembly, subroutine, or other unit suitable for use in a computing environment.
[0195] By way of example, the computer-executable instructions may correspond to a file in a file system, but may not necessarily correspond to a file in a file system, and may instead be stored in part of another program or file that stores data, such as in one or more scripts of a HyperText Markup Language (HTML) document, in a single file dedicated to the program under consideration, or in multiple cooperating files (e.g., one or more modules, subroutines, or files that store code).
[0196] For example, the computer-executable instructions may be deployed to be executed on one electronic device (where the one electronic device is the first electronic device and the second electronic device), or to be executed on multiple electronic devices located at one location (where the multiple electronic devices located at one location are the first electronic device and the second electronic device), or further, or to be executed on multiple electronic devices distributed across multiple locations and connected to each other by a communication network (where the multiple electronic devices distributed across multiple locations and connected to each other by a communication network are the first electronic device and the second electronic device).
[0197] As can be understood, in the embodiments of the present application, with respect to data related to assimilation waiting status, status content, etc., when the embodiments of the present application are applied to a specific product or technology, user permission or consent must be obtained, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant country or region.
[0198] As described above, the embodiment of the present application associates a first virtual object with a first account, associates a second virtual object with a second account, and presents a state assimilation area when the first virtual object is in an assimilation waiting state, so that the second virtual object entering the state assimilation area triggers an interaction between the first account and the second account that is simultaneously in an assimilation waiting state; in this way, entering the state assimilation area can trigger an interaction that is simultaneously in the same assimilation waiting state, thereby reducing the complexity of the interaction and improving the interaction efficiency.
[0199] The above is merely an example of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application should be included within the scope of protection of the present application. [Explanation of symbols]
[0200] 1-1 Interface 1-11 Icon 1-2 Interface 1-3 Interface 6-1 Interface 6-11 First Virtual Scene 6-13 State Assimilation Region 6-2 Interface 6-21 Second virtual object 6-22 Status Content Control Information 8-1 Interface 8-11 Second virtual scene 8-13 State Assimilation Region 8-2 Interface 8-21 Second virtual object 8-22 Assimilation Results Information 12-1 Interface 12-12 Virtual Scene 12-13 Virtual Objects 12-2 Interface 12-22 Virtual Scene 12-23 Virtual Objects 12-24 Song information 13-1 Interface 13-12 Virtual Scene 13-13 Virtual Objects 13-15 Range Frame 13-16 Virtual Objects 14-1 Interface 14-11 Pop-up windows 14-111 Descriptive Information 14-112 Button 14-113 Button 15-1 Interface 15-12 Virtual Scene 15-13 Virtual Objects 15-14 Song information 15-15 range frame 15-16 Virtual Objects 15-2 Interface 15-22 Virtual Scene 15-23 Virtual Objects 15-26 Virtual Objects 15-27 Control Panel 15-275 On / Off Icon 16-1 Interface 16-12 Virtual Scene 16-13 Virtual Objects 16-16 Virtual Objects 16-17 Control Panel 16-2 Interface 16-22 Virtual Scene 16-23 Virtual Objects 16-26 Virtual Objects 17-1 Interface 17-12 Virtual Scene 17-13 Virtual Objects 17-16 Virtual Objects 17-17 Control Panel 17-2 Interface 17-22 Virtual Scene 17-23 Virtual Objects 17-25 range frame 17-26 Virtual Objects 100 Interaction System 200 devices 200-1 Graphics Interface 210 Second Processor 220 Second Network Interface 230 Secondary User Interface 231 Secondary Output Device 232 Second input device 240 Second Bus System 250 Second Memory 251 Second Operating System 252 Second Network Communication Module 253 Second Presentation Module 254 Second Input Processing Module 255 Second Interaction Device 300 Network 400 terminals 400-1 Graphics Interface 410 First Processor 420 First Network Interface 430 First User Interface 431 First Output Device 432 First Input Device 440 Bus System No. 1 450 First Memory 451 First Operating System 452 First Network Communication Module 453 First Presentation Module 454 First Input Processing Module 455 First Interaction Device 500 databases 600 servers 2551 Status Display Module 2552 Second Interaction Module 2553 State Interaction Module 2554 Second Exit Module 2555 Module 4551 Status Setting Module 4552 First Interaction Module 4553 Module 4554 First Exit Module
Claims
1. 1. A virtual scene-based interaction method, the method being performed by an electronic device, the method comprising: presenting, in a first virtual scene, a first virtual object in a state waiting for assimilation and a state assimilation region corresponding to the state waiting for assimilation, wherein the first virtual object is associated with a first account; presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on an interaction operation between the first virtual object and a second virtual object, wherein the second virtual object is associated with a second account, and the interaction operation represents an interaction between the first account and the second account; and when the interaction screen represents that the second virtual object is entering the state assimilation area, outputting state representation information indicating that the second virtual object is in the assimilation waiting state in response to the second virtual object entering the state assimilation area.
2. 2. The method of claim 1 , wherein the assimilation waiting state includes at least one of an audio listening state and a video viewing state, wherein the audio listening state represents a state in which a virtual object listens to audio information, the video viewing state represents a state in which the virtual object watches video information, and the first virtual object and the second virtual object are both the virtual object.
3. 2. The method of claim 1 , wherein the interaction operation includes one or two of a first interaction operation and a second interaction operation, wherein the first interaction operation represents a movement operation of controlling the first virtual object with the first account to approach the second virtual object, the state assimilation area moving in synchronization with the first virtual object, and the second interaction operation represents a movement operation of controlling the second virtual object with the second account to approach the state assimilation area.
4. When the interaction operation includes a second interaction operation, the step of presenting an interaction screen in which the second virtual object and the state assimilation region approach each other based on the interaction operation between the first virtual object and the second virtual object includes: presenting the interaction screen in which the second virtual object approaches the state assimilation area in response to the second interaction operation between the first virtual object and the second virtual object, wherein the second interaction operation is responded to by a second electronic device, and the second electronic device is an electronic device to which the second account is logged in; The method further comprises: generating first interaction data in response to the second interaction operation between the first virtual object and the second virtual object; The method according to any one of claims 1 to 3, further comprising a step of transmitting the first interaction data to a first electronic device, whereby the first electronic device presents the interaction screen in which the second virtual object approaches the state assimilation area based on the first interaction data.
5. When the interaction operation includes a first interaction operation, the step of presenting an interaction screen in which the second virtual object and the state assimilation region approach each other based on the interaction operation between the first virtual object and a second virtual object includes: The method according to any one of claims 1 to 3, further comprising the step of: in response to the received second interaction data transmitted by the first electronic device, presenting the interaction screen in which the first virtual object and the state assimilation area both approach the second virtual object based on the second interaction data, wherein the second interaction data is generated by the first electronic device in response to the first interaction operation between the first virtual object and the second virtual object, and the first electronic device is an electronic device to which the first account is logged in.
6. the step of outputting state representation information that the second virtual object is in the assimilation waiting state in response to the second virtual object entering the state assimilation area, sending a state assimilation request to a server-side device in response to the second virtual object entering the state assimilation area, where the server-side device is a background service device for the first electronic device and the second electronic device, and the state assimilation request is used to request that the state of the second virtual object be converted into the assimilation waiting state; receiving the current playback content and the current playback progress transmitted by the server-side device in response to the state assimilation request; and a step of reproducing the current playback content at the current playback progress, wherein the current playback content is content reproduced by the first virtual object in the assimilation waiting state, the current playback progress is a playback progress of the current playback content, and the state expression information of the second virtual object in the assimilation waiting state includes reproducing the current playback content at the current playback progress.
7. After the step of receiving the current playback content and the current playback progress transmitted by the server-side device in response to the state assimilation request, the method further comprises: presenting a playback control interface, in which at least one of the current playback progress, the current playback content, content-related information, and a volume control component is presented in the playback control interface, the content-related information is information related to the current playback content, and the status representation information further includes the playback control interface; and adjusting a playback volume of the currently played content in response to a volume adjustment control operation on the volume control component when the volume control component is presented in the playback control interface.
8. the step of outputting state representation information that the second virtual object is in the assimilation waiting state in response to the second virtual object entering the state assimilation area, presenting authority prompt information in response to the second virtual object entering the state assimilation area, where the authority prompt information represents prompt information for obtaining authority; The method according to any one of claims 1 to 7, further comprising: a step of outputting the state representation information in which the second virtual object is in the assimilation waiting state in response to an acquisition success operation for the authority prompt information, wherein the acquisition success operation represents that the second virtual object has been controlled to successfully acquire the authority in the assimilation waiting state.
9. The step of presenting authority prompt information in response to the second virtual object entering the state assimilation area includes: a step of sending an authority determination request, carried by a second account, to a server-side device in response to the second virtual object entering the state assimilation area, wherein the authority determination request is used to request determining whether the second virtual object has authority to be in the assimilation waiting state based on the second account; receiving an authority judgment result transmitted by the server-side device in response to the authority judgment request; and presenting the authority prompt information when the authority determination result indicates that the second virtual object does not have the authority to be in the assimilation waiting state.
10. After the step of presenting authority prompt information in response to the second virtual object entering the state assimilation area, the method further comprises:
9. The method of claim 8, further comprising: in response to an acquisition failure operation for the authority prompt information, presenting a screen in which the second virtual object is outside the state assimilation area, and terminating control of converting the state of the second virtual object to the assimilation waiting state, wherein the acquisition failure operation represents that acquisition of the authority in the assimilation waiting state by controlling the second virtual object has failed.
11. After the step of outputting state representation information of the second virtual object being in the assimilation waiting state in response to the second virtual object entering the state assimilation area, the method further a step of presenting a separation animation of the second virtual object and the state assimilation area based on a separation operation between the second virtual object and the state assimilation area, and terminating output of the state expression information in response to the separation animation representing separation of the second virtual object and the state assimilation area, wherein the separation operation includes one or both of a first separation operation and a second separation operation, the first separation operation representing a movement operation of controlling the first virtual object and the state assimilation area by the first account to move both away from the second virtual object, and the second separation operation representing a movement operation of controlling the second virtual object by the second account to move away from the state assimilation area; or The method according to any one of claims 1 to 10, comprising: a step of terminating output of the state representation information in response to a received state exit message transmitted by the first electronic device, wherein the state exit message is generated by the first electronic device in response to a state exit operation, and the state exit operation represents an operation of controlling the first virtual object to exit the assimilation waiting state.
12. After the step of outputting state representation information of the second virtual object being in the assimilation waiting state in response to the second virtual object entering the state assimilation area, the method further receiving content switching information transmitted by a first electronic device while the second virtual object is in the assimilation waiting state, wherein the content switching information is generated by the first electronic device in response to a content switching operation for the assimilation waiting state, and the content switching operation is used to switch the state content of the assimilation waiting state in which the first virtual object is located; updating the state representation information based on the content switching information to obtain output state information; and outputting the output status information.
13. The method according to any one of claims 1 to 11, wherein the state assimilation area is one or both of an object mark area and an object formation area, wherein the object mark area refers to an area marked by the first virtual object, and the object formation area refers to an area formed based on the first virtual object.
14. 1. A virtual scene-based interaction method, the method being performed by an electronic device, the method comprising: In response to a state setting operation on a first virtual object, in a second virtual scene, presenting the first virtual object in an assimilation waiting state and a state assimilation region corresponding to the assimilation waiting state, wherein the first virtual object corresponds to a first account; and presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on an interaction operation between the first virtual object and a second virtual object, wherein the second virtual object corresponds to a second account, the interaction operation represents an interaction between the first account and the second account, and when the interaction screen represents the second virtual object entering the state assimilation area, a second electronic device is used to output state representation information that the second virtual object is in the assimilation waiting state, and the second electronic device is an electronic device to which the second account is logged in.
15. After the step of presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on the interaction operation between the first virtual object and the second virtual object, the method further includes: acquiring content switching information in response to a content switching operation for the state content of the assimilation waiting state in which the first virtual object is located, during the process in which the interaction screen indicates that the second virtual object is within the state assimilation area; The method of claim 14 , further comprising: transmitting the content switching information to the second electronic device, whereby the second electronic device updates the output state representation information based on the content switching information.
16. After the step of presenting an interaction screen in which the second virtual object and the state assimilation area approach each other based on the interaction operation between the first virtual object and the second virtual object, the method further includes: a step of transmitting a state exit message to the second electronic device in response to a state exit operation for controlling the first virtual object to exit the assimilation waiting state, in the process in which the interaction screen represents that the second virtual object is within the state assimilation area, so that the second electronic device terminates output of the state expression information based on the state exit message; or 16. The method of claim 14, wherein in the process in which the interaction screen represents that the second virtual object is within the state assimilation area, the method includes a step of: in response to a first separation operation, presenting a separation animation in which the state assimilation area moves away from the second virtual object, and sending a separation message to the second electronic device, so that the second electronic device presents a separation animation in which the state assimilation area moves away from the second virtual object based on the separation message, and representing separation of the second virtual object and the state assimilation area in response to the separation animation, and terminating output of the state expression information, wherein the first separation operation represents a move operation in which both of the first virtual object and the state assimilation area move away from the second virtual object by controlling the first account.
17. A first electronic device, the first electronic device comprising: a first memory adapted to store computer-executable instructions; a first processor used to implement the virtual scene-based interaction method of any one of claims 14 to 16 when executing computer-executable instructions stored in the first memory.
18. A second electronic device, the second electronic device comprising: a second memory adapted to store computer-executable instructions; and a second processor used to implement the virtual scene-based interaction method of any one of claims 1 to 13 when executing computer-executable instructions stored in the second memory.
19. A computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a second processor, realize the virtual scene-based interaction method of any one of claims 1 to 13, or that, when executed by a first processor, realize the virtual scene-based interaction method of any one of claims 14 to 16.
20. A computer program product comprising a computer program or computer-executable instructions which, when executed by a second processor, implements the virtual scene-based interaction method of any one of claims 1 to 13, or which, when executed by a first processor, implements the virtual scene-based interaction method of any one of claims 14 to 16.
Citation Information
Patent Citations
Game device, program for game device, and game system
JP2019033996A
Program and game system
JP2019037305A
Client terminal for executing multiplayer application, group forming method, and group forming program
WO2006025255A1