Virtual scene interaction processing method and device, electronic equipment and storage medium
By introducing progress controls to represent the progress of virtual objects' interactions and displaying virtual resources, the problem of single method of obtaining virtual resources in virtual scenes is solved, and the enthusiasm and user experience of virtual objects' interactions are enhanced.
Patent Information
- Application Number
- CN202310850874.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-01-14
AI Technical Summary
The acquisition method of virtual resources in existing virtual scenarios is single, which affects the enthusiasm for interaction between virtual objects and user experience.
By introducing progress controls in the virtual scene, the interaction progress between multiple virtual objects is characterized, and virtual resources are displayed when the interaction progress reaches the completion state, promoting interaction and resource acquisition between virtual objects.
It improves the diversity of virtual resource acquisition methods in virtual scenes, enhances the enthusiasm for interaction between virtual objects, and makes virtual resource acquisition more visual and interesting.
Smart Images

Figure CN119303292A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to computer graphics and image technology, and in particular to a method, device, electronic device and storage medium for interactive processing of a virtual scene. Background Art
[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in virtual scenes such as games, it can simulate the real interaction process between virtual objects.
[0003] In the related art, virtual resources are obtained by players completing related tasks alone. The acquisition method is limited, and the virtual scenes, virtual resources and players' virtual objects are not highly correlated, which affects the user experience. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for interactive processing of a virtual scene, which can increase the diversity of virtual resource acquisition methods in the virtual scene and promote interaction between multiple virtual objects in the virtual scene.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The present application provides a method for interactive processing of a virtual scene, the method comprising:
[0007] Displaying a virtual scene, wherein the virtual scene includes a plurality of virtual objects;
[0008] Displaying a progress control, wherein the progress control is used to represent the progress of interaction between the multiple virtual objects;
[0009] In response to interaction between the plurality of virtual objects, updating the interaction progress represented by the progress control, and
[0010] In response to the interactive progress represented by the progress control reaching a completion state, a virtual resource is displayed, wherein the virtual resource is used for being acquired by the multiple virtual objects.
[0011] The embodiment of the present application provides an interactive processing device for a virtual scene, comprising:
[0012] A display module configured to display a virtual scene, wherein the virtual scene includes a plurality of virtual objects;
[0013] The display module is configured to display a progress control, wherein the progress control is used to represent the interaction progress between the multiple virtual objects;
[0014] An update module is configured to update the interaction progress represented by the progress control in response to interaction between the multiple virtual objects, and display virtual resources in response to the interaction progress represented by the progress control reaching a completion state, wherein the virtual resources are used for acquisition by the multiple virtual objects.
[0015] An embodiment of the present application provides an electronic device, the electronic device comprising:
[0016] A memory for storing computer executable instructions;
[0017] The processor is used to implement the interactive processing method of the virtual scene provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.
[0018] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for implementing the interactive processing method of a virtual scene provided in the embodiment of the present application when executed by a processor.
[0019] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the interactive processing method of the virtual scene provided in the embodiment of the present application is implemented.
[0020] The embodiments of the present application have the following beneficial effects:
[0021] The interactive progress of the progress control is updated through the interaction between multiple virtual objects in the virtual scene. When the interactive progress reaches the completion state, the corresponding virtual resources are displayed, and the virtual objects can obtain the virtual resources. By distributing virtual resources, the enthusiasm of multiple virtual objects to interact is promoted. The interactive progress between multiple virtual objects is represented by the progress control, and the interactive data of multiple virtual objects is visualized, which can increase the diversity of virtual resource acquisition methods in the virtual scene and promote the interaction between multiple virtual objects in the virtual scene. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a schematic diagram of an application mode of the interactive processing method of a virtual scene provided in an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0024] FIG. 3A to FIG. 3E It is a flowchart of an interactive processing method of a virtual scene provided in an embodiment of the present application;
[0025] Figure 4 is a schematic diagram of a virtual scene provided in an embodiment of the present application;
[0026] FIG. 5A to FIG. 5D is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application;
[0027] Fig. 6A and Figure 6B It is an optional flow chart of the interactive processing method of the virtual scene provided in the embodiment of the present application;
[0028] FIG. 7A to FIG. 7B It is a schematic diagram of the human-computer interaction interface provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0030] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0031] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0032] It should be pointed out that the collection and processing of relevant data in this application (for example, the interaction data of virtual objects of different users, which may include chat messages between virtual objects) should be strictly in accordance with the requirements of relevant national laws and regulations when applied in instances, and the informed consent or separate consent of the subject of personal information should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the subject of personal information.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0034] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0035] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.
[0036] 2) Client: An application running in a terminal to provide various services, such as a video player client, a game client, etc.
[0037] 3) Virtual scene: A virtual game scene displayed (or provided) when the game program is running on the terminal. The virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.
[0038] 4) Virtual objects: images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as characters and animals displayed in a virtual scene. The virtual object can be a virtual character in a virtual scene that represents a user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
[0039] 5) Interaction: refers to the process of connecting and interacting with each other. The interaction of virtual objects in a virtual scene includes but is not limited to: interaction with the virtual scene (for example, virtual objects decorating the virtual scene, etc.), interaction with other virtual objects (for example, virtual objects greeting each other, likes, comments, and dislikes between accounts corresponding to virtual objects, etc.).
[0040] 6) Positive interaction: It is an interactive behavior that conveys good and positive meanings in the virtual scene, such as: liking between virtual objects, sending expressions that represent happy emotions, etc.
[0041] 7) Negative interactions: These are interactions that convey bad, negative meanings in virtual scenes, such as tapping on virtual objects, attacking virtual objects, etc.
[0042] 8) Interaction progress: A numerical value that quantifies interactive behavior. Interaction progress can be the frequency or number of interactions.
[0043] The embodiments of the present application provide a method for interactive processing of a virtual scene, an interactive processing device for a virtual scene, an electronic device, a computer-readable storage medium, and a computer program product, which can increase the diversity of methods for acquiring virtual resources in a virtual scene and promote interaction between multiple virtual objects in a virtual scene.
[0044] The following describes an exemplary application of an electronic device provided by an embodiment of the present application. The electronic device provided by an embodiment of the present application can implement a terminal device, such as a laptop, a tablet computer, a desktop computer, a set-top box, a smart TV, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device), a vehicle terminal, a virtual reality (VR) device, an augmented reality (AR) device, and other types of user terminals, and can also be implemented as a server. Below, an exemplary application when the electronic device is implemented as a terminal device or a server will be described.
[0045] refer to Figure 1 , Figure 1 Schematic diagram of the application mode of the interactive processing method of the virtual scene provided in the embodiment of the present application; for example, Figure 1 The server 200, network 300, terminal device 401, and terminal device 402 are involved. Terminal device 401 and terminal device 402 communicate with each other through network 300, or communicate through other means. Terminal device 401 and terminal device 402 are connected to server 200 through network 300. Network 300 can be a wide area network or a local area network, or a combination of the two.
[0046] In one implementation scenario, the interactive processing method of the virtual scene in the embodiment of the present application is suitable for some application modes that completely rely on the graphics processing hardware computing power of the terminal device to complete the relevant data calculation of the virtual scene, such as stand-alone / offline mode games, and the output of the virtual scene is completed through various types of terminal devices such as smart phones, tablets and virtual reality / augmented reality devices.
[0047] As an example, types of graphics processing hardware include a central processing unit (CPU) and a graphics processing unit (GPU).
[0048] When forming visual perception of a virtual scene, the terminal device calculates the data required for display through graphics computing hardware, and completes the loading, parsing and rendering of display data, and outputs video frames that can form visual perception of the virtual scene through graphics output hardware. For example, two-dimensional video frames are presented on the display screen of a smartphone, or video frames with three-dimensional display effects are projected on the lenses of augmented reality / virtual reality glasses. In addition, in order to enrich the perception effect, the terminal device can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.
[0049] As an example, a client (e.g., a stand-alone game application) is running on terminal device 401 and terminal device 402. During the operation of the client, a virtual scene including role-playing is output, and the virtual scene can be an environment for game characters to interact. In the human-computer interaction interface of terminal device 401, a virtual scene and multiple virtual objects in the virtual scene are displayed. The virtual objects include virtual objects controlled by terminal device 401 and terminal device 402 respectively. Multiple virtual objects interact in the virtual scene, the interactive progress represented by the progress control is updated, and in response to the interactive progress represented by the progress control reaching a completed state, virtual resources are displayed, wherein the virtual resources are used for acquisition by multiple virtual objects. It is possible to increase the diversity of virtual resource acquisition methods in virtual scenes and promote interaction between multiple virtual objects in virtual scenes.
[0050] In an implementation scenario, the interactive processing method of the virtual scene of the embodiment of the present application is applicable to the game mode involved in the scheme of collaborative implementation of the terminal device and the server. The scheme for collaborative implementation of the terminal device and the server mainly involves two game modes, namely the local game mode and the cloud game mode, wherein the local game mode refers to the terminal device and the server jointly running the game processing logic, the operation instructions input by the player in the terminal device are partially processed by the terminal device running the game logic, and the other part is processed by the server running the game logic, and the game logic processing run by the server is often more complex and requires more computing power; the cloud game mode refers to the game logic processing completely run by the server, and the cloud server renders the game scene data into an audio and video stream, and transmits it to the terminal device for display through the network. The terminal device only needs to have basic streaming media playback capabilities and the ability to obtain the player's operation instructions and send them to the server.
[0051] Taking the visual perception of a virtual scene as an example, the server 200 calculates display data related to the virtual scene (such as scene data) and sends it to the terminal device 401 and the terminal device 402 through the network 300. The terminal device relies on the graphics computing hardware to complete the loading, parsing and rendering of the display data, and relies on the graphics output hardware to output the virtual scene to form a visual perception. For example, a two-dimensional video frame can be presented on the display screen of a smartphone, or a video frame with a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses. As for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal device can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.
[0052] As an example, a client (such as a network version of a game application) is running on the terminal device 401 and the terminal device 402. During the operation of the client, a virtual scene including role-playing is output, and the virtual scene can be an environment for game characters to interact. The server 200 generates corresponding display data and sends the display data to the terminal device 401 and the terminal device 402. In the human-computer interaction interface of the terminal device 401, a virtual scene and multiple virtual objects in the virtual scene are displayed. The virtual objects include virtual objects controlled by the terminal device 401 and the terminal device 402 respectively. Multiple virtual objects interact in the virtual scene, update the interactive progress represented by the progress control, and display virtual resources in response to the interactive progress represented by the progress control reaching a completion state, wherein the virtual resources are used for multiple virtual objects to obtain. It is possible to increase the diversity of virtual resource acquisition methods in virtual scenes and promote interaction between multiple virtual objects in virtual scenes.
[0053] In some embodiments, the terminal device can implement the interactive processing method of the virtual scene provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as a game APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer program can be any form of application, module or plug-in.
[0054] The embodiments of the present application can be implemented through database technology. In short, a database can be regarded as an electronic file cabinet where electronic files are stored. Users can add, query, update, delete, etc. data in the files. The so-called "database" is a collection of data that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application program.
[0055] A database management system (DBMS) is a computer software system designed for managing databases. It generally has basic functions such as storage, retrieval, security, and backup. Database management systems can be classified according to the database model they support, such as relational, XML (Extensible Markup Language); or according to the type of computer they support, such as server clusters, mobile phones; or according to the query language used, such as Structured Query Language (SQL), XQuery; or according to performance focus, such as maximum scale, maximum operating speed; or other classification methods. Regardless of the classification method used, some DBMS can cross categories, for example, supporting multiple query languages at the same time.
[0056] The embodiments of the present application can also be implemented through cloud technology. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application. It can form a resource pool, which is used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, as well as the promotion of search services, social networks, mobile commerce and open collaboration, each item may have its own hash code identification mark in the future, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately, and all kinds of industry data require strong system backing support, which can only be achieved through cloud computing.
[0057] In some embodiments, the server 200 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present invention.
[0058] In some embodiments, multiple servers may form a blockchain, and server 200 is a node on the blockchain. Information connections may exist between each node in the blockchain, and information may be transmitted between nodes through the above information connections. Among them, data related to the interactive processing method provided in the embodiment of the present application (such as the logic of interactive processing, updated unlocking progress control) may be stored on the blockchain.
[0059] See also Figure 2 , Figure 2 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a terminal device 400 (for example: Figure 1 Terminal device 401, terminal device 402), Figure 2 The terminal device 400 shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal device 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0060] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0061] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0062] The 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 memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0063] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0064] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0065] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0066] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0067] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0068] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0069] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 The interactive processing device 455 of the virtual scene stored in the memory 450 is shown, which can be software in the form of programs and plug-ins, including the following software modules: display module 4551, update module 4552, acquisition module 4553, these modules are logical, so according to the functions implemented, they can be arbitrarily combined or further split. Figure 2 For the sake of convenience, all the above modules are shown at once, but it should not be considered that the interactive processing device 455 of the virtual scene excludes the implementation that can only include the display module 4551 and the update module 4552. The functions of each module will be explained below.
[0070] In some embodiments, the terminal or server can implement the interactive processing method of the virtual scene provided in the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a live broadcast APP or an instant messaging APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0071] The interactive processing method of the virtual scene provided in the embodiment of the present application will be explained in combination with the exemplary application and implementation of the terminal provided in the embodiment of the present application.
[0072] The following describes the interactive processing method of the virtual scene provided by the embodiment of the present application. As mentioned above, the electronic device that implements the interactive processing method of the virtual scene in the embodiment of the present application can be a terminal or a server, or a combination of the two. Therefore, the execution subject of each step will not be repeatedly described below.
[0073] See also Figure 3A , Figure 3A is a flowchart of the interactive processing method of the virtual scene provided in the embodiment of the present application, which will be combined with Figure 3A The steps shown are explained.
[0074] In step 301, a virtual scene is displayed.
[0075] For example, the virtual scene includes a plurality of virtual objects, wherein the plurality of virtual objects include at least two first virtual objects controlled by real users, and other virtual objects other than the first virtual objects may be controlled by real users or by computer programs.
[0076] In step 302, a progress control is displayed.
[0077] Here, the progress control is used to represent the interaction progress between multiple virtual objects.
[0078] For example, the progress control can be presented in the form of a progress bar, or presented as a virtual item in a virtual scene. Figure 5A , Figure 5A 501A is a schematic diagram of a human-computer interaction interface provided by an embodiment of the present application. In the human-computer interaction interface 501A, the progress control 503A is represented as a decorative light board in a virtual scene. The number of lights on the decorative light board represents the interactive progress of multiple virtual objects.
[0079] refer to Fig. 7A , Fig. 7AIn the human-computer interaction interface 701A, the progress control 703A and the progress control 704A are in the form of a progress bar, and the area of the shaded part in the progress bar represents the interaction progress of multiple virtual objects.
[0080] For example, when it is recognized that the virtual scene contains only one virtual object, the progress control is not displayed; or, when it is recognized that the virtual scene contains only one virtual object, the progress control is displayed, but the interactive progress of the progress control is not updated. When it is recognized that the virtual scene includes more than or equal to 2 virtual objects, the interactive progress of the progress control is updated according to the interaction between multiple virtual objects.
[0081] In step 303, in response to the interaction between the multiple virtual objects, the interaction progress represented by the progress control is updated.
[0082] In some embodiments, the types of interaction include: Type 1, interaction of virtual objects with other virtual objects, such as chatting, liking, and actions between virtual objects. Figure 5A ,The expression icon above the head of the virtual object indicates that the virtual object is ,performing the corresponding action. Type 2: Interaction of the virtual object with the ,virtual scene, for example: the virtual object interacts with the interactive props in the ,virtual scene, and the virtual object decorates the virtual scene.
[0083] In some embodiments, the interactive progress represented by the update progress control can be presented in a visual manner. In response to the increase of the interactive progress represented by the progress control, the form of the progress control is switched to a form corresponding to the current interactive progress, wherein different interactive progresses correspond to different forms of the progress control. Figure 5A , taking the progress control as a light sign in a virtual scene as an example, for example: increasing an interaction progress, lighting up a light bar. When multiple virtual objects in the virtual scene interact with each other, the progress value represented by the progress control 503A increases. The progress control 504A in the human-computer interaction interface 502A is presented. Compared with the progress control 503A, the number of light tubes that change color in the progress control 504A is greater. Reference Fig. 7A ,The interactive progress of the progress control is represented by the ratio between the shaded area in the progress control and the total area of the progress bar.
[0084] In some embodiments, in response to the increase of the interactive progress represented by the progress control, the form of the progress control is switched to a form corresponding to the current interactive progress, wherein different interactive progresses correspond to different forms of the progress control.
[0085] For example, different forms can be represented in the following ways: 1. Different interactive progresses correspond to different forms. For example, the progress control is a light board in the virtual scene. For example, if an interactive progress is increased, a light bar is lit. 2. Different interactive progress value intervals correspond to different forms. For example, the maximum interactive progress value represented by the progress control is divided into multiple value intervals. In each value interval, the form of the progress control is different. For example, when the current interactive progress of the progress control is in different value intervals, the light color of the light board-shaped progress control is different.
[0086] In some embodiments, reference Figure 3B , Figure 3B is a flow chart of an interactive processing method for a virtual scene provided in an embodiment of the present application, Figure 3A Step 303 can be achieved by Figure 3B Step 3031 in is implemented as described in detail below.
[0087] In step 3031, in response to any interaction between multiple virtual objects, the interaction progress represented by the progress control is updated based on a fixed progress value increment.
[0088] For example, a fixed progress can be a preset value. Incremental update means that the progress of any interaction increases. For example: Figure 5A In each interaction, the light bar color of the progress control 503A changes by one.
[0089] In some embodiments, reference Figure 3C , Figure 3C is a flow chart of an interactive processing method for a virtual scene provided in an embodiment of the present application, Figure 3A Step 303 can be achieved by Figure 3C Step 3032 in is implemented.
[0090] In step 3032, in response to any interaction between the multiple virtual objects, the interaction progress represented by the progress control is updated based on the dynamic progress value increment.
[0091] For example, the corresponding dynamic progress value is calculated in real time according to the interaction data corresponding to the interactive behavior between virtual objects, and the dynamic progress value is added to the interaction progress between the interactions to obtain the current interaction progress, and the current interaction progress is presented.
[0092] In some embodiments, different types of interactions correspond to different dynamic values; before step 3032, the following processing is performed: a dynamic value related to the type of interaction is obtained as a dynamic progress value.
[0093] For example, the dynamic value related to the type of interaction is preset. A mapping relationship table between each type of interaction behavior and the dynamic value is pre-established. In the mapping relationship table, the dynamic value corresponding to each type of interaction behavior can be the same or different. The dynamic value related to the type of interaction is obtained by querying the mapping relationship table as the dynamic progress value.
[0094] For example: the progress control is represented by a progress bar, and the current interactive progress is represented by the percentage of the shaded area of the progress bar in the progress control. Assuming that the maximum interactive progress is 100%, the content of the mapping relationship table is: chat interaction - 1% interactive progress; action interaction - 2% interactive progress; virtual object decorating the virtual scene - 1% interactive progress. When the virtual object interacts, the interactive data of the virtual object (including the interaction type) is obtained, and the mapping relationship table is queried according to the interaction type in the interactive data to obtain the dynamic value corresponding to this interactive behavior, and the obtained dynamic value is used as the dynamic progress value, and the shaded area in the progress control is updated according to the dynamic progress value.
[0095] In some embodiments, different numbers of virtual objects participating in the interaction correspond to different progress values, and the number is positively correlated with the progress value; before 3032, the following processing is performed: the number of virtual objects participating in the interaction among multiple virtual objects in the virtual scene is obtained. The product of the number of objects and the preconfigured ratio is used as the dynamic progress value.
[0096] For example, the preconfigured ratio is a positive number. For example, if there are 2 virtual objects participating in the interaction, then the corresponding progress value is 2. If the preconfigured ratio is N, then the dynamic progress value is 2N.
[0097] In some embodiments, different types of interactions correspond to different dynamic values; before 3032, the following processing is performed: obtain the product between the following parameters: the dynamic value related to the type of interaction, and the number of virtual objects participating in the interaction; and use the product as the dynamic progress value.
[0098] For example, in response to an interactive behavior of a virtual object, a pre-stored mapping relationship table between each type of interactive behavior and a dynamic value is obtained, and the corresponding dynamic value is queried from the mapping relationship table according to the type of interaction. The queried dynamic value is multiplied by the number of virtual objects participating in the interaction, and the product is obtained as the dynamic progress value of this interaction.
[0099] For example: In response to virtual object A liking virtual object B, the number of virtual objects participating in the interaction is 2. According to the type of interaction, the corresponding dynamic value is queried from the mapping relationship table to obtain the dynamic value M, where M is a positive integer greater than 0. The product is obtained as the dynamic progress value 2M of this interaction.
[0100] In some embodiments, the interaction includes positive interaction and negative interaction; Figure 3D , Figure 3D is a flow chart of the interactive processing method of the virtual scene provided in the embodiment of the present application. Step 303 can be performed by Figure 3D Steps 3033 to 3034 in are implemented as described in detail below.
[0101] In step 3033, in response to the interaction between the multiple virtual objects being a positive interaction, the interaction progress represented by the progress control is incrementally updated.
[0102] For example, positive interactions are interactions that convey positive meanings in virtual scenes, such as likes between virtual objects, sending expressions that represent happy emotions, etc.
[0103] In step 3034, in response to the interaction between the multiple virtual objects being a negative interaction, the interaction progress represented by the progress control is decremented.
[0104] For example, positive interactions are interactions that convey negative meanings in a virtual scene, such as: tapping on virtual objects, virtual objects attacking other virtual objects, virtual objects being reported, sending expressions that represent negative emotions, virtual objects failing to perform tasks in a virtual scene, etc. Decrement updates, that is, reduce the current interaction progress represented by the progress control.
[0105] In the embodiment of the present application, by visually representing the interaction progress, users corresponding to virtual objects in the virtual scene can know the total interaction progress in the virtual scene, which promotes the user's enthusiasm for using virtual objects to interact and enriches the interaction form.
[0106] Continue to refer Figure 3A In step 304, in response to the interactive progress represented by the progress control reaching a completion state, the virtual resource is displayed.
[0107] For example, virtual resources are used for acquisition by multiple virtual objects. The types of virtual resources include, but are not limited to, virtual props (consumable props used to purchase other props in a virtual scene, props used to decorate a virtual scene, etc.), the decorative appearance of a virtual character (clothes, hats, etc.), virtual actions (for example, dancing, cheering, etc. performed by a player character in a scene), etc.
[0108] For example, the maximum progress value required for the interaction progress to reach the completion state can be represented by the interaction frequency or the number of interactions. For example: each interaction of the virtual object is recorded as one interaction, and the maximum progress value for the progress control to reach the completion state can be N interactions, where N is a positive number. Another example: record the number of interactions of the virtual object in the virtual scene within the preset time, calculate the interaction frequency, and the maximum progress value for the progress control to reach the completion state can be N interactions within one hour (preset time).
[0109] refer to Figure 5B , Figure 5B It is a schematic diagram of the human-computer interaction interface provided in the embodiment of the present application; the human-computer interaction interface 501B and the human-computer interaction interface 502B are screens of the same human-computer interaction interface at different times, wherein the time corresponding to the human-computer interaction interface 502B is after the time corresponding to the human-computer interaction interface 501B. The progress control 503B is displayed in a completed state, the interactive progress of the progress control 503B reaches the maximum value corresponding to the progress control, and the appearance of the progress control 503B is switched to the progress control 504B in the human-computer interaction interface 502B. The human-computer interaction interface 502B also includes a prompt message "Progress is full, rewards are about to be issued" representing that the interactive progress of the progress control has reached the maximum value. Compared with the progress control 503B, the progress control 504B displays a flashing round light bulb around the light board, and the light board representing the red envelope is lit. The prompt message "Progress is full, rewards are about to be issued" is displayed in the terminal device of the user corresponding to each virtual object in the virtual scene.
[0110] In some embodiments, in response to the interaction progress represented by the progress control reaching a completion state, the progress control is switched to an initial state, wherein the initial state represents that the interaction progress of the plurality of virtual objects is reset to zero.
[0111] refer to Figure 5C , Figure 5C is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application; human-computer interaction interface 501C and human-computer interaction interface 502C are Figure 5A , Figure 5B The screens of the same human-machine interaction interface at different times in the figure, wherein the time corresponding to the human-machine interaction interface 502C is after the time corresponding to the human-machine interaction interface 501C. Figure 5B After the interactive progress represented by the progress control 504B reaches the maximum value, multiple virtual resources 504C are displayed in the human-computer interaction interface 501C. In the embodiment of the present application, the icon of the virtual resource is represented by a red envelope shape, and can also be represented in other forms in specific implementations.
[0112] After the virtual resource 504C is displayed, the progress control 504B is switched to the progress control 503C in the human-computer interaction interface 502C, and the progress value represented by the progress control 503C is 0. That is, after the virtual resource is displayed, the progress value of the progress control is reset to zero, and the interaction progress is updated again according to the interaction between the virtual objects in the virtual scene.
[0113] In some embodiments, a virtual scene is displayed in a human-computer interaction interface, and the virtual scene includes a first virtual object, which is a virtual object associated with a first account that logs into the human-computer interaction interface; step 304 can be implemented in the following ways: display at least one virtual resource in the virtual scene; after step 304, in response to a trigger operation for any virtual resource, configure the triggered virtual resource to the first virtual object; in response to the display time of the virtual resource reaching a set time, hide the virtual resource.
[0114] For example, virtual resources can be configured to virtual objects through trigger operations. Figure 5D , Figure 5D is a schematic diagram of a human-computer interaction interface provided by an embodiment of the present application. Figure 5C The trigger operation of the virtual resource 504C in the trigger operation allocates the triggered virtual resource to the account of the virtual object corresponding to the trigger operation, and displays the prompt information that the virtual resource has been obtained. For example, the prompt information 502D in the human-computer interaction interface 501D indicates that the user obtains 10 props that can be consumed in the virtual scene by clicking on the virtual resource 504C.
[0115] For example, before the display time of the virtual resource reaches the set time, no trigger operation for the virtual resource is received, the display time of the virtual resource reaches the set time, the virtual resource is hidden, and the virtual object does not receive the virtual resource during the display of the virtual resource.
[0116] In the embodiment of the present application, by distributing virtual resources in a virtual scene within a limited time, computing resources required for running the virtual scene are saved, the fun of obtaining virtual resources in the virtual scene is improved, and the user's experience of the virtual scene is improved.
[0117] In some embodiments, when displaying virtual resources, the virtual resources are respectively allocated to each virtual object in the virtual scene.
[0118] For example, when displaying virtual resources, the virtual resources are distributed indiscriminately to the account corresponding to each virtual object in the virtual scene, and the virtual resources obtained by each virtual object are the same or different.
[0119] In an embodiment of the present application, by allocating virtual resources to each virtual object in a virtual scene, the fairness of distributing virtual resources in the virtual scene is improved. There is no need to judge whether a user has triggered a virtual resource, which saves the computing resources required to run the virtual scene and improves the user's experience of the virtual scene.
[0120] In some embodiments, before step 304, based on the interaction data of interactions between multiple virtual objects, a neural network model is called to predict the type of at least one virtual resource to be displayed to obtain the virtual resource to be displayed, wherein the neural network model is trained through interaction data samples of virtual objects, candidate virtual resource samples to be displayed, and annotations of virtual resources to be displayed.
[0121] For example, the neural network model can be a classification model, which is used to predict the probability that the interactive data sample belongs to each type of virtual resource, and use the virtual resource of the type with the highest probability as the virtual resource finally displayed.
[0122] For example, the neural network model can be a convolutional neural network (CNN), which is a type of feed forward neural network (FNN) that includes convolution calculations and has a deep structure, and is one of the representative algorithms of deep learning. Convolutional neural networks have representation learning capabilities and can perform shift-invariant classification on input images according to their hierarchical structure.
[0123] In some embodiments, multiple virtual objects belong to at least two camps, and different camps correspond to different progress controls. Figure 3E , Figure 3E is a flow chart of the interactive processing method of the virtual scene provided in the embodiment of the present application, and step 302 can be performed by Figure 3E Steps 3021 to 3022 in are implemented as described in detail below.
[0124] In step 3021, when multiple virtual objects in the virtual scene belong to the same camp, the progress control of the current camp is displayed.
[0125] For example, the progress control of the faction represents the progress of the interaction within the faction. Figure 5A , when multiple virtual objects belong to the same camp, only one progress control 503A is displayed.
[0126] In step 3022, when multiple virtual objects in the virtual scene belong to different camps, a progress control corresponding to each camp is displayed.
[0127] For example, in a virtual scene, the number of people in each camp can be different or the same. Fig. 7A , Fig. 7A 701A and 702A are screens of the same human-computer interaction interface at different times, wherein the time corresponding to the human-computer interaction interface 702A is after the time corresponding to the human-computer interaction interface 701A. Virtual objects A, B, and C belong to the first camp, and the first camp corresponds to the progress control 703A; virtual objects D and E belong to the second camp, and the second camp corresponds to the progress control 704A.
[0128] When there is a division between virtual objects, continue to refer to Figure 3E , step 303 can be implemented by following the following step 3035.
[0129] In step 3035, in response to interactions between multiple virtual objects belonging to each camp, the interaction progress represented by the progress control of each camp is updated.
[0130] For example, continue to refer to Fig. 7A , the interactive behaviors of virtual objects A, B, and C in the first camp can make the progress control 703A grow, and the grown progress control 703A is presented as a progress control 705A in the human-computer interaction interface 702A. The interactive behaviors of virtual objects D and E in the second camp can make the progress control 704A grow, and the grown progress control 704A is presented as a progress control 706A in the human-computer interaction interface 702A. The growth of the interactive progress of the progress control is manifested as the growth of the shadow area in the progress control.
[0131] In some embodiments, the interaction includes positive interaction and negative interaction; the camp includes the first camp; step 3035 can be implemented in the following ways: in response to the positive interaction of virtual objects of other camps with virtual objects of the first camp, or the interaction between virtual objects of the first camp, incrementally updating the interaction progress represented by the progress control of the first camp; in response to the negative interaction of virtual objects of other camps with virtual objects of the first camp, decrementally updating the interaction progress represented by the progress control of the first camp, and incrementally updating the interaction progress represented by the progress controls of other camps.
[0132] For example, the positive interaction of virtual objects in the same camp and the positive interaction of virtual objects in other camps with respect to the camp can both increase the interaction progress of the camp. For example, a handshake interaction between virtual object A belonging to the first camp and virtual object D belonging to the second camp is a positive interaction, and the interaction progress of the progress control of the first camp increases, and the interaction progress of the progress control of the second camp also increases. Virtual object A belonging to the first camp and virtual object B of the same camp have a positive interaction, and the interaction progress of the progress control of the first camp increases.
[0133] Negative interactions of other camps with this camp can increase the interaction progress of the camp that initiated the negative interaction, and reduce the interaction progress of the camp that received the negative interaction. For example: virtual object A belonging to the first camp attacks virtual object D of the second camp, which is a negative interaction. Virtual object D that receives the attack belongs to the second camp, and virtual object A that initiates the attack belongs to the first camp. Then the interaction progress of the progress control of the first camp increases, and the interaction progress of the progress control of the second camp decreases.
[0134] In the embodiment of the present application, the interaction progress of the progress controls corresponding to the virtual objects is increased or decreased by competitively interacting, thereby promoting the interaction enthusiasm between the virtual objects in the virtual scene and improving the user's interactive experience in the virtual scene.
[0135] In some embodiments, in response to the interaction progress represented by the progress control of any camp reaching the completion state first, the first virtual resource is displayed, and the progress control of each camp is switched to an initial state, wherein the first virtual resource is used for acquisition of virtual objects of the camp whose interaction progress reaches the completion state first, and the initial state represents that the interaction progress of multiple virtual objects is reset to zero.
[0136] refer to Figure 7B , Figure 7B 701B and 702B are screens of the same human-computer interaction interface at different times, wherein the time corresponding to the human-computer interaction interface 702B is after the time corresponding to the human-computer interaction interface 701B. Assuming that the virtual object D is the virtual object corresponding to the account that logs into the human-computer interaction interface 701B, the progress control 704B of the second camp reaches the completion state (the shaded area is the same as the progress bar area) before the progress control 703B of the first camp, and the virtual resource 707B is displayed in the human-computer interaction interface 701B, and the virtual resource 707B is obtained by the virtual object D and the virtual object E. The virtual resources are not displayed in the human-computer interaction interface corresponding to the virtual objects A, B, and C of the first camp, and each virtual object of the first camp cannot currently obtain virtual resources.
[0137] After the virtual resource 707B is displayed, the progress control 703B is converted into the form of the progress control 705B in the human-computer interaction interface 702B, and the interactive progress is reset to zero. The progress control 704B is converted into the form of the progress control 706B in the human-computer interaction interface 702B, and the interactive progress is reset to zero.
[0138] In an embodiment of the present application, by distributing virtual resources only to virtual objects in the camp whose interaction progress reaches the completion state first, the enthusiasm for interaction between virtual objects in the virtual scene is promoted. There is no need to distribute virtual resources to all virtual objects, thus saving computing resources required for the virtual scene.
[0139] In some embodiments, the maximum progress value required for the interaction progress to reach the completion state is a dynamic value; the maximum progress value is updated according to the number of virtual objects in the virtual scene, wherein the maximum progress value is positively correlated with the number of virtual objects in the virtual scene.
[0140] For example, the current number of virtual objects in the virtual scene is obtained in real time, and in response to changes in the current number, the current number is multiplied by a preset ratio to obtain an updated maximum progress value. Before and after the maximum progress value required to reach the completion state is updated, the existing interactive progress in the progress control remains unchanged.
[0141] Assumption: The calculation formula corresponding to the maximum progress value is: maximum progress value = current number of virtual objects in the virtual scene * preset ratio. In response to the increase in the current number, the increased current number is multiplied by the preset ratio to obtain the updated maximum progress value.
[0142] In the embodiment of the present application, the maximum progress value required for the interaction progress to reach the completion state is updated in real time, so that the interaction ability of the virtual objects in the virtual scene matches the maximum progress value, thereby avoiding the situation where it is difficult to achieve the maximum progress value due to a small number of virtual objects, and enhancing the enthusiasm for interaction between virtual objects in the virtual scene.
[0143] In some embodiments, the form of the virtual scene changes with the interactive progress represented by the progress control. In response to the interactive progress represented by the progress control reaching the completion state, the current form of the virtual scene is switched to the form associated with the completion state; in response to the interactive progress represented by the progress control switching to the initial state, the current form of the virtual scene is switched to the initial form.
[0144] For example, the form associated with the completed state may be different from the initial form in any of the following ways: color difference, more virtual items in the virtual scene, and dynamic animation played in the virtual scene.
[0145] In some embodiments, in response to the number of times that the interaction progress reaches the completion state reaching a number threshold, the virtual scene is changed from the current form to another form, and the other form has at least one of the following differences compared to the current form:
[0146] 1. The size of the virtual scene is larger. For example, the size of the virtual scene can be represented by any parameters such as the length, height, and width of the virtual scene.
[0147] 2. The maximum number of virtual characters that can be accommodated in the virtual scene is greater. For example: the maximum number of virtual characters that the current virtual scene can accommodate is Y, and the maximum number of virtual characters that the virtual scene with a changed form can accommodate is X, and X is greater than Y.
[0148] 3. The maximum number of virtual objects that can be accommodated in a virtual scene is larger. For example, if the virtual scene is a room, a virtual scene with a changed shape can accommodate more virtual furniture.
[0149] In the embodiment of the present application, the interaction progress of the progress control is updated through the interaction between multiple virtual objects in the virtual scene. When the interaction progress reaches the completion state, the corresponding virtual resources are displayed, and the virtual objects can obtain the virtual resources. By distributing virtual resources, the enthusiasm of the interaction between multiple virtual objects is promoted. The progress of the interaction between multiple virtual objects is represented by the progress control, so that the interaction data of multiple virtual objects can be visualized, which can increase the diversity of the virtual resource acquisition methods in the virtual scene and promote the interaction between multiple virtual objects in the virtual scene.
[0150] Next, an exemplary application of the interactive processing method of the virtual scene according to the embodiment of the present application in an actual application scenario will be described.
[0151] In a virtual scene, users can customize their own virtual objects (avatars), and virtual objects can interact with each other to promote social relationships. In the related art, there are some tasks in a virtual scene, and virtual objects can complete the tasks through interaction. The interaction of virtual objects is passive, and the interaction between virtual objects is not very active. The interactive processing method of a virtual scene provided in an embodiment of the present application visualizes the interactive progress between virtual objects, combines virtual resources and virtual scenes together, and enhances the functionality of the virtual scene.
[0152] For ease of understanding, the virtual scene in the embodiment of the present application is explained, referring to Figure 4 , Figure 4401A is a schematic diagram of a virtual scene provided in an embodiment of the present application. A plurality of virtual objects are included in the virtual scene 401A, for example: virtual object 402A (me), virtual object 403A (player A), and virtual object 404A (player C). Wherein, "me" refers to the virtual object 402A, which is a virtual object used by the user to whom the account that logs into the human-computer interaction interface belongs. Player A and player C are the names of different virtual objects, respectively. A plurality of virtual objects interact in the virtual scene 401A, and the virtual scene 401A can be a simulation of a real scene, such as a dance hall, an amusement park, a stadium, etc. In the embodiment of the present application, the virtual scene 401A is an example of a dance hall for illustration, and virtual objects can perform interactions such as dancing, chatting, and decorating a dance hall in the virtual scene.
[0153] refer to Fig. 6A , Fig. 6A This is an optional flow chart of the interactive processing method of the virtual scene provided in the embodiment of the present application, and is described with the terminal device as the execution subject.
[0154] In step 601A, the interaction between virtual objects in the virtual scene is displayed, and the interaction progress in the progress control is displayed.
[0155] In the virtual scene, a progress control is provided, and the progress control may be in the form of a decoration in the virtual scene, or the progress control may be a progress bar. Figure 5A , Figure 5A It is a schematic diagram of the human-computer interaction interface provided in the embodiment of the present application. Human-computer interaction interface 501A and human-computer interaction interface 502A are screens of the same human-computer interaction interface at different times, wherein the time corresponding to human-computer interaction interface 502A is after the time corresponding to human-computer interaction interface 501A. In human-computer interaction interface 501A, virtual objects 505A, 506A, and 507A are displayed, and progress control 503A is represented as a decorative light board in a virtual scene. The number of lights on the decorative light board represents the interactive progress of multiple virtual objects. The types of interaction include but are not limited to chatting, liking, greeting, performing actions together, showing actions to other virtual objects, interacting with virtual props in virtual scenes, decorating virtual scenes, etc. The progress growth values corresponding to different interactions are different, for example, a user posts 1 message to increase the progress value by 1 point, etc. Chat messages 508A between users are displayed in a floating layer in human-computer interaction interface 501A.
[0156] As the progress value increases, the appearance of the progress control changes accordingly. In the embodiment of the present application, the light tubes of the progress control in the shape of a light sign light up one by one as the progress value increases, and the progress is positively correlated with the number of lights that represent the progress. For example, when multiple virtual objects in a virtual scene interact with each other, the progress value represented by the progress control 503A rises. The progress control 504A presented in the human-computer interaction interface 502A has more light tubes that change color than the progress control 503A.
[0157] In step 602A, in response to the interactive progress of the progress control reaching a full progress state, the form of the virtual scene and the progress control is switched, and prompt information for issuing virtual resources is displayed.
[0158] For example, the full progress state means that the interactive progress reaches the maximum progress value corresponding to the progress control. For example, when the interactive progress of the virtual object in the virtual scene reaches the maximum value corresponding to the progress control, the appearance of the progress control is switched. Figure 5B , Figure 5B It is a schematic diagram of the human-computer interaction interface provided in the embodiment of the present application; the human-computer interaction interface 501B and the human-computer interaction interface 502B are screens of the same human-computer interaction interface at different times, wherein the time corresponding to the human-computer interaction interface 502B is after the time corresponding to the human-computer interaction interface 501B. The interactive progress of the progress control 503B is characterized as full progress, that is, the interactive progress reaches the maximum value corresponding to the progress control, and the appearance of the progress control 503B is switched to the progress control 504B in the human-computer interaction interface 502B. The human-computer interaction interface 502B also includes a prompt message "Progress is full, rewards are about to be issued" representing that the interactive progress of the progress control has reached the maximum value. Compared with the progress control 503B, the progress control 504B displays a flashing round light bulb around the light board, and the light board representing the red envelope is lit. The prompt message "Progress is full, rewards are about to be issued" is displayed in the terminal device of the user corresponding to each virtual object in the virtual scene.
[0159] In step 603A, a plurality of virtual resources are displayed in the virtual scene.
[0160] refer to Figure 5C , Figure 5C is a schematic diagram of a human-computer interaction interface provided in an embodiment of the present application; human-computer interaction interface 501C and human-computer interaction interface 502C are Figure 5A , Figure 5B The screens of the same human-machine interaction interface at different times in the figure, wherein the time corresponding to the human-machine interaction interface 502C is after the time corresponding to the human-machine interaction interface 501C. Figure 5BAfter the interactive progress represented by the progress control 504B reaches the maximum value, multiple virtual resources 504C are displayed in the human-computer interaction interface 501C. In the embodiment of the present application, the icon of the virtual resource is represented by a red envelope shape, and can also be represented in other forms in specific implementations.
[0161] After the virtual resource 504C is displayed, the progress control 504B is switched to the progress control 503C in the human-computer interaction interface 502C, and the progress value represented by the progress control 503C is 0. That is, after the virtual resource is displayed, the progress value of the progress control is reset to zero, and the interaction progress is updated again according to the interaction between the virtual objects in the virtual scene.
[0162] In step 604A, in response to a click operation on a virtual resource, prompt information indicating that the virtual resource is allocated to a corresponding virtual object is displayed.
[0163] In some embodiments, reference Figure 5D , Figure 5D is a schematic diagram of a human-computer interaction interface provided by an embodiment of the present application. Figure 5C The trigger operation of the virtual resource 504C in the trigger operation allocates the triggered virtual resource to the account of the virtual object corresponding to the trigger operation, and displays the prompt information that the virtual resource has been obtained. For example, the prompt information 502D in the human-computer interaction interface 501D indicates that the user obtains 10 props that can be consumed in the virtual scene by clicking on the virtual resource 504C.
[0164] In some embodiments, the virtual resource can be directly allocated to the account associated with the virtual object without the user clicking.
[0165] refer to Figure 6B , Figure 6B It is an optional flow chart of the interactive processing method of the virtual scene provided in the embodiment of the present application. When the interactive processing method of the virtual scene is implemented by the terminal device (for example: a stand-alone game installed in the terminal device), the client presentation layer 612 and the background logic layer 613 are both set in the terminal device. When the interactive processing method of the virtual scene is implemented by the terminal device and the server in collaboration (for example: an online game installed in the terminal device), the client presentation layer 612 is set in the terminal device, and the background logic layer 613 can be set in the server.
[0166] In step 601B, the client presentation layer 612 displays the interaction between virtual objects in response to the control operation on the virtual objects.
[0167] For example, the control operation may be a trigger operation of a user on an action control in a virtual scene, or an operation of a chat message input by a user.
[0168] In step 602B, the client presentation layer 612 sends the interactive data to the background logic layer 613 .
[0169] For example, the background logic layer 613 calculates the interaction progress value corresponding to the interaction data based on the interaction data. Different interaction behaviors correspond to different interaction progress values, which can be obtained in the following way: pre-store a mapping relationship table between each type of interaction behavior and interaction progress value, query the mapping relationship table based on the interaction data, and obtain the interaction progress value of the interaction behavior corresponding to the interaction data. When the client presentation layer 612 obtains new interaction data, step 602B continues.
[0170] In step 603B, the background logic layer 613 sends the interaction progress value to the client presentation layer 612 .
[0171] In step 604B, the client presentation layer 612 updates the interactive progress represented by the progress control.
[0172] In step 605B, the client presentation layer 612 determines whether the interactive progress has reached the maximum value corresponding to the progress control.
[0173] In step 606B, in response to the interactive progress reaching the maximum value corresponding to the progress control, the client presentation layer 612 switches the virtual scene and the form of the progress control.
[0174] In step 607B, the client presentation layer 612 displays the virtual resources in the virtual scene, and the progress control returns to the initial state.
[0175] In step 608B, the client presentation layer 612 generates a resource request in response to a click operation on the virtual resource.
[0176] For example, the resource request carries the identifier of the virtual scene and the identifier of the virtual object in the virtual scene.
[0177] In step 609B, the client presentation layer 612 sends a resource request to the background logic layer 613 .
[0178] The background logic layer 613 determines the virtual resources corresponding to the virtual scene according to the identifier of the virtual scene and the identifier of the virtual object in the virtual scene.
[0179] In step 610B, the background logic layer 613 sends the virtual resource content to the client presentation layer 612 .
[0180] When the background logic layer 613 is set on the server and the client presentation layer 612 is set on the terminal device, the server returns the corresponding virtual resources to the corresponding terminal device according to the identifier of the virtual scene and the identifier of the virtual object in the virtual scene.
[0181] In step 611B, the client presentation layer 612 displays a prompt message indicating that the virtual resource has been acquired.
[0182] For example, the client presentation layer 612 displays the virtual resource content corresponding to the triggered virtual resource and the prompt information that the virtual resource has been acquired.
[0183] In the embodiment of the present application, the interaction between the user's virtual objects and the virtual resources corresponding to the virtual scene are combined to promote the enthusiasm of interaction between users. Virtual objects will interact more and more frequently in order to obtain virtual resources, thereby promoting user social interaction. Social interaction in the virtual scene can enhance the user's experience of the virtual scene, thereby attracting users to use the virtual scene and forming positive feedback.
[0184] The following is a description of an exemplary structure of the virtual scene interactive processing device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules in the interactive processing device 455 of the virtual scene stored in the memory 450 may include: a display module 4551, configured to display a virtual scene, wherein the virtual scene includes multiple virtual objects; the display module 4551, configured to display a progress control, wherein the progress control is used to represent the interaction progress between the multiple virtual objects; an update module 4552, configured to update the interaction progress represented by the progress control in response to interaction between the multiple virtual objects, and the update module 4552, configured to display virtual resources in response to the interaction progress represented by the progress control reaching a completion state, wherein the virtual resources are used for acquisition by the multiple virtual objects.
[0185] In some embodiments, the update module 4552 is configured to update the interaction progress represented by the progress control based on a fixed progress value increment in response to any interaction occurring between multiple virtual objects.
[0186] In some embodiments, the update module 4552 is configured to update the interaction progress represented by the progress control based on the dynamic progress value increment in response to any interaction between multiple virtual objects.
[0187] In some embodiments, different types of interactions correspond to different dynamic values; the update module 4552 is configured to obtain a dynamic value related to the type of interaction as a dynamic progress value before incrementally updating the interaction progress represented by the progress control based on the dynamic progress value.
[0188] In some embodiments, different numbers of virtual objects participating in the interaction correspond to different progress values, and the number is positively correlated with the progress value; the update module 4552 is configured to obtain the number of virtual objects participating in the interaction among multiple virtual objects in the virtual scene before incrementally updating the interaction progress represented by the progress control based on the dynamic progress value; and take the product of the number of objects and the preconfigured ratio as the dynamic progress value, wherein the preconfigured ratio is a positive number.
[0189] In some embodiments, different types of interactions correspond to different dynamic values; the update module 4552 is configured to obtain the product of the following parameters before incrementally updating the interaction progress represented by the progress control based on the dynamic progress value: the dynamic value related to the type of interaction, the number of virtual objects participating in the interaction; and use the product as the dynamic progress value.
[0190] In some embodiments, the interaction includes positive interaction and negative interaction; the update module 4552 is configured to incrementally update the interaction progress represented by the progress control in response to the interaction between multiple virtual objects being a positive interaction; and to decrementally update the interaction progress represented by the progress control in response to the interaction between multiple virtual objects being a negative interaction.
[0191] In some embodiments, the update module 4552 is configured to switch the form of the progress control to a form corresponding to the current interaction progress in response to the increase of the interaction progress represented by the progress control, wherein different interaction progresses correspond to different forms of the progress control.
[0192] In some embodiments, the update module 4552 is configured to switch the progress control to an initial state in response to the interactive progress represented by the progress control reaching a completion state, wherein the initial state represents that the interactive progress of multiple virtual objects is reset to zero.
[0193] In some embodiments, a virtual scene is displayed in a human-computer interaction interface, and the virtual scene includes a first virtual object, which is a virtual object associated with a first account that logs into the human-computer interaction interface; a display module 4551 is configured to display at least one virtual resource in the virtual scene; in some embodiments, the display module 4551 is configured to, after displaying the virtual resource, configure the triggered virtual resource to the first virtual object in response to a trigger operation on any virtual resource; and hide the virtual resource in response to the display time of the virtual resource reaching a set time.
[0194] In some embodiments, the display module 4551 is configured to allocate the virtual resources to each virtual object in the virtual scene respectively when displaying the virtual resources, wherein the virtual resources obtained by each virtual object are the same or different.
[0195] In some embodiments, the acquisition module 4553 is configured to, before displaying the virtual resources, call a neural network model to perform prediction processing on the type of at least one virtual resource to be displayed based on the interaction data of the interactions between multiple virtual objects, so as to obtain the virtual resources to be displayed, wherein the neural network model is trained through interaction data samples of virtual objects, candidate virtual resource samples to be displayed, and annotations of the virtual resources to be displayed.
[0196] In some embodiments, the update module 4552 is configured to switch the current form of the virtual scene to the form associated with the completion state in response to the interactive progress represented by the progress control reaching the completion state; and to switch the current form of the virtual scene to the initial form in response to the interactive progress represented by the progress control switching to the initial state.
[0197] In some embodiments, multiple virtual objects belong to at least two camps, and different camps correspond to different progress controls. The display module 4551 is configured to display the progress control of the current camp when multiple virtual objects in the virtual scene belong to the same camp, wherein the progress control of the camp represents the interaction progress within the camp; when multiple virtual objects in the virtual scene belong to different camps, the progress control corresponding to each camp is displayed; the update module 4552 is configured to update the interaction progress represented by the progress control of each camp in response to the interaction between multiple virtual objects belonging to each camp.
[0198] In some embodiments, the interaction includes positive interaction and negative interaction; the camp includes a first camp; the update module 4552 is configured to incrementally update the interaction progress represented by the progress control of the first camp in response to positive interaction of virtual objects of other camps with virtual objects of the first camp, or interaction between virtual objects of the first camp; in response to negative interaction of virtual objects of other camps with virtual objects of the first camp, decrementally update the interaction progress represented by the progress control of the first camp, and incrementally update the interaction progress represented by the progress controls of other camps.
[0199] In some embodiments, the update module 4552 is configured to display a first virtual resource in response to the interaction progress represented by the progress control of any camp reaching the completion state first, and switch the progress control of each camp to an initial state, wherein the first virtual resource is used for acquisition of virtual objects of the camp whose interaction progress reaches the completion state first, and the initial state represents that the interaction progress of multiple virtual objects is reset to zero.
[0200] In some embodiments, the updating module 4552 is configured to change the virtual scene from the current form to another form in response to the number of times the interaction progress reaches the completion state reaching a number threshold, wherein the other form has at least one of the following differences compared to the current form:
[0201] The size of the virtual scene is larger; the maximum number of virtual characters that can be accommodated in the virtual scene is larger; and the maximum number of virtual objects that can be accommodated in the virtual scene is larger.
[0202] In some embodiments, the maximum progress value required for the interaction progress to reach the completion state is a dynamic value; the update module 4552 is configured to update the maximum progress value according to the number of virtual objects in the virtual scene, wherein the maximum progress value is positively correlated with the number of virtual objects in the virtual scene.
[0203] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the interactive processing method of the virtual scene described in the embodiment of the present application.
[0204] The present application embodiment provides a computer-readable storage medium storing computer executable instructions, wherein the computer executable instructions or computer programs are stored. When the computer executable instructions or computer programs are executed by a processor, the processor will execute the interactive processing method of the virtual scene provided by the present application embodiment, for example, Figure 3A The interactive processing method of the virtual scene is shown.
[0205] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0206] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form 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, component, subroutine or other unit suitable for use in a computing environment.
[0207] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0208] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0209] In summary, through the embodiment of the present application, the interaction progress of the progress control is updated through the interaction between multiple virtual objects in the virtual scene. When the interaction progress reaches the completion state, the corresponding virtual resources are displayed, and the virtual object can obtain the virtual resources. By issuing virtual resources, the enthusiasm for interaction between multiple virtual objects is promoted. The progress of interaction between multiple virtual objects is represented by the progress control, so that the interaction data of multiple virtual objects can be visualized, which can increase the diversity of virtual resource acquisition methods in the virtual scene and promote interaction between multiple virtual objects in the virtual scene.
[0210] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for interactive processing of a virtual scene, characterized in that: The method comprises: Displaying a virtual scene, wherein the virtual scene includes a plurality of virtual objects; Displaying a progress control, wherein the progress control is used to represent the progress of interaction between the multiple virtual objects; In response to interaction between the plurality of virtual objects, updating the interaction progress represented by the progress control, and In response to the interactive progress represented by the progress control reaching a completion state, a virtual resource is displayed, wherein the virtual resource is used for being acquired by the multiple virtual objects.
2. The method according to claim 1, characterized in that In response to the interaction between the multiple virtual objects, updating the interaction progress represented by the progress control includes: In response to any interaction between the multiple virtual objects, the interaction progress represented by the progress control is updated based on a fixed progress value increment.
3. The method according to claim 1, characterized in that In response to the interaction between the multiple virtual objects, updating the interaction progress represented by the progress control includes: In response to any interaction between the multiple virtual objects, the interaction progress represented by the progress control is updated based on the dynamic progress value increment.
4. The method according to claim 3, characterized in that: Different types of interactions correspond to different dynamic values; Before the interactive progress represented by the progress control is updated based on the dynamic progress value increment, the method further includes: A dynamic value related to the type of the interaction is obtained as the dynamic progress value.
5. The method according to claim 3, characterized in that: Different numbers of virtual objects participating in the interaction correspond to different progress values, and the number is positively correlated with the progress value; Before the interactive progress represented by the progress control is updated based on the dynamic progress value increment, the method further includes: Acquire the number of virtual objects participating in the interaction among the multiple virtual objects in the virtual scene; The product of the number of objects and a preconfigured ratio is used as the dynamic progress value, wherein the preconfigured ratio is a positive number.
6. The method according to claim 3, characterized in that Different types of interactions correspond to different dynamic values; Before the interactive progress represented by the progress control is updated based on the dynamic progress value increment, the method further includes: Obtaining the product of the following parameters: a dynamic value related to the type of the interaction and the number of virtual objects participating in the interaction; The product is used as the dynamic progress value.
7. The method according to any one of claims 1 to 6, characterized in that: The interaction includes positive interaction and negative interaction; In response to the interaction between the multiple virtual objects, updating the interaction progress represented by the progress control includes: In response to the interaction between the multiple virtual objects being a positive interaction, incrementally updating the interaction progress represented by the progress control; In response to the interaction between the multiple virtual objects being a negative interaction, the interaction progress represented by the progress control is updated by a decrement.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to the increase of the interactive progress represented by the progress control, the form of the progress control is switched to a form corresponding to the current interactive progress, wherein different interactive progresses correspond to different forms of the progress control.
9. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to the interaction progress represented by the progress control reaching a completion state, the progress control is switched to an initial state, wherein the initial state represents that the interaction progress of the plurality of virtual objects is reset to zero.
10. The method according to any one of claims 1 to 6, characterized in that: The virtual scene is displayed in the human-computer interaction interface, and the virtual scene includes a first virtual object, which is a virtual object associated with a first account that logs into the human-computer interaction interface; The display virtual resources include: Displaying at least one of the virtual resources in the virtual scene; After displaying the virtual resource, the method further includes: In response to a triggering operation on any one of the virtual resources, configuring the triggered virtual resource to the first virtual object; In response to the display time of the virtual resource reaching a set time, hiding the virtual resource.
11. The method according to any one of claims 1 to 6, characterized in that: When displaying the virtual resource, the method further includes: The virtual resources are respectively configured to each of the virtual objects in the virtual scene, wherein the virtual resources acquired by each of the virtual objects are the same or different.
12. The method according to any one of claims 1 to 6, characterized in that: Before displaying the virtual resource, the method further includes: Based on the interaction data of the interactions between the multiple virtual objects, a neural network model is called to predict the type of at least one virtual resource to be displayed to obtain the virtual resource to be displayed, wherein the neural network model is trained through interaction data samples of virtual objects, candidate virtual resource samples to be displayed, and annotations of virtual resources to be displayed.
13. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to the interactive progress represented by the progress control reaching a completion state, switching the current form of the virtual scene to a form associated with the completion state; In response to the interactive progress represented by the progress control being switched to an initial state, the current state of the virtual scene is switched to an initial state.
14. The method according to any one of claims 1 to 6, characterized in that: The multiple virtual objects belong to at least two camps, different camps correspond to different progress controls, and the display progress control includes: When the multiple virtual objects in the virtual scene belong to the same camp, displaying a progress control of the current camp, wherein the progress control of the camp represents the interaction progress within the camp; When the multiple virtual objects in the virtual scene belong to different camps, displaying a progress control corresponding to each camp; In response to the interaction between the multiple virtual objects, updating the interaction progress represented by the progress control includes: In response to interaction between the plurality of virtual objects belonging to each of the camps, the interaction progress represented by the progress control of each of the camps is updated.
15. The method according to claim 14, characterized in that The interaction includes positive interaction and negative interaction; the camp includes a first camp; In response to the interaction between the plurality of virtual objects belonging to the camp, updating the interaction progress represented by the progress control of the camp includes: In response to positive interactions of virtual objects of other camps with virtual objects of the first camp, or interactions between virtual objects of the first camp, incrementally updating the interaction progress represented by the progress control of the first camp; In response to the negative interaction of the virtual object of the other camp with the virtual object of the first camp, the interaction progress represented by the progress control of the first camp is updated decrementally, and the interaction progress represented by the progress control of the other camp is updated incrementally.
16. The method according to claim 14, characterized in that The method further comprises: In response to the interactive progress represented by the progress control of any one of the camps reaching the completion state first, a first virtual resource is displayed, and the progress control of each of the camps is switched to an initial state, wherein the first virtual resource is used for acquisition of virtual objects of the camp whose interactive progress reaches the completion state first, and the initial state represents that the interactive progress of the multiple virtual objects is reset to zero.
17. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to the number of times that the interaction progress reaches the completion state reaching a number threshold, the virtual scene is changed from a current form to another form, wherein the other form has at least one of the following differences compared to the current form: The size of the virtual scene is larger; The maximum number of virtual characters that can be accommodated in a virtual scene is larger; The maximum number of virtual items that can be accommodated in a virtual scene is larger.
18. The method according to any one of claims 1 to 6, characterized in that: The maximum progress value required for the interaction progress to reach the completion state is a dynamic value; The method further comprises: The maximum progress value is updated according to the number of virtual objects in the virtual scene, wherein the maximum progress value is positively correlated with the number of virtual objects in the virtual scene.
19. An interactive processing device for a virtual scene, characterized in that: The device comprises: A display module configured to display a virtual scene, wherein the virtual scene includes a plurality of virtual objects; The display module is configured to display a progress control, wherein the progress control is used to represent the interaction progress between the multiple virtual objects; An update module is configured to update the interaction progress represented by the progress control in response to interaction between the multiple virtual objects, and display virtual resources in response to the interaction progress represented by the progress control reaching a completion state, wherein the virtual resources are used for acquisition by the multiple virtual objects.
20. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions; A processor, used to implement the interactive processing method of the virtual scene described in any one of claims 1 to 18 when executing the computer executable instructions or computer programs stored in the memory.
21. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer program are executed by a processor, the interactive processing method of the virtual scene described in any one of claims 1 to 18 is implemented.
22. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the interactive processing method of the virtual scene described in any one of claims 1 to 18 is implemented.
Citation Information
Patent Citations
Information display method, device and equipment and computer readable storage medium
CN112306321A
Virtual object interaction method and related device
CN112774194A
Interaction control method and device in game and electronic equipment
CN115317903A
Interaction scene starting method and apparatus, storage medium, client, and server
US20220362666A1