Virtual item interaction method and device, equipment, storage medium and program product

By using accurate data to batch operations of virtual props in virtual scenes, the problem of cumbersome interaction methods of virtual props is solved, the interaction efficiency of virtual props is improved, and computing and communication resources are saved.

CN119056057APending Publication Date: 2024-12-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310638214.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, the interaction methods of virtual props are cumbersome, resulting in users having to repeat operations multiple times in virtual scenes, affecting interaction efficiency.

Method used

By displaying the quasi-centricity in the virtual scene and responding to the quasi-centricity group trigger operation, batch operations of virtual props are realized, repetitive operations are reduced, and interactive efficiency is improved.

Benefits of technology

It realizes efficient interaction of virtual props, reduces the cumbersomeness of user operations, improves interaction efficiency, and saves computing and communication resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119056057A_ABST
    Figure CN119056057A_ABST
Patent Text Reader

Abstract

The invention provides a virtual item interaction method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the steps that a virtual scene is displayed, an aim point is displayed in the virtual scene, the virtual scene comprises a virtual object and a plurality of virtual props, and the aim point is used for indicating a drop point where the virtual object conducts interaction operation in the virtual scene; in response to marshalling trigger operation for the at least one virtual item based on the aim point, feedback information is displayed in the virtual scene, and the feedback information is used for representing that the at least one virtual item is added into marshalling; and in response to a triggering operation for the marshalling, controlling the virtual props in the marshalling to execute a target action corresponding to the triggering operation in batches. According to the invention, the interaction efficiency of the props can be virtualized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to computer graphics and image technology, and in particular to a virtual prop interaction method, device, electronic device, computer-readable storage medium and computer program product. Background Art

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

[0003] In the related art, players can only adjust multiple virtual props in the virtual scene by operating one virtual prop in the virtual scene at a time. When there are a large number of virtual props that need to be adjusted in the virtual scene, multiple round trips of repeated operations are required to complete the adjustment process. This interactive method requires players to repeat operations continuously, which is too cumbersome, resulting in poor interactive efficiency and affecting user experience. Summary of the invention

[0004] Embodiments of the present application provide a virtual prop interaction method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the interaction efficiency of virtual props.

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

[0006] The present application provides a virtual prop interaction method, including:

[0007] Displaying a virtual scene, and displaying a crosshair in the virtual scene, wherein the virtual scene includes a virtual object and a plurality of virtual props, and the crosshair is used to indicate a landing point of the virtual object for interactive operation in the virtual scene;

[0008] In response to a grouping triggering operation for at least one of the virtual props based on the crosshairs, feedback information is displayed in the virtual scene, wherein the feedback information is used to indicate that at least one of the virtual props is added to the grouping;

[0009] In response to a trigger operation on the group, the virtual props in the group are controlled to execute a target action corresponding to the trigger operation in batches.

[0010] The embodiment of the present application provides a virtual prop interaction device, comprising:

[0011] A display module, used to display a virtual scene and display a crosshair in the virtual scene, wherein the virtual scene includes a virtual object and a plurality of virtual props, and the crosshair is used to indicate a landing point of the virtual object for interactive operation in the virtual scene;

[0012] a grouping module, configured to display feedback information in the virtual scene in response to a grouping triggering operation based on the crosshairs on at least one of the virtual props, wherein the feedback information is used to indicate that at least one of the virtual props is added to the grouping;

[0013] The batching module is used to control the virtual props in the group to batch-perform a target action corresponding to the triggering operation in response to the triggering operation on the grouping.

[0014] An embodiment of the present application provides an electronic device for virtual prop interaction, the electronic device comprising:

[0015] Memory for storing computer programs or computer executable instructions;

[0016] The processor is used to implement the virtual prop interaction method provided in the embodiment of the present application when executing the computer program or computer executable instructions stored in the memory.

[0017] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions, which, when executed by a processor, can implement the virtual prop interaction method provided in the embodiment of the present application.

[0018] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, can implement the virtual prop interaction method provided in the embodiment of the present application.

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

[0020] At least one virtual prop is added to the group through the crosshairs, and the virtual props in the group are controlled to execute target actions in batches, so that the user can operate all the virtual props that need to be adjusted in the virtual scene at one time. Compared with the solution of repeatedly operating virtual props one by one in the related technology, the tedious interaction process is reduced, the interaction efficiency is improved, and the relevant communication resources and computing resources are saved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1A-1B It is a schematic diagram of an application mode of the virtual props interaction method provided in an embodiment of the present application;

[0022] Figure 2is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0023] Figure 3A-3C It is a flowchart of a virtual prop interaction method provided in an embodiment of the present application;

[0024] Figure 4A It is a flowchart of a frame selection operation based on a crosshair provided in an embodiment of the present application;

[0025] Figure 4B is a schematic diagram of multiple candidate grouping lists provided in an embodiment of the present application;

[0026] Figure 4C is a schematic diagram of removing a control provided in an embodiment of the present application;

[0027] Figure 5 It is a schematic diagram of enabling the grouping function provided in an embodiment of the present application;

[0028] Fig. 6A It is a schematic diagram of grouping provided in an embodiment of the present application;

[0029] Figure 6B It is a schematic diagram of grouping provided in an embodiment of the present application;

[0030] Figure 6C is a schematic diagram of removing an object added to a group provided in an embodiment of the present application;

[0031] Fig. 7A It is a schematic diagram of editing objects added to a group provided in an embodiment of the present application;

[0032] Figure 7B It is a schematic diagram of batch rotation of objects added to a group provided in an embodiment of the present application;

[0033] Figure 7C It is a schematic diagram of batch movement of objects added to a group provided by an embodiment of the present application;

[0034] Fig.7D It is a schematic diagram of batch cancellation of objects added to a group provided by an embodiment of the present application;

[0035] Fig. 7E It is a schematic diagram of batch placement of objects added to a group provided by an embodiment of the present application;

[0036] Figure 7F It is a revocation schematic diagram provided in an embodiment of the present application;

[0037] Figure 7G It is a reselection schematic diagram provided in an embodiment of the present application;

[0038] Figure 8It is a flowchart of a virtual prop interaction method provided in an embodiment of the present application;

[0039] Fig. 9 It is a schematic diagram of the grouping process provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

[0042] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

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

[0044] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0045] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.

[0046] 2) Client: An application running in a terminal to provide various services, such as a video player client, a game client, etc.

[0047] 3) Virtual scene: A virtual game scene displayed (or provided) when the game program is running on the terminal. The virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

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

[0049] 5) Virtual props: various types of objects displayed in a virtual scene, such as objects that can be used by virtual objects (such as virtual medicines used to restore status parameters of virtual objects (such as health points, physical strength points), and virtual weapons used to attack virtual objects in the virtual scene); they can also be objects used to decorate virtual scenes (such as virtual paintings, virtual tables, etc.).

[0050] 6) Scene data: represents the various characteristics of virtual objects in the virtual scene during the interaction process, for example, it can include the position of the virtual object in the virtual scene. Of course, different types of characteristics can be included according to the type of virtual scene; for example, in the virtual scene of the game, the scene data can include the waiting time required for various functions configured in the virtual scene (depending on the number of times the same function can be used within a specific time), and can also represent the attribute values ​​of various states of the game character, such as health value (also called red volume) and magic value (also called blue volume).

[0051] The embodiments of the present application provide a virtual prop interaction method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the interaction efficiency of virtual props. In order to facilitate easier understanding of the virtual prop interaction method provided by the embodiments of the present application, the exemplary implementation scenario of the virtual prop interaction method provided by the embodiments of the present application is first described. The virtual scene in the virtual prop interaction method provided by the embodiments of the present application can be completely based on terminal output, or based on the coordinated output of the terminal and the server.

[0052] 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, both parties can interact in the virtual scene, allowing users to relieve life stress during the game.

[0053] In one implementation scenario, see Figure 1A , Figure 1A It is a schematic diagram of the application mode of the virtual prop interaction method provided in the embodiment of the present application, which is suitable for some application modes that completely rely on the graphics processing hardware computing power of the terminal 400 to complete the relevant data calculation of the virtual scene 100, such as stand-alone / offline mode games, and complete the output of the virtual scene through various types of terminals 400 such as smart phones, tablets and virtual reality / augmented reality devices.

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

[0055] When forming a 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, and outputs video frames that can form a visual perception of the virtual scene through the graphics output hardware, for example, presenting two-dimensional video frames on the display screen of a smartphone, or projecting video frames to achieve a three-dimensional display effect on the lenses of augmented reality / virtual reality glasses; in addition, in order 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.

[0056] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal 400. During the operation of the client 410, a virtual scene including virtual props is output. The virtual scene may be an environment for game characters to interact, such as a plain, a street, a valley for game characters to fight, or a room for game characters to build, etc. Taking the third-person perspective display of the virtual scene 100 as an example, a virtual object 110, a virtual prop 120, and a crosshair 130 are displayed in the virtual scene 100. The virtual object 110 may be a game character controlled by a user (or player), that is, the virtual object 110 is controlled by a real user and will respond to the real user's buttons (including joysticks). The virtual props 120 can be operated in the virtual scene by operating the virtual object 110 (such as a joystick button, an attack button, a defense button, etc.). For example, when the real user moves the joystick button to the left, the virtual object will move to the left in the virtual scene, and can also remain still, jump, and use various functions (such as skills and props); the virtual props 120 are controlled by the virtual object 110, and will operate in the virtual scene in response to the operation of the virtual object 110, so that the virtual props 120 are controlled by the virtual object 110 to move; the virtual props 120 can also be items controlled by the user (or enemy player), that is, the virtual props 120 are controlled by the real user, and the virtual props 120 can also be non-user characters (NPC, Non-Player Character) in the virtual scene interaction, etc.

[0057] For example, a virtual object 110 in a virtual scene 100 holds a virtual weapon, and a crosshair 130 of the virtual weapon and a virtual prop 120 are displayed in the virtual scene 100. In response to a grouping trigger operation on the virtual prop 120 based on the crosshair 130, the virtual prop 120 is added to a group 140. In response to a trigger operation on the group 140, the virtual props 120 in the group are controlled to batch execute target actions corresponding to the trigger operation, such as moving forward, rotating, etc., thereby realizing a one-time operation of all virtual props that need to be adjusted in the virtual scene, reducing tedious interaction processes and improving interaction efficiency.

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

[0059] Taking the visual perception of 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 relies on the graphics computing hardware to complete the loading, parsing and rendering of the display data, and relies on the graphics output hardware to output the virtual scene to form a visual perception. For example, a two-dimensional video frame can be presented on the display screen of a smartphone, or a video frame with a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses. For the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0060] As an example, a client 410 (e.g., a network version of a game application) is running on the terminal 400, and the terminal 400 interacts with other users in a game by connecting to a server 200 (e.g., a game server). The terminal 400 outputs a virtual scene 100 of the client 410. Taking the third-person perspective display of the virtual scene 100 as an example, a virtual object 110, a virtual prop 120, and a crosshair 130 are displayed in the virtual scene 100. The virtual object 110 may be a game character controlled by a user (or player), that is, the virtual object 110 is controlled by a real user and will respond to the real user's operation on a button (including a joystick button, an attack button, a defense button, etc.) in the virtual scene. The virtual props 120 can be operated in the virtual scene, for example, when the real user moves the joystick button to the left, the virtual object will move to the left in the virtual scene, and can also remain still, jump, and use various functions (such as skills and props); the virtual props 120 are controlled by the virtual objects 110, and will operate in the virtual scene in response to the operation of the virtual objects 110, so that the virtual props 120 are controlled by the virtual objects 110 to move; the virtual props 120 can also be items controlled by the user (or enemy player), that is, the virtual props 120 are controlled by the real user, and the virtual props 120 can also be non-user characters (NPC, Non-Player Character) in the virtual scene interaction, etc.

[0061] For example, the terminal 400 outputs the virtual scene 100 sent by the server 200, the virtual object 110 in the virtual scene 100 holds a virtual weapon, and the crosshairs 130 of the virtual weapon and the virtual props 120 are displayed in the virtual scene 100. In response to a grouping trigger operation based on the crosshairs 130 for the virtual props 120, the virtual props 120 are added to the grouping 140. In response to the trigger operation for the grouping 140, the virtual props 120 in the grouping are controlled to batch execute the target action corresponding to the trigger operation, such as moving forward, rotating, etc., thereby realizing a one-time operation of all virtual props that need to be adjusted in the virtual scene, reducing the cumbersome interaction process and improving the interaction efficiency.

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

[0063] Taking a computer program as an application program as an example, in actual implementation, the terminal 400 installs and runs an application program that supports a virtual scene. The application program can be any one of a first-person shooter game (FPS), a third-person shooter 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 a virtual object in the virtual scene to perform an activity, which includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building a virtual building. Schematically, the virtual object can be a virtual character, such as a simulated character or an anime character.

[0064] In some embodiments, the embodiments of the present application can also be implemented with the aid 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.

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

[0066] For example, Figure 1BThe server 200 in the example may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal 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 via wired or wireless communication, which is not limited in the embodiments of the present application.

[0067] See also Figure 2 , Figure 2 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and takes the electronic device as a terminal 400 as an example for explanation. Figure 2 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. The various components in the terminal 400 are coupled together via a bus system 450. It is understood that the bus system 450 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 450 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 450 is not shown in FIG. Figure 2 Various buses are labeled as bus system 450 .

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

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

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

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

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

[0073] Operating system 461, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0074] A network communication module 462, for reaching other computing devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);

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

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

[0077] In some embodiments, the virtual props interaction device provided in the embodiments of the present application can be implemented in a software manner. Figure 2 The virtual prop interaction device 465 stored in the memory 460 is shown, which can be software in the form of programs and plug-ins, including the following software modules: display module 4651, grouping module 4652, batching module 4653. These modules are logical, so they can be arbitrarily combined or further divided according to the functions implemented. It should be pointed out that in Figure 2 For the sake of convenience, all the above modules are shown at once, but it should not be considered that the virtual prop interaction device 465 excludes the implementation of only including the display module 4651, the grouping module 4652, and the batching module 4653. The functions of each module will be explained below.

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

[0079] The virtual props interaction method provided by the embodiment of the present application will be specifically described below in conjunction with the accompanying drawings. The virtual props interaction method provided by the embodiment of the present application can be Figure 1A The terminal 400 in the embodiment can be executed separately or by Figure 1B The terminal 400 and the server 200 cooperate to execute.

[0080] Below, by Figure 1A The terminal 400 in the embodiment of the present application independently executes the virtual prop interaction method provided in the embodiment of the present application as an example. Figure 3A , Figure 3A is a flowchart of a virtual prop interaction method provided in an embodiment of the present application, which will be combined with Figure 3A The steps shown are explained.

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

[0082] In step 101, a virtual scene is displayed, and a crosshair is displayed in the virtual scene, wherein the virtual scene includes a virtual object and a plurality of virtual props, and the crosshair is used to indicate a landing point of the virtual object for interactive operation in the virtual scene.

[0083] Here, the virtual scene can be displayed from a third-person perspective, that is, virtual objects can be displayed in the virtual scene. The virtual objects can be game characters controlled by users (or players), or non-user characters (NPC, Non-Player Character) in the virtual scene interaction, etc.; the virtual scene can also be displayed from a first-person perspective, that is, virtual objects are not displayed in the virtual scene, and virtual weapons controlled by virtual objects can be displayed.

[0084] It should be noted that the crosshairs in the embodiment of the present application serve as an interactive medium, and the crosshairs are used to interact with virtual props, such as using the crosshairs to aim at objects to pick up, using the crosshairs to aim at shooting, using the crosshairs to lock positions, etc. Therefore, the interactive operations in the embodiment of the present application can be attack operations, pick-up operations, and lock operations. For example, in a shooting scene, the crosshairs indicate the landing point of the virtual object in the virtual scene for shooting operations to achieve an attack operation; in a trap-laying scene, the crosshairs indicate the location of the virtual object in the virtual scene for laying traps to achieve a trap-laying operation.

[0085] In step 102, in response to a grouping triggering operation for at least one virtual prop based on a crosshair, feedback information is displayed in a virtual scene, wherein the feedback information is used to indicate that the at least one virtual prop is added to the grouping.

[0086] The grouping operation refers to an operation of combining multiple virtual props into one group, and the number of virtual props that can be accommodated in the group is at least two.

[0087] It should be noted that the embodiment of the present application can repeatedly execute the grouping trigger operation, that is, the grouping trigger operation can be executed at least once. For example, when the grouping trigger operation acts on a virtual prop, the grouping trigger operation can be repeatedly executed to add multiple virtual props to the grouping.

[0088] It should be noted that at least one virtual prop can be added to at least one group. For example, when the number of virtual props is multiple (i.e., at least two), multiple virtual props can be added to the same group or multiple groups. Taking adding multiple virtual props to two groups (including a first group and a second group) as an example, the embodiment of the present application can manually select a part of the multiple virtual props to be added to the first group, and add another part of the virtual props to the second group; the embodiment of the present application can identify the types of the two groups and the type of each virtual prop, add the virtual props of the multiple virtual props that are consistent with the type of the first group to the first group, and add the virtual props that are consistent with the type of the second group to the second group.

[0089] See also Figure 3B , Figure 3Bis a flowchart of a virtual prop interaction method provided in an embodiment of the present application, Figure 3B Show Figure 3A Step 102 in the embodiment may be implemented by step 1021: in step 1021, in response to a selection operation on at least one virtual prop based on the crosshair, feedback information on at least one virtual prop is displayed in the virtual scene.

[0090] For example, in the embodiment of the present application, virtual props in the virtual scene can be manually selected based on the crosshairs, and the selected virtual props can be added to the group. By manually selecting virtual props, the virtual props that need to be grouped can be accurately selected.

[0091] In some embodiments, step 1021 can be implemented by: displaying a grouping control in the virtual scene; and displaying feedback information for at least one virtual prop in the virtual scene in response to an aiming operation of the crosshairs on at least one virtual prop and a triggering operation on the grouping control.

[0092] like Fig. 6A As shown, in response to the crosshair 600 aiming at the virtual prop 601 (i.e., the object to be grouped), the virtual prop 601 and the triggering operation of the grouping control 603 are triggered, the grouping operation is determined to be triggered, and the prop information 605 of the virtual prop 601 currently entering the group is displayed through the grouping list 604 at the bottom to provide feedback on the virtual prop joining the group.

[0093] In some embodiments, step 1021 may be implemented in the following manner: in response to the crosshair staying on at least one virtual prop and the stay time reaches a set time length, feedback information for at least one virtual prop is displayed in the virtual scene.

[0094] For example, when the crosshair stays on a virtual prop for a set period of time, a grouping operation is triggered to add the virtual prop to the group.

[0095] In some embodiments, step 1021 may be implemented in the following manner: in response to a selection operation based on a crosshair in a virtual scene, feedback information for at least one virtual prop is displayed in the virtual scene, wherein the at least one virtual prop is located in a selection area corresponding to the selection operation.

[0096] like Figure 4A As shown, the crosshair 401 serves as an interactive medium for the selection operation. In response to a selection operation based on the crosshair 401 in the virtual scene, a line 402 corresponding to the selection operation can be displayed in the virtual scene, and a closed area 403 corresponding to the line 402 is used as a selection area corresponding to the selection operation, and a virtual prop located in the selection area is used as a selected virtual prop.

[0097] In some embodiments, before step 1021, a grouping control is displayed in the virtual scene; in response to a trigger operation on the grouping control, the trigger crosshair enters a selection state for at least one virtual prop.

[0098] like Figure 5 As shown, there is a function control for starting a grouping operation (i.e., a grouping control 501) in the virtual scene. In response to a trigger operation of the grouping control 501, the trigger crosshair enters a selection state for at least one virtual prop to enter a grouping mode.

[0099] In some embodiments, step 102 may be implemented in the following manner: displaying an automatic grouping control in a virtual scene; in response to a triggering operation on the automatic grouping control based on a crosshair, determining at least one virtual prop from a plurality of virtual props, and displaying feedback information for the at least one virtual prop in the virtual scene; wherein the at least one virtual prop includes at least one of the following: virtual props with the same attributes among the plurality of virtual props; virtual props with a grouping frequency greater than a grouping frequency threshold; virtual props with a distance between any two virtual props among the plurality of virtual props less than a distance threshold.

[0100] For example, the automatic grouping control is triggered by the crosshairs to trigger the automatic grouping function of the virtual props in the virtual scene, so as to automatically determine at least one virtual prop from multiple virtual props and add the determined at least one virtual prop to the grouping. Through automatic grouping, the interactive operations can be further reduced and the interactive efficiency of the virtual props can be improved.

[0101] Taking at least one virtual prop as a virtual prop with the same attribute among multiple virtual props as an example, the attribute may be a layout attribute of the virtual prop in the virtual scene (such as standing on the ground, hanging on the wall, hanging on the ceiling, etc.), or an attack attribute, a defense attribute, etc. For example, a virtual prop with the attribute of standing on the ground among multiple virtual props is used as a virtual prop to be added to the group.

[0102] Taking at least one virtual prop as a virtual prop in which the distance between any two virtual props among the multiple virtual props is less than the distance threshold as an example, when the distance between two virtual props among the multiple virtual props is 0 (that is, the two virtual props are adjacent), the two virtual props are automatically added to the grouping.

[0103] It should be noted that the embodiments of the present application can also combine manual selection of virtual props and automatic selection of virtual props to determine the virtual props to be added to the group. For example, a target virtual prop is first manually selected from multiple virtual props through a crosshair, and then the virtual props associated with the target virtual prop are automatically determined from the multiple virtual props, wherein the virtual props associated with the target virtual prop include at least one of the following: a virtual prop with the same attributes as the target virtual prop; a virtual prop whose distance from the target virtual prop is less than a distance threshold.

[0104] In some embodiments, step 102 can be implemented in the following manner: displaying an automatic grouping control in a virtual scene; in response to a triggering operation on the automatic grouping control based on a crosshair, determining at least one virtual prop from a plurality of virtual props, and displaying feedback information on the at least one virtual prop in the virtual scene; wherein the at least one virtual prop is determined by the following processing: based on the historical grouping data of the virtual props and a plurality of virtual props for the current account of the virtual scene, calling a neural network model for predictive processing to obtain at least one virtual prop; the neural network model is trained through a plurality of virtual prop samples, a plurality of virtual prop sample historical grouping data of the account sample of the virtual scene, and a plurality of virtual prop sample annotations.

[0105] Among them, the embodiments of the present application are not limited to the model structure of the neural network model. For example, the neural network model can be a convolutional neural network, a deep neural network, etc.

[0106] It should be noted that before applying the neural network model, it is necessary to train the initial neural network model, and then put the trained neural network model into use to realize the prediction of virtual props that need to be grouped by artificial intelligence technology in combination with the grouping habits of the players. Among them, the neural network model is trained by multiple virtual prop samples, account samples of virtual scenes for historical grouping data of multiple virtual prop samples and virtual prop sample annotations. For example, based on multiple virtual prop samples, account samples of virtual scenes for historical grouping data of multiple virtual prop samples, the initial neural network model is called for prediction processing to obtain predicted virtual prop samples. After determining the value of the loss function of the neural network model through the predicted virtual prop samples and virtual prop sample annotations, it can be determined whether the value of the loss function exceeds the preset threshold. When the value of the loss function exceeds the preset threshold, the error signal of the neural network model is determined based on the loss function, and the error information is back-propagated in the neural network model, and the model parameters of each layer are updated during the propagation process. Among them, the embodiments of the present application are not limited to the form of the loss function, for example, it can be a cross entropy loss function, an L2 loss function, etc.

[0107] Here, back propagation is explained. The training sample data is input into the input layer of the neural network model, passes through the hidden layer, and finally reaches the output layer and outputs the result. This is the forward propagation process of the neural network model. Since there is an error between the output result of the neural network model and the actual result, the error between the output result and the actual value is calculated, and the error is back-propagated from the output layer to the hidden layer until it propagates to the input layer. In the process of back propagation, the value of the model parameter is adjusted according to the error, that is, the loss function is constructed according to the error between the output result and the actual value, and the partial derivatives of the loss function with respect to the model parameters are calculated layer by layer to generate the gradient of the loss function with respect to the model parameters of each layer. Since the direction of the gradient indicates the direction of error expansion, the gradient of the model parameters is inverted and summed with the original parameters of each layer model. The summed result is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters; the above process is continuously iterated until convergence.

[0108] In some embodiments, step 102 may be implemented in the following manner: displaying an automatic grouping control in a virtual scene; in response to a trigger operation on the automatic grouping control based on a crosshair, displaying multiple candidate grouping lists in the virtual scene, wherein the candidate grouping lists include at least one virtual prop; in response to a selection operation on the candidate grouping list, displaying feedback information on the candidate grouping list in the virtual scene; wherein the type of at least one virtual prop in the candidate grouping list includes at least one of the following: virtual props with the same attributes among multiple virtual props; virtual props with a grouping frequency greater than a grouping frequency threshold; virtual props with a distance less than a distance threshold among multiple virtual props.

[0109] like Figure 4B As shown, in response to the triggering operation for the automatic grouping control, multiple candidate grouping lists are displayed in the virtual scene ( Figure 4B The candidate grouping list 401 and the candidate grouping list 402 are shown. In response to a selection operation on the candidate grouping list 401, the virtual props in the candidate grouping list 401 are highlighted in the virtual scene to feedback that the virtual props in the candidate grouping list 401 are added to the grouping.

[0110] In some embodiments, step 102 may display feedback information in the following manner: in a virtual scene, display at least one virtual prop by displaying display parameters different from those of other virtual props, wherein the other virtual props are virtual props other than at least one virtual prop among a plurality of virtual props, and the display parameters include at least one of the following: color, size, shape, special effects; and display a grouping list corresponding to the grouping in the virtual scene, wherein the grouping list includes prop information corresponding to the at least one virtual prop.

[0111] like Fig. 6AAs shown, in response to a click operation of the add grouping control 603, the virtual prop 601 will appear in a purple overlay color, distinguishing the virtual prop 601 from other virtual props by color, and the grouping list 604 at the bottom will display the prop information 605 of the virtual prop 601 currently entering the grouping to provide feedback on the virtual prop being added to the group.

[0112] In some embodiments, before the feedback information is displayed in step 102, when the layout attributes of at least one virtual prop are different from the layout attributes of the virtual props in the group, a first prompt information is displayed in the virtual scene, wherein the first prompt information is used to prompt that the at least one virtual prop has failed to join the group and has different layout attributes from the virtual props in the group.

[0113] The layout attribute may be floor-standing, wall-mounted, ceiling-mounted, etc. For example, if the virtual prop corresponding to the grouping trigger operation is a hanging painting, that is, the layout attribute of the virtual prop corresponding to the grouping trigger operation is wall-mounted, and the layout attribute of the virtual props in the grouping is floor-standing (for example, the virtual props in the grouping are tables and chairs), then the first prompt information is displayed in the virtual scene, for example, the first prompt information is a text message of "only floor-standing virtual props can be added to the current grouping".

[0114] In some embodiments, before the feedback information is displayed in step 102, when the plane where at least one virtual prop is located is different from the plane where the virtual props in the group are located, a second prompt information is displayed in the virtual scene, wherein the second prompt information is used to prompt that at least one virtual prop has failed to join the group and is not in the same plane as the virtual props in the group.

[0115] For example, the virtual prop corresponding to the grouping trigger operation is a cup on a chair on the ground, and the virtual prop in the grouping is a table on the ground. Since the plane where the cup on the chair on the ground is located is the plane corresponding to the chair, and the plane where the table is located is the ground, a second prompt message is displayed in the virtual scene. For example, the second prompt message is a text message that reads "Not on the same plane as the items in the grouping."

[0116] In some embodiments, before the feedback information is displayed in step 102, when the sum of the number of at least one virtual prop and the number of virtual props in the group is greater than the upper limit of the number, a third prompt message is displayed in the virtual scene, wherein the third prompt message is used to prompt that at least one virtual prop has failed to join the group and exceeds the upper limit of the number of the group.

[0117] See also Figure 3C , Figure 3C is a flowchart of a virtual prop interaction method provided in an embodiment of the present application, Figure 3C Show Figure 3AThe method further includes step 104: in step 104, in response to a removal operation on a target virtual prop in the grouping, feedback information corresponding to the removal operation is displayed in the virtual scene, wherein the feedback information is used to indicate that the target virtual prop is removed from the grouping.

[0118] For example, when some virtual props in the grouping do not need to be processed in batches, in response to a removal operation of a target virtual prop in the grouping based on the crosshairs, feedback information corresponding to the removal operation is displayed in the virtual scene. The feedback information corresponding to the removal operation is displayed in the following manner: in the virtual scene, the target virtual prop is displayed by displaying display parameters of virtual props not added to the grouping, wherein the display parameters include at least one of the following: color, size, shape, special effects; and the prop information corresponding to the target virtual prop is removed from the grouping list corresponding to the grouping displayed in the virtual scene.

[0119] In some embodiments, step 104 may be implemented in the following manner: displaying a removal control for a target virtual prop in the group in the virtual scene; and displaying feedback information corresponding to the trigger operation in the virtual scene in response to a trigger operation for the removal control.

[0120] The removal control for the target virtual prop in the group may be a removal control displayed on the target virtual prop. Figure 4C As shown, in the virtual scene, a removal control 402 for a target virtual prop 401 in the group is displayed, and in response to a trigger operation on the removal control 402, the target virtual prop is removed from the group.

[0121] When a group list corresponding to a group is displayed in a virtual scene, a removal control for a target virtual item in the group may be a removal control displayed in the group list, wherein the removal control corresponds one-to-one to the virtual items added to the group list. Figure 4C As shown, in the virtual scene, a removal control 403 for a target virtual prop 401 in the group is displayed, and in response to a trigger operation on the removal control 403, the target virtual prop is removed from the group.

[0122] In some embodiments, a removal control for a target virtual prop is not always displayed in the virtual scene, and a removal control for the target virtual prop may be displayed in response to a removal triggering operation for the target virtual prop based on the crosshair.

[0123] Among them, the embodiments of the present application are not limited to the operation form of removing the trigger operation, for example, it can be double-clicking, staying for a set time, etc.

[0124] In step 103, in response to a trigger operation on a group, the virtual props in the group are controlled to execute a target action corresponding to the trigger operation in batches.

[0125] Here, batch execution of target actions may be simultaneous execution of target actions, or may be sequential execution of target actions according to the order of virtual props, wherein the order of virtual objects may be the order of virtual props from virtual objects, the order of arrangement of virtual props in virtual scenes, or the order of grouping triggering of virtual props, etc.

[0126] The trigger operation may be a batch operation of actions based on the crosshairs, such as a batch operation of movement through the crosshairs, or a batch operation of rotation through the crosshairs. Thus, in response to the batch operation of actions based on the crosshairs for the formation, the virtual props in the formation are controlled to perform the target action in batches.

[0127] Of course, the trigger operation can also be an operation to set the action parameters of the target action. By manually setting the action parameters of the target, the virtual props in the group can be controlled to batch execute the target action. For example, if the action parameters of the target action are set to move forward 1 meter, the virtual props in the group will be controlled to move forward 1 meter in batches.

[0128] In some embodiments, step 103 can be implemented in the following ways: displaying at least one action control for the grouping in the virtual scene; in response to a trigger operation on the action control, controlling the virtual props in the grouping to batch execute the target action corresponding to the action control, wherein the target action includes at least one of the following: moving, rotating.

[0129] The movement can be parallel movement, jumping, climbing and other actions. Figure 7B As shown, a rotation control 702 for the group is displayed in the virtual scene. In response to a trigger operation on the rotation control 702, the virtual prop 705 in the group rotates at a preset angle around its own center point.

[0130] In some embodiments, after step 103, a re-editing control for the grouping is displayed in the virtual scene; in response to a trigger operation on the re-editing control, the target action performed by the virtual props in the grouping is undone, and the virtual props will continue to respond to the trigger operation on the grouping.

[0131] like Figure 7G As shown, the re-editing controls for the group are displayed in the virtual scene ( Figure 7G In response to the triggering operation of the "Reselect Last Group" control 708, the target action performed by the virtual props in the grouping is undone, and the triggering operation for the grouping will continue to respond, that is, all the grouping objects of the last batch editing will be quickly re-added to the current grouping list 709, and the player can continue to re-edit the last grouping.

[0132] In some embodiments, after step 103, an undo control for the group is displayed in the virtual scene; in response to a trigger operation on the undo control, the target action performed by the virtual props in the group is undone, and the virtual props added to the group are removed.

[0133] like Figure 7F As shown, an undo control 707 for the grouping is displayed in the virtual scene. In response to the triggering operation of the undo control 707, the target action performed by the virtual props in the grouping is undone, and the virtual props added to the grouping are removed, that is, the grouping list 709 is cleared.

[0134] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.

[0135] The embodiments of the present application can be applied to various virtual scenes, for example, in virtual scenes such as games, and can simulate the real battle process between virtual objects.

[0136] The following takes a first-person shooting (FPS) game as an example of a virtual scene. On the basis of the FPS game, a third-person real-scene construction mode is added. The third-person real-scene construction mode is derived from the basic operation of the FPS game (joystick control movement + crosshair shooting target), that is, the player uses the joystick to control the game character, adjusts the construction target (that is, virtual props) through the crosshair, and completes the construction and building of the virtual scene using the joystick + crosshair operation method.

[0137] In order to pursue the beauty and realism of virtual scene construction, a large number of objects will be arranged in the virtual scene. For example, a virtual living room will include a virtual TV cabinet, TV, coffee table, sofa, green plants, etc. At the same time, a large number of components will be provided for players to build user-generated content (UGC) gaming experience; when it is necessary to adjust the construction style or the layout of the house (that is, the space presented by the virtual scene), multiple objects in the room need to adjust their positions.

[0138] In order to realize the function of building or adjusting objects in a virtual scene, in the related technology, players can only adjust multiple objects in the virtual scene by operating one object in the virtual scene at a time. When the number of objects that need to be adjusted in the virtual scene is large, multiple repeated operations are required to complete the adjustment process.

[0139] In order to solve the above problems, an embodiment of the present application provides a virtual prop interaction method, which can use the crosshairs to trigger the grouping operation of objects that need to be moved in the current virtual scene (i.e., virtual props). After the grouping is completed, the overall movement and placement angle rotation of the objects in the grouping can be completed by controlling the game characters.

[0140] The following describes the virtual prop interaction method provided by the embodiment of the present application in combination with the product-side solution.

[0141] like Figure 5 As shown, there is a function control for starting the grouping operation (i.e., the "grouping" control 501) in the virtual scene. In response to a click operation on the "grouping" control 501, a grouping list 502 and a "join grouping" control 503 are displayed to enter the grouping mode.

[0142] Combine the following Figure 6A-6C Describes the grouping process for objects.

[0143] like Fig. 6A As shown in the grouping diagram, in response to the crosshair 600 aiming at the grouping object 601 (i.e., the object to be grouped), a stroke pre-feedback 602 will appear on the grouping object 601, and in response to the click operation of the "Add to Grouping" control 603, a purple overlay color (or other color stroke or user interface design (UI, User Interface Design) mark) will appear on the grouping object 601, and the grouping list 604 at the bottom will display the prop information 605 of the grouping object 601 currently entering the grouping.

[0144] like Figure 6B In the grouping diagram shown, all objects that need to be moved as a whole in the virtual scene are added to the grouping list 604, and all objects 601 added to the grouping list are purple.

[0145] like Figure 6C As shown in the schematic diagram of removing objects added to the grouping, the embodiment of the present application can remove unnecessary objects that do not need to be moved as a whole in the grouping list at the bottom, and in response to a click operation of the remove control 606 on the prop information 605 in the grouping list 604 at the bottom, the prop information 605 is removed from the grouping list 604, and the overlapping color of the object 601 corresponding to the prop information 605 is undo.

[0146] Combine the following Figure 7A-7G Describes the editing process for grouping.

[0147] like Fig. 7A The editing diagram of the grouped objects shown in the figure responds to the click operation of the "Confirm Grouping" control 701 to confirm that the grouping is completed, and the grouped objects enter the editing state. The objects entering the group will be added with a green overlay, and the "Rotate" control 702, "Place" control 703 and "Cancel" control 704 will be displayed in the virtual scene.

[0148] like Figure 7BThe schematic diagram of batch rotation of grouped objects shown in FIG. 7 shows that, in response to a click operation of a “rotate” control 702 , all grouped objects 705 are rotated at a preset angle with the center point of their own model as the center.

[0149] like Figure 7C As shown in the schematic diagram of batch movement of grouped objects, in response to the movement operation of the joystick 706, the virtual character 707 in the virtual scene follows the movement, and at the same time all the grouped objects 705 will follow the movement of the virtual character 706, thereby completing the batch movement of N grouped objects from point A to point B, where N is a positive integer.

[0150] like Fig.7D The schematic diagram of batch canceling grouped objects is shown. In response to a click operation on the "Cancel" control 704, all grouped objects 705 will exit the editing state. Before entering the editing state, the grouped objects are re-overlaid in purple, and grouping can continue.

[0151] like Fig. 7E The schematic diagram of batch placement of grouped objects shown in the figure responds to the click operation of the "Place" control 703, confirming that the editing is completed, all grouped objects will be placed in the current scene position, and the editing state will be exited at the same time, the overlapping of objects will be canceled, and the player can perform the next batch grouping, and the "Undo" control 707 and the "Reselect Previous Group" control 708 will be displayed. The "Undo" control 707 can be used to implement the function of undoing the last placement, and the "Reselect Previous Group" control 708 can be used to implement the function of reselecting all grouped objects in the previous group.

[0152] like Figure 7F The undo diagram shown in the figure responds to the click operation of the "Undo" control 707 to undo the last batch placement, batch rotation, and batch movement operations, and all objects added to the group are restored to the position and angle state before the grouping, and the grouping list 709 is cleared.

[0153] like Figure 7G The reselection diagram shown, in response to the click operation of the "reselect last group" control 708, quickly re-adds all the grouping objects of the last batch editing to the current grouping list 709, and the player can quickly re-edit the last grouping.

[0154] Combine the following Figure 8 The steps shown illustrate the virtual prop interaction method provided in the embodiment of the present application.

[0155] In step 11, enter the grouping mode.

[0156] like Figure 5As shown, in response to a click operation on the “Group” control 501 , the grouping mode is entered.

[0157] It should be noted that after entering the grouping mode, in response to a click operation on a close control for the grouping in the virtual scene, the grouping mode is exited, for example, conventional house construction is performed.

[0158] In step 12, objects are grouped.

[0159] like Fig. 6A As shown, in response to the crosshair 600 aiming at the grouping object 601 (i.e., the object that needs to be grouped), a stroke pre-feedback 602 will appear on the grouping object 601, and in response to the click operation of the "Add to Grouping" control 603, a purple overlay will appear on the grouping object 601, and the grouping list 604 at the bottom will display the prop information 605 of the grouping object 601 currently entering the group.

[0160] In step 13, the completion of the grouping is confirmed, and the grouping operation ends.

[0161] like Fig. 7A As shown, in response to a click operation on the "Confirm Grouping" control 701, the grouping is confirmed to be completed, the grouping operation ends, and the objects that have been added to the grouping enter the editing state.

[0162] In step 14, the group is edited.

[0163] For example, to add objects to the group Figure 7B The batch rotation operation shown in the figure performs the following operations on the objects added to the group: Figure 7C Batch move operation shown.

[0164] It should be noted that when grouping, preview objects corresponding to the objects added to the group are generated. The underlying logic will implement the virtual character to control the preview object (Position actor), that is, the preview object is used to realize the visualization of editing, such as Figure 7C As shown, in response to the movement operation of the joystick 706 , the virtual character 707 in the virtual scene follows the movement, and a preview object of the object 705 that has been added to the group is generated. The virtual character 707 controls the preview object to move together.

[0165] In step 15, after editing is complete, confirm the placement of the grouped objects.

[0166] like Fig. 7E As shown, in response to a click operation on the "Place" control 703, it is determined that the editing is completed, and all objects added to the group are placed at the current scene position.

[0167] In step 16, the grouped objects are updated to their new positions.

[0168] The new position is the current scene position corresponding to the editing operation.

[0169] In step 17, confirm to cancel the editing operation of the grouped objects.

[0170] like Fig.7D As shown, in response to a click operation of the "Cancel" control 704, all the objects 705 that have been grouped will exit the editing state, and before entering the editing state, the grouping can continue.

[0171] In step 18, the positions of the objects that have been added to the group remain unchanged.

[0172] The positions of the grouped objects remain the same as before the editing state is entered, and the preview objects corresponding to the grouped objects disappear.

[0173] Combine the following Fig. 9 The steps shown illustrate the grouping process.

[0174] In step 21, it is determined whether the object being aimed at is already in the grouping list. When the object being aimed at is already in the grouping list, the process proceeds to step 22; when the object being aimed at is not in the grouping list, the process proceeds to step 23.

[0175] In step 22, the "Add to Group" control is grayed out.

[0176] It should be noted that the "Join Group" control in the virtual scene is grayed out, indicating that the "Join Group" control cannot implement the click confirmation operation to add the object aimed at the crosshairs to the group. When the "Join Group" control is grayed out, in response to the click operation of the "Join Group" control, a prompt message will be returned, which is used to prompt that the object aimed at the crosshairs is already in the group.

[0177] In step 23, in response to a click operation of the "Add to Group" control, a sub-object check is performed on the object targeted by the aiming point.

[0178] In step 24 , it is checked whether the object targeted by the crosshairs is associated with a sub-object. If the object targeted by the crosshairs is associated with a sub-object, the process proceeds to step 25 ; if the object targeted by the crosshairs is not associated with a sub-object, the process proceeds to step 26 .

[0179] It should be noted that before grouping, each object in the virtual scene has sub-object association settings. When checking whether the object targeted by the crosshairs is associated with the sub-object, it can be known whether the object targeted by the crosshairs is associated with the sub-object according to the association settings of the object targeted by the crosshairs.

[0180] In step 25 , it is determined whether all the child objects are in the grouping list. If all the child objects are in the grouping list, the process proceeds to step 26 ; if not all the child objects are in the grouping list, the process proceeds to step 27 .

[0181] In step 26, the object being aimed at is verified.

[0182] In step 27, the object targeted by the aiming point and the sub-objects not in the grouping list are checked.

[0183] In step 28, it is determined whether the layout type of the verification object is consistent with that of the objects in the grouping list. When the layout type of the verification object is consistent with that of the objects in the grouping list, the process proceeds to step 30; when the layout type of the verification object is inconsistent with that of the objects in the grouping list, the process proceeds to step 29.

[0184] It should be noted that the verification object is the object to be verified. If there are multiple verification objects, only the layout type of the parent-level object among all the objects to be added to the group is checked to see if it is consistent with the layout type of the objects in the grouping list.

[0185] In step 29, the first prompt information is returned, and the first prompt information is used to indicate the arrangement type of the objects in the grouping list.

[0186] For example, the layout types of the objects in the grouping list may be floor-standing, wall-mounted, ceiling-mounted, etc., and the first prompt information is "only floor-standing / wall-mounted / ceiling-mounted can be added to the current grouping."

[0187] In step 30, determine whether the plane where the verification object is located is consistent with the plane where the objects in the grouping list are located. When the plane where the verification object is located is consistent with the plane where the objects in the grouping list are located, proceed to step 32; when the plane where the verification object is located is inconsistent with the plane where the objects in the grouping list are located, proceed to step 31.

[0188] It should be noted that if there are multiple verification objects, only the plane where the parent-most object of all the objects to be added to the group is checked to see if it is consistent with the plane where the objects in the group list are located.

[0189] In step 31, a second prompt message is returned, and the second prompt message is used to indicate that the plane where the verification object and the objects in the grouping list are located is inconsistent.

[0190] For example, the second prompt information is "not on the same plane as other objects."

[0191] In step 32, it is determined whether the number of objects in the grouping list has reached the upper limit after the verification object is added to the grouping list. If it has not reached the upper limit, the process proceeds to step 34; if it has reached the upper limit, the process proceeds to step 33.

[0192] It should be noted that, if there are multiple verification objects, after all the objects to be added to the grouping are added to the grouping list, it is determined whether the number of objects in the grouping list reaches the upper limit.

[0193] In step 33, the third prompt information is returned, and the third prompt information is used to verify that after the object is added to the grouping list, the number of objects in the grouping list reaches the upper limit.

[0194] For example, the third prompt message is "The number exceeds the grouping limit and cannot join."

[0195] In step 34, it is verified that the object has been successfully added to the group.

[0196] In summary, the technical solution of the virtual prop interaction method provided in the embodiment of the present application provides grouping operations and performs grouping identification on objects stacked in the virtual scene. When players adjust a large number of objects, they can make batch adjustments through grouping, thereby reducing unnecessary repetitive operations and improving interaction efficiency.

[0197] So far, the virtual prop interaction method provided by the 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 the cooperation of various modules in the virtual prop interaction device 465 provided by the embodiment of the present application to implement the virtual prop interaction solution.

[0198] The display module 4651 is used to display a virtual scene and display a crosshair in the virtual scene, wherein the virtual scene includes a virtual object and a plurality of virtual props, and the crosshair is used to indicate the landing point of the virtual object for interactive operations in the virtual scene; the grouping module 4652 is used to display feedback information in the virtual scene in response to a grouping trigger operation based on the crosshair for at least one of the virtual props, wherein the feedback information is used to indicate that at least one of the virtual props has been added to the grouping; the batching module 4653 is used to control the virtual props in the grouping to batch-execute a target action corresponding to the trigger operation in response to the trigger operation for the grouping.

[0199] In some embodiments, the grouping module 4652 is further configured to display feedback information for at least one of the virtual props in the virtual scene in response to a selection operation for at least one of the virtual props based on the crosshair.

[0200] In some embodiments, the grouping module 4652 is also used to display a grouping control in the virtual scene; in response to the aiming operation of the crosshairs on at least one of the virtual props and the triggering operation on the grouping control, feedback information for at least one of the virtual props is displayed in the virtual scene.

[0201] In some embodiments, the grouping module 4652 is further configured to display feedback information for at least one of the virtual props in the virtual scene in response to the crosshairs staying on at least one of the virtual props for a set period of time.

[0202] In some embodiments, the grouping module 4652 is further used to display feedback information for at least one of the virtual props in the virtual scene in response to a selection operation based on the crosshairs on the virtual scene, wherein at least one of the virtual props is located in a selection area corresponding to the selection operation.

[0203] In some embodiments, in response to a selection operation based on the crosshairs for at least one of the virtual props, before displaying feedback information for at least one of the virtual props in the virtual scene, the grouping module 4652 is further used to display a grouping control in the virtual scene; in response to a trigger operation on the grouping control, the crosshairs is triggered to enter a selection state for at least one of the virtual props.

[0204] In some embodiments, the grouping module 4652 is further used to display an automatic grouping control in the virtual scene; in response to a triggering operation on the automatic grouping control based on the crosshairs, at least one of the virtual props is determined from the multiple virtual props, and feedback information for the at least one virtual prop is displayed in the virtual scene; wherein, at least one of the virtual props includes at least one of the following: virtual props with the same attributes among the multiple virtual props; virtual props whose grouping frequency is greater than a grouping frequency threshold; virtual props whose distance between any two virtual props among the multiple virtual props is less than a distance threshold.

[0205] In some embodiments, the grouping module 4652 is also used to display an automatic grouping control in the virtual scene; in response to a triggering operation on the automatic grouping control based on the crosshairs, at least one of the virtual props is determined from the multiple virtual props, and feedback information on the at least one virtual prop is displayed in the virtual scene; wherein, at least one of the virtual props is determined by the following processing: based on the historical grouping data of the virtual props for the current account of the virtual scene and the multiple virtual props, a neural network model is called to perform prediction processing to obtain at least one of the virtual props; the neural network model is trained through multiple virtual prop samples, historical grouping data of the account samples of the virtual scene for the multiple virtual prop samples, and virtual prop sample annotations.

[0206] In some embodiments, the grouping module 4652 is also used to display an automatic grouping control in the virtual scene; in response to a trigger operation on the automatic grouping control based on the crosshairs, multiple candidate grouping lists are displayed in the virtual scene, wherein the candidate grouping lists include at least one of the virtual props; in response to a selection operation on the candidate grouping list, feedback information on the candidate grouping list is displayed in the virtual scene; wherein the type of at least one of the virtual props in the candidate grouping list includes at least one of the following: virtual props with the same attributes among the multiple virtual props; virtual props whose grouping frequency is greater than a grouping frequency threshold; virtual props whose distance is less than a distance threshold among the multiple virtual props.

[0207] In some embodiments, the grouping module 4652 is also used to display at least one of the virtual props in the virtual scene by using display parameters that are different from those of other virtual props, wherein the other virtual props are virtual props other than at least one of the multiple virtual props, and the display parameters include at least one of the following: color, size, shape, and special effects; and display a grouping list corresponding to the grouping in the virtual scene, wherein the grouping list includes prop information corresponding to at least one of the virtual props.

[0208] In some embodiments, before displaying the feedback information in the virtual scene, the grouping module 4652 is also used to display a first prompt message in the virtual scene when the layout attributes of at least one of the virtual props are different from the layout attributes of the virtual props in the grouping, wherein the first prompt message is used to prompt that at least one of the virtual props failed to join the grouping and has different layout attributes from the virtual props in the grouping.

[0209] In some embodiments, before displaying the feedback information in the virtual scene, the grouping module 4652 is also used to display a second prompt message in the virtual scene when the plane where at least one of the virtual props is located is different from the plane where the virtual props in the group are located, wherein the second prompt message is used to prompt that at least one of the virtual props failed to join the grouping and is not in the same plane as the virtual props in the grouping.

[0210] In some embodiments, before displaying the feedback information in the virtual scene, the grouping module 4652 is also used to display a third prompt message in the virtual scene when the sum of the number of at least one of the virtual props and the number of virtual props in the grouping is greater than the upper limit of the number, wherein the third prompt message is used to prompt that at least one of the virtual props failed to join the grouping and exceeds the upper limit of the number of the grouping.

[0211] In some embodiments, after displaying feedback information in the virtual scene in response to a grouping trigger operation for at least one of the virtual props based on the crosshairs, the grouping module 4652 is further used to respond to a removal operation for a target virtual prop in the grouping, and display feedback information corresponding to the removal operation in the virtual scene, wherein the feedback information is used to represent the removal of the target virtual prop from the grouping.

[0212] In some embodiments, the grouping module 4652 is further used to display, in the virtual scene, a removal control for a target virtual prop in the grouping; and in response to a trigger operation for the removal control, display feedback information corresponding to the trigger operation in the virtual scene.

[0213] In some embodiments, the grouping module 4652 is further used to display the removal control on the target virtual prop; or, when a grouping list corresponding to the grouping is displayed in the virtual scene, the removal control is displayed in the grouping list, wherein the removal control corresponds one-to-one to the virtual props added to the grouping list.

[0214] In some embodiments, the grouping module 4652 is further configured to display a removal control for the target virtual prop in response to a removal trigger operation for the target virtual prop based on the crosshair.

[0215] In some embodiments, the batch module 4653 is also used to display at least one action control for the grouping in the virtual scene; in response to a trigger operation on the action control, the virtual props in the grouping are controlled to batch execute the target action corresponding to the action control, wherein the target action includes at least one of the following: movement, rotation.

[0216] In some embodiments, after responding to the trigger operation on the grouping and controlling the virtual props in the grouping to batch execute the target action corresponding to the trigger operation, the batch module 4653 is also used to display a re-editing control for the grouping in the virtual scene; in response to the trigger operation on the re-editing control, cancel the target action performed by the virtual props in the grouping, and continue to respond to the trigger operation on the grouping.

[0217] In some embodiments, after responding to a trigger operation on the grouping and controlling the virtual props in the grouping to batch-execute a target action corresponding to the trigger operation, the batching module 4653 is further used to display an undo control for the grouping in the virtual scene; in response to a trigger operation on the undo control, undo the target action performed by the virtual props in the grouping, and remove the virtual props added to the group.

[0218] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer program or the computer executable instruction from the computer-readable storage medium, and the processor executes the computer program or the computer executable instruction, so that the electronic device executes the virtual prop interaction method described in the embodiment of the present application.

[0219] The present application embodiment provides a computer-readable storage medium storing computer executable instructions, wherein the computer executable instructions or computer programs are stored. When the computer executable instructions or computer programs are executed by a processor, the processor will execute the virtual prop interaction method provided by the present application embodiment, for example, Figure 3A-3C The virtual prop interaction method is shown.

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

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

[0222] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0223] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0224] It is understandable that in the embodiments of the present application, related data such as user information is involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

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

Claims

1. A virtual prop interaction method, characterized in that: The method comprises: Displaying a virtual scene, and displaying a crosshair in the virtual scene, wherein the virtual scene includes a virtual object and a plurality of virtual props, and the crosshair is used to indicate a landing point of the virtual object for interactive operation in the virtual scene; In response to a grouping triggering operation for at least one of the virtual props based on the crosshairs, feedback information is displayed in the virtual scene, wherein the feedback information is used to indicate that at least one of the virtual props is added to the grouping; In response to a trigger operation on the group, the virtual props in the group are controlled to execute a target action corresponding to the trigger operation in batches.

2. The method according to claim 1, characterized in that: The step of displaying feedback information in the virtual scene in response to a grouping triggering operation on at least one of the virtual props based on the crosshairs includes: In response to a selection operation on at least one of the virtual props based on the crosshair, feedback information on at least one of the virtual props is displayed in the virtual scene.

3. The method according to claim 2, characterized in that In response to the selection operation based on the crosshair for at least one of the virtual props, displaying feedback information for at least one of the virtual props in the virtual scene includes: Displaying a grouping control in the virtual scene; In response to the aiming operation of the crosshair on at least one of the virtual props and the triggering operation on the adding grouping control, feedback information on at least one of the virtual props is displayed in the virtual scene.

4. The method according to claim 2, characterized in that: In response to the selection operation based on the crosshair for at least one of the virtual props, displaying feedback information for at least one of the virtual props in the virtual scene includes: In response to the crosshairs staying on at least one of the virtual props for a set time period, feedback information for at least one of the virtual props is displayed in the virtual scene.

5. The method according to claim 2, characterized in that: In response to the selection operation based on the crosshair for at least one of the virtual props, displaying feedback information for at least one of the virtual props in the virtual scene includes: In response to a selection operation of the virtual scene based on the crosshair, feedback information for at least one of the virtual props is displayed in the virtual scene, wherein the at least one of the virtual props is located in a selection area corresponding to the selection operation.

6. The method according to any one of claims 2 to 5, characterized in that: In response to the selection operation based on the crosshair for at least one of the virtual props, before displaying feedback information for at least one of the virtual props in the virtual scene, the method further includes: Displaying a grouping control in the virtual scene; In response to a trigger operation on the grouping control, the crosshair is triggered to enter a selection state for at least one of the virtual props.

7. The method according to claim 1, characterized in that The step of displaying feedback information in the virtual scene in response to a grouping triggering operation on at least one of the virtual props based on the crosshairs includes: Displaying an automatic grouping control in the virtual scene; In response to a triggering operation on the automatic grouping control based on the crosshair, determining at least one virtual prop from the plurality of virtual props, and displaying feedback information on the at least one virtual prop in the virtual scene; Among them, at least one of the virtual props includes at least one of the following: virtual props with the same attributes among the multiple virtual props; virtual props whose grouping frequency is greater than a grouping frequency threshold; virtual props whose distance between any two virtual props among the multiple virtual props is less than a distance threshold.

8. The method according to claim 1, characterized in that The step of displaying feedback information in the virtual scene in response to a grouping triggering operation on at least one of the virtual props based on the crosshairs includes: Displaying an automatic grouping control in the virtual scene; In response to a triggering operation on the automatic grouping control based on the crosshair, determining at least one virtual prop from the plurality of virtual props, and displaying feedback information on the at least one virtual prop in the virtual scene; Among them, at least one of the virtual props is determined by the following processing: based on the historical grouping data of the virtual props for the current account of the virtual scene and the multiple virtual props, a neural network model is called to perform prediction processing to obtain at least one of the virtual props; the neural network model is trained through multiple virtual prop samples, historical grouping data of the account samples of the virtual scene for the multiple virtual prop samples, and virtual prop sample annotations.

9. The method according to claim 1, characterized in that: The step of displaying feedback information in the virtual scene in response to a grouping triggering operation on at least one of the virtual props based on the crosshairs includes: Displaying an automatic grouping control in the virtual scene; In response to a triggering operation on the automatic grouping control based on the crosshair, a plurality of candidate grouping lists are displayed in the virtual scene, wherein the candidate grouping lists include at least one of the virtual props; In response to a selection operation on the candidate grouping list, displaying feedback information on the candidate grouping list in the virtual scene; Among them, the type of at least one of the virtual props in the candidate grouping list includes at least one of the following: virtual props with the same attributes among the multiple virtual props; virtual props whose grouping frequency is greater than a grouping frequency threshold; virtual props whose distance among the multiple virtual props is less than a distance threshold.

10. The method according to claim 1, characterized in that The displaying of feedback information in the virtual scene comprises: In the virtual scene, at least one of the virtual props is displayed by display parameters that are different from those of other virtual props, wherein the other virtual props are virtual props other than the at least one virtual prop among the plurality of virtual props, and the display parameters include at least one of the following: color, size, shape, and special effects; A grouping list corresponding to the grouping is displayed in the virtual scene, wherein the grouping list includes prop information corresponding to at least one of the virtual props.

11. The method according to any one of claims 1 to 10, characterized in that: Before displaying the feedback information in the virtual scene, the method further includes: When the layout attributes of at least one of the virtual props are different from the layout attributes of the virtual props in the group, a first prompt message is displayed in the virtual scene, wherein the first prompt message is used to prompt that at least one of the virtual props fails to join the group and has different layout attributes from the virtual props in the group.

12. The method according to any one of claims 1 to 10, characterized in that: Before displaying the feedback information in the virtual scene, the method further includes: When the plane where at least one of the virtual props is located is different from the plane where the virtual props in the group are located, a second prompt message is displayed in the virtual scene, wherein the second prompt message is used to prompt that at least one of the virtual props failed to join the group and is not in the same plane as the virtual props in the group.

13. The method according to any one of claims 1 to 10, characterized in that: Before displaying the feedback information in the virtual scene, the method further includes: When the sum of the number of at least one of the virtual props and the number of virtual props in the group is greater than the upper limit of the number, a third prompt message is displayed in the virtual scene, wherein the third prompt message is used to prompt that at least one of the virtual props has failed to join the group and exceeds the upper limit of the number of the group.

14. The method according to any one of claims 1 to 13, characterized in that: In response to the grouping triggering operation for at least one of the virtual props based on the crosshairs, after displaying feedback information in the virtual scene, the method further includes: In response to a removal operation on a target virtual prop in the grouping, feedback information corresponding to the removal operation is displayed in the virtual scene, wherein the feedback information is used to indicate that the target virtual prop is removed from the grouping.

15. The method according to claim 14, characterized in that In response to the removal operation on the target virtual prop in the group, displaying feedback information corresponding to the removal operation in the virtual scene includes: In the virtual scene, displaying a removal control for a target virtual prop in the group; In response to a trigger operation for removing the control, feedback information corresponding to the trigger operation is displayed in the virtual scene.

16. The method according to claim 15, characterized in that The displaying of a removal control for a target virtual prop in the grouping includes: displaying the removal control on the target virtual prop; or, When a grouping list corresponding to the grouping is displayed in the virtual scene, the removal control is displayed in the grouping list, wherein the removal control corresponds one-to-one to the virtual props added to the grouping list.

17. The method according to claim 15 or 16, characterized in that The displaying of a removal control for a target virtual prop in the grouping includes: In response to a removal trigger operation for the target virtual prop based on the crosshair, a removal control for the target virtual prop is displayed.

18. The method according to claim 1, characterized in that In response to the trigger operation on the grouping, controlling the virtual props in the grouping to execute the target action corresponding to the trigger operation in batches includes: Displaying at least one action control for the grouping in the virtual scene; In response to a trigger operation on the action control, the virtual props in the group are controlled to execute a target action corresponding to the action control in batches, wherein the target action includes at least one of the following: moving and rotating.

19. The method according to claim 1, characterized in that After responding to the trigger operation on the grouping and controlling the virtual props in the grouping to execute the target action corresponding to the trigger operation in batches, the method further includes: Displaying a re-editing control for the grouping in the virtual scene; In response to the trigger operation on the re-editing control, the target action performed by the virtual props in the group is canceled, and the trigger operation on the group will continue to be responded.

20. The method according to claim 1, characterized in that After responding to the trigger operation on the grouping and controlling the virtual props in the grouping to execute the target action corresponding to the trigger operation in batches, the method further includes: Displaying an undo control for the grouping in the virtual scene; In response to the triggering operation on the undo control, the target action performed by the virtual props in the group is undoed, and the virtual props added to the group are removed.

21. A virtual prop interaction device, characterized in that: The device comprises: A display module, used to display a virtual scene and display a crosshair in the virtual scene, wherein the virtual scene includes a virtual object and a plurality of virtual props, and the crosshair is used to indicate a landing point of the virtual object for interactive operation in the virtual scene; a grouping module, configured to display feedback information in the virtual scene in response to a grouping triggering operation based on the crosshairs on at least one of the virtual props, wherein the feedback information is used to indicate that at least one of the virtual props is added to the grouping; The batching module is used to control the virtual props in the group to batch-perform a target action corresponding to the triggering operation in response to the triggering operation on the grouping.

22. An electronic device, characterized in that: The electronic device comprises: Memory for storing computer programs or computer executable instructions; A processor is used to implement the virtual prop interaction method described in any one of claims 1 to 20 when executing the computer program or computer executable instructions stored in the memory.

23. A computer-readable storage medium, characterized in that: A computer program or a computer executable instruction is stored, and when the computer program or the computer executable instruction is executed by a processor, the virtual prop interaction method according to any one of claims 1 to 20 is implemented.

24. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instructions are executed by a processor, the virtual prop interaction method according to any one of claims 1 to 20 is implemented.