Method and apparatus for interacting in a virtual environment
By receiving and presenting the dynamic changes of probabilistic interactive elements in a virtual environment, the problem of users being unable to perceive the probability of interaction is solved, resulting in a more interesting and user-friendly interactive experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2022-11-29
- Publication Date
- 2026-06-09
AI Technical Summary
Traditional virtual environment interaction mechanisms fail to allow users to perceive or understand the probability mechanisms in the interaction, thus affecting the user experience.
By receiving requests to execute target actions in the target interface, the system presents execution values through dynamic changes in probabilistic interactive elements, and determines the attributes of the target virtual element based on a comparison between the execution value and the target value.
It enhances the fun and user-friendliness of the interaction, enabling users to intuitively understand the probability mechanism of interactive actions.
Smart Images

Figure CN115970285B_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, electronic devices, and computer-readable storage media for interacting in a virtual environment. Background Technology
[0002] With the development of computer technology, various forms of electronic devices have greatly enriched people's daily lives. For example, people can use electronic devices to perform various interactions in virtual scenarios.
[0003] In some interactive scenarios, to enhance the realism of the interaction, certain interactive actions may be accompanied by probabilistic events (also known as random events). For example, whether or not a desired virtual character or item can be obtained in a game may be related to whether or not this probabilistic event occurs. However, traditional interaction mechanisms cannot allow the operator to perceive or understand this probabilistic mechanism in the interaction. Summary of the Invention
[0004] In a first aspect of this disclosure, a method for interacting in a virtual environment is provided. The method includes: receiving a request to perform a target action in a target interface, the target action being related to acquiring virtual elements in the virtual environment, the virtual elements including virtual items and / or virtual characters; presenting an execution value corresponding to the execution of the target action using dynamic changes of probabilistic interactive elements; and determining attributes of the target virtual element acquired based on the target action by comparing the execution value with at least one of a plurality of target values presented in the target interface.
[0005] In a second aspect of this disclosure, an apparatus for interacting in a virtual environment is provided. The apparatus includes: a receiving module configured to receive a request to perform a target action in a target interface, the target action being related to acquiring virtual elements in the virtual environment, the virtual elements including virtual items and / or virtual characters; a presenting module configured to present an execution value corresponding to the execution of the target action using dynamic changes of probabilistic interactive elements; and a determining module configured to determine attributes of a target virtual element acquired based on the target action by comparing the execution value with at least one of a plurality of target values presented in the target interface.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. A computer program is stored on the medium, which, when executed by a processor, implements the method of the first aspect.
[0008] It should be understood that the content described in this summary section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;
[0011] Figure 2A and Figure 2B Example interfaces according to some embodiments of this disclosure are shown;
[0012] Figure 3A and Figure 3B Example interfaces according to other embodiments of this disclosure are shown;
[0013] Figures 4A to 4D Example interfaces according to further embodiments of this disclosure are shown;
[0014] Figure 5A and Figure 5B Example interfaces according to further embodiments of this disclosure are shown;
[0015] Figure 6 A flowchart illustrating an example process of interacting in a virtual environment according to some embodiments of the present disclosure is shown;
[0016] Figure 7 A block diagram of an apparatus for interacting in a virtual environment according to some embodiments of the present disclosure is shown; and
[0017] Figure 8 A block diagram of an apparatus capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0018] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0019] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0020] As discussed above, in a virtual environment, users can typically interact with various types of virtual objects. These virtual objects may include, for example, virtual characters corresponding to other users in the virtual environment, or NPCs (player-versus-player characters). Users can, for instance, control their virtual characters to engage in various types of interactions with other characters, such as dialogue, attacks, and trade.
[0021] In a virtual environment, users can obtain desired virtual elements, such as virtual characters or virtual items, through interactive actions. However, traditional interaction processes typically only allow the operator to understand the outcome of probabilistic events, without revealing the random mechanisms involved in the interaction process. This significantly impacts the user's interactive experience.
[0022] Embodiments of this disclosure propose a scheme for interaction in a virtual environment. According to this scheme, a request to perform a target action can be received in a target interface. This target action may be related to acquiring virtual elements in the virtual environment. Such virtual elements can be selected as virtual characters (e.g., NPCs or other users' virtual characters) and / or virtual items (items that can be used by, for example, NPCs or other users' virtual characters).
[0023] Furthermore, the dynamic changes of probabilistic interactive elements can be utilized to present execution values corresponding to the execution of the target action. The attributes of the target virtual element acquired based on the target action can be determined by comparing the execution value with at least one of multiple target values presented on the target interface. For example, this attribute can characterize the type of the target virtual element, i.e., whether it is a virtual item or a virtual character. Additionally, this attribute can also characterize its item attributes or character attributes.
[0024] Therefore, on the one hand, the embodiments of this disclosure can simulate a more granular interaction process for virtual elements, thereby increasing the fun of the interaction; on the other hand, the implementation of this disclosure can also intuitively represent the probability mechanism of interactive actions through dynamic probabilistic interactive elements, thereby improving the user-friendliness of the interaction.
[0025] The following detailed description of various example implementations of this solution, in conjunction with the accompanying drawings, is provided. To illustrate the principles and ideas of the embodiments of this disclosure, some descriptions below will refer to the gaming industry. However, it will be understood that this is merely exemplary and is not intended to limit the scope of this disclosure in any way. Embodiments of this disclosure can be applied to various fields such as simulation, modeling, virtual reality, and augmented reality.
[0026] Example Environment
[0027] First see Figure 1 The illustration schematically shows a sample environment 100 in which exemplary implementations according to this disclosure may be implemented. Figure 1 As shown, example environment 100 may include electronic device 110.
[0028] In some embodiments, such as Figure 1 As shown, electronic device 110 may include, for example, a suitable type of portable device that can be held by the user's hands for various interactive operations. Such electronic device 110 may include, but is not limited to, smartphones, tablets, PDAs, portable gaming terminals, etc.
[0029] Such an electronic device 110 may include, for example, appropriate types of sensors for detecting user gestures. For instance, the electronic device 110 may include a touchscreen for detecting various types of gestures made by the user on the touchscreen. Alternatively or additionally, the electronic device 110 may also include other appropriate types of sensing devices, such as proximity sensors, to detect various types of gestures made by the user within a predetermined distance above the screen.
[0030] It should be understood that, although electronic device 110 is in Figure 1 The device is shown as a portable device, but this is only illustrative. In some other embodiments, the electronic device 110 may also be other suitable forms. For example, the electronic device 110 may include a display device for display and a computing device for computing, and the display device and the computing device may, for example, be physically coupled or decoupled.
[0031] For example, electronic device 110 may include a display screen for displaying images and a game console for image rendering and game control.
[0032] In this scenario, electronic device 110 can achieve interaction by utilizing other suitable input devices, such as a keyboard, mouse, joystick, or game controller.
[0033] Continue to refer to Figure 1 ,like Figure 1 The electronic device 110 may, for example, present a graphical interface 120, which may present a corresponding virtual environment. For example, the graphical interface 120 may be a game application interface to present a corresponding game scene. Alternatively, the graphical interface 120 may be other suitable types of interactive interfaces that allow the user to control virtual objects in the interface to perform corresponding actions in the virtual environment.
[0034] The following section will detail the specific process of performing actions in a virtual environment.
[0035] Example Interaction
[0036] To more intuitively represent the probability mechanism in the interaction process with virtual objects in a virtual environment, embodiments of this disclosure can present probabilistic interaction elements to help users understand the determination principle of whether the corresponding interaction action is successful.
[0037] Figure 2A Interface 200A is shown as an example of some embodiments according to this disclosure. In some embodiments, electronic device 110 may present, upon receiving an interaction request for a virtual object, an interface 200A may be displayed. Figure 2A The interface 200A shown above, as described above, may include, for example, a graphical interface associated with a virtual environment. Such a virtual environment may include, but is not limited to, various types of game environments, simulation environments, or emulation environments.
[0038] For example, interface 200A may be an interactive interface associated with the execution of a target action. In a virtual environment, this target action may be performed by a target prop. For example, the target action may be related to acquiring a target virtual element. Users can access interface 200A by performing a specific operation in the virtual environment or by clicking a specific button on the interface.
[0039] In some embodiments, the target virtual element may be a virtual prop in a virtual environment. In other embodiments, the target virtual element may be a virtual character in a virtual environment (e.g., an NPC or another user's virtual character).
[0040] like Figure 2AAs shown, interface 200A may include target item 201. For example, in the process of acquiring a target virtual element in a virtual environment, target item 201 may be used to perform a summoning operation on the virtual element in the virtual environment or to provide an entry point for receiving requests to perform target actions.
[0041] Interface 200A also presents elements related to the number of times the target item 201 performs the target action. For example, the number of elements 203 corresponds to the number of times the target item 201 can perform the target action in the virtual environment, while the number of elements 205 corresponds to the number of times the target item 201 performs the target action in the virtual environment when it is currently unavailable but becomes available after a preset duration. Furthermore, interface 200A also includes an interface area 211. In some embodiments, this interface area 211 may also indicate the number of times the target item 201 can perform the target action in the virtual environment and / or the number of times the target action may be increased after a preset duration. In some other embodiments, this interface area 211 may present an indication of the preset duration.
[0042] The preset duration is related to the attributes of the target item 201. For example, the preset duration is determined based on the value of the target item 201's attribute. For instance, the higher the value of the target item 201's attribute, such as its level, the shorter the preset duration related to the increased number of times the target action is performed.
[0043] Interface 200A also includes elements associated with the attributes of the target item 201. For example, element 207 indicates the level that the target item 201 has currently reached, while element 209 indicates the level that the target item 201 needs to unlock.
[0044] Furthermore, if an interactive operation is received for element 209, the electronic device 110 can present as follows: Figure 2B The interface shown is 200B. Interface 200B provides an entry point for upgrading the target item 201.
[0045] like Figure 2B As shown, interface 200B includes interface area 215. Interface area 215 indicates the current level of target item 201 and the target level to which target item 201 can be upgraded.
[0046] Interface 200B also includes interface area 217. This interface area 217 displays the types and quantities of elements 209 required to upgrade the target item 201 in the virtual environment. If the required element types and quantities have been obtained, the user can be guided to perform interactive operations related to upgrading the target item 201. In interface 200B, because the required element quantity for upgrading has not been reached, the element 221 guiding the user to perform interactive operations related to upgrading the target item 201 is not prominently displayed. It should be understood that if the types and quantities of elements required to upgrade the target item 201 have been detected in the virtual environment, a prompt indicating that the target item 201 can be upgraded can be displayed in interface 200A.
[0047] If an entry point in interface 200A is detected that requests to receive and execute a target action, such as an interactive operation of element 203, electronic device 110 can present an interface associated with the execution of the target action. The following is in conjunction with... Figures 3A to 3B The execution process of the target action is described in further detail.
[0048] like Figure 3A As shown, if the target action is related to acquiring a virtual character or virtual item, interface 300A can provide a set of candidate tags 301-1 to 301-5, which are related to candidate virtual elements that can be acquired in the virtual environment. For example, if the candidate virtual element is a virtual character, the candidate tags can be attributes of the virtual character (e.g., the virtual character's race, class, special abilities, etc. in the virtual environment). The execution of the target action can be triggered after a predetermined number of candidate tags are selected.
[0049] For example, such as Figure 3B As shown, in interface 300B, if a predetermined number of candidate tags are detected as selected, an entry point 302 can be provided to trigger the execution of a target action. Electronic device 110 can receive instructions to execute the target action through this entry point. Additionally, optionally or alternatively, after receiving the instruction to trigger the execution of the target action, the interface can also display the process (not shown) of the selected candidate tags being absorbed by the target prop 201.
[0050] If an instruction to trigger a target action is received in interface 300B, electronic device 110 uses the dynamic changes of probabilistic interactive elements to present an execution value corresponding to the execution of the target action. This execution value is related to the execution result of the target action. For example, if the target action is to acquire a virtual character or virtual item in a virtual environment, the execution value is related to whether the virtual character or virtual item can be acquired. For instance, the closer the execution value is to a specific target value, the greater the probability of acquiring a virtual character is compared to acquiring a virtual item. Conversely, the greater the execution value deviates from the specific target value, the greater the probability of acquiring a virtual item is compared to acquiring a virtual character.
[0051] Optionally, the execution value may be influenced by various factors. For example, the execution value may be related to the attributes of the virtual object (such as a virtual player in a game). For instance, virtual objects with higher levels and / or specific abilities in the virtual environment are more likely to receive a higher execution value. If there are multiple usable virtual objects, the electronic device 110 may provide an entry point on the interface guiding the execution of the target action for selecting the virtual object capable of performing the target action through the target item.
[0052] In some other embodiments, the execution value may be related to the attributes of the target item performing the target action. For example, a target item with a higher level is more likely to obtain a larger execution value when performing the target action.
[0053] Optionally, the electronic device 110 may also present, for example, the minimum execution values corresponding to the attributes of the target item and / or the attributes of the virtual object, to drive the user (e.g., a real-world game player) to upgrade the virtual object and / or the target item.
[0054] like Figure 4A As shown, in interface 400A, electronic device 110 can also display the dynamic changes of probabilistic interactive elements (e.g., dice 401) to represent the process of determining the execution value associated with the interactive action. For example, electronic device 110 can display the rotation animation of dice 401 in interface 400A to indicate the process of determining the execution value.
[0055] Furthermore, the electronic device 110 can control the execution of interactive actions based on a comparison between the execution value and the target value. Multiple target values are presented in the interface area 402 of the interface 400A, each associated with the execution result of a target action. For example, a larger target value indicates a better outcome from executing the target action. For instance, a target value of "20" indicates a higher probability of obtaining a good outcome (e.g., obtaining a virtual character) from executing the target action, while a value of "5" indicates a lower probability of obtaining a good outcome from executing the target action.
[0056] Optionally, the interface area 402 can display the level of the result of performing the target action corresponding to each target value. For example, the first target value (e.g., "5") corresponds to the first level (e.g., "barely"), the second target value (e.g., "10") corresponds to the second level (e.g., "normal"), the third target value (e.g., "15") corresponds to the third level (e.g., "success"), and the fourth target value (e.g., "20") corresponds to the fourth level (e.g., "great success").
[0057] In some embodiments, such as Figure 4A As shown, the electronic device 110 can use the animation changes of a probabilistic interactive element (e.g., a die 401) to present an execution value, such as "12". The execution value is compared with multiple target values presented in the interface area 402. Based on the fact that the execution value (e.g., "12") is greater than a first target value (e.g., "10") but less than a second target value (e.g., "15"), the electronic device 110 can determine that the result of executing the target action corresponds to a second level (e.g., "normal"). This second level could, for example, represent that the probability of obtaining a virtual character is less than the probability of obtaining a virtual item.
[0058] After determining the comparison result between the executed value and the target value, and determining the level of the result of executing the target action, such as Figure 4B As shown, in the interface area 402 of interface 400B, a prominent display 403 is shown of a first target value (e.g., "10") corresponding to the execution value (e.g., "12") and a second level (e.g., "normal") of the result of the execution target action corresponding to the first target value.
[0059] In some embodiments, such as Figure 4C As shown, the electronic device 110 can use the animation changes of a probabilistic interactive element (e.g., a die 401) to present an execution value, such as "21". The execution value is compared with multiple target values presented in the interface area 402. Based on the execution value (e.g., "21") being greater than a fourth target value (e.g., "20"), the electronic device 110 can determine that the result of executing the target action corresponds to a fourth level (e.g., "great success"). This second level could, for example, represent a probability that the probability of obtaining a virtual character is greater than the probability of obtaining a virtual item.
[0060] After determining the comparison result between the executed value and the target value, and determining the level of the result of executing the target action, such as Figure 4C As shown, in the interface area 402 of the interface 400C, a prominent display 404 is shown of the fourth target value (e.g., "20") corresponding to the execution value (e.g., "21") and the fourth level (e.g., "great success") of the result of the execution target action corresponding to the first target value.
[0061] As described above, the execution value can be determined based on the object attributes of virtual objects related to the execution of the target action in the virtual environment. Object attributes of the virtual object include, for example, the level of the user-controlled virtual object. The higher the level of the virtual object, the larger the correction value for the execution value. In some embodiments, object attributes characterize the skill level of the virtual object in performing the target action. For example, the higher the skill level of the virtual object, the larger the correction value. Figures 4A-4CIn the example, the user rolls dice 401. The electronic device 110 obtains the roll value of dice 401 according to the probability, then modifies the roll value according to the level and skill level of the virtual object controlled by the user, and then displays the execution value on dice 401.
[0062] Additionally or alternatively, the target value may also be determined based on the object attributes of virtual objects in the virtual environment related to the execution of the target action. Object attributes of the virtual objects may include, for example, the level of the user-controlled virtual object. A higher level of the virtual object results in a larger correction value for the target value, and consequently, a lower target value, increasing the probability of the action being successfully executed. In some embodiments, object attributes characterize the skill level of the virtual object in performing the target action. For example, a higher skill level of the virtual object results in a larger correction value, and consequently, a lower target value, increasing the probability of the action being successfully executed.
[0063] Additionally or alternatively, after presenting the execution value corresponding to the execution of the target action, the electronic device 110 may also indicate, via text, voice, or video prompts, that the opportunity to execute the target action has been used. For example, the electronic device 110 may play a sound effect emitted by the target prop 201 (e.g., a horn) (e.g., the horn is blown).
[0064] Optionally, such as Figure 4D As shown, the electronic device 110 can display a prompt 405 through the interface 400D that the opportunity to perform the target action has been used (e.g., energy overflow of element 203 on the target prop 201).
[0065] It is also possible that if the execution value obtained from performing the target action meets a threshold value (e.g., the largest value among multiple target values) or the corresponding execution result meets a threshold level (e.g., "great success"), the number of times the target action can be performed in this instance may not be consumed. In other words, under the above conditions, the number of times the target action is allowed to be performed does not change due to this execution.
[0066] After indicating that the opportunity to perform the target action has been used, the electronic device 110 may present an interface corresponding to the result of the target action. Optionally, before presenting the interface corresponding to the result of the target action, the electronic device 110 may also provide guidance for presenting the interface corresponding to the result of the target action (e.g., through interactive operations with virtual objects in the virtual environment), thereby making the interaction process in the virtual environment more interesting.
[0067] For example, the interface corresponding to the result of the target action can display the virtual character or virtual item obtained by performing the target action, which corresponds to the previously presented execution value corresponding to the execution of the target action and the level of the result of performing the target action corresponding to the comparison result of the execution value and the target value.
[0068] For example, corresponding to the second level (e.g., "normal") of the result of performing the target action presented in interface 400B, electronic device 110 presents interface 500A. Interface 500A may include an indication 501 of the result of performing the target action (e.g., "obtained item"). Interface 500A may also display the attributes and quantity of the obtained item in interface area 502.
[0069] For example, corresponding to the fourth level of the result of performing the target action presented in interface 400C (e.g., "Great Success"), electronic device 110 presents interface 500B. Interface 500B may include an indication 503 of the result of this target action (e.g., "Acquired Character"). Interface 500B may also display the image of the acquired virtual character in interface area 504. Furthermore, interface 500B may provide guidance 505 for sharing the acquired virtual character to social applications.
[0070] Based on the interaction process described above, on the one hand, the embodiments of this disclosure can simulate a more granular interaction process for virtual elements, thereby increasing the fun of the interaction; on the other hand, the implementation of this disclosure can also intuitively represent the probability mechanism of interactive actions through dynamic probabilistic interactive elements, thereby improving the user-friendliness of the interaction.
[0071] It should be understood that the specific number of elements and specific values in the specific interfaces described in the above examples are merely illustrative and are not intended to constitute a limitation of this disclosure.
[0072] Example process
[0073] Figure 6 A flowchart of a process 600 for interacting in a virtual environment according to some embodiments of the present disclosure is shown. Exemplarily, process 600 may be... Figure 1 The electronic device 110 can be implemented independently, or it can be implemented by combining the electronic device 110 with other computing devices. For ease of discussion, it will be combined with... Figure 1 To describe process 600.
[0074] like Figure 6 As shown in box 610, electronic device 110 receives a request to perform a target action in the target interface. The target action is related to acquiring virtual elements in a virtual environment, including virtual props and / or virtual characters.
[0075] In box 620, electronic device 110 uses the dynamic changes of probabilistic interactive elements to present execution values corresponding to the execution of the target action.
[0076] In box 630, electronic device 110 determines the attributes of the target virtual element acquired based on the target action by comparing the executed value with at least one of a plurality of target values presented in the target interface.
[0077] In some embodiments, receiving the request includes: providing a set of candidate tags associated with candidate virtual elements that can be acquired in the virtual environment; and obtaining the request to perform the target action based on the selection of at least one target tag from the set of candidate tags.
[0078] In some embodiments, the attributes of the target virtual element are further determined based on the selected at least one target tag.
[0079] In some embodiments, determining the attributes of a target virtual element acquired based on the target action includes: increasing the probability of acquiring a virtual element matching the at least one target tag based on the at least one target tag; and determining the attributes of the target virtual element acquired based on the increased probability.
[0080] In some embodiments, the electronic device 110 may further: present a target prop for performing the target action in the target interface, wherein the determination of the execution value is based at least on the prop attributes of the target prop.
[0081] In some embodiments, the electronic device 110 may further: in response to the target action being allowed to be executed more than a threshold number of times, provide an entry point in the target interface for receiving the request, wherein the frequency of the increase in the number of times is associated with a preset duration, and the preset duration is determined based on the value of the item attribute of the target item.
[0082] In some embodiments, the electronic device 110 may, in response to the execution value being greater than or equal to the largest target value among the at least one target values, ensure that the number of times the target action is allowed to be executed does not change as the target action is executed; and in response to the execution value being less than the largest target value among the at least one target values, reduce the number of times the target action is allowed to be executed as the target action is executed.
[0083] In some embodiments, determining the attributes of a target virtual element acquired based on the target action includes: determining a target interval corresponding to the execution value among the intervals indicated by the plurality of target values; and determining the attributes of the target virtual element acquired based on the target action based on the target interval.
[0084] In some embodiments, the target value and / or the execution value are further determined based on the object attributes of virtual objects in the virtual environment that are related to the execution of the virtual action.
[0085] In some embodiments, the attributes of the target element include at least one of the following: the type of the target element, the type indicating that the target element is a virtual item or a virtual character; the item attributes of the acquired virtual item; and the character attributes of the acquired virtual character.
[0086] Example devices and equipment
[0087] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 7 A schematic structural block diagram of an apparatus 700 for interacting in a virtual environment according to some embodiments of the present disclosure is shown.
[0088] like Figure 7 As shown, the device 700 includes a receiving module 710 configured to receive a request to perform a target action in a target interface, the target action being related to acquiring virtual elements in a virtual environment, the virtual elements including virtual props and / or virtual characters.
[0089] The device 700 also includes a presentation module 720, configured to present an execution value corresponding to the execution of the target action by utilizing the dynamic changes of probabilistic interactive elements.
[0090] In addition, the device 700 also includes a determination module 730, configured to determine the attributes of the target virtual element acquired based on the target action by comparing the execution value with at least one of a plurality of target values presented in the target interface.
[0091] In some embodiments, the receiving module 710 is further configured to: provide a set of candidate tags associated with candidate virtual elements that can be acquired in the virtual environment; and acquire the request to perform the target action based on the selection of at least one target tag from the set of candidate tags.
[0092] In some embodiments, the attributes of the target virtual element are further determined based on the selected at least one target tag.
[0093] In some embodiments, the determining module 730 is further configured to: increase the probability of a virtual element matching the at least one target tag being acquired based on the at least one target tag; and determine the attribute of the target virtual element acquired based on the target action based on the increased probability.
[0094] In some embodiments, the device 700 is further configured to: present a target prop for performing the target action in the target interface, wherein the determination of the execution value is based at least on the prop attributes of the target prop.
[0095] In some embodiments, the device 700 is further configured to: in response to the target action being allowed to be executed more than a threshold number of times, provide an entry point in the target interface for receiving the request, wherein the frequency of the increase in the number of times is associated with a preset duration, and the preset duration is determined based on the value of the item attribute of the target item.
[0096] In some embodiments, the device 700 is further configured to: in response to the execution value being greater than or equal to the largest target value among the at least one target values, ensure that the number of times the target action is allowed to be executed does not change as the target action is executed; and in response to the execution value being less than the largest target value among the at least one target values, reduce the number of times the target action is allowed to be executed as the target action is executed.
[0097] In some embodiments, the determining module 730 is further configured to: determine a target interval corresponding to the execution value among the intervals indicated by the plurality of target values; and determine the attribute of the target virtual element acquired based on the target action based on the target interval.
[0098] In some embodiments, the target value and / or the execution value are further determined based on the object attributes of virtual objects in the virtual environment that are related to the execution of the virtual action.
[0099] In some embodiments, the attributes of the target element include at least one of the following: the type of the target element, the type indicating that the target element is a virtual item or a virtual character; the item attributes of the acquired virtual item; and the character attributes of the acquired virtual character.
[0100] The units included in device 700 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 700 can be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0101] Figure 8 A block diagram of a computing device / server 800 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 8 The computing device / server 800 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein.
[0102] like Figure 8 As shown, the computing device / server 800 is in the form of a general-purpose computing device. Components of the computing device / server 800 may include, but are not limited to, one or more processors or processing units 810, memory 820, storage devices 830, one or more communication units 840, one or more input devices 860, and one or more output devices 860. The processing unit 810 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 820. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the computing device / server 800.
[0103] The computing device / server 800 typically includes multiple computer storage media. Such media can be any available media accessible to the computing device / server 800, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 820 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 830 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media capable of storing information and / or data (e.g., training data for training) and accessible within the computing device / server 800.
[0104] The computing device / server 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 8 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 820 may include computer program product 825 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0105] The communication unit 840 enables communication with other computing devices via a communication medium. Additionally, the functionality of the components of the computing device / server 800 can be implemented as a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the computing device / server 800 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0106] Input device 850 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 860 can be one or more output devices, such as a monitor, speaker, printer, etc. The computing device / server 800 can also communicate as needed with one or more external devices (not shown) via communication unit 840. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with the computing device / server 800, or with any device (e.g., network card, modem, etc.) that enables the computing device / server 800 to communicate with one or more other computing devices. Such communication can be performed via input / output (I / O) interfaces (not shown).
[0107] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores one or more computer instructions, wherein one or more computer instructions are executed by a processor to implement the methods described above.
[0108] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0109] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0110] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0112] Various implementations of this disclosure have been described above. The foregoing description is exemplary and not exhaustive, nor is it limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the implementations disclosed herein.
Claims
1. An interaction method in a virtual environment, comprising: The target props used to perform the target actions are displayed in the target interface; In response to the target action being allowed to be executed more than a threshold number of times, an entry point for receiving a request to execute the target action is provided in the target interface, wherein the frequency of the increase in the number of times is associated with a preset duration, and the preset duration is determined based on the value of the item attribute of the target item; The request to perform the target action is received in the target interface. The target action is related to acquiring virtual elements in the virtual environment. The virtual elements include virtual props and / or virtual characters. By utilizing the dynamic changes of probabilistic interactive elements, an execution value corresponding to the execution of the target action is presented, wherein the determination of the execution value is based at least on the item attributes of the target item; as well as The attributes of the target virtual element acquired based on the target action are determined by comparing the executed value with at least one of the multiple target values presented in the target interface.
2. The method of claim 1, wherein receiving the request comprises: A set of candidate tags is provided, which are related to candidate virtual elements that can be obtained in the virtual environment; as well as Based on the selection of at least one target label from the set of candidate labels, the request to perform the target action is obtained.
3. The method of claim 2, wherein the attribute of the target virtual element is further determined based on the selected at least one target tag.
4. The method of claim 2, wherein determining the attributes of the target virtual element acquired based on the target action comprises: Based on the at least one target tag, increase the probability that virtual elements matching the at least one target tag are obtained; as well as Based on the increased probability, the attribute of the target virtual element acquired based on the target action is determined.
5. The method according to claim 1, further comprising: In response to the execution value being greater than or equal to the largest target value among the at least one target values, the number of times the target action is allowed to be executed is not changed as the target action is executed; as well as In response to the execution value being less than the maximum target value among the at least one target value, the number of times the target action is allowed to be executed is reduced as the target action is executed.
6. The method of claim 1, wherein determining the attributes of the target virtual element acquired based on the target action comprises: Determine the target interval corresponding to the executed value among the intervals indicated by the plurality of target values; as well as Based on the target range, determine the attributes of the target virtual element acquired based on the target action.
7. The method of claim 1, wherein the target value and / or the execution value are further determined based on the object attributes of virtual objects in the virtual environment related to the execution of the target action.
8. The method according to any one of claims 1 to 7, wherein the attribute of the target virtual element includes at least one of the following: The type of the target virtual element, wherein the type indicates that the target virtual element is a virtual prop or a virtual character; The attributes of the acquired virtual items; The acquired character attributes of the virtual character.
9. A device for interacting in a virtual environment, comprising: The receiving module is configured to present a target prop in the target interface for performing the target action; In response to the target action being allowed to be executed more than a threshold number of times, an entry point for receiving a request to execute the target action is provided in the target interface, wherein the frequency of the increase in the number of times is associated with a preset duration, and the preset duration is determined based on the value of the item attribute of the target item; the request to execute the target action is received in the target interface, the target action being related to acquiring virtual elements in a virtual environment, the virtual elements including virtual items and / or virtual characters; The presentation module is configured to use the dynamic changes of probabilistic interactive elements to present an execution value corresponding to the execution of the target action, wherein the determination of the execution value is based at least on the item attribute of the target item; as well as The determination module is configured to determine the attributes of the target virtual element acquired based on the target action by comparing the executed value with at least one of a plurality of target values presented in the target interface.
10. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.
11. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method according to any one of claims 1 to 8.