Interactive processing method and apparatus for virtual scenes, electronic equipment and computer program

By displaying counter buttons and controls in virtual scenes to show virtual object usage, the method addresses the inefficiencies of manual calculation, reducing interaction time and resource consumption, thereby improving user experience and server performance.

JP7830826B2Active Publication Date: 2026-03-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-10-20
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing technologies require users to manually access and calculate the types and quantities of virtual objects used by other users in virtual scenes, leading to unnecessary waiting and resource consumption, as well as delays in game processing.

Method used

A method and apparatus that displays counter buttons and counter controls in virtual scenes, showing the quantity of each type of virtual object already in use and the total number of virtual objects available, allowing users to perceive this information instantly, reducing the need for manual calculation and server interactions.

Benefits of technology

This approach accelerates the interaction process in virtual scenes by reducing user operation time, server waiting time, and resource consumption, enhancing user experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007830826000003
    Figure 0007830826000003
  • Figure 0007830826000004
    Figure 0007830826000004
  • Figure 0007830826000005
    Figure 0007830826000005
Patent Text Reader

Abstract

The present application provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for interactively processing a virtual scene, the method including the steps of: displaying a virtual scene, the virtual scene including indications of a plurality of accounts, each of the accounts being able to use at least one virtual object to interact with at least one virtual object used by another account; displaying a counter button; and, in response to a trigger operation on the counter button, displaying a counter control, the counter control including an already used quantity of each type of the virtual objects, and a total number of each type of the virtual objects that may be used.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims priority based on Chinese patent applications with application numbers 202111367209.8 and 202111666803.7, filed with the Chinese Patent Office on November 18, 2021 and December 31, 2021 respectively, and incorporates the entire contents thereof herein by reference.

[0002] This application relates to the technical field of human-computer interaction, and particularly to an interactive processing method and apparatus for virtual scenes, an electronic device, and a computer program.

Background Art

[0003] Display technologies based on graphics processing hardware have expanded the ways of environmental perception and information acquisition. In particular, virtual scene display technologies can realize various interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and have various typical application scenarios. For example, in the virtual scene of a game, a real combat process between virtual objects can be simulated.

[0004] With the popularization of information technology, electronic devices can realize richer and more vivid virtual scenes, such as games as a representative. The number of users participating in the interaction of virtual scenes via electronic devices is increasing. For example, in a game session, a user can compete with virtual objects (virtual objects) used by other users using virtual objects.

[0005] However, with related technologies, obtaining information on the types and quantities of virtual objects already used in the game is relatively cumbersome. For example, each user must access the information pages (information screens) of other users, check the types and quantities of virtual objects already used by those users, and then artificially store and calculate this information to finally obtain the quantities of each type of virtual object already used in the game. This method would undoubtedly cause unnecessary waiting and resource consumption on the server, and could also lead to delays in game processing. [Overview of the project] [Problems that the invention aims to solve]

[0006] The present invention aims to provide an interactive processing method and apparatus for virtual scenes, electronic equipment and computer programs that can accelerate interactive processes within virtual scenes and reduce server waiting time and resource consumption. [Means for solving the problem]

[0007] According to embodiments of this application, a method for interactive processing of a virtual scene performed by an electronic device is provided, which is: A virtual scene is displayed, the virtual scene includes identifiers (IDs) for multiple accounts, and each account can control at least one virtual object to interact with at least one virtual object controlled by other accounts; Display the counter buttons (keys); and In response to a trigger operation on the counter button, a counter control is displayed, and the counter control includes the already used quantity of the virtual object of each type, and the total number of the virtual object of each type that may be used.

[0008] According to embodiments of this application, an interactive processing device for a virtual scene is provided, which is, A display module configured to display a virtual scene, wherein the virtual scene includes indicators for a plurality of accounts, each of which can control at least one virtual object to interact with at least one virtual object controlled by other accounts, The display module is further configured to display counter buttons, The display module is further configured to display a counter control in response to a trigger operation on the counter button, the counter control including the already used quantity of the virtual object of each type and the total number of the virtual object of each type that may be used.

[0009] According to embodiments of this application, an electronic device is provided, which is, A memory device that stores executable instructions (computer programs); and Includes a processing unit connected to the memory, The processor is configured to implement the interactive processing method for a virtual scene provided in the embodiment of this application by executing executable instructions stored in the memory.

[0010] According to the embodiments of this application, a computer-readable storage medium is provided, which stores executable instructions, and when these executable instructions are executed by a processor, an interactive processing method for a virtual scene provided in the embodiments of this application can be realized.

[0011] According to the embodiments of this application, a computer program product is provided, which includes a computer program or instruction, and when the computer program or instruction is executed by a processor, an interactive processing method for a virtual scene provided in the embodiments of this application can be realized. [Effects of the Invention]

[0012] The embodiments of this application offer the following advantageous effects.

[0013] By displaying the counter button, the display of the counter control is triggered, and the counter control shows the quantity of each type of virtual object already in use, as well as the total number of each type of virtual object that can be used. This allows the user to perceive the quantity of each type of virtual object already in use and the total number of each type of virtual object that can be used in the virtual scene as a whole, all at once. Compared to the conventional method of manually entering each user's information page to check and calculate this information, this significantly reduces the time required for user operation and decision-making, accelerating the interaction process in the virtual scene, and thus reducing server waiting time and resource consumption. [Brief explanation of the drawing]

[0014] [Figure 1] This figure shows application scenarios for the interactive processing method of virtual scenes provided by related technologies. [Figure 2A] This is Figure (1) illustrating the application modes of the interactive processing method for a virtual scene provided in the embodiment of this application. [Figure 2B] This is Figure (2) illustrating the application modes of the interactive processing method for virtual scenes provided in the embodiment of this application. [Figure 3] This figure shows the configuration of the terminal device 400 provided in the embodiment of this application. [Figure 4] This figure shows the flow of the interactive processing method for a virtual scene provided in the embodiment of this application. [Figure 5] This figure shows an application scene for the interactive processing method for virtual scenes provided in the embodiment of this application. [Figure 6] This figure shows the flow of the interactive processing method for a virtual scene provided in the embodiment of this application. [Figure 7A] This is Figure (1) illustrating an application scenario for the interactive processing method for virtual scenes provided in the embodiment of this application. [Figure 7B] This is Figure (2) illustrating an application scenario for the interactive processing method for virtual scenes provided in the embodiment of this application. [Figure 7C] FIG. (3) showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 7D] FIG. (4) showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 7E] FIG. (5) showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 8] FIG. showing the flow of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 9A] FIG. (1) showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 9B] FIG. (2) showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 9C] FIG. (3) showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 10] FIG. showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 11] FIG. showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 12] FIG. showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 13] FIG. showing an application scenario of the interactive processing method for a virtual scene provided in an embodiment of the present application. [Figure 14] FIG. showing the flow of the interactive processing method for a virtual scene provided in an embodiment of the present application.

DETAILED DESCRIPTION OF THE INVENTION

[0015] To further clarify the purpose, technical proposal, and advantages of this application, the application will be described in detail below with reference to the drawings. The embodiments described are not limiting to this application, and all other embodiments obtained by those skilled in the art without creative work are also covered by this application.

[0016] In the following explanation, the phrase “several embodiments” refers to a subset of all possible embodiments, but to make it clear, “several embodiments” may be the same subset or different subsets of all possible embodiments, and they may be combined with each other as long as they do not contradict each other.

[0017] Furthermore, in the following explanation, the term “plural” refers to at least two things.

[0018] Furthermore, unless otherwise specified, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art. Also, the terms used herein are solely for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0019] Before describing the embodiments of this application in detail, we will first explain the nouns and terms used in the embodiments of this application. The nouns and terms used in the embodiments of this application are suitable for the following interpretations.

[0020] 1) ~in response to: Used to indicate a condition or state on which an operation to be performed depends. When the dependent condition or state is satisfied, one or more operations to be performed may be in real time or have a predetermined delay. Unless otherwise specified, the order in which the operations to be performed are not restricted.

[0021] 2) Virtual Scene: A scene displayed (or provided) when an application program is executed on a terminal device. The scene may be a simulation environment of the real world, a semi-simulated, semi-fictional virtual environment, or a completely fictional virtual environment. The virtual scene may be any one of two-dimensional, 2.5-dimensional, or three-dimensional virtual scenes, but the embodiments of this application are not limited to the number of dimensions of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities, and the user can control the movement of virtual objects in the virtual scene.

[0022] 3) Virtual object: An image (avatar) of various people and things that can be interacted with in a virtual scene, or an object that can be moved in a virtual scene. Such a movable object may be a virtual person (character), virtual animal, anime character, etc., for example, a person or animal displayed in a virtual scene. Such a virtual object may also be a single virtual avatar representing a user in a virtual scene. A virtual scene may contain multiple virtual objects, each virtual object having its own shape and volume in the virtual scene and occupying a portion of the space in the virtual scene.

[0023] 4) Scene data: This is feature data that represents a virtual scene. For example, it may include the area of ​​the construction zone in the virtual scene, the style of the building where the virtual scene currently takes place, or it may include the location of the virtual building in the virtual scene, the area occupied by the virtual building, etc.

[0024] 5) Client: An application program that runs on a terminal device to provide various services, such as a video playback client or a game client.

[0025] 6) Interactive process: A process that a virtual object obtains in a virtual scene based on the time or development of the state of interaction, for example, the process of a virtual object playing a game, or the process of a virtual object playing in one scene of a game.

[0026] 7) Multiplayer Online Battle Arena (MOBA): This is a type of action real-time strategy game where players can choose their preferred character type from a variety of options and engage in battles (usually 5 vs 5) between two opposing factions. The goal of victory is to break through the enemy's defenses and destroy the buildings they are protecting.

[0027] 8) Auto Chess: A new type of multiplayer strategy game. Users can assemble their own formations and battle against their opponents' formations. The loser's Hit Points (HP) are deducted, and the ranking is determined by the order in which the pieces are eliminated. The pieces (i.e., virtual targets) are different combat units in the virtual scene, and users can perform operations on the pieces such as equipping, upgrading, buying, and selling them. Most of the sources for acquiring pieces are refreshing (updating) the piece pool, but some are obtained through "drafting" and combat activities.

[0028] In related technologies, taking auto chess as an example, the way a user checks their opponent's pieces is to click on the opponent's avatar, switch to the opponent's board, check the pieces on the opponent's board and in the preparation area, and then calculate the number and types of pieces that have been played.

[0029] As an example, refer to Figure 1, which shows an application scene of the interactive processing method for virtual scenes provided by the related technology. As shown in Figure 1, the chessboard interface 100 corresponding to the user whose account name is "Hiroko" displays the pieces already selected by the user (including pieces on the chessboard and in the preparation area), as well as the avatars and account names of several other users who have joined the game. When the user whose account name is "Hiroko" wants to check the pieces of another user, they can click on the corresponding user's avatar. For example, by clicking on the avatar 101 corresponding to the user whose account name is "Kaishin", the user jumps to the chessboard interface 102 corresponding to the user whose account name is "Kaishin", where they can check the pieces already selected by the user whose account name is "Kaishin". Similarly, when the user whose account name is "Hiroko" wants to check the pieces already selected by the user whose account name is "Rakuyou", they can click on the avatar corresponding to the user whose account name is "Rakuyou", which will jump to the chessboard interface corresponding to the user whose account name is "Rakuyou", where they can check the pieces already selected by the user whose account name is "Rakuyou".

[0030] Therefore, as can be seen, the efficiency of checking information on pieces already in use with the relevant technology is relatively low, and the user needs to sequentially check the quantity and type of pieces on the boards of multiple other users (e.g., 7 opponents), and also needs to perform artificial calculations and memorization. As a result, a relatively large amount of time is consumed, and the user's decision time is also shortened, making the already insufficient time even more inadequate. In addition, when the user checks, the client needs to jump between boards corresponding to different users, which also reduces the effectiveness of human-computer interaction.

[0031] In view of the foregoing, embodiments of this application provide a virtual scene interactive processing method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can accelerate the interaction process in a virtual scene and thereby reduce server waiting time and resource consumption. To make the virtual scene interactive processing method provided in embodiments of this application easier to understand, first, an exemplary implementation scene of the virtual scene interactive processing method provided in embodiments of this application will be described. In the virtual scene interactive processing method provided in embodiments of this application, the virtual scene may be based entirely on the output of a terminal device, or it may be based on the combined output of a terminal device and a server.

[0032] In several other embodiments, the virtual scene may also be an environment for game character interaction, for example, for game character battles within the virtual scene. By controlling the actions of the game characters, interaction between both parties can take place in the virtual scene, allowing users to reduce the stress of their daily lives while playing the game.

[0033] As one implementation scenario, refer to Figure 2A, which is a diagram illustrating an application mode of the interactive processing method for a virtual scene provided in an embodiment of this application, in which the calculation of the relevant data of the virtual scene 200 can be completed solely by the computing power of the graphics processing hardware of the terminal device 400, for example, a standalone / offline game, and the output of the virtual scene can be completed by various different types of terminal devices 400 such as smartphones, tablet computers, and virtual reality / augmented reality devices.

[0034] As an example, types of graphics processing hardware include central processing units (CPUs) and graphics processing units (GPUs).

[0035] When forming a visual perception of the virtual scene 200, the terminal device 400 calculates the data necessary for display using graphics computing hardware, completes the loading, analysis, and rendering of the display data, and outputs video frames that can form a visual perception of the virtual scene using graphics output hardware. For example, it may display a two-dimensional video frame on a smartphone screen, or project a video frame that can realize a three-dimensional display effect onto the lenses of augmented reality / virtual reality glasses. Furthermore, to enrich the perception effect, the terminal device 400 may also form one or more of auditory perception, tactile perception, motion perception, and gustatory perception using different hardware.

[0036] As an example, terminal device 400 is running client 410 (e.g., a standalone game application), and during the execution process of client 410, it outputs a virtual scene including role-playing, and the virtual scene may be an environment for game character interaction, for example, a plain, street, or valley for game character battles. Taking a third-person view virtual scene 200 as an example, the virtual scene 200 includes indicators for multiple accounts, for example, the virtual scene 200 may display at least one of the account names and avatars corresponding to each of the multiple accounts (not shown in Figure 2A). Of these, each account can be controlled so that at least one virtual object interacts with at least one virtual object controlled by other accounts. The virtual scene 200 also displays a counter button 201, and when client 410 receives a user trigger operation (e.g., a click operation) on the counter button 201, it displays a counter control 202 in the virtual scene 200. The counter control 202 includes the quantity of virtual objects of each type already in use, and the total number of virtual objects of each type that may be used. For example, taking the first virtual object in the counter control 202 as an example, the number "6 / 29" indicates that the quantity of virtual objects of that type already in use is 6, and the total number of virtual objects of that type that may be used is 29 (for example, a maximum of 29 virtual objects of that type can appear in one game). In this way, the interaction process in the virtual scene can be accelerated, and server latency and resource consumption can be reduced.

[0037] Another implementation scenario is shown in Figure 2B, which illustrates an application mode for the interactive processing method of a virtual scene provided in an embodiment of this application. This application mode is applied to a terminal device 400 and a server 200, where the server 200 completes the calculation of the virtual scene using its computing power, and the terminal device 400 outputs the virtual scene.

[0038] Taking the formation of visual perception of a virtual scene 200 as an example, the server 200 calculates the relevant display data (e.g., scene data) of the virtual scene and transmits it to the terminal device 400 via the network 300. The terminal device 400 then completes the loading, analysis, and rendering of the calculated display data using graphics computing hardware, and then outputs the virtual scene using graphics output hardware to form visual perception. For example, it can display a two-dimensional video frame on a smartphone screen, or project a video frame capable of achieving a three-dimensional display effect onto the lenses of augmented reality / virtual reality glasses. In terms of perception of the virtual scene, as can be understood, the corresponding hardware output of the terminal device 400 can be used, for example, by using a microphone to form auditory perception or a vibrator to form tactile perception.

[0039] As an example, a client 410 (e.g., a network version of a game application) is running on terminal device 400, and by interacting with other users via connection server 200 (e.g., a game server), terminal device 400 outputs a virtual scene 200 for client 410. The virtual scene 200 includes indicators for multiple accounts, and for example, the virtual scene 200 may display at least one of the account names and avatars corresponding to each of the multiple accounts (not shown in Figure 2B). Each account can be controlled so that at least one virtual object interacts with at least one virtual object controlled by other accounts. The virtual scene 200 also displays a counter button 201, and when client 410 receives a user trigger operation (e.g., a click operation) on the counter button 201, it displays a counter control 202 in the virtual scene 200. The counter control 202 includes the quantity of each type of virtual object already in use, and the total number of each type of virtual object that may 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 that type already in use is 6, and the total number of virtual objects of that type that can be used is 29 (for example, a maximum of 29 virtual objects of that type can appear in one game). In this way, the interaction process in the virtual scene can be accelerated, and server waiting time and resource consumption can be reduced.

[0040] In some embodiments, the terminal device 400 can implement the interactive processing method of the virtual scene provided in the embodiments of this application by executing a computer program. For example, the computer program may be a native program or software module in the operating system; it may be a local application program (APP, APPlication), i.e., a program that can be executed by installing it on the operating system, such as a multiplayer strategy game APP (i.e., the client 410 described above); it may be an applet, i.e., a program that can be executed simply by downloading it to a browser environment; or it may be a game applet that can be embedded in any APP. In summary, the computer program described above may be any form of application program, module or plugin.

[0041] Taking the computer program as an application program as an example, in actual implementation, the terminal device 400 has an application program installed and running that can support a virtual scene. This application program may be any one of the following: a multiplayer competitive strategy game, a virtual reality application program, a 3D map program, or a multiplayer gunfight survival game. The user uses the terminal device 400 to operate a virtual object in the virtual scene to perform an activity, which includes, but is not limited to, at least one of the following: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and constructing a virtual building. For example, the virtual object may be a virtual person, such as a simulated human character or an anime character.

[0042] In several other embodiments, the embodiments of this application may be further realized by cloud technology. Cloud technology refers to hosting technology that enables the computation, storage, processing, and sharing of data by integrating a set of resources such as hardware, software, and networks on a wide area network or local area network.

[0043] Cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies based on cloud computing-based business model applications, forming a resource pool that can be used on demand, flexibly, and conveniently. Cloud computing technology is expected to provide significant support. Background services of technical network systems require large amounts of computing and memory resources.

[0044] As an example, the server 200 in Figure 2B may be an independent physical server, a group of multiple physical servers or a distributed system, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, midware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms. The terminal device 400 may be, but is not limited to, a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, or smartwatch. The terminal device 400 and the server 200 may be connected directly or indirectly by wired or wireless communication, but this is not limited to the embodiments of this application.

[0045] The configuration of the terminal device 400 shown in Figure 2A will be described below. Referring to Figure 3, which shows the configuration of the terminal device 400 provided in the embodiment of this application, the terminal device 400 shown in Figure 3 includes at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. Each assembly in the terminal device 400 is connected by a bus system 450. For clarity, the bus system 450 is used to enable connection and communication between these assemblies. In addition to the data bus, the bus system 450 also includes a power bus, a control bus, and a status signal bus. For clarity, various buses are shown as the bus system 450 in Figure 3.

[0046] The processor 420 may be an integrated circuit chip capable of processing signals, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate, transistor logic device, or discrete hardware assembly. Of these, the general-purpose processor may be a microprocessor, any ordinary processor, etc.

[0047] The user interface 440 includes one or more output devices 441 capable of displaying media content, one or more speakers and / or one or more visual display displays. The user interface 440 further includes one or more input devices 442, and user interface components to assist user input, such as a keyboard, mouse, microphone, touch panel, camera head, other input buttons and controls.

[0048] The memory unit 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Optionally, the memory unit 460 may include one or more storage devices located physically remote from the processor 420.

[0049] The memory 460 includes a volatile memory or a non-volatile memory, and may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random-access memory (RAM). The memory 460 described in the embodiments of this application may include any suitable type of memory.

[0050] In some embodiments, the memory 460 can store data to support various operations, and examples of this data include programs, modules, and data configurations, or subsets or supersets thereof. These are described below by example.

[0051] Operating System 461: A system program used to handle various basic system services and perform hardware-related tasks, including, for example, a framework layer, core library layer, driver layer, etc., to realize various basic services and handle hardware-based tasks; Network communication module 462: Used to reach other computing devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 include Bluetooth, WiFi, USB (Universal Serial Bus), etc.; Display module 463: Used to display information via one or more output devices 441 (e.g., display, speaker, etc.) associated with user interface 440 (e.g., a user interface for operating peripheral devices and displaying content and information); and Input processing module 464: Used to detect one or more user inputs or interactions from one or more input devices 442, and to process (e.g., translate) the detected one or more inputs or interactions.

[0052] In some embodiments, the interactive processing device for virtual scenes provided in the embodiments of this application may be implemented using software. Figure 3 shows the interactive processing device for virtual scenes 465 stored in memory 460, which may be software in the form of a program, plug-in, etc., and may include the following software modules: a display module 4651, a control module 4652, a confirmation module 4653, and an application module 4654. Since these modules are logical, they can be combined or further divided in any way based on the functions to be implemented. Note that in Figure 3, for convenience, all of the above modules are shown at once, but this does not exclude the possibility that the interactive processing device for virtual scenes 465 consists only of an implementation of the display module 4651. The functions of each module will be described in detail below.

[0053] The interactive processing method for virtual scenes provided in the embodiments of this application will be described in detail below with reference to the drawings. The interactive processing method for virtual scenes provided in the embodiments of this application may be executed independently by the terminal device 400 in Figure 2A, or it may be executed in cooperation with the terminal device 400 and the server 200 in Figure 2B.

[0054] The following explanation will use the example of the terminal device 400 in Figure 2A independently executing the interactive processing method for the virtual scene provided in the embodiment of this application. Refer to Figure 4, which is a diagram showing the flow of the interactive processing method for the virtual scene provided in the embodiment of this application. The explanation will be based on the steps shown in Figure 4.

[0055] Furthermore, the method shown in Figure 4 is not limited to execution by the client 410 described above, but may also be executed by various types of computer programs running on the terminal device 400, and may also be executed by the operating system 461, software modules, and scripts described above. Therefore, the client does not limit the embodiments of this application.

[0056] Step 101: Display the virtual scene.

[0057] Here, the virtual scene may contain indicators for multiple accounts. For example, the virtual scene may display at least one of the account names and avatars corresponding to each of the multiple accounts participating in the interaction. Also, each account can control (or use) at least one virtual object to interact with at least one virtual object controlled by other accounts. When there are multiple virtual objects, the types of virtual objects may be the same or different. For example, account 1 can control two virtual objects A of the same type to interact with two virtual objects of different types (e.g., virtual objects B and C) controlled by account 2. The number of virtual objects that each account can control is positively correlated with the account's rank (level). For example, the maximum number of virtual objects that each account can control is the same as the account's rank; that is, when the account's rank is 1, it can control a maximum of one virtual object, when the account's rank is 2, it can control a maximum of two virtual objects, and so on. In this way, users can make decisions between their account rank and the selection of virtual objects. For example, a user can decide to spend a predetermined amount of virtual resources (e.g., virtual gold) to purchase experience in order to upgrade their account rank, based on the current state of the game. This can increase the upper limit of the number of virtual objects that can be controlled, or the game can be made more enjoyable by deciding to spend a predetermined amount of virtual gold to purchase a virtual object.

[0058] Step 102: Display the counter button.

[0059] In some embodiments, before displaying the counter button, the following processing may be performed: namely, displaying the store entrance; displaying store controls in response to a trigger operation on the store entrance, of which the store controls include several different types of virtual objects that can be used; and then proceeding to execute the operation to display the counter button.

[0060] As an example, refer to Figure 5, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of this application. As shown in Figure 5, the virtual scene 500 displays a shop entrance 501, and when the user clicks on the shop entrance 501, the shop control 502 is displayed, and the shop control 502 displays several different types of virtual objects that can be used, for example, virtual object 503, virtual object 504, virtual object 505 and virtual object 506 are included for the user's selection. The shop control 502 also displays a counter button 507. In this way, before selecting a virtual object, the user can click the counter button 507 to check the quantity of each type of virtual object already used in the virtual scene and the total number of each type of virtual object that can be used, so that the user can narrow down their target and select the virtual object they need from the shop control 502. For example, in response to a selection operation on at least one virtual object of at least one type from among several different types of virtual objects that can be used and displayed in the shop control, a predetermined amount of virtual resources can be consumed for the corresponding account as a usage fee for the virtual object, and the amount of virtual resources that must be consumed may be the same or different when selecting a virtual object of a different type. For example, when a user clicks on a virtual object 504 displayed in the shop control 502, the user's virtual gold is reduced by 2 (i.e., from 23 to 21), and the virtual object 504 selected by the user is displayed in the preparation area.

[0061] Furthermore, a refresh (update) button 508 may also be displayed in the virtual scene 500. If the user is not satisfied with the virtual objects currently displayed in the shop control 502, they can click the refresh button 508 to refresh them (for example, each time the user clicks the refresh button 508, 2 virtual gold coins are consumed). When the shop control 502 receives a click from the user on the refresh button 508, other types of virtual objects are displayed in the shop control. Here, other types of virtual objects are at least partially different from multiple different types of virtual objects. For example, if the shop control originally displayed virtual objects A, B, and C, when the shop control receives a click from the user on the refresh button, virtual objects D, E, and F can be displayed in the shop control as updated versions. Furthermore, the virtual scene 500 may also display an experience purchase button 509, allowing the user to spend a predetermined amount of virtual resources (e.g., virtual gold coins, virtual ingots, etc.) to increase their account rank. For example, each time the user clicks the experience purchase button, 50 virtual gold coins are deducted from the user's account. After the deduction is successful, the user's account rank increases by 1, thereby increasing the upper limit of the amount of virtual resources the account can use.

[0062] In some other embodiments, step 102 described above may be implemented in the following manner, namely, for each interaction, the following processing is performed: before the interaction starts, the counter button is displayed in the interaction area of ​​the virtual scene; and when the interaction starts, the counter button in the interaction area of ​​the virtual scene is hidden.

[0063] For example, the counter button may not only be displayed in the shop controls, but may also be displayed directly in the interaction area of ​​the virtual scene. Alternatively, the counter button may not always be displayed in the interaction area of ​​the virtual scene. For example, the counter button may be displayed in the interaction area of ​​the virtual scene before each interaction begins (i.e., during the preparation phase of the current match). This allows the user to first click the counter button to see the quantity of each type of virtual object already used in the virtual scene, as well as the total number of each type of virtual object that can be used, before selecting the virtual object they need from the shop controls. This allows them to narrow down their selection of the virtual object they need from the shop controls. The counter button may also be hidden in the interaction area of ​​the virtual scene when the interaction begins (for example, when the countdown for the preparation phase of the current match ends). In this way, the display of the counter buttons can avoid obstructing (blocking) the screen used for interaction between virtual objects, thereby improving the user experience.

[0064] Step 103: Display the counter controls in response to a trigger operation on the counter button.

[0065] Here, the counter control may include the quantity of each type of virtual object already in use, and the total number of each type of virtual object that may be used. For example, the counter control may display the quantity of all types of virtual objects already in use in the virtual scene, and the total number of each type of virtual object that may be used.

[0066] As an example, suppose a virtual scene displays a total of five different types of virtual objects, which are virtual object A, virtual object B, virtual object C, virtual object D, and virtual object E. In this case, the counter control may display the following: the quantity of virtual object A already in use (e.g., 2) and the total number of virtual object A that can be used (e.g., 9); the quantity of virtual object B already in use (e.g., 1) and the total number of virtual object B that can be used (e.g., 5); the quantity of virtual object C already in use (e.g., 3) and the total number of virtual object C that can be used (e.g., 10); the quantity of virtual object D already in use (e.g., 0) and the total number of virtual object D that can be used (e.g., 4); and the quantity of virtual object E already in use (e.g., 1) and the total number of virtual object E that can be used (e.g., 6).

[0067] In some embodiments, multiple accounts may be grouped together and perform one-to-one interactions (for example, if there are a total of eight accounts, each designated as Account 1 through Account 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). In this case, the following processing may be performed on the target account among the multiple accounts: namely, in response to a selection operation on multiple accounts, the selected account is determined to be the interactive account of the target account; or, one account is automatically selected from among the multiple accounts to be the interactive account of the target account. The selection method may include any one of the following: random selection (i.e., randomly selecting one account from among the other accounts to be the interactive account for the target account), and selection of an account whose difference from the target account's interactive parameters (e.g., the combat strength of the virtual targets the target account possesses, or the hit points of the auxiliary virtual targets corresponding to the target account) is less than a threshold (e.g., selecting the account corresponding to the auxiliary virtual target closest to the hit points of the auxiliary virtual target corresponding to the target account from among the other accounts to be the interactive account for the target account, or selecting the account closest to the combat strength of the virtual targets the target account possesses to be the interactive account for the target account). In this case, when the counter control is displayed in response to a trigger operation on the counter button, the counter control may further display the quantity of virtual targets of each type already in use for the interactive account, and the total number of virtual targets of each type that may be used.

[0068] As an example, suppose there are a total of eight accounts, designated as Account 1 through Account 8, and the target account is Account 1. In this case, one of the other accounts (i.e., Account 2 through Account 8) can be randomly selected and designated as Account 1's interactive account. For example, if Account 4 is randomly selected from Account 2 through Account 8, Account 4 can be designated as Account 1's interactive account, meaning that the virtual object controlled by Account 1 will interact with the virtual object controlled by Account 4.

[0069] As an example, suppose there are a total of eight accounts, each designated as Account 1 through Account 8, and the target account is Account 1. If the hit points of the auxiliary virtual object corresponding to Account 1 (i.e., a virtual object that assists the virtual object controlled by Account 1 in performing interactions, for example, a partner object called by the virtual object controlled by Account 1) are 90, and the hit points of the auxiliary virtual objects corresponding to Accounts 2 through 8 are 80, 82, 85, 93, 89, 92, and 100 respectively, then the hit points of the auxiliary virtual object corresponding to Account 6 will be closest to the hit points of the auxiliary virtual object corresponding to Account 1. At this point, Account 6 can be made an interactive account for Account 1, meaning that the virtual object controlled by Account 1 will interact with the virtual object controlled by Account 6.

[0070] As an example, suppose there are a total of eight accounts, each designated as Account 1 through Account 8, and the target account is Account 1. If the combat strength of the virtual target controlled by Account 1 (which can be determined comprehensively based on parameters such as attack power, defense power, and hit points of the virtual target controlled by Account 1; for example, the higher the attack power, defense power, and hit points of the virtual target controlled by Account 1, the stronger the combat strength of that virtual target) is 90, and the combat strengths of the virtual targets controlled by Accounts 2 through 8 are 86, 89, 93, 100, 70, 85, and 99 respectively, then the combat strength of the virtual target controlled by Account 3 will be closest to the combat strength of the virtual target controlled by Account 1. At this point, Account 3 can be made an interactive account for Account 1, meaning that the virtual target controlled by Account 1 will interact with the virtual target controlled by Account 3.

[0071] As an example, let's assume the target account is Account 1. The user corresponding to Account 1 can select one account as an interactive account from among several accounts displayed in the virtual scene. For example, when the user corresponding to Account 1 selects an avatar corresponding to Account 3 displayed in the virtual scene, Account 3 is set as the interactive account for Account 1. In this case, when the client of the user corresponding to Account 1 receives a click operation from the user corresponding to Account 1 on the counter button displayed in the virtual scene, the counter control is displayed, and the quantity of each type of virtual object already in use and the total number of each type of virtual object that can be used are displayed in the counter control. For example, if Account 3 currently has only virtual object A and virtual object B selected, the counter control will only display the quantity of virtual object A already in use and the total number of virtual objects A that can be used, as well as the quantity of virtual object B already in use and the total number of virtual objects B that can be used. In this way, the effectiveness of human-computer interaction in virtual scenes can be further improved, making it convenient for users to view relevant information about virtual objects selected by specific users (e.g., other users), reducing the time users spend making decisions, improving the user experience, and simultaneously reducing server latency and resource consumption.

[0072] In some embodiments, the counter control may further include at least one selection metric for the virtual object, the type of selection metric may include grade, race, occupation, selected, and account mark. In this case, after performing step 103 shown in Figure 4, step 104 shown in Figure 6 may be performed. The following explanation will be based on the steps shown in Figure 6.

[0073] In step 104, in response to the indicator selection operation, the counter control displays the already used quantity of at least one type of target virtual object corresponding to the selected selection parameter, and the total number of possible uses of each type of target virtual object, as updated.

[0074] In some embodiments, when the selection indicator is a grade, step 104 described above can be implemented in the following manner: namely, displaying multiple grades on the counter control; and, in response to the grade selection operation, displaying on the counter control the already used quantity of at least one type of target virtual object corresponding to the selected grade, and the total number of usable target virtual objects of each type as updated.

[0075] As an example, refer to Figure 7A, which shows an application scene of the interactive processing method for virtual scenes provided in an embodiment of the present application. As shown in Figure 7A, the counter control 700 displays a grade list 701 including grades 1, 2, 3, 4, and 5 (i.e., levels 1 through 5), and a grade 1 virtual object is displayed by default. When the user selects grade 3 702 from the grade list 701, the counter control 700 displays the updated grade 3 virtual objects (i.e., the counter control displays the updated quantity of each grade 3 virtual object already used, and the total number of each grade 3 virtual object that can be used). In this way, by providing a grade list in the counter control, it is convenient for the user to check the quantity of a particular grade of virtual object already used, reducing the time that the user needs to spend making decisions, accelerating the game process, and further reducing server waiting time and resource consumption.

[0076] In some embodiments, when the selection indicator is a species, step 104 described above can be implemented in the following manner: a species button is displayed on the counter control; a species list is displayed in response to a trigger operation on the species button; and, in response to a selection operation on the species list, the already used quantity of at least one type of target virtual object corresponding to the selected species, and the total number of usable target virtual objects for each type are displayed on the counter control as updated.

[0077] As an example, refer to Figure 7B, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of this application. As shown in Figure 7B, the counter control 700 displays a race button 703. When the user clicks the race button 703, the counter control 700 displays a race list 704, which includes, for example, all races (all races), immortals, empires, dragons, werewolves, etc. When the user selects immortals from the race list 704, the counter control 700 displays the number of virtual objects of the immortal race that have already been used, and the total number of virtual objects of the immortal race that can be used, as updated values. By providing a race button on the counter control in this way, it is convenient for the user to check the number of virtual objects of a particular race that have already been used and the total number that can be used, and the effectiveness of human-computer interaction in the virtual scene can be further improved.

[0078] In some embodiments, when the selection indicator is occupation, step 104 described above can be implemented in the following manner: namely, display an occupation button on the counter control; display an occupation list in response to a trigger operation on the occupation button; and display the updated quantity of target virtual objects already used for at least one type corresponding to the selected occupation, and the total number of target virtual objects that can be used for each type, on the counter control in response to a selection operation on the occupation list.

[0079] As an example, refer to Figure 7C, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of this application. As shown in Figure 7C, the counter control 700 displays a job button 705. When the user clicks the job button 705, the job list 706 is displayed, which includes, for example, all jobs, swordsman, musketeer, fighter, knight, etc. When the user selects fighter from the job list 706, the counter control 700 displays the already used quantity of virtual objects whose job is fighter, and the total number of each virtual object whose job is fighter, updated accordingly. In this way, by providing a job button on the counter control, it is made convenient for the user to check the already used quantity and the total number of virtual objects whose job is a particular job, and the effectiveness of human-computer interaction in the virtual scene can be further improved.

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

[0081] As an example, refer to Figure 7D, which shows an application scene of the interactive processing method for virtual scenes provided in an embodiment of this application. As shown in Figure 7D, the counter control 700 displays a selection button 707 indicating whether an item has been selected. Upon receiving a selection operation from the user (assuming the account corresponding to the user is account 1) on the selection button 707, the counter control 700 displays the already used quantity of virtual objects already selected by account 1, and the total number of virtual objects of each type that can be used, as updated. In this way, it is convenient for the user to check the relevant information of virtual objects they have already selected, reducing the user's decision time, accelerating the game process, and reducing server waiting time and resource consumption.

[0082] In some other embodiments, when the selection indicator is an account indicator, step 104 described above can be implemented in the following manner: namely, display an account indicator button on the counter control; display an indicator list in response to a trigger operation on the account indicator button, the indicator list containing multiple indicators that correspond one-to-one with multiple accounts; and, in response to a selection operation on the indicator list, display the already used quantity of at least one type of target virtual object corresponding to the selected indicator, and the total number of usable target virtual objects of each type, as updated on the counter control.

[0083] As an example, refer to Figure 7E, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of this application. As shown in Figure 7E, the counter control 700 displays an account indicator button 708. Upon receiving a click operation from the user on the account indicator button 708, the counter control 700 displays an indicator list 709 which includes account names corresponding to each of the multiple accounts participating in the interaction, such as "Happy Heart", "Fallen Leaves", "Baby", "Cat", "Runner", etc. When the user selects "Cat" from the indicator list 709, the counter control 700 displays the already used quantity of at least one type of target virtual object corresponding to the account whose account name is "Cat", and the total number of target virtual objects of each type that can be used, as updated. In this way, by providing an account indicator button on the counter control, it is made convenient for the user to check the already used quantity and the total number of target virtual objects that can be used for a particular account (i.e., virtual objects used by a particular account), and the effectiveness of human-computer interaction in the virtual scene can be further improved.

[0084] Furthermore, the above-mentioned selection indicators may have an "and" relationship. For example, if the user selects both Grade 1 and Immortal Spirit simultaneously in the counter control, the counter control will display the updated quantity of virtual objects that are Grade 1 and of the Immortal Spirit species, as well as the total number that can be used.

[0085] In some embodiments, refer to Figure 8, which is a diagram showing the flow of the interactive processing method for a virtual scene provided in the embodiments of this application. As shown in Figure 8, after performing step 103 shown in Figure 3, step 105 shown in Figure 8 may also be performed. The following explanation will be based on the steps shown in Figure 8.

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

[0087] Here, the detailed information of any one selected virtual object type may be displayed on a separate screen from the counter control, displayed in a pop-up window that covers the counter control, or displayed in the interaction area of ​​the virtual scene. The detailed information may also include the number of virtual objects of any one type that have already been used, the total number of virtual objects of any one type that can be used, and attribute information of any one type of virtual object (e.g., hit points, magic value, skills, etc.).

[0088] As an example, refer to Figure 9A, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of the present application. As shown in Figure 9A, when a user clicks on a virtual object 901 displayed on the counter control 900, the details page 902 of the virtual object 901 is displayed. The details page 902 displays the already used quantity 903 of the virtual object 901 (for example, the already used quantity of the virtual object 901 is 8), the total number of possible uses of the virtual object 901 904 (for example, the total number of possible uses of the virtual object 901 is 22), and attribute information of the virtual object 901 (for example, the quantity of virtual gold coins that must be consumed when selecting the virtual object 901 905, the skill introduction information 906 of the virtual object 901, etc.). In this way, it is possible to make it convenient for the user to check detailed information on virtual objects of interest and to improve the effectiveness of human-computer interaction in the virtual scene.

[0089] In some embodiments, the following processing may be performed in the virtual scene corresponding to each account: namely, in the virtual scene, a related button corresponding to each type of virtual object already used by the account is displayed; and in response to a trigger operation on any one of the at least one related button, the number of virtual objects of the related type corresponding to the triggered related button that are already in use, and the total number of virtual objects of the related type that may be used are displayed.

[0090] As an example, refer to Figure 9B, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of the present application. As shown in Figure 9B, the virtual scene 907 displays related buttons (including, for example, related buttons 908, 909, and 910) corresponding to each type of virtual object already used by an account (e.g., account 1), of which related button 908 corresponds to virtual object A (e.g., Beiji), related button 909 corresponds to virtual object B (e.g., Yūkia), and related button 910 corresponds to virtual object C (e.g., Tōshi). When a user clicks related button 908, the detailed interface 911 of the virtual object associated with Yūkia (e.g., Rōnin, who has a relationship with Tōshi) is displayed, and the detailed interface 911 displays the number of Rōnin already used (e.g., 2) and the total number of Rōnin that can be used (e.g., 10). In this way, it becomes convenient for the user to check the number of virtual objects already used that have an association relationship with a virtual object that has already been selected, and the effectiveness of human-computer interaction in the virtual scene can be further improved.

[0091] The following explains the relationships between the parties involved.

[0092] As an example, an association relationship may also be a bond relationship, and includes the following:

[0093] Formation Bonds: That is, when two game characters of the same formation appear on the same team, there is an additional attribute bonus (for example, the hit points, attack power, etc. of these two game characters can be further increased); Couple Bond: That is, when two game characters who have a couple relationship in the game's background story appear on the same team at the same time, there is an additional attribute bonus (for example, the hit points of these two game characters are further increased, or the skills of the game characters are enhanced); and Kinship: When two game characters who are related by blood according to the game's background story appear on the same team at the same time, they receive an additional attribute bonus (for example, their hit points, attack power, etc., can be further increased).

[0094] In some other embodiments, the following processing may be performed on the target account among multiple accounts (e.g., the VIP account, or the account with the lowest hit points of the auxiliary virtual objects corresponding to the account, i.e., the weaker account): that is, a machine learning model is invoked to perform a prediction process based on virtual scene environment information (e.g., size, map type, etc.), the type and quantity of virtual objects used by the target account's interactive account, the location distribution of virtual objects used by the target account, the location distribution of virtual objects used by the interactive account, etc., in order to obtain the type of virtual object that the target account should use and the selected quantity of virtual objects of each type, with the prediction process aiming for the target account to win against the interactive account; and selection suggestion information is displayed on the counter control, which includes the type of virtual object that the target account should use and the selected quantity of virtual objects of each type.

[0095] As an example, refer to Figure 9C, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of this application. As shown in Figure 9C, after obtaining virtual objects 913 and 914 that a target account (e.g., account 1) should use by calling a machine learning model and performing predictive processing, virtual objects 913 and 914 can be displayed on the counter control 912 in a specific manner (e.g., a highlighting manner) to present the user corresponding to account 1 with a selection of virtual objects 913 and 914. In this way, by calling a machine learning model to perform predictive processing and displaying the corresponding selection presentation information on the counter control, the time it takes for the user to make a decision can be reduced, and the effectiveness of human-computer interaction in the virtual scene can be further improved.

[0096] In some embodiments, before calling the machine learning model to perform prediction processing, the following processing may be performed: namely, obtaining interactive data for the sample winner account and the sample loser account; obtaining prediction results by calling the initialized machine learning model to perform prediction processing based on the environment of the sample virtual scene (e.g., size, map type, etc.), the types and quantities of virtual objects used by the sample loser account included in the interactive 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; determining the difference between the prediction results and the labeled data, performing backpropagation based on the difference, updating the parameters of the machine learning model layer by layer in the backpropagation process, of which the labeled data includes the types and quantities of virtual objects used by the sample winner account.

[0097] As an example, an exemplary configuration of a machine learning model may include an input layer (i.e., an embedding layer), a coding layer (e.g., consisting of multiple cascaded convolutional layers), a fully connected layer, and an output layer (including an activation function, e.g., a Softmax function). After obtaining interactive data, the interactive data is first input to the input layer for embedding, then the coding layer performs coding on the embedding feature vectors output from the input layer to obtain hidden layer feature vectors, then the fully connected layer performs fully connected processing on the hidden layer feature vectors, and finally, the fully connected result output from the fully connected layer is input to the output layer, where it performs activation processing to obtain the prediction result.

[0098] The following explains the loss function used in the training process of machine learning models.

[0099] Examples of the present invention allow machine learning models to be trained using various different types of loss functions, including, for example, regression loss functions, two-class loss functions, hinge loss functions, multi-class loss functions, and multi-class cross-entropy loss functions.

[0100] As an example, multiclass cross-entropy loss is an extension of binary cross-entropy loss, and the input vector X i and the corresponding one-hot coded target vector Y i The losses regarding

[0101]

number

[0102] Here, p ij represents the probability corresponding to the i-th input vector in set j, c represents the total number of input vectors, and y ij This represents the output corresponding to the i-th input vector.

[0103] As an example, Hinge loss is primarily used in support vector machines with class labels (e.g., including 1 and 0, where 1 represents a win and 0 represents a failure). For example, the formula for calculating the Hinge loss for a data pair (x,y) is as follows:

[0104]

number

[0105] The machine learning models described above may include neural network models (e.g., convolutional neural networks, deep convolutional neural networks, fully connected neural networks, etc.), decision tree models, gradient boosting trees, multilayer perceptrons, support vector machines, etc., but the embodiments of this application are not limited to the type of machine learning model.

[0106] According to the interactive processing method for virtual scenes provided in the embodiment of this application, a counter button is displayed, and when a trigger operation is received on the counter button, a counter control is displayed, which displays the quantity of each type of virtual object already in use and the total number of each type of virtual object that may be used. In this way, the user can check the quantity of each type of virtual object already in use and the total number of each type of virtual object that may be used in the virtual scene all at once, reducing the time that needs to be spent for the user to make a decision, accelerating the interactive process, and reducing server waiting time and resource consumption.

[0107] The following describes an exemplary application of one of the embodiments of this application in a real-world application scenario.

[0108] In multiplayer strategy games (for example, auto chess games), users need to simultaneously check and remember the quantity and type of pieces (corresponding to the virtual objects mentioned above) on the boards of other users participating in the same game. During this period, obtaining the quantity of each type of piece already in use requires a relatively large amount of calculation and memorization, which consumes a relatively large amount of time. This also reduces the time available for the user to perform other actions and make decisions within the game round, potentially leading to situations where time is insufficient and the user may not be able to complete all objective actions within the allotted time.

[0109] In view of the above, the embodiments of this application provide an interactive processing method for a virtual scene, which provides the user with a more efficient way to check the quantity and type information of pieces already in use, allows the user to estimate and understand the current state of the remaining pieces in the shop, and provides valuable reference for the user's decisions, thereby accelerating the interactive process in the game and reducing server waiting time and resource consumption.

[0110] As an example, refer to Figure 10, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of the present application. As shown in Figure 10, when the user clicks on the shop entrance 1001, the shop control 1002 is displayed, and the shop control 1002 displays a piece counter button 1003. When the user clicks on the piece counter button 1003, the piece counter control 1004 is displayed, and the piece counter control 1004 displays the number of pieces of each type already used in the game of this round, and the total number of pieces of each type that can be used.

[0111] As an example, refer to Figure 11, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of this application. As shown in Figure 11, the user can select the star rank, race, occupation, and whether a piece is selected using the navigation bar. For example, when the user clicks the occupation button 1102, the occupation list 1103 (including all occupations, swordsman, musketeer, fighter, knight, rogue, and mage) is displayed. When the user selects "fighter" from the occupation list 1103, the piece counter control 1101 displays updated quantity information for pieces whose occupation is "fighter," that is, the piece counter control 1101 displays the number of each piece whose occupation is "fighter" that has already been used, and the total number that can be used.

[0112] As an example, refer to Figure 12, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of the present application. As shown in Figure 12, when the user clicks on a piece 1202 displayed on the piece counter control 1201, the system jumps to the chessboard interface 1203, which displays the details page 1204 of piece 1202. The details page 1204 displays the number of pieces 1202 already used, the total number of pieces 1202 that can be used, and the skills that piece 1202 possesses.

[0113] As an example, refer to Figure 13, which shows an application scene of the interactive processing method for a virtual scene provided in an embodiment of the present application. As shown in Figure 13, the board interface 1301 displays several bond buttons (corresponding to the associated buttons described above), for example, bond button 1302, bond button 1303, bond button 1304 and bond button 1305. When the user clicks on bond button 1302, the interface displays the details interface 1306 of the piece belonging to that bond, and the details interface 1306 displays information such as the number of pieces belonging to that bond (for example, Ronin) that have already been used and the total number of pieces that can be used.

[0114] As an example, refer to Figure 14, which is a diagram showing the flow of an interactive processing method for a virtual scene provided in an embodiment of the present application. As shown in Figure 14, upon receiving a click operation from the user on the shop entrance, the shop control is displayed (for example, the shop interface is popped up from the chessboard interface), upon receiving a click operation from the user on the piece counter button displayed on the shop control, the piece counter control is displayed (for example, the piece counter window is popped up from the shop interface), and upon receiving a selection operation from the user on the navigation field displayed on the piece counter control (for example, when the user clicks the “Select” pull-down button and then clicks the target piece type information), the client selects a target piece based on the piece type selected by the user, displays the quantity information of the target piece in the piece counter pop-up window, and if the user does not make a selection, displays the quantity information of all pieces in the piece counter pop-up window for the user to check.

[0115] The interactive processing method for virtual scenes provided in the embodiments of this application can better solve the problem that the procedure for users to check the quantity and type information of pieces in multiplayer competitive strategy games (e.g., auto chess games) is too complex. The piece counter mechanism allows users to quickly check the number of pieces already used and the total number that can be used, reducing the time required for statistics. This provides users with valuable information for decision-making, improves the effectiveness of human-computer interaction in virtual scenes, and enhances the user experience.

[0116] The following describes exemplary configurations in which the implementation of the virtual scene interactive processing unit 465 provided in the embodiments of this application is based on software modules. In some embodiments, as shown in Figure 3, the software modules in the virtual scene interactive processing unit 465 stored in the memory 460 may include a display module 4651.

[0117] The display module 4651 is configured to display a virtual scene, of which the virtual scene includes indicators for multiple accounts, each account being able to control at least one virtual object to interact with at least one virtual object controlled by other accounts. The display module 4651 is further configured to display a counter button, and in response to a trigger operation on the counter button, the display module 4651 is further configured to display a counter control, of which the counter control includes the quantity of each type of virtual object already in use, and the total number of each type of virtual object that may be used.

[0118] In some embodiments, the display module 4651 is configured to further perform the following: display a shop entrance; in response to a trigger operation on the shop entrance, display shop controls, of which the shop controls include several different types of virtual objects that can be used; and then proceed to perform an operation to display counter buttons.

[0119] In some embodiments, the display module 4651 is further configured to display, in response to an indicator selection operation, the already used quantity of at least one type of target virtual object corresponding to the selected selection parameter, and the total number of possible target virtual objects of each type, as updated in the counter control.

[0120] In some embodiments, the display module 4651 is further configured to: display multiple grades on the counter control; and, in response to a grade selection operation, display on the counter control the already used quantity of at least one type of target virtual object corresponding to the selected grade, and the total number of usable target virtual objects for each type, as updated.

[0121] In some embodiments, the display module 4651 is further configured to display a species button on the counter control; in response to a trigger operation on the species button, display a species list; and in response to a selection operation on the species list, display on the counter control the already used quantity of at least one type of target virtual object corresponding to the selected species, and the total number of usable target virtual objects for each type, as updated.

[0122] In some embodiments, the display module 4651 is further configured to: display occupation buttons on the counter control; display an occupation list in response to a trigger operation on the occupation buttons; and, in response to a selection operation on the occupation list, display on the counter control the already used quantity of at least one type of target virtual object corresponding to the selected occupation, and the total number of usable target virtual objects for each type, as updated.

[0123] In some embodiments, the display module 4651 is further configured to perform the following actions in the virtual scene corresponding to each account: display a selection button on the counter control to indicate whether it is selected; and, in response to a selection operation on the selection button, display on the counter control the already used quantity of at least one type of target virtual object that the account has already selected, and the total number of usable target virtual objects of each type, as updated.

[0124] In some embodiments, the display module 4651 is further configured to: display account indicator buttons on the counter control; display an indicator list in response to a trigger operation on the account indicator buttons, the indicator list containing multiple indicators that correspond one-to-one with multiple accounts; and, in response to a selection operation on the indicator list, display on the counter control the already used quantity of at least one type of target virtual object corresponding to the selected indicator, and the total number of usable target virtual objects of each type, as updated.

[0125] In some embodiments, the display module 4651 is further configured to, in response to a trigger operation on any one type of virtual object displayed on the counter control, display detailed information for any one type of virtual object, the quantity of any one type of virtual object already in use, the total number of any one type of virtual object that can be used, and attribute information for any one type of virtual object.

[0126] In some embodiments, the display module 4651 is configured to further perform the following in the virtual scene corresponding to each account: display a related button in the virtual scene corresponding to each type of virtual object that the account has already used; and, in response to a trigger operation on any one of the at least one related button, display the number of virtual objects of the related type corresponding to the triggered related button that have already been used, and the total number of virtual objects of the related type that may be used.

[0127] In some embodiments, the virtual scene interactive processing unit 465 further includes a prediction module 4652, which is configured to perform the following processing for a target account among multiple accounts: namely, calling a machine learning model to perform prediction processing based on the virtual scene environment information, the types and quantities of virtual objects used by the target account's interactive account, the location distribution of virtual objects used by the target account, and the location distribution of virtual objects used by the interactive account, in order to obtain the types of virtual objects that the target account should use and the selected quantities of virtual objects for each type, with the prediction processing aiming for the target account to outperform the interactive account. The display module 4651 is further configured to display selection suggestion information on the counter control, which includes the types of virtual objects that the target account should use and the selected quantities of virtual objects for each type.

[0128] In some embodiments, the virtual scene interactive processing unit 465 further includes a training module 4653 configured to perform the following: acquire interactive data from sample winner accounts and sample loser accounts; obtain prediction results by calling an initialized machine learning model and performing prediction processing based on the environment of the sample virtual scene, the types and quantities of virtual objects controlled by the sample loser accounts included in the interactive data, the location distribution of virtual objects controlled by the sample loser accounts, and the location distribution of virtual objects controlled by the sample winner accounts; and determine the difference between the prediction results and labeled data, perform backpropagation based on the difference, and update the parameters of the machine learning model layer by layer in the backpropagation. Of these, the labeled data includes the types and quantities of virtual objects controlled by the sample winner accounts.

[0129] In some embodiments, the virtual scene interactive processing unit 465 further includes a confirmation module 4654 configured to perform the following operations on a target account among multiple accounts: namely, confirming a selected account as the interactive account of the target account in response to a selection operation on multiple accounts; or, automatically selecting one account from among multiple accounts as the interactive account of the target account. The selection method includes any one of the following methods: namely, random selection, and selection of the target account whose difference from the interactive parameters is less than a threshold. The display module 4651 is further configured to perform the following operations: namely, displaying a counter control in response to a trigger operation on a counter button, the counter control including the already used quantity of each type of virtual object used by the interactive account, and the total number of each type of virtual object that may be used.

[0130] In some embodiments, the display module 4651 is further configured to perform the following for each interaction: display the counter button in the interaction area of ​​the virtual scene before the interaction begins; and hide the counter button in the interaction area of ​​the virtual scene once the interaction begins.

[0131] Furthermore, the apparatus described in the embodiments of this application is similar to the implementation of the virtual scene interactive processing method described above and has similar advantageous effects; therefore, a detailed explanation is omitted here. In addition, any undescribed technical details of the virtual scene interactive processing apparatus provided in the embodiments of this application can be understood based on the description of any one of Figures 4, 6, or 8.

[0132] In embodiments of this application, a computer program product or computer program is further provided, which includes computer instructions (i.e., executable instructions) stored in a computer-readable storage medium. A processor in an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, thereby causing the electronic device to perform the interactive processing method of the virtual scene described in embodiments of this application.

[0133] In embodiments of this application, a computer-readable storage medium storing executable instructions is further provided, which, when executed by a processor, can cause the processor to execute a method provided in embodiments of this application, for example, the interactive processing method of a virtual scene shown in Figures 4, 6, or 8.

[0134] In some embodiments, the computer-readable storage medium may be a memory device such as FRAM, ROM, PROM, EPROM, EEPROM, fresh memory, magnetic memory, optical disk, CD-ROM, or it may be a variety of devices including one or any combination of these memory devices.

[0135] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, and may be written in any form of programmable language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, for example, as a standalone program or module, assembly, subroutine, or other unit suitable for use in a computing environment.

[0136] For example, executable instructions may, but are not limited to, correspond to files in a file system; they may also be stored as part of files of other programs or data, for example, in one or more scripts in an HTML (Hyper Text Markup Language) document, in a single file dedicated to the described program, or in multiple collaborative files (for example, one or more files of modules, subprograms, or code segments).

[0137] For example, an executable instruction may be deployed to run on a single electronic device, or arranged to run on multiple electronic devices in one location, or configured to run on multiple electronic devices distributed across multiple locations and connected to each other via a communication network.

[0138] While preferred embodiments of this application have been described above, this application is not limited to these embodiments, and any modifications to this application that do not deviate from the spirit of this application fall within the technical scope of this application.

Claims

1. An interactive processing method for a virtual scene performed by an electronic device, A step of displaying a virtual scene on a display screen, wherein the virtual scene includes multiple account identifiers (IDs) and multiple virtual objects, and each virtual object can be controlled to interact with at least one virtual object that is controlled in response to user operations corresponding to other accounts, in response to user operations corresponding to other accounts; The steps of displaying the counter button on the display screen; and An interactive processing method for a virtual scene, comprising the step of displaying a counter control on the display in response to a trigger operation on the counter button, wherein the counter control includes the quantity of each type of virtual object already in use and the total number of each type of virtual object that may be used.

2. An interactive processing method for a virtual scene according to claim 1, Before displaying the counter button on the display, the interactive processing method of the virtual scene further: The steps of displaying the store entrance on the display screen; and An interactive processing method for a virtual scene, comprising the steps of: in response to a trigger operation on the store entrance, proceeding to the execution of an operation to display a store control on the display and to display the counter button on the display, wherein the store control includes a plurality of different types of virtual objects that may be used.

3. An interactive processing method for a virtual scene according to claim 2, The aforementioned virtual scene further includes a refresh button, The interactive processing method for the virtual scene further includes: An interactive processing method for a virtual scene, comprising the step of displaying another type of virtual object as updated in the store control in response to a trigger operation on the refresh button, wherein the other type of virtual object is at least partially different from the plurality of different types of virtual objects.

4. An interactive processing method for a virtual scene according to claim 1, The counter control further includes at least one selection indicator for the virtual object, the types of selection indicators include grade, race, occupation, selected, and account mark, The interactive processing method for the virtual scene further includes: An interactive processing method for a virtual scene, comprising the step of displaying, in response to an indicator selection operation, the already used quantity of at least one type of virtual object corresponding to the selected selection parameter, and the total number of the virtual objects of each type that may be used, as updated in the counter control.

5. An interactive processing method for a virtual scene according to claim 4, When the selection index is the grade, the step of displaying the already used quantity of at least one type of virtual object corresponding to the selected selection parameter, and the total number of usable virtual objects of each type, as updated in the counter control in response to the index selection operation, is: A step of displaying multiple grades on the counter control; and An interactive processing method for a virtual scene, comprising the step of displaying, in response to a grade selection operation, the already used quantity of at least one type of virtual object corresponding to the selected grade, and the total number of available virtual objects of each type, as updated in the counter control.

6. An interactive processing method for a virtual scene according to claim 4, When the selection index is the species, the step of displaying the already used quantity of at least one type of virtual object corresponding to the selected selection parameter, and the total number of usable virtual objects of each type, as updated in the counter control in response to the index selection operation, is: A step of displaying a species button on the counter control; A step of displaying the species list on the counter control in response to a trigger operation on the species button; and An interactive processing method for a virtual scene, comprising the step of displaying in the counter control, as updated, the quantity of virtual objects already used for at least one type corresponding to the selected species, and the total number of virtual objects of each type that may be used, in response to a selection operation on the species list.

7. An interactive processing method for a virtual scene according to claim 4, When the selection indicator is the occupation, the step of displaying the already used quantity of at least one type of virtual object corresponding to the selected selection parameter, and the total number of usable virtual objects of each type, as updated in the counter control in response to the indicator selection operation, is: A step of displaying occupation buttons on the counter control; A step of displaying the occupation list on the counter control in response to a trigger operation on the occupation button; and An interactive processing method for a virtual scene, comprising the step of displaying, in response to a selection operation on the occupation list, the already used quantity of at least one type of virtual object corresponding to the selected occupation, and the total number of available virtual objects of each type, as updated in the counter control.

8. An interactive processing method for a virtual scene according to claim 4, When the selection indicator is selected, the step of displaying the already used quantity of at least one type of virtual object corresponding to the selected selection parameter, and the total number of usable virtual objects of each type, as updated in the counter control in response to the indicator selection operation, is: In the virtual scene corresponding to each account, the following process is performed, namely: A selection button indicating whether it has been selected is displayed on the counter control; and In response to the selection operation on the selection button, the counter control will display the updated quantity of at least one type of virtual object already used by the account, and the total number of virtual objects of each type that may be used. An interactive processing method for a virtual scene, including the step of performing a process.

9. An interactive processing method for a virtual scene according to claim 4, When the selection indicator is the account indicator, the step of displaying the already used quantity of at least one type of virtual object corresponding to the selected selection parameter, and the total number of usable virtual objects of each type, as updated in the counter control in response to the indicator selection operation, is: A step of displaying an account indicator button on the counter control; Steps include: displaying a list of indicators on the counter control in response to a trigger operation on the account indicator button, wherein the indicator list includes a plurality of indicators that correspond one-to-one with the plurality of accounts; and An interactive processing method for a virtual scene, comprising the step of displaying, in response to a selection operation on the sign list, the already used quantity of at least one type of virtual object corresponding to the selected sign, and the total number of potentially used virtual objects of each type, as updated in the counter control.

10. An interactive processing method for a virtual scene according to claim 1, further comprising: The process includes the step of displaying detailed information of any one type of virtual object on the counter control in response to a trigger operation on any one type of virtual object displayed on the counter control, An interactive processing method for a virtual scene, wherein the detailed information includes the number of virtual objects of any one type already in use, the total number of virtual objects of any one type that may be used, and attribute information of virtual objects of any one type.

11. An interactive processing method for a virtual scene according to claim 1, further comprising: In the virtual scene corresponding to each account, the following process is performed, namely: The account displays the corresponding related button in the virtual scene for each of the virtual objects of each type already used by the account; and In response to a trigger operation on any one of the at least one associated button, the virtual scene displays the number of virtual objects of the associated type corresponding to the triggered associated button that have already been used, and the total number of virtual objects of the associated type that may be used. An interactive processing method for a virtual scene, including the step of performing a process.

12. An interactive processing method for a virtual scene according to claim 1, further comprising: Regarding the target account among the aforementioned multiple accounts, the following process is performed, namely: Based on the environmental information of the virtual scene, the types and quantities of virtual objects controlled by the interactive account of the target account, the location distribution of virtual objects controlled by the target account, and the location distribution of virtual objects controlled by the interactive account, a machine learning model is invoked to perform a prediction process to obtain the types of virtual objects that the target account should control, and the selected quantity of virtual objects of each type; the prediction process aims for the target account to outperform the interactive account; and The counter control displays selection information, which includes the type of virtual object to be controlled by the target account, and the selection quantity of each virtual object of that type. An interactive processing method for a virtual scene, including the step of performing a process.

13. An interactive processing method for a virtual scene according to claim 12, Before calling the machine learning model and performing prediction processing, the interactive processing method of the virtual scene further: Steps to obtain interactive data for sample winner accounts and sample loser accounts; A step of calling the initialized machine learning model to perform prediction processing and obtain prediction results based on the environment of the sample virtual scene, the types and quantities of virtual objects controlled by the sample loser account included in the interactive data, the location distribution of virtual objects controlled by the sample loser account, and the location distribution of virtual objects controlled by the sample winner account; and The process includes determining the difference between the prediction result and the labeled data, performing backpropagation based on the difference, and updating the parameters of the machine learning model layer by layer during the backpropagation process. An interactive processing method for a virtual scene, wherein the labeled data includes the types and quantities of virtual objects controlled by the sample winner account.

14. An interactive processing method for a virtual scene according to claim 1, further comprising: Regarding the target account among the aforementioned multiple accounts, the following process is performed, namely: In response to the selection operation for the aforementioned multiple accounts, the selected account is confirmed as the interactive account of the target account; or One account is automatically selected from the aforementioned multiple accounts to be the interactive account for the target account, and the selection method includes any one of the following: random selection and selection of an account whose difference from the interactive parameters of the target account is less than a threshold. Includes the step of performing the process, The step of displaying the counter control on the display screen in response to a trigger operation on the counter button is: An interactive processing method for a virtual scene, comprising the step of displaying a counter control on the display in response to a trigger operation on the counter button, wherein the counter control includes the already used quantity of each type of virtual object used by the interactive account, and the total number of virtual objects of each type that may be used.

15. An interactive processing method for a virtual scene according to claim 1, The step of displaying the counter button on the display screen is: For each of the aforementioned interactions, the following process is performed, namely: Before the interaction begins, the counter button is displayed in the interaction area of ​​the virtual scene; and When the interaction begins, the counter button is hidden in the interaction area of ​​the virtual scene. An interactive processing method for a virtual scene, including the step of performing a process.

16. An interactive processing method for a virtual scene according to claim 1, The quantity of virtual objects that each account can control is positively correlated with the account's rank. The interactive processing method for the virtual scene further includes: In the virtual scene corresponding to each account, the following process is performed, namely: The purchase button is displayed in the virtual scene; and In response to the trigger operation on the aforementioned purchase button, after successfully deducting the virtual resources owned by the account, the account rank of the account is increased. An interactive processing method for a virtual scene, including the step of performing a process.

17. An interactive processing device for virtual scenes, Includes a display module, The display module is configured to display a virtual scene on a display display, and the virtual scene includes multiple account identifiers (IDs) and multiple virtual objects, and can be controlled so that at least one virtual object interacts with at least one virtual object controlled in response to user operations corresponding to other accounts, depending on the user operations corresponding to each account. The display module is further configured to display counter buttons on the display screen. The display module is further configured to display a counting control on the display screen in response to a trigger operation on the counting button, the counting control including the already used quantity of the virtual object of each type and the total number of the virtual object of each type that may be used, an interactive processing device for a virtual scene.

18. A memory device that stores computer programs; and An electronic device including a processor connected to the memory, The processor is an electronic device configured to realize the interactive processing method for a virtual scene described in any one of claims 1 to 16 by executing the computer program.

19. A program for causing a computer to execute the interactive processing method of a virtual scene described in any one of claims 1 to 16.

Citation Information

Patent Citations

  • Game program and game system

    JP2017055898A

  • Computer system and game system

    JP2018164586A

  • Electronic game provision system, electronic game provision server, electronic game provision program, and electronic game provision method

    JP2021013573A