Interaction method, device and equipment of virtual element, storage medium and program product

By displaying recommended combinations of virtual elements and automatically determining the elements to be interacted with, the problem of cumbersome virtual element interaction operations is solved, enabling a more efficient and flexible interaction strategy and improving the user experience.

CN122097967APending Publication Date: 2026-05-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2026-03-19
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In existing technologies, the interactive operation steps of virtual elements are cumbersome, which limits the diversity and flexibility of game strategies and reduces the efficiency of interaction.

Method used

After displaying multiple virtual elements, in response to a selection operation, a recommended combination type is shown, and the virtual element to be interacted with is displayed based on a reference method. The recommended combination type is used to determine the virtual element to be interacted with, avoiding manual repeated selection and cancellation operations.

Benefits of technology

It improves operational efficiency and strategic flexibility in the interaction process of virtual elements, enriches the diversity of interaction strategies, and enhances the user's interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122097967A_ABST
    Figure CN122097967A_ABST
Patent Text Reader

Abstract

The application discloses an interaction method and device of virtual elements, equipment, a storage medium and a program product, and belongs to the technical field of computers. The method comprises the following steps: displaying a plurality of virtual elements; in response to a selection operation of a first virtual element in the plurality of virtual elements, displaying at least one recommended combination type corresponding to the first virtual element; in the case where any recommended combination type is selected, displaying a plurality of second virtual elements to be interacted based on a first reference mode, the plurality of second virtual elements being virtual elements corresponding to the selected recommended combination type, and the plurality of second virtual elements comprising the first virtual element. The application provides a plurality of recommended combination types corresponding to the first virtual element, adapts to the real-time adjustment requirement of the interaction strategy in the interaction process, enriches the diversity and flexibility of the interaction strategy, determines the second virtual elements to be interacted by using the recommended combination type, and improves the operation efficiency of the virtual element combination interaction and the interaction efficiency of the virtual elements in the interaction process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device, storage medium, and program product for interacting with virtual elements. Background Technology

[0002] With the continuous development of computer technology, the types of games are becoming increasingly diverse. In games such as board games, auto-chess, and multiplayer online tactical cooperative games, it's necessary to utilize virtual elements to interact with other virtual characters' virtual elements, other virtual characters, or virtual scenes. Generally, multiple virtual elements are needed for interaction, and determining which virtual elements to interact with directly affects the interaction experience and the outcome.

[0003] In related technologies, taking card games as an example, the virtual elements are the virtual cards held by the user. Users need to select card combinations from their virtual cards that conform to the game rules before playing. During the card combination selection process, multiple virtual cards are manually selected to form the combination to be played. If a different card combination is needed, the selected virtual cards must be canceled and new virtual cards must be selected. Manually selecting virtual cards is cumbersome, limiting the diversity and flexibility of game strategies, thus reducing interaction efficiency. Summary of the Invention

[0004] This application provides a method, apparatus, device, storage medium, and program product for interacting with virtual elements, which can improve the diversity and flexibility of game strategies, thereby improving interaction efficiency. The technical solution is as follows: On one hand, embodiments of this application provide an interaction method for virtual elements, the method comprising: Display multiple virtual elements; In response to the selection operation of the first virtual element among the plurality of virtual elements, at least one recommended combination type corresponding to the first virtual element is displayed; When any recommended combination type is selected, multiple second virtual elements to be interacted are displayed based on a first reference method. The multiple second virtual elements are virtual elements corresponding to the selected recommended combination type, and the multiple second virtual elements include the first virtual element.

[0005] On the other hand, embodiments of this application provide an interactive device for virtual elements, the device comprising: The display module is used to display multiple virtual elements; The display module is further configured to, in response to the selection operation of the first virtual element among the plurality of virtual elements, display at least one recommended combination type corresponding to the first virtual element; The display module is further configured to display a plurality of second virtual elements to be interacted with based on a first reference method when any recommended combination type is selected, wherein the plurality of second virtual elements are virtual elements corresponding to the selected recommended combination type, and the plurality of second virtual elements include the first virtual element.

[0006] In one possible implementation, each recommended combination type is associated with a reference interaction area, and the display module is further configured to display the selected recommended combination type based on a second reference method in response to an interaction operation on the first virtual element. The selected recommended combination type is determined based on the termination interaction position of the interaction operation and the reference interaction area associated with the recommended combination type.

[0007] In one possible implementation, the apparatus further includes an acquisition module and a determination module; The acquisition module is used to acquire the termination position of the interaction operation when the interaction operation ends. The determining module is configured to, when the termination interaction position is located in any reference interaction area, determine the recommended combination type corresponding to the reference interaction area including the termination interaction position as the selected recommended combination type.

[0008] In one possible implementation, the size and shape of the reference interaction area are determined based on at least one of the layout of the interactive interface, the number of recommended combination types, or the display size of the recommended combination types, and different reference interaction areas do not overlap.

[0009] In one possible implementation, the arrangement of the recommended combination types is the same as the arrangement of the reference interaction area corresponding to the recommended combination types.

[0010] In one possible implementation, the display module is further configured to display the selected recommended combination type based on a third reference method in response to a trigger operation of any recommended combination type.

[0011] In one possible implementation, the display module is further configured to display a switching control when the selected recommended combination type includes multiple first sub-combinations. The switching control is used to switch the virtual elements to be interacted with corresponding to different first sub-combinations. The multiple first sub-combinations satisfy the recommended combination type, and any two first sub-combinations have different virtual elements. In response to the triggering operation of the switching control, the virtual elements to be interacted with corresponding to the switched first sub-combination are displayed.

[0012] In one possible implementation, the display module is further configured to, when the selected recommended combination type includes multiple second sub-combinations, display multiple sub-combination controls, each sub-combination control corresponding one-to-one with a second sub-combination, the multiple second sub-combinations satisfying the recommended combination type, and any two second sub-combinations having different virtual elements; and in response to a triggering operation of any sub-combination control, display the virtual elements to be interacted included in the second sub-combination corresponding to any sub-combination control.

[0013] In one possible implementation, the display module is further configured to display a confirmation control; The device further includes an interaction module, which is used to perform an interaction operation based on the plurality of second virtual elements to be interacted in response to the triggering operation of the confirmation control.

[0014] In one possible implementation, the device further includes a determining module, configured to determine reference interaction information based on the interaction operation, the reference interaction information including at least one of the interaction direction, interaction speed, or dwell time of the interaction operation; perform preloading on multiple virtual elements corresponding to a predicted combination type, the predicted combination type being determined based on the reference interaction information; and, if the predicted combination type is the same as the selected recommended combination type, determine the multiple virtual elements corresponding to the predicted combination type as the multiple second virtual elements to be interacted with.

[0015] In one possible implementation, the apparatus further includes a determining module, which is configured to determine the priority of each recommended combination type based on historical interaction data of virtual elements when there are multiple recommended combination types; and determine a fourth reference method based on the priority of each recommended combination type. The display module is used to display the various recommended combination types based on the fourth reference method.

[0016] In one possible implementation, the apparatus further includes an acquisition module and a determination module; The acquisition module is used to acquire the attribute information and combination conditions of the first virtual element, wherein the combination conditions are used to limit whether virtual elements can be combined. The determining module is used to determine the recommended combination type based on the attribute information of the first virtual element, the plurality of virtual elements, and the combination conditions.

[0017] In one possible implementation, the apparatus further includes a determining module and an updating module; The determining module is used to determine the recommended combination type after the switch in response to the switching operation for the recommended combination type; The update module is used to update the multiple second virtual elements to be interacted with based on the switched recommended combination type.

[0018] In one possible implementation, the device further includes a determining module, which is used to determine the layout information of the recommended combination type, the layout information including the layout method and the target area, the target area being the area where the recommended combination type is displayed; The display module is used to display at least one recommended combination type corresponding to the first virtual element in the target area based on the arrangement.

[0019] In one possible implementation, the display module is further configured to, in response to an adjustment operation on the second virtual element, display the adjusted second virtual element and the adjusted selected recommended combination type, the adjusted selected recommended combination type being determined based on the adjusted second virtual element.

[0020] In one possible implementation, the virtual elements include at least one of virtual cards, virtual chess pieces, virtual skills, virtual equipment, virtual props, or virtual moves.

[0021] On the other hand, embodiments of this application provide a computer device, the computer device including a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement any of the above-described virtual element interaction methods.

[0022] On the other hand, a computer-readable storage medium is also provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to enable a computer to implement the interaction method of any of the virtual elements described above.

[0023] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-mentioned virtual element interaction methods.

[0024] The technical solution provided in this application has at least the following beneficial effects: This application displays at least one recommended combination type after selecting a first virtual element from multiple virtual elements. By providing multiple recommended combination types, it adapts to the real-time adjustment needs of the interaction strategy during the interaction process, enriching the diversity and flexibility of the interaction strategy. After any recommended combination type is selected, the second virtual element to be interacted with corresponding to the selected recommended combination type is displayed in a first reference manner, and the second virtual element contains the selected first virtual element. By using the recommended combination type to determine the second virtual element to be interacted with, the tedious operation of manually selecting, canceling, and recombining virtual elements is avoided, improving the operational efficiency of virtual element combination interaction during the interaction process, thereby improving the interaction efficiency of virtual elements. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application; Figure 2 This is a flowchart of a virtual element interaction method provided in an embodiment of this application; Figure 3 This is a schematic diagram of an interactive interface provided in an embodiment of this application, which displays at least one recommended combination type corresponding to a first virtual element; Figure 4 This is a schematic diagram of an interactive interface for displaying recommended combination types corresponding to the first virtual card, provided in an embodiment of this application. Figure 5 This is a schematic diagram of an interactive interface including a reference interactive area associated with recommended combination types, provided in an embodiment of this application; Figure 6 This is a schematic diagram of an interactive interface that displays the selected recommended combination type based on a second reference method, according to an embodiment of this application. Figure 7 This is a schematic diagram of another interactive interface for displaying the selected recommended combination type based on a second reference method, provided in an embodiment of this application. Figure 8 This is a schematic diagram of an interactive interface that displays the updated selected recommended combination type based on a second reference method, according to an embodiment of this application. Figure 9 This is a schematic diagram of an interactive interface for displaying the selected recommended combination type based on a third reference method, provided in an embodiment of this application. Figure 10This is a schematic diagram of an interactive interface that displays the selected recommended combination type based on a vertical arrangement, according to an embodiment of this application. Figure 11 This is a schematic diagram of an interactive interface that displays the updated selected recommended combination type based on a vertical arrangement, according to an embodiment of this application. Figure 12 This is a schematic diagram of an interactive interface for displaying switching controls based on a sliding method, provided in an embodiment of this application; Figure 13 This is a schematic diagram of an interactive interface for displaying switching controls based on a click method, provided in an embodiment of this application; Figure 14 This is a schematic diagram of an interactive interface for displaying sub-combination controls based on a sliding method, provided in an embodiment of this application; Figure 15 This is a schematic diagram of an interactive interface for displaying sub-combination controls based on a click method, provided in an embodiment of this application; Figure 16 This is a schematic diagram of an interactive interface provided in an embodiment of this application, illustrating the interactive process of performing interactive operations on multiple second virtual elements to be interacted with based on a confirmation control. Figure 17 This is a flowchart of another virtual element interaction method provided in an embodiment of this application; Figure 18 This is a schematic diagram of the structure of an interactive device for virtual elements provided in an embodiment of this application; Figure 19 This is a structural block diagram of a terminal device provided in an embodiment of this application; Figure 20 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0028] It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0029] Before introducing the technical solution of this application, the abbreviations and key terms involved in the embodiments of this application will be defined.

[0030] Virtual elements: These are display elements in a virtual scene that users can select, combine, and interact with. These virtual elements can be virtual cards, virtual props, virtual controls, virtual icons, virtual items, etc. Users can interact with virtual elements through clicking, long-pressing, swiping, touching, and other interactive methods. Each virtual element is presented as an independent unit on the terminal interface and can be selected individually or combined with other virtual elements.

[0031] Selection operation: Also known as trigger operation, selection operation can be performed through at least one of the following methods: touch operation, interaction with external control devices, voice command interaction, or gesture interaction. Touch operation can include operations performed via a touchscreen (e.g., a mobile phone, tablet, or other terminal device), such as selecting a target virtual element. Interaction with external control devices can include operations performed via external control devices (e.g., a keyboard, mouse, game controller, etc.), such as a user using keyboard input, a mouse, or a game controller to select a virtual element to trigger a combination type display. Voice command interaction can include selecting a virtual element via voice commands, such as a user selecting a target virtual element via voice commands to execute subsequent combination interactions. Gesture interaction can include selecting a virtual element via gestures (e.g., click gestures, long press gestures, swipe gestures, etc.).

[0032] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application. The computer system includes a terminal device 101 and a server 102. The terminal device 101 has a client installed and running, and the client has an account logged in for a first object (user) 103. That is to say, the terminal device 101 is the terminal device used by the first object 103.

[0033] For example, the client of terminal device 101 is a client capable of providing virtual elements. The client includes, but is not limited to, chess and card game clients, auto chess game clients, open-world game clients, multiplayer online battle arena (MOBA) game clients, massively multiplayer online role-playing game (MMOPGG) clients, first-person shooter (FPS) game clients, third-person shooter (TPS) game clients, multiplayer shooting survival game clients, action role-playing game (ARPG) clients, virtual reality (VR) clients, augmented reality (AR) clients, 3D map clients, map simulation clients, social clients, interactive entertainment clients, etc.

[0034] Server 102 provides background services for the client installed on terminal device 101. In one possible implementation, server 102 undertakes the main computing work, and terminal device 101 undertakes the secondary computing work. Alternatively, server 102 undertakes the secondary computing work, and terminal device 101 undertakes the main computing work. Or, terminal device 101 and server 102 collaborate on computing using a distributed computing architecture.

[0035] Optionally, the terminal device 101 can be any electronic device product capable of human-computer interaction with the user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. For example, the terminal device can be a smartphone, tablet computer, laptop computer, desktop computer, smartwatch, PC (Personal Computer), mobile phone, PDA (Personal Digital Assistant), wearable device, PPC (Pocket PC), smart car system, smart TV, etc.

[0036] Terminal device 101 can refer to one of a plurality of terminal devices, or it can refer to a plurality of terminal devices. The number of terminals is not limited in this embodiment. Server 102 can be a single server, a server cluster consisting of multiple servers, or any of a cloud computing platform and a virtualization center. The number of terminals is not limited in this embodiment.

[0037] In one embodiment, after user 103 logs into user 103's account on terminal device 101, an interactive interface for the game process is displayed on terminal device 101, showing multiple virtual elements 104. These multiple virtual elements 104 represent all virtual elements currently held by the user that can be used for interaction (e.g., virtual cards currently held by the user). When terminal device 101 detects a selection operation of any first virtual element among the multiple virtual elements 104, it sends a combination type query request to server 102. This request includes the identification information of the first virtual element, the current user's account identifier, and the current game scene identifier. The identification information of the first virtual element uniquely identifies the selected virtual element itself, the user's account identifier is used by server 102 to associate the user's current game data, and the game scene identifier is used by server 102 to match the combination rules corresponding to the current game.

[0038] After receiving the combination type query request sent by the terminal device 101, the server 102 parses the parameters in the combination type query request and extracts the identification information of the first virtual element, the user account identifier, and the game scene identifier. Based on the parsed identification information of the first virtual element, the server 102 queries the attribute information of the first virtual element (such as the type, level, and value of the virtual element, and the card points and suits in the corresponding virtual card scene). Based on the game scene identifier, the server 102 calls the preset combination type rules corresponding to the current game (i.e., the legal combination types that are allowed to be formed by virtual elements in the game). Combining the attribute information of the first virtual element and the preset combination type rules, the server 102 filters out the recommended combination types 105 that the first virtual element can legally form. Each recommended combination type 105 can be associated with a group of virtual elements, which includes the first virtual element. During the filtering process, combination types that do not conform to the game rules and cannot be formed by the first virtual element are excluded, ensuring that each recommended combination type meets the requirements of the current game and contains the first virtual element.

[0039] After determining the recommended combination type 105, server 102 sends the recommended combination type 105 and the information of the virtual elements associated with it to terminal device 101. After receiving the recommended combination type 105 and the information of the virtual elements associated with it, terminal device 101 displays the recommended combination type 105 in the interactive interface.

[0040] After the terminal device 101 detects that the user has selected any of the recommended combination types in the recommended combination type 105, it determines multiple virtual elements based on the information of the virtual elements associated with the recommended combination type 105, namely multiple second virtual elements 106 to be interacted with, and displays the second virtual elements 106 in the interactive interface in a first reference manner.

[0041] Those skilled in the art should understand that the terminal device 101 and server 102 described above are merely illustrative examples. Other existing or future terminal devices or servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.

[0042] The virtual element interaction method provided in this application embodiment can be applied to the above. Figure 1 The computer system shown, for example, the method can be derived from... Figure 1 The method can be executed by terminal device 101, or it can be executed interactively by terminal device 101 and server 102. Taking the execution of this method by terminal device 101 as an example, such as... Figure 2 As shown, the method includes the following steps 201 to 203.

[0043] In step 201, multiple virtual elements are displayed.

[0044] In the exemplary embodiments of this application, a game application (client) is installed and runs on the terminal device. The game application can provide a game process. The game application can be an application that requires downloading and installation, or it can be an embedded program that depends on a host program to run. An embedded program is an application developed based on a programming language and depends on a host program to run. Embedded programs do not require downloading and installation; they only need to be dynamically loaded into the host program to run, such as applets. This embodiment of the application does not limit the source of the game application.

[0045] After logging into the first user's account in the game application (client) and receiving the game application's launch command, the interactive interface for the first user's matchmaking process is displayed. The first user refers to the user (player) who logs into the game application and initiates a match; they are the main participant in the game match process. The first user can perform interactive operations on virtual elements through their terminal device.

[0046] Virtual elements refer to elements within a game application's virtual environment that the first user can select. These elements can take various forms, including but not limited to virtual cards, virtual props, virtual icons, and virtual items. Each virtual element is presented as an independent unit on the terminal device's interface, possessing unique identification information and corresponding attribute information. It can be selected individually by the first user or combined with other virtual elements to form a combination that conforms to the game rules.

[0047] Virtual elements can possess attribute information. Attribute information refers to information used to characterize the properties, functions, or states of a virtual element, distinguishing different virtual elements and determining the types of combinations that can be formed from them. Attribute information includes, but is not limited to, numerical information, category information, functional information, and state information. Among these, numerical information reflects the strength or degree of effect of a virtual element, category information distinguishes the type of virtual element, functional information clarifies the interaction of virtual elements, and state information reflects the current usability of a virtual element.

[0048] Virtual elements include at least one of the following: virtual cards, virtual pieces, virtual skills, virtual equipment, virtual items, or virtual moves. Game applications displaying virtual elements may include, but are not limited to, the following game types: Type 1: Virtual board and card games.

[0049] In virtual card and board games, virtual elements refer to the virtual cards held by the first user during the game. Virtual cards have specific attributes (such as rank, suit, and card type), and each virtual card has a unique identifier to distinguish it from others. Virtual card and board games can include games like Dou Dizhu, Mahjong, and Poker.

[0050] Type Two: Auto Chess Games.

[0051] In auto chess games, virtual elements refer to the virtual pieces (also known as hero pieces) that the first user acquires and deploys during the game. Each virtual piece has unique attributes (such as attack power, health points, skill effects, faction, etc.).

[0052] Type 3: Multiplayer online tactical cooperative games (MOBA games).

[0053] In MOBA games, virtual elements refer to virtual skills, virtual equipment, virtual items, etc., that can be used by the virtual character controlled by the first user. Each virtual element has corresponding functional attributes (such as skill damage, equipment bonuses, item effects, etc.).

[0054] Type 4: Action fighting games.

[0055] In action fighting games, virtual elements refer to virtual moves, virtual attack items, virtual shields, virtual buff items, etc., that can be used by the virtual fighting character controlled by the first user. Each virtual element has corresponding attribute information (such as move damage, attack power, shield defense value, buff bonus effect, and cooldown time).

[0056] The virtual elements in this application include at least one of virtual cards, virtual chess pieces, virtual skills, virtual equipment, virtual props, and virtual moves. They can adapt to the needs of different virtual interaction scenarios and various virtual application scenarios (such as card games, chess games, role-playing games, etc.), thereby enhancing the adaptability and practicality of virtual elements and reducing the difficulty of adaptation development in different scenarios.

[0057] In step 202, in response to the selection operation of the first virtual element among a plurality of virtual elements, at least one recommended combination type corresponding to the first virtual element is displayed.

[0058] In the exemplary embodiments of this application, the selection operation of the first virtual element includes, but is not limited to, single-click, double-click, long-press, and hover operations on the first virtual element among multiple virtual elements. The number of selected first virtual elements can be one or more.

[0059] Recommended combination types refer to the categories of valid virtual element combinations that can be formed by the first virtual element, selected based on the game's preset combination rules and the attributes of the first virtual element itself. Recommended combination types include, but are not limited to, fixed card combinations, faction synergy combinations, skill combo combinations, equipment set combinations, and buff combinations, which are adapted to different game scenarios. Each combination type can correspond to exclusive game effects, such as triggering attribute bonuses or releasing virtual skills.

[0060] After determining the first selected virtual element, the process of determining the recommended combination type based on the first virtual element includes, but is not limited to: obtaining the attribute information and combination conditions of the first virtual element, whereby the combination conditions are used to limit whether virtual elements can be combined; and performing a matching operation on the attribute information and combination conditions of the first virtual element to obtain the recommended combination type that meets the combination conditions. The combination conditions can also be referred to as combination rules.

[0061] After the first virtual element is selected, a unique identifier (IdentityDocument, ID) for the first virtual element is determined. The virtual element attribute database is queried through the identifier to obtain all attribute information corresponding to the first virtual element. Furthermore, the preset combination rules (combination conditions) of the currently running game application are invoked. The combination rules are pre-stored in the terminal device and are adapted to the current game type and game scenario. During the invocation process, the appropriate combination rules can be selected according to the current game stage and game mode.

[0062] The acquired attribute information of the first virtual element is compared and matched one by one with the invoked combination rules. Based on the attribute requirements, quantity requirements, and combination logic specified in the combination rules for each type of valid combination, all combination types that can be formed using the first virtual element are selected, while invalid combination types that cannot be formed using the first virtual element or do not conform to the combination rules are excluded. If multiple first virtual elements are selected, the attribute information of all first virtual elements is combined and matched with the combination rules to ensure that the selected combination types all contain all selected first virtual elements. The selected combination types are then organized and verified, and duplicate and invalid combination types are removed to obtain at least one recommended combination type corresponding to the first virtual element.

[0063] This application embodiment obtains the attribute information and corresponding combination conditions of the first virtual element, and matches the attribute information with the combination conditions. It can automatically filter out recommended combination types that are composed of the first virtual element and meet the combination conditions. Users do not need to manually memorize or query the combination rules, which reduces the user's operation difficulty and cognitive burden, ensures the legality, accuracy and practicality of the recommended combination types, avoids pushing unusable or redundant combination types to users, improves the applicability and reliability of virtual element combination recommendations, and thus improves the user's operation efficiency and user experience in the process of virtual element interaction.

[0064] After determining the recommended combination type, it is displayed in the interactive interface. For example, the recommended combination type is displayed in the associated area of ​​the first virtual element in the interactive interface. The associated area of ​​the first virtual element refers to the display area in the interactive interface that has a positional, visual, or logical association with the first virtual element. Positional association refers to the adjacent area, outer area, or floating coverage area of ​​the first virtual element in the interactive interface; visual association refers to the associated display area that uses the same color scheme, border style, or logo style as the first virtual element; logical association can be a preset quick operation area based on the display position of the first virtual element.

[0065] For example, the associated areas of the first virtual element include, but are not limited to, the area above, below, left, and right of the first virtual element, the outer area of ​​the first virtual element, and the floating display area of ​​the first virtual element. It should be noted that the display position of the recommended combination type on the interactive interface is illustrative only and can be adjusted based on the actual game layout; this application does not impose any limitations on this.

[0066] Let's take virtual card and board games as an example. Figure 3 This is a schematic diagram of an interactive interface provided in an embodiment of this application, displaying at least one recommended combination type corresponding to a first virtual element. For example... Figure 3As shown, the interactive interface displays multiple virtual cards 301, namely virtual cards a to g. After any virtual card in the virtual card 301 (e.g., virtual card g) is selected, the recommended combination type 302 corresponding to the selected virtual card is displayed.

[0067] Let's take the virtual card game (Dou Dizhu) as an example for explanation. Figure 4 This is a schematic diagram of an interactive interface provided in an embodiment of this application, displaying recommended combination types corresponding to the first virtual card. For example... Figure 4 As shown, the interactive interface displays multiple virtual cards 401, which represent the hand currently held by the first user. When any virtual card (e.g., the 4 of Diamonds) is selected, the recommended combination type 402 corresponding to the 4 of Diamonds is displayed. The recommended combination type 402 includes, but is not limited to, pairs, three-of-a-kind with one extra card, three-of-a-kind with two extra cards, straight flushes, and straight flushes with wings.

[0068] In an exemplary embodiment of this application, when there are multiple recommended combination types, the priority of each recommended combination type is determined based on the historical interaction data of the virtual elements; a fourth reference mode is determined based on the priority of each recommended combination type; and each recommended combination type is displayed based on the fourth reference mode.

[0069] For example, the historical interaction data of virtual elements refers to the data corresponding to the virtual elements that the first user has already interacted with during the interaction process. The historical interaction data of virtual elements includes, but is not limited to, the virtual elements owned by the first user, the virtual elements used by the first user, and the virtual elements used by other users who participated in the interaction.

[0070] After determining the first virtual element, multiple recommended combination types corresponding to the first virtual element are determined. For example, combining the virtual elements already used by the first user and the virtual elements already used by other users participating in the interaction, a comprehensive analysis is conducted on the current interaction situation (e.g., game progress, advantages and disadvantages, interaction goals, etc.) and the distribution of remaining available virtual elements. Then, based on the number of virtual element combinations that can form each recommended combination type, the degree of adaptation to the current game situation, and the rationality of the distribution of remaining available virtual elements, the recommended combination types are prioritized. Recommended combination types with a more sufficient number of virtual element combinations and a higher degree of adaptation to the current game situation will be given higher priority, thus completing the priority ranking of all recommended combination types.

[0071] The fourth reference method is a visual display method used to intuitively distinguish the priority differences of various recommended combination types in the interactive interface. This fourth reference method includes, but is not limited to, color display, bold border display, special identifier display, size scaling display, and dynamic effect display.

[0072] Let's take the fourth reference method as an example to illustrate the color display method. For high-priority recommended combination types, the background color of the recommended combination type can be green; for medium-priority recommended combination types, the background color of the recommended combination type can be yellow; and for low-priority recommended combination types, the background color of the recommended combination type can be red.

[0073] After determining the priority of each recommended combination type, the fourth reference method corresponding to each recommended combination type is obtained, and each recommended combination type is displayed in the interactive interface using the corresponding fourth reference method.

[0074] This application embodiment can objectively obtain the priority of each recommendation combination type based on the historical interaction data of virtual elements, ensuring that the priority of the recommendation combination type matches the user's interaction behavior; by determining the corresponding fourth reference method through the priority, the fourth reference method can be made to correspond one-to-one with the priority of each recommendation combination type; by displaying each recommendation combination type based on the fourth reference method, the priority differences of each recommendation combination type can be intuitively distinguished in the interactive interface, enabling users to quickly perceive the importance of different recommendation combination types and improve the recognition efficiency and interactive operation efficiency of recommendation combination types.

[0075] In step 203, when any recommended combination type is selected, multiple second virtual elements to be interacted with are displayed based on the first reference method. The multiple second virtual elements are virtual elements corresponding to the selected recommended combination type, and the multiple second virtual elements include the first virtual element.

[0076] In the exemplary embodiments of this application, the selection operation of any recommended combination type includes, but is not limited to, a single click operation, a double click operation, a swipe operation, and a long press operation for a recommended combination type in at least one recommended combination type.

[0077] After determining the selected recommended combination type, the selected recommended combination type can be displayed separately. The displayed selected recommended combination type includes, but is not limited to, Case 1 and Case 2.

[0078] In scenario one, any recommended combination type is associated with a reference interaction area. In response to an interaction operation on the first virtual element, the selected recommended combination type is displayed based on a second reference method. The selected recommended combination type is determined based on the termination position of the interaction operation and the reference interaction area associated with the recommended combination type.

[0079] For example, a reference interaction area refers to an area in the interactive interface pre-allocated for each recommended combination type to receive the first user interaction operation, with each reference interaction area corresponding one-to-one with a recommended combination type. The size and shape of the reference interaction area are determined based on at least one of the layout of the interactive interface, the number of recommended combination types, or the display size of the recommended combination types, and different reference interaction areas do not overlap. Different reference interaction areas can be set adjacently or with intervals. For example, a reference interaction area can be a rectangular area, a circular area, a rounded rectangle area, or an irregular touch area.

[0080] In one embodiment, different interactive interfaces (e.g., portrait screen on mobile devices, landscape screen on tablets, and desktop interfaces) have different sizes and control distributions. The reference interactive area needs to adapt to the interface layout to ensure that it can be fully displayed without obstructing other interactive controls. For example, in a portrait interactive interface, the reference interactive area can adopt a vertical strip layout to adapt to the interface width; in a landscape interactive interface, a horizontal block layout can be adopted to make full use of the horizontal space of the interface.

[0081] In another embodiment, when there are many recommended combination types, the size of a single reference interaction area should be reasonably reduced to ensure that all reference interaction areas can be fully arranged within the interaction interface with appropriate spacing, making it easy for users to distinguish and operate. When there are few recommended combination types, the size of a single reference interaction area can be appropriately increased to improve the fault tolerance rate of user clicks, swipes and other interactive operations and reduce misoperations.

[0082] In another embodiment, the size and shape of the reference interaction area must match the display size of the corresponding recommended combination type. For example, if the recommended combination type is displayed as a square icon, its associated reference interaction area can be set to a square with a size similar to the icon; if the recommended combination type is displayed as a long strip label, the reference interaction area is set to a long strip shape accordingly. This ensures that user interactions with the recommended combination type (such as clicking or dragging to terminate) can accurately act on the corresponding reference interaction area, improving the accuracy of the interaction response.

[0083] Optionally, the layout of the recommended combination type is the same as the layout of the corresponding reference interaction area. When the recommended combination type is displayed in the interactive interface using a horizontal layout, a vertical layout, or other preset layout, the reference interaction area associated with the recommended combination type is also set using the same layout.

[0084] For example, when the recommended combination types are arranged horizontally in sequence, the reference interaction areas corresponding to each recommended combination type are also arranged horizontally simultaneously, and the relative position of each recommended combination type and its reference interaction area remains fixed.

[0085] The recommended combination type and the reference interaction area in this application embodiment adopt the same layout, which enables users to clearly perceive the correspondence between the recommended combination type and the reference interaction area, reduces the user's understanding cost of interaction operation, and avoids operation confusion caused by inconsistent layout.

[0086] Figure 5 This is a schematic diagram of an interactive interface including a reference interactive area associated with recommended combination types, provided in an embodiment of this application. For example... Figure 5 As shown, the interactive interface can display multiple recommended combination types 501, including combinations A through E. Each recommended combination type 501 is associated with a corresponding reference interactive area 502. The reference interactive area 502 is a rectangular interactive area with the same width as the display area of ​​the corresponding recommended combination type. For example, for recommended combination type 501, which is combination D, the corresponding reference interactive area is the area within the dashed box.

[0087] The interactive operation of the first virtual element refers to a continuous interactive action initiated by the first user on the first virtual element, which has a starting interaction position and an ending interaction position. For example, the interactive operation of the first virtual element is a swipe operation with the display position of the first virtual element as the starting interaction position. After initiating the swipe operation, the first user can swipe in any direction on the interactive interface. During the swipe, the interaction position is updated in real time until the user ends the swipe operation, at which point the ending interaction position is obtained.

[0088] The selected recommended combination type is determined based on the termination position of the interactive operation and the reference interaction area associated with the recommended combination type. The process of determining the selected recommended combination type includes, but is not limited to: obtaining the termination position of the interactive operation when the interactive operation ends; and determining the recommended combination type corresponding to the reference interaction area including the termination position as the selected recommended combination type when the termination position is located within any reference interaction area.

[0089] In an exemplary embodiment of this application, when the terminal device detects that the first user's interaction operation has terminated, it obtains the coordinate information of the terminated interaction location in the interaction interface and compares the coordinate information with the coordinate range of each pre-configured reference interaction area. If the coordinates of the terminated interaction location fall within the coordinate range of a certain reference interaction area, it is determined that the reference interaction area has been effectively triggered, and the recommended combination type bound to the reference interaction area is determined as the recommended combination type finally selected by the first user; if the coordinates of the terminated interaction location do not fall within the coordinate range of any reference interaction area, it is determined that the selection operation is invalid, and the terminal device displays a prompt message in the interaction interface to guide the first user to re-execute the interaction operation.

[0090] It should be noted that the interactive interface may or may not display the various reference interactive areas. Whether or not the various reference interactive areas are displayed can be set based on user needs, and this application does not impose any restrictions on this.

[0091] This application embodiment obtains the termination interaction position when the interactive operation ends, and matches the termination interaction position with the reference interaction area associated with each recommended combination type. This can quickly and intuitively determine the recommended combination type that the user intends to select. The selection of the recommended combination type can be completed through simple interactive actions such as swiping, which improves the convenience and efficiency of the user's operation in the process of virtual element combination interaction.

[0092] For example, after determining the selected recommended combination type, the selected recommended combination type can be displayed in the interactive interface based on the second reference method.

[0093] The second reference method refers to a display method used to visually distinguish the selected recommended combination type from other unselected recommended combination types, clearly indicating the currently selected recommended combination type to the user through visual differences. The second reference method includes, but is not limited to, highlighting, shadowing, border highlighting, color filling, bolding, and dynamic blinking. It should be noted that the second reference method described in this application is illustrative, and the second reference method can be set based on the actual interaction process; this application does not impose any limitations on it.

[0094] Let's take the swipe gesture as an example for explanation. Figure 6 This is a schematic diagram of an interactive interface for displaying the selected recommended combination type based on a second reference method, provided in an embodiment of this application. For example... Figure 6 As shown, the interactive interface can display multiple virtual elements 601, including virtual elements a through g. When any virtual element (e.g., virtual element g) is selected, multiple recommended combination types 603 corresponding to virtual element g can be displayed. Recommended combination types 603 include combinations A through E. Each recommended combination type 603 corresponds to a reference interactive area 604.

[0095] Taking a swipe operation as an example, the first user initiates a swipe operation on the virtual element g. The starting position of the swipe operation is the display position of the virtual element g. The ending interaction position of the swipe trajectory 602 is shown by the arrow (the display position of the virtual element d). The ending interaction position falls within the reference interaction area 604 corresponding to combination A. Therefore, combination A is determined as the recommended combination type. Combination A is displayed in a shadow mode in the interactive interface.

[0096] Figure 7This is a schematic diagram of an interactive interface providing another method for displaying the selected recommended combination type based on a second reference mode, as provided in an embodiment of this application. Figure 7 As shown, the first user initiates a swipe operation on virtual element 701 (virtual element g). The swipe path 702 is diagonally directed directly to the reference interaction area 703 corresponding to combination A. The interaction ends within the reference interaction area of ​​combination A, therefore combination A is determined as the recommended combination type. Combination A is displayed in a shadow mode in the interactive interface.

[0097] This application embodiment associates each recommended combination type with a corresponding reference interaction area, and displays the selected recommended combination type in a second reference manner based on the matching result between the termination position of the interaction operation on the first virtual element and the reference interaction area. This can intuitively and efficiently respond to the user's selection intent. While ensuring the accuracy of the selection operation, it clearly prompts the user with the selected recommended combination type through visual differences, thereby improving the convenience and smoothness of the virtual element combination interaction process.

[0098] Optionally, if the first virtual element is updated—that is, the first user reselects a different first virtual interactive element from among multiple virtual interactive elements—the recommended combination type is re-determined based on the updated first virtual element, and the updated recommended combination type is displayed on the interactive interface. The process of determining the updated recommended combination type is similar to the process of determining the recommended combination type itself, and will not be described in detail here.

[0099] Figure 8 This is a schematic diagram of an interactive interface provided in this application embodiment, showing the updated selected recommended combination type based on a second reference method. For example... Figure 8 As shown, after the first user reselects the first virtual element 801 (e.g., virtual card d), the interactive interface displays the updated recommended combination type 803 corresponding to the reselected first virtual element 801, namely combinations C to E. The sliding path 802 of the first user's reselection of the first virtual element 801 is detected. Based on the ending interaction position of the sliding path 802, as indicated by the arrow (the display position of virtual element f), the ending interaction position falls within the reference interaction area corresponding to combination D. Therefore, combination D is determined as the updated recommended combination type. Combination D is displayed in a shaded manner in the interactive interface.

[0100] Scenario 2: In response to a trigger operation for any recommended combination type, the selected recommended combination type is displayed based on a third reference method.

[0101] In the exemplary embodiments of this application, the triggering operation for any recommended combination type includes, but is not limited to, a single-click operation, a double-click operation, a long-press operation, and a hover operation for the recommended combination type. Here, the recommended combination type refers to an interactive control displayed in the interface, with each control corresponding one-to-one to a recommended combination type.

[0102] For example, when the first user performs a click operation on any recommended combination type (e.g., airplane with wings control), the recommended combination type selected by the first user is determined, and the selected recommended combination type is obtained; the selected recommended combination type is displayed differently based on the third reference method.

[0103] The third reference display method can be the same as or different from the second reference display method. The third reference method includes, but is not limited to, highlight display method, shadow display method, border highlight display method, color fill display method, bold font display method, and dynamic blinking display method.

[0104] Let's take a click operation as an example to illustrate the triggering action for any of the recommended combination types. Figure 9 This is a schematic diagram of an interactive interface for displaying the selected recommended combination type based on a third reference method, provided in an embodiment of this application. For example... Figure 9 As shown, the interactive interface displays multiple virtual cards 901, namely virtual cards a to g. When any virtual card among the virtual cards 901 (e.g., virtual card g) is selected, the recommended combination type 902 corresponding to the selected virtual card is displayed. Upon detecting a click operation on any recommended combination type 902, the clicked recommended combination type 902 is determined as the selected recommended combination class 903, and the selected recommended combination class 903 is displayed in a third reference mode (shadow display mode).

[0105] This application embodiment simplifies the user's operation process for selecting recommended combination types by directly responding to the trigger operation of the recommended combination type and displaying the selected recommended combination type in a third reference manner, thereby improving the interaction response speed. Furthermore, it clearly prompts the user with the selected recommended combination type through visual differentiation, thus improving the intuitiveness and accuracy of the selection operation.

[0106] In an exemplary embodiment of this application, before displaying the plurality of second virtual elements to be interacted based on the first reference mode, the plurality of second virtual elements to be interacted may be determined. The process of determining the plurality of second virtual elements to be interacted includes, but is not limited to, steps A1 to A3.

[0107] In step A1, reference interaction information is determined based on the interaction operation. The reference interaction information includes at least one of the interaction direction, interaction speed, or dwell time of the interaction operation.

[0108] For example, during the interactive operation, reference interaction information corresponding to the interactive operation is acquired in real time. This reference interaction information includes, but is not limited to, interaction direction, interaction speed, and dwell time. Interaction direction refers to the direction of movement when the user performs the interactive operation, such as from left to right, from right to left, from top to bottom, or from bottom to top in a swipe operation; interaction speed refers to the distance the user moves per unit time when performing the interactive operation, reflecting the speed of the interactive operation; dwell time refers to the length of time the user's interactive operation remains stationary within a certain virtual element or area.

[0109] For example, if the interaction is a swipe, the user swipes from the first virtual element (e.g., virtual card b) to the right. The interaction direction is from left to right. The distance and time taken during the swipe are recorded in real-time to calculate the interaction speed. If the user briefly stops at a certain interaction point during the swipe, that stopping time is the dwell time. In step A2, preloading is performed on multiple virtual elements corresponding to the predicted combination type, and the predicted combination type is determined based on the reference interaction information.

[0110] In the exemplary embodiments of this application, after determining the reference interaction information, the predicted combination type is determined based on the reference interaction information. By combining the reference interaction information acquired in real time, the user's interaction intent is analyzed, and then the most likely recommended combination type chosen by the user is selected from multiple recommended combination types, and this recommended combination type is determined as the predicted combination type.

[0111] The interaction direction corresponds to the recommended combination type in a specific area. For example, swiping right corresponds to the recommended combination type in the area to the right of the starting interaction position. The interaction speed reflects the clarity of the user's selection intent. For example, a slower speed may indicate that the user is hesitant to make a selection; this can be further judged in conjunction with the dwell time. The longer the dwell time, the higher the user's attention to the recommended combination type corresponding to that area, and the more likely they are to identify the recommended combination type corresponding to that area as the predicted combination type.

[0112] After determining the predicted combination type, preloading is performed on multiple virtual elements corresponding to the predicted combination type. The terminal device obtains the resource files (e.g., display materials of virtual elements) of all virtual elements corresponding to the predicted combination type in advance, loads the resource files into the cache, completes the advance preparation of resources, avoids loading delays and stuttering when these virtual elements need to be displayed later, and ensures that the virtual elements can be displayed quickly and smoothly.

[0113] In step A3, if the predicted combination type is the same as the selected recommended combination type, multiple virtual elements corresponding to the predicted combination type are identified as multiple second virtual elements to be interacted with.

[0114] For example, after the interaction ends, the recommended combination type finally determined by the user is taken as the selected recommended combination type. The selected recommended combination type is compared with the predicted combination type. If they are the same recommended combination type, the multiple virtual elements corresponding to the preloaded predicted combination type are directly determined as the multiple second virtual elements to be interacted with. If they are different, the preloaded virtual element resources are discarded, and the multiple virtual elements corresponding to the selected recommended combination type are re-acquired and determined as the multiple second virtual elements to be interacted with.

[0115] This application embodiment determines reference interaction information, including at least one of interaction direction, interaction speed, or dwell time, through interactive operations. This accurately determines the user's interaction intent and provides a basis for subsequent prediction of combination types. By determining the predicted combination type through the reference interaction information and preloading multiple virtual elements corresponding to the predicted combination type, the loading preparation of virtual element resources is completed in advance, avoiding stuttering and delay during subsequent display and improving interaction smoothness. When the predicted combination type is the same as the selected recommended combination type, multiple virtual elements corresponding to the predicted combination type are identified as multiple second virtual elements to be interacted with. This enables the rapid identification of multiple second virtual elements to be interacted with, shortening user waiting time. Furthermore, combined with the accurate judgment of the reference interaction information, invalid loading is reduced, improving interaction efficiency.

[0116] Optionally, before displaying at least one recommended combination type corresponding to the first virtual element, the layout information of the recommended combination type can be determined. The layout information includes the layout method and the target area. The layout method includes a horizontal layout or a vertical layout, and the target area is the area where the recommended combination type is displayed. Then, based on the layout method, at least one recommended combination type corresponding to the first virtual element is displayed in the target area.

[0117] In one embodiment, the layout is horizontal, meaning multiple recommended combination types are displayed horizontally in the interactive interface. For example, the associated area for each recommended combination type is the area above or below the first virtual element display area, and the recommended combination types are arranged adjacently horizontally to form a row of interactive combination types. The horizontal layout method has already been implemented... Figures 3 to 9 Examples are given below, and will not be repeated here.

[0118] In another embodiment, the arrangement is vertical, meaning that multiple recommended combination types are displayed vertically in the interactive interface. For example, the associated area for each recommended combination type is the upper, left, or right area of ​​the first virtual element display area, and the recommended combination types are arranged sequentially adjacent to each other along the vertical direction to form a column of interactive combination types.

[0119] The target area, as a designated area specifically for displaying recommended combination types, needs to be determined comprehensively based on the overall layout of the interactive interface, the display position of the first virtual element, and user interaction habits. This ensures that the target area does not obscure other core controls in the interactive interface (such as the display area of ​​virtual elements, the display area of ​​confirmation controls, the display area of ​​switching controls, etc.), while also facilitating users to quickly locate and operate the recommended combination types.

[0120] Figure 10 This is a schematic diagram of an interactive interface that displays the selected recommended combination type based on a vertical arrangement, according to an embodiment of this application. Figure 10 As shown, after the first user selects the first virtual element 1001 (e.g., virtual element g), the associated area above virtual element g in the interactive interface displays multiple recommended combination types 1002 (combination A to combination E) corresponding to the virtual element in a vertical arrangement. These recommended combination types are arranged adjacent to each other vertically, forming a column of interactive recommended combination types. When the first user's selection operation on a recommended combination type is detected (e.g., sliding from the display position of virtual element g to combination B), combination B is identified as the selected recommended combination type. Combination B is displayed in a shaded manner in the interactive interface, and the corresponding virtual element to be interacted with for combination B is simultaneously displayed in the interactive interface.

[0121] This application embodiment, by pre-determining the layout information of recommended combination types (including layout method and target area), and displaying the recommended combination types in a standardized manner in the target area based on the layout method, makes the display of recommended combination types more regular and standardized, avoiding problems such as chaotic layout and obscuring core controls, and improving the cleanliness and visual harmony of the interactive interface; the layout method can flexibly adapt to different interactive interface sizes and user interaction habits, enhancing the adaptability of the solution; the reasonable setting of the target area can help users quickly locate the recommended combination types, shorten the operation path, reduce the time spent on eye movement and operation search, and improve interaction efficiency and operation convenience.

[0122] In an exemplary embodiment of this application, in response to a switching operation for a recommended combination type, a new recommended combination type is determined, the switching operation including at least one of a swipe operation or a re-click operation; and a plurality of second virtual elements to be interacted with are updated based on the new recommended combination type.

[0123] Switching between recommended combination types includes, but is not limited to, swiping operations based on multiple virtual elements, swiping operations based on recommended combination types, and clicking operations on other recommended combination types within a certain period of time. Upon detecting a switching operation for a recommended combination type, an update process for the multiple secondary virtual elements to be interacted with is triggered.

[0124] Since multiple second virtual elements are virtual elements corresponding to the selected recommended combination type and contain the first virtual element, during the update process, the currently displayed second virtual element corresponding to the original recommended combination type is first removed. Then, based on the switched recommended combination type, all corresponding virtual elements under that type (still containing the original first virtual element) are obtained, and the updated multiple second virtual elements are redisplayed in the interactive interface according to the preset first reference method.

[0125] Let's take the swipe gesture as an example to illustrate the switching operation of recommended combination types. Figure 11 This is a schematic diagram of an interactive interface that displays the updated selected recommended combination type based on a vertical arrangement, according to an embodiment of this application. Figure 11 As shown, while keeping the first virtual element (e.g., virtual element g) unchanged, the first user performs a vertical swipe operation from the selected recommended combination type 1101 (combination B) to another unselected recommended combination type (e.g., combination D) among the vertically arranged recommended combination types. After detecting the swipe operation, the combination D corresponding to the swipe termination position is determined as the updated selected recommended combination type. The updated selected recommended combination type 1102 (combination D) is displayed in shadow mode in the interactive interface, and the virtual element corresponding to combination D to be interacted with is simultaneously displayed in the interactive interface.

[0126] In this embodiment, after detecting a switching operation of the recommended combination type, the new recommended combination type is determined, and the corresponding virtual element is re-acquired and displayed based on the new recommended combination type, while always retaining the first virtual element. This ensures the continuity of interaction before and after the combination switch, and also enables the displayed interactive virtual element to be accurately matched with the currently selected recommended combination type, avoiding interface display chaos and improving the user's interactive experience of quickly switching between different combination types and previewing the combination effect in real time.

[0127] In an exemplary embodiment of this application, after determining the selected recommended combination type, a plurality of interactive second virtual elements can be displayed based on a first reference method. The plurality of second virtual elements are virtual elements corresponding to the selected recommended combination type, and the plurality of second virtual elements include the first virtual element.

[0128] For example, any recommended combination type can correspond to a set of virtual elements, and the virtual element combinations corresponding to different recommended combination types are different or partially the same.

[0129] Determining the selected recommended combination type refers to identifying the user's intended recommended combination type from among multiple recommended combination types after the selection operation. For example, if the selection operation is a swipe action initiated on the first virtual element, the selected recommended combination type is determined after the swipe operation ends; similarly, if the selection operation is a click action performed on a recommended combination type, the selected recommended combination type is determined after the click operation ends. The process of determining the selected recommended combination type has already been explained above and will not be repeated here.

[0130] After determining the selected recommended combination type, based on preset combination rules and matching relationships, virtual elements that match the selected recommended combination type are selected from all virtual elements displayed on the interactive interface, and these are identified as multiple second virtual elements to be interacted with. These multiple second virtual elements to be interacted with satisfy the combination conditions corresponding to the selected recommended combination type and include the first virtual element.

[0131] The first reference method refers to the visual display method used to highlight and distinguish the second virtual element to be interacted with in the interactive interface. The first reference method includes, but is not limited to, highlighting, border highlighting, shadow display, and displacement display (moving a certain distance relative to the original position).

[0132] The following explanation uses the first reference method, which is a shadow display method and a displacement display method, as an example. After determining the selected recommended combination type, a shadow effect is added to multiple second virtual elements corresponding to the selected recommended combination type, and these elements are moved upwards a certain distance relative to their original display positions, thereby creating a clear visual distinction from other unselected virtual elements in the interactive interface.

[0133] Combination Figure 11 The selected recommended combination type is Combination D, which corresponds to a set of virtual cards: virtual card c, virtual card f, and virtual card g. The three virtual cards corresponding to Combination D are displayed with a shadow effect, and each of them is moved upwards a certain distance relative to its original display position, making their display positions higher than the other virtual cards. The distance the virtual cards are moved can be set based on the actual needs of the interactive interface.

[0134] This application displays at least one recommended combination type after selecting a first virtual element from multiple virtual elements. By providing multiple recommended combination types, it adapts to the real-time adjustment needs of the interaction strategy during the interaction process, enriching the diversity and flexibility of the interaction strategy. After any recommended combination type is selected, the second virtual element to be interacted with corresponding to the selected recommended combination type is displayed in a first reference manner, and the second virtual element contains the selected first virtual element. By using the recommended combination type to determine the second virtual element to be interacted with, the tedious operation of manually selecting, canceling, and recombining virtual elements is avoided, improving the operational efficiency of virtual element combination interaction during the interaction process, thereby improving the interaction efficiency of virtual elements.

[0135] In an exemplary embodiment of this application, when the selected recommended combination type includes multiple first sub-combinations, a switching control is displayed. The switching control is used to switch the virtual elements to be interacted with corresponding to different first sub-combinations. The multiple first sub-combinations satisfy the recommended combination type, and any two first sub-combinations have different virtual elements. In response to the triggering operation of the switching control, the virtual elements to be interacted with corresponding to the switched first sub-combination are displayed.

[0136] For example, the selected recommended combination type includes multiple first sub-combinations, meaning that there are multiple different combinations of virtual elements under the same recommended combination type, and each combination satisfies the combination rules corresponding to that recommended combination type. Combined with... Figure 4 In a virtual card game, the first user selects the 4 of Diamonds. The recommended combination type is three-of-a-kind with one extra card. The first user's virtual cards contain multiple combinations that conform to the three-of-a-kind with one extra card rule. For example, three 4s + 9 of Diamonds, three 4s + 10 of Spades, three 4s + 10 of Clubs, three 4s + 2 of Spades, etc.

[0137] After determining the selected recommended combination type, according to the preset combination rules, it is determined whether the number of virtual element combinations that satisfy the selected recommended combination type among the virtual elements owned by the first user is greater than or equal to two. If so, it is determined that the selected recommended combination type includes multiple first sub-combinations, that is, each virtual element combination that satisfies the rules of the recommended combination type is determined as a first sub-combination.

[0138] In one embodiment, the selected recommended combination type includes multiple first sub-combinations, and a switching control is displayed in the interactive interface. The display position of the switching control may be around the display area of ​​the recommended combination type, around the display area of ​​the virtual element to be interacted with, or other preset positions in the interactive interface. The switching control is used to switch between the virtual elements to be interacted with corresponding to different first sub-combinations, allowing the first user to select among multiple sets of eligible first sub-combinations to determine the virtual element for which the final combined interaction should be performed.

[0139] Triggering operations for the switching control include, but are not limited to, single-click, double-click, long-press, and hover operations. After the switching control is triggered, the second virtual element to be interacted with corresponding to the currently displayed first sub-group is hidden in the interactive interface, and the second virtual element to be interacted with corresponding to the next first sub-group after the switch is displayed.

[0140] It should be noted that the selected recommended combination type does not include multiple first sub-combinations. That is, if there is only one set of virtual element combinations that meet the conditions, the switching control will not be displayed in the interactive interface. Instead, the virtual element to be interacted with corresponding to the unique first sub-combination will be displayed directly.

[0141] Figure 12 This is a schematic diagram of an interactive interface for displaying switching controls based on a sliding method, provided in an embodiment of this application. For example... Figure 12 As shown, based on the swipe operation, the selected recommended combination type 1201 is determined to be combination A. If combination A includes multiple first sub-combinations, a switching control 1202 is displayed in the interactive interface. The initial virtual elements to be interacted with corresponding to the first sub-combination are virtual card c, virtual card f, and virtual card g. After the switching control 1202 is triggered, the virtual elements to be interacted with corresponding to the next first sub-combination are switched to virtual card b, virtual card f, and virtual card g.

[0142] Figure 13 This is a schematic diagram of an interactive interface for displaying switching controls based on a click method, provided in an embodiment of this application. For example... Figure 13 As shown, based on the click operation, the selected recommended combination type 1301 is determined to be combination A. If combination A includes multiple first sub-combinations, a switching control 1302 is displayed in the interactive interface. The initial interactive virtual elements corresponding to the first sub-combination are virtual card c, virtual card f, and virtual card g. After the switching control 1302 is triggered, the next interactive virtual elements corresponding to the first sub-combination are switched to virtual card b, virtual card f, and virtual card g.

[0143] In this embodiment, when the selected recommended combination type includes multiple first sub-combinations, a switching control is displayed, which can provide users with multiple sets of virtual element combinations that conform to the recommended combination type. After the switching control is triggered, the virtual element to be interacted with corresponding to the switched first sub-combination is displayed, allowing users to flexibly switch between different first sub-combinations, accurately match their own interaction intentions, and ensure that any two first sub-combinations have different virtual element constraints. This avoids repeatedly displaying the same combination, helps users quickly determine the virtual element that needs to be interacted with, and improves the operational efficiency in the virtual element interaction process.

[0144] In an exemplary embodiment of this application, when the selected recommended combination type includes multiple second sub-combinations, multiple sub-combination controls are displayed, each sub-combination control corresponds one-to-one with a second sub-combination, the multiple second sub-combinations satisfy the recommended combination type, and any two second sub-combinations have different virtual elements; in response to the triggering operation of any sub-combination control, the virtual elements to be interacted included in the second sub-combination corresponding to any sub-combination control are displayed.

[0145] For example, the definition of the second sub-combination is the same as that of the first sub-combination, and can be referred to the relevant description of the first sub-combination, which will not be repeated here. When the selected recommended combination type includes multiple second sub-combinations, multiple combinations of virtual elements that satisfy the rules of the recommended combination type are determined from the virtual elements owned by the user. Different second sub-combinations all satisfy the combination rules corresponding to the selected recommended combination type, and any two second sub-combinations contain at least one different virtual element.

[0146] Combination Figure 4 In a virtual card game, the first user selects the 4 of Diamonds. The recommended combination type is three-of-a-kind with one extra card. The first user's virtual cards contain multiple combinations that conform to the three-of-a-kind with one extra card rule. For example, three 4s + 9 of Diamonds, three 4s + 10 of Spades, three 4s + 10 of Clubs, three 4s + 2 of Spades, etc. Each combination is a second sub-combination, and each second sub-combination corresponds to a sub-combination control.

[0147] After determining each second sub-group, the corresponding sub-group control is displayed in the interactive interface. The triggering operations for the sub-group control include, but are not limited to, single-click, double-click, long-press, and hover operations for any sub-group control.

[0148] After a sub-combination control is triggered, the currently displayed virtual element to be interacted with is hidden in the interactive interface, and the second virtual element to be interacted with, which is included in the second sub-combination corresponding to the triggered sub-combination control, is displayed.

[0149] It should be noted that if the selected recommended combination type does not include multiple second sub-combinations, that is, if there is only one set of virtual element combinations that meet the conditions, then multiple sub-combination controls will not be displayed in the interactive interface, and the virtual element to be interacted with corresponding to the second sub-combination will be displayed directly.

[0150] Figure 14 This is a schematic diagram of an interactive interface for displaying sub-combination controls based on a sliding method, provided in an embodiment of this application. For example... Figure 14As shown, based on the sliding operation, the selected recommended combination type 1401 is determined to be combination A. If combination A includes multiple second sub-combinations, multiple sub-combination controls 1402 are displayed in the interactive interface, namely sub-combination 1 control, sub-combination 2 control, and sub-combination 3 control. The virtual elements corresponding to sub-combination 1 control are virtual cards c, f, and g; the virtual elements corresponding to sub-combination 2 control are virtual cards b, f, and g; and the virtual elements corresponding to sub-combination 3 control are virtual cards a, f, and g. After sub-combination 2 control is triggered, virtual cards b, f, and g are identified as the virtual elements to be interacted with.

[0151] Figure 15 This is a schematic diagram of an interactive interface for displaying sub-combination controls based on a click method, provided in an embodiment of this application. For example... Figure 15 As shown, based on the sliding operation, the selected recommended combination type 1501 is determined to be combination A. If combination A includes multiple second sub-combinations, multiple sub-combination controls 1502 are displayed in the interactive interface, namely sub-combination 1 control, sub-combination 2 control, and sub-combination 3 control. The virtual elements corresponding to each sub-combination control can be found in [reference]. Figure 14 The relevant description is as follows: After the sub-combination 2 control is triggered, virtual card b, virtual card f, and virtual card g are identified as virtual elements to be interacted with.

[0152] In this embodiment, when the selected recommended combination type includes multiple second sub-combinations, multiple sub-combination controls are displayed, and each sub-combination control corresponds one-to-one with a second sub-combination. This provides users with an intuitive selection entry point for multiple virtual element combinations that conform to the recommended combination type. When any sub-combination control is triggered, the virtual elements to be interacted with in the second sub-combination corresponding to the triggered sub-combination control are displayed. This allows users to directly locate and select the corresponding second sub-combination, accurately matching their own interaction intent. Furthermore, any two second sub-combinations have constraints on different virtual elements, which avoids repeatedly displaying the same combination, improves the information differentiation and operational efficiency of the interactive interface, and helps users quickly determine the virtual elements that ultimately need to be combined for interaction.

[0153] In an exemplary embodiment of this application, after displaying a plurality of second virtual elements to be interacted with, in response to an adjustment operation on the second virtual elements, the adjusted second virtual elements and the adjusted selected recommended combination type are displayed, wherein the adjusted selected recommended combination type is determined based on the adjusted second virtual elements.

[0154] For example, the adjustment operations for the second virtual element include, but are not limited to, single-click, double-click, long-press, and hover operations. After detecting the adjustment operation and completing the adjustment of the second virtual element, the corresponding recommended combination type is re-matched based on the adjusted set of second virtual elements to determine the adjusted selected recommended combination type. The re-matching process is the same as the initial recommended combination type matching process, and will not be described again. By synchronously updating the selected recommended combination type after adjusting the second virtual element, it is ensured that the adjusted virtual element and the recommended combination type always match accurately, avoiding problems such as mismatch between elements and combination types and chaotic interface display.

[0155] In an exemplary embodiment of this application, a confirmation control may also be displayed in the interactive interface; in response to the triggering operation of the confirmation control, an interactive operation is performed based on the plurality of second virtual elements to be interacted with.

[0156] For example, the confirmation control is used to confirm the selection of multiple second virtual elements to be interacted with displayed on the current interface. The triggering operations of the confirmation control include, but are not limited to, single-click, double-click, long-press, and hover operations. After the confirmation control is triggered, the terminal device, based on the multiple second virtual elements to be interacted with that belong to the same recommended combination type displayed on the current interface, executes a combination interaction behavior matching that recommended combination type, completing the current virtual element combination interaction process.

[0157] For example, multiple second virtual elements can perform interactive operations, including but not limited to playing cards, controlling virtual objects to perform corresponding continuous interactive operations, releasing combo skills, triggering item linkage operations, and executing lineup deployment operations.

[0158] The following explanation uses the example of multiple second virtual elements performing interactive operations as a card-playing operation. Figure 16 This is a schematic diagram of an interactive interface provided in an embodiment of this application, illustrating an interactive process in which a confirmation control is used to perform interactive operations on multiple second virtual elements to be interacted with. Figure 16 As shown, the interactive interface displays that the first user has multiple virtual cards 1601, recommended combination types 1602, and a confirmation control 1603. After any recommended combination type 1602 (e.g., combination A) is selected, the virtual card corresponding to the selected recommended combination type 1602 is determined as the virtual card to be interacted with, i.e., virtual card c, virtual card f, and virtual card g is the virtual card 1604 to be interacted with.

[0159] After the control 1603 is triggered, the virtual card 1604 to be interacted with is played, that is, the virtual card 1604 to be interacted with is removed from the virtual cards owned, and the remaining virtual cards 1605 are updated.

[0160] The virtual element interaction method provided in this application embodiment can be applied to the above. Figure 1 The computer system shown is an example of a terminal device 101 and a server 102 interacting to execute the method. Figure 17 This is a flowchart of another virtual element interaction method provided in an embodiment of this application. For example... Figure 17 As shown, the method includes the following steps 1701 to 1715.

[0161] Step 1701: Multiple virtual elements are displayed on the terminal device.

[0162] Step 1702: The terminal device detects the selection operation of the first virtual element among multiple virtual elements and generates the selection information of the first virtual element.

[0163] Step 1703: The terminal device sends the first selection information of the first virtual element to the server.

[0164] Step 1704: The server determines whether the first virtual element can be combined based on the first selection information. If not, proceed to step 1705; if yes, proceed to step 1708.

[0165] Step 1705: The server generates a message indicating that a combination cannot be formed.

[0166] Step 1706: The server sends a notification message to the terminal device.

[0167] Step 1707: The terminal device displays a prompt message.

[0168] Step 1708: The server calculates all recommended combination types corresponding to the first virtual element.

[0169] Step 1709: The server sends the recommended combination type to the terminal device.

[0170] Step 1710: The recommended combination type is displayed on the terminal device.

[0171] Step 1711: The terminal device detects a selection operation for the recommended combination information and determines the second selection information corresponding to the selected recommended combination type.

[0172] Step 1712: The terminal device sends a second selection message to the server.

[0173] Step 1713: The server determines the rendering parameters and the second virtual element corresponding to the selected recommended combination type based on the second selection information.

[0174] Step 1714: The server sends rendering parameters and the identification information of the second virtual element to the terminal device.

[0175] Step 1715: The terminal device renders the selected recommended combination type and the second virtual element based on the rendering parameters, and displays the completed rendering of the selected recommended combination type and the second virtual element.

[0176] It should be noted that the relevant content of steps 1701 to 1715 has been explained in detail in steps 201 to 203, and will not be repeated here.

[0177] This application also provides an interactive device for virtual elements. Figure 18 This is a schematic diagram of the structure of an interactive device for virtual elements provided in an embodiment of this application, such as... Figure 18 As shown, the device includes: Display module 1801 is used to display multiple virtual elements; The display module 1801 is also configured to, in response to a selection operation of a first virtual element among a plurality of virtual elements, display at least one recommended combination type corresponding to the first virtual element; The display module 1801 is further configured to display a plurality of second virtual elements to be interacted with based on a first reference method when any recommended combination type is selected, wherein the plurality of second virtual elements are virtual elements corresponding to the selected recommended combination type, and the plurality of second virtual elements include the first virtual element.

[0178] In one possible implementation, any recommended combination type is associated with a reference interaction area. The display module is also configured to display the selected recommended combination type based on a second reference method in response to an interaction operation on the first virtual element. The selected recommended combination type is determined based on the termination interaction position of the interaction operation and the reference interaction area associated with the recommended combination type.

[0179] In one possible implementation, the device further includes an acquisition module and a determination module; The acquisition module (not shown in the figure) is used to acquire the termination position of the interactive operation when the interactive operation ends. The determination module (not shown in the figure) is used to determine the recommended combination type corresponding to the reference interaction area including the termination interaction position as the selected recommended combination type when the termination interaction position is located in any reference interaction area.

[0180] In one possible implementation, the size and shape of the reference interaction area are determined based on at least one of the layout of the interactive interface, the number of recommended combination types, or the display size of the recommended combination types, and different reference interaction areas do not overlap.

[0181] In one possible implementation, the arrangement of the recommended combination types is the same as the arrangement of the reference interaction areas corresponding to the recommended combination types.

[0182] In one possible implementation, the display module 1801 is further configured to display the selected recommended combination type based on a third reference method in response to a trigger operation of any recommended combination type.

[0183] In one possible implementation, the display module 1801 is further configured to display a switching control when the selected recommended combination type includes multiple first sub-combinations. The switching control is used to switch the virtual elements to be interacted with corresponding to different first sub-combinations. The multiple first sub-combinations satisfy the recommended combination type, and any two first sub-combinations have different virtual elements. In response to the triggering operation of the switching control, the virtual elements to be interacted with corresponding to the switched first sub-combination are displayed.

[0184] In one possible implementation, the display module 1801 is further configured to display multiple sub-combination controls when the selected recommended combination type includes multiple second sub-combinations, wherein each sub-combination control corresponds one-to-one with a second sub-combination, the multiple second sub-combinations satisfy the recommended combination type, and any two second sub-combinations have different virtual elements; and in response to a triggering operation of any sub-combination control, to display the virtual elements to be interacted included in the second sub-combination corresponding to any sub-combination control.

[0185] In one possible implementation, display module 1801 is also used to display a confirmation control; The device also includes an interaction module (not shown in the figure), which is used to perform interactive operations based on multiple second virtual elements to be interacted in response to the triggering operation of the confirmation control.

[0186] In one possible implementation, the device further includes a determining module, which is configured to determine reference interaction information based on the interaction operation, the reference interaction information including at least one of the interaction direction, interaction speed, or dwell time of the interaction operation; perform preloading on multiple virtual elements corresponding to the predicted combination type, the predicted combination type being determined based on the reference interaction information; and, if the predicted combination type is the same as the selected recommended combination type, determine the multiple virtual elements corresponding to the predicted combination type as multiple second virtual elements to be interacted with.

[0187] In one possible implementation, the apparatus further includes a determining module, which is used to determine the priority of each recommended combination type based on historical interaction data of virtual elements when there are multiple recommended combination types; and to determine a fourth reference method based on the priority of each recommended combination type. Display module 1801 is used to display various recommended combination types based on the fourth reference method.

[0188] In one possible implementation, the device further includes an acquisition module and a determination module; The acquisition module is used to acquire the attribute information and combination conditions of the first virtual element. The combination conditions are used to limit whether virtual elements can be combined. The determination module is used to determine the recommended combination type based on the attribute information of the first virtual element, multiple virtual elements, and combination conditions.

[0189] In one possible implementation, the device further includes a determining module and an updating module (not shown in the figure); The determination module is used to determine the new recommended combination type in response to a switching operation for the recommended combination type; The update module is used to update multiple second virtual elements to be interacted with based on the recommended combination type after the switch.

[0190] In one possible implementation, the device further includes a determining module, which is used to determine the layout information of the recommended combination type. The layout information includes the layout method and the target area, where the target area is the area where the recommended combination type is displayed. Display module 1801 is used to display at least one recommended combination type corresponding to the first virtual element in the target area based on the arrangement.

[0191] In one possible implementation, the display module 1801 is further configured to, in response to an adjustment operation on the second virtual element, display the adjusted second virtual element and the adjusted selected recommended combination type, the adjusted selected recommended combination type being determined based on the adjusted second virtual element.

[0192] In one possible implementation, virtual elements include at least one of virtual cards, virtual pieces, virtual skills, virtual equipment, virtual items, or virtual moves.

[0193] This application displays at least one recommended combination type after selecting a first virtual element from multiple virtual elements. By providing multiple recommended combination types, it adapts to the real-time adjustment needs of the interaction strategy during the interaction process, enriching the diversity and flexibility of the interaction strategy. After any recommended combination type is selected, the second virtual element to be interacted with corresponding to the selected recommended combination type is displayed in a first reference manner, and the second virtual element contains the selected first virtual element. By using the recommended combination type to determine the second virtual element to be interacted with, the tedious operation of manually selecting, canceling, and recombining virtual elements is avoided, improving the operational efficiency of virtual element combination interaction during the interaction process, thereby improving the interaction efficiency of virtual elements.

[0194] It should be understood that the above-described apparatus is only illustrated by the division of the functional modules described above when implementing its functions. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0195] Figure 19 This is a structural block diagram of a terminal device provided in an embodiment of this application. The terminal device 2100 can be any electronic device product capable of human-computer interaction with a user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include PCs (Personal Computers), mobile phones, smartphones, PDAs (Personal Digital Assistants), wearable devices, PPCs (Pocket PCs), tablet computers, smart car systems, smart TVs, and smartwatches.

[0196] Typically, terminal device 2100 includes a processor 2101 and a memory 2102.

[0197] Processor 2101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0198] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 are used to store at least one instruction, which is executed by the processor 2101 to implement the virtual element interaction method provided in the method embodiments of this application.

[0199] In some embodiments, the terminal device 2100 may also optionally include a peripheral device interface 2103 and at least one peripheral device. The processor 2101, memory 2102, and peripheral device interface 2103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 2103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: radio frequency circuitry 2104, display screen 2105, camera assembly 2106, audio circuitry 2107, and power supply 2108.

[0200] Peripheral device interface 2103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2101 and memory 2102. In some embodiments, processor 2101, memory 2102 and peripheral device interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 2101, memory 2102 and peripheral device interface 2103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0201] The radio frequency (RF) circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 2104 can communicate with other terminal devices through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0202] Display screen 2105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 2105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 2101 for processing. In this case, display screen 2105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 2105, disposed on the front panel of terminal device 2100; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal device 2100 or in a folded design; in still other embodiments, display screen 2105 may be a flexible display screen, disposed on a curved or folded surface of terminal device 2100. Furthermore, display screen 2105 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 2105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0203] The camera assembly 2106 is used to acquire images or videos. Optionally, the camera assembly 2106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal device 2100, and the rear-facing camera is located on the back of the terminal device 2100. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 2106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0204] The audio circuit 2107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 2101 for processing, or input to the radio frequency circuit 2104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal device 2100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 2101 or the radio frequency circuit 2104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 2107 may also include a headphone jack.

[0205] Power supply 2108 is used to supply power to the various components in terminal device 2100. Power supply 2108 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 2108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0206] In some embodiments, the terminal device 2100 further includes one or more sensors 2110. The one or more sensors 2110 include, but are not limited to: an acceleration sensor 2111, a gyroscope sensor 2112, a pressure sensor 2113, an optical sensor 2114, and a proximity sensor 2115.

[0207] Accelerometer 2111 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal device 2100. For example, accelerometer 2111 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 2101 can control display screen 2105 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 2111. Accelerometer 2111 can also be used for games or for acquiring user motion data.

[0208] The gyroscope sensor 2112 can detect the orientation and rotation angle of the terminal device 2100. The gyroscope sensor 2112 can work in conjunction with the accelerometer sensor 2111 to collect the user's 3D movements on the terminal device 2100. Based on the data collected by the gyroscope sensor 2112, the processor 2101 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0209] The pressure sensor 2113 can be disposed on the side bezel of the terminal device 2100 and / or on the lower layer of the display screen 2105. When the pressure sensor 2113 is disposed on the side bezel of the terminal device 2100, it can detect the user's grip signal on the terminal device 2100, and the processor 2101 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 2113. When the pressure sensor 2113 is disposed on the lower layer of the display screen 2105, the processor 2101 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 2105. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0210] Optical sensor 2114 is used to collect ambient light intensity. In one embodiment, processor 2101 can control the display brightness of display screen 2105 based on the ambient light intensity collected by optical sensor 2114. Specifically, when the ambient light intensity is high, the display brightness of display screen 2105 is increased; when the ambient light intensity is low, the display brightness of display screen 2105 is decreased. In another embodiment, processor 2101 can also dynamically adjust the shooting parameters of camera assembly 2106 based on the ambient light intensity collected by optical sensor 2114.

[0211] The proximity sensor 2115, also known as a distance sensor, is typically installed on the front panel of the terminal device 2100. The proximity sensor 2115 is used to detect the distance between the user and the front of the terminal device 2100. In one embodiment, when the proximity sensor 2115 detects that the distance between the user and the front of the terminal device 2100 is gradually decreasing, the processor 2101 controls the display screen 2105 to switch from a screen-on state to a screen-off state; when the proximity sensor 2115 detects that the distance between the user and the front of the terminal device 2100 is gradually increasing, the processor 2101 controls the display screen 2105 to switch from a screen-off state to a screen-on state.

[0212] Those skilled in the art will understand that Figure 19 The structure shown does not constitute a limitation on the terminal device 2100, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0213] Figure 20 This is a schematic diagram of the server structure provided in the embodiments of this application. The server 2200 can vary considerably due to different configurations or performance. It may include one or more processors 2201 and one or more memories 2202, wherein the one or more memories 2202 store at least one piece of program code. This at least one piece of program code is loaded and executed by the one or more processors 2201 to implement the virtual element interaction method provided in the above-described method embodiments. Of course, the server 2200 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 2200 may also include other components for implementing device functions, which will not be elaborated here.

[0214] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to enable a computer to implement any of the above-described methods for interacting with virtual elements.

[0215] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0216] In an exemplary embodiment, a computer program or computer program product is also provided, which stores at least one computer instruction that is loaded and executed by a processor to enable the computer to implement any of the above-described methods for interacting with virtual elements.

[0217] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, data stored, data displayed, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0218] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0219] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for interacting with virtual elements, characterized in that, The method includes: Display multiple virtual elements; In response to the selection operation of the first virtual element among the plurality of virtual elements, at least one recommended combination type corresponding to the first virtual element is displayed; When any recommended combination type is selected, multiple second virtual elements to be interacted are displayed based on a first reference method. The multiple second virtual elements are virtual elements corresponding to the selected recommended combination type, and the multiple second virtual elements include the first virtual element.

2. The method according to claim 1, characterized in that, Each of the recommended combination types is associated with a reference interaction area. After displaying at least one recommended combination type corresponding to the first virtual element, the method further includes: In response to an interaction with the first virtual element, the selected recommended combination type is displayed based on a second reference method. The selected recommended combination type is determined based on the termination position of the interaction and the reference interaction area associated with the recommended combination type.

3. The method according to claim 2, characterized in that, The method further includes: If the interaction ends, obtain the termination position of the interaction. If the termination interaction location is located in any reference interaction area, the recommended combination type corresponding to the reference interaction area including the termination interaction location will be determined as the selected recommended combination type.

4. The method according to claim 2, characterized in that, The size and shape of the reference interaction area are determined based on at least one of the layout of the interaction interface, the number of recommended combination types, or the display size of the recommended combination types, and different reference interaction areas do not overlap.

5. The method according to claim 2, characterized in that, The arrangement of the recommended combination type is the same as the arrangement of the reference interaction area corresponding to the recommended combination type.

6. The method according to claim 1, characterized in that, After displaying at least one recommended combination type corresponding to the first virtual element, the method further includes: In response to a trigger operation for any recommended combination type, the selected recommended combination type is displayed based on a third reference method.

7. The method according to claim 1, characterized in that, The method further includes: When the selected recommended combination type includes multiple first sub-combinations, a switching control is displayed. The switching control is used to switch the virtual elements to be interacted with corresponding to different first sub-combinations. The multiple first sub-combinations satisfy the recommended combination type, and any two first sub-combinations have different virtual elements. In response to the triggering operation of the switching control, the virtual element to be interacted with corresponding to the first sub-group after the switch is displayed.

8. The method according to claim 1, characterized in that, The method further includes: When the selected recommended combination type includes multiple second sub-combinations, multiple sub-combination controls are displayed. Each sub-combination control corresponds one-to-one with a second sub-combination. The multiple second sub-combinations satisfy the recommended combination type, and any two second sub-combinations have different virtual elements. In response to a trigger operation of any sub-combination control, the virtual elements to be interacted included in the second sub-combination corresponding to the said sub-combination control are displayed.

9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: Display confirmation control; In response to the confirmation control's triggering operation, an interactive operation is performed based on the plurality of second virtual elements to be interacted with.

10. The method according to claim 2, characterized in that, The method further includes: Based on the interactive operation, reference interactive information is determined, and the reference interactive information includes at least one of the interactive operation's interaction direction, interaction speed, or dwell time. Preloading is performed on multiple virtual elements corresponding to the predicted combination type, wherein the predicted combination type is determined based on the reference interaction information; If the predicted combination type is the same as the selected recommended combination type, the multiple virtual elements corresponding to the predicted combination type are determined as the multiple second virtual elements to be interacted with.

11. The method according to any one of claims 1 to 8, characterized in that, The method further includes: When there are multiple recommended combination types, the priority of each recommended combination type is determined based on the historical interaction data of virtual elements; The fourth reference method is determined based on the priority of each of the recommended combination types. The display of at least one recommended combination type corresponding to the first virtual element includes: The recommended combination types are displayed based on the fourth reference method.

12. The method according to any one of claims 1 to 8, characterized in that, The method further includes: Obtain the attribute information and combination conditions of the first virtual element, wherein the combination conditions are used to limit whether virtual elements can be combined; The recommended combination type is determined based on the attribute information of the first virtual element, the plurality of virtual elements, and the combination conditions.

13. The method according to any one of claims 1 to 8, characterized in that, After displaying at least one recommended combination type corresponding to the first virtual element, the method further includes: In response to the switching operation for the recommended combination type, determine the new recommended combination type; The multiple second virtual elements to be interacted with are updated based on the recommended combination type after the switch.

14. The method according to any one of claims 1 to 8, characterized in that, Before displaying at least one recommended combination type corresponding to the first virtual element, the method further includes: Determine the layout information of the recommended combination type, the layout information including the layout method and the target area, the target area being the area where the recommended combination type is displayed; The display of at least one recommended combination type corresponding to the first virtual element includes: Based on the arrangement, at least one recommended combination type corresponding to the first virtual element is displayed in the target area.

15. The method according to any one of claims 1 to 8, characterized in that, After displaying the multiple second virtual elements to be interacted with based on the first reference mode, the method further includes: In response to the adjustment operation on the second virtual element, the adjusted second virtual element and the adjusted selected recommended combination type are displayed, the adjusted selected recommended combination type being determined based on the adjusted second virtual element.

16. The method according to any one of claims 1 to 8, characterized in that, The virtual elements include at least one of the following: virtual cards, virtual chess pieces, virtual skills, virtual equipment, virtual props, or virtual moves.

17. An interactive device for virtual elements, characterized in that, The device includes: The display module is used to display multiple virtual elements; The display module is further configured to, in response to the selection operation of the first virtual element among the plurality of virtual elements, display at least one recommended combination type corresponding to the first virtual element; The display module is further configured to display a plurality of second virtual elements to be interacted with based on a first reference method when any recommended combination type is selected, wherein the plurality of second virtual elements are virtual elements corresponding to the selected recommended combination type, and the plurality of second virtual elements include the first virtual element.

18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement the interactive method of virtual elements as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to enable the computer to implement the interaction method of the virtual element as described in any one of claims 1 to 16.

20. A computer program product, characterized in that, The computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement the interaction method of the virtual element as described in any one of claims 1 to 16.