Virtual scene display method, device, electronic device and storage medium

By displaying counter buttons and controls in the virtual scene, the usage information of virtual objects is displayed in real time, which solves the problem of low user viewing efficiency, improves interaction efficiency and reduces resource consumption.

CN114307152BActive Publication Date: 2025-09-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111666803.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-11-18
Filing Date
2021-12-31
Publication Date
2025-09-26
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the prior art, it is inefficient for a user to view other users' virtual object information in a virtual scene. Users need to continuously flip through multiple users' chessboards and perform manual calculations, which increases server waiting time and resource consumption.

Method used

A virtual scene display method is provided. By displaying counter buttons and controls, the usage and total number of each type of virtual objects are displayed in real time. Users can quickly obtain information by triggering operations.

Benefits of technology

It improves the efficiency of interaction in virtual scenes, reduces user decision-making time, and reduces server waiting time and resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114307152B_ABST
    Figure CN114307152B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device, computer-readable storage medium, and computer program product for displaying a virtual scene; the method comprises: displaying a virtual scene, wherein the virtual scene includes identifiers of multiple accounts, and each account can use at least one virtual object to interact with at least one virtual object used by other accounts; displaying a counter button; and displaying a counter control in response to a triggering operation on the counter button, wherein the counter control includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used. Through the present application, the interactive process in the virtual scene can be accelerated, thereby reducing the waiting time and resource consumption of the server.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority Statement

[0002] This application claims priority to application number 202111367209.8, filing date November 18, 2021, and title: Method, device, electronic device and storage medium for displaying virtual scenes. Technical Field

[0003] The present application relates to the field of computer human-computer interaction technology, and in particular to a method, device, electronic device and computer-readable storage medium for displaying a virtual scene. Background Art

[0004] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information. In particular, display technology for virtual scenes can achieve diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs. It has various typical application scenarios. For example, in the virtual scenes of games, it can simulate the real battle process between virtual objects.

[0005] With the widespread use of information technology, electronic devices can create richer and more vivid virtual scenes, typically such as games. More and more users are interacting with virtual scenes through electronic devices. For example, in a game, a user can use virtual objects to compete with virtual objects used by other users.

[0006] However, the related technology is rather cumbersome for obtaining information on the types and quantities of virtual objects that have been used in the game. For example, the user first needs to continuously look through the types and quantities of virtual objects that have been used by multiple other users, and manually memorize and calculate them, and finally obtain the number of virtual objects of each type that have been currently used in the game. This method will undoubtedly cause unnecessary waiting and resource consumption for the server, and will also cause delays in game processing. Summary of the Invention

[0007] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for displaying a virtual scene, which can accelerate the interactive process in the virtual scene, thereby reducing the waiting time and resource consumption of the server.

[0008] The technical solution of the embodiment of the present application is implemented as follows:

[0009] The present invention provides a method for displaying a virtual scene, including:

[0010] Displaying a virtual scene, wherein the virtual scene includes identifiers of multiple accounts, and each account can use at least one virtual object to interact with at least one virtual object used by other accounts;

[0011] Show counter button;

[0012] In response to a trigger operation on the counter button, a counter control is displayed, wherein the counter control includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used.

[0013] An embodiment of the present application provides a device for displaying a virtual scene, comprising:

[0014] A display module, configured to display a virtual scene, wherein the virtual scene includes identifiers of multiple accounts, and each account can use at least one virtual object to interact with at least one virtual object used by other accounts;

[0015] The display module is also used to display the counter button;

[0016] The display module is further configured to display a counter control in response to a triggering operation on the counter button, wherein the counter control includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used.

[0017] An embodiment of the present application provides an electronic device, including:

[0018] a memory for storing executable instructions;

[0019] The processor is configured to implement the method for displaying a virtual scene provided in an embodiment of the present application when executing the executable instructions stored in the memory.

[0020] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement a method for displaying a virtual scene provided in an embodiment of the present application.

[0021] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the method for displaying a virtual scene provided by the embodiment of the present application is implemented.

[0022] The embodiments of the present application have the following beneficial effects:

[0023] By displaying a counter button and displaying a counter control when a trigger operation for the counter button is received, wherein the counter control includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used, the user can view at one time the number of virtual objects of each type that have been currently used and the total number of virtual objects of each type that can be used in the virtual scene, thereby reducing the user's decision-making time, speeding up the interaction process in the virtual scene, and further reducing the server's waiting time and resource consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of an application scenario of a virtual scene display method provided by related technology;

[0025] Figure 2A This is an example of an application mode of the virtual scene display method provided in the embodiment of the present application. Figure 1 ;

[0026] Figure 2B This is a second schematic diagram of an application mode of the method for displaying a virtual scene provided in an embodiment of the present application;

[0027] Figure 3 4 is a schematic diagram of the structure of the terminal device 400 provided in an embodiment of the present application;

[0028] Figure 4 1 is a flow chart of a method for displaying a virtual scene provided in an embodiment of the present application;

[0029] Figure 5 Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0030] Figure 6 1 is a flow chart of a method for displaying a virtual scene provided in an embodiment of the present application;

[0031] 7A to 7E Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0032] Figure 8 1 is a flow chart of a method for displaying a virtual scene provided in an embodiment of the present application;

[0033] Figures 9A to 9C Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0034] Figure 10 Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0035] Figure 11Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0036] Figure 12 Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0037] Figure 13 Schematic diagram of an application scenario of a method for displaying a virtual scene provided in an embodiment of the present application;

[0038] Figure 14 It is a flowchart of a method for displaying a virtual scene provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0040] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will 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.

[0041] In the following description, the term "plurality" refers to at least two.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0043] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0044] 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.

[0045] 1) In response, it is 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 can be executed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are executed.

[0046] 2) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal device. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimensions of the virtual scene. For example, a virtual scene can include the sky, land, ocean, etc. The land can include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

[0047] 3) Virtual objects: These are the images of various people and objects that can interact in a virtual scene, or movable objects within the virtual scene. These movable objects can be virtual people, virtual animals, or animated characters, such as people or animals displayed within a virtual scene. A virtual object can be a virtual avatar representing the user within the virtual scene. A virtual scene can include multiple virtual objects, each with its own unique shape and volume, occupying a portion of the space within the virtual scene.

[0048] 4) Scene data, which represents the characteristic data of the virtual scene. For example, it can include the area of ​​the construction area in the virtual scene, the current architectural style of the virtual scene, etc.; it can also include the location of the virtual building in the virtual scene, and the area occupied by the virtual building, etc.

[0049] 5) Client: An application running on a terminal device to provide various services, such as a video playback client, a game client, etc.

[0050] 6) Interaction process: The process by which virtual objects in a virtual scene develop based on the time or state of interaction, for example, the process by which virtual objects fight against each other in a game; the process by which virtual objects fight against each other in a scene in a game.

[0051] 7) Multiplayer Online Battle Arena (MOBA): An action-based real-time strategy game where players choose a character from a variety of genres and battle against each other (usually 5 vs. 5) in opposing factions. Victory comes from destroying enemy defenses and structures.

[0052] 8) Auto Chess: A new type of multiplayer strategy game. Users can customize their own chess piece lineups to face off against opposing teams. The losing team loses health points (Hit Points), and the ranking is determined by elimination order. Chess pieces (virtual objects) are different combat units in the virtual world. Users can equip, upgrade, purchase, and sell pieces. Pieces are primarily acquired by refreshing the piece pool, with a small portion coming from "drafts" and battle events.

[0053] In related technologies, taking Auto Chess as an example, the way for users to view the opponent's chess pieces is to click on the opponent's portrait, switch to the opponent's chessboard, view the chess pieces on the opponent's chessboard and in the preparation area, and calculate the number and types of chess pieces on the field by themselves.

[0054] For example, see Figure 1 , Figure 1 This is a schematic diagram of an application scenario of a virtual scene display method provided by related technology, such as Figure 1 As shown, the chessboard interface 100 corresponding to the user with the account name "Hiroko" displays the chess pieces that the user has selected (including the pieces on the chessboard and in the preparation area), as well as the avatars and account names of multiple other users participating in the game. When the user with the account name "Hiroko" wants to view the chess pieces of other users, he can click on the avatars of the corresponding users. For example, when clicking on the avatar 101 corresponding to the user with the account name "Happy", the user will be redirected to the chessboard interface 102 corresponding to the user with the account name "Happy", and the user can view the chess pieces that the user with the account name "Happy" has selected in the chessboard interface 102. Similarly, when the user with the account name "Hiroko" wants to view the chess pieces that the user with the account name "Luoye" has selected, he can click on the avatar corresponding to the user with the account name "Luoye", and the user will be redirected to the chessboard interface corresponding to the user with the account name "Luoye" to view the chess pieces.

[0055] It can be seen that the efficiency of viewing the information of currently used chess pieces in the related art is low. The user needs to continuously view the number and type of chess pieces in the chessboards of multiple other users (for example, 7 opponents), and needs to manually calculate and memorize them. While consuming a lot of time, it also relatively reduces the user's decision-making time, making the already limited time even more tense. In addition, when the user is viewing, the client needs to jump between the chessboards corresponding to different users, resulting in low effectiveness of human-computer interaction.

[0056] In view of this, embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for displaying a virtual scene, which can accelerate the interactive process in the virtual scene, thereby reducing server waiting time and resource consumption. To facilitate easier understanding of the method for displaying a virtual scene provided by embodiments of the present application, an exemplary implementation scenario of the method for displaying a virtual scene provided by embodiments of the present application is first described. The virtual scene in the method for displaying a virtual scene provided by embodiments of the present application can be completely based on terminal device output, or based on the coordinated output of the terminal device and the server.

[0057] In other embodiments, the virtual scene can also be an environment for game characters to interact. For example, it can be an environment for game characters to fight in the virtual scene. By controlling the actions of the game characters, both parties can interact in the virtual scene, allowing users to relieve life stress during the game.

[0058] In one implementation scenario, see Figure 2A , Figure 2A This is a schematic diagram of the application mode of the virtual scene display method provided in an embodiment of the present application, which is suitable for some application modes that completely rely on the graphics processing hardware computing power of the terminal device 400 to complete the relevant data calculation of the virtual scene 200, such as stand-alone / offline mode games, and complete the output of the virtual scene through various types of terminal devices 400 such as smartphones, tablets and virtual reality / augmented reality devices.

[0059] As an example, types of graphics processing hardware include a central processing unit (CPU) and a graphics processing unit (GPU).

[0060] When forming the visual perception of the virtual scene 200, the terminal device 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and outputs the video frames that can form the visual perception of the virtual scene on the graphics output hardware, for example, presenting two-dimensional video frames on the display screen of a smartphone, or projecting video frames on the lenses of augmented reality / virtual reality glasses to achieve a three-dimensional display effect; in addition, in order to enrich the perception effect, the terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.

[0061] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal device 400. During the operation of the client 410, a virtual scene including role-playing is output. The virtual scene can be an environment for game characters to interact, such as a plain, a street, a valley, etc. for game characters to fight against each other. Taking the third-person perspective display of the virtual scene 200 as an example, the virtual scene 200 includes identifiers of multiple accounts. For example, at least one of the account names and avatars corresponding to the multiple accounts can be displayed in the virtual scene 200 ( Figure 2A ), wherein each account can use at least one virtual object to interact with at least one virtual object used by other accounts. A counter button 201 is also displayed in the virtual scene 200. When the client 410 receives a trigger operation (such as a click operation) from the user on the counter button 201, a counter control 202 is displayed in the virtual scene 200. The counter control 202 includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used. For example, taking the first virtual object in the counter control 202 as an example, the number "6 / 29" indicates that the number of virtual objects of this type that have been used is 6, and the total number of virtual objects of this type that can be used is 29 (for example, a maximum of 29 virtual objects of this type can be played in a game). In this way, the interaction process in the virtual scene is accelerated, thereby reducing the waiting time and resource consumption of the server.

[0062] In another implementation scenario, see Figure 2B , Figure 2B It is a schematic diagram of an application mode of the virtual scene display method provided in an embodiment of the present application, which is applied to a terminal device 400 and a server 200, and is suitable for an application mode that relies on the computing power of the server 200 to complete the virtual scene calculation and output the virtual scene on the terminal device 400.

[0063] Taking the visual perception of the virtual scene 200 as an example, the server 200 calculates the virtual scene-related display data (such as scene data) and sends it to the terminal device 400 through the network 300. The terminal device 400 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 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 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0064] As an example, a client 410 (e.g., a network version of a game application) is running on a terminal device 400, which interacts with other users in a game by connecting to a server 200 (e.g., a game server). The terminal device 400 outputs a virtual scene 200 of the client 410, wherein the virtual scene 200 includes identifiers of multiple accounts. For example, at least one of the account names and avatars corresponding to the multiple accounts can be displayed in the virtual scene 200 ( Figure 2B ), wherein each account can use at least one virtual object to interact with at least one virtual object used by other accounts. A counter button 201 is also displayed in the virtual scene 200. When the client 410 receives a trigger operation (such as a click operation) from the user on the counter button 201, a counter control 202 is displayed in the virtual scene 200. The counter control 202 includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used. For example, taking the first virtual object in the counter control 202 as an example, the number "6 / 29" indicates that the number of virtual objects of this type that have been used is 6, and the total number of virtual objects of this type that can be used is 29 (for example, a maximum of 29 virtual objects of this type can be played in a game). In this way, the interaction process in the virtual scene is accelerated, thereby reducing the waiting time and resource consumption of the server.

[0065] In some embodiments, the terminal device 400 can implement the display 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 multiplayer strategy game APP (i.e., the client 410 mentioned above); it can also be a mini-program, that is, a program that can be run by simply downloading it into a browser environment; it can also be a game mini-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.

[0066] Taking a computer program as an application, in actual implementation, the terminal device 400 installs and runs an application that supports a virtual scene. This application can be any of a multiplayer strategy game, a virtual reality application, a 3D map program, or a multiplayer shooter survival game. The user uses the terminal device 400 to manipulate virtual objects in the virtual scene to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and constructing virtual structures. Illustratively, the virtual object can be a virtual character, such as a simulated human or anime character.

[0067] In other embodiments, the embodiments of the present application can also be implemented with the help of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or local area network to realize data calculation, storage, processing, and sharing.

[0068] Cloud technology is a general term for network, information, integration, management platform, and application technologies used in the cloud computing business model. It can form a resource pool that can be used flexibly and conveniently on demand. Cloud computing technology will become a key support. The backend services of technical network systems require a large amount of computing and storage resources.

[0069] For example, Figure 2B The server 200 in the example can be an independent physical server, 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 400 can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to these. The terminal device 400 and the server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0070] Below Figure 2A The structure of the terminal device 400 shown in FIG will be described. Figure 3 , Figure 3 is a schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application. Figure 3 The terminal device 400 shown includes: at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. The various components in the terminal device 400 are coupled together via a bus system 450. It is understood that the bus system 450 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 450 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 450 is not shown in FIG. Figure 3 Various buses are labeled as bus system 450 .

[0071] The processor 420 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.

[0072] The user interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 440 also includes one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0073] The memory 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 460 may optionally include one or more storage devices that are physically remote from the processor 420.

[0074] Memory 460 includes volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. Nonvolatile memory may be read-only memory (ROM), and volatile memory may be random access memory (RAM). The memory 460 described in the embodiments of the present application is intended to include any suitable type of memory.

[0075] In some embodiments, the memory 460 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0076] Operating system 461, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and process hardware-based tasks;

[0077] A network communication module 462 for reaching other computing devices via one or more (wired or wireless) network interfaces 430 , exemplary network interfaces 430 including Bluetooth, WiFi, and USB;

[0078] a presentation module 463 for enabling presentation of information via one or more output devices 441 (e.g., a display screen, a speaker, etc.) associated with the user interface 440 (e.g., a user interface for operating peripheral devices and displaying content and information);

[0079] The input processing module 464 is configured to detect one or more user inputs or interactions from one of the one or more input devices 442 and to translate the detected inputs or interactions.

[0080] In some embodiments, the display device of the virtual scene provided by the embodiments of the present application can be implemented in a software manner. Figure 3 The display device 465 of the virtual scene stored in the memory 460 is shown. It can be software in the form of a program or plug-in, and includes the following software modules: a display module 4651, a control module 4652, a determination module 4653, and an application module 4654. These modules are logical and can be arbitrarily combined or further divided according to the functions implemented. It should be noted that in Figure 3 For the sake of convenience, all the above modules are shown at once, but it should not be considered that the display device 465 of the virtual scene excludes the implementation that can only include the display module 4651. The functions of each module will be explained below.

[0081] In other embodiments, the display device of the virtual scene provided in the embodiments of the present application can be implemented in hardware. As an example, the display device of the virtual scene provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the display method of the virtual scene provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs) or other electronic components.

[0082] The following will describe in detail the method for displaying a virtual scene provided by the embodiment of the present application with reference to the accompanying drawings. The method for displaying a virtual scene provided by the embodiment of the present application can be Figure 2A The terminal device 400 in the embodiment can also be executed separately. Figure 2B The terminal device 400 and the server 200 cooperate to execute.

[0083] Below, by Figure 2A The terminal device 400 in the embodiment of the present application independently performs the display method of the virtual scene provided by the embodiment of the present application as an example for description. Figure 4 , Figure 4 This is a flow chart of the method for displaying a virtual scene provided by the embodiment of the present application, which will be combined with Figure 4 The steps shown are explained.

[0084] It should be noted that Figure 4The method shown can be executed by various forms of computer programs running on the terminal device 400, and is not limited to the above-mentioned client 410, but can also be the operating system 461, software modules and scripts mentioned above. Therefore, the client should not be regarded as a limitation on the embodiments of the present application.

[0085] In step 101, a virtual scene is displayed.

[0086] Here, the virtual scene may include identifiers for multiple accounts. For example, at least one of the account names and avatars corresponding to the multiple accounts participating in the interaction may be displayed in the virtual scene. Furthermore, each account can use at least one virtual object to interact with at least one virtual object used by another account. When there are multiple virtual objects, the virtual objects can be of the same or different types. For example, Account 1 can use two virtual objects A of the same type to interact with two virtual objects of different types (e.g., Virtual Object B and Virtual Object C) used by Account 2. The number of virtual objects available to each account is positively correlated with the account level. For example, the maximum number of virtual objects available to each account is the same as the account level. For example, when the account level is 1, the maximum available virtual object is 1; when the account level is 2, the maximum available virtual objects is 2; and so on. Thus, users can make decisions between account level and virtual object selection. For example, based on the current game situation, users may decide to spend a certain amount of virtual resources (e.g., virtual coins) to purchase experience points to increase their account level, thereby increasing the maximum number of available virtual objects, or to spend a certain amount of virtual coins to purchase virtual objects, thereby increasing the fun of the game.

[0087] In step 102, a counter button is displayed.

[0088] In some embodiments, before displaying the counter button, the following processing can also be performed: displaying the store entrance; in response to a trigger operation for the store entrance, displaying the store control, wherein the store control includes multiple different types of virtual objects that can be used, and proceeding to execute the operation of displaying the counter button.

[0089] For example, see Figure 5 , Figure 5 Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 5As shown, a store entrance 501 is displayed in a virtual scene 500. When a user clicks on the store entrance 501, a store control 502 is displayed. In the store control 502, a plurality of different types of virtual objects that can be used are displayed, such as virtual object 503, virtual object 504, virtual object 505, and virtual object 506, for the user to select. In addition, a counter button 507 is also displayed in the store control 502. In this way, before selecting a virtual object, the user can click the counter button 507 to view the number of virtual objects of each type currently used in the virtual scene and the total number of virtual objects of each type that can be used, so that the user can select the virtual object he needs in the store control 502 in a targeted manner. For example, in response to the selection operation of at least one virtual object of at least one type among a plurality of different types of virtual objects that can be used and displayed in the store control, the client consumes a certain amount of virtual resources for the corresponding account as the usage fee of the virtual object, wherein, when different types of virtual objects are selected, the amount of virtual resources required to be consumed may be the same or different. For example, when the user clicks on the virtual object 504 displayed in the store control 502, the virtual gold coins owned by the user will be reduced by 2 (i.e., from 23 to 21), and the virtual object 504 selected by the user will be displayed in the preparation area.

[0090] It should be noted that, in actual applications, a refresh button 508 may also be displayed in the virtual scene 500. When a user is dissatisfied with the virtual objects currently displayed in the store control 502, they may click the refresh button 508 to refresh the display (each time the user clicks the refresh button 508, two virtual gold coins are consumed). Upon receiving a user click on the refresh button 508, other types of virtual objects are updated and displayed in the store control 502. Furthermore, an experience purchase button 509 may also be displayed in the virtual scene 500, allowing the user to spend a certain amount of virtual gold coins to upgrade their account level, thereby increasing the upper limit on the number of virtual objects the account can use.

[0091] In other embodiments, the above-mentioned step 102 can also be implemented in the following manner: for each interaction, the following processing is performed: before the interaction starts, a counter button is displayed in the interaction area of ​​the virtual scene; when the interaction starts, the counter button is hidden in the interaction area of ​​the virtual scene.

[0092] For example, in addition to being displayed in the store control, the counter button can also be displayed directly in the interactive area of ​​the virtual scene, and the counter button is not always displayed in the interactive area of ​​the virtual scene. For example, before each interaction starts (i.e., in the preparation stage of the current round), the counter button can be displayed in the interactive area of ​​the virtual scene so that the user can first click the counter button to view the number of virtual objects of each type that have been used in the virtual scene and the total number of virtual objects of each type that can be used before selecting the virtual objects to be used in the current round in the store control, so that the user can select the virtual objects they need in the store control in a targeted manner; and when the interaction starts (e.g., at the end of the countdown in the preparation stage of the current round), the counter button can be hidden in the interactive area of ​​the virtual scene. In this way, the display of the counter button can be avoided from blocking the screen of the interaction between virtual objects, thereby improving the user experience.

[0093] In step 103 , in response to a trigger operation on a counter button, a counter control is displayed.

[0094] Here, the counter control may include the number of virtual objects of each type that have been used, and the total number of virtual objects of each type that can be used. For example, the number of virtual objects of all types currently used in the virtual scene, and the total number of virtual objects of each type that can be used, can be displayed in the counter control.

[0095] For example, assuming that the virtual scene includes a total of 5 virtual objects of different types, namely virtual object A, virtual object B, virtual object C, virtual object D and virtual object E, the following content can be displayed in the counter control: the number of virtual objects A that have been currently used (for example, 2), and the total number of virtual objects A that can be used (for example, 9); the number of virtual objects B that have been currently used (for example, 1), and the total number of virtual objects B that can be used (for example, 5); the number of virtual objects C that have been currently used (for example, 3), and the total number of virtual objects C that can be used (for example, 10); the number of virtual objects D that have been currently used (for example, 0), and the total number of virtual objects D that can be used (for example, 4); the number of virtual objects E that have been currently used (for example, 1), and the total number of virtual objects E that can be used (for example, 6).

[0096] In some embodiments, multiple accounts are grouped for one-to-one interaction (for example, assuming there are a total of 8 accounts, namely accounts 1 to 8, then account 1 can interact with account 3, account 2 can interact with account 5, account 3 can interact with account 7, and account 4 can interact with account 6). Then, for a target account among the multiple accounts, the following processing can be performed: in response to a selection operation on the multiple accounts, the selected account is determined as the interactive account of the target account; or, an account is automatically selected from the multiple accounts as the interactive account of the target account, wherein the selection method includes any of the following: random selection (i.e., randomly selecting an account from other accounts as the interactive account of the target account), or the difference in interaction parameter with the target account is less than a threshold (for example, selecting an account corresponding to an auxiliary virtual object with the health value closest to that of the auxiliary virtual object corresponding to the target account from other accounts, or selecting an account with the combat power closest to that of the virtual object owned by the target account as the interactive account of the target account). Then, when a counter control is displayed in response to a trigger operation on a counter button, the number of virtual objects of each type used by the interactive account that have been used and the total number of virtual objects of each type that can be used can also be displayed in the counter control.

[0097] For example, taking account 1 as the target account, the user corresponding to account 1 can select one of the multiple accounts displayed in the virtual scene as an interactive account. For example, when receiving a request from the user corresponding to account 1 for an avatar corresponding to account 3 displayed in the virtual scene, account 3 is determined to be the interactive account of account 1. Then, when the client of the user corresponding to account 1 receives a click operation from the user corresponding to account 1 on a counter button displayed in the virtual scene, a counter control is displayed. The counter control displays the current number of virtual objects of each type used by account 3 and the total number of virtual objects of each type that can be used. For example, assuming that account 3 currently only selects virtual object A and virtual object B, the counter control only displays the current number of virtual objects A used and the total number of virtual objects A that can be used, and the current number of virtual objects B used and the total number of virtual objects B that can be used. In this way, the effectiveness of human-computer interaction in the virtual scene can be further improved, and it is convenient for users to view relevant information about virtual objects selected by specific users (e.g., opponents). This reduces user decision-making time, improves the user experience, and also reduces server waiting time and resource consumption.

[0098] In some embodiments, the counter control may further include at least one screening indicator for the virtual object, wherein the type of the screening indicator may include: level, race, occupation, selected, account identification; Figure 4 After step 103 shown, you can also perform Figure 6Step 104 is shown, combining Figure 6 The steps shown are explained.

[0099] In step 104 , in response to the indicator selection operation, the number of target virtual objects of at least one type corresponding to the selected filter parameter that have been used and the total number of target virtual objects of each type that can be used are updated and displayed in the counter control.

[0100] In some embodiments, when the filtering indicator is a level, the above-mentioned step 104 can be implemented in the following manner: display multiple levels in a counter control; in response to a level selection operation, update the counter control to display the number of target virtual objects of at least one type corresponding to the selected level that have been used, and the total number of target virtual objects of each type that can be used.

[0101] For example, see Figure 7A , Figure 7A Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 7A As shown, a level list 701 is displayed in the counter control 700, including level one, level two, level three, level four and level five, and the virtual objects of level one are displayed by default. When the user selects level three 702 in the level list 701, the virtual objects of level three are updated and displayed in the counter control 700 (that is, the number of virtual objects of each level three that have been used and the total number of virtual objects of each level three that can be used are updated and displayed in the counter control). In this way, by setting the level list in the counter control, it is convenient for users to view the number of virtual objects of a specific level that have been used, which reduces the time required for users to make decisions, speeds up the progress of the game, and further reduces the waiting time and resource consumption of the server.

[0102] In some embodiments, when the filtering indicator is race, the above-mentioned step 104 can be implemented in the following manner: displaying a race button in a counter control; displaying a race list in response to a trigger operation on the race button; and updating the counter control in response to a selection operation on the race list to display the number of target virtual objects of at least one type corresponding to the selected race that have been used, as well as the total number of target virtual objects of each type that can be used.

[0103] For example, see Figure 7B , Figure 7B Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 7BAs shown, a race button 703 is displayed in the counter control 700. When a user clicks on the race button 703, a race list 704 is displayed, including, for example, all races, fairies, empires, dragons, werewolves, etc. When the user selects fairies in the race list 704, the number of virtual objects of the fairy race that have been used and the total number of virtual objects of each fairy race that can be used are updated in the counter control 700. In this way, by setting a race button in the counter control, it is convenient for users to view the number of virtual objects of a specific race that have been used and the total number that can be used, thereby further improving the effectiveness of human-computer interaction in virtual scenes.

[0104] In some embodiments, when the screening indicator is occupation, the above-mentioned step 104 can be implemented in the following manner: displaying an occupation button in a counter control; displaying an occupation list in response to a trigger operation on the occupation button; and updating the counter control in response to a selection operation on the occupation list to display the number of target virtual objects of at least one type corresponding to the selected occupation that have been used, as well as the total number of target virtual objects of each type that can be used.

[0105] For example, see Figure 7C , Figure 7C Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 7C As shown, a profession button 705 is displayed in the counter control 700. When a user clicks on the profession button 705, a profession list 706 is displayed, including, for example, all professions, swordsman, gunner, fighter, knight, etc. When the user selects a fighter in the profession list 706, the number of virtual objects with the profession of fighter that have been used and the total number of virtual objects with each profession of fighter that can be used are updated in the counter control 700. In this way, by setting the profession button in the counter control, it is convenient for users to view the number of virtual objects of a specific profession that have been used and the total number that can be used, thereby further improving the effectiveness of human-computer interaction in virtual scenes.

[0106] In some embodiments, when the filtering indicator is selected, the above-mentioned step 104 can be implemented in the following manner: in the virtual scene corresponding to each account, the following processing is performed: a selection button indicating whether it has been selected is displayed in a counter control; in response to the selection operation on the selection button, the number of target virtual objects of at least one type selected by the account that have been used and the total number of target virtual objects of each type that can be used are updated in the counter control.

[0107] For example, see Figure 7D , Figure 7DSchematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 7D As shown, a selection button 707 indicating whether a virtual object has been selected is displayed in the counter control 700. When a selection operation is received from the user (assuming that the account corresponding to the user is account 1) on the selection button 707, the number of virtual objects currently used that have been selected by account 1 and the total number of virtual objects of each type that can be used are updated in the counter control 700. In this way, it is convenient for the user to view the relevant information of the virtual objects that he has currently selected, which reduces the time for the user to make decisions, speeds up the progress of the game, and thus reduces the waiting time and resource consumption of the server.

[0108] In other embodiments, when the filtering indicator is an account identifier, the above-mentioned step 104 can also be implemented in the following manner: displaying an account identifier button in a counter control; in response to a trigger operation on the account identifier button, displaying an identifier list, wherein the identifier list includes multiple identifiers corresponding one-to-one to multiple accounts; in response to a selection operation on the identifier list, updating the counter control to display the number of target virtual objects of at least one type corresponding to the selected identifier that have been used, and the total number of target virtual objects of each type that can be used.

[0109] For example, see Figure 7E , Figure 7E Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 7E As shown, an account identification button 708 is displayed in the counter control 700. When a user clicks the account identification button 708, an identification list 709 is displayed, including the account names corresponding to the multiple accounts participating in the interaction, such as "Happy", "Fallen Leaves", "Baby", "Cat" and "Runner". When the user selects "Cat" in the identification list 709, the number of target virtual objects of at least one type corresponding to the account with the account name "Cat" that have been used and the total number of target virtual objects of each type that can be used are updated in the counter control 700. In this way, by setting the account identification button in the counter control, it is convenient for the user to view the number of target virtual objects corresponding to a specific account (i.e., virtual objects used by a specific account) that have been currently used and the total number that can be used, thereby further improving the effectiveness of human-computer interaction in the virtual scene.

[0110] It should be noted that, in actual applications, the above-mentioned multiple filtering indicators have an "and" relationship with each other. For example, when the user selects level one and fairy at the same time in the counter control, the number of virtual objects with level one and fairy race that have been currently used and the total number that can be used will be updated in the counter control.

[0111] In some embodiments, see Figure 8 , Figure 8 is a flow chart of a method for displaying a virtual scene provided by an embodiment of the present application, such as Figure 8 As shown, after executing Figure 3 After step 103 shown, you can also perform Figure 8 Step 105 shown will combine Figure 8 The steps shown are explained.

[0112] In step 105 , in response to a triggering operation on any type of virtual object displayed in the counter control, detailed information of any type of virtual object is displayed.

[0113] Here, the details of any selected virtual object type can be displayed separately from the counter control, or displayed in a pop-up window overlaying the counter control, or displayed in the interactive area of ​​the virtual scene. In addition, the details information may include the number of virtual objects of any type that have been used, the total number of virtual objects of any type that can be used, and the attribute information of any virtual object type (such as health points, magic points, skills, etc.).

[0114] For example, see Figure 9A , Figure 9A Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 9A As shown, when a user clicks on a virtual object 901 displayed in a counter control 900, a details page 902 of the virtual object 901 is displayed. The details page 902 displays the number 903 of virtual objects 901 that have been used (for example, the number of virtual objects 901 that have been used is 8), the total number 904 of virtual objects 901 that can be used (for example, the total number of virtual objects 901 that can be used is 22), and attribute information of the virtual object 901, such as the number 905 of virtual gold coins that need to be consumed when selecting the virtual object 901, skill introduction information 906 of the virtual object 901, etc. This makes it convenient for users to view the detailed information of virtual objects of interest, thereby improving the effectiveness of human-computer interaction in virtual scenes.

[0115] In some embodiments, the following processing can also be performed in the virtual scene corresponding to each account: displaying the associated buttons corresponding to each type of virtual object that has been used by the account in the virtual scene; in response to a triggering operation on any one of the at least one associated buttons, displaying the number of virtual objects of the associated type corresponding to the triggered associated button that have been used, and the total number of virtual objects of the associated type that can be used.

[0116] For example, see Figure 9B , Figure 9B Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 9B As shown, in the virtual scene 907, association buttons corresponding to each type of virtual object used by an account (e.g., account 1) are displayed, for example, association button 908, association button 909, and association button 910. Association button 908 corresponds to virtual object A (e.g., Northland), association button 909 corresponds to virtual object B (e.g., Ranger), and association button 910 corresponds to virtual object C (e.g., Fighter). When a user clicks on association button 908, an association relationship with the Ranger (e.g., bond relationship, including lineup bond, i.e., when two game characters of the same lineup appear in the same team, there will be additional attribute bonuses; couple bond, i.e., couple bond in the game background story) is displayed. When two game characters in a romantic relationship appear in the same team at the same time, there will be additional attribute bonuses (for example, additional increase in the game character's health or enhancement of the game character's skills, etc.); blood bond, that is, when two game characters with blood ties in the game background story appear in the same team at the same time, there will be attribute bonuses). The details interface 911 of a virtual object (such as a ronin) displays the number of ronin currently in use (for example, 2) and the total number of ronin that can be used (for example, 10). This makes it convenient for users to view the number of virtual objects that have an associated relationship with the selected virtual object and have been used, further improving the effectiveness of human-computer interaction in the virtual scene.

[0117] In other embodiments, the following processing can also be performed on a target account among multiple accounts (such as a VIP account, or an account whose corresponding auxiliary virtual object has the lowest health value, that is, an account that is in a disadvantaged position, thereby improving the user's gaming experience): based on the environmental information of the virtual scene (such as size, map type, etc.), the type and number of virtual objects used by the target account's interactive accounts, the location distribution of virtual objects used by the target account, and the location distribution of virtual objects used by the interactive accounts, a machine learning model is called to perform prediction processing to obtain the type of virtual objects that the target account should use and the number of virtual objects of each type selected, wherein the prediction processing aims to have the target account outperform the interactive account; and selection prompt information is displayed in a counter control, wherein the selection prompt information includes the type of virtual objects that the target account should use and the number of virtual objects of each type selected.

[0118] For example, see Figure 9C , Figure 9C Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 9CAs shown, assuming that after calling the machine learning model for prediction processing and obtaining that the virtual objects that the target account (for example, account 1) should use are virtual objects 913 and virtual objects 914, virtual objects 913 and virtual objects 914 can be displayed in a specific manner (for example, in a highlighted manner) in the counter control 912 to prompt the user corresponding to account 1 to select virtual objects 913 and virtual objects 914. In this way, by calling the machine learning model for prediction processing and displaying the corresponding selection prompt information in the counter control, the user's decision-making time is reduced, and the effectiveness of human-computer interaction in the virtual scene is further improved.

[0119] In some embodiments, before calling the machine learning model for prediction processing, the following processing can also be performed: obtaining the interaction data of the sample winner account and the sample loser account; based on the environment of the sample virtual scene (such as size, map type, etc.), the type and quantity of virtual objects used by the sample loser account included in the interaction data, the location distribution of virtual objects used by the sample loser account, and the location distribution of virtual objects used by the sample winner account, calling the initialized machine learning model for prediction processing to obtain a prediction result; determining the difference between the prediction result and the labeled data, and performing back propagation based on the difference, and updating the parameters of the machine learning model layer by layer in the back propagation; wherein the labeled data includes the type and quantity of virtual objects used by the sample winner account.

[0120] It should be noted that the above-mentioned machine learning model can be a neural network model (such as a convolutional neural network, a deep convolutional neural network, or a fully connected neural network, etc.), a decision tree model, a gradient boosting tree, a multi-layer perceptron, and a support vector machine, etc. The embodiment of this application does not specifically limit the type of machine learning model.

[0121] The method for displaying a virtual scene provided by an embodiment of the present application displays a counter button and, upon receiving a trigger operation for the counter button, displays a counter control, wherein the counter control includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used. In this way, the user can view the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used in the virtual scene at one time, thereby reducing the time required for user decision-making, accelerating the interaction process, and thereby reducing the waiting time and resource consumption of the server.

[0122] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.

[0123] In multiplayer strategy games (such as Auto Chess), users need to simultaneously view and remember the number and type of chess pieces (corresponding to the virtual objects mentioned above) on the chessboards of other users participating in the same game. This requires a lot of calculation and memory to determine the current number of each type of chess piece that has been used. This consumes a lot of time and reduces the time for users to perform other operations and make decisions during the game round, thus creating a time-sensitive situation and preventing users from completing all target operations within the specified time.

[0124] In view of this, an embodiment of the present application provides a method for displaying a virtual scene, which can provide users with a more efficient way to view the number and type information of chess pieces that have been used, allowing users to understand and calculate the situation of remaining chess pieces in existing stores, and provide a powerful reference for user decision-making.

[0125] For example, see Figure 10 , Figure 10 Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 10 As shown, when a user clicks on the store entrance 1001, a store control 1002 is displayed, and a chess piece counter button 1003 is displayed in the store control 1002. When a user clicks on the chess piece counter button 1003, a chess piece counter control 1004 is displayed, and the chess piece counter control 1004 displays the number of chess pieces of each type that have been used in the game and the total number of chess pieces of each type that can be used.

[0126] For example, see Figure 11 , Figure 11 Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 11 As shown, the user can filter chess pieces by star rating, race, profession, and whether they have been selected through the navigation bar. For example, when a user clicks on profession button 1102, profession list 1103 is displayed, including all professions, swordsman, gunslinger, fighter, knight, ranger, and wizard. When the user selects fighter in profession list 1103, the number of chess pieces with the fighter profession is updated in chess piece counter control 1101. That is, chess piece counter control 1101 displays the number of chess pieces with the fighter profession that have been used and the total number of chess pieces that can be used.

[0127] For example, see Figure 12 , Figure 12 Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 12As shown, when a user clicks on the chess piece 1202 displayed in the chess piece counter control 1201, it jumps to the chessboard interface 1203, and displays the details page 1204 of the chess piece 1202 in the chessboard interface 1203. The details page 1204 displays the number of chess pieces 1202 currently used, the total number of chess pieces 1202 that can be used, and the skills possessed by the chess piece 1202, etc.

[0128] For example, see Figure 13 , Figure 13 Schematic diagram of an application scenario of the method for displaying a virtual scene provided in an embodiment of the present application. Figure 13 As shown, a plurality of bond buttons (corresponding to the above-mentioned associated buttons) are displayed in the chessboard interface 1301, for example, bond button 1302, bond button 1303, bond button 1304 and bond button 1305. When a user clicks on the bond button 1302, a detail interface 1306 of the chess pieces belonging to the bond is displayed. The detail interface 1306 displays information such as the number of chess pieces (such as ronin) belonging to the bond that have been currently used and the total number of the chess pieces that can be used.

[0129] For example, see Figure 14 , Figure 14 is a flow chart of a method for displaying a virtual scene provided by an embodiment of the present application, such as Figure 14 As shown, when a user clicks on a store entrance, the store control is displayed (for example, a shopping mall interface pops up in the chessboard interface). When a user clicks on a chess piece counter button displayed in the store control, the chess piece counter control is displayed (for example, a chess piece counter pop-up window pops up in the shopping mall interface). When a user filters the navigation bar displayed in the chess piece counter control (for example, the user clicks the "Filter" drop-down button and clicks on the target chess piece type information), the client filters the target chess pieces based on the chess piece type selected by the user and displays the target chess piece quantity information in the chess piece counter pop-up window. If the user does not filter, the chess piece counter pop-up window displays the quantity information of all chess pieces for the user to view.

[0130] The virtual scene display method provided by the embodiment of the present application can effectively solve the problem that it is too cumbersome for users to view the number and type information of chess pieces in multiplayer strategy games (such as auto chess games). The chess piece counter mechanism allows users to quickly view the number of chess pieces that have been used and the total number that can be used, reducing statistical time, providing users with a powerful reference for decision-making, improving the effectiveness of human-computer interaction in virtual scenes, and also improving the user experience.

[0131] The following continues to describe the exemplary structure of the virtual scene display device 465 provided in the embodiment of the present application being implemented as a software module. In some embodiments, such as Figure 3 As shown, the software modules stored in the virtual scene display device 465 of the memory 460 may include: a display module 4651.

[0132] Display module 4651 is used to display a virtual scene, wherein the virtual scene includes identifiers of multiple accounts, and each account can use at least one virtual object to interact with at least one virtual object used by other accounts; display module 4651 is also used to display a counter button; display module 4651 is also used to display a counter control in response to a trigger operation on the counter button, wherein the counter control includes the number of virtual objects of each type that have been used, and the total number of virtual objects of each type that can be used.

[0133] In some embodiments, the display module 4651 is also used to display the store entrance; in response to a trigger operation on the store entrance, a store control is displayed, wherein the store control includes multiple different types of virtual objects that can be used, and the operation of displaying a counter button is executed.

[0134] In some embodiments, the display module 4651 is also used to update the number of target virtual objects of at least one type corresponding to the selected filtering parameter that have been used and the total number of target virtual objects of each type that can be used in the counter control in response to the indicator selection operation.

[0135] In some embodiments, the display module 4651 is also used to display multiple levels in a counter control; in response to a level selection operation, the number of target virtual objects of at least one type corresponding to the selected level that have been used and the total number of target virtual objects of each type that can be used are updated in the counter control.

[0136] In some embodiments, the display module 4651 is also used to display a race button in a counter control; in response to a trigger operation on the race button, display a race list; in response to a selection operation on the race list, update the counter control to display the number of target virtual objects of at least one type corresponding to the selected race that have been used, and the total number of target virtual objects of each type that can be used.

[0137] In some embodiments, the display module 4651 is also used to display a career button in a counter control; in response to a trigger operation on the career button, display a career list; in response to a selection operation on the career list, update the counter control to display the number of target virtual objects of at least one type corresponding to the selected career that have been used, and the total number of target virtual objects of each type that can be used.

[0138] In some embodiments, the display module 4651 is also used to perform the following processing in the virtual scene corresponding to each account: displaying a selection button in a counter control to indicate whether it has been selected; in response to a selection operation on the selection button, updating the counter control to display the number of target virtual objects of at least one type selected by the account that have been used, and the total number of target virtual objects of each type that can be used.

[0139] In some embodiments, the display module 4651 is also used to display an account identification button in a counter control; in response to a trigger operation on the account identification button, an identification list is displayed, wherein the identification list includes multiple identifications corresponding one-to-one to multiple accounts; in response to a selection operation on the identification list, the number of target virtual objects of at least one type corresponding to the selected identification that have been used and the total number of target virtual objects of each type that can be used are updated in the counter control.

[0140] In some embodiments, the display module 4651 is also used to display detailed information of any type of virtual object in response to a trigger operation on any type of virtual object displayed in the counter control; wherein the detailed information includes the number of virtual objects of any type that have been used, the total number of virtual objects of any type that can be used, and attribute information of any type of virtual object.

[0141] In some embodiments, the display module 4651 is also used to perform the following processing in the virtual scene corresponding to each account: displaying the associated buttons corresponding to each type of virtual object that has been used by the account in the virtual scene; in response to a triggering operation on any one of the at least one associated buttons, displaying the number of virtual objects of the associated type corresponding to the triggered associated button that have been used, and the total number of virtual objects of the associated type that can be used.

[0142] In some embodiments, the display device 465 of the virtual scene also includes a prediction module 4652, which is used to perform the following processing for a target account among multiple accounts: based on the environmental information of the virtual scene, the type and number of virtual objects used by the interactive accounts of the target account, the location distribution of virtual objects used by the target account, and the location distribution of virtual objects used by the interactive accounts, a machine learning model is called to perform prediction processing to obtain the type of virtual objects that the target account should use and the number of virtual objects of each type selected, wherein the prediction processing aims to make the target account outperform the interactive account; the display module 4651 is also used to display selection prompt information in the counter control, wherein the selection prompt information includes the type of virtual objects that the target account should use and the number of virtual objects of each type selected.

[0143] In some embodiments, the display device 465 of the virtual scene also includes a training module 4653 for obtaining interaction data of a sample winner account and a sample loser account; based on the environment of the sample virtual scene, the types and quantities of virtual objects used by the sample loser account included in the interaction data, the location distribution of virtual objects used by the sample loser account, and the location distribution of virtual objects used by the sample winner account, the initialized machine learning model is called for prediction processing to obtain a prediction result; the difference between the prediction result and the labeled data is determined, and back propagation is performed based on the difference, and the parameters of the machine learning model are updated layer by layer in the back propagation; wherein, the labeled data includes the types and quantities of virtual objects used by the sample winner account.

[0144] In some embodiments, the display device 465 of the virtual scene also includes a determination module 4654, which is used to perform the following processing for a target account among multiple accounts: in response to a selection operation for multiple accounts, the selected account is determined as an interactive account of the target account; or, an account is automatically selected from multiple accounts as an interactive account of the target account, wherein the selection method includes any one of the following: random selection, and the difference in interaction parameters with the target account is less than a threshold; the display module 4651 is also used to display a counter control in response to a trigger operation for a counter button, wherein the counter control includes the number of virtual objects of each type used by the interactive account that have been used, and the total number of virtual objects of each type that can be used.

[0145] In some embodiments, the display module 4651 is also used to perform the following processing for each interaction: before the interaction starts, a counter button is displayed in the interaction area of ​​the virtual scene; when the interaction starts, the counter button is hidden in the interaction area of ​​the virtual scene.

[0146] It should be noted that the description of the device in the embodiment of the present application is similar to the implementation of the virtual scene display method described above and has similar beneficial effects, so it will not be repeated. Figure 4 、 Figure 6 ,or Figure 8 The present invention should be understood by referring to the description of any one of the accompanying drawings.

[0147] The present invention provides a computer program product or computer program, which includes computer instructions (i.e., executable instructions) stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the virtual scene display method described in the present invention.

[0148] The embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the method provided by the embodiment of the present application, for example, Figure 4 、 Figure 6 ,or Figure 8 A method for displaying a virtual scene is shown.

[0149] 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 various devices including one or any combination of the above memories.

[0150] In some embodiments, 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.

[0151] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores 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 coordinating files (e.g., files storing one or more modules, subroutines, or code portions).

[0152] As an example, 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 across multiple sites and interconnected by a communication network.

[0153] In summary, the embodiment of the present application displays a counter button and, upon receiving a trigger operation for the counter button, displays a counter control, wherein the counter control includes the number of virtual objects of each type that have been used and the total number of virtual objects of each type that can be used. In this way, the effectiveness of human-computer interaction in the virtual scene is improved, while the time required for user decision-making is reduced, thereby improving the user experience.

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

Claims

1. A method for displaying a virtual scene, characterized in that: The method comprises: Displaying a virtual scene, wherein the virtual scene includes identifiers of multiple accounts, the multiple accounts including a target account, and each of the accounts can use at least one virtual object to interact with at least one virtual object used by other accounts; Determining the account whose interaction parameter difference with the target account is less than a threshold as the interaction account of the target account; or, in response to a selection operation on the multiple accounts, determining the selected account as the interaction account of the target account; Show counter button; In response to a triggering operation on the counter button, a counter control is displayed, wherein the counter control includes the number of virtual objects of each type used by the interactive account that have been used, the total number of virtual objects of each type used by the interactive account that can be used, and selection prompt information, wherein the selection prompt information is obtained by predicting that the target account will outperform the interactive account, and the selection prompt information includes the type of virtual objects that the target account should use and the number of virtual objects of the type that each target account should use; The counter control further includes a plurality of filtering indicators for the virtual object, wherein the filtering indicators include at least two of the following: level, race, occupation, selected, and account identification; In response to the indicator selection operation, updating and displaying in the counter control the number of target virtual objects corresponding to the selected screening indicator that have been used and the total number of each target virtual object that can be used; When multiple filtering indicators are selected in the counter control, the target virtual object satisfies the multiple selected filtering indicators at the same time.

2. The method according to claim 1, characterized in that Before displaying the counter button, the method includes: Display store entrances; In response to a trigger operation for the store entrance, a store control is displayed, wherein the store control includes a plurality of virtual objects of different types that can be used, and the operation of displaying the counter button is executed.

3. The method according to claim 1, characterized in that When the filtering indicator is the level, in response to the indicator selection operation, updating and displaying in the counter control the number of target virtual objects corresponding to the selected filtering indicator that have been used and the total number of each target virtual object that can be used, includes: displaying a plurality of levels in the counter control; In response to a level selection operation, the counter control updates and displays the number of target virtual objects corresponding to the selected level that have been used and the total number of target virtual objects of each type that can be used.

4. The method according to claim 1, wherein When the filtering indicator is the race, in response to the indicator selection operation, updating and displaying in the counter control the number of target virtual objects corresponding to the selected filtering indicator that have been used and the total number of each target virtual object that can be used, includes: displaying a race button in said counter control; In response to a trigger operation on the race button, displaying a race list; In response to a selection operation on the race list, the counter control updates and displays the number of target virtual objects corresponding to the selected race that have been used and the total number of target virtual objects of each type that can be used.

5. The method according to claim 1, wherein When the screening indicator is the occupation, in response to the indicator selection operation, updating and displaying in the counter control the number of target virtual objects corresponding to the selected screening indicator that have been used and the total number of each target virtual object that can be used, includes: displaying a career button in the counter control; In response to a trigger operation on the occupation button, displaying an occupation list; In response to a selection operation on the occupation list, the counter control updates and displays the number of target virtual objects corresponding to the selected occupation that have been used and the total number of target virtual objects of each type that can be used.

6. The method according to claim 1, characterized in that When the filtering indicator is selected, in response to the indicator selection operation, updating and displaying in the counter control the number of target virtual objects corresponding to the selected filtering indicator that have been used and the total number of each target virtual object that can be used, includes: In the virtual scene corresponding to each account, the following processing is performed: A selection button indicating whether the counter has been selected is displayed in the counter control; In response to a selection operation on the selection button, the counter control is updated to display the number of target virtual objects selected by the account that have been used and the total number of target virtual objects of each type that can be used.

7. The method according to claim 1, characterized in that When the filtering indicator is the account identifier, in response to the indicator selection operation, updating and displaying in the counter control the number of target virtual objects corresponding to the selected filtering indicator that have been used and the total number of each target virtual object that can be used, includes: Displaying an account identification button in the counter control; In response to a triggering operation on the account identification button, displaying an identification list, wherein the identification list includes a plurality of identifications corresponding one-to-one to the plurality of accounts; In response to a selection operation on the identifier list, the counter control updates and displays the number of target virtual objects corresponding to the selected identifier that have been used and the total number of target virtual objects of each type that can be used.

8. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on any type of virtual object displayed in the counter control, display detailed information of the any type of virtual object; The detailed information includes the number of virtual objects of any one type that have been used, the total number of virtual objects of any one type that can be used, and attribute information of the virtual objects of any one type.

9. The method according to claim 1, characterized in that The method further comprises: In the virtual scene corresponding to each account, the following processing is performed: Displaying, in the virtual scene, associated buttons corresponding to each type of virtual object that has been used by the account; In response to a triggering operation on any one of the at least one association button, the number of virtual objects of the association type corresponding to the triggered association button that have been used and the total number of virtual objects of the association type that can be used are displayed.

10. The method according to claim 1, characterized in that The method further comprises: For the target account, perform the following processing: Based on the environmental information of the virtual scene, the types and quantities of virtual objects used by the target account's interactive accounts, the location distribution of virtual objects used by the target account, and the location distribution of virtual objects used by the interactive accounts, a machine learning model is called to perform prediction processing to obtain the types of virtual objects that the target account should use and the selected number of virtual objects of each type, wherein the prediction processing aims to have the target account outperform the interactive account.

11. The method according to claim 10, characterized in that Before calling the machine learning model for prediction processing, the method further includes: Obtain interaction data of sample winning accounts and sample losing accounts; Based on the environment of the sample virtual scene, the types and quantities of virtual objects used by the sample loser account included in the interaction data, the location distribution of virtual objects used by the sample loser account, and the location distribution of virtual objects used by the sample winner account, calling the initialized machine learning model to perform prediction processing to obtain a prediction result; Determining the difference between the prediction result and the labeled data, and performing backpropagation based on the difference, updating the parameters of the machine learning model layer by layer in the backpropagation; The marked data includes the type and quantity of virtual objects used by the sample winning account.

12. The method according to claim 1, characterized in that The display counter button includes: For each of these interactions, the following processing is performed: Before the interaction begins, displaying the counter button in the interactive area of ​​the virtual scene; When the interaction starts, the counter button is hidden in the interactive area of ​​the virtual scene.

13. A virtual scene display device, characterized in that: The device comprises: A display module, configured to display a virtual scene, wherein the virtual scene includes identifiers of multiple accounts, the multiple accounts including a target account, and each of the accounts can use at least one virtual object to interact with at least one virtual object used by another account; a determination module, configured to determine the account whose interaction parameter difference with the target account is less than a threshold as an interaction account of the target account; or, in response to a selection operation on the multiple accounts, determine the selected account as an interaction account of the target account; The display module is also used to display the counter button; The display module is further configured to display a counter control in response to a trigger operation on the counter button, wherein the counter control includes the number of virtual objects of each type used by the interactive account that have been used, the total number of virtual objects of each type that can be used by the interactive account, and selection prompt information, wherein the selection prompt information is obtained by predicting that the target account will outperform the interactive account, and the selection prompt information includes the type of virtual objects that the target account should use and the number of virtual objects of the type that each target account should use; the counter control also includes multiple filtering indicators for the virtual objects, and the filtering indicators include at least two of the following: level, race, occupation, selected, and account identification; in response to an indicator selection operation, the number of target virtual objects corresponding to the selected filtering indicator that have been used and the total number of each target virtual object that can be used are updated in the counter control; when multiple filtering indicators are selected in the counter control, the target virtual object simultaneously satisfies the multiple selected filtering indicators.

14. The device according to claim 13, characterized in that The display module is further used for: Display store entrances; In response to a trigger operation for the store entrance, a store control is displayed, wherein the store control includes a plurality of virtual objects of different types that can be used, and the operation of displaying the counter button is executed.

15. The device according to claim 13, characterized in that The display module is further used for: displaying a plurality of levels in the counter control; In response to a level selection operation, the counter control updates and displays the number of target virtual objects corresponding to the selected level that have been used and the total number of target virtual objects of each type that can be used.

16. The device according to claim 13, characterized in that The display module is further used for: displaying a race button in said counter control; In response to a trigger operation on the race button, displaying a race list; In response to a selection operation on the race list, the counter control updates and displays the number of target virtual objects corresponding to the selected race that have been used and the total number of target virtual objects of each type that can be used.

17. The device according to claim 13, characterized in that The display module is further used for: displaying a career button in the counter control; In response to a trigger operation on the occupation button, displaying an occupation list; In response to a selection operation on the occupation list, the counter control updates and displays the number of target virtual objects corresponding to the selected occupation that have been used and the total number of target virtual objects of each type that can be used.

18. The device according to claim 13, characterized in that The display module is further used for: In the virtual scene corresponding to each account, the following processing is performed: A selection button indicating whether the counter has been selected is displayed in the counter control; In response to a selection operation on the selection button, the counter control is updated to display the number of target virtual objects selected by the account that have been used and the total number of target virtual objects of each type that can be used.

19. The device according to claim 13, characterized in that The display module is further used for: Displaying an account identification button in the counter control; In response to a triggering operation on the account identification button, displaying an identification list, wherein the identification list includes a plurality of identifications corresponding one-to-one to the plurality of accounts; In response to a selection operation on the identifier list, the counter control updates and displays the number of target virtual objects corresponding to the selected identifier that have been used and the total number of target virtual objects of each type that can be used.

20. An electronic device, characterized in that: The electronic device comprises: a memory for storing executable instructions; The processor is configured to implement the method for displaying a virtual scene according to any one of claims 1 to 12 when executing the executable instructions stored in the memory.

21. A computer-readable storage medium, characterized in that Executable instructions are stored, which are used to implement the virtual scene display method described in any one of claims 1 to 12 when executed by a processor.

22. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method for displaying a virtual scene according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Virtual article prompting method and device, storage medium and electronic device

    CN111701240A