Virtual resource processing method, device, equipment and storage medium in virtual scenario

By introducing interactive result prediction controls in virtual scenes, users can predict game results through simple operations, solving cumbersome problems in the prior art, and improving interaction efficiency and immersion.

CN114272617BActive Publication Date: 2025-06-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The prior art has cumbersome operation in game prediction in virtual scenes, which affects the efficiency and user experience of human-computer interaction.

Method used

By displaying the interaction result prediction control in a virtual scene, users allow them to predict the interaction result through simple correlation operations, and display the ownership of the virtual resource props after the interaction process is over.

Benefits of technology

It improves the efficiency of human-computer interaction in virtual scenes, enhances immersion and user experience, and simplifies user operation process by simulating real prediction operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114272617B_ABST
    Figure CN114272617B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, device, computer-readable storage medium, and computer program product for processing virtual resources in a virtual scene; the method includes: displaying a virtual scene, where the virtual scene includes a plurality of virtual objects participating in the interaction; in response to an operation of associating at least one virtual resource prop belonging to a first virtual object with a second virtual object, displaying an interaction result prediction control, where the interaction result prediction control includes a plurality of candidate interaction results corresponding to the second virtual object during the interaction; in response to a selection operation received in the interaction result prediction control, using the selected candidate interaction result as the predicted interaction result corresponding to the second virtual object; in response to the end of the interaction process, displaying the ownership situation of at least one virtual resource prop according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object. Through the present application, the efficiency of human-computer interaction in the virtual scene can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the application with the application number 202111370486.4, the filing date of November 18, 2021, and the title: Method, Apparatus, Device, and Storage Medium for Processing Virtual Resources in a Virtual Scene. Technical Field

[0002] This application relates to computer human-computer interaction technology, and in particular, to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for processing virtual resources in a virtual scene. Background Art

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

[0004] With the popularization of information technology, electronic devices can implement richer and more vivid virtual scenes, typically, such as games. More and more users participate in the interaction of virtual scenes through electronic devices. For example, they participate in games or watch games. While watching a game competition (the interaction process in a virtual scene), they predict the game competition (such as a guessing activity).

[0005] However, the support for game prediction in related technologies is relatively cumbersome. For example, users need to perform a series of operations to achieve game prediction, which affects the efficiency of human-computer interaction in virtual scenes and thus affects the user experience. Summary of the Invention

[0006] Embodiments of this application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for processing virtual resources in a virtual scene, which can improve the efficiency of human-computer interaction in the virtual scene.

[0007] The technical solution of the embodiments of this application is implemented as follows:

[0008] Embodiments of this application provide a method for processing virtual resources in a virtual scene, including:

[0009] Display a virtual scene, where the virtual scene includes multiple virtual objects participating in the interaction;

[0010] In response to an operation of associating at least one virtual resource item belonging to a first virtual object with a second virtual object, display an interaction result prediction control, where the interaction result prediction control includes multiple candidate interaction results corresponding to the second virtual object during the interaction;

[0011] In response to a selection operation received in the interaction result prediction control, use the selected candidate interaction result as the predicted interaction result corresponding to the second virtual object;

[0012] In response to the end of the interaction process, display the ownership status of the at least one virtual resource prop according to the comparison result between the actual interaction result of the second virtual object and the predicted interaction result.

[0013] An embodiment of the present application provides a virtual resource processing device in a virtual scene, including:

[0014] A first display module, configured to display a virtual scene, where the virtual scene includes a plurality of virtual objects participating in the interaction;

[0015] A second display module, configured to display an interaction result prediction control in response to an operation of associating at least one virtual resource prop belonging to a first virtual object with a second virtual object, where the interaction result prediction control includes a plurality of candidate interaction results corresponding to the second virtual object during the interaction process;

[0016] A processing module, configured to use the selected candidate interaction result as the predicted interaction result corresponding to the second virtual object in response to a selection operation received in the interaction result prediction control;

[0017] In response to the end of the interaction process, display the ownership status of the at least one virtual resource prop according to the comparison result between the actual interaction result of the second virtual object and the predicted interaction result.

[0018] In the above technical solution, the plurality of virtual objects interact one-to-one in groups, and the first virtual object and the second virtual object belong to the same or different groups;

[0019] The second display module is further configured to display an identification list, where the identification list includes at least one account identification corresponding to the group of the plurality of virtual objects and at least one account identification corresponding to other groups, and the other groups are groups other than the group of the plurality of virtual objects;

[0020] Display the at least one virtual resource prop belonging to the first virtual object;

[0021] In response to an operation of moving the at least one virtual resource prop to a position overlapping with the account identification of the second virtual object, display the interaction result prediction control.

[0022] In the above technical solution, the second display module is further configured to display an identification list, where the identification list includes a plurality of account identifications corresponding one-to-one to the plurality of virtual objects;

[0023] Display the at least one virtual resource item belonging to the first virtual object;

[0024] In response to an operation of moving the at least one virtual resource item to a position overlapping the account identifier of the second virtual object, display the interaction result prediction control.

[0025] In the above technical solution, the second display module is further configured to display the at least one virtual resource item belonging to the first virtual object;

[0026] In response to an operation of moving the at least one virtual resource item to a position overlapping the second virtual object, display in the virtual scene that the virtual resource item moves to a position overlapping the account identifier of the second virtual object, and display the interaction result prediction control.

[0027] In the above technical solution, before displaying the interaction result prediction control, the second display module is further configured to, in response to an operation for calling out the interaction result prediction control, deduct a set number of virtual resource items from the virtual resource account of the first virtual object, and display a corresponding deduction prompt message, where the deduction prompt message represents using the set number of virtual resource items as the usage fee of the interaction result prediction control.

[0028] In the above technical solution, the processing module is further configured to, when the actual interaction result is consistent with the predicted interaction result, display a prediction success prompt message, and display a plurality of virtual resource items in the container item, and the number of the plurality of virtual resource items is greater than the number of the at least one virtual resource item;

[0029] In response to a pickup operation, control the first virtual object or the auxiliary virtual object of the first virtual object to pick up the plurality of virtual resource items in the container item, and synchronously display the number of virtual resource items belonging to the first virtual object in the virtual resource control of the first virtual object.

[0030] In the above technical solution, the processing module is further configured to control the plurality of virtual resource items to pop out from the second virtual object and move to the container item; or,

[0031] Control the plurality of virtual resource items to pop out from the account identifier of the second virtual object and move to the container item.

[0032] In the above technical solution, the processing module is further configured to, when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result, display a special effect in which at least one virtual resource prop pops out from the second virtual object and is destroyed, where the special effect represents that at least one virtual resource prop is deducted from the virtual resource account of the first virtual object, and display a prediction failure prompt message.

[0033] In the above technical solution, the types of the candidate prediction results include: victory, defeat;

[0034] The processing module is further configured to, when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result and the actual interaction result is a draw, display a set number of virtual resource props in the container prop;

[0035] In response to a pick-up operation, control the first virtual object or the auxiliary virtual object of the first virtual object to pick up the set number of virtual resource props in the container prop, and synchronously display the number of virtual resource props belonging to the first virtual object in the virtual resource control of the first virtual object;

[0036] Wherein, the set number is less than or equal to the number of the at least one virtual resource prop.

[0037] In the above technical solution, when displaying the interaction result prediction control, the second display module is further configured to display the current interaction information of the second virtual object;

[0038] Wherein, the current interaction information includes at least one of the following: the number of virtual objects interacting with the second virtual object, the ability of the second virtual object, and the health value of the second virtual object.

[0039] In the above technical solution, when displaying the interaction result prediction control, the second display module is further configured to display the historical interaction record of the second virtual object;

[0040] Wherein, the historical interaction record includes at least one of the following: the number of times the second virtual object participates in the interaction, the proportion of the interaction score of the second virtual object, and the interaction result of the second virtual object in the previous game.

[0041] In the above technical solution, when displaying the interaction result prediction control, the second display module is further configured to display the probability that the candidate interaction result of the second virtual object becomes the actual interaction result;

[0042] Wherein, the probability is obtained by predicting the interaction result by calling an interaction result prediction model through virtual scene data, the attributes of the second virtual object, and the attributes of the virtual object interacting with the second virtual object.

[0043] In the above technical solution, when the interactive result prediction control is displayed, the second display module is further configured to display the recommended quantity corresponding to the virtual resource item;

[0044] Wherein, the recommended quantity is used to indicate an operation of associating the recommended quantity of virtual resource items with the second virtual object and is related to the probability.

[0045] In the above technical solution, the second display module is further configured to display, in an arranged order, the probabilities of other virtual objects and virtual objects in the same group winning or losing during the interaction;

[0046] Wherein, the other virtual objects are virtual objects other than the first virtual object and the second virtual object, and the probability is obtained by predicting the interaction result by invoking an interaction result prediction model through virtual scene data, the attributes of the other virtual objects and the virtual objects in the same group, and the attributes of the virtual objects interacting with the other virtual objects.

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

[0048] A memory, configured to store executable instructions;

[0049] A processor, configured to implement the virtual resource processing method in the virtual scene provided by the embodiment of the present application when executing the executable instructions stored in the memory.

[0050] An embodiment of the present application provides a computer-readable storage medium, storing executable instructions, which are used to cause a processor to implement the virtual resource processing method in the virtual scene provided by the embodiment of the present application when executed.

[0051] An embodiment of the present application provides a computer program product, including a computer program or instruction, characterized in that the computer program or instruction implements the virtual resource processing method in the virtual scene provided by the embodiment of the present application when executed by a processor.

[0052] The embodiment of the present application has the following beneficial effects:

[0053] By associating virtual resource items with virtual objects to present an interactive result prediction control, the prediction of the interactive result is realized through a simple association operation, the efficiency of human-computer interaction in the virtual scene is improved, and the immersion of human-computer interaction in the virtual scene is improved by simulating real prediction operations. Description of the Drawings

[0054] Figures 1A - 1C It is a schematic diagram of a game prediction interface provided by the related art;

[0055] Figures 2A - 2BIt is a schematic diagram of the application mode of the virtual resource processing method in the virtual scenario provided by the embodiments of the present application;

[0056] Figure 3 It is a schematic diagram of the structure of an electronic device for virtual resource processing provided by the embodiments of the present application;

[0057] Figures 4A - 4C It is a schematic flowchart of the virtual resource processing method in the virtual scenario provided by the embodiments of the present application;

[0058] Figure 5 It is a schematic diagram of the interaction result prediction control provided by the embodiments of the present application;

[0059] Figure 6 It is a schematic diagram of the identification list in the multi-player confrontation game provided by the embodiments of the present application;

[0060] Figure 7 It is a schematic diagram of the identification list in the one-on-one confrontation game provided by the embodiments of the present application;

[0061] Figure 8 It is a schematic diagram of the associated operation provided by the embodiments of the present application;

[0062] Figure 9A It is a schematic diagram of the current interaction information provided by the embodiments of the present application;

[0063] Figure 9B It is a schematic diagram of the historical interaction record provided by the embodiments of the present application;

[0064] Figure 9C It is a schematic diagram of the interface display provided by the embodiments of the present application;

[0065] Figure 9D It is a schematic diagram of the interface display provided by the embodiments of the present application;

[0066] Figure 9E It is a schematic diagram of the interface display provided by the embodiments of the present application;

[0067] Figure 10 It is a schematic diagram of successful prediction provided by the embodiments of the present application;

[0068] Figure 11 It is a schematic diagram of failed prediction provided by the embodiments of the present application;

[0069] Figure 12 It is a schematic diagram of the draw interface provided by the embodiments of the present application;

[0070] Figures 13A - 13F It is a schematic diagram of the interface provided by the embodiments of the present application;

[0071] Figure 14 It is a schematic flowchart provided by the embodiments of the present application. Detailed implementation manners

[0072] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0073] In the following description, the terms "first / second" involved are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second" can be interchanged with a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

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

[0075] Before further elaborating on the embodiments of the present application, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.

[0076] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more executed operations can be real-time or can have a set delay; without special instructions, there is no limitation on the execution order of the multiple executed operations.

[0077] 2) Client: An application program running on a terminal for providing various services, such as a video playback client, a game client, etc.

[0078] 3) Virtual scene: A virtual scene displayed (or provided) when an application program runs on a terminal. The virtual scene can be a simulation environment of the real world, a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5D virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimension of the virtual scene. For example, the virtual scene can include the sky, land, ocean, etc. The land can include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

[0079] 4) Virtual objects: images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as characters and animals displayed in a virtual scene. The virtual object can be a virtual image in a virtual scene that represents a user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.

[0080] For example, the virtual object may be a user character controlled by an operation on the client, or an artificial intelligence (AI) set in a virtual scene battle through training, or a non-player character (NPC) set in a virtual scene interaction. For example, the virtual object may be a virtual character that performs a confrontational interaction in a virtual scene. For example, the number of virtual objects participating in the interaction in the virtual scene may be pre-set, or may be dynamically determined according to the number of clients joining the interaction.

[0081] 5) Interaction process: the process by which virtual objects in a virtual scene develop according to the time or state of interaction, for example, the process by which virtual objects fight against each other in a game; the process by which virtual objects fight against each other in a scene in a game.

[0082] 6) Scene data: characteristic data representing a virtual scene, such as the area of ​​the construction area in the virtual scene, the current architectural style of the virtual scene, etc.; it may also include the location of the virtual building in the virtual scene, and the area occupied by the virtual building, etc.

[0083] 7) Multiplayer Online Battle Arena (MOBA): An action real-time strategy game in which players can choose the type they are good at from various types of characters and fight against each other in two opposing camps (usually 5 vs. 5). The condition for victory is to break through the defense line and destroy the enemy's guarded buildings.

[0084] 8) Auto Chess: A new type of multiplayer strategy game. Players can train their own chess pieces to fight against the opponent's lineup. The loser will lose HP (Hit Point) and the ranking will be determined by the order of elimination. Among them, chess pieces are different combat units in the virtual scene (realized by virtual objects). Players can equip, upgrade, buy and sell chess pieces. Most of the sources of chess pieces are refreshed chess piece pools, and a small part comes from "drafts" and combat activities.

[0085] In the related art, the method for predicting wins and losses and obtaining rewards in an auto chess game is as follows: For example, Figure 1A as shown, for Skill 11 of a hero (implemented by a virtual object) in an auto chess game, this hero skill is triggered and used by spending 1 virtual gold coin; as Figure 1B shown, after clicking, two players for the next 1-on-1 battle will randomly appear, predict a winning player 12, and enter the battle scene 13 as shown in Figure 1C . If the predicted player wins, the user will receive 3 gold coin rewards; if the predicted player loses, the user will not receive any rewards; if the predicted players draw, 1 gold coin will be returned.

[0086] The prediction method in the related art is only for the skills of a certain hero, which is unfair; the prediction objects are two random players, and the prediction result can only be based on brief player information and the wins and losses in the previous game for prediction, and accurate prediction cannot be carried out.

[0087] To solve the above problems, the embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for processing virtual resources in a virtual scene, which can improve the efficiency of human-computer interaction in the virtual scene. To facilitate easier understanding of the method for processing virtual resources in the virtual scene provided by the embodiments of the present application, first, an exemplary implementation scenario of the method for processing virtual resources in the virtual scene provided by the embodiments of the present application will be described. The virtual scene in the method for processing virtual resources in the virtual scene provided by the embodiments of the present application can be completely based on the output of the terminal, or based on the collaborative output of the terminal and the server.

[0088] In some embodiments, the virtual scene can be an environment for game characters to interact. For example, it can be an environment for game characters to fight in the virtual scene. By controlling the actions of the game characters, two-way interaction can be carried out in the virtual scene, enabling users to relieve the pressure of life during the game process.

[0089] In one implementation scenario, refer to Figure 2A , Figure 2A which is a schematic diagram of the application mode of the method for processing virtual resources in the virtual scene provided by the embodiments of the present application, and is applicable to some application modes that can complete the relevant data calculation of the virtual scene 100 only relying on the graphic processing hardware computing power of the terminal 400, such as stand-alone / offline mode games, and the output of the virtual scene is completed through various types of terminals 400 such as smart phones, tablets, and virtual reality / augmented reality devices.

[0090] As an example, the types of graphic processing hardware include a central processing unit (CPU, Central Processing Unit) and a graphics processing unit (GPU, Graphics Processing Unit).

[0091] When forming the visual perception of the virtual scene 100, the terminal 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing, and rendering of the display data. The graphics output hardware outputs video frames that can form a visual perception of the virtual scene. For example, two-dimensional video frames are presented on the display screen of a smartphone, or video frames that achieve a three-dimensional display effect are projected onto the lenses of augmented reality / virtual reality glasses. In addition, to enrich the perception effect, the terminal 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception, and taste perception.

[0092] As an example, a client 410 (such as a stand-alone game application) runs on the terminal 400. During the operation of the client 410, a virtual scene including role-playing is output. The virtual scene can be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight. Taking the display of the virtual scene 100 from the first-person perspective as an example, in the virtual scene 100, a first virtual object 101, a second virtual object 102, and virtual resource props 103 belonging to the first virtual object 101 are displayed. The first virtual object 101 can be a game character controlled by a user (or player), that is, the first virtual object 101 is controlled by the real user and will operate in the virtual scene in response to the real user's operations on buttons (including joystick buttons, attack buttons, defense buttons, etc.). For example, when the real user moves the joystick button to the left, the first virtual object will move to the left in the virtual scene, and can also stay still, jump, and use various functions (such as skills and props). The second virtual object 102 can be a game character controlled by the enemy. Similarly, the second virtual object 102 can also be controlled by the enemy and will operate in the virtual scene in response to the enemy's operations on buttons (including joystick buttons, attack buttons, defense buttons, etc.), so as to achieve a game battle by controlling the second virtual object. The first virtual object 101 and the second virtual object 102 can also be non-player characters (NPCs) in the virtual scene interaction. The virtual resource props 103 can be virtual coins in the virtual scene 100, etc., which are used to purchase skills, attack props, etc.

[0093] For example, the first virtual object 101 and the second virtual object 102 in the virtual scene 100 are in an interactive state. At least one virtual resource prop 103 belonging to the first virtual object 101 is associated with the second virtual object 102, and an interaction result prediction control is displayed. The interaction result prediction control includes multiple candidate interaction results (such as victory, defeat) corresponding to the second virtual object 102 during the interaction process. The selected candidate interaction result is used as the predicted interaction result of the corresponding second virtual object. After the interaction process ends, according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object 102, the ownership of the virtual resource prop 103 is determined. For example, if the prediction is successful, the first virtual object 101 will have more virtual resource props; if the prediction fails, the first virtual object 101 will lose the virtual resource prop. In this way, through simple association operations, the prediction of interaction results is realized, and the efficiency of human-computer interaction in the virtual scene is improved.

[0094] In another implementation scenario, refer to Figure 2B , Figure 2B is a schematic diagram of the application mode of the virtual resource processing method in the virtual scene provided by the embodiments of the present application. It is applied to the terminal 400 and the server 200, and is applicable to the application mode that depends on the computing power of the server 200 to complete virtual scene calculation and output the virtual scene on the terminal 400.

[0095] Taking the visual perception of forming the virtual scene 100 as an example, the server 200 calculates the virtual scene-related display data (such as scene data) and sends it to the terminal 400 through the network 300. The terminal 400 depends on the graphics computing hardware to complete the loading, parsing, and rendering of the calculation display data, and depends on the graphics output hardware to output the virtual scene to form visual perception. For example, a two-dimensional video frame can be presented on the display screen of a smartphone, or a video frame with a three-dimensional display effect can be projected on the lens of an augmented reality / virtual reality glasses; for the perception of the form of the virtual scene, it can be understood that it can be output by the corresponding hardware of the terminal 400, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0096] As an example, a client 410 (such as an online game application) runs on a terminal 400. By connecting to a server 200 (such as a game server), it interacts with other users in a game. The terminal 400 outputs a virtual scene 100 of the client 410. Taking the display of the virtual scene 100 from the first-person perspective as an example, in the virtual scene 100, there are a first virtual object 101, a second virtual object 102, and a virtual resource item 103 belonging to the first virtual object 101. The first virtual object 101 can be a game character controlled by a user (or player), that is, the first virtual object 101 is controlled by the real user and will operate in the virtual scene in response to the real user's operations on buttons (including joystick buttons, attack buttons, defense buttons, etc.). For example, when the real user moves the joystick button to the left, the first virtual object will move to the left in the virtual scene, and can also stay still, jump, and use various functions (such as skills and items); the second virtual object 102 can be a game character controlled by the enemy. Similarly, the second virtual object 102 can also be controlled by the enemy and will operate in the virtual scene in response to the enemy's operations on buttons (including joystick buttons, attack buttons, defense buttons, etc.), so as to achieve a game battle by controlling the second virtual object; the virtual resource item 103 can be virtual gold coins in the virtual scene 100, etc., which are used to purchase skills, attack items, etc.

[0097] For example, the first virtual object 101 and the second virtual object 102 in the virtual scene 100 are in an interaction state. At least one virtual resource item 103 belonging to the first virtual object 101 is associated with the second virtual object 102, and an interaction result prediction control is displayed. Among them, the interaction result prediction control includes multiple candidate interaction results (such as victory, defeat) corresponding to the second virtual object 102 during the interaction process. The selected candidate interaction result is used as the predicted interaction result of the corresponding second virtual object. After the interaction process ends, according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object 102, the ownership situation of the virtual resource item 103 is determined. For example, if the prediction is successful, the first virtual object 101 will have more virtual resource items; if the prediction fails, the first virtual object 101 will lose the virtual resource item. In this way, through simple association operations, the prediction of interaction results is achieved, and the efficiency of human-computer interaction in the virtual scene is improved.

[0098] In some embodiments, the terminal 400 may implement the virtual resource processing method in the virtual scenario provided by the embodiments of the present application by running a computer program. For example, the computer program may be a native program or software module in an operating system; it may be a local (Native) application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as a battle game APP (i.e., the above-mentioned client 410); it may also be a small program, that is, a program that only needs to be downloaded to the browser environment to run; it may also be a game small program that can be embedded in any APP. In short, the above computer program may be any form of application program, module or plug-in.

[0099] Taking the computer program as an application program as an example, in actual implementation, the terminal 400 installs and runs an application program that supports the virtual scenario. The application program may be any one of a first-person shooting game (FPS, First-Person Shootinggame), a third-person shooting game, a virtual reality application program, a three-dimensional map program, or a multiplayer gunfight survival game. The user uses the terminal 400 to operate virtual objects located in the virtual scenario for activities, and the activities include but are not limited to: adjusting the body posture, crawling, walking, running, cycling, jumping, driving, picking up, shooting, attacking, throwing, and building at least one of virtual buildings. Schematically, the virtual object may be a virtual character, such as a simulated character or an anime character.

[0100] In some embodiments, the embodiments of the present application may also be implemented by means of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.

[0101] Cloud technology is the general term for network technology, information technology, integration technology, management platform technology, and application technology applied based on the cloud computing business model. It can form a resource pool, be used on demand, and be flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0102] Exemplarily, Figure 2BThe server 200 therein may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 400 and the server 200 may be directly or indirectly connected through wired or wireless communication methods, and there is no limitation in the embodiments of the present application.

[0103] See Figure 3 , Figure 3 is a schematic structural diagram of an electronic device for virtual resource processing provided by an embodiment of the present application. Taking the electronic device as the terminal 400 as an example for illustration, Figure 3 The electronic device 400 shown includes: at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. Each component in the terminal 400 is coupled together through a bus system 450. It can be understood that the bus system 450 is used to realize the connection and communication between these components. In addition to including a data bus, the bus system 450 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 3 all kinds of buses are labeled as the bus system 450.

[0104] The processor 420 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or any conventional processor, etc.

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

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

[0107] The memory 460 includes volatile memory or non-volatile memory, and may also 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 the present application is intended to include any suitable type of memory.

[0108] In some embodiments, the memory 460 is capable of storing data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof, which are exemplarily described below.

[0109] The operating system 461 includes system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, the core library layer, the driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0110] The network communication module 462 is used to reach other computing devices via one or more (wired or wireless) network interfaces 430. Exemplary network interfaces 430 include: Bluetooth, wireless fidelity (WiFi), and universal serial bus (USB), etc.;

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

[0112] The input processing module 464 is used to detect and translate one or more user inputs or interactions from one of one or more input devices 442.

[0113] In some embodiments, the virtual resource processing device in the virtual scenario provided by the embodiments of the present application may be implemented in software. Figure 3 Shown is the virtual resource processing device 465 in the virtual scenario stored in the memory 460, which may be software in the form of programs and plugins, etc., including the following software modules: a first display module 4651, a second display module 4652, and a processing module 4653. These modules are logical, and thus can be arbitrarily combined or further split according to the functions implemented. It should be noted that in Figure 3For the sake of convenience of expression, all the above modules are shown at once, but it should not be considered that the virtual resource processing device 465 in the virtual scene excludes the implementation that may only include the first display module 4651, the second display module 4652, and the processing module 4653. The functions of each module will be described below.

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

[0115] Next, the virtual resource processing method in the virtual scene provided by the embodiments of the present application will be specifically described with reference to the accompanying drawings. The virtual resource processing method in the virtual scene provided by the embodiments of the present application may be Figure 2A executed independently by the terminal 400 in Figure 2B or may be executed in cooperation by the terminal 400 and the server 200 in

[0116] Next, taking the example of the terminal 400 in Figure 2A executing independently the virtual resource processing in the virtual scene provided by the embodiments of the present application for illustration. Refer to Figure 4A Figure 4A which is a schematic flowchart of the virtual resource processing method in the virtual scene provided by the embodiments of the present application, and will be described in conjunction with the steps shown in Figure 4A

[0117] It should be noted that Figure 4A the method shown in

[0118] In step 101, display the virtual scene, where the virtual scene includes a plurality of virtual objects participating in the interaction.​​

[0119] For example, the virtual scene includes at least two virtual objects participating in the interaction. The diverse interactions between virtual objects have various typical application scenarios, such as in virtual scenes of confrontation games and the like. Taking a confrontation game as an example, the virtual objects can achieve confrontation through skills, props, etc. The virtual objects in the embodiments of the present application can be game characters controlled by a user (or player), where one user corresponds to at least one virtual object.

[0120] In step 102, in response to an operation of associating at least one virtual resource prop belonging to the first virtual object with the second virtual object, an interaction result prediction control is displayed, where the interaction result prediction control includes a plurality of candidate interaction results corresponding to the second virtual object during the interaction process.

[0121] For example, the first virtual object is any virtual object, that is, any user controlling a virtual object can participate in the predictive interaction. Among them, as Figure 5 shown, in response to a throwing operation of associating at least one virtual resource prop belonging to the first virtual object with the second virtual object, the types of candidate interaction results displayed by the interaction result prediction control 501 include victory and defeat. The interaction result prediction control 501 further includes a cancel button. When the user does not want to predict the interaction result currently, the cancel button can be clicked to cancel the display of the interaction result prediction control 501.

[0122] See Figure 4B , Figure 4B is an optional flowchart of the virtual resource processing method in the virtual scene provided by the embodiments of the present application, Figure 4B showing Figure 4A Step 102 in

[0123] For example, taking a multiplayer confrontation game as an example, the multiple virtual objects are divided into at least two groups for one-on-one interaction based on the groups. For example, if the multiple virtual objects are divided into two groups, then the multiple virtual objects are divided into group A and group B. As Figure 6As shown, the list of identifiers displayed in the virtual scene includes not only at least one account identifier corresponding to a grouping of multiple virtual objects (e.g., the account identifier 601 corresponding to Group A and Group B shown in Figure 6 ), but also at least one account identifier corresponding to other groupings (e.g., the account identifier 602 corresponding to the group other than Group A and Group B shown in Figure 6 ). At least one virtual resource item 603 belonging to the first virtual object is displayed. In response to an operation of moving at least one virtual resource item 603 to a position overlapping with the account identifier of the second virtual object, a bet is placed based on the at least one virtual resource item, and an interaction result prediction control is displayed. In this way, in a multiplayer confrontation game, by means of a simple operation of moving a virtual resource item to a position overlapping with the account identifier of a virtual object, a real betting scenario is simulated, thereby enhancing the immersion and efficiency of human-computer interaction in the virtual scene.

[0124] In some embodiments, in response to an operation of associating at least one virtual resource item belonging to the first virtual object with the second virtual object, displaying an interaction result prediction control includes: displaying a list of identifiers, where the list of identifiers includes multiple account identifiers corresponding one-to-one to multiple virtual objects; displaying at least one virtual resource item belonging to the first virtual object; and in response to an operation of moving at least one virtual resource item to a position overlapping with the account identifier of the second virtual object, displaying an interaction result prediction control.

[0125] For example, taking a one-on-one confrontation game as an example, each virtual object corresponds to a user, that is, each user controls a virtual object to conduct a confrontation. As Figure 7 shown, the list of identifiers displayed in the virtual scene includes multiple account identifiers corresponding one-to-one to multiple virtual objects (e.g., the account identifier 701 corresponding to the virtual object 702 shown in Figure 7 ). At least one virtual resource item 703 belonging to the first virtual object is displayed. In response to an operation of moving at least one virtual resource item 703 to a position overlapping with the account identifier of the second virtual object, a bet is placed based on the at least one virtual resource item, and an interaction result prediction control is displayed. In this way, in a one-on-one confrontation game, by means of a simple operation of moving a virtual resource item to a position overlapping with the account identifier of a virtual object, a real betting scenario is simulated, thereby enhancing the immersion and efficiency of human-computer interaction in the virtual scene.

[0126] In some embodiments, in response to an operation of associating at least one virtual resource prop belonging to a first virtual object with a second virtual object, an interactive result prediction control is displayed, including: displaying at least one virtual resource prop belonging to the first virtual object; in response to an operation of moving at least one virtual resource prop to a position overlapping with the second virtual object, displaying the virtual resource prop moving to a position overlapping with the account identifier of the second virtual object in the virtual scene, and displaying the interactive result prediction control.

[0127] For example, at least one virtual resource prop belonging to the first virtual object is displayed by long pressing or other forms of triggering, in response to the operation of moving at least one virtual resource prop to a position overlapping with the second virtual object in the virtual scene, the virtual resource prop is displayed in the virtual scene moving to a position overlapping with the account identifier of the second virtual object, a bet is placed based on the at least one virtual resource prop, and an interactive result prediction control is displayed. In this way, in a competitive game, a real betting scene is simulated by a simple operation of moving a virtual resource prop to a position overlapping with a virtual object, thereby improving the immersion and efficiency of human-computer interaction in the virtual scene.

[0128] like Figure 8 As shown, at least one virtual resource prop 803 belonging to the first virtual object is displayed by long pressing to trigger, in response to the operation of moving at least one virtual resource prop 803 to a position overlapping with the second virtual object 801 in the virtual scene, the virtual resource prop 803 is displayed in the virtual scene to move to a position overlapping with the account identifier 802 of the second virtual object, a bet is made based on the at least one virtual resource prop, and an interactive result prediction control is displayed.

[0129] In some embodiments, before displaying the interactive result prediction control, in response to an operation for calling out the interactive result prediction control, a set number of virtual resource props are deducted from the virtual resource account of the first virtual object, and a corresponding deduction prompt message is displayed, wherein the deduction prompt message indicates that the set number of virtual resource props will be used as the usage fee of the interactive result prediction control.

[0130] For example, by spending the virtual resource props of the first virtual object to call out the interactive result prediction control, for example, in response to the operation of associating at least one virtual resource prop belonging to the first virtual object with the second virtual object, a set number of virtual resource props are first deducted from the virtual resource account of the first virtual object, and a corresponding deduction prompt message is displayed. When the deduction prompt message indicates that the virtual resource props are successfully deducted, the interactive result prediction control is displayed. In this way, by spending virtual resource props to place bets, the display conditions of the interactive result prediction control are improved, and the interactive result prediction control is avoided from being displayed unconditionally, which wastes the computing resources of the related display operation.

[0131] In some embodiments, when the interactive result prediction control is displayed, the current interaction information of the second virtual object is displayed; wherein, the current interaction information includes at least one of the following: the number of virtual objects interacting with the second virtual object, the ability of the second virtual object, and the health value of the second virtual object.

[0132] For example, in order to make better predictions, when the interactive result prediction control is displayed, the current interaction information of the second virtual object can also be displayed, so that parameters characterizing the state of the second virtual object, such as the number of virtual objects interacting with the second virtual object, the ability of the second virtual object (attack ability, defense ability), and the health value of the second virtual object, can be used to achieve accurate prediction of the interactive result. For example, the fewer the number of virtual objects interacting with the second virtual object, the stronger the ability of the second virtual object, and the higher the health value of the second virtual object, the greater the chance of winning for the second virtual object during the interaction. Thus, accurate prediction of the interactive result is achieved through the current interaction information of the second virtual object.

[0133] As an example, as Figure 9A shown, when moving the virtual resource item to the account identifier of the second virtual object, when the interactive result prediction control 901 is displayed, the current interaction information 902 of the second virtual object is displayed, such as "Current attack ability: 88%", "Current defense ability: 88%", "Current health value: 94%". Thus, it can be predicted that the second virtual object has a relatively high chance of winning during the interaction, so "Victory" can be selected as the predicted interactive result. When the virtual resource item leaves the account identifier of the second virtual object, the display of the current interaction information 902 of the second virtual object stops.

[0134] In some embodiments, when the interactive result prediction control is displayed, the historical interaction record of the second virtual object is displayed; wherein, the historical interaction record includes at least one of the following: the number of times the second virtual object participates in the interaction, the proportion of the interactive performance of the second virtual object, and the interactive result of the second virtual object in the previous game.

[0135] For example, in order to make better predictions, when the interactive result prediction control is displayed, the historical interaction record of the second virtual object can also be displayed, so that parameters characterizing the state of the second virtual object, such as the number of times the second virtual object participates in the interaction, the proportion of the interactive performance of the second virtual object (such as the proportion of victory, defeat, and draw), and the interactive result of the second virtual object in the previous game (such as victory, defeat, and draw), can be used to achieve accurate prediction of the interactive result. For example, the more times the second virtual object participates in the interaction, the higher the proportion of the second virtual object's interactive victory, and the victory of the second virtual object in the previous game indicate that the interactive ability of the second virtual object is relatively strong, and the chance of winning may be relatively high during the interaction. Thus, accurate prediction of the interactive result is achieved through the historical interaction record of the second virtual object.

[0136] As an example, such as Figure 9B As shown, when moving the virtual resource item to the account identifier of the second virtual object, when displaying the interaction result prediction control 901, the historical interaction record 903 of the second virtual object is displayed, such as "Number of interactions participated in: 10", "Victory ratio: 90%", "Result of the previous interaction: Victory". From this, it can be predicted that the second virtual object has a relatively high chance of winning during the interaction process. Therefore, "Victory" can be selected as the predicted interaction result. When the virtual resource item leaves the account identifier of the second virtual object, the current interaction information 903 of the second virtual object stops being displayed.

[0137] In some embodiments, when displaying the interaction result prediction control, the probability that the candidate interaction result of the second virtual object becomes the actual interaction result is displayed; wherein, the probability is obtained by calling the interaction result prediction model through virtual scene data, the attributes of the second virtual object, and the attributes of the virtual object interacting with the second virtual object for interaction result prediction.

[0138] For example, in order to better perform prediction, when displaying the interaction result prediction control, the probability that the candidate interaction result of the second virtual object becomes the actual interaction result (i.e., the probability that the candidate interaction result of the second virtual object can be achieved, such as the probability that the second virtual object can win or lose) can also be displayed, so as to be able to achieve accurate interaction result prediction according to the probability that the candidate interaction result of the second virtual object can be achieved. For example, if the probability that the second virtual object can win is relatively high, it indicates that the second virtual object may have a relatively high chance of winning during the interaction process. Thus, accurate interaction result prediction is achieved through the probability that the candidate interaction result of the second virtual object can be achieved.

[0139] It should be noted that through virtual scene data, the attributes of the second virtual object (such as health value, movement speed, etc. related to the interaction), and the attributes of the virtual object interacting with the second virtual object, the interaction result prediction model is called. Through the interaction result prediction model, combined with virtual scene data, the attributes of the second virtual object, and the attributes of the virtual object interacting with the second virtual object, interaction result prediction processing is performed to obtain the probability that the candidate interaction result of the second virtual object becomes the actual interaction result. Among them, the interaction result prediction model can be a trained neural network model, and the neural network model can be trained through similar data collected from historical interaction records (such as historical virtual scene data samples, the attributes of historical virtual object samples, and the attributes of the virtual objects interacting with the historical virtual object samples), and the labeled data is the actual result of the historical interaction.

[0140] As an example, such as Figure 9CAs shown, when moving the virtual resource item to the account identifier of the second virtual object, when displaying the interaction result prediction control 901, the probability 904 that the candidate interaction result of the second virtual object becomes the actual interaction result is displayed, such as "Victory: 90%", "Defeat: 10%". From this, it can be predicted that the second virtual object has a relatively high chance of winning during the interaction process. Therefore, "Victory" can be selected as the predicted interaction result. When the virtual resource item leaves the account identifier of the second virtual object, the display of the probability 904 that the candidate interaction result of the second virtual object becomes the actual interaction result stops.

[0141] In some embodiments, when displaying the interaction result prediction control, the recommended quantity corresponding to the virtual resource item is displayed; wherein, the recommended quantity is used to indicate an operation of associating the recommended quantity of virtual resource items with the second virtual object and is related to the probability.

[0142] For example, in order to make a better prediction, when displaying the interaction result prediction control, the recommended quantity corresponding to the virtual resource item can also be displayed, so as to accurately predict the bet based on the recommended quantity corresponding to the virtual resource item.

[0143] It should be noted that the recommended quantity is positively correlated with the probability, for example, positively correlated with the probability that the second virtual object can win or lose. When the probability that the second virtual object can win is relatively high, the probability that the second virtual object wins during the interaction process is relatively high, and the corresponding recommended quantity is also more. Therefore, bets can be placed based on the second virtual object winning and more virtual resource items can be bet; when the probability that the second virtual object can lose is relatively high, the probability that the second virtual object loses during the interaction process is relatively high, and the corresponding recommended quantity is also more. Therefore, bets can be placed based on the second virtual object losing and more virtual resource items can be bet to achieve efficient game prediction.

[0144] As an example, as Figure 9D shown, when moving the virtual resource item to the account identifier of the second virtual object, when displaying the interaction result prediction control 901, the recommended quantity 905 corresponding to the virtual resource item is displayed, such as "Recommended bet: 10". From this, 10 virtual resource items can be selected for betting. When the virtual resource item leaves the account identifier of the second virtual object, the display of the recommended quantity 905 corresponding to the virtual resource item stops.

[0145] In some embodiments, the probabilities of other virtual objects winning or losing during the interaction with the virtual objects in the same group are displayed in a sorted order (ascending or descending); wherein, the other virtual objects are virtual objects other than the first virtual object and the second virtual object, and the probabilities are obtained by predicting the interaction results by calling an interaction result prediction model based on virtual scene data, the attributes of the other virtual objects and the virtual objects in the same group, and the attributes of the virtual objects interacting with the other virtual objects.

[0146] For example, multiple virtual objects interact one-on-one in groups, and the first virtual object and the second virtual object belong to the same or different groups. Taking a multiplayer confrontation game as an example, as Figure 9E shown, multiple virtual objects are divided into at least two groups for one-on-one interaction based on the groups. For example, if multiple virtual objects are divided into two groups, then the multiple virtual objects are divided into group A ( Figure 9E the account identifier 906 shown in corresponds to group A) and group B ( Figure 9E the account identifier 907 shown in corresponds to group B). If the other virtual objects (virtual objects other than the first virtual object and the second virtual object) belong to group A, then the probability 908 of group A winning during the interaction is displayed (such as Figure 9E "Probability of group A winning: 90%" shown in), so that accurate prediction of the interaction results can be achieved based on the probabilities of the other virtual objects winning or losing during the interaction with the virtual objects in the same group.

[0147] It should be noted that by calling the interaction result prediction model with virtual scene data, the attributes of the other virtual objects and the virtual objects in the same group (health value, movement speed, etc. related to the interaction), and the attributes of the virtual objects interacting with the other virtual objects, the interaction result prediction model combines the virtual scene data, the attributes of the other virtual objects and the virtual objects in the same group, and the attributes of the virtual objects interacting with the other virtual objects to perform interaction result prediction processing, and obtains the probabilities of the other virtual objects winning or losing during the interaction with the virtual objects in the same group. Among them, the interaction result prediction model can be a trained neural network model, and the neural network model can be trained with similar data collected from historical interaction records (such as historical virtual scene data samples, the attributes of historical virtual object samples, and the attributes of the virtual objects interacting with the historical virtual object samples), and the labeled data is the actual result of the historical interaction.

[0148] In step 103, in response to the selection operation received in the interaction result prediction control, the selected candidate interaction result is used as the predicted interaction result corresponding to the second virtual object.

[0149] For example, when a candidate interaction result is selected, at least one virtual resource item is temporarily frozen from the virtual resource account of the first virtual object, and the first virtual object cannot use the at least one virtual resource item during the freezing period.

[0150] It should be noted that the types of candidate interaction results include victory and defeat. When the candidate interaction result of victory is selected, victory is taken as the predicted interaction result of the second virtual object, that is, it is predicted that the second virtual object will win during the interaction process; when the candidate interaction result of defeat is selected, defeat is taken as the predicted interaction result of the second virtual object, that is, it is predicted that the second virtual object will lose during the interaction process.

[0151] In step 104, in response to the end of the interaction process, according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object, the ownership situation of at least one virtual resource item is displayed.

[0152] For example, the types of predicted interaction results include victory and defeat. After the interaction process ends, the ownership situation of at least one virtual resource item, that is, whether the prediction is successful, is automatically determined according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object.

[0153] See Figure 4C , Figure 4C is an optional flowchart of the virtual resource processing method in the virtual scenario provided by the embodiment of the present application. Figure 4C shows Figure 4A Step 104 in

[0154] For example, as Figure 10 shown, when the actual interaction result is consistent with the predicted interaction result (for example, both the actual interaction result and the predicted interaction result are victory or defeat), a prediction success prompt message 1001 is displayed, and multiple virtual resource items 1002 are displayed in the container item (as Figure 1015 virtual gold coins shown), and the quantity of multiple virtual resource items is greater than the quantity of at least one virtual resource item. Control the first virtual object or the auxiliary virtual object 1003 of the first virtual object (when a user account corresponds to one virtual object, the auxiliary virtual object corresponds to the first virtual object; when a user account corresponds to multiple virtual objects, the auxiliary virtual object corresponds to multiple virtual objects of the user account) to pick up multiple virtual resource items 1002 from the container item, and regard the picked-up multiple virtual resource items 1002 as the virtual resource items belonging to the first virtual object, and synchronously display the quantity of the virtual resource items belonging to the first virtual object in the virtual resource control 1004 of the first virtual object. In this way, by the picking-up operation, it simulates the operation of obtaining rewards after a real prediction is successful, thereby improving the immersion and interestingness of the human-computer interaction in the virtual scene.

[0155] In some embodiments, displaying multiple virtual resource items in the container item includes: controlling multiple virtual resource items to pop out from the second virtual object and move into the container item; or, controlling multiple virtual resource items to pop out from the account identifier of the second virtual object and move into the container item.

[0156] In some embodiments, according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object, displaying the ownership situation of at least one virtual resource item includes: when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result, displaying the special effect that at least one virtual resource item pops out from the second virtual object and is destroyed, where the special effect indicates that at least one virtual resource item is deducted from the virtual resource account of the first virtual object, and displaying a prediction failure prompt message.

[0157] For example, as Figure 11 shown, when the actual interaction result is inconsistent with the predicted interaction result (for example, the actual interaction result is victory and the predicted interaction result is failure; or the actual interaction result is failure and the predicted interaction result is victory), displaying a prediction failure prompt message 1101, and displaying the special effect that at least one virtual resource item pops out from the account identifier of the second virtual object and is destroyed (as Figure 11The special effect of the virtual gold coin cracking as shown at 1102), and the number of multiple virtual resource items is greater than the number of at least one virtual resource item. Control the first virtual object or the auxiliary virtual object 1003 of the first virtual object (when one user account corresponds to one virtual object, the auxiliary virtual object corresponds to the first virtual object; when one user account corresponds to multiple virtual objects, the auxiliary virtual object corresponds to multiple virtual objects of the user account) to pick up multiple virtual resource items 1002 from the container item, and regard the picked-up multiple virtual resource items 1002 as the virtual resource items belonging to the first virtual object, and synchronously display the number of virtual resource items belonging to the first virtual object in the virtual resource control 1004 of the first virtual object. In this way, by simulating the failure of the special effect of virtual resource item destruction, the immersion and interest of human-computer interaction in the virtual scene are improved.

[0158] In some embodiments, the types of candidate prediction results include: victory, failure; according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object, display the attribution situation of at least one virtual resource item, including: when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result and the actual interaction result is a draw, display a set number of virtual resource items in the container item; in response to the pick-up operation, control the first virtual object or the auxiliary virtual object of the first virtual object to pick up the set number of virtual resource items from the container item, and synchronously display the number of virtual resource items belonging to the first virtual object in the virtual resource control of the first virtual object; wherein, the set number is less than or equal to the number of at least one virtual resource item.

[0159] For example, as Figure 12 shown, when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result and the actual interaction result is a draw, display a set number of virtual resource items 1201 in the container item, and the set number is less than or equal to the number of at least one virtual resource item. Control the first virtual object or the auxiliary virtual object 1202 of the first virtual object (when one user account corresponds to one virtual object, the auxiliary virtual object corresponds to the first virtual object; when one user account corresponds to multiple virtual objects, the auxiliary virtual object corresponds to multiple virtual objects of the user account) to pick up the set number of virtual resource items 1201 from the container item, and regard the picked-up set number of virtual resource items 1201 as the virtual resource items belonging to the first virtual object, and synchronously display the number of virtual resource items belonging to the first virtual object in the virtual resource control 1203 of the first virtual object. In this way, by simulating the pick-up operation with the actual interaction result being a draw through the pick-up operation, the immersion and interest of human-computer interaction in the virtual scene are improved.

[0160] Next, the exemplary application of the embodiments of the present application in an actual application scenario will be described.

[0161] Embodiments of the present application can be applied to various battle scenarios. For example, in a virtual scenario such as a game, the real battle process between virtual objects can be simulated.

[0162] The following takes a self-play chess game as an example of a virtual scenario for illustration:

[0163] In the self-play chess game, there are various mechanisms for obtaining gold coin rewards, including a way of obtaining rewards by predicting the outcome of the opponent player in a single round. Embodiments of the present application are an interactive method for predicting the outcome of a game and obtaining rewards within the game. Players can drag the gold coin button to the position of a certain opponent's avatar (a type of account identifier) in the player list (implemented by an identifier list, including multiple account identifiers), activate the prediction roulette, click the win button or the lose button to predict the outcome of the next game. After successful prediction, virtual gold coins and other rewards can be obtained, which can expand the in-game social and reward mechanisms. This operation method simulates the implementation form of betting in life, thus echoing life, reducing the user's cognitive cost, making the entire operation process easy to understand, and reducing the learning cost.

[0164] The following combines Figures 13A - 13F to illustrate the interactive method provided by the embodiments of the present application for predicting the outcome of a game and obtaining rewards within the game:

[0165] As Figure 13A shown, click and select the virtual gold coin 1301 on the chessboard. At this time, there are 33 virtual gold coins in the virtual gold coin pool 1302.

[0166] As Figure 13B shown, drag the virtual gold coin 1301 to a certain player's avatar 1303 in the player list. At this time, 10 virtual gold coins will be spent, and there are 23 virtual gold coins remaining in the virtual gold coin pool 1302.

[0167] As Figure 13C shown, release the virtual gold coin 1301 on the player's avatar to activate the prediction roulette 1304 (i.e., the interactive result prediction control). The player can select the "win" button (i.e., the victory button) or the "lose" button (i.e., the defeat button) to make a prediction, or cancel the button.

[0168] As Figure 13D shown, in the next stage, if the prediction is correct, virtual gold coin rewards will be obtained. The virtual gold coin rewards will pop up from the avatar 1303 of the predicted player (the bet player), and a prediction success prompt 1305 will be generated. As Figure 13E shown, the virtual gold coin rewards 1306 will fall into the chessboard, and the little hero 1307 (a type of auxiliary virtual object) will be controlled to pick up the virtual gold coin rewards 1306. After picking up the virtual gold coin rewards 1306, there will be 38 virtual gold coins remaining in the virtual gold coin pool 1302.

[0169] like Figure 13F As shown, in the next stage, if the prediction fails, the virtual gold coins used for the prediction will be lost, the virtual gold coins will pop out from the predicted player (the player on whom the bet is placed) avatar 1303, turn into fragments, and generate a prediction failure prompt 1307.

[0170] Combine the following Figure 14 The implementation process of the embodiment of the present application is described as follows:

[0171] Step 1. Long press the virtual gold coin model on the chessboard, and drag the virtual gold coin model to a player's avatar in the player list.

[0172] Step 2. Release your finger on the player's portrait and the predicted win / loss roulette will pop up.

[0173] Step 3: Click the win button or the lose button, and the system will record the user's prediction information.

[0174] Step 4: When the prediction round ends, the system determines the game based on the actual outcome.

[0175] Step 5: If the prediction result is consistent with the actual battle result (i.e. the prediction is correct), a reward pop-up window will pop up and the prediction reward (i.e. virtual gold coin reward) will be issued.

[0176] Step 6: If the predicted result is inconsistent with the actual battle result (i.e. the prediction is incorrect), no reward will be issued.

[0177] In summary, the interactive method of predicting victory or defeat provided in the embodiment of the present application refers to the method of betting in life. By dragging gold coins to the player's avatar to make predictions, the interactive method of betting is expanded, the user's cognitive cost is reduced, the entire operation process is easy to understand, and the learning cost is reduced; and this method increases the interaction between players, enriches the gameplay, and allows each player to pay attention to the battlefield situation, thereby increasing the accuracy of predictions; after a successful prediction, the reward can be manually collected, which enhances the player's sense of accomplishment and the fun of the game.

[0178] So far, the method for processing virtual resources in a virtual scene provided by an embodiment of the present application has been described in combination with the exemplary application and implementation of the terminal provided by the embodiment of the present application. The following will continue to describe how the various modules in the virtual resource processing device 465 in the virtual scene provided by the embodiment of the present application cooperate to implement the virtual resource processing solution in the virtual scene.

[0179] The first display module 4651 is configured to display a virtual scene, wherein the virtual scene includes a plurality of virtual objects participating in the interaction; the second display module 4652 is configured to display an interaction result prediction control in response to an operation of associating at least one virtual resource prop belonging to a first virtual object with a second virtual object, wherein the interaction result prediction control includes a plurality of candidate interaction results corresponding to the second virtual object during the interaction process; the processing module 4653 is configured to, in response to a selection operation received in the interaction result prediction control, use the selected candidate interaction result as the predicted interaction result corresponding to the second virtual object; and in response to the end of the interaction process, display the ownership situation of the at least one virtual resource prop according to the comparison result between the actual interaction result of the second virtual object and the predicted interaction result.

[0180] In some embodiments, the plurality of virtual objects interact one-on-one in groups, and the first virtual object and the second virtual object belong to the same or different groups; the second display module 4652 is further configured to display an identification list, wherein the identification list includes at least one account identification corresponding to the groups of the plurality of virtual objects and at least one account identification corresponding to other groups, and the other groups are groups other than the groups of the plurality of virtual objects; display the at least one virtual resource prop belonging to the first virtual object; and display the interaction result prediction control in response to an operation of moving the at least one virtual resource prop to a position overlapping the account identification of the second virtual object.

[0181] In some embodiments, the second display module 4652 is further configured to display an identification list, wherein the identification list includes a plurality of account identifications corresponding one-to-one to the plurality of virtual objects; display the at least one virtual resource prop belonging to the first virtual object; and display the interaction result prediction control in response to an operation of moving the at least one virtual resource prop to a position overlapping the account identification of the second virtual object.

[0182] In some embodiments, the second display module 4652 is further configured to display the at least one virtual resource prop belonging to the first virtual object; and in response to an operation of moving the at least one virtual resource prop to a position overlapping the second virtual object, display in the virtual scene that the virtual resource prop moves to a position overlapping the account identification of the second virtual object and display the interaction result prediction control.

[0183] In some embodiments, before displaying the interactive result prediction control, the second display module 4652 is further configured to, in response to an operation for calling out the interactive result prediction control, deduct a set number of virtual resource items from the virtual resource account of the first virtual object, and display a corresponding deduction prompt message, where the deduction prompt message represents that the set number of virtual resource items is used as the usage fee for the interactive result prediction control.

[0184] In some embodiments, the processing module 4653 is further configured to, when the actual interactive result is consistent with the predicted interactive result, display a prediction success prompt message, and display a plurality of virtual resource items in the container item, and the number of the plurality of virtual resource items is greater than the number of the at least one virtual resource item; in response to a picking operation, control the first virtual object or the auxiliary virtual object of the first virtual object to pick up the plurality of virtual resource items in the container item, and synchronously display the number of virtual resource items belonging to the first virtual object in the virtual resource control of the first virtual object.

[0185] In some embodiments, the processing module 4653 is further configured to control the plurality of virtual resource items to pop out from the second virtual object and move to the container item; or, control the plurality of virtual resource items to pop out from the account identifier of the second virtual object and move to the container item.

[0186] In some embodiments, the processing module 4653 is further configured to, when the actual interactive result of the second virtual object is inconsistent with the predicted interactive result, display a special effect in which the at least one virtual resource item pops out from the second virtual object and is destroyed, where the special effect represents that the at least one virtual resource item is deducted from the virtual resource account of the first virtual object, and display a prediction failure prompt message.

[0187] In some embodiments, the types of the candidate prediction results include: victory, defeat; the processing module 4653 is further configured to, when the actual interactive result of the second virtual object is inconsistent with the predicted interactive result and the actual interactive result is a draw, display a set number of virtual resource items in the container item; in response to a picking operation, control the first virtual object or the auxiliary virtual object of the first virtual object to pick up the set number of virtual resource items in the container item, and synchronously display the number of virtual resource items belonging to the first virtual object in the virtual resource control of the first virtual object; where the set number is less than or equal to the number of the at least one virtual resource item.

[0188] In some embodiments, when the interaction result prediction control is displayed, the second display module 4652 is further configured to display the current interaction information of the second virtual object; wherein, the current interaction information includes at least one of the following: the number of virtual objects interacting with the second virtual object, the ability of the second virtual object, and the health value of the second virtual object.

[0189] In some embodiments, when the interaction result prediction control is displayed, the second display module 4652 is further configured to display the historical interaction record of the second virtual object; wherein, the historical interaction record includes at least one of the following: the number of times the second virtual object participates in the interaction, the proportion of the interaction score of the second virtual object, and the interaction result of the second virtual object in the previous game.

[0190] In some embodiments, when the interaction result prediction control is displayed, the second display module 4652 is further configured to display the probability that the candidate interaction result of the second virtual object becomes the actual interaction result; wherein, the probability is obtained by predicting the interaction result by calling the interaction result prediction model with the virtual scene data, the attributes of the second virtual object, and the attributes of the virtual object interacting with the second virtual object.

[0191] In some embodiments, when the interaction result prediction control is displayed, the second display module 4652 is further configured to display the recommended quantity corresponding to the virtual resource item; wherein, the recommended quantity is used to indicate an operation of associating the recommended quantity of virtual resource items with the second virtual object and is related to the probability.

[0192] In some embodiments, the second display module 4652 is further configured to display, in the sorting order, the probabilities of other virtual objects and the virtual objects in the same group winning or losing during the interaction; wherein, the other virtual objects are virtual objects other than the first virtual object and the second virtual object, and the probability is obtained by predicting the interaction result by calling the interaction result prediction model with the virtual scene data, the attributes of the other virtual objects and the virtual objects in the same group, and the attributes of the virtual object interacting with the other virtual objects.

[0193] An embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual resource processing method in the virtual scene described above in the embodiments of the present application.

[0194] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, where the executable instructions, when executed by a processor, cause the processor to execute the virtual resource processing method in the virtual scenario provided by the embodiment of the present application. For example, as Figures 4A - 4C shown in the virtual resource processing method in the virtual scenario.

[0195] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0196] In some embodiments, the executable instructions may be in the form of a program, software, software module, script, or code, and may be written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as an independent program or being deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0197] As an example, the executable instructions may or may not correspond to a file in the file system, and may be stored as a part of a file storing other programs or data. For example, they may be stored in one or more scripts in a Hyper Text Markup Language (HTML) document, stored in a single file dedicated to the program under discussion, or stored in multiple cooperating files (for example, files storing one or more modules, subroutines, or code portions).

[0198] As an example, the executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network.

[0199] It can be understood that in the embodiments of the present application, regarding relevant data such as the historical interaction records of user information, when the embodiments of the present application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use, and processing of the relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0200] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for processing virtual resources in a virtual scenario, characterized in that, The method includes: Displaying a virtual scene, where the virtual scene includes a plurality of virtual objects participating in the interaction; In response to an operation of associating at least one virtual resource prop belonging to a first virtual object with a second virtual object, displaying an interaction result prediction control, where the interaction result prediction control includes a plurality of candidate interaction results corresponding to the second virtual object during the interaction process. When the plurality of virtual objects interact one-on-one in groups, and the first virtual object and the second virtual object belong to the same or different groups, the operation of displaying the interaction result prediction control in response to associating at least one virtual resource prop belonging to the first virtual object with the second virtual object includes: displaying an identification list, the identification list including at least one account identification corresponding to the group of the plurality of virtual objects and at least one account identification corresponding to other groups, where the other groups are groups other than the group of the plurality of virtual objects; displaying the at least one virtual resource prop belonging to the first virtual object; in response to an operation of moving the at least one virtual resource prop to a position overlapping with the account identification of the second virtual object, displaying the interaction result prediction control; In response to a selection operation received in the interaction result prediction control, using the selected candidate interaction result as the predicted interaction result corresponding to the second virtual object; In response to the end of the interaction process, displaying the ownership situation of the at least one virtual resource prop according to the comparison result between the actual interaction result of the second virtual object and the predicted interaction result, where the operation of displaying the ownership situation of the at least one virtual resource prop according to the comparison result between the actual interaction result of the second virtual object and the predicted interaction result includes: when the actual interaction result is consistent with the predicted interaction result, in response to a pick-up operation, controlling the first virtual object to pick up a plurality of virtual resource props; when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result, displaying a special effect that the at least one virtual resource prop pops out from the second virtual object and is destroyed.

2. The method according to claim 1, wherein The operation of displaying the interaction result prediction control in response to associating at least one virtual resource prop belonging to a first virtual object with a second virtual object includes: Displaying an identification list, where the identification list includes a plurality of account identifications corresponding one-to-one to the plurality of virtual objects; Displaying the at least one virtual resource prop belonging to the first virtual object; In response to an operation of moving the at least one virtual resource prop to a position overlapping with the account identification of the second virtual object, displaying the interaction result prediction control.

3. The method according to claim 1, characterized in that The operation of displaying the interaction result prediction control in response to associating at least one virtual resource prop belonging to a first virtual object with a second virtual object includes: Displaying the at least one virtual resource prop belonging to the first virtual object; In response to the operation of moving the at least one virtual resource prop to a position overlapping with the second virtual object, the virtual resource prop is displayed in the virtual scene as being moved to a position where the account identifier of the second virtual object overlaps, and the interactive result prediction control is displayed.

4. The method according to any one of claims 1-3, characterized in that, Before displaying the interactive result prediction control, the method further includes: In response to an operation for calling out the interactive result prediction control, a set number of virtual resource props are deducted from the virtual resource account of the first virtual object, and a corresponding deduction prompt message is displayed, wherein the deduction prompt message indicates that the set number of virtual resource props will be used as the usage fee of the interactive result prediction control.

5. The method according to claim 1, characterized in that, When the actual interaction result is consistent with the predicted interaction result, the method further includes: Displaying a prediction success prompt message, and displaying a plurality of virtual resource props in the container prop, wherein the number of the plurality of virtual resource props is greater than the number of the at least one virtual resource prop; In response to the picking operation, the number of virtual resource props belonging to the first virtual object is synchronously displayed in the virtual resource control of the first virtual object.

6. The method according to claim 5, characterized in that The displaying of multiple virtual resource props in the container prop includes: Control the multiple virtual resource props to pop out from the second virtual object and move to the container prop; or, The plurality of virtual resource props are controlled to pop out from the account identifier of the second virtual object and move to the container prop.

7. The method according to claim 1, characterized in that, The special effect represents that the at least one virtual resource item is deducted from the virtual resource account of the first virtual object, and a prediction failure prompt message is displayed.

8. The method according to claim 1, characterized in that The types of candidate interaction results include: victory, failure; The displaying the ownership of the at least one virtual resource item according to the comparison result between the actual interaction result of the second virtual object and the predicted interaction result includes: When the actual interaction result of the second virtual object is inconsistent with the predicted interaction result, and the actual interaction result is a tie, displaying a set number of virtual resource props in the container props; In response to the picking operation, controlling the first virtual object or the auxiliary virtual object of the first virtual object to pick up the set number of virtual resource props from the container prop, and synchronously displaying the number of virtual resource props belonging to the first virtual object in the virtual resource control of the first virtual object; Wherein, the set quantity is less than or equal to the quantity of the at least one virtual resource prop.

9. The method according to claim 1, characterized in that, When displaying the interactive result prediction control, the method further includes: Displaying current interaction information of the second virtual object; The current interaction information includes at least one of the following: the number of virtual objects interacting with the second virtual object, the ability of the second virtual object, and the health value of the second virtual object.

10. The method according to claim 1, characterized in that, When displaying the interactive result prediction control, the method further includes: Displaying the historical interaction record of the second virtual object; Among them, the historical interaction record includes at least one of the following: the number of times the second virtual object participates in the interaction, the proportion of the interaction score of the second virtual object, and the interaction result of the second virtual object in the previous game.

11. The method according to claim 1, wherein When displaying the interaction result prediction control, the method further includes: Displaying the probability that the candidate interaction result of the second virtual object becomes the actual interaction result; Among them, the probability is obtained by predicting the interaction result by calling the interaction result prediction model through the virtual scene data, the attributes of the second virtual object, and the attributes of the virtual object interacting with the second virtual object.

12. The method according to claim 11, wherein When displaying the interaction result prediction control, the method further includes: Displaying the recommended quantity corresponding to the virtual resource item; Among them, the recommended quantity is used to indicate an operation of associating the recommended quantity of virtual resource items with the second virtual object and is related to the probability.

13. The method according to claim 1, characterized in that The method further includes: Displaying, in the order of arrangement, the probabilities of other virtual objects and the virtual objects in the same group winning or losing during the interaction; Among them, the other virtual objects are virtual objects other than the first virtual object and the second virtual object, and the probability is obtained by predicting the interaction result by calling the interaction result prediction model through the virtual scene data, the attributes of the other virtual objects and the virtual objects in the same group, and the attributes of the virtual object interacting with the other virtual objects.

14. A virtual resource processing device in a virtual scenario, characterized in that, The device includes: A first display module, configured to display a virtual scene, where the virtual scene includes a plurality of virtual objects participating in the interaction; A second display module, configured to display an interaction result prediction control in response to an operation of associating at least one virtual resource item belonging to a first virtual object with a second virtual object, where the interaction result prediction control includes a plurality of candidate interaction results corresponding to the second virtual object during the interaction; A processing module, configured to use the selected candidate interaction result as the predicted interaction result corresponding to the second virtual object in response to a selection operation received in the interaction result prediction control. When the plurality of virtual objects interact one-on-one in groups, when the first virtual object and the second virtual object belong to the same or different groups, the operation of displaying the interaction result prediction control in response to the operation of associating at least one virtual resource item belonging to the first virtual object with the second virtual object includes: displaying an identification list, where the identification list includes at least one account identification corresponding to the group of the plurality of virtual objects and at least one account identification corresponding to other groups, and the other groups are groups other than the group of the plurality of virtual objects; displaying the at least one virtual resource item belonging to the first virtual object; and displaying the interaction result prediction control in response to an operation of moving the at least one virtual resource item to a position overlapping with the account identification of the second virtual object. In response to the end of the interaction process, according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object, display the ownership situation of the at least one virtual resource prop, wherein, the step of displaying the ownership situation of the at least one virtual resource prop according to the comparison result between the actual interaction result and the predicted interaction result of the second virtual object includes: when the actual interaction result is consistent with the predicted interaction result, in response to a pick-up operation, control the first virtual object to pick up a plurality of virtual resource props; when the actual interaction result of the second virtual object is inconsistent with the predicted interaction result, display special effects that the at least one virtual resource prop pops out from the second virtual object and is destroyed.

15. An electronic device, characterized in that, The electronic device includes: a memory for storing executable instructions; a processor for implementing the virtual resource processing method in the virtual scenario according to any one of claims 1 to 13 when executing the executable instructions stored in the memory.

16. A computer-readable storage medium stores executable instructions, characterized in that, The executable instructions, when executed by the processor, implement the virtual resource processing method in the virtual scenario according to any one of claims 1 to 13.

17. A computer program product, comprising a computer program or instructions, characterized in that, The computer program or instructions, when executed by the processor, implement the virtual resource processing method in the virtual scenario according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Virtual gaming system and method

    CN107454859A

  • Competition result prediction method, device and equipment based on machine learning

    CN110147524A