Methods, apparatuses, devices, media, and program products for interface interaction

CN122672701APending Publication Date: 2026-09-01SHANGHAI MULI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610940248.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-26
Publication Date
2026-09-01

AI Technical Summary

Technical Problem

当用户的操作部位有限或者已被其他操作占用时,难以便捷地触发界面元素所对应的功能,界面元素的触发方式较为单一,触发的灵活性和效率受到限制

Benefits of technology

[0008]In this way, by presenting interactive components with trigger areas in the interface, and determining the target trigger area based on the electronic device's posture information, a corresponding first action is executed when the first interface element matches the target trigger area. This allows for convenient and accurate triggering of the functions corresponding to interface elements without relying on direct touch control, expanding the triggering methods for interface elements and improving the convenience and triggering efficiency of interaction when the user's operating area is restricted or occupied. Furthermore, since there is no need to allocate additional touch space for restricted or occupied operating areas, compared to triggering methods that rely on direct touch control, this solution reduces the movement and switching of operating areas required to complete a single trigger, and reduces operation interruptions in continuous operation scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122672701A_ABST
    Figure CN122672701A_ABST
Patent Text Reader

Abstract

Methods, apparatus, devices, media, and program products for interface interaction are provided. The method includes: presenting an interactive component in an interactive interface of an electronic device, the interactive component including at least one trigger area; determining, based on posture information of the electronic device, that a target trigger area within the at least one trigger area is triggered; and performing a first action corresponding to the first interface element in response to a first interface element in the interactive interface matching the target trigger area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The examples in this article generally relate to the field of computer science, and in particular to methods, apparatuses, devices, media, and program products for user interface interaction. Background Technology

[0002] In the interactive interfaces of electronic devices, the operation of interface elements usually relies on the user's direct touch on the screen. When the user's operating area is limited or occupied by other operations, it is difficult to conveniently trigger the function corresponding to the interface element. The triggering method of interface elements is relatively simple, and the flexibility and efficiency of triggering are limited. Summary of the Invention

[0003] In a first aspect of this document, a method for interface interaction is provided. The method includes: presenting an interactive component in an interactive interface of an electronic device, the interactive component including at least one trigger area; determining, based on posture information of the electronic device, that a target trigger area within the at least one trigger area is triggered; and, in response to a first interface element in the interactive interface matching the target trigger area, performing a first action corresponding to the first interface element.

[0004] In a second aspect of this document, an apparatus for interface interaction is provided. The apparatus includes: a first presentation module configured to present an interactive component in an interactive interface of an electronic device, the interactive component including at least one trigger area; a determination module configured to determine, based on posture information of the electronic device, that a target trigger area within the at least one trigger area is triggered; and a first execution module configured to, in response to a first interface element in the interactive interface matching the target trigger area, execute a first action corresponding to the first interface element.

[0005] In a third aspect, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.

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

[0007] In a fifth aspect, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.

[0008] In this way, by presenting interactive components with trigger areas in the interface, and determining the target trigger area based on the electronic device's posture information, a corresponding first action is executed when the first interface element matches the target trigger area. This allows for convenient and accurate triggering of the functions corresponding to interface elements without relying on direct touch control, expanding the triggering methods for interface elements and improving the convenience and triggering efficiency of interaction when the user's operating area is restricted or occupied. Furthermore, since there is no need to allocate additional touch space for restricted or occupied operating areas, compared to triggering methods that rely on direct touch control, this solution reduces the movement and switching of operating areas required to complete a single trigger, and reduces operation interruptions in continuous operation scenarios.

[0009] It should be understood that the content described in this section is not intended to limit the key or important features of the examples in this article, nor is it intended to restrict the scope of the solution. Other features will become readily apparent from the following description. Attached Figure Description

[0010] The above and other features, advantages, and aspects of the various examples herein will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. In the accompanying drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 The diagram illustrates sample environments in which some of the examples in this article can be implemented; Figure 2A The diagrams show some scenarios of the interactive interface; Figure 2B The diagram illustrates some scenarios where interactive components overlap with interface elements in the first mode. Figure 2C The diagram illustrates how the target triggering area is triggered in some scenarios; Figure 2D The diagram illustrates some scenarios where prompts are displayed to configure action types; Figure 2E The diagram illustrates several scenarios where interactive components overlap with multiple interface elements. Figure 2F The diagrams show some scenarios of interactive components; Figure 2G A schematic diagram illustrating the presentation of the first configuration component in several scenarios is shown; Figure 2H The diagram illustrates some scenarios where the interactive component in the second mode includes two trigger partitions; Figure 2I The diagram illustrates some scenarios where the interactive component in the second mode includes three trigger zones; Figure 2J The diagram illustrates the structure of interactive components in several scenarios, as well as the trigger direction and trigger angle. Figure 2K The diagrams illustrate the movement of indicator elements and the resizing of interactive components in several scenarios. Figure 3 Flowcharts are shown for methods used in interface interaction in some scenarios; Figure 4 Block diagrams of devices for interface interaction in several scenarios are shown; and Figure 5 A block diagram of an electronic device capable of implementing multiple illustrative scenarios is shown. Detailed Implementation

[0011] The examples in the text will now be described in more detail with reference to the accompanying drawings. While some examples are shown in the drawings, it should be understood that solutions can be implemented in various forms and should not be construed as limited to the examples presented herein. Rather, these examples are provided to provide a more thorough and complete understanding of the solutions. It should be understood that the drawings and examples in this document are for illustrative purposes only and are not intended to limit the scope of protection of the solutions.

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

[0013] In the description of the examples in this document, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an example" or "the example" should be understood as "at least one example". The term "some examples" should be understood as "at least some examples". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

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

[0015] In this manual and the sample solutions, any processing of personal information will be conducted only under legal grounds (such as obtaining the consent of the data subject or being necessary for the performance of a contract) and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.

[0016] As used in this document, the term "interactive component" refers to a visual control presented in an interactive interface for users to interact with via the gestures of an electronic device. This may include, but is not limited to, graphical controls with directional and / or range indication capabilities, such as an externally displayed gyroscope wheel, and may include at least one trigger area for triggering a corresponding function.

[0017] The term "trigger area" as used in this article refers to the area in an interactive component used to trigger a corresponding function when it is entered or pointed to. It may include, but is not limited to, the overlapping area between the interactive component and the interface element, or the partitions in the interactive component divided by direction.

[0018] The term "attitude information" as used in this article refers to information that can characterize the spatial orientation of an electronic device, which typically includes, but is not limited to, the tilt direction and tilt angle of the electronic device, and can be detected based on a gyroscope, accelerometer, or orientation input component connected to the electronic device.

[0019] The term "interface element" as used in this article refers to a visual object in an interactive interface that can be manipulated to trigger corresponding functions. It may include, but is not limited to, buttons, icons, controls, such as shooting buttons and skill buttons in a game interface.

[0020] The term "indicator element" as used in this article refers to a visual object presented within an interactive component to indicate the current posture of an electronic device. Its position can move as the posture of the electronic device changes, and it can also be referred to as a trigger point or indicator.

[0021] The term "first action" as used in this article refers to the operation performed on an interface element in response to the matching of the interface element with the target trigger area. The type of action may include, but is not limited to, simulating a long press, simulating a single click, or continuous tapping.

[0022] The term "first configuration component" as used in this article refers to a visual component used to configure parameters such as the interaction mode and / or sensitivity of an interactive component, such as a settings panel that can be invoked via a specific action on the interactive component (such as double-clicking).

[0023] The term "prompt information" as used in this article refers to information used to prompt users to make configurations or selections, such as a pop-up prompt for users to select the action type for their first action.

[0024] The term "interaction mode" as used in this article refers to the way an interactive component determines the target trigger area, which may include, but is not limited to, a first mode that determines the trigger area by overlapping areas, and a second mode that divides multiple trigger areas by direction.

[0025] The term "direction input component" as used in this article refers to an input component capable of outputting direction or motion increment information, which may include, but is not limited to, joysticks, auxiliary input devices located on the back of the device, etc.

[0026] The term “Human-Computer Interaction (HCI)” as used in this article refers to the process and corresponding technologies for information exchange between users and electronic devices, which may include, but are not limited to, interaction methods based on one or more modalities such as touch, posture, gesture, and vision.

[0027] As mentioned above, operations on interface elements in interactive interfaces often rely on direct touch control by the user on the screen. However, in application scenarios such as games and video browsing, the user's hands may already be occupied by primary operations such as movement and aiming, making it difficult to free up fingers to trigger other interface elements; for users who operate with one hand or whose operating parts are limited, some interface elements may also be difficult to reach. Therefore, there is a need to provide an interactive method that can conveniently and flexibly trigger the functions corresponding to interface elements by leveraging the posture of the electronic device.

[0028] This paper proposes a scheme for interface interaction. According to this scheme, an interactive component with at least one trigger area is presented in the interactive interface of an electronic device. When the user adjusts the posture of the electronic device, a target trigger area within the at least one trigger area is triggered based on the posture information of the electronic device. Furthermore, in response to a first interface element in the interactive interface matching the target trigger area, a first action corresponding to the first interface element is executed. Through this scheme, the user can trigger the function corresponding to the interface element by adjusting the posture of the electronic device without directly touching the interface element, thereby expanding the triggering methods of the interface element and improving the convenience and accuracy of interaction when the user's operating area is restricted or occupied.

[0029] The following describes various examples of this scheme in further detail with reference to the accompanying drawings.

[0030] Figure 1 A schematic diagram of an example environment 100 in which some examples of this article can be implemented is shown. For example... Figure 1 As shown, example environment 100 includes electronic device 110.

[0031] In some examples, an application 120 that supports user interface interaction can run on the electronic device 110. The application 120 may be, for example, a game application, a video application, or other application with an interactive interface, used to implement the presentation of interactive components, indicator elements, and prompts as described below.

[0032] User 140 can interact with application 120 through electronic device 110. For example, user 140 can initiate interactive operations such as tilting, dragging, double-clicking, and swiping through electronic device 110.

[0033] Electronic device 110 can present interface 150 to user 140 through application 120. Interface 150 can serve as a presentation carrier for the interactive interface described below.

[0034] Electronic device 110 can communicate with server 130.

[0035] Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some cases, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry). In some examples, electronic device 110 can have built-in sensors such as gyroscopes and accelerometers for detecting attitude information.

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

[0037] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection can include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections. In some cases, server 130 and electronic device 110 can exchange signaling information through their communication connection.

[0038] In some examples, the scheme described herein can be implemented as a standalone device 110, with the related processing on server 130 being merely an optional example.

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

[0040] In this scheme, the interactive component acts as an intermediary control, visually presented in the interactive interface, used to map the posture of the electronic device to trigger interface elements. The posture of the electronic device is sensed as posture information, which may include, but is not limited to, the tilt direction and tilt angle of the electronic device. During operation, the electronic device can map the acquired posture information to determine the triggering of at least one triggering area. That is, based on the current tilt direction and / or tilt angle, it determines whether the posture information points to a certain triggering area and meets the corresponding triggering conditions, thereby determining that the triggering area as the target triggering area. When an interface element in the interactive interface matches the target triggering area, the first action corresponding to that interface element is executed. Thus, the triggering of the function corresponding to the interface element is decoupled from the direct touch control of the interface element to the adjustment of the posture of the electronic device.

[0041] In some examples, the scheme may include two complementary phases: a configuration phase and an execution phase. In the configuration phase, interactive components can be dragged and dropped to establish associations or overlaps between trigger areas and interface elements. The trigger area can be defined as an overlapping area with the interface element or a directional partition by selecting an interaction mode. Parameters such as sensitivity, target size, required trigger angle threshold, and action type can be set to establish mapping rules from posture information to trigger determination and the first action. In the execution phase, the electronic device can convert real-time acquired posture information into triggering the target trigger area and executing the corresponding first action based on the established mapping rules. By separating the establishment of the mapping relationship from the execution of the trigger action, users can dynamically configure the interface elements triggered by posture and their triggering methods on demand without changing the interface elements themselves.

[0042] In some examples, the mapping from attitude information to trigger determination can be represented by an indicator element presented within the interactive component: the position of the indicator element within the interactive component moves with changes in attitude information, and when the indicator element enters a trigger area, or its indicated direction corresponds to a trigger area, the trigger area is determined to be triggered; the correspondence between the change in attitude information and the movement speed of the indicator element can be linear or non-linear, and can be adjusted through configuration. In some examples, the above principle does not depend on a specific source of attitude information or a specific form of the interactive component: attitude information can be detected by a gyroscope, accelerometer, or directional input component connected to an electronic device, and the interactive component can also be implemented as a wheel, ring, or other graphical control that can represent direction and / or range, as long as it can map an input with directional and range characteristics to a triggering of the trigger area.

[0043] The following description of the example will continue with reference to the accompanying drawings.

[0044] Figure 2A Schematic diagrams of interactive interfaces 200A in several scenarios are shown. In some examples, the electronic device 110 may present interactive components in the interactive interface, which include at least one trigger area. For example... Figure 2A As shown, the interactive interface 200A presents interactive components 202, and the interactive interface 200A also includes pre-existing interface elements, such as interface element 204-1, interface element 204-2, and interface element 204-3 (in... Figure 2A (These are indicated by buttons A, B, and C respectively).

[0045] In some examples, the interactive component 202 can be implemented as an external gyroscope wheel to display the tilt direction and tilt angle of the electronic device 110. For example, in the interactive interface of a shooting game, interface elements 204-1 to 204-3 can be buttons for shooting, reloading, or releasing skills, while the interactive component 202 is presented as an additional interactive control that can be manipulated by the user by adjusting the device's posture.

[0046] In some examples, interactive component 202 can be presented as a floating layer overlaid on the original content of the interactive interface, so that it does not obscure or obscures interface elements 204-1 to 204-3 as little as possible. For example, interactive component 202 can be presented as a semi-transparent, hideable, or collapseable control. In some examples, the form of interactive component 202 is not limited to... Figure 2A The circular wheel shown can also be implemented as a ring, sector, polygon, or bar, or other shapes that can represent direction and / or range; one or more interactive components 202 can also be presented simultaneously in the interactive interface. Therefore, it is possible to flexibly introduce posture-based interactive entry points without significantly affecting the original layout and operation of the interactive interface, thus improving the adaptability of this solution to different interactive interfaces.

[0047] By presenting such interactive components in the interactive interface, users can be provided with an interface interaction entry point based on device posture, which is different from direct touch control, thus laying the foundation for subsequent triggering of functions corresponding to interface elements by posture.

[0048] Figure 2B The diagram illustrates some scenarios in which the interactive component 202 overlaps with a UI element. In some examples, the electronic device 110 may, in response to receiving an operation (hereinafter referred to as a third operation), move the interactive component 202 to a first position on the interactive interface associated with a UI element; and associate at least one trigger area of ​​the interactive component 202 with the UI element.

[0049] like Figure 2BAs shown, the user can long-press the interactive component 202 and drag it from its original position (shown as a dashed circle in the diagram) to place it on interface element A (i.e., interface element 204-1), so that the interactive component 202 and interface element A at least partially overlap. In some examples, at least one trigger area of ​​the interactive component 202 is related to the overlapping area of ​​the interactive component 202 and the interface element. For example... Figure 2B As shown, the overlapping area 206 between the interactive component 202 and the interface element A serves as the trigger area, while the portion of the interactive component 202 that does not overlap with the interface element serves as the non-triggered area. Furthermore, the interactive component 202 displays an indicator element 208 representing the current posture of the electronic device 110; the indicator element 208 may be, for example, a virtual cursor corresponding to the tilt of the electronic device 110. This method of determining the trigger area based on the overlapping area corresponds to the first mode described below.

[0050] In some examples, the overlap between interactive component 202 and interface element A in the interactive interface can be determined based on their geometric relationship. For instance, the overlap area 206 can be obtained by finding the intersection of their areas in the screen coordinate system, and this overlap area 206 can be designated as the trigger area after interactive component 202 is placed. In some examples, the association between the trigger area and the interface element may not rely on strict geometric overlap. For example, the association can be established by snapping when interactive component 202 is placed near interface element A, or the user can directly specify the binding relationship between the trigger area and interface element A. The user can also drag interactive component 202 at any time to change the association. Compared to a fixed triggering method after configuration, the real-time drag-and-drop method reduces the steps required for users to reconfigure the trigger object, improving the efficiency of dynamic configuration.

[0051] As a result, users can change the relationship between the trigger area and the interface elements in real time by dragging and placing the interactive component 202, thereby flexibly and dynamically configuring the interface elements to be triggered by gestures, which improves the convenience of configuration.

[0052] Figure 2C The diagram illustrates several scenarios in which a target trigger area is triggered. In some examples, the electronic device 110 can determine, based on the posture information of the electronic device 110, that a target trigger area in at least one trigger area has been triggered; and in response to a first interface element in the interactive interface matching the target trigger area, execute a first action corresponding to the first interface element.

[0053] like Figure 2CAs shown, after the interactive component 202 overlaps with the interface element A, when the user tilts the electronic device 110, the indicator element 208 within the interactive component 202, which represents the current posture, will move accordingly; when it enters the overlapping area 206 (i.e., the trigger area), it is determined that the target trigger area has been triggered. Since the interface element A matches the target trigger area, the electronic device 110 executes the first action corresponding to the interface element A, such as triggering the shooting function corresponding to the interface element A. The overlapping area 206 is the trigger area; non-triggered areas do not trigger corresponding functions.

[0054] In some examples, the position of indicator element 208 within the interaction component 202 can be obtained by mapping posture information. For example, the tilt direction of the electronic device 110 can be mapped to the offset direction of indicator element 208 relative to the center of the interaction component 202, and the tilt angle can be mapped to the magnitude of that offset. This allows the position of indicator element 208 to visually represent the current posture. In some examples, the shape of indicator element 208 is not limited to... Figure 2F The dot shown can also be an arrow, a highlight, or other visual marker, and can additionally display the movement trajectory of the indicator element 208 or its relative relationship with each trigger area. By representing the current posture and its relationship with the trigger area with the visual indicator element 208, the user can obtain immediate visual feedback when adjusting the posture. Compared with posture operation without visual feedback, this reduces the number of attempts required to achieve the target trigger, and improves the controllability and success rate of triggering.

[0055] By presenting a visual indicator element 208 within the interactive component 202, users can intuitively understand the current device posture and its relative relationship with the trigger area, thereby more accurately controlling the triggering of the target trigger area.

[0056] In some examples, determining whether a target trigger area has been triggered may include: judging whether an indicator element representing the posture has entered the overlapping area 206, for example, by judging whether the position of the indicator element falls within the area corresponding to the overlapping area 206, and applying debouncing processing to this judgment to avoid false triggering caused by instantaneous posture jitter. In some examples, it may also be required that the indicator element stays within the overlapping area 206 for a certain duration, or that the area of ​​the overlapping area 206 reaches a certain proportion, before determining that the target trigger area has been triggered. Compared to relying on precise tapping of interface element A on the screen, the above posture-based triggering can be completed without the user's gaze leaving the main operation area, thereby reducing the movement of the operation part between different interface elements and improving the triggering efficiency under continuous operation.

[0057] In this way, users do not need to directly touch interface element A; they can trigger the function corresponding to interface element A simply by adjusting the posture of the electronic device 110. This allows for convenient triggering of interface elements even when both hands are occupied, improving interaction efficiency. Compared to precisely tapping interface element A on the screen, triggering via posture can be completed without interrupting the main operation, thus reducing the occupation of the operating area.

[0058] Figure 2D The diagram illustrates several scenarios of presenting prompts 210 for configuring action types. In some examples, the action type of the first action can be determined based on at least one of the following: the function corresponding to the first interface element, the user's configuration operation (hereinafter referred to as the third configuration operation), and the user's historical interaction information with the first interface element. In some examples, the electronic device 110 may present prompts for configuring the first action in response to a target trigger being triggered (or when the interactive component 202 is associated with an interface element); and receive the third configuration operation via the prompts, the third configuration operation indicating the action type of the first action.

[0059] like Figure 2D As shown, the electronic device 110 displays a prompt message 210 (e.g., a pop-up window saying "Please select action type"), which provides selectable action types such as long press 210-1, single click 210-2, and double press 210-3. The user can select an action type via the prompt message 210 to determine the type of the first action to be performed on interface element A. For example, for a shooting button that fires once when clicked, a single click (simulating a single click) can be selected; while for a function button that requires holding down the button, a long press (simulating a long press) can be selected.

[0060] In some examples, performing a first action corresponding to a first interface element may include performing the first action based on the action type of the first action. For example, in response to the first action corresponding to a first action type (e.g., simulating a long press), the first action is continuously performed, and in response to the target trigger area no longer being triggered, the execution of the first action ends; or, in response to the first action corresponding to a second action type (e.g., simulating a click), the first action is performed once.

[0061] In addition, in some examples, the action type can also be matched with the state of other inputs received by the electronic device 110. For example, different action types or trigger modes can be corresponding to when another input component is in a pressed state and a non-pressed state, respectively.

[0062] In some examples, the prompt 210 can be presented when the interactive component 202 is associated with an interface element or when the target trigger area is triggered. The selected action type can be saved and associated with the corresponding interface element for reuse in subsequent triggers. Different action types can correspond to different execution mechanisms. For example, a long press 210-1 corresponds to continuously executing the first action during the trigger period, a single click 210-2 corresponds to executing the first action once, and a double press 210-3 corresponds to repeatedly executing the first action at a certain frequency during the trigger period, where the repetition frequency can be configurable. In some examples, the prompt 210 can also be omitted, and a default action type corresponding to its function can be used for the interface element, or the action type can be automatically determined based on the user's historical interaction information with the interface element. Thus, the operation triggered by gesture can match the interactive characteristics of the interface element itself, reducing invalid or erroneous operations caused by inappropriate action types.

[0063] By determining the action type based on the function, user configuration, or historical interaction information of the interface element, and then executing the first action continuously or once, the operation triggered by gesture can be adapted to the interaction characteristics of the interface element itself, thus improving the accuracy and applicability of the triggering results.

[0064] Figure 2E The diagram illustrates several scenarios where the interactive component 202 overlaps with multiple interface elements. In some examples, the target triggering area is a first triggering area, and the electronic device 110 can also execute a second action corresponding to the second interface element in response to the triggering of a second triggering area associated with the second interface element.

[0065] like Figure 2E As shown, the interactive component 202 can overlap with both interface element A (interface element 204-1) and interface element D (interface element 204-4) simultaneously, thereby forming multiple trigger areas associated with interface element A and interface element D respectively. When the user adjusts the posture of the electronic device 110 so that the part representing the posture enters the trigger area associated with interface element A, the first action corresponding to interface element A is executed; when it enters the trigger area associated with interface element D, the second action corresponding to interface element D is executed. For example, in a game scene, placing the interactive component 202 between the upper right button and the lower button, tilting it in one direction will trigger the function of one button, and tilting it in another direction will trigger the function of the other button.

[0066] In some examples, the interactive component 202 can maintain multiple trigger areas associated with interface elements A and D respectively, and record the association between each trigger area and the corresponding interface element. When an indicator element enters one of the trigger areas, it executes the action corresponding to the interface element associated with that trigger area. In some examples, the number of interface elements associated with a single interactive component 202 is not limited to two; it can be associated with more interface elements separately, and can be combined with the partitioning method described below. Compared to providing an independent gesture trigger control for each interface element, associating multiple interface elements with a single interactive component 202 can reduce the display space occupied in the interactive interface and the user's switching operations between multiple controls, thus improving space utilization and operational efficiency.

[0067] As a result, a single interactive component can establish a matching relationship with multiple interface elements and trigger their respective actions, further expanding the triggering capability of the interactive component and reducing the burden on users to switch between multiple interface elements.

[0068] Figure 2F Schematic diagrams of the interactive component 202 in several scenarios are shown. In some examples, the electronic device 110 may present an indicator element within the interactive component 202; and in response to receiving an operation (hereinafter referred to as a first operation), move the position of the indicator element in the interactive component 202, the first operation being used to adjust the posture of the electronic device 110.

[0069] like Figure 2F As shown, the middle part of the interaction component 202 includes an inner ring 212, which itself does not trigger. By setting the inner ring 212, errors caused by slight changes in posture can be avoided.

[0070] Figure 2G Schematic diagrams illustrating the presentation of the first configuration component in several scenarios are shown. In some examples, the electronic device 110 may present the first configuration component in an interactive interface; and in response to receiving a configuration operation (hereinafter referred to as a second configuration operation) via the first configuration component, adjust the interaction mode of the interactive component 202.

[0071] like Figure 2G As shown, the first configuration component can be invoked by double-clicking the interactive component 202. The first configuration component can display configuration items such as mode, number of partitions 214, and gyroscope sensitivity 216. In some examples, the user can set the interaction mode and the number of trigger areas of the interactive component 202 by sliding the mode and number of partitions 214 up and down. For example, one interaction mode corresponds to zero partitions, and another interaction mode corresponds to a non-zero number of partitions. Figure 2G(The number of partitions in the middle is shown as 1). Users can also adjust the sensitivity by sliding the gyroscope sensitivity 216 left and right, which is the correspondence between the change in attitude information and the movement speed of the indicator element 208.

[0072] In some examples, the interaction mode may include a first mode and a second mode. The first mode indicates that the target triggering area corresponds to the overlapping area between the interaction component 202 and the first interface element; the second mode indicates that at least one triggering area of ​​the interaction component 202 includes multiple triggering areas located in different directions, wherein the triggering area corresponding to the direction indicated by the posture information among the multiple triggering areas is the target triggering area, and the number of the multiple triggering areas is determined based on the second configuration operation.

[0073] In some examples, the first configuration component can be invoked via a specific operation on the interactive component 202 (e.g., double-clicking), or via other entry points in the interactive interface. The configured items can be saved for later use. In some examples, the configuration items presented in the first configuration component are not limited to the mode and partition number 214 and the gyroscope sensitivity 216, but may also include one or more of the following: the angle threshold required for triggering, the action type, the size of the interactive component 202, and its transparency. By centralizing these configuration items in the first configuration component for user adjustment, the same interactive component 202 can be adapted to different application scenarios and operating habits, improving the adjustability of this solution between accuracy and convenience compared to interaction methods with fixed parameters.

[0074] By presenting the first configuration component and adjusting the interaction mode and sensitivity accordingly, users can flexibly configure the behavior of the interactive component according to different application scenarios and operating habits, thereby balancing the accuracy and convenience of triggering.

[0075] Figure 2H Schematic diagrams of the interaction component 202 in the second mode are shown for some scenarios. In some examples, when the interaction component 202 is in the second mode, the interaction component 202 includes a central region and multiple trigger regions located on the outer ring. The multiple trigger regions are located in different directions, and the trigger region corresponding to the direction indicated by the attitude information is the target trigger region.

[0076] like Figure 2H As shown, the outer ring of the interactive component 202 is divided into multiple partitions, among which the trigger partition 202-1 serves as the trigger area corresponding to the interface element. The inner ring 212 in the middle of the interactive component 202 and the partitions in the outer ring that are not associated with the interface element do not trigger the corresponding function. The indicator element 208 is located in the middle of the interactive component 202 and is used to represent the posture (its relationship with the interface element). Figure 2F(The indicator element 208 in the text is the same indicator element). For example, the outer ring can be divided into left and right partitions, and interface element A (interface element 204-1) can be associated with one of the partitions, thereby realizing directional triggering of "tilting to the right to trigger a certain button function and tilting to the left to trigger another button function".

[0077] In some examples, the target triggering area is the first triggering area. Multiple triggering areas may include a second triggering area. When the second triggering area has a third overlapping area and a fourth overlapping area with the first interface element and the third interface element, respectively, the interface element associated with the second triggering area can be determined based on the area of ​​the third overlapping area and the fourth overlapping area. For example, it can be associated with the interface element with the largest overlapping area. An interface element can overlap with multiple partitions. As long as the interface element is the only one in the corresponding partition or the interface element with the largest overlapping area, the partition is associated with it.

[0078] In some examples, the outer ring of the interactive component 202 in the second mode can be divided into multiple partitions according to angles. Each partition corresponds to a directional range. The partition corresponding to the direction indicated by the posture information (e.g., trigger partition 202-1) is determined as the target trigger area, while the central area can serve as a neutral area where no function is triggered. In some examples, the number of partitions and the angular range occupied by each partition can be configurable, and the angular ranges of each partition can also be different from each other. When the same partition overlaps with multiple interface elements, the interface element associated with the partition can be determined based on the area of ​​each overlapping area, for example, associated with the interface element with the largest overlapping area. Compared to using a precise overlapping area as the trigger area, partitions divided by direction only need to tilt in the corresponding direction when triggered, thus relaxing the requirements for tilt accuracy and improving triggering speed and fault tolerance at the expense of a small amount of positioning accuracy.

[0079] Compared to the first mode, which uses overlapping areas as the trigger zone, the second mode divides the trigger zone by direction. Triggering simply requires tilting in the corresponding direction, making it more convenient, efficient, and intuitive for users, aligning better with their sense of left, right, up, and down. This is suitable for scenarios where trigger accuracy is less critical but trigger speed is more important. Compared to the first mode, the second mode uses direction instead of precise location as the trigger basis, allowing for some directional deviation while improving both success rate and speed.

[0080] Figure 2I The diagram illustrates some scenarios where the interactive component 202 in the second mode includes three trigger zones. For example... Figure 2IAs shown, the outer ring of the interactive component 202 can be further divided into more partitions (e.g., three partitions). Different partitions are located in different directions and can be associated with different interface elements. For example, interface element A (interface element 204-1) and interface element D (interface element 204-4) are associated with trigger partitions located in different directions, and the indicator element 208 is located in the middle of the interactive component 202. In some examples, the number of trigger areas (partitions) can be determined based on the aforementioned second configuration operation, for example, by setting more trigger areas in different directions such as up, down, left, and right. The association between each partition and the interface element can still be determined according to the aforementioned rule of uniqueness or maximum overlap area.

[0081] In some examples, the number of partitions in the second mode can be further increased as needed. The multiple partitions can correspond to different directions such as up, down, left, and right, and can be associated with different interface elements. For example, interface element A and interface element D can be associated with partitions located in different directions. The distribution of partitions in each direction can be uniform or non-uniform. In some examples, the partitioning method can also be combined with an overlapping method. For example, while determining the trigger direction by partitions, the interface elements associated with the partitions are determined based on the overlap area between the interface elements and the partitions. By adjusting the number and distribution of partitions as needed, a single interactive component 202 can support quick triggering along more directions. Compared to increasing the number of interface elements themselves, this reduces the display space required by the interactive interface and improves the flexibility and scalability of the interaction.

[0082] By increasing the number of trigger zones as needed, more directional triggering can be supported in the second mode, thereby enabling directional and quick triggering of more interface elements with a single interactive component, further enhancing the flexibility of interaction.

[0083] Figure 2J The diagram illustrates the structure of the interactive component 202 in several scenarios, along with the triggering direction and triggering angle. In some examples, the posture information includes the tilt direction and tilt angle of the electronic device 110. Determining that the target triggering area is triggered may include: in response to the tilt direction pointing towards the target triggering area and the tilt angle reaching a first angle, determining that the target triggering area is triggered.

[0084] like Figure 2JAs shown, the interactive component 202 may include a central region (i.e., the inner ring 212) and an outer ring. The boundary of the central region is represented by a dashed line in the figure, and arrows represent any tilt direction. The indicator element starts from the central region, and the target trigger area is determined to be triggered only when it crosses the boundary of the central region in a certain direction (i.e., the tilt angle reaches the first angle corresponding to the boundary) and enters the trigger area in the outer ring corresponding to that direction; the trigger area in the corresponding direction can be triggered by tilting at the first angle in any direction.

[0085] In some examples, the first angle can be determined based on the user's configuration operation (hereinafter referred to as the first configuration operation). The inner ring 212 in the middle can serve as a neutral zone to prevent accidental touches. The inner ring 212 itself does not trigger, and there is no triggering area when the tilt angle does not reach the first angle.

[0086] In some examples, the boundary of the central region can be correlated with the first angle required for triggering. That is, when the tilt angle of the electronic device 110 in a certain direction reaches a level that causes the indicator element to cross the boundary, the tilt angle is considered to have reached the first angle, and the triggering area in that direction is determined to be triggered. The central region can serve as a neutral zone with a configurable radius. When the tilt angle does not reach the first angle, the indicator element is located within the neutral zone and there is no triggering area. In some examples, the first angles in different directions can be different from each other, for example, different angle thresholds can be configured for different directions to accommodate different operating habits. By setting a neutral zone and allowing the first angle to be configured, while maintaining triggering in any direction, the probability of false triggering due to slight device shaking can be significantly reduced compared to triggering methods without thresholds, thus improving the stability of attitude triggering.

[0087] By determining the target trigger area based on both the tilt direction and the tilt angle reaching a first angle, and allowing users to configure the first angle and set a neutral zone in the middle, false triggering caused by slight device shaking can be effectively avoided, improving the stability and accuracy of attitude triggering. Furthermore, by allowing different first angles to be configured for different directions, the triggering conditions can be further adapted to operating habits in each direction.

[0088] Figure 2KSchematic diagrams illustrating the movement of the indicator element 208 and the size adjustment of the interactive component 202 in several scenarios are shown. In some examples, the movement speed of the indicator element 208 within the interactive component 202 is related to the amount of change in attitude information and / or the current position of the indicator element 208 within the interactive component 202. In some examples, the electronic device 110 may also receive an operation to adjust the interactive component 202 to a target size (hereinafter referred to as a second operation), and based on this target size, adjust the correspondence between the amount of change in attitude information and the movement speed.

[0089] like Figure 2K As shown, the indicator element 208 can move within the interaction component 202 as the user adjusts the posture of the electronic device 110; the user can also adjust the interaction component 202 to a target size by long-pressing it and using a two-finger pinch gesture. In some examples, the movement speed of the indicator element 208 can have a non-linear relationship with the change in posture information, for example, using a curve response with a smooth initial movement and a more sensitive later movement, making the movement relatively gentle at the beginning of the tilt and relatively sensitive at the end. In some examples, for the first mode, the size of the outer wheel of the interaction component 202 can be adjusted by pinching; for the second mode, the size of the inner wheel (i.e., the inner ring 212) of the interaction component 202 can be adjusted by pinching. The larger the size of the interaction component 202, the easier it is to control the movement of the indicator element 208 corresponding to the same change in posture, thereby indirectly adjusting the sensitivity.

[0090] In some examples, the relationship between the change in posture information and the movement speed of the indicator element 208 can be segmented or curved. For example, the movement of the indicator element 208 can be relatively smooth in the initial tilt and relatively sensitive in the later tilt, thus balancing stability during large-scale adjustments and sensitivity when approaching the target. This relationship can also be related to the current position of the indicator element 208 in the interactive component 202. In some examples, the interactive component 202 can be adjusted to the target size by long-pressing and using a two-finger pinch gesture, or by other gestures or by the first configuration component. The size of the outer wheel can be adjusted for the first mode, and the size of the inner wheel can be adjusted for the second mode. The larger the size of the interactive component 202, the easier it is to precisely control the movement of the indicator element 208 corresponding to the same change in posture. Compared to a fixed posture response, the above-mentioned configurable relationship and size adjustment can adapt the posture response to the user's operating habits, reduce overshoot and repeated adjustments during fine positioning, and improve the controllability of triggering.

[0091] By relating the movement speed of the indicator element to the amount of attitude change and / or the current position, and allowing the correspondence between the amount of attitude change and the movement speed to be changed by adjusting the size of the interactive component, it is possible to provide users with a more precise attitude response that is adapted to their operating habits, thereby further improving the controllability of triggering.

[0092] Figure 3 A flowchart illustrating an example process 300 for a method used in interface interaction is shown. Process 300 can be implemented at electronic device 110. See below for reference. Figure 3 To describe process 300.

[0093] like Figure 3 As shown, in box 310, the electronic device 110 presents an interactive component in the interactive interface, the interactive component including at least one trigger area. In box 320, the electronic device 110 determines, based on the posture information of the electronic device 110, that a target trigger area within at least one trigger area is triggered. In box 330, in response to a first interface element in the interactive interface matching the target trigger area, the electronic device 110 executes a first action corresponding to the first interface element.

[0094] Through the processes shown in boxes 310 to 330 above, the electronic device 110 can trigger the function corresponding to the interface element that matches the target trigger area based on the device posture without relying on direct touch control of the interface elements. This expands the triggering methods of interface elements and improves the convenience of interaction and triggering efficiency when the user's operating area is restricted or occupied. The process of the target trigger area being "triggered" in box 320 can be achieved by... Figure 2C The example shown illustrates the scenario where the indicator element enters the trigger area. The action type and execution mechanism of "execute the first action" in box 330 can be derived from... Figure 2D The above process, which demonstrates how to trigger the functions corresponding to interface elements without relying on direct touch, expands the triggering methods compared to the single direct touch method and improves triggering efficiency when the operating area is restricted or occupied.

[0095] In some examples, the attitude information described herein can be detected based on at least one of the following: a gyroscope, an accelerometer, and a direction input component connected to the electronic device 110. For example, the attitude information can be detected by either a gyroscope or an accelerometer built into the electronic device 110, or by a direction input component connected to the electronic device 110. The direction input component can be, for example, a joystick, an auxiliary input device located on the back of the device, or a component capable of outputting direction or motion increment information. Furthermore, the interactive components used to display direction and range are not limited to the external display of a gyroscope, but can also be applied to sensing methods with similar direction and range indication capabilities, such as eye-tracking visual capture (e.g., capturing visual focus via a camera) and behind-the-screen gesture interaction (e.g., the direction of gesture swiping on a touch device on the back of the screen).

[0096] By expanding the sources of attitude information to include multiple sensors and external direction input components, this solution becomes applicable to a wider range of device forms and input methods, improving its applicability and scalability. For example, in situations where finger swiping is inconvenient, an auxiliary input device located on the back of the device can be used to trigger input via the direction of movement, thereby expanding the applicable input methods without increasing reliance on screen touch.

[0097] In some examples, the above approach can be applied to multiple scenarios. For instance, in first-person shooter games, a user's hands may be used for movement and aiming respectively. In this case, interactive components can be used to quickly trigger functions corresponding to interface elements such as shooting or skill release via device gestures. Similarly, in scenarios such as short video browsing, interactive components can be used to trigger functions corresponding to interface elements such as liking and saving via device gestures. Furthermore, for users who operate with one hand or whose operating parts are limited, interactive components can be used to trigger functions corresponding to interface elements that are difficult for them to reach.

[0098] A corresponding apparatus for implementing the above methods or processes is also provided.

[0099] Figure 4 Block diagrams of a device 400 for user interface interaction are shown in several scenarios. Device 400 can be implemented as or included in electronic device 110. The various modules / components in device 400 can be implemented by hardware, software, firmware, or any combination thereof.

[0100] like Figure 4As shown, the device 400 includes a first presentation module 410 configured to present an interactive component in the interactive interface of an electronic device, the interactive component including at least one trigger area; a determination module 420 configured to determine, based on the posture information of the electronic device, that a target trigger area in at least one trigger area is triggered; and a first execution module 430 configured to execute a first action corresponding to the first interface element in response to a first interface element in the interactive interface matching the target trigger area.

[0101] In some cases, the determination module 420 can also be configured to: determine that the target triggering area is triggered in response to the tilt direction pointing to the target triggering area and the tilt angle reaching a first angle, provided that the attitude information includes the tilt direction and tilt angle of the electronic device.

[0102] In some cases, the aforementioned first angle can be determined based on the user's first configuration operation.

[0103] In some cases, the first presentation module 410 may also be configured to present an indicator element within the interactive component; the device 400 may also be configured to move the position of the indicator element in the interactive component in response to receiving a first operation, the first operation being used to adjust the posture of the electronic device.

[0104] In some cases, the movement speed of an indicator element within an interactive component is related to the amount of change in its pose information and / or the current position of the indicator element within the interactive component.

[0105] In some cases, the device 400 may also be configured to receive a second operation for adjusting the interactive component to a target size; and based on the target size, adjusting the correspondence between the change in attitude information and the movement speed.

[0106] In some cases, the device 400 may also be configured to, in response to receiving a third operation, move the interactive component to a first position on the interactive interface, the first position being associated with a second interface element; and associate at least one trigger area with the second interface element.

[0107] In some cases, the interactive component at least partially overlaps with the second interface element, and at least one triggering area is associated with a first overlapping area of ​​the interactive component and the second interface element.

[0108] In some cases, the target triggering area is the first triggering area, and the first execution module 430 can also be configured to execute a second action corresponding to the second interface element in response to the triggering of the second triggering area associated with the second interface element.

[0109] In some cases, the first presentation module 410 may also be configured to present the first configuration component in the interactive interface; the device 400 may also be configured to adjust the interaction mode of the interactive component in response to receiving a second configuration operation via the first configuration component.

[0110] In some cases, the interaction mode includes a first mode or a second mode. The first mode indicates that the target triggering area corresponds to a second overlapping area between the interactive component and the first interface element. The second mode indicates that at least one triggering area includes multiple triggering areas located in different directions. Among the multiple triggering areas, the triggering area corresponding to the direction indicated by the posture information is the target triggering area. The number of multiple triggering areas is determined based on a second configuration operation.

[0111] In some cases, the target triggering area is the first triggering area, and the multiple triggering areas include the second triggering area. The second triggering area has a third overlapping area and a fourth overlapping area with the first interface element and the third interface element. The interface element associated with the second triggering area is determined based on the area of ​​the third overlapping area and the fourth overlapping area.

[0112] In some cases, the action type of the first action is determined based on at least one of the following: the function corresponding to the first interface element, the user's third configuration operation, or the user's historical interaction information with the first interface element.

[0113] In some cases, the device 400 may also be configured to, in response to being triggered by a target trigger, present a prompt message for configuring a first action; and receive a third configuration operation via the prompt message, the third configuration operation indicating the action type of the first action.

[0114] In some cases, the first execution module 430 can also be configured to execute the first action based on the action type of the first action.

[0115] In some cases, the first execution module 430 may also be configured to continue executing the first action in response to the first action corresponding to the first action type; and to end the execution of the first action in response to the target triggering area no longer being triggered.

[0116] In some cases, the first execution module 430 may also be configured to execute the first action once in response to the first action corresponding to the second action type.

[0117] In some cases, attitude information is detected based on at least one of the following: a gyroscope, an accelerometer, or a direction input device connected to an electronic device.

[0118] The modules included in device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some cases, one or more modules can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 400 can be implemented at least partially by one or more hardware logic components. By way of example, and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and so on.

[0119] Figure 5 A block diagram of an electronic device 500 in which one or more examples may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the examples described herein. Figure 5 The electronic device 500 shown can be used to implement the device 400 discussed above.

[0120] like Figure 5 As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processing units or processors 510, memory 520, storage devices 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processor 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.

[0121] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof). Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.

[0122] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various examples.

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

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

[0125] A computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. A computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0126] The flowcharts and / or block diagrams of the methods, apparatus, devices, and computer program products referred to herein describe various aspects. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0127] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0128] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0129] The flowcharts and block diagrams in the accompanying figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products under various scenarios. In this respect, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the figures. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0130] Various examples have been described above. The foregoing descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for interface interaction, comprising: An interactive component is presented in the interactive interface of an electronic device, the interactive component including at least one trigger area; Based on the attitude information of the electronic device, it is determined that the target triggering area in the at least one triggering area is triggered; as well as In response to a first interface element in the interactive interface matching the target trigger area, a first action corresponding to the first interface element is executed.

2. The method of claim 1, wherein the attitude information includes the tilt direction and tilt angle of the electronic device, and determining that a target trigger region in the at least one trigger region is triggered includes: In response to the tilt direction pointing to the target triggering area and the tilt angle reaching a first angle, it is determined that the target triggering area is triggered.

3. The method according to claim 2, wherein the first angle is determined based on the user's first configuration operation.

4. The method according to claim 1, further comprising: An indicator element is presented within the interactive component; as well as In response to receiving a first operation, the position of the indicator element in the interactive component is moved, the first operation being used to adjust the posture of the electronic device.

5. The method of claim 4, wherein the movement speed of the indicator element in the interactive component is related to the amount of change in the posture information and / or the current position of the indicator element in the interactive component.

6. The method of claim 5, further comprising: Receive a second operation, the second operation being used to adjust the interactive component to a target size; as well as Based on the target size, the correspondence between the change in the attitude information and the movement speed is adjusted.

7. The method according to claim 1, further comprising: In response to receiving a third operation, the interactive component is moved to a first position on the interactive interface, the first position being related to a second interface element; as well as Associate the at least one triggering area with the second interface element.

8. The method of claim 7, wherein the interactive component at least partially overlaps with the second interface element, and the at least one triggering area is associated with a first overlapping area of ​​the interactive component and the second interface element.

9. The method according to claim 7, wherein the target triggering region is a first triggering region, and the method further comprises: In response to the triggering of the second trigger area associated with the second interface element, a second action corresponding to the second interface element is executed.

10. The method of claim 1, further comprising: The first configuration component is presented in the interactive interface; as well as In response to receiving a second configuration operation via the first configuration component, the interaction mode of the interaction component is adjusted.

11. The method of claim 10, wherein the interaction mode includes: A first mode, wherein the first mode indicates that the target triggering area corresponds to a second overlapping area between the interactive component and the first interface element; or The second mode indicates that the at least one triggering area includes multiple triggering areas located in different directions, wherein the triggering area corresponding to the direction indicated by the attitude information is the target triggering area, and the number of multiple triggering areas is determined based on the second configuration operation.

12. The method of claim 11, wherein the target triggering area is a first triggering area, the plurality of triggering areas include a second triggering area, the second triggering area has a third overlapping area and a fourth overlapping area with the first interface element and the third interface element, and the interface element associated with the second triggering area is determined based on the area of ​​the third overlapping area and the fourth overlapping area.

13. The method of claim 1, wherein the action type of the first action is determined based on at least one of the following: The function corresponding to the first interface element; The user's third configuration operation; The user's historical interaction information with the first interface element.

14. The method of claim 13, further comprising: In response to the target trigger being activated, a prompt message for configuring the first action is displayed; as well as The third configuration operation is received via the prompt information, the third configuration operation indicating the action type of the first action.

15. The method according to claim 1, wherein performing the first action corresponding to the first interface element comprises: Based on the action type of the first action, execute the first action.

16. The method of claim 15, wherein performing the first action based on the action type of the first action comprises: In response to the first action corresponding to the first action type, the first action is continuously executed; as well as In response to the target triggering area no longer being triggered, the execution of the first action ends.

17. The method of claim 15, wherein performing the first action based on the action type of the first action comprises: In response to the first action corresponding to the second action type, the first action is executed once.

18. The method of claim 1, wherein the attitude information is detected based on at least one of the following: Gyroscope; Accelerometer; A direction input component connected to the electronic device.

19. A device for interface interaction, comprising: A first presentation module is configured to present an interactive component in the interactive interface of an electronic device, the interactive component including at least one trigger area; The determination module is configured to determine, based on the attitude information of the electronic device, that a target triggering region in the at least one triggering region is triggered; as well as The first execution module is configured to execute a first action corresponding to the first interface element in response to a match between a first interface element in the interactive interface and the target trigger area.

20. An electronic device, comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 18 when executed by the at least one processor.

21. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 18.

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