Interaction method, device, equipment, storage medium and program product in virtual scene

By adjusting the element styles and order of preset operations in a virtual scene, the problem of users needing to master multiple operations is solved, achieving more efficient and accurate virtual object interaction.

CN119455394BActive Publication Date: 2025-12-05BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411548351.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-12-05
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

In existing technologies, users need to master multiple operations to perform a variety of virtual actions in virtual scenarios, resulting in low interaction efficiency and increased operational difficulty.

Method used

By presenting elements corresponding to preset operations in the interactive interface and adjusting the style and order of elements in response to switching requests, virtual objects can perform corresponding virtual actions, reducing the number of operations that users need to master.

Benefits of technology

It reduces the user's learning cost for interaction and improves the efficiency and accuracy of interaction in virtual scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119455394B_ABST
    Figure CN119455394B_ABST
Patent Text Reader

Abstract

According to embodiments of the present disclosure, methods, apparatuses, devices, storage media, and program products for interaction in a virtual scene are provided. The method includes: presenting, in an interaction interface associated with a virtual object, a first set of elements corresponding to a first preset operation, the first set of elements corresponding to a first set of virtual actions pre-configured to be associated to the first preset operation, wherein a first element in the first set of elements is presented in a first style; in response to receiving a switching request associated with the first preset operation, switching a second element in the first set of elements from a second style to the first style, wherein the second element is determined from the first set of elements based on the switching request; and in response to receiving the first preset operation in the interaction interface, triggering the virtual object to perform a first virtual action corresponding to the second element in the virtual scene. Thus, embodiments of the present disclosure can improve the interaction efficiency in the virtual scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and particularly to interactive methods, apparatuses, devices, computer-readable storage media, and computer program products. Background Technology

[0002] With the development of computer technology, users can interact with computers and other users through computers and in scenarios provided by computers (such as simulation environments, virtual environments, etc.), and obtain interactive experiences that cannot be achieved or are difficult to achieve in the physical environment. Summary of the Invention

[0003] In a first aspect of this disclosure, an interaction method in a virtual scene is provided. The method includes: presenting a first set of elements corresponding to a first preset operation in an interactive interface associated with a virtual object, the first set of elements corresponding to a first set of virtual actions pre-configured to be associated with the first preset operation, wherein a first element in the first set of elements presents a first style; in response to receiving a switching request associated with the first preset operation, switching a second element in the first set of elements from a second style to a first style, wherein the second element is determined from the first set of elements based on the switching request; and in response to receiving the first preset operation in the interactive interface, triggering the virtual object to perform the first virtual action corresponding to the second element in the virtual scene.

[0004] In a second aspect of this disclosure, an apparatus for interaction in a virtual scene is provided. The apparatus includes: an element presentation module configured to present, in an interactive interface associated with a virtual object, a first set of elements corresponding to a first preset operation, the first set of elements corresponding to a first set of virtual actions pre-configured to be associated with the first preset operation, wherein a first element in the first set of elements presents a first style; a first style switching module configured to, in response to receiving a switching request associated with the first preset operation, switch a second element in the first set of elements from a second style to a first style, wherein the second element is determined from the first set of elements based on the switching request; and a first action triggering module configured to, in response to receiving the first preset operation in the interactive interface, trigger a virtual object to perform a first virtual action corresponding to the second element in the virtual scene.

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

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.

[0007] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions that, when executed by a processor, implement the method of the first aspect.

[0008] It should be understood that the content described in this content 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 2 A schematic diagram of an interactive interface according to some embodiments of the present disclosure is shown;

[0012] Figure 3 A schematic diagram of an interactive interface according to some embodiments of the present disclosure is shown;

[0013] Figures 4A to 4B A schematic diagram illustrating a switching process according to some embodiments of the present disclosure is shown;

[0014] Figures 5A to 5B A schematic diagram of a switching process according to other embodiments of the present disclosure is shown;

[0015] Figure 6 A schematic diagram of the element layout according to some embodiments of the present disclosure is shown;

[0016] Figure 7 A flowchart illustrating the interaction process according to some embodiments of this disclosure is shown;

[0017] Figure 8 A schematic structural block diagram of an interactive device according to certain embodiments of the present disclosure is shown;

[0018] Figure 9 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation

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

[0020] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0021] 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. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0022] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.

[0023] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.

[0024] As described above, users can interact with various types of virtual objects through a computer within a virtual environment provided by the computer. For example, in some games, users control virtual objects to perform different virtual actions in a virtual scene through different operations (e.g., different key presses).

[0025] With the advancement of computer technology, the number of virtual actions achievable in games is increasing, enriching the user's interactive experience. However, this diversification of interactions also means that users need to master a greater variety of operations, increasing the difficulty of operation and thus affecting the efficiency of interaction between users and virtual objects.

[0026] In view of this, embodiments of the present disclosure propose an interaction scheme in a virtual scene. According to this scheme, in an interactive interface associated with a virtual object, a first set of elements corresponding to a first preset operation can be presented. The first set of elements corresponds to a first set of virtual actions pre-configured to be associated with the first preset operation, wherein the first element in the first set of elements presents a first style. Further, in response to receiving a switching request associated with the first preset operation, a second element in the first set of elements can be switched from a second style to a first style, wherein the second element is determined from the first set of elements based on the switching request. Further, in response to receiving the first preset operation in the interactive interface, the virtual object can be triggered to execute the first virtual action corresponding to the second element in the virtual scene.

[0027] Based on this approach, embodiments of this disclosure can support richer virtual actions in virtual scenes using a limited number of interaction types, thereby reducing the user's interaction learning cost and improving the interaction efficiency in virtual scenes.

[0028] Example Environment

[0029] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.

[0030] In this example environment 100, an application 120 is installed on an electronic device 110. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices. The application 120 can be an application that supports user interaction, such as a game application, or any other suitable application.

[0031] exist Figure 1 In environment 100, if application 120 is active, application 120 can provide a presentation interface 150 for user 140.

[0032] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).

[0033] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support content presentation in electronic devices 110.

[0034] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus, and Wi-Fi connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.

[0035] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.

[0036] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.

[0037] Example Interaction

[0038] The following will be referenced Figure 2 To describe an example interaction process according to an embodiment of this disclosure. Figure 2 Example user interface 200 according to some embodiments of the present disclosure is shown. User interface 200 may be, for example, provided by [the present disclosure]. Figure 1 The electronic device 110 shown is provided.

[0039] like Figure 2 As shown, electronic device 110 can, for example, present virtual objects 210. As some examples, virtual objects include two-dimensional or three-dimensional objects suitable for interaction in a virtual scene. As an example, a virtual scene may include a game scene, and virtual objects may include virtual characters within the game scene. For ease of understanding, this disclosure uses a game scene as an example for illustrative purposes; it should be understood that this disclosure is not limited thereto. For example, this disclosure can also be applied to virtual reality scenes, simulation scenes, and so on.

[0040] Taking a game scenario as an example, the electronic device 110 can display one or more labels on the interactive interface 200. For example, such as Figure 2 As shown, the configuration interface 200 can display tabs such as 221 (Start) and 222 (Skill). As examples, the electronic device 110 can display the corresponding interface in response to a user's trigger action on any tab.

[0041] As examples, electronic device 110 may display the interactive interface 200 by default and switch to the corresponding interface upon receiving an operation on another tag. Electronic device 110 may also display the interactive interface 200 in response to a user's selection of tag 221.

[0042] In some embodiments, the electronic device 110 can enter an interactive interface associated with the virtual object 210 in response to user triggering operations such as the control 231 (training) or the control 232 (start) in the interactive interface 200. Such an interactive interface allows users to control the virtual object to perform some virtual actions in the virtual scene presented by the interactive interface.

[0043] The following combination Figure 3 To describe the interaction process according to embodiments of this disclosure. Figure 3 An example interactive interface 300 according to some embodiments of the present disclosure is shown. The interactive interface 300 may be, for example, provided by [the present disclosure]. Figure 1 The electronic device 110 shown is provided.

[0044] like Figure 3 As shown, electronic device 110, for example, responds to a user's trigger operation on control 232 (Start) and presents an interactive interface 300 associated with virtual object 210. The interactive interface 300 may display virtual object 210 in a virtual scene. Virtual object 210 may be associated with one or more preset operations so that the user can control the virtual actions of virtual object through one or more preset operations.

[0045] As examples, the presentation of the interactive interface 600 can represent the entry of a virtual object into an interactive event. For instance, the presentation of the interactive interface 600 can represent a virtual object 210 entering a multiplayer game match event, where the match event can include at least multiple users A associated with multiple different virtual objects. As an example, multiple users B can be associated with the same faction to cooperate in completing the virtual event. Alternatively, multiple users can be associated with different factions to compete against each other.

[0046] Furthermore, the electronic device 110 displays elements corresponding to one or more preset operations in the element display area 310 of the interactive interface to improve the intuitiveness of virtual actions. For example... Figure 3 As shown, the electronic device 110 can display elements 311, 312, and 313 corresponding to the preset operation "right mouse click," and elements 321, 322, and 323 corresponding to the preset operation "left mouse click." Elements 311, 312, and 313 can correspond to a set of virtual actions associated with the preset operation "right mouse click." Elements 321, 322, and 323 can correspond to another set of virtual actions associated with the preset operation "left mouse click."

[0047] For ease of understanding, element 311 can correspond to virtual action A, element 312 can correspond to virtual action B, element 313 can correspond to virtual action C, element 321 can correspond to virtual action M, element 322 can correspond to virtual action N, and element 323 can correspond to virtual action P. It should be understood that the specific identification numbers in this disclosure are not intended to limit the embodiments of this disclosure, and will not be repeated hereafter.

[0048] Furthermore, the electronic device 110 can present a first style for one of multiple elements corresponding to a preset operation, and a second style for the other elements corresponding to the preset operation, to represent the virtual actions supported by the preset operation at the current moment. To improve objectivity, the first style and the second style are different styles, such as different element sizes.

[0049] like Figure 3 As shown, a user can trigger a "right mouse click" or a "left mouse click" to control the virtual object to perform a corresponding virtual action. For example, if the user triggers a "right mouse click," the electronic device 110 can control the virtual object 210 to perform the virtual action A corresponding to element 311. As another example, if the user triggers a "left mouse click," the electronic device 110 can control the virtual object 210 to perform the virtual action M corresponding to element 321.

[0050] Furthermore, the electronic device 110 controls the virtual object 210 to perform other virtual actions by supporting the reception of switching requests for preset operations and switching the element presenting the first style among multiple elements corresponding to the preset operation.

[0051] The following reference Figures 4A to 4B The following describes the switching process of some embodiments of this disclosure. Figures 4A to 4B A schematic diagram of switching processes 400A to 400B according to some embodiments of the present disclosure is shown. Switching processes 400A to 400B can, for example, be implemented in... Figure 3 The elements are displayed in area 310.

[0052] Specifically, such as Figure 4A As shown, a user can trigger a switching operation associated with a preset operation "right-click," and the electronic device 110 thereby generates a switching request associated with the preset operation "right-click." For example, the switching operation could be triggered by the user pressing the "Q" key.

[0053] Therefore, electronic device 110 can receive a switching request associated with the preset operation "right-click". Through this switching request, electronic device 110 can switch element 322 from the second style to the first style.

[0054] As examples, the handover request may also be generated by the electronic device 110. For instance, the handover request may be generated based on the execution of a first handover task in the electronic device 110. Furthermore, the handover request may be generated in other ways and sent to the electronic device 110, which is not limited by the embodiments of this disclosure.

[0055] Based on this, the electronic device 110 can present the following to the user: Figure 4A The element layout shown includes element 312 presented in the first style and element 311 presented in the second style.

[0056] In some embodiments, in response to receiving a switching request associated with a preset operation, the electronic device 110 may adjust the display order of multiple elements corresponding to the preset operation on the interactive interface to more intuitively present the virtual actions performed by the virtual object 210 supported by the preset operation at the current moment.

[0057] As examples, the display order can be designed according to the actual interface design, and the embodiments of this disclosure do not limit the display order. For example, the display order can be to prioritize displaying elements presenting a first style and randomly display elements presenting a second style. As another example, the display order can be based on a switching request, cyclically adjusting the display order of multiple elements corresponding to preset operations associated with the switching request, and so on.

[0058] by Figure 4A For example, electronic device 110 can receive a switching request associated with the preset operation "right-click". Through this switching request, electronic device 110 can adjust the display order of elements 311, 312, and 313 to element 312, element 313, and element 311, so as to display elements 311, 312, and 313 in a loop.

[0059] Based on this, the user can trigger a preset operation "right-click" to control the virtual action B of the virtual object 210. Specifically, when the user triggers the preset operation "right-click", the electronic device 110 responds by receiving the preset operation "right-click" in the interactive interface, triggering the virtual object 210 to perform the virtual action B corresponding to element 312 in the virtual scene.

[0060] Thus, users can control multiple virtual actions of the virtual object 210 through a preset operation, "right-clicking the mouse," without needing to master three operations. This reduces the difficulty of operation for users and increases their operation speed, thereby improving the efficiency of interaction between users and the virtual object.

[0061] In some embodiments, such as Figure 4B As shown, the user can also trigger a switching operation for the preset operation "left mouse click," thereby generating a switching request with respect to the preset operation "left mouse click." For example, the switching operation could be the user pressing the key "E." For ease of distinction, the switching request for the preset operation "right mouse click" can be considered the first switching request, and the switching request for the preset operation "left mouse click" can be considered the second switching request.

[0062] Therefore, in response to receiving a second switching request for the preset operation "right mouse click", the electronic device 110 can switch the virtual actions that can be triggered by the preset operation "left mouse click", as well as the display style and display order of the elements 321, 322, and 323 corresponding to the preset operation "left mouse click". For specific implementation methods, please refer to the above embodiments, which will not be elaborated here.

[0063] by Figure 4B For example, in response to receiving a switching request associated with a preset operation "left mouse click", the electronic device 110 can present element 322 in a first style and element 321 in a second style. Furthermore, the electronic device 110 can adjust the display order of elements 321, 322, and 323 to element 322, element 323, and element 321, to cycle through the display of elements 321, 322, and 323.

[0064] Based on this, the electronic device 110 can respond to receiving a preset operation "right-click" in the interactive interface, triggering the virtual object 210 to perform the virtual action B corresponding to the element 312 in the virtual scene. For specific implementation, please refer to the above embodiment of the electronic device 110 receiving the preset operation "left-click".

[0065] Therefore, users can control more virtual actions of the virtual object 210 with fewer preset operations, further reducing the difficulty of operation and increasing the speed of operation, thereby further improving the interaction efficiency between the user and the virtual object.

[0066] As shown in the above embodiments, users can independently control multiple sets of virtual actions through multiple preset operations. In some embodiments, the electronic device 110 can also couple multiple preset operations of the user to improve the accuracy of user interaction with the interactive interface. Specifically, the electronic device 110 receives a first switching request for the preset operation "right-click". Based on the first switching request, the electronic device 110 can adjust not only the display style and display order of multiple elements corresponding to the preset operation "right-click", but also the display style and display order of multiple elements corresponding to the preset operation "left-click".

[0067] In some embodiments, the electronic device 110 may, in response to receiving a first switching request for a preset operation "right-click", restore the elements 321, 322, and 323 corresponding to the preset operation "left-click" to a preset initial display style (e.g., element 321 is presented in a first style and element 322 is presented in a second style), initial display order (e.g., the display order of element 321-element 322-element 323), etc.

[0068] In some embodiments, the electronic device 110 may, in response to the same first interactive operation, trigger the generation of a first switching request and a second switching request to further reduce the types of operations.

[0069] As examples, the first interactive operation is used to control multiple sets of virtual actions in a coordinated manner. For instance, when a user presses the "Q" key, the electronic device 110 can generate a first switching request and a second switching request to control virtual actions A / B / C and virtual actions M / N / P in a coordinated manner.

[0070] In some embodiments, the electronic device 110 may also generate a first switching request and a second switching request based on the same switching task. For example, based on the execution of the same timed task, the electronic device 110 may automatically generate the first switching request and the second switching request at a set time.

[0071] The following combination Figures 5A to 5BTo describe the switching process according to some other embodiments of this disclosure. Figures 5A to 5B The following are shown switching processes 500A to 500B according to other embodiments of the present disclosure. Switching processes 500A to 500B can be implemented, for example, in... Figure 3 The elements are displayed in area 310.

[0072] As some examples, such as Figure 5A As shown, before the user triggers the first interactive operation (e.g., the user triggers the key "Q"), the electronic device 110 presents element 311 corresponding to the preset operation "right mouse click" and element 321 corresponding to the preset operation "left mouse click" in a first style, and presents elements 312, 313, 322 and 323 in a second style.

[0073] Furthermore, the user triggers the key "Q". The electronic device 110 can respond to the user triggering the key "Q" by generating a first switching request and a second switching request. In response to receiving the first switching request and the second switching request, the electronic device 110 can switch elements 313 and 323 to the first style.

[0074] In some embodiments, in response to a first switching request and a second switching request, the electronic device 110 can switch elements 311 and 321 to the second style, and adjust the display order of multiple elements corresponding to the preset operation "right mouse click" and the display order of multiple elements corresponding to the preset operation "left mouse click".

[0075] Furthermore, the electronic device 110 can automatically return the elements to their original positions after the first interactive operation ends. Continuing with the previous example, after the first interactive operation ends, the electronic device 110 can switch elements 311 and 321 to the first style, and elements 313 and 323 to the second style. Furthermore, after the first interactive operation ends, the electronic device 110 can adjust the display order of multiple elements corresponding to the preset operation "right mouse click" to element 313-element 311-element 312, and adjust the display order of multiple elements corresponding to the preset operation "left mouse click" to element 323-element 321-element 322.

[0076] Therefore, users do not need to manually reposition elements. This greatly improves the accuracy of user interaction with virtual objects.

[0077] As some examples, such as Figure 5BAs shown, the electronic device 110 can also generate a third switching request and a fourth switching request in response to the user triggering the "E" key. In response to receiving the third and fourth switching requests, the electronic device 110 can switch elements 312 and 322 to the first style, switch elements 311 and 321 to the second style, and adjust the display order of multiple elements corresponding to the preset operation "right mouse click" and the display order of multiple elements corresponding to the preset operation "left mouse click," etc. For specific implementation details, please refer to the above embodiments.

[0078] Therefore, in response to the first interactive operation / the end of the interactive operation, the electronic device 110 can adjust the display style, display order, etc. of multiple elements corresponding to the preset operation "right mouse click", and adjust the display style, display order, etc. of multiple elements corresponding to the preset operation "left mouse click". Based on this method, the embodiments of this disclosure can further reduce the types of user operations, improve the accuracy of interaction, and thus further improve the interaction efficiency between the user and virtual objects.

[0079] In some embodiments, the switching request may also be triggered based on a continuous interactive operation. Based on this, the electronic device 110 can control the virtual action to execute the virtual action corresponding to the switched element during the period when the continuous interactive operation is triggered. Furthermore, during the period when the continuous interactive operation is not triggered, the electronic device 110 can also control the virtual action to execute the virtual action corresponding to a preset default element.

[0080] Taking the user continuously pressing the "Q" key as an example, such as Figure 5A As shown, during the period when the user continuously presses the "Q" key, the electronic device 110 can detect whether the user has triggered a preset operation "right-click". If the user triggers the preset operation "right-click", the electronic device 110 can trigger the virtual object 210 to perform the virtual action C corresponding to element 313 in the virtual scene.

[0081] Therefore, the electronic device 110 can prevent users from being unclear about the virtual actions supported by the current preset operation due to switching elements multiple times, thereby further improving the accuracy of user interaction with virtual objects and improving the efficiency of user interaction with virtual objects.

[0082] It should be understood that the layout of elements in the embodiments of this disclosure is for ease of understanding only and should not be construed as a limitation of this disclosure. The identifiers for elements, virtual actions, etc. in this disclosure are only for differentiation and should not be construed as a limitation of the elements, virtual actions, etc. of this disclosure.

[0083] As some examples, element layout can be as follows Figure 4A / Figure 4B As shown, this is a multi-line element, or as... Figure 5A / Figure 5B As shown, this is a symmetrical multi-row element layout. Element layout can also be done as follows: Figure 6 As shown. Figure 6 A schematic diagram of the element layout according to some embodiments of the present disclosure is shown, such as... Figure 6 As shown, the element layout can be multiple groups of elements that are symmetrical from left to right and presented in a row. The embodiments of this disclosure do not limit the element layout.

[0084] Back Figure 2 In some embodiments, the electronic device 110 also supports configuring virtual actions of the virtual object before it enters the interactive interface, in order to improve the quality of the virtual actions. Specifically, the electronic device 110 can respond to a user's trigger operation on the control 232 and present a configuration interface associated with the virtual object to the user.

[0085] In some embodiments, the interactive interface can be associated with interactive events in a virtual scene (e.g., match events in a multiplayer game). The electronic device 110 can present a configuration interface associated with the virtual object before the virtual object participates in the interactive event. For example, a user can configure virtual actions for the virtual object before entering a multiplayer game.

[0086] Furthermore, during the period when the virtual object participates in the interactive event, the electronic device 110 can disable the configuration interface associated with the virtual object. This configuration function allows embodiments of this disclosure to improve the quality of virtual actions while ensuring the accuracy of user interactions in the interactive interface, thereby guaranteeing the efficiency of user interaction with the virtual object.

[0087] As examples, the electronic device 110 disables the configuration interface associated with the virtual object in ways including, but not limited to, prohibiting the presentation of the configuration interface to the user, or presenting the configuration interface but prohibiting the user from interacting with it. Based on this approach, embodiments of this disclosure can present a first group of elements corresponding to the first preset operation in the interactive interface, without needing to assign an operation to each element in the first group, reducing the number of operations the user needs to master, thereby improving the interaction efficiency in the virtual scene. Furthermore, embodiments of this disclosure, by presenting the first element in a first style, or presenting the second element in a first style based on a switching request, enable the virtual actions currently supported by the first preset operation to be distinguished more quickly and intuitively, reducing the difficulty of operation and further improving the interaction efficiency in the virtual scene.

[0088] It should be understood that the specific interaction methods mentioned in the above embodiments (e.g., specific mouse operations, specific keyboard key positions, etc.) are merely exemplary, and this disclosure is not intended to limit them.

[0089] Therefore, the embodiments of this disclosure can support richer virtual actions in virtual scenes using a limited number of interaction types, thereby reducing the user's interaction learning cost and improving the interaction efficiency in virtual scenes.

[0090] Example process

[0091] Figure 7 A flowchart illustrating an example process 700 of interaction in a virtual scene according to some embodiments of the present disclosure is shown. Process 700 can be implemented at electronic device 110. Reference is made below. Figure 1 Describe process 700.

[0092] In frame 710, electronic device 110 presents a first set of elements corresponding to a first preset operation in an interactive interface associated with a virtual object. The first set of elements corresponds to a first set of virtual actions that are pre-configured to be associated with the first preset operation, wherein the first element in the first set of elements presents a first style.

[0093] In box 720, electronic device 110, in response to receiving a switching request associated with a first preset operation, switches a second element in a first group of elements from a second style to a first style, wherein the second element is determined from the first group of elements based on the switching request.

[0094] In frame 730, electronic device 110 responds to receiving a first preset operation in the interactive interface, triggering a virtual object to perform a first virtual action corresponding to the second element in the virtual scene.

[0095] In some embodiments, before receiving a switching request associated with the first preset operation, process 700 further includes: in response to receiving the first preset operation in the interactive interface, triggering a virtual object to perform a second virtual action corresponding to the first element in the virtual scene.

[0096] In some embodiments, process 700 further includes: in response to receiving a switching request associated with a first preset operation, switching the first element from a first style to a second style.

[0097] In some embodiments, process 700 further includes: adjusting the display order of the first group of elements in the interactive interface in response to receiving a switching request associated with the first preset operation.

[0098] In some embodiments, the switching request is a first switching request, and process 700 further includes: presenting a second set of elements corresponding to a second preset operation in an interactive interface, the second set of elements corresponding to a second set of virtual actions pre-configured to be associated with the second preset operation, wherein a third element in the second set of elements presents a first style; in response to receiving a second switching request associated with the first preset operation, switching a fourth element in the second set of elements from a second style to a first style, wherein the fourth element is determined from the second set of elements based on the second switching request; and in response to receiving a second preset operation in the interactive interface, triggering a virtual object to perform a third virtual action corresponding to the fourth element in a virtual scene.

[0099] In some embodiments, the first switching request and the second switching request are triggered in response to the same first interactive operation.

[0100] In some embodiments, process 700 further includes: in response to the end of the first interactive operation, switching the first element and the third element to the first style, and switching the second element and the fourth element to the second style.

[0101] In some embodiments, the switching request is triggered by a second interactive operation, and in response to receiving a first preset operation in the interactive interface, triggering the virtual object to perform a first virtual action corresponding to the second element in the virtual scene further includes: during the second interactive operation, detecting the first preset operation; and in response to detecting the first preset operation, triggering the virtual object to perform a first virtual action corresponding to the second element in the virtual scene.

[0102] In some embodiments, the first set of virtual actions is determined from a preset set of virtual actions via a configuration interface associated with the virtual object.

[0103] In some embodiments, the interactive interface is associated with an interactive event in the virtual scene, the configuration interface is presented before the virtual object joins the interactive event, and the configuration interface associated with the virtual object is disabled during the interactive event.

[0104] Example devices and equipment

[0105] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 8 A schematic structural block diagram of an apparatus 800 for interaction in a virtual scene according to certain embodiments of the present disclosure is shown. The apparatus 800 may be implemented as or included in the electronic device 110 discussed above. Various modules / components in the apparatus 800 may be implemented by hardware, software, firmware, or any combination thereof.

[0106] like Figure 8As shown, the device 800 includes an element presentation module 810, configured to present a first set of elements corresponding to a first preset operation in an interactive interface associated with a virtual object. The first set of elements corresponds to a first set of virtual actions pre-configured to be associated with the first preset operation, wherein the first element in the first set of elements presents a first style; a first style switching module 820, configured to switch a second element in the first set of elements from a second style to a first style in response to receiving a switching request associated with the first preset operation, wherein the second element is determined from the first set of elements based on the switching request; and a first action triggering module 830, configured to trigger the virtual object to perform a first virtual action corresponding to the second element in a virtual scene in response to receiving the first preset operation in the interactive interface.

[0107] In some embodiments, the device 800 further includes a second action triggering module, configured to: in response to receiving a first preset operation in the interactive interface, trigger the virtual object to perform a second virtual action corresponding to the first element in the virtual scene.

[0108] In some embodiments, the device 800 further includes a second style switching module configured to: in response to receiving a switching request associated with a first preset operation, switch the first element from a first style to a second style.

[0109] In some embodiments, the device 800 further includes an order adjustment module configured to: adjust the display order of the first group of elements in the interactive interface in response to receiving a switching request associated with a first preset operation.

[0110] In some embodiments, the switching request is a first switching request, and the device 800 further includes a second preset operation response module, configured to: present a second set of elements corresponding to the second preset operation in the interactive interface, the second set of elements corresponding to a second set of virtual actions pre-configured to be associated with the second preset operation, and a third element in the second set of elements presenting a first style; in response to receiving a second switching request associated with the first preset operation, switch a fourth element in the second set of elements from the second style to the first style, the fourth element being determined from the second set of elements based on the second switching request; and in response to receiving a second preset operation in the interactive interface, trigger a virtual object to perform a third virtual action corresponding to the fourth element in the virtual scene.

[0111] In some embodiments, the first switching request and the second switching request are triggered in response to the same first interactive operation.

[0112] In some embodiments, the device 800 further includes a third style switching module, configured to: switch the first element and the third element to the first style and switch the second element and the fourth element to the second style in response to the end of the first interaction operation.

[0113] In some embodiments, the switching request is triggered by a second interactive operation, and the first action triggering module 830 is further configured to: detect a first preset operation during the second interactive operation; and in response to detecting the first preset operation, trigger the virtual object to perform a first virtual action corresponding to the second element in the virtual scene.

[0114] In some embodiments, the first set of virtual actions is determined from a preset set of virtual actions via a configuration interface associated with the virtual object.

[0115] In some embodiments, the interactive interface is associated with an interactive event in the virtual scene, the configuration interface is presented before the virtual object joins the interactive event, and the configuration interface associated with the virtual object is disabled during the interactive event.

[0116] The units included in device 800 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units may 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 800 may 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 may 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.

[0117] Figure 9 A block diagram of an electronic device 900 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 9 The electronic device 900 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 9 The electronic device 900 shown can be used to achieve Figure 1 Electronic devices 110 or Figure 8 Device 800.

[0118] like Figure 9As shown, electronic device 900 is in the form of a general-purpose electronic device. Components of electronic device 900 may include, but are not limited to, one or more processors or processing units 910, memory 920, storage device 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. Processing unit 910 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 920. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 900.

[0119] Electronic device 900 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 900, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 920 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 630 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 and accessible within electronic device 900.

[0120] Electronic device 900 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 9 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 920 may include computer program product 925 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.

[0121] The communication unit 940 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 900 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 900 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0122] Input device 950 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 960 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 900 can also communicate with one or more external devices (not shown) via communication unit 940 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 900, or with any device that enables electronic device 900 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0123] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0124] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, 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.

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

[0126] Computer-readable program instructions can 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.

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

[0128] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they 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 various implementations disclosed herein.

Claims

1. A method for interaction in a virtual scene, comprising: presenting, in an interaction interface associated with a virtual object, a first set of elements corresponding to a first preset operation, the first set of elements corresponding to a first set of virtual actions pre-configured to be associated to the first preset operation, wherein a first element of the first set of elements is presented in a first style; in response to receiving a switching request associated with the first preset operation, switching a second element of the first set of elements from a second style to the first style and adjusting a display order of the first set of elements in the interaction interface to indicate that a first virtual action corresponding to the second element is a currently supported virtual action to be triggered, wherein the second element is determined from the first set of elements based on the switching request; and in response to receiving the first preset operation in the interaction interface, triggering the virtual object to perform the first virtual action corresponding to the second element in a virtual scene.

2. The method of claim 1, wherein prior to receiving the switching request associated with the first preset operation, the method further comprises: in response to receiving the first preset operation in the interaction interface, triggering the virtual object to perform a second virtual action corresponding to the first element in a virtual scene.

3. The method of claim 1, further comprising: in response to receiving the switching request associated with the first preset operation, switching the first element from the first style to the second style.

4. The method of claim 1, wherein the switching request is a first switching request, the method further comprising: presenting, in the interaction interface, a second set of elements corresponding to a second preset operation, the second set of elements corresponding to a second set of virtual actions pre-configured to be associated to the second preset operation, wherein a third element of the second set of elements is presented in the first style; in response to receiving a second switching request associated with the first preset operation, switching a fourth element of the second set of elements from the second style to the first style, wherein the fourth element is determined from the second set of elements based on the second switching request; and in response to receiving the second preset operation in the interaction interface, triggering the virtual object to perform a third virtual action corresponding to the fourth element in a virtual scene.

5. The method of claim 4, wherein the first switching request and the second switching request are triggered in response to a same first interaction operation.

6. The method of claim 5, further comprising: in response to the first interaction operation ending, switching the first element and the third element to the first style and switching the second element and the fourth element to the second style.

7. The method of claim 1, wherein the switching request is triggered by a second interaction operation, and in response to receiving the first preset operation in the interaction interface, triggering the virtual object to perform the first virtual action corresponding to the second element in a virtual scene further comprises: ​ ​ during the second interaction operation, detecting the first preset operation; and in response to detecting the first preset operation, triggering the virtual object to perform the first virtual action corresponding to the second element in the virtual scene.

8. The method of claim 1, wherein the first set of virtual actions is determined from a set of preset virtual actions via a configuration interface associated with the virtual object.

9. The method of claim 8, wherein the interactive interface is associated with an interactive event in the virtual scene, the configuration interface is presented before the virtual object joins the interactive event, and during the interactive event, the configuration interface associated with the virtual object is disabled.

10. An apparatus for interaction in a virtual scene, comprising: an element presenting module configured to present, in an interactive interface associated with a virtual object, a first set of elements corresponding to a first preset operation, the first set of elements corresponding to a first set of virtual actions pre-configured to be associated with the first preset operation, wherein a first element in the first set of elements is presented in a first style; a first style switching module configured to, in response to receiving a switching request associated with the first preset operation, switch a second element in the first set of elements from a second style to the first style and adjust a display order of the first set of elements in the interactive interface to indicate that a first virtual action corresponding to the second element is a currently supported virtual action to be triggered, wherein the second element is determined from the first set of elements based on the switching request; and a first action triggering module configured to, in response to receiving the first preset operation in the interactive interface, trigger the virtual object to perform the first virtual action corresponding to the second element in a virtual scene.

11. An electronic device, comprising: 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, the instructions when executed by the at least one processing unit cause the electronic device to perform the method according to any one of claims 1-9.

12. A computer-readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method according to any one of claims 1-9.

13. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-9.

Citation Information

Patent Citations

  • Control response method and device for game

    CN110639203A

  • State icon display method and device, terminal and storage medium

    CN111921191A