Functional item-based interaction method and apparatus, electronic device, storage medium, and program product
By displaying multiple levels of functional items in a single command within a virtual scene, the problem of low display efficiency caused by multiple clicks is solved, improving display efficiency and human-computer interaction efficiency, and optimizing hardware resource utilization.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-07-29
- Publication Date
- 2026-03-19
AI Technical Summary
When displaying multi-level function items in related games, multiple clicks are required, resulting in low display efficiency, low human-computer interaction efficiency, and low utilization of hardware processing resources.
By responding to the function item display command, multiple function items and their corresponding at least one level of sub-function items can be directly displayed in the virtual scene, so that multiple levels of function items can be displayed with a single display command.
It improves the display efficiency of multi-level functional items in virtual scenes, the efficiency of human-computer interaction, and the utilization rate of hardware processing resources.
Smart Images

Figure CN2025111211_19032026_PF_FP_ABST
Abstract
Description
Function item-based interaction method and device, electronic device, storage medium, and program product
[0001] Cross-reference to Related Applications
[0002] Embodiments of the present application are based on and claim priority from Chinese Patent Application No. 202411271738.1, filed on September 10, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0003] The present application relates to the technical field of Internet, and in particular to a function item-based interaction method and device, an electronic device, a computer readable storage medium, and a computer program product. BACKGROUND
[0004] In related games, when displaying multiple levels of function items, multiple function items are first displayed, and then a user clicks on a certain function item among the multiple function items, so that the next level of function items belonging to the function item are displayed. That is, if a user wants to display multiple levels of function items, multiple click operations are required, which results in low display efficiency of the multiple levels of function items, and low human-computer interaction efficiency and utilization of hardware processing resources. SUMMARY
[0005] Embodiments of the present application provide a function item-based interaction method and device, an electronic device, a computer readable storage medium, and a computer program product, which can improve the display efficiency of multiple levels of function items in a virtual scene, the human-computer interaction efficiency, and the utilization of hardware processing resources.
[0006] The technical solution of the embodiments of the present application is as follows:
[0007] The embodiments of the present application provide a function item-based interaction method, which is executed by an electronic device and includes the following steps:
[0008] In response to a function item display instruction, multiple function items in a virtual scene are displayed, and a target function item among the multiple function items is in a selected state;
[0009] In an associated region of the target function item, at least one level of sub-function items corresponding to the function of the target function item is displayed;
[0010] In response to a trigger operation on a target sub-function item among the at least one level of sub-function items, a first object is controlled to perform an interactive operation indicated by the function of the target sub-function item.
[0011] The embodiments of the present application provide a function item-based interaction device, which includes the following components:
[0012] The first display module is configured to display a plurality of function items in a virtual scene in response to a function item display instruction, wherein a target function item in the plurality of function items is in a selected state.
[0013] The second display module is configured to display at least one level of sub-function items corresponding to a function of the target function item in an associated region of the target function item.
[0014] The interaction module is configured to control a first object to perform an interactive operation indicated by the function of a target sub-function item in response to a triggering operation on the target sub-function item in the at least one level of sub-function items.
[0015] Embodiments of the present application provide an electronic device, comprising:
[0016] The memory is configured to store computer executable instructions or computer programs.
[0017] The processor is configured to execute the computer executable instructions or computer programs stored in the memory to implement the function item based interaction method provided by the embodiments of the present application.
[0018] Embodiments of the present application provide a computer readable storage medium storing computer executable instructions or computer programs, wherein the computer executable instructions or computer programs are executed by a processor to implement the function item based interaction method provided by the embodiments of the present application.
[0019] Embodiments of the present application provide a computer program product or computer program, which comprises computer executable instructions or computer programs, and a processor executes the computer executable instructions or computer programs to enable the electronic device to perform the function item based interaction method provided by the embodiments of the present application.
[0020] The embodiments of the present application have the following beneficial effects:
[0021] In response to a function item display instruction, a plurality of function items including a target function item in a selected state are displayed, and at least one level of sub-function items corresponding to a function of the target function item are displayed in an associated region of the target function item. In this way, compared with the scheme in the related art that requires multiple click operations to display multiple levels of function items, the present application directly displays a plurality of function items and at least one level of sub-function items corresponding to the target function item in a virtual scene upon receiving a function item display instruction, that is, directly displays multiple levels of function items. Thus, multiple levels of function items can be displayed by only one display instruction, which not only improves the display efficiency of multiple levels of function items in a virtual scene, but also improves the human-computer interaction efficiency in a virtual scene and the hardware resource utilization rate of an electronic device. BRIEF DESCRIPTION OF DRAWINGS
[0022] FIG. 1 is a schematic diagram of an architecture of a function item based interaction system 100 according to an embodiment of the present application;
[0023] FIG. 2 is a schematic diagram of an electronic device according to an embodiment of the present application;
[0024] FIG. 3 is a schematic diagram of a function item based interaction method according to an embodiment of the present application;
[0025] FIG. 4A is a schematic diagram of a virtual wheel according to an embodiment of the present application;
[0026] FIG. 4B is a schematic diagram of a virtual wheel according to an embodiment of the present application;
[0027] FIG. 5 is a schematic diagram of a function list according to an embodiment of the present application;
[0028] FIG. 6 is a schematic diagram of multiple function items displayed in different display sizes according to an embodiment of the present application;
[0029] FIG. 7 is a schematic diagram of a function item in an expanded state or a collapsed state according to an embodiment of the present application;
[0030] FIG. 8 is a schematic diagram of a function item in an expanded state displayed in different styles according to an embodiment of the present application;
[0031] FIG. 9 is a schematic diagram of two levels of sub-function items of a target function corresponding to a target function item according to an embodiment of the present application;
[0032] FIG. 10 is a schematic diagram of an interaction operation corresponding to a target interaction function performed in a virtual scene according to an embodiment of the present application;
[0033] FIG. 11 is a schematic diagram of a process of switching a sub-function item according to an embodiment of the present application;
[0034] FIG. 12 is a schematic diagram of a process of operation prompt information according to an embodiment of the present application;
[0035] FIG. 13 is a schematic diagram of a process of switching a function item in a selected state according to an embodiment of the present application;
[0036] FIG. 14 is a schematic diagram of switching a function item in a selected state according to an embodiment of the present application;
[0037] FIG. 15 is a schematic diagram of switching a function item in a selected state according to an embodiment of the present application;
[0038] FIG. 16 is a schematic diagram of displaying at least one level of sub-function items corresponding to other function items according to an embodiment of the present application;
[0039] FIG. 17 is a display diagram of a plurality of function items according to an embodiment of the present application;
[0040] FIG. 18 is a flow diagram of a function item-based interaction method according to an embodiment of the present application;
[0041] FIG. 19 is a flow diagram of a function item-based interaction method according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purposes, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings, and the described embodiments should not be regarded as limiting the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative work under the premise that there is no conflict, belong to the scope of protection of the present application.
[0043] In the following description, "some embodiments" are described, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subset of all possible embodiments, and can be combined with each other without conflict.
[0044] In the following description, the terms "first\second\third" are only to distinguish similar objects, and do not represent a specific order of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0046] Before the embodiments of the present application are further described in detail, the terms and phrases involved in the embodiments of the present application are explained, and the terms and phrases involved in the embodiments of the present application are applicable to the following explanations.
[0047] 1) In response to, for indicating the condition or state on which the operation is performed, when the dependent condition or state is met, one or more operations performed can be real-time or have a set delay; in the absence of special instructions, there is no restriction on the execution order of the operations performed.
[0048] 2) Virtual scene, a virtual scene displayed (or provided) by the application when running on the terminal. The virtual scene can be a simulated environment of the real world, a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene.
[0049] For example, the virtual scene can include a sky, a land, a sea, and the like, the land can include a desert, a city, and the like, and the user can control a virtual object to perform an activity in the virtual scene, the activity including, but not limited to, at least one of adjusting a body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The virtual scene can be displayed in a first-person perspective (e.g., playing a virtual object in the game in the user's own perspective); can be displayed in a third-person perspective (e.g., the user chasing a virtual object in the game to play the game); or can be displayed in a bird's-eye view perspective, and the above-mentioned perspectives can be switched arbitrarily.
[0050] 3) Virtual object, an image of various people and things that can interact in the virtual scene, or an active object in the virtual scene. The active object can be a virtual person, a virtual animal, an animation character, or the like, such as a person, an animal, a plant, an oil drum, a wall, a stone, and the like displayed in the virtual scene. The virtual object can be a virtual image in the virtual scene representing the user. The virtual scene can include multiple virtual objects, each virtual object having its own shape and volume in the virtual scene and occupying a part of the space in the virtual scene.
[0051] For example, the virtual object can be a user role controlled by an operation on the client, can be an artificial intelligence (AI) set in a virtual scene battle through training, or can be a non-user role (NPC) set in a virtual scene interaction. The number of virtual objects participating in the interaction in the virtual scene can be pre-set or dynamically determined according to the number of clients joining the interaction.
[0052] 4) Third-person perspective, a perspective in which a camera in the game is located at a certain distance behind the player character, and the character and all battle elements in a certain environment around the character can be seen in the picture.
[0053] 5) Client, also known as user end, refers to a program corresponding to the server to provide local services for users. Except for some application programs that can only run locally, it is generally installed on a common client and needs to cooperate with the server to run, that is, there needs to be a corresponding server and service program in the network to provide corresponding services. Therefore, specific communication connections need to be established between the client and the server to ensure the normal operation of the application program, such as a game client.
[0054] 6) Virtual wheel, a virtual function item carrier with fixed shape (such as circle, square, etc.) integrating multiple function items, used to carry multiple function items, usually used in games, software or operating systems, so that users can quickly perform specific operations or commands; it allows users to quickly access a series of predefined functions or options through simple operations (such as sliding, clicking or using shortcut keys), thereby improving efficiency and convenience.
[0055] Referring to FIG. 1, FIG. 1 is a schematic diagram of the architecture of the function item-based interaction system 100 provided by the embodiments of the present application. The terminal (exemplarily showing the terminal 400) is provided with a function item-based interaction client 401 (i.e., a game APP, a browser APP, etc.). The terminal 400 is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and uses unlimited or wired links to realize data transmission.
[0056] The server 200 is configured to send display data of a virtual scene to the terminal 400.
[0057] The terminal 400 is further configured to receive the display data of the virtual scene, and display the virtual scene based on the display data of the virtual scene; display a plurality of function items in the virtual scene in response to a function item display instruction, and a target function item in the plurality of function items is in a selected state; display at least one level of sub-function items corresponding to the function of the target function item in an associated area of the target function item; and control a first object to perform an interactive operation indicated by the function of the target sub-function item in response to a triggering operation on the target sub-function item in the at least one level of sub-function items.
[0058] In some embodiments, the server 200 can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal 400 can be a smartphone, a tablet computer, a notebook computer, a desktop computer, a set-top box, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device, a smart speaker, and a smart watch, but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication, which is not limited in the embodiments of the present application.
[0059] Next, the electronic device implementing the function item-based interaction method provided in the embodiments of the present application is described. Referring to FIG. 2, FIG. 2 is a structural schematic diagram of an electronic device provided in the embodiments of the present application. The electronic device can be a server or a terminal. Taking the terminal shown in FIG. 1 as an example, the electronic device shown in FIG. 2 includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in the terminal 400 are coupled together by a bus system 440. It can be understood that the bus system 440 is configured to realize the connection and communication between the components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for the purpose of clear illustration, all kinds of buses are marked as the bus system 440 in FIG. 2.
[0060] The processor 410 can be an integrated circuit chip with signal processing capability, such as a general purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor can be a microprocessor or any conventional processor.
[0061] The user interface 430 includes one or more output devices 431 that enable display of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432 that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0062] The memory 450 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, and the like. The memory 450 optionally includes one or more storage devices remotely located from the processor 410 in a physical location.
[0063] The memory 450 includes volatile memory or non-volatile memory, and can also include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), and the volatile memory can be random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0064] In some embodiments, the memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, which are exemplarily described below.
[0065] The operating system 451 includes system programs configured to handle various basic system services and perform hardware-related tasks, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks;
[0066] The network communication module 452 is configured to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including Bluetooth, Wireless Fidelity (WiFi), Universal Serial Bus (USB), and the like;
[0067] The presentation module 453 is configured to enable display of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, and the like) associated with the user interface 430.
[0068] The input processing module 454 is configured to detect and interpret one or more user inputs or interactions from the input devices 432.
[0069] In some embodiments, the apparatus provided by the embodiments of the present application can be implemented in software, and FIG. 2 shows a function-based interaction apparatus 455 stored in the memory 450, which can be in the form of programs and plug-ins and the like, including the following software modules: a first display module 4551, a second display module 4552, and an interaction module 4553. These modules are logical, and thus can be combined or further split according to the implemented functions. The functions of the various modules will be described below.
[0070] In other embodiments, the apparatus provided by the embodiments of the present application can be implemented in hardware, for example, the function-based interaction apparatus provided by the embodiments of the present application can be a hardware decoding processor programmed to execute the function-based interaction method provided by the embodiments of the present application. For example, the hardware decoding processor can be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate Arrays (FPGAs), or other electronic elements.
[0071] In some embodiments, the terminal or the server can implement the function item-based interaction method provided by the embodiments of the present application by running a computer program. For example, the computer program can be a native program or a software module in an operating system; can be a native application program (APP), i.e., a program that needs to be installed in an operating system to run, such as an instant messaging APP, a web browser APP; can also be a mini-program, i.e., a program that only needs to be downloaded into a browser environment to run; and can also be a mini-program that can be embedded into any APP. In summary, the above computer program can be any form of application program, module or plug-in.
[0072] Based on the above description of the function item-based interaction system and the electronic device provided by the embodiments of the present application, the function item-based interaction method provided by the embodiments of the present application is described below. In actual implementation, the function item-based interaction method provided by the embodiments of the present application is implemented by a terminal or a server alone, or is implemented by a terminal and a server in cooperation, and the function item-based interaction method provided by the embodiments of the present application is taken as an example of being executed by the terminal 400 in FIG. 1 alone. Referring to FIG. 3, FIG. 3 is a flowchart of a function item-based interaction method provided by an embodiment of the present application, and the steps shown in FIG. 3 will be described.
[0073] In step 101, the terminal displays a plurality of function items in a virtual scene in response to a function item display instruction, and a target function item in the plurality of function items is in a selected state.
[0074] In actual implementation, an application program supporting a virtual scene is installed on the terminal. The application program can be any one of a massively multiplayer online role-playing game, a first-person shooter game, a third-person shooter game, a multiplayer online battle arena game, a virtual reality application program, a three-dimensional map program, or a multiplayer battle royale survival game. When the user opens the application program on the terminal and the terminal runs the application program, the terminal presents a picture of a virtual scene, where the picture of the virtual scene is observed from a first-person object perspective or a third-person perspective.
[0075] The picture of the virtual scene can include a virtual object, where the virtual object can be a player character controlled by a current player or a player character controlled by another player (a teammate) belonging to the same group as the current player, and the user can use the terminal to operate the virtual object in the virtual scene to perform activities.
[0076] In actual implementation, the display instruction can be triggered by a user through triggering a shortcut key, for example, receiving a pressing operation on the H key to trigger the display instruction for the function items in the virtual scene, that is, to display the plurality of function items; or the display instruction can also be triggered by a control displayed in the interface of the virtual scene, for example, a function item display control is displayed in the interface of the virtual scene, the function item display control is used to display the function items, so as to trigger the display instruction for the plurality of function items in response to a triggering operation on the function item display control, that is, to display the plurality of function items; here, the interface of the virtual scene refers to the display interface of the terminal of the client corresponding to the running virtual scene.
[0077] It should be noted that the plurality of function items correspond to a plurality of functions in the virtual scene, and the plurality of functions of the virtual scene have a one-to-one correspondence with the corresponding function items, that is, a primary tab, and for the target function item in the association region in the following text, the function of the displayed target function item corresponds to at least one level of sub-function items, when the level of the sub-function item is the next level of the function item, the sub-function item is a secondary tab, and when the level of the sub-function item is the next level of the function item corresponding to the secondary tab, the sub-function item is a tertiary tab, that is, if the level of the sub-function item is N, the sub-function item is an N+1 level tab.
[0078] For example, taking a primary tab and a secondary tab as an example, in a user interface, a primary tab (Primary Tabs) and a secondary tab (Secondary Tabs) usually refer to different types of tabs in a multi-tab system, and are used to describe the page organization manner in the user interface, and are respectively used to organize and navigate different content regions in the user interface.
[0079] For example, in an application interface, a primary tab can be a main directory or a main function module, such as in an editor, a primary tab can be an option such as “Home”, “Insert”, “View”, “File”, etc.; and each primary tab can contain at least one secondary tab, and the secondary tab is secondary relative to the primary tab, that is, a sub-tab under the primary tab, which is usually used to further subdivide and access more specific content or function regions, and the secondary tab can be nested under the primary tab or located at other positions in the page to provide more options for the user; taking the editor described above as an example, if the primary tab is “Insert”, there can be secondary tabs such as “Picture”, “Link”, “Special Character” under the primary tab, and the user can trigger the primary tab to expand the secondary tabs and then select a specific function.
[0080] In actual implementation, the display manners of the plurality of function items are different, for example, the plurality of function items can be displayed through a plurality of wheels or a list, and then, the process of displaying the plurality of function items in response to the display instruction for the function item in the virtual scene is described.
[0081] In some embodiments, if the plurality of function items are displayed through a plurality of wheels, the process of displaying the plurality of function items in the virtual scene in response to the function item display instruction can be that, in response to the function item display instruction, a plurality of virtual wheels corresponding to the plurality of function items are displayed; and then, in the subsequent process, the process of displaying the at least one level of sub-function items corresponding to the function of the target function item in the associated region of the target function item can be that, in the target virtual wheel corresponding to the target function item, the at least one level of sub-function items corresponding to the function of the target function item is displayed.
[0082] It should be noted that the associated region of the target function item refers to one of the upper region, the lower region, the left region, the right region and the middle region of the target function item; when the plurality of virtual wheels are displayed, the virtual wheels can be displayed in the interface of the virtual scene in a floating manner, wherein the position of the floating display of the virtual wheel can be preset, and the embodiments of the present application do not limit this.
[0083] Exemplarily, referring to FIG. 4A, FIG. 4A is a schematic diagram of a virtual wheel according to an embodiment of the present application, and based on FIG. 4A, the three virtual wheels indicated by 401, 402 and 403, that is, the plurality of function items, correspond to three functions "quick speech", "gesture" and "spray paint" respectively, that is, the three function items, wherein the "quick speech" is in a selected state, and thus in the virtual wheel corresponding to the "quick speech", the next level of sub-function items corresponding to the function of the "quick speech" is displayed.
[0084] In this way, the plurality of function items are displayed through the one-to-one corresponding plurality of virtual wheels, and thus in the target virtual wheel corresponding to the target function item, the at least one level of sub-function items corresponding to the function of the target function item is displayed; in this way, the containing relationship of "parent function-sub function" is directly and intuitively embodied, and the user can quickly understand the logic of the function system; at the same time, through the independent display space of the wheel, the sub-function items of different function items are isolated in the respective wheels, so as to avoid that all contents are stacked in the same interface, the user only needs to focus on the target wheel of the current operation, and the visual interference is reduced; in addition, the user operates through the path of "function item-> corresponding wheel-> sub-function item", each step is associated with the target function, the invalid operation is reduced (for example, to use the "calculator" under "tools", the "tools" wheel is directly found to be expanded, and it is not necessary to find the "calculator" in the menu layer by layer), the interactive path is more clear, and the operation efficiency is improved.
[0085] In some embodiments, if the plurality of function items are displayed through a wheel, the process of displaying the plurality of function items in the virtual scene in response to the function item display instruction can also be that, in response to the function item display instruction, a virtual wheel is displayed in the virtual scene, and the plurality of function items are displayed in the virtual wheel.
[0086] It should be noted that the number of virtual wheels here is one, and the plurality of function items are displayed in the virtual wheel. For example, referring to FIG. 4B, which is a schematic diagram of a virtual wheel according to an embodiment of the present application, based on FIG. 4B, in response to the function item display instruction, the virtual wheel indicated by 404 is displayed in the virtual scene, and four function items such as “gesture”, “quick speech”, “personalized voice”, and “spray paint” are displayed in the virtual wheel.
[0087] In this way, the plurality of function items are displayed through the virtual wheel, so that the virtual wheel can display more function items in limited space, save linear space, and improve the utilization rate of space resources in the display interface.
[0088] In actual implementation, after the virtual wheel is displayed in the virtual scene in response to the function item display instruction, the target function item can be in a selected state by default, that is, the target function item in the default state is directly displayed. In other words, the process of displaying the plurality of function items in the virtual wheel can include displaying the target function item in the selected state and the other function items in the unselected state in the virtual wheel.
[0089] Alternatively, the target function item is in the selected state through a selection operation performed by the user. In other words, after the virtual wheel is displayed in the virtual scene in response to the function item display instruction, the plurality of function items in the unselected state can also be displayed in the virtual wheel. In response to a selection operation on the target function item in the plurality of function items, the target function item is controlled to be in the selected state. In other words, the process of displaying the plurality of function items in the virtual wheel can include displaying the target function item in the selected state and the other function items in the unselected state in the virtual wheel.
[0090] It should be noted that the selection operation on the target function item in the plurality of function items can include a click operation or a press operation on the target function item, and the present application does not limit this.
[0091] In this way, the target function item is in the selected state through the selection operation performed by the user, and the user needs to make the function item enter the selected state through an explicit selection operation (such as clicking, sliding, and checking), which means that the initiative of the interaction is completely in the hands of the user, and the user's interaction experience is improved. Meanwhile, the selection operation of the user and the "selected state" of the function item form a direct causal relationship, so that the user clearly perceives the influence of his behavior on the interface state, and the interaction feedback is clear, and the operation ambiguity is reduced.
[0092] In some other embodiments, if the multiple function items are displayed through a list, in response to the function item display instruction, the process of displaying the multiple function items in the virtual scene can be that, in response to the function item display instruction, a first function list in the virtual scene is displayed, and the multiple function items are displayed in the first function list; and in the subsequent process, the process of displaying the function items corresponding to at least one level of sub-function items of the function of the target function item in the associated area of the target function item can be that, in the associated area of the target function item, a second function list is displayed, and the function items corresponding to at least one level of sub-function items of the function of the target function item are displayed in the second function list.
[0093] It should be noted that the associated area of the target function item refers to one of the upper area, the lower area, the left area, the right area, and the middle area of the target function item; when the function list is displayed, the function list is displayed in the interface of the virtual scene, and the position of the function list is pre-set, which is not limited in the embodiments of the present application.
[0094] Exemplarily, referring to FIG. 5, FIG. 5 is a schematic diagram of a function list provided by the embodiments of the present application, based on FIG. 5, the first function list indicated by the dashed box 501, and the second function list indicated by the dashed box 502, wherein in the first function list indicated by the dashed box 501, multiple function items are displayed, which correspond to three functions "quick speech", "gesture", and "spray paint" respectively, that is, three function items, wherein the "spray paint" is in the selected state, so that in the associated area of the "spray paint", the second function list indicated by the dashed box 502 is displayed, and the sub-function items of the next level corresponding to the "spray paint" function are displayed in the second function list.
[0095] In this way, the plurality of function items are displayed through the first function list, so that at least one level of sub-function items corresponding to the function of the target function item are displayed through the second function list in the associated area of the target function item. In this way, the first function list serves as a "main directory" to centrally display core function items, and the second function list serves as a "subdirectory" to display sub-functions in the associated area only when the target function item is selected, thereby intuitively reflecting the inclusion relationship of "main function-sub function". The user can quickly understand the hierarchical logic of the function system and avoid information confusion. At the same time, the sub-function is displayed only in the associated area, rather than globally expanded, thereby reducing the occupation of the interface by unnecessary information, helping the user focus on the function item of the current operation, and reducing visual interference. In addition, after the user selects the target function item through the first list, the second list automatically loads the corresponding sub-function in the associated area, and the operation path is "select main function-view sub-function", without the need for additional interface switching or triggering complex interaction, the operation path is linearized, and the operation efficiency is improved.
[0096] In some embodiments, different function items can be displayed in different styles, that is, whether a function item is in a selected state is determined based on the display style. Specifically, in response to the function item display instruction, the process of displaying the plurality of function items in the virtual scene can be that, in response to the function item display instruction, the target function item is displayed in a first style and the other function items are displayed in a second style in the virtual scene; wherein the first style is different from the second style, the first style is used to indicate that the target function item is in a selected state, and the second style is used to indicate that the other function items are in a non-selected state.
[0097] It should be noted that the other function items are function items other than the target function item in the plurality of function items, and the different styles indicate different display sizes or different display effects. In this way, different function items are displayed in different styles, so that whether a function item is in a selected state is determined based on the display style. In this way, the operation result can be delivered in the first time through the style change of the function item, without relying on text prompts or additional pop-up windows, thereby providing instant visual feedback. At the same time, compared with indicating the function item in the selected state only through other ways, indicating through style difference is more in line with the sensitivity of human vision to "difference", especially suitable for complex interfaces (when multiple function items coexist), the user does not need to focus on details to quickly locate the selected item. In addition, the different styles form a clear "selected / non-selected" boundary, avoid user misoperation caused by ambiguous state, strengthen the operation boundary, and reduce the probability of subsequent misoperation.
[0098] Next, for different styles, the process of displaying the plurality of function items in response to the display instruction for the function items in the virtual scene is described.
[0099] In some embodiments, the first style corresponds to a first display size, and the second style corresponds to a second display size; thus, the process of displaying the target function item in the first style can be to display the target function item in the first display size, and the process of displaying the other function items in the second style can be to display the other function items in the second display size; wherein the first display size is larger than the second display size.
[0100] It should be noted that the first display size and the second display size are both preset. For example, referring to FIG. 6, which is a schematic diagram of multiple function items displayed in different display sizes according to an embodiment of the present application, based on FIG. 6, when the multiple function items are displayed as virtual wheels, 601, 602, and 603 indicate three virtual wheels, i.e., the multiple function items, which correspond to three functions "quick speaking", "gesture", and "spraying paint", i.e., three function items, wherein "quick speaking" is in a selected state, and thus the target function item "quick speaking" is displayed in the first display size, and "gesture" and "spraying paint" are in unselected states, and thus the other function items "gesture" and "spraying paint" are displayed in the second display size; wherein the first display size is larger than the second display size.
[0101] In this way, the target function item is displayed in the first display size, and the other function items are displayed in the second display size which is smaller than the first display size. Thus, since the size itself can be used as a visual signal of "function importance" to help the user understand the hierarchical relationship of the function items, the user can quickly perceive the function item that needs to be focused on by displaying the function items in different sizes, and the importance difference of the function items is clear. Meanwhile, when a large number of function items coexist, the size difference can replace the text label to deliver the hierarchical information, avoid the interface from becoming bloated due to too many text explanations, and enable the user to understand the primary and secondary relationship of the functions through visual intuition. In addition, the larger display size not only improves the recognition, but also expands the interactive area, reduces the click error, and the secondary function items are displayed in small size, which not only retains the accessibility (not hidden), but also reduces the interference with the core operation and the probability of misoperation.
[0102] In some other embodiments, the first style indicates special effect display, and the second style indicates normal display; thus, the process of displaying the target function item in the first style can be to display the target function item in the target special effect, and the process of displaying the other function items in the second style can be to display the other function items in normal effect.
[0103] It should be noted that the target special effect can be preset, for example, can be highlight display or dynamic light display, and the present application does not limit the same; and the normal effect refers to no special effect display.
[0104] In some embodiments, in addition to displaying different function items in different styles, it can also be determined whether a function item is in a selected state through the display state of the function item, such as an expanded state or a collapsed state. Specifically, in response to a function item display instruction, the process of displaying multiple function items in a virtual scene can be that, in response to the function item display instruction, in the virtual scene, the target function item in the expanded state and the other function items in the collapsed state are displayed. When the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in a visible state, and the function item and the sub-function items corresponding to the function item are displayed in combination in the interface of the virtual scene. When the function item is in the collapsed state, the function item is in the visible state, the sub-function items corresponding to the function item are in an invisible state, and the function item is displayed independently in the interface of the virtual scene.
[0105] It should be noted that the other function items are the function items other than the target function item in the multiple function items. When the function item is in the expanded state, the function item and the sub-function items corresponding to the function item at each level are both in the visible state, or the function item and the sub-function items corresponding to the function item at a target level are both in the visible state, where the target level can be pre-set. When the function item is in the collapsed state, the function item is in the visible state, the sub-function items corresponding to the function item are in the invisible state, and the function item is displayed independently in the interface of the virtual scene. Here, the visible state means that the function item is displayed in the interface of the virtual scene, and the invisible state means that the corresponding sub-function item is not displayed in the interface of the virtual scene. In this way, when the function item is in the expanded state, it can be confirmed that the corresponding function item is selected, and when the function item is in the collapsed state, it can be confirmed that the corresponding function item is not selected.
[0106] For example, referring to FIG. 7, which is a schematic diagram of the function item in the expanded state or the collapsed state provided by the embodiments of the present application, based on FIG. 7, the function item indicated by 701 is in the expanded state, and the function items indicated by 702 and 703 are in the collapsed state, so that in response to the function item display instruction, in the virtual scene, the target function item in the expanded state as indicated by 701 and the other function items in the collapsed state as indicated by 702 and 703 are displayed. Wherein, the target function item in the expanded state as indicated by 701 and the corresponding sub-function items are both in the visible state, and the target function item and the corresponding sub-function items are displayed in combination in the interface of the virtual scene. The function items as indicated by 702 and 703 are in the visible state, but the sub-function items corresponding to the two function items are in the invisible state, and the function items are displayed independently in the interface of the virtual scene.
[0107] Thus, whether the function item is in the selected state is determined by the display state of the function item, such as the expanded state or the collapsed state, the selected state is converted into a perceivable spatial change, so that the user can determine whether the function item is selected only by the display state of the function item without relying on additional identifiers (such as check boxes, highlight colors), and at the same time, the additional independent visual symbols (such as check icons, borders) designed for the selected state are avoided, the state is transmitted through the morphological change of the function item itself, the interface is simpler, and the visual interference is reduced.
[0108] In some embodiments, the target function item and other function items can all be in the expanded state, so that whether the function item is in the selected state is also determined based on the display style. Specifically, in response to the function item display instruction, the process of displaying the plurality of function items in the virtual scene can be that, in response to the function item display instruction, the target function item in the expanded state is displayed in the virtual scene in a third style, and the other function items in the expanded state are displayed in a fourth style; wherein the third style is different from the fourth style, when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are all in the visible state, and the function item and the sub-function items corresponding to the function item are combined and displayed in the interface of the virtual scene.
[0109] It should be noted that the other function items are function items other than the target function item in the plurality of function items; when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item at each level are all in the visible state, or the function item and the sub-function items corresponding to the function item at the target level are all in the visible state, wherein the target level can be pre-set; and the third style is similar to the first style described above, the fourth style is similar to the second style described above, the third style is different from the fourth style, the third style is used to indicate that the target function item is in the selected state, and the fourth style is used to indicate that the other function items are in the non-selected state; similarly, as described above, different styles indicate different display sizes or different display effects, which will not be described here.
[0110] Exemplarily, referring to FIG. 8, FIG. 8 is a schematic diagram of displaying function items in the expanded state in different styles according to an embodiment of the present application, based on FIG. 8, here different styles indicate different display effects, wherein 801, 802 and 803 indicate function items in the expanded state, and the function item indicated by 801 is also in the selected state, that is, the function item indicated by 801 is the target function item, so that in response to the display instruction for the function items in the virtual scene, the target function item in the expanded state, such as the function item indicated by 801, is displayed in a third style, that is, a target special effect, and the other function items in the expanded state, such as the function items indicated by 802 and 803, are displayed in a fourth style, that is, a normal effect.
[0111] In this way, different function items are displayed in different styles, so that it is determined whether the function item is in the selected state based on the display style. In this way, the operation result can be delivered in the first time through the style change of the function item, without relying on text prompts or additional pop-up windows, thereby providing instant visual feedback. At the same time, compared with indicating the function item in the selected state through other ways, the difference in style is more in line with the sensitivity of human vision to "difference", especially suitable for complex interfaces (when multiple function items coexist), and the user can quickly locate the selected item without focusing on details. In addition, different styles form a clear "selected / selected" boundary, avoid user errors due to ambiguous state, strengthen the operation boundary, and reduce the probability of subsequent errors.
[0112] Step 102, in the associated area of the target function item, display at least one level of sub-function items corresponding to the function of the target function item.
[0113] In actual implementation, the at least one level can be one or more levels. When the number of levels is one, the process of displaying at least one level of sub-function items corresponding to the function of the target function item in the associated area of the target function item can be to display at least one sub-function item of the next level corresponding to the function of the target function item in the associated area of the target function item.
[0114] It should be noted that the associated area of the target function item refers to one of the upper area, the lower area, the left area, the right area and the middle area of the target function item. For example, referring to FIG. 4A, the function item indicated by 401 is the target function item, so that at least one sub-function item of the next level corresponding to the function of the target function item is displayed in the associated area of the target function item, which means that at least one sub-function item of the next level corresponding to the function of the target function item is displayed in the middle area of the target function item. As shown in FIG. 5, the lowermost "spray paint" function item in the dashed box 501 is the target function item, so that at least one sub-function item of the next level corresponding to the function of the target function item is displayed in the associated area of the target function item, which means that at least one sub-function item of the next level corresponding to the function of the target function item is displayed in the right area of the target function item.
[0115] When the number of levels is multiple, the target sub-function item in each level of sub-function items is in the selected state; so that the process of displaying at least one level of sub-function items corresponding to the function of the target function item in the associated area of the target function item can be to display at least one sub-function item of the first level corresponding to the function of the target function item, and the sub-function item of the next level of the level of each target sub-function item in the associated area of the target function item.
[0116] It should be noted that the associated area of the target function item refers to one of the upper area, the lower area, the left area, the right area and the middle area of the target function item; for example, taking the number of levels as two levels as an example, displaying the two levels of sub-function items of the function corresponding to the target function item in the associated area of the target function item refers to displaying at least one sub-function item of the first level of the function corresponding to the target function item in the associated area of the target function item, and then the target sub-function item in the at least one sub-function item of the first level is in a selected state, so that at least one sub-function item of the second level is displayed in the associated area of the target sub-function item of the first level in the selected state, and then the target sub-function item in the at least one sub-function item of the second level is in a selected state; wherein the associated area of the target sub-function item also refers to one of the upper area, the lower area, the left area, the right area and the middle area of the target sub-function item, and the embodiments of the present application do not limit this.
[0117] Exemplarily, referring to FIG. 9, FIG. 9 is a schematic diagram of displaying two levels of sub-function items of a function corresponding to a target function item provided by an embodiment of the present application, based on FIG. 9, 901 indicates a target function item, 902 indicates a target sub-function item in the next level of the target function item, and the dashed box 903 indicates a sub-function item in the next level of the target sub-function item indicated by 902, wherein 904 indicates a target sub-function item in the second level of the sub-function item indicated by the dashed box 903.
[0118] That is, eight sub-function items of the first level of the function corresponding to the target function item indicated by 901 are displayed in the middle area of the target function item indicated by 901, and then the target sub-function item indicated by 902 in the eight sub-function items of the first level is in a selected state, so that nine sub-function items of the second level are displayed in the upper area of the target sub-function item of the first level in the selected state as indicated by 902 as indicated by the dashed box 903, and then the first sub-function item of the nine sub-function items of the second level, that is, the target sub-function item indicated by 904, is in a selected state.
[0119] In this way, when the number of levels is multiple and the target sub-function item in each level of sub-function items is in a selected state, at least one sub-function item of the first level of the function corresponding to the target function item is displayed in the associated area of the target function item, and the sub-function item of the next level of the level of each target sub-function item is displayed; in this way, in a multi-level system, if all function items of all levels are displayed at the same time, it will cause interface information overload, and only the sub-function items of the first level and the sub-function items of the next level of the target sub-function item are displayed in the associated area, which not only retains the necessary navigation and operation entrance, but also avoids occupying space by irrelevant level information.
[0120] In actual implementation, after displaying the sub-function items of the at least one level corresponding to the function of the target function item, the interactive operation indicated by the function of the sub-function item can also be performed, and then the process of performing the interactive operation indicated by the sub-function item is described in different manners.
[0121] In some embodiments, the target sub-function item corresponding to the target interactive function is included in the at least one sub-function item; thus, after displaying the sub-function items of the at least one level corresponding to the function of the target function item, the interactive operation corresponding to the target interactive function can also be performed in the virtual scene in response to a trigger operation for the target sub-function item in the at least one level of sub-function items.
[0122] It should be noted that the interactive function is used to trigger an interactive operation in the virtual scene, such as sending a quick message, etc.; the trigger operation for the target sub-function item in the at least one level of sub-function items is, for example, a click operation or a press operation, that is, a determination operation; thus, when the trigger operation for the target sub-function item in the at least one level of sub-function items is received, the interactive operation corresponding to the target interactive function is performed in the virtual scene; in this way, the operation intention of the user is clearly corresponding to the response of the virtual scene, and after the user triggers the sub-function item, the corresponding interactive operation can be directly observed in the virtual scene, the cognitive gap between the operation and the result is reduced, the understanding of the operation logic by the user is enhanced, and the relevance of the operation and the feedback is improved.
[0123] In actual implementation, as described above, when the sub-function items of the at least one level corresponding to the function of the target function item are displayed, one sub-function item in each level is in a selected state, and the sub-function items of the next level corresponding to the sub-function item in the selected state are also displayed. However, the sub-function item in the selected state can or can not be the target sub-function item, that is, the triggered target sub-function item, and then the process of triggering the target sub-function item is described in the two cases respectively.
[0124] If the target sub-function item is the sub-function item in the selected state by default, that is, the target sub-function item is already in the selected state, the trigger operation for the target sub-function item in the at least one level of sub-function items can be a click operation for the target sub-function item triggered based on the cursor, including a double-click operation or a single-click operation, or can be a determination operation performed based on a shortcut key, for example, triggering the shortcut key again, such as the H key.
[0125] That is, in response to the click operation for the target sub-function item or the determination operation performed based on the shortcut key, the interactive operation corresponding to the target interactive function is performed in the virtual scene.
[0126] If the target sub-function item is not the sub-function item in the selected state by default, i.e., the target sub-function item is not in the selected state, the triggering operation for the target sub-function item in the at least one level of sub-function items can be a switching operation for indicating that the sub-function item in the corresponding level in the selected state will be switched from the pre-set default sub-function item to the target sub-function item, or the triggering operation includes a switching operation for indicating that the sub-function item in the selected state will be switched from the pre-set default sub-function item to the target sub-function item, and the clicking operation for the target sub-function item in the selected state includes a double-click operation or a single-click operation, or a determination operation triggered based on a shortcut key, such as an operation for a shortcut key such as an H key;
[0127] The switching operation can be triggered based on the cursor, for example, moving the cursor to the sensing area of the target sub-function item, or can not be triggered based on the cursor, for example, performing a triggering operation for a shortcut key, such as clicking one of the up key, the down key, the left key, and the right key, to select the target sub-function item, and the embodiments of the present application do not limit this;
[0128] That is, in response to the switching operation for the sub-function item in the target level in the selected state, the target sub-function item is controlled to be in the selected state; then the interactive operation corresponding to the target interactive function can be simultaneously executed in the virtual scene, or the interactive operation corresponding to the target interactive function can be executed in the virtual scene in response to the clicking operation for the target sub-function item in the selected state or the determination operation triggered based on the shortcut key after the target sub-function item is controlled to be in the selected state.
[0129] It should be noted that the plurality of function items correspond to a plurality of functions in the virtual scene, and the plurality of functions include different types, such as some function items for controlling virtual objects in the virtual scene to perform operations, for example, a function item "gesture" (the gesture function item is used to display a gesture model corresponding to a virtual object controlled by a user in the virtual scene) and a function item "spray paint" (the spray paint function item is used to draw spray paint on an object model facing the user), some function items for controlling virtual objects to interact with other virtual objects, or some function items for controlling the current account to interact with other accounts, for example, a function item "quick speech" (the quick speech function item is used to quickly publish a pre-set text message in the virtual scene) and a function item "personalized voice" (the personalized voice function item is used to quickly play a pre-configured voice in the virtual scene) and the like;
[0130] The sub-function item is a specific interactive function corresponding to the corresponding function item. For example, when the function item is "quick speaking", the corresponding at least one sub-function item is different text messages, so that in response to a selection operation on a target text message in the at least one text message, an interactive operation corresponding to a target interactive function is performed in the virtual scene, that is, the target text message is sent to the chat channel.
[0131] For example, referring to FIG. 10, FIG. 10 is a schematic diagram of performing an interactive operation corresponding to a target interactive function in a virtual scene according to an embodiment of the present application. Based on FIG. 10, 1001 indicates a target function item, and 1002 indicates a target sub-function item in at least one hierarchical sub-function item corresponding to the target function item indicated by 1001, so that in response to a trigger operation on the target sub-function item in the at least one hierarchical sub-function item, an interactive operation corresponding to the target interactive function is performed in the virtual scene.
[0132] In other embodiments, the target sub-function item in the target hierarchical level in the at least one hierarchical sub-function item is in a selected state; therefore, after displaying the at least one hierarchical sub-function item corresponding to the function of the target function item, the interactive operation corresponding to the interactive function indicated by the target sub-function item can also be performed in the virtual scene in response to the target sub-function item in the selected state satisfying a trigger condition.
[0133] It should be noted that the target hierarchical level can be any one of the at least one hierarchical level, such as the last hierarchical level, and the trigger condition can include, for example, that the selected duration of the target sub-function item reaches a target duration, etc. Specifically, after displaying the at least one hierarchical sub-function item corresponding to the function of the target function item, the selected duration can be recorded, which is used to indicate the duration of the target sub-function item in the selected state; therefore, when the selected duration reaches the target duration, it is determined that the target sub-function item in the selected state satisfies the trigger condition, and then the interactive operation corresponding to the interactive function indicated by the target sub-function item is performed in the virtual scene; wherein, here, the selected duration can be directly displayed on the front end, or can be recorded on the back end, or both displayed on the front end and recorded on the back end, which is not limited by the embodiments of the present application.
[0134] In addition, the trigger condition can include receiving a determination operation on the target sub-function item in the selected state, which can be a click operation on the target sub-function item, including a double-click operation or a single-click operation, or can be an operation based on a shortcut key, such as a trigger shortcut key, such as an H key, etc.
[0135] In this way, when the target sub-function item in the selected state meets the trigger condition, the interactive operation corresponding to the interactive function indicated by the target sub-function item is executed in the virtual scene; in this way, the trigger condition is equivalent to a filtering mechanism, which prevents operations that do not meet the scene requirements from being executed, avoids processing invalid instructions, thereby saving resources such as computing power and memory, and reducing invalid operations and resource waste.
[0136] In some embodiments, the target sub-function item can also be switched. Specifically, in the associated area of the target function item, at least one sub-function item of the first level corresponding to the function of the target function item and the sub-function items of the next level of the level in which the target sub-function item is located are displayed. In addition, in response to a switching operation for the target sub-function item of the target level, the target sub-function item in the selected state can be switched to another sub-function item; and in response to a determination operation for the other sub-function item in the selected state, the operation indicated by the other sub-function item is executed in the virtual scene.
[0137] It should be noted that the switching operation for the target sub-function item of the target level can be triggered by the cursor, for example, in response to a movement operation for the cursor, the cursor is moved from the target sub-function item to another sub-function item, and when the cursor moves to the other sub-function item, the switching operation for the target sub-function item is triggered, that is, in response to the movement operation for the cursor, the cursor is controlled to move in the interface of the virtual scene; if the cursor moves into the sensing area of the other sub-function item, the switching operation for the target sub-function item is triggered, and here, the other sub-function item is any one of the plurality of sub-function items except the target sub-function item.
[0138] Alternatively, the switching operation for the target sub-function item can be triggered by a non-cursor, for example, by a sliding operation of a mouse wheel to trigger the switching operation for the target sub-function item, or by a shortcut key, for example, a click operation of the up, down, left, and right keys to trigger the switching operation for the target sub-function item, and the like. The embodiments of the present application do not limit this.
[0139] It should be noted that the determination operation for the other sub-function item in the selected state can be a trigger operation such as a click operation (including a single click operation or a double click operation), a selection operation, and the like for the other sub-function item in the selected state, for example, a click operation based on the cursor, or because the other sub-function item is already in the selected state, the determination operation can also be performed based on a shortcut key, for example, a trigger shortcut key such as the H key.
[0140] For example, when the function item is "quick speech", the corresponding multiple sub-function items are different text messages, so that in response to the switching operation on the text message in the selected state, the text message in the selected state is switched to another text message, and then in response to the determination operation on the other text message in the selected state, the operation indicated by the other sub-function item, i.e., the indicated interactive operation, is performed in the virtual scene, i.e., the other text message is sent to the chat channel.
[0141] For example, referring to FIG. 11, which is a process diagram of switching sub-function items provided by an embodiment of the present application, based on FIG. 11, the target sub-function item indicated by 1102 in FIG. 11a is in the first level of the target function item indicated by 1101, so that in response to the switching operation on the target sub-function item indicated by 1102 in the first level, the target sub-function item in the selected state is switched to another sub-function item indicated by 1103 in FIG. 11b, and then in response to the determination operation on the other sub-function item indicated by 1103 in FIG. 11b in the selected state, the operation indicated by the other sub-function item is performed in the virtual scene.
[0142] In this way, if the user is not satisfied with the target sub-function item in the selected state, the target sub-function item in the selected state can be switched to another sub-function item by performing the switching operation, so that in response to the determination operation on the other sub-function item in the selected state, the operation indicated by the other sub-function item is performed in the virtual scene; in this way, when the user is not satisfied with the currently selected target sub-function item, the selected item can be quickly replaced by the switching operation, without the need to exit the current scene or restart the process, so that the function selection is changed from one-time decision to dynamic adjustment, improving the flexibility of user operation and adapting to dynamic demand changes.
[0143] In some embodiments, prompt information can also be displayed, so that based on the prompt information, the switching operation is triggered. Specifically, in response to the function item display instruction, operation prompt information is displayed, and the operation prompt information is used to prompt the manner of performing different operations on the function item; in response to the switching operation on the target function item, the function item in the selected state is switched to another function item by the target function item; wherein the switching operation is triggered in the manner indicated by the operation prompt information; so that the process of displaying the sub-function items of at least one level corresponding to the function of the target function item in the associated area of the target function item can be to display the sub-function items of at least one level corresponding to the function of the other function item in the associated area of the other function item in the selected state.
[0144] It should be noted that the associated area of the other function item in the selected state refers to one of the upper area, the lower area, the left area, the right area and the middle area of the other function item; different operations on the function item can refer to selection of the function item in the virtual wheel, switching operation on the function item in the virtual wheel, or hiding operation on the virtual wheel, etc., which is not limited by the embodiments of the present application, so that if the user wants to switch the function item in the selected state, the function item in the selected state can be switched to the other function item based on the operation prompt information in response to the switching operation on the target function item.
[0145] Exemplarily, referring to FIG. 12, FIG. 12 is a process diagram of operation prompt information provided by the embodiments of the present application, and the operation prompt information indicated by the dashed box 1201 is based on FIG. 12, so that in response to the switching operation on the target function item triggered in the manner indicated by the operation prompt information, the function item in the selected state is switched to the other function item.
[0146] In this way, when the function item is displayed, the operation prompt information for prompting the manner of performing different operations on the function item is also displayed, so that the function item in the selected state is switched to the other function item based on the operation prompt information in response to the switching operation on the target function item; in this way, the operation prompt information directly informs the user of the operation manner of various operations, avoids the user from being stuck due to not knowing how to operate, reduces the guessing cost of function operation, not only clearly defines the operation path and eliminates the operation blind area, but also improves the operation efficiency and the human-computer interaction efficiency.
[0147] In some embodiments, the state of displaying the function item and the at least one level of sub-function items can also be returned to display only the function item based on the operation prompt information, or the virtual wheel can be directly closed, which specifically includes that after displaying the at least one level of sub-function items corresponding to the function of the target function item, the operation return instruction for the plurality of function items can also be received, the operation return instruction is used to indicate returning to the last operation performed on the plurality of function items; in response to the operation return instruction, the at least one level of sub-function items is cancelled; and in response to the re-executed operation return instruction, the plurality of function items are cancelled.
[0148] It should be noted that the operation return instruction can be triggered by the user clicking the shortcut key, for example, the operation return instruction is triggered by clicking the right mouse button; or the operation return instruction can also be triggered by the control displayed in the interface of the virtual scene, for example, a return control is displayed in the interface of the virtual scene, the return control is used to return to the last operation performed on the plurality of function items, so that the operation return instruction is received in response to the triggering operation on the return control;
[0149] When displaying the sub-function items of the at least one level corresponding to the function of the target function item, if the operation back instruction is received, the last operation performed on the plurality of function items is returned to, i.e., the display of the sub-function items of the at least one level is cancelled, and only the plurality of function items including the target function item is displayed; when displaying the plurality of function items including the target function item, if the operation back instruction is received, the last operation performed on the plurality of function items is returned to, i.e., the display of the plurality of function items is cancelled.
[0150] In actual implementation, after displaying the plurality of function items including the target function item, the function item in the selected state can also be switched, specifically, referring to FIG. 13, which is a flow diagram of switching the function item in the selected state according to an embodiment of the present application. The process of switching the function item in the selected state is realized through the following steps based on FIG. 13.
[0151] In step 201, the terminal switches the function item in the selected state from the target function item to another function item in response to the switching operation on the target function item.
[0152] In actual implementation, the switching operation on the target function item can be a sliding operation on the plurality of function items, or a triggering operation such as a click operation directly on the other function item, or a triggering operation such as a press operation on a shortcut key such as an up, down, left or right key, and the present embodiment does not limit this. Before switching the function item in the selected state from the target function item to another function item in response to the switching operation on the target function item, the switching operation on the target function item can also be received, and the switching operation is triggered by at least one of a keyboard, a mouse and a joystick. In this way, since different users have different familiarity and preferences for the device, the switching operation is allowed to be triggered by multiple devices, so that the user can choose the most convenient way to operate, reduce the discomfort caused by the mandatory uniformity of the operation mode, enhance the operation flexibility, and adapt to the user habits and scene requirements.
[0153] In some embodiments, the process of switching the function item in the selected state from the target function item to another function item in response to the switching operation on the target function item can be a process of displaying the plurality of function items moving in a target direction in sequence in response to the switching operation on the target function item; in the moving process of the plurality of function items, the function item in the selected state is switched from the target function item to the next function item in the target direction in sequence; and when the moving process of the plurality of function items ends, the function item in the selected state is taken as the other function item.
[0154] It should be noted that the target direction refers to the switching direction indicated by the switching operation, for example, when the switching operation is a sliding operation, the target direction refers to the sliding direction, and when the switching operation is a triggering operation for a shortcut key, the target direction refers to the direction indicated by the shortcut key; during the movement of the plurality of function items, the function item in the selected state is sequentially rotated, so that when the plurality of function items end the movement process, the function item currently in the selected state is other function items;
[0155] For example, referring to FIG. 14, FIG. 14 is a schematic view of switching the function item in the selected state according to an embodiment of the present application. Based on FIG. 14, the target function item indicated by 1401 in FIG. 14a, so as to respond to the switching operation for the target function item indicated by 1401, the process of moving the plurality of function items in the selected state along the direction from left to right is displayed, and then when the plurality of function items end the movement process, the function item in the selected state is switched from the target function item indicated by 1401 in FIG. 14a to other function item indicated by 1402 in FIG. 14b.
[0156] Therefore, when the switching operation is performed, the process of moving the plurality of function items along the target direction is displayed, and during the movement of the plurality of function items, the function item in the selected state is sequentially rotated, so that when the plurality of function items end the movement process, the function item currently in the selected state is other function items; in this way, the abstract switching logic is converted into the concrete visual process, the cognitive cost is reduced, and the user can more clearly perceive the switching process of the function item; at the same time, the operation perception is strengthened through dynamic feedback, which not only improves the operation certainty, but also improves the operation experience of the user.
[0157] In some embodiments, the function item in the selected state is displayed in a fifth style, the function item in the unselected state is displayed in a sixth style, and the fifth style is different from the sixth style; therefore, the process of switching the function item in the selected state from the target function item to other function item in response to the switching operation for the target function item can be that, in response to the switching operation for the target function item, the display style of the target function item is switched from the fifth style to the sixth style, and the display style of the other function item is switched from the sixth style to the fifth style.
[0158] It should be noted that the fifth style is similar to the first style described above, the sixth style is similar to the second style described above, the fifth style is used to indicate that the function item is in the selected state, and the sixth style is used to indicate that the function item is in the unselected state; similarly, as described above, different styles indicate different display sizes or different display effects, which will not be described here;
[0159] The switching operation can be a click operation on another function item, or a trigger operation on a shortcut key, or a sliding operation on multiple function items, and the like, which are not limited by the embodiments of the present application.
[0160] Exemplarily, referring to FIG. 15, which is a schematic diagram II of switching the function item in the selected state according to an embodiment of the present application, based on FIG. 15, the target function item is indicated by 1501 in FIG. 15a, so that in response to the switching operation on the target function item, the display style of the target function item indicated by 1501 in FIG. 15a is switched from the fifth style to the sixth style, that is, the target function item indicated by 1501 in FIG. 15a is changed to be as shown in 1503 in FIG. 15b, and the display style of the other function item indicated by 1502 in FIG. 15a is switched from the sixth style to the fifth style, that is, the other function item indicated by 1502 in FIG. 15a is changed to be as shown in 1504 in FIG. 15b.
[0161] Thus, in the switching process of the function item, different function items are displayed in different styles, so that the operation result can be delivered in the first time through the style change of the function item, without relying on the text prompt or the additional pop-up window, thereby providing instant visual feedback; at the same time, the style difference is more in line with the sensitivity of human vision to the "difference", which is especially suitable for complex interfaces (when multiple function items coexist), and the user can quickly perceive the switching process of the function item without focusing on the details.
[0162] In actual implementation, as described above, the switching operation includes a trigger operation such as a click operation on another function item, and the trigger operation can be triggered by a cursor. Specifically, in response to the switching operation on the target function item, the function item in the selected state is switched from the target function item to the other function item, and before that, the cursor can also be displayed; thus, in response to the switching operation on the target function item, the function item in the selected state is switched from the target function item to the other function item, which can be a process of displaying the cursor movement in response to the cursor movement operation; when the cursor moves to the sensing area of the other function item, the function item in the selected state is switched from the target function item to the other function item in response to the switching condition being met.
[0163] It should be noted that the moving operation of the cursor can be triggered by at least one of a keyboard, a mouse, and a joystick, so as to control the cursor to move in the interface of the virtual scene; in the moving process of the cursor, the coordinates of the cursor are acquired in real time, and the position of the cursor is detected based on the coordinates of the cursor; if the detection result indicates that the cursor moves into the sensing area of the other function item, it is determined that the switching condition is met, and the function item in the selected state is switched from the target function item to the other function item; here, the sensing area of the other function item can be pre-set, for example, can be a circular area, a rectangular area, and the like, and the embodiments of the present application do not limit this.
[0164] In this way, the switching process of the function item is realized by moving the cursor, so that the cursor can be directly moved to any function item, and the user can directly reach the target by skipping irrelevant function items, which not only can give the user a high degree of autonomous selection control right and improve the operation accuracy, but also can adapt to diversified interactive scenes and enhance the operation flexibility.
[0165] It should be noted that when the cursor moves into the sensing area of the other function item, there are various ways to determine whether the switching condition is met, and next, two of them will be taken as examples to describe the process of determining whether the switching condition is met.
[0166] In some embodiments, before the function item in the selected state is switched from the target function item to the other function item in response to the switching condition being met, the time length that the cursor is located in the sensing area can also be recorded when the cursor moves into the sensing area of the other function item; when the time length reaches a target time length, it is determined that the switching condition is met.
[0167] It should be noted that the time length that the displayed cursor is in the sensing area is the time length from the time when the cursor moves into the sensing area to the current time, specifically, when the detection result described in the present application indicates that the cursor moves into the sensing area of the other function item, the moving time is acquired, the moving time indicates the time when the cursor moves into the sensing area of the other function item, then the current time is acquired in real time, and the current time is subtracted from the moving time to obtain the time length that the cursor is in the sensing area; and the target time length can be pre-set, for example, can be one second, and the like, and the embodiments of the present application do not limit this. Here, the time length that the cursor is located in the sensing area can be directly displayed in the front end, or can be recorded in the back end, or both the time length that the cursor is located in the sensing area is displayed in the front end and recorded in the back end, and the embodiments of the present application do not limit this.
[0168] Therefore, by recording the time length of the cursor moving to the sensing area of the other function item, it is determined whether the switching condition is met. In this way, during the cursor movement, the cursor may enter the sensing area of the non-target function item for a short time due to user's hand slip, operation inertia, etc. By setting the time length threshold, the non-intentional touch can be filtered, the mis-triggering of switching is avoided, the mis-touch operation is accurately filtered, and the interaction reliability is improved.
[0169] In some other embodiments, in response to the switching condition being met, when the function item in the selected state is switched from the target function item to the other function item, the switching condition can also be determined to be met in response to a trigger operation performed in the sensing area of the other function item when the cursor moves to the sensing area of the other function item.
[0170] It should be noted that the trigger operation performed in the sensing area can be a click operation (including a single click operation or a double click operation) or a press operation in the sensing area, or a trigger operation for a shortcut key when the cursor moves to the sensing area of the other function item, etc., which is not limited by the embodiments of the present application.
[0171] Therefore, after the cursor moves to the sensing area of the other function item, it is determined whether the switching condition is met based on whether the trigger operation is performed in the sensing area. In this way, the cursor moving to the sensing area only represents that the user may pay attention to the function item, and the trigger operation performed in the area clearly represents that the user actively selects switching. This "two-step determination" clearly distinguishes between "browsing behavior" and "confirmation behavior", ensures that the switching operation only occurs under the explicit intention of the user, accurately responds to the active intention of the user, and avoids interference caused by cursor movement.
[0172] Step 202: displaying at least one level of sub-function items corresponding to the function of the other function item in the associated area of the other function item in the selected state.
[0173] In actual implementation, when the function item in the selected state is switched from the target function item to the other function item, the at least one level of sub-function items corresponding to the function of the target function item displayed is switched to the at least one level of sub-function items corresponding to the function of the other function item. The associated area of the other function item refers to one of the upper area, the lower area, the left area, the right area and the middle area of the other function item.
[0174] Exemplarily, referring to FIG. 16, which is a schematic diagram of displaying sub-function items of at least one level corresponding to other function items according to an embodiment of the present application, based on FIG. 16, the function item indicated by 1601 in FIG. 16a is the target function item, so eight sub-function items of the first level are displayed in the target function item, and the sub-function items of the second level indicated by the dashed box 1603 in FIG. 16a are displayed in the area above the target sub-function item indicated by 1602 in the eight sub-function items; then, in response to the switching operation on the target function item indicated by 1601 in FIG. 16a, the function item in the selected state is switched from the target function item indicated by 1601 in FIG. 16a to the other function item indicated by 1604 in FIG. 16b, and the sub-function items of at least one level of the function corresponding to the target function item are switched to the sub-function items of at least one level of the function corresponding to the other function item, that is, eight sub-function items of the first level are displayed in the other function item, and the sub-function items of the second level indicated by the dashed box 1606 in FIG. 16b are displayed in the area above the target sub-function item indicated by 1605 in the eight sub-function items.
[0175] In this way, if the user is not satisfied with the target function item in the selected state, the target function item in the selected state can be switched to the other function item by performing the switching operation, so that the function selection is changed from one-time decision to dynamic adjustment without exiting the current scene or restarting the process, which improves the flexibility of user operation and adapts to dynamic demand changes.
[0176] In some embodiments, after displaying the sub-function items of at least one level of the function corresponding to the target function item, the function item can also be switched by the scrolling operation on the scroll wheel of the mouse or the key operation on the keys of the keyboard, specifically, after displaying the sub-function items of at least one level of the function corresponding to the target function item, the function item in the selected state can also be switched from the target function item to the other function item in response to the function item switching instruction, and the sub-function items of at least one level of the function corresponding to the target function item are switched to the sub-function items of at least one level of the function corresponding to the other function item; wherein the function item switching instruction is triggered by the scrolling operation on the scroll wheel of the mouse or the key operation on the keys of the keyboard.
[0177] It should be noted that when the function item switching instruction triggered by the executed scroll operation of the scroll wheel of the mouse or the executed key operation of the key of the keyboard is received, only the switching of the function item is implemented, that is, no matter how many levels of sub-function items are displayed, the function item switching instruction triggered by the executed scroll operation of the scroll wheel of the mouse or the executed key operation of the key of the keyboard is for the function item; in this way, the selected function item can be switched at any time regardless of the level of the tab state, thereby improving the interaction efficiency of the function item.
[0178] In step 103, in response to the trigger operation on the target sub-function item in the at least one level of sub-function items, the first object is controlled to perform the interactive operation indicated by the function of the target sub-function item.
[0179] In actual implementation, after displaying the at least one level of sub-function items, the first object can also be controlled to perform the interactive operation indicated by the function of the sub-function item. Specifically, the process of controlling the first object to perform the interactive operation indicated by the function of the target sub-function item in response to the trigger operation (for example, a click operation) on the target sub-function item in the at least one level of sub-function items can be that, in response to the trigger operation (for example, a click operation) on the target sub-function item in the at least one level of sub-function items, the first object in the corresponding virtual scene is controlled to perform the interactive operation indicated by the function of the target sub-function item on the scene element in the virtual scene; wherein the scene element in the virtual scene refers to the element constituting the virtual scene, for example, a building element in the virtual scene, including walls, roofs, etc., or a carrier element in the virtual scene, for example, a virtual vehicle, a virtual ship, etc.
[0180] Alternatively, the process of controlling the first object to perform the interactive operation indicated by the function of the target sub-function item in response to the trigger operation (for example, a click operation) on the target sub-function item in the at least one level of sub-function items can also be that, in response to the trigger operation (for example, a click operation) on the target sub-function item in the at least one level of sub-function items, the first virtual object in the corresponding virtual scene of the first object is controlled to perform the interactive operation indicated by the function of the target sub-function item on the second virtual object; wherein the control of the first virtual object in the corresponding virtual scene of the first object to perform the interactive operation indicated by the function of the target sub-function item on the second virtual object refers to the control of the first virtual object in the corresponding virtual scene of the first object to perform the interactive operation indicated by the function of the target sub-function item on the second virtual object corresponding to the second object.
[0181] It should be noted that, as described above, the first object is used to indicate the account logged in by the current player, the second object indicates the account logged in by the other player, the first virtual object can be a player character controlled by the current player, i.e., the first object, and the second virtual object can be a player character controlled by the other player, i.e., the second object; wherein the first virtual object and the second virtual object can be in the same camp or group, or in different camps or groups.
[0182] By applying the above embodiment of the present application, in response to the function item display instruction, the plurality of function items including the target function item in the selected state are displayed, and the at least one level of sub-function items corresponding to the function of the target function item is displayed in the associated area of the target function item. In this way, compared with the scheme in the related art that requires multiple click operations to display multiple levels of function items, the present application directly displays multiple function items and at least one level of sub-function items corresponding to the target function item in the virtual scene when receiving the display instruction for the function item in the virtual scene, that is, directly displays multiple levels of function items. Thus, only one display instruction is required to display multiple levels of function items, which not only improves the display efficiency of multiple levels of function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization rate of the electronic device.
[0183] In the following, an exemplary application of the embodiment of the present application in an actual application scenario will be described.
[0184] When displaying multiple levels of function items in related games, multiple function items are usually displayed first, and then the user clicks on a certain function item in the multiple function items, so that the next level of function items belonging to the function item are displayed. That is, if the user wants to display multiple levels of function items, multiple click operations are required, which results in low display efficiency of multiple levels of function items and low human-computer interaction efficiency.
[0185] Based on this, the embodiment of the present application provides an interaction method based on function items. When receiving a display instruction for a function item in a virtual scene, multiple function items and at least one level of sub-function items corresponding to a target function item are directly displayed, that is, multiple levels of function items are directly displayed. Thus, only one display instruction is required to display multiple levels of function items, which not only improves the display efficiency of multiple levels of function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization rate of the electronic device.
[0186] Next, the technical solution of the present application is described from the product side.
[0187] In actual implementation, when the player is normally operating in the game, in response to a display instruction for multiple function items, a wheel set (multiple virtual wheels) is displayed, the wheel set including gesture wheel, quick speech wheel and paint wheel, and each wheel corresponds to preset content of the player, as shown in FIG. 4. The corresponding item in the gesture wheel is selected (sub-function item) to display a corresponding gesture model of a virtual object controlled by the user in a virtual scene. The corresponding item in the quick speech wheel is selected to quickly publish a preset text message in the game. The corresponding item in the paint wheel is selected to draw paint on an object model facing the user.
[0188] In actual implementation, after the multiple wheels are displayed, the quick speech wheel in the center is in a selected state by default. The wheel in the selected state has a larger size and is displayed in an activated state. In this case, in response to a moving operation of the mouse, the selected area on the wheel (the thickened area in the wheel in the center in FIG. 4) is synchronously rotated, that is, the sub-function item in the selected state is switched. Meanwhile, the gesture wheel and the paint wheel are displayed on the left and right sides, respectively, and the two wheels are in a non-selected state.
[0189] In actual implementation, when a click operation of the left mouse button or a lifting operation of the H key is received, the click operation or the lifting operation is taken as a determination operation for the currently selected wheel function item, that is, a selection operation. As shown in FIG. 4, after the sub-function item "need medicine" in the quick speech is in the selected state, if a click operation of the left mouse button or a lifting operation of the H key is received, a corresponding function is triggered, and the information instruction "need medicine" is quickly sent on the left side of the screen.
[0190] In actual implementation, when a scrolling operation of the mouse wheel is received, the wheel in the adjacent non-selected state in the previous step is automatically moved to the center of the interface and becomes the selected wheel, as shown in FIG. 14. Therefore, in response to a moving operation of the cursor, the corresponding item in the selected gesture wheel can be switched.
[0191] In actual implementation, as shown in FIG. 17, which is a display diagram of multiple function items provided in the embodiment of the present application, based on FIG. 17, when the player is normally operating in the game, in response to a display instruction for multiple function items, a function list and a mouse cursor are displayed. The mouse cursor is by default hovering in the middle of the screen, and the default cursor is on the gesture tab (function item). Therefore, the corresponding secondary tab content on the right side of the gesture tab is displayed, and the corresponding tabs of the quick speech wheel and the paint wheel are also displayed. The content of the corresponding secondary tab is in a hidden state and cannot be seen.
[0192] As shown in FIG. 5, in response to the cursor moving to the paint wheel disc tab, the right secondary tab content is switched to the corresponding paint wheel disc content. Then, in response to a triggering operation for the left mouse button, the function of the item can be triggered, that is, paint in the forward direction.
[0193] Next, the technical solutions of the present application are described from a technical aspect.
[0194] In some embodiments, referring to FIG. 18, which is a flowchart of a second embodiment of the function item-based interaction method provided by the present application, based on FIG. 18, the function item-based interaction method based on the wheel disc provided by the present application is implemented through steps 1801 to 1804. Specifically, in response to a display instruction for a plurality of wheel discs, a wheel disc group (a plurality of function items) is displayed, and a wheel disc in a selected state and a wheel disc in a non-selected state are displayed. Then, it is determined whether a scroll wheel operation for the mouse scroll wheel is received. When the scroll wheel operation is received, the wheel disc in the selected state is switched to another wheel disc. Then, it is continuously determined whether the scroll wheel operation for the mouse scroll wheel is received. When the scroll wheel operation is received, the wheel disc in the selected state is continuously switched. When the scroll wheel operation is not received, in response to a rotation operation for the mouse, the wheel disc item (a sub-function item) included in the wheel disc in the selected state is switched. Then, it is determined whether the wheel disc item is triggered. When the wheel disc item is triggered, the corresponding shortcut operation is triggered and the wheel disc group is closed. When the wheel disc item is not triggered, it is determined whether the operation is continued. When the operation is not continued, the wheel disc group is closed.
[0195] In some other embodiments, referring to FIG. 19, which is a flowchart of a third embodiment of the function item-based interaction method provided by the present application, based on FIG. 19, the function item-based interaction method based on the function list provided by the present application is implemented through steps 1901 to 1903. Specifically, in response to a display instruction for a function list, the function list including a plurality of primary tabs (function items) and a plurality of secondary tabs is displayed. One of the plurality of primary tabs is in a selected state, and the plurality of secondary tabs belong to the primary tab in the selected state. Then, it is determined whether the primary tab in the selected state is switched based on the cursor. When the switching is determined, the primary tab indicated by the cursor is switched to. When the switching is not performed, it is determined whether the tab item is triggered. When the tab item is triggered, the corresponding shortcut operation is triggered and the function list is closed. When the tab item is not triggered, it is determined whether the operation is continued. When the operation is not continued, the function list is closed.
[0196] In this way, through the present application, the function item-based interaction efficiency can be improved in a game or other application supporting shortcut operations, and the player can quickly and accurately identify and select the required function among various types of shortcut operations, greatly improving the use efficiency of the player for the shortcut operation and improving the function assistance of the shortcut operation itself.
[0197] According to the above embodiments of the present application, in response to a function item display instruction, a plurality of function items including a target function item in a selected state are displayed, and at least one level of sub-function items corresponding to the function of the target function item is displayed in the associated area of the target function item. In this way, compared with the related art solution in which multiple click operations are required to display multiple levels of function items, the present application directly displays a plurality of function items and at least one level of sub-function items corresponding to the target function item in the virtual scene upon receiving a display instruction for a function item in the virtual scene, that is, directly displays multiple levels of function items. Thus, multiple levels of function items can be displayed by only one display instruction, which not only improves the display efficiency of multiple levels of function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization rate of the electronic device.
[0198] The following continues to describe an exemplary structure of the function item-based interaction apparatus 455 provided by the embodiments of the present application as a software module. In some embodiments, as shown in FIG. 2, the software module stored in the function item-based interaction apparatus 455 in the memory 450 can include:
[0199] A first display module 4551 configured to display a plurality of function items in a virtual scene in response to a function item display instruction, wherein a target function item in the plurality of function items is in a selected state;
[0200] A second display module 4552 configured to display at least one level of sub-function items corresponding to the function of the target function item in the associated area of the target function item;
[0201] An interaction module 4553 configured to control a first object to perform an interaction operation indicated by the function of a target sub-function item in response to a trigger operation for the target sub-function item in the at least one level of sub-function items.
[0202] In some embodiments, the number of levels is a plurality, and a target sub-function item in each level of sub-function items is in a selected state; the second display module 4552 is further configured to display at least one sub-function item of a first level corresponding to the function of the target function item and a sub-function item of a next level of each level of the target sub-function item in the associated area of the target function item.
[0203] In some embodiments, the apparatus further includes a first switching module configured to switch the target sub-function item in the selected state to another sub-function item in response to a switching operation for the target sub-function item of a target level; and perform an operation indicated by the another sub-function item in the selected state in the virtual scene in response to a determination operation for the another sub-function item in the selected state.
[0204] In some embodiments, the first display module 4551 is further configured to display, in response to the function item display instruction, a plurality of virtual dials in the virtual scene, the plurality of virtual dials being in one-to-one correspondence with the plurality of function items; and the second display module 4552 is further configured to display, in the target virtual dial corresponding to the target function item, at least one level of sub-function items corresponding to the function of the target function item.
[0205] In some embodiments, the first display module 4551 is further configured to display, in response to the function item display instruction, a first function list in the virtual scene, and display, in the first function list, the plurality of function items; and the second display module 4552 is further configured to display, in the association region of the target function item, a second function list, and display, in the second function list, at least one level of sub-function items corresponding to the function of the target function item.
[0206] In some embodiments, the first display module 4551 is further configured to display, in response to the function item display instruction, a virtual dial in the virtual scene, and display, in the virtual dial, the plurality of function items.
[0207] In some embodiments, the first display module 4551 is further configured to display, in the virtual dial, the plurality of function items in a non-selected state; in response to a selection operation on the target function item in the plurality of function items, control the target function item to be in a selected state; and display, in the virtual dial, the target function item in the selected state and the other function items in the non-selected state.
[0208] In some embodiments, the first display module 4551 is further configured to display, in response to the function item display instruction, the target function item in the virtual scene in a first style, and display the other function items in a second style; the first style is different from the second style, the first style is used to indicate that the target function item is in the selected state, and the second style is used to indicate that the other function items are in the non-selected state.
[0209] In some embodiments, the first style corresponds to a first display size, and the second style corresponds to a second display size; the first display module 4551 is further configured to display the target function item in the first display size, and display the other function items in the second display size; and the first display size is greater than the second display size.
[0210] In some embodiments, the first display module 4551 is further configured to, in response to a function item display instruction, display the target function item in an expanded state and other function items in a collapsed state in the virtual scene; wherein when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in a visible state, and the function item and the sub-function items are displayed in combination in an interface of the virtual scene; and when the function item is in the collapsed state, the function item is in a visible state and the sub-function items corresponding to the function item are in an invisible state, and the function item is displayed independently in the interface of the virtual scene.
[0211] In some embodiments, the first display module 4551 is further configured to, in response to a function item display instruction, display the target function item in a third style in an expanded state and other function items in a fourth style in an expanded state in the virtual scene; wherein the third style is different from the fourth style, and when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in a visible state, and the function item and the sub-function items are displayed in combination in an interface of the virtual scene.
[0212] In some embodiments, the apparatus further includes a second switching module configured to, in response to a switching operation for the target function item, switch the function item in a selected state from the target function item to another function item; and the second display module 4552 is further configured to display at least one level of sub-function items corresponding to the function of the other function item in an associated area of the other function item in a selected state.
[0213] In some embodiments, the second switching module is further configured to, in response to a switching operation for the target function item, display a process in which the plurality of function items move in a target direction in sequence; in the process of moving the plurality of function items, switch the function item in a selected state from the target function item to a next function item in the target direction in sequence; and when the plurality of function items end the moving process, the function item in a selected state is the other function item.
[0214] In some embodiments, the function item in a selected state is displayed in a fifth style, and the function item in a non-selected state is displayed in a sixth style, the fifth style being different from the sixth style; and the second switching module is further configured to, in response to a switching operation for the target function item, switch the display style of the target function item from the fifth style to the sixth style, and switch the display style of the other function item from the sixth style to the fifth style.
[0215] In some embodiments, the device further comprises a third display module configured to display a cursor; the second switching module is further configured to, in response to a cursor moving operation, display a process of the cursor moving; when the cursor moves to a sensing area of the other function item, in response to the switching condition being satisfied, switch the function item in the selected state from the target function item to the other function item.
[0216] In some embodiments, the device further comprises a first determination module configured to, if the cursor moves to the sensing area of the other function item, record a time length of the cursor being in the sensing area; and when the time length reaches a target time length, determine that the switching condition is satisfied.
[0217] In some embodiments, the device further comprises a second determination module configured to, when the cursor moves to the sensing area of the other function item, in response to a trigger operation performed in the sensing area, determine that the switching condition is satisfied.
[0218] In some embodiments, the device further comprises a receiving module configured to receive a switching operation for the target function item, the switching operation being triggered by at least one of a keyboard, a mouse, and a joystick.
[0219] In some embodiments, the device further comprises a fourth display module configured to, in response to a function item display instruction, display operation prompt information for prompting a manner of performing different operations on the function item; and in response to a switching operation for the target function item, switch the function item in the selected state from the target function item to the other function item; wherein the switching operation is triggered in the manner indicated by the operation prompt information; and the second display module 4552 is further configured to display at least one level of sub-function items corresponding to a function of the other function item in an associated area of the other function item in the selected state.
[0220] In some embodiments, at least one of the sub-function items comprises a target sub-function item corresponding to a target interactive function; and the device further comprises a first execution module configured to, in response to a trigger operation for the target sub-function item in the at least one level of sub-function items, perform an interactive operation corresponding to the target interactive function in the virtual scene.
[0221] In some embodiments, the target sub-function item at the target level among the at least one level of sub-function items is in a selected state; the apparatus further includes a second execution module configured to, in response to the target sub-function item in the selected state satisfying a triggering condition, execute an interactive operation corresponding to an interactive function indicated by the target sub-function item in the virtual scene.
[0222] The embodiment of the present application provides a computer program product, which includes computer executable instructions stored in a computer readable storage medium. A processor of an electronic device reads the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions, so that the electronic device executes the function item based interaction method provided by the embodiment of the present application.
[0223] The embodiment of the present application provides a computer readable storage medium storing computer executable instructions, wherein the computer executable instructions are stored in the computer readable storage medium. When the computer executable instructions are executed by a processor, the processor executes the function item based interaction method provided by the embodiment of the present application, for example, the function item based interaction method shown in FIG. 3.
[0224] In some embodiments, the computer readable storage medium can be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a CD-ROM, etc. The computer readable storage medium can also be various devices including one or any combination of the above storage devices.
[0225] In some embodiments, the executable instructions can be in the form of programs, software, software modules, scripts or codes, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and can be deployed in any form, including being deployed as independent programs or being deployed as modules, components, subroutines or other units suitable for use in a computing environment.
[0226] As an example, executable instructions can correspond to a file in a file system, but in many cases can not be so limited. As an example, executable instructions can be stored in one or more files, files can be stored in a file system based on a physical storage media, a database based on a physical storage medium, an object code format, an executable code format, or other format, depending on the requirements of an operating system or otherwise. As an example, executable instructions can be associated with a name, a template, an icon, a help text, a driver, a library code, a property, or can not be so associated. An executable code can be associated with other executable codes in a same file, in different files, in a same template, in different templates, in a same directory, in different directories, in a same file system, in different file systems, in a same device, in different devices, in a same computer, in different computers, in a same network, in different networks, or can not be so associated.
[0227] As an example, executable instructions can be deployed to execute on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected through a communication network.
[0228] In summary, the embodiments of the present application have the following beneficial effects:
[0229] (1) Compared with the scheme in the related art that needs to perform multiple click operations to display the multi-level function items, the present application directly displays the multiple function items and the at least one level of sub-function items corresponding to the target function item in the virtual scene when receiving the function item display instruction, that is, directly displays the multi-level function items. Thus, the multi-level function items can be displayed through only one display instruction, which not only improves the display efficiency of the multi-level function items in the virtual scene, but also improves the human-computer interaction efficiency in the virtual scene and the hardware resource utilization rate of the electronic device.
[0230] (2) Through the present application, the interaction efficiency based on the function items can be improved in the game or other application supporting the shortcut operation, and the player can quickly and accurately identify and select the required function in multiple types of shortcut operations, which greatly improves the use efficiency of the player for the shortcut operation and improves the function assistance of the shortcut operation itself.
[0231] It can be understood that in the embodiments of the present application, the data related to obtaining the operation of the user is involved. When the embodiments of the present application are applied to specific products or technologies, the user permission or consent needs to be obtained, and the collection, use and processing of the related data need to comply with the relevant laws, regulations and standards of the country and region.
[0232] The above merely describes the embodiments of the present application, but is not intended to limit the protection scope of the present application. Any modification, equivalent replacement and improvement made within the spirit and scope of the present application shall be included in the protection scope of the present application.
Claims
1. A function item based interaction method, the method is performed by an electronic device, the method comprising: displaying a plurality of function items in a virtual scene in response to a function item display instruction, a target function item in the plurality of function items being in a selected state; displaying at least one level of sub-function items corresponding to a function of the target function item in an associated area of the target function item; in response to a triggering operation on a target sub-function item in the at least one level of sub-function items, controlling a first object to perform an interactive operation indicated by the function of the target sub-function item.
2. The method of claim 1, wherein, the number of levels is a plurality, and a target sub-function item in each level of sub-function items is in a selected state; the displaying at least one level of sub-function items corresponding to a function of the target function item in an associated area of the target function item comprises: displaying at least one sub-function item of a first level corresponding to the function of the target function item, and sub-function items of a next level of each level of target sub-function items in the associated area of the target function item.
3. The method of claim 2, wherein, after the displaying at least one sub-function item of a first level corresponding to the function of the target function item, and sub-function items of a next level of each level of target sub-function items, the method further comprises: in response to a switching operation on the target sub-function item in the target level, switching the target sub-function item in the selected state to another sub-function item; in response to a determination operation on the another sub-function item in the selected state, performing an operation indicated by the another sub-function item in the virtual scene.
4. The method of any one of claims 1 to 3, wherein, the displaying a plurality of function items in a virtual scene in response to a function item display instruction comprises: displaying a plurality of virtual dials in a virtual scene in response to a function item display instruction, the virtual dials having a one-to-one correspondence with the function items; the displaying at least one level of sub-function items corresponding to a function of the target function item in an associated area of the target function item comprises: displaying at least one level of sub-function items corresponding to a function of the target function item in a target virtual dial corresponding to the target function item.
5. The method of any one of claims 1 to 3, wherein, the displaying a plurality of function items in a virtual scene in response to a function item display instruction comprises: displaying a first function list in a virtual scene in response to a function item display instruction, and displaying the plurality of function items in the first function list; the displaying at least one level of sub-function items corresponding to a function of the target function item in an associated area of the target function item comprises: displaying a second function list in the associated area of the target function item, and displaying at least one level of sub-function items corresponding to a function of the target function item in the second function list.
6. The method of any one of claims 1 to 3, wherein, the displaying a plurality of function items in a virtual scene in response to a function item display instruction comprises: displaying a virtual dial in a virtual scene in response to a function item display instruction, and displaying the plurality of function items in the virtual dial.
7. The method of claim 6, wherein, after the displaying a virtual dial in a virtual scene in response to a function item display instruction, the method further comprises: displaying the plurality of function items in the virtual dial in a non-selected state; In response to a selection operation on the target function item in the plurality of function items, the target function item is controlled to be in a selected state; The displaying the plurality of function items in the virtual wheel includes: In the virtual wheel, the target function item in the selected state and other function items in a non-selected state are displayed.
8. The method of any one of claims 1 to 7, wherein, The displaying the plurality of function items in the virtual scene in response to the function item display instruction includes: In response to the function item display instruction, the target function item is displayed in a first style and other function items are displayed in a second style in the virtual scene; The first style is different from the second style, the first style is used to indicate that the target function item is in the selected state, and the second style is used to indicate that the other function items are in the non-selected state.
9. The method of claim 8, wherein, The first style corresponds to a first display size, and the second style corresponds to a second display size. The displaying the target function item in the first style includes: The target function item is displayed in the first display size. The displaying the other function items in the second style includes: The other function items are displayed in the second display size; and the first display size is greater than the second display size.
10. The method of any one of claims 1 to 9, wherein, The displaying the plurality of function items in the virtual scene in response to the function item display instruction includes: In response to the function item display instruction, the target function item in an expanded state and other function items in a folded state are displayed in the virtual scene; When the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in a visible state, and the function item and the sub-function items corresponding to the function item are displayed in combination in an interface of the virtual scene; When the function item is in the folded state, the function item is in the visible state, the sub-function items corresponding to the function item are in an invisible state, and the function item is displayed independently in the interface of the virtual scene.
11. The method of any one of claims 1 to 10, wherein, The displaying the plurality of function items in the virtual scene in response to the function item display instruction includes: In response to the function item display instruction, the target function item in the expanded state is displayed in a third style, and other function items in the expanded state are displayed in a fourth style in the virtual scene; The third style is different from the fourth style, when the function item is in the expanded state, the function item and the sub-function items corresponding to the function item are both in the visible state, and the function item and the sub-function items corresponding to the function item are displayed in combination in the interface of the virtual scene.
12. The method of any one of claims 1 to 11, wherein, After the displaying the plurality of function items in the virtual scene in response to the function item display instruction, the method further includes: In response to a switching operation on the target function item, a function item in the selected state is switched from the target function item to other function items. The displaying at least one level of sub-function items corresponding to the function of the target function item in the associated region of the target function item includes: The displaying at least one level of sub-function items corresponding to the function of the other function items in the associated region of the other function items in the selected state.
13. The method of claim 12, wherein, The switching, in response to the switching operation for the target function item, of the function item in the selected state from the target function item to another function item comprises: In response to the switching operation for the target function item, displaying a process in which the plurality of function items move along a target direction in sequence; In the process of moving the plurality of function items, switching, from the target function item, the function item in the selected state to a next function item in the target direction in sequence; When the plurality of function items end the moving process, switching the function item in the selected state as the another function item.
14. The method of claim 12, wherein, The function item in the selected state is displayed in a fifth style, and the function item in the unselected state is displayed in a sixth style, the fifth style being different from the sixth style; The switching, in response to the switching operation for the target function item, of the function item in the selected state from the target function item to another function item comprises: In response to the switching operation for the target function item, switching the display style of the target function item from the fifth style to the sixth style, and switching the display style of the another function item from the sixth style to the fifth style.
15. The method of claim 12, wherein, The method further comprises: Displaying a cursor; The switching, in response to the switching operation for the target function item, of the function item in the selected state from the target function item to another function item comprises: In response to a cursor moving operation, displaying a process in which the cursor moves; When the cursor moves to a sensing area of the another function item, switching, in response to a switching condition being satisfied, the function item in the selected state from the target function item to the another function item.
16. The method of claim 15, wherein, Before the switching, in response to the switching condition being satisfied, of the function item in the selected state from the target function item to the another function item, the method further comprises: If the cursor moves to the sensing area of the another function item, recording a time length during which the cursor is located in the sensing area; When the time length reaches a target time length, determining that the switching condition is satisfied.
17. The method of claim 15, wherein, Before the switching, in response to the switching condition being satisfied, of the function item in the selected state from the target function item to the another function item, the method further comprises: When the cursor moves to the sensing area of the another function item, determining, in response to a trigger operation performed in the sensing area, that the switching condition is satisfied.
18. The method of any one of claims 12 to 17, wherein The switching operation for the target function item is received and triggered by at least one of a keyboard, a mouse, and a joystick.
19. The method of any one of claims 1 to 18, wherein, The method further comprises: In response to a function item display instruction, displaying operation prompt information for prompting a manner of performing different operations on the function item; The switching, in response to the switching operation for the target function item, of the function item in the selected state from the target function item to another function item; The switching operation is triggered in the manner indicated by the operation prompt information; The displaying, in the associated area of the target function item, of at least one level of sub-function items corresponding to the function of the target function item comprises: Display at least one level of sub-function items corresponding to the function of the other function item in the associated area of the other function item in the selected state.
20. The method of any one of claims 1 to 19, wherein, At least one of the sub-function items includes a target sub-function item corresponding to a target interactive function; After displaying at least one level of sub-function items corresponding to the function of the target function item, the method further comprises: In response to a trigger operation on the target sub-function item in the at least one level of sub-function items, performing an interactive operation corresponding to the target interactive function in the virtual scene.
21. The method of any one of claims 1 to 20, wherein, The target sub-function item in the target level in the at least one level of sub-function items is in the selected state; After displaying at least one level of sub-function items corresponding to the function of the target function item, the method further comprises: In response to the target sub-function item in the selected state satisfying a trigger condition, performing an interactive operation corresponding to the interactive function indicated by the target sub-function item in the virtual scene.
22. An interactive device based on function items, the device comprising: A first display module configured to display a plurality of function items in a virtual scene in response to a function item display instruction, a target function item in the plurality of function items being in a selected state; A second display module configured to display at least one level of sub-function items corresponding to the function of the target function item in the associated area of the target function item; An interactive module configured to control a first object to perform an interactive operation indicated by the function of the target sub-function item in response to a trigger operation on the target sub-function item in the at least one level of sub-function items.
23. The apparatus of claim 22, wherein, The number of levels is multiple, and the target sub-function item in each level of sub-function items is in the selected state; the second display module is further configured to display at least one sub-function item of a first level corresponding to the function of the target function item and a sub-function item of a next level of the level of the target sub-function item in the associated area of the target function item.
24. The apparatus of claim 23, wherein, The device further comprises a first switching module, the first switching module is configured to switch the target sub-function item in the selected state to another sub-function item in response to a switching operation on the target sub-function item of the target level; and perform an operation indicated by the other sub-function item in the virtual scene in response to a determination operation on the other sub-function item in the selected state.
25. The apparatus of any one of claims 22 to 24, wherein, The first display module is further configured to display a plurality of virtual dials in response to a display instruction for a function item in a virtual scene, the virtual dials have a one-to-one correspondence with the function items; and the second display module is further configured to display at least one level of sub-function items corresponding to the function of the target function item in a target virtual dial corresponding to the target function item.
26. The apparatus of any one of claims 22 to 24, wherein, The first display module is further configured to display the first function list in response to a display instruction for a function item in the virtual scene, and display the plurality of function items in the first function list; and the second display module is further configured to display a second function list in the association region of the target function item, and display at least one level of sub-function items of the function corresponding to the target function item in the second function list.
27. The apparatus of any one of claims 22 to 24, wherein, The first display module is further configured to display the target function item in a first style and display other function items in a second style in response to a display instruction for a function item in the virtual scene; wherein the first style is different from the second style, the first style is used to indicate that the target function item is in a selected state, and the second style is used to indicate that the other function items are in a non-selected state. 28.An electronic device, comprising: a memory configured to store computer-executable instructions or computer programs; a processor configured to implement the function item based interaction method in any one of claims 1 to 21 when executing the computer-executable instructions or computer programs stored in the memory. 29.A computer readable storage medium storing computer-executable instructions or computer programs, which are executed by a processor to implement the function item based interaction method in any one of claims 1 to 21. 30.A computer program product comprising computer-executable instructions or computer programs, which are executed by a processor to implement the function item based interaction method in any one of claims 1 to 21.
Citation Information
Patent Citations
Menu interface display method and terminal
CN105867749A
Multi-resource game touch operation method and device, storage medium and terminal
CN109568938A
Display control method and device
CN114610208A
Control operation method and device, electronic equipment and readable storage medium
CN116360662A
Function item-based interaction method and device, electronic equipment, storage medium and program product
CN119179415A