Display method for element to be interacted with, and terminal device and computer-readable storage medium
By adjusting the easy-to-operate area of the terminal device according to the user's grip posture and interaction status, and displaying the target position of the interactive element, the problem of inconvenient operation of large-sized devices is solved, and user operation efficiency is improved.
Patent Information
- Application Number
- PCT/CN2025/136273
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2025-11-20
- Publication Date
- 2026-11-26
AI Technical Summary
Users with different grip postures face operational limitations on large-sized terminal devices. In existing technologies, the position and layout of controls in the interface are stable, leading to inconvenience in operation.
The terminal device determines the easy-to-operate area based on the user's grip posture and interaction status, and displays the target position of the interactive element in the area to ensure that all or part of the element is located in the easy-to-operate area, thereby improving operation efficiency.
Users can complete the operation without changing their holding posture, which improves the operating efficiency of the terminal device.
Smart Images

Figure CN2025136273_26112026_PF_FP_ABST
Abstract
Description
Display method of interactive elements, terminal device and computer-readable storage medium
[0001] This application claims priority to Chinese Patent Application No. 202510661153.9, filed on May 21, 2025, entitled "Method for Displaying Interactive Elements, Terminal Device and Computer-Readable Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of smart terminal technology, and in particular to a method for displaying interactive elements, a terminal device, and a computer-readable storage medium. Background Technology
[0003] When users use a terminal device, the easily operable areas on the screen vary depending on how they hold the device. Furthermore, some holding postures create blind spots on the screen, making them difficult for users to reach and requiring them to change their holding posture. In existing technologies, the position and layout of controls on the terminal device interface are relatively stable, and the limited operational areas differ depending on the user's holding posture. With the increasing prevalence of larger terminal devices, this operational inconvenience is becoming increasingly prominent. Summary of the Invention
[0004] This application provides a method for displaying an interactive element, a terminal device, and a computer-readable storage medium, so as to enable the terminal device to determine the target display position of the interactive element based on the position of the user in the easily operable area on the terminal device screen, thereby improving the user's operation efficiency of the interactive element.
[0005] In a first aspect, embodiments of this application provide a method for displaying an interactive element, comprising: determining the interaction state between a user and a terminal device, wherein the interaction state includes the user's interactive hand performing interactive operations on the terminal device and the user's holding posture when holding the terminal device; determining an easily operable area on the screen of the terminal device based on the interaction state; determining a target display position of the interactive element based on the easily operable area; and displaying the interactive element at the target display position.
[0006] In the above-mentioned method for displaying interactive elements, the terminal device determines the interaction state between the user and the terminal device, and then determines the easy-to-operate area of the user on the terminal device screen based on the interaction state. Finally, based on the position of the easy-to-operate area, the target display position of the interactive element is determined, and the interactive element is displayed at the target display position. This ensures that the user can complete the operation on the interactive element without changing the holding posture, thereby improving the user's operation efficiency on the interactive element.
[0007] In one possible implementation, all or part of the interactive element located at the target display position is located within the aforementioned easy-to-operate area.
[0008] In one possible implementation, when the interactive element is partially located within the aforementioned easy-to-operate area, the area of the interactive element within the easy-to-operate area is greater than or equal to a first threshold; or, the ratio of the area of the interactive element within the aforementioned easy-to-operate area to the total area of the interactive element is greater than or equal to a second threshold.
[0009] In one possible implementation, before determining the target display position of the interactive element based on the easy-to-operate area, the terminal device can also obtain the default display position of the interactive element.
[0010] In one possible implementation, determining the target display position of the interactive element based on the aforementioned easy-to-operate area can be as follows: if the area of the interactive element within the easy-to-operate area does not meet a preset condition when displayed at the default position, then a new display position is determined as the target display position based on the position of the easy-to-operate area and the default display position of the interactive element, so that the area of the interactive element within the easy-to-operate area meets the preset condition. The preset condition can be that the area of the interactive element within the easy-to-operate area is greater than or equal to a first threshold, or that the ratio of the area of the interactive element within the easy-to-operate area to the total area of the interactive element is greater than or equal to a second threshold.
[0011] In one possible implementation, the target display position of the interactive element can be the coordinates of the positioning point of the interactive element; wherein the positioning point of the interactive element includes any one or more points of the interactive element.
[0012] In one possible implementation, displaying the interactive element at the target display location can be achieved by displaying the positioning point of the interactive element at the target display location.
[0013] The above implementation method can ensure that users can complete the operation of the interactive element without changing the holding posture of the device, thus improving the efficiency of the user's operation of the interactive element.
[0014] In one possible implementation, the interactive elements include pop-up controls, recommended operation buttons within pop-up controls, transient grids, or pattern lock operation pages.
[0015] In one possible implementation, the aforementioned pop-up controls include system message pop-ups and / or application notification pop-ups.
[0016] In one possible implementation, the interactive hand can be determined by: determining the interactive hand of the user performing interactive operations on the terminal device based on the characteristics of the touch points formed when the user's fingers operate on the screen of the terminal device.
[0017] In one possible implementation, the holding posture can be determined by the following method: the user's holding posture of the terminal device is determined based on the capacitance signal at the edge of the terminal device screen when the user holds the terminal device.
[0018] Secondly, embodiments of this application provide a terminal device, including: one or more processors; a memory; multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the terminal device, cause the terminal device to perform the method provided in the first aspect.
[0019] It should be understood that the second aspect of the embodiments of this application is consistent with the technical solution of the first aspect of the embodiments of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be described again.
[0020] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method provided in the first aspect.
[0021] Fourthly, embodiments of this application provide a computer program product, which includes a computer program that, when run on a computer, causes the computer to perform the method provided in the first aspect.
[0022] In one possible design, the program in the fourth aspect can be stored wholly or partially on a storage medium packaged with the processor, or it can be stored wholly or partially on a memory not packaged with the processor. Attached Figure Description
[0023] Figure 1 is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;
[0024] Figure 2(a) is a flowchart of a method for displaying interactive elements according to an embodiment of this application;
[0025] Figure 2(b) is a schematic diagram of determining the interactive hand according to an embodiment of this application;
[0026] Figure 2(c) is a schematic diagram of determining the holding posture according to an embodiment of this application;
[0027] Figure 2(d) is a schematic diagram of the interaction state between a user and a terminal device 100 according to an embodiment of this application;
[0028] Figure 2(e) is a schematic diagram of an easy-to-operate area provided in an embodiment of this application;
[0029] Figure 2(f) is a schematic diagram of the positioning points of the element to be interacted provided in an embodiment of this application;
[0030] Figure 2(g) is a schematic diagram of displaying interactive elements according to an embodiment of this application;
[0031] Figure 3 is a schematic diagram of adjusting the display position of a pop-up control according to an embodiment of this application;
[0032] Figure 4 is a schematic diagram of adjusting the display position of the recommended operation button in a pop-up control according to an embodiment of this application;
[0033] Figure 5 is a schematic diagram of adjusting the display position of pop-up controls and recommended operation buttons according to an embodiment of this application;
[0034] Figure 6 is a schematic diagram of the display position of the pop-up box provided in an embodiment of this application;
[0035] Figure 7 is a schematic diagram of a transient grid of a folder provided in an embodiment of this application;
[0036] Figure 8 is a schematic diagram showing the display position of the transient grid of a folder according to an embodiment of this application;
[0037] Figure 9 is a schematic diagram showing the display position of the pattern lock operation page according to an embodiment of this application;
[0038] Figure 10 is a schematic diagram of the structure of a terminal device provided in another embodiment of this application. Detailed Implementation
[0039] The terminology used in the implementation section of this application is for the purpose of explaining specific embodiments of this application only, and is not intended to limit this application.
[0040] In existing technologies, the position and layout of controls in the interface of terminal devices are relatively stable and do not dynamically change due to differences in user finger size and / or grip posture. This results in different restricted areas for operation for users with different grip postures, and with the increasing prevalence of larger terminal devices, the problem of inconvenient operation is becoming increasingly prominent. These controls, also known as software controls, refer to various visual elements in the user interface of a terminal device 100, allowing users to interact with applications on the terminal device.
[0041] To address the above issues, this application provides a method for displaying interactive elements. This method allows the terminal device to display the interactive element in the user's easily accessible area based on the user's grip posture, thereby improving the user's operational efficiency. The application scenario for this application is that during the use of pop-up controls or temporary operation controls, the position of the pop-up controls or temporary operation controls is rearranged according to the user's grip and easily accessible area.
[0042] The display method for interactive elements provided in this application can be applied to terminal devices, which can be smartphones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc. This application does not impose any restrictions on the specific type of terminal device.
[0043] For example, Figure 1 is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. As shown in Figure 1, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0044] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0045] Processor 110 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0046] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0047] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0048] Terminal device 100 implements display functions through a GPU, display screen 194, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0049] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0050] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of terminal device 100, in a different position than display screen 194.
[0051] For ease of understanding, the following embodiments of this application will take a terminal device with the structure shown in FIG1 as an example, and in conjunction with the accompanying drawings and application scenarios, specifically describe the display method of the interactive element provided in the embodiments of this application.
[0052] Figure 2(a) is a flowchart of a method for displaying an interactive element according to an embodiment of this application, wherein the method for displaying the interactive element is executed by a terminal device 100.
[0053] As shown in Figure 2(a), the display method of the above-mentioned interactive element may include:
[0054] Step 201: Determine the interaction state between the user and the terminal device 100, wherein the interaction state includes the user's interactive hand performing interactive operations on the terminal device 100, and the user's holding posture when holding the terminal device 100.
[0055] Specifically, the interactive hand can be determined as follows: based on the characteristics of the touch points formed when the user's fingers operate on the screen of the terminal device 100, the interactive hand for the user to perform interactive operations on the terminal device 100 is determined. The interactive hand can be the user's hand, fingers, or knuckles for interactive operations on the terminal device 100, such as the right thumb, right index finger, left thumb, and / or left index finger.
[0056] Referring to Figure 2(b), which is a schematic diagram of determining the interactive hand according to an embodiment of this application, it can be seen from Figure 2(b) that there are differences in the shape and / or area of the touch points formed by the user's left and right fingers when they operate on the screen of the terminal device 100. Therefore, based on the shape and / or area of the touch points, the terminal device 100 can determine the interactive hand of the user when performing interactive operations on the terminal device 100.
[0057] Specifically, the aforementioned holding posture can be determined in the following way: based on the capacitive signal at the edge of the screen of the terminal device 100 when the user holds the terminal device 100, the user's holding posture is determined. The aforementioned holding posture can be the user's posture when holding the terminal device 100, such as: left-hand holding, right-hand holding, no holding, or holding with both hands, etc.
[0058] Referring to Figure 2(c), which is a schematic diagram of determining the holding posture according to an embodiment of this application, it can be seen from Figure 2(c) that when the user holds the terminal device 100, there may be a weak capacitance signal at the edge of the terminal device 100. Therefore, the user's holding posture of holding the terminal device 100 can be determined based on the capacitance signal at the edge of the screen of the terminal device 100.
[0059] Thus, based on the determination results of the aforementioned interactive hand and holding posture, the terminal device 100 can determine the interaction state between the user and the terminal device 100.
[0060] Specifically, as shown in Figure 2(d), which is a schematic diagram of the interaction state between a user and a terminal device 100 provided in an embodiment of this application, Figure 2(d) shows several interaction states between the user and the terminal device 100, including: the user holds the terminal device 100 with one hand and interacts with the thumb; the terminal device 100 is placed flat on a table and the user interacts with the index finger; the user holds the terminal device 100 with both hands and interacts with the thumb; the user holds the terminal device 100 with one hand and interacts with the index finger of the other hand; the user holds the terminal device 100 with one hand and interacts with the thumb of the other hand.
[0061] This step illustrates one way of determining the interaction state between a user and a terminal device 100. However, this embodiment is not limited to this. Other methods can also be used to determine the interaction state between a user and a terminal device 100. In some examples, the interaction state between a user and a terminal device 100 can be determined by: the contact position of the user's thenar eminence with the terminal device 100, the touch position of the user's finger on the screen of the terminal device 100, and the sliding trajectory of the user's finger.
[0062] Step 202: Based on the above interaction state, determine the easy-to-operate area of the user on the screen of the terminal device 100.
[0063] Figure 2(e) is a schematic diagram of an easy-to-operate area provided in an embodiment of this application. Figure 2(e) shows three interaction states between the user and the terminal device 100 and the easy-to-operate area. In the two leftmost images, the user holds the terminal device 100 with their left hand and interacts with their left thumb. The user holds the terminal device 100 at a relatively low position. Therefore, the easy-to-operate area on the screen of the terminal device 100 is located in the lower left area of the terminal device 100. In the two middle images, the user holds the terminal device 100 with their left hand and interacts with their left thumb. The user holds the terminal device 100 at a relatively high position. Therefore, the easy-to-operate area on the screen of the terminal device 100 is located in the middle area of the terminal device 100. In the two rightmost images, the user holds the terminal device 100 with their left hand and interacts with their left thumb. The user holds the terminal device 100 at a relatively high position. Therefore, the easy-to-operate area on the screen of the terminal device 100 is located in the upper-middle area of the terminal device 100.
[0064] Step 203: Determine the target display position of the element to be interacted with based on the above-mentioned easy-to-operate area.
[0065] Step 204: Display the interactive element at the target display location.
[0066] Wherein, the target display position of the interactive element can be the coordinates of the positioning point of the interactive element; wherein, the positioning point of the interactive element can include any one or more points in the interactive element. Figure 2(f) is a schematic diagram of the positioning point of the interactive element provided in an embodiment of this application. In Figure 2(f), 206 is the interactive element, and the black dots are the positioning points of the interactive element. As can be seen from Figure 2(f), the positioning point of the interactive element can include one or more of the center point, the four corner vertices, and the points on the four sides. Of course, this embodiment is not limited to this, and other points in the interactive element can also be used as the positioning points. This embodiment does not limit this. Thus, step 205 can be: display the positioning point of the interactive element at the target display position.
[0067] In this embodiment, all or part of the interactive element located at the target display position is situated within the easily operable area. When the interactive element is partially situated within the easily operable area, the area of the interactive element within the easily operable area is greater than or equal to a first threshold; or, the ratio of the area of the interactive element within the easily operable area to the total area of the interactive element is greater than or equal to a second threshold. The values of the first and second thresholds can be set during implementation, and this embodiment does not limit their values. Furthermore, the values of the first and second thresholds can be dynamically adjusted based on the total area of the interactive element. For example, when the total area of the interactive element is large, the first and second thresholds can be smaller; when the total area of the interactive element is small, the first and second thresholds can be larger.
[0068] Figure 2(g) is a schematic diagram of displaying an interactive element according to an embodiment of this application. Referring to the two figures on the left side of Figure 2(g), the easy-to-operate area is located in the lower right area of the terminal device 100, so the display position of the interactive element is located in the lower middle of the screen of the terminal device 100. Referring to the two figures on the right side of Figure 2(g), the easy-to-operate area covers the upper left middle area of the terminal device 100, so the display position of the interactive element is located in the upper area of the terminal device 100.
[0069] In some examples, before step 203, the terminal device 100 can also obtain the default display position of the element to be interacted with. In this case, step 203 can be: if the area of the element to be interacted with within the easily accessible area does not meet a preset condition when displayed according to the default position, the terminal device 100 determines a new display position as the target display position based on the position of the easily accessible area and the default display position of the element to be interacted with, so that the area of the element to be interacted with within the easily accessible area meets the preset condition. The preset condition can be that the area of the element to be interacted with within the easily accessible area is greater than or equal to a first threshold, or that the ratio of the area of the element to be interacted with within the easily accessible area to the total area of the element to be interacted with is greater than or equal to a second threshold.
[0070] In the above-mentioned method for displaying interactive elements, the terminal device 100 determines the interaction state between the user and the terminal device 100, and then determines the easy-to-operate area of the user on the screen of the terminal device 100 based on the interaction state. Finally, based on the easy-to-operate area, the target display position of the interactive element is determined, and the interactive element is displayed at the target display position. This ensures that the user can complete the operation on the interactive element without changing the holding posture, thereby improving the user's operation efficiency on the interactive element.
[0071] In one implementation of the embodiment shown in Figure 2 of this application, the element to be interacted with can be a pop-up control. Figure 3 is a schematic diagram of adjusting the display position of a pop-up control according to an embodiment of this application. As shown in Figure 3, it can include:
[0072] Step 301: Obtain the default display position of the pop-up control in the terminal device 100. As shown in Figure 3, the default display position of the pop-up control is located in the center of the screen of the terminal device 100.
[0073] Step 302: Determine the interaction state between the user and the terminal device 100. As shown in Figure 3, in this example, the user holds the terminal device 100 with their left hand and interacts with it using their left thumb.
[0074] Step 303: Based on the above interaction state, determine the easy-to-operate area on the screen of terminal device 100. As can be seen from Figure 3, in this example, the easy-to-operate area on the screen of terminal device 100 is close to the left edge of the screen, then the area outside the easy-to-operate area is the medium-difficulty operation area, and the outermost large area is the difficult-to-operate area.
[0075] Step 304: Based on the above easy-to-operate area, determine the target display position of the pop-up control, and display the pop-up control at the target display position.
[0076] As shown in Figure 3, if the pop-up control is displayed in the default position, the area of the pop-up control within the easily accessible area is less than the first threshold, or the ratio of the area of the pop-up control within the easily accessible area to the total area of the pop-up control is less than the second threshold. Therefore, the display position of the pop-up control is adjusted from the center of the terminal device 100 screen to near the left edge of the terminal device 100 screen, so that the area of the pop-up control within the easily accessible area is greater than or equal to the first threshold, or the ratio of the area of the pop-up control within the easily accessible area to the total area of the interactive elements is greater than or equal to the second threshold. In this way, the user can complete the operation of the pop-up control without changing the posture of holding the terminal device 100, thus improving the user's operation efficiency of the pop-up control.
[0077] In another implementation of the embodiment shown in Figure 2 of this application, the element to be interacted with can be a recommended operation button in a pop-up control; for example, the recommended operation button can be an operation button indicating affirmation, such as an "OK" button, an "Allow" button, an "Agree" button, or a "Yes" button, etc.
[0078] Figure 4 is a schematic diagram of adjusting the display position of the recommended operation button in a pop-up control according to an embodiment of this application. As shown in Figure 4, it may include:
[0079] Step 401: Obtain the default display position of the recommended operation button in the pop-up control of the terminal device 100. As shown in Figure 4, the default display position of the pop-up control is located in the center of the screen of the terminal device 100, while the default display position of the recommended operation button is located to the right of the pop-up control, and the default display position of the disliked operation button is located to the left of the pop-up control.
[0080] It is understandable that the buttons mentioned above that are not recommended can be buttons that indicate a negative response, such as the "Cancel" button or the "No" button.
[0081] Step 402: Determine the interaction state between the user and the terminal device 100. As shown in Figure 4, in this example, the user holds the terminal device 100 with their left hand and interacts with it using their left thumb.
[0082] Step 403: Based on the above interaction state, determine the easy-to-operate area on the screen of terminal device 100. As can be seen from Figure 4, in this example, the easy-to-operate area on the screen of terminal device 100 is close to the left edge of the screen, then the area outside the easy-to-operate area is the medium-difficulty operation area, and the outermost large area is the difficult-to-operate area.
[0083] Step 404: Based on the above-mentioned easy-to-operate area, determine the target display position of the above-mentioned recommended operation button, and display the above-mentioned recommended operation button at the above-mentioned target display position.
[0084] As shown in Figure 4, if the recommended operation button is displayed in its default position, the area of the recommended operation button within the easily accessible area is less than a first threshold, or the ratio of the area of the recommended operation button within the easily accessible area to the total area of the recommended operation buttons is less than a second threshold. Therefore, in this example, the display position of the pop-up control shown in the rightmost diagram of Figure 4 remains unchanged, still located in the center of the screen of the terminal device 100. However, the recommended operation button and the non-recommended operation button have swapped positions; the display position of the recommended operation button has changed from the right side of the pop-up control to the left side. This makes the area of the recommended operation button within the easily accessible area greater than or equal to the first threshold, or the ratio of the area of the recommended operation button within the easily accessible area to the total area of the recommended operation buttons greater than or equal to the second threshold. Thus, the user can complete the operation of the recommended operation button without changing the way they hold the terminal device 100, improving the user's efficiency in operating the recommended operation button.
[0085] Additionally, it should be noted that the methods provided in the embodiments shown in Figures 3 and 4 can be used individually or in combination; that is, the display positions of the pop-up control and the recommended operation button can be adjusted individually or together. Referring to Figure 5, which is a schematic diagram of adjusting the display positions of the pop-up control and the recommended operation button according to an embodiment of this application, it may include:
[0086] Step 501: Obtain the default display positions of pop-up controls and recommended operation buttons within pop-up controls in terminal device 100. As shown in Figure 5, the default display position of pop-up controls is located in the center of the terminal device 100 screen, while the default display position of recommended operation buttons within pop-up controls is located to the right of the pop-up controls, and the default display position of disliked operation buttons is located to the left of the pop-up controls.
[0087] Step 502: Determine the interaction state between the user and the terminal device 100. As shown in Figure 5, in this example, the user holds the terminal device 100 with their left hand and interacts with it using their left thumb.
[0088] Step 503: Based on the above interaction state, determine the easy-to-operate area on the screen of terminal device 100. As can be seen from Figure 5, in this example, the easy-to-operate area on the screen of terminal device 100 is close to the left edge of the screen, then the area outside the easy-to-operate area is the medium-difficulty operation area, and the outermost large area is the difficult-to-operate area.
[0089] Step 504: Based on the above-mentioned easy-to-operate area, determine the target display position of the pop-up control and the target display position of the recommended operation button. Display the pop-up control at the target display position of the pop-up control and display the recommended operation button at the target display position of the recommended operation button.
[0090] As shown in Figure 5, the display position of the pop-up control has been adjusted from the center of the screen of the terminal device 100 to near the left edge of the screen. The recommended operation button and the non-recommended operation button have been swapped, and the display position of the recommended operation button has changed from the right side of the pop-up control to the left side of the pop-up control. This ensures that the display area of the pop-up control and the recommended operation button in the easy-to-operate area both meet the corresponding threshold requirements. In this way, the user can complete the operation of the pop-up control and the recommended operation button without changing the posture of holding the terminal device 100, thus improving the user's operation efficiency of the pop-up control and the recommended operation button.
[0091] In the embodiments shown in Figures 3 to 5, the pop-up controls may include system message pop-ups and / or application notification pop-ups. Figure 6 is a schematic diagram of the display position of a pop-up provided in an embodiment of this application. As shown in Figure 6, for system message pop-ups and / or application notification pop-ups, the terminal device 100 can determine the target display position of the pop-up and the target display position of the recommended operation button according to the method provided in the embodiments shown in Figures 2 to 5. As shown in the left image of Figure 6, the user holds the terminal device 100 with their right hand, using their right thumb for interaction. The user's grip on the terminal device 100 is located in the middle of the device. Therefore, the target display position of the pop-up window is in the middle area of the terminal device 100, and the target display position of the recommended operation button is on the right side of the pop-up window. As shown in the middle image of Figure 6, the user holds the terminal device 100 with their right hand, using their right thumb for interaction. The user's grip on the terminal device 100 is located at the bottom of the device. Therefore, the target display position of the pop-up window is in the lower middle area of the terminal device 100, and the target display position of the recommended operation button is again on the right side of the pop-up window. As shown in the right image of Figure 6, the user holds the terminal device 100 with their right hand, using their right thumb for interaction. The user's grip posture is a little finger-supported grip, making it difficult to click on the upper middle area of the screen. Therefore, the target display position of the pop-up window is in the bottom area of the terminal device 100, and the target display position of the recommended operation button is again on the right side of the pop-up window.
[0092] In another implementation of the embodiment shown in Figure 2 of this application, the interactive element can be a temporary grid of a folder; the aforementioned temporary grid can be the interface after the folder is opened, and this interface is a temporary grid interface, which can be understood with reference to the desktop. Figure 7 is a schematic diagram of a temporary grid of a folder provided in an embodiment of this application. As shown in the left figure of Figure 7, after the user clicks the folder icon displayed on the desktop of the terminal device 100, the terminal device 100 can display the aforementioned temporary grid of the folder, as shown in the right figure of Figure 7. In the right figure of Figure 7, the part enclosed by the dashed box 71 is the temporary grid of the folder.
[0093] Figure 8 is a schematic diagram of the display position of the transient grid of a folder according to an embodiment of this application. As shown in Figure 8, for the transient grid of a folder, the terminal device 100 can determine the target display position of the transient grid of the folder according to the method provided in the embodiments shown in Figures 2 to 5. As shown in the left image of Figure 8, the user holds the terminal device 100 with their right hand, interacting with their right thumb. The user's grip on the terminal device 100 is located in the middle of the device, therefore the target display position of the folder's transient grid is in the middle area of the terminal device 100. As shown in the middle image of Figure 8, the user holds the terminal device 100 with their right hand, interacting with their right thumb. The user's grip on the terminal device 100 is located at the bottom of the device, therefore the target display position of the folder's transient grid is in the lower-middle area of the terminal device 100. As shown in the right image of Figure 8, the user holds the terminal device 100 with their right hand, interacting with their right thumb. The user's grip posture is a little finger-supported grip, making it difficult to click the upper center area of the screen; therefore, the target display position of the folder's transient grid is in the bottom area of the terminal device 100.
[0094] In another implementation of the embodiment shown in FIG2 of this application, the interactive element can be a pattern lock operation page; FIG9 is a schematic diagram of the display position of the pattern lock operation page provided in an embodiment of this application. As shown in FIG9, for the pattern lock operation page, the terminal device 100 can determine the target display position of the pattern lock operation page according to the method provided in the embodiments shown in FIG2 to FIG5. As shown in the left image of Figure 9, the user holds the terminal device 100 with their right hand, using their right thumb for interaction. Furthermore, the user's grip on the terminal device 100 is close to the center of the device. Therefore, the target display position of the pattern lock operation page is located in the central area of the terminal device 100. As shown in the middle image of Figure 9, the user holds the terminal device 100 with their right hand, using their right thumb for interaction. Furthermore, the user's grip on the terminal device 100 is close to the lower part of the device. Therefore, the target display position of the pattern lock operation page is located in the lower-middle area of the terminal device 100. As shown in the right image of Figure 9, the user holds the terminal device 100 with their right hand, using their right thumb for interaction. Furthermore, the user's grip posture is a little finger-supported grip, making it difficult to tap the upper center of the screen. Therefore, the target display position of the pattern lock operation page is located in the bottom area of the terminal device 100.
[0095] Additionally, it should be noted that Figure 9 illustrates a pattern lock operation page as an example, but the embodiments of this application are not limited to this. For other single operation pages, the terminal device 100 can also determine the target display position of the single operation page according to the methods provided in the embodiments shown in Figures 2 to 5. For example, a single operation page may also include an unlock page that requires a numeric password, or a page that requires a verification code, etc.
[0096] The method for displaying interactive elements provided in this application can solve the pain point of needing to change the holding posture to complete the operation during the use of large-screen terminal devices, effectively improve the user's operating efficiency, and also help developers guide and recommend the use of functions.
[0097] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and other operations or variations thereof can be performed in the embodiments of this application. Furthermore, the steps may be performed in different orders as presented in the above embodiments, and it is not necessary to perform all the operations in the above embodiments.
[0098] It is understood that, in order to achieve the above-mentioned functions, the terminal device includes hardware and / or software modules corresponding to the execution of each function. Based on the algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0099] This embodiment can divide the terminal device into functional modules according to the above method embodiment. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0100] Figure 10 is a schematic diagram of the structure of a terminal device provided in another embodiment of this application. When each functional module is divided according to its corresponding functions, Figure 10 shows a possible composition of the terminal device 1000 involved in the above embodiment. As shown in Figure 10, the terminal device 1000 may include: a receiving unit 1001, a processing unit 1002 and a sending unit 1003.
[0101] The processing unit 1002 can be used to support the terminal device 1000 in executing steps 201 to 205, and / or other processes used in the technical solutions described in the embodiments of this application.
[0102] It should be noted that all relevant content of each step involved in the method embodiments shown in Figures 2(a) to 9 of this application can be referenced to the functional description of the corresponding functional module, and will not be repeated here.
[0103] The terminal device 1000 provided in this embodiment is used to execute the above-described method for displaying interactive elements, and thus can achieve the same effect as the above method.
[0104] It should be understood that terminal device 1000 may correspond to terminal device 100 shown in FIG1. The functions of receiving unit 1001 and transmitting unit 1003 may be implemented by processor 110, antenna 1, and mobile communication module 150 in terminal device 100 shown in FIG1, and / or by processor 110, antenna 2, and wireless communication module 160; the functions of processing unit 1002 may be implemented by processor 110, display screen 194, and touch sensor 180K in terminal device 100 shown in FIG1.
[0105] When using integrated units, the terminal device 1000 may include a processing module, a storage module, and a communication module.
[0106] The processing module can be used to control and manage the actions of the terminal device 1000. For example, it can support the terminal device 1000 in executing the steps performed by the receiving unit 1001, processing unit 1002, and sending unit 1003. The storage module can support the terminal device 1000 in storing program code and data. The communication module can support communication between the terminal device 1000 and other devices.
[0107] The processing module can be a processor or controller, which can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as radio frequency circuitry, a Bluetooth chip, and / or a Wi-Fi chip.
[0108] In one embodiment, when the processing module is a processor and the storage module is a memory, the terminal device 1000 involved in this embodiment can be a device with the structure shown in FIG1.
[0109] This application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to execute the methods provided in the embodiments shown in Figures 2(a) to 9 of this application.
[0110] This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to execute the methods provided in the embodiments shown in Figures 2(a) to 9 of this application.
[0111] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, A and B simultaneously, or B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0112] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0113] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0114] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0115] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A display method of an element to be interacted, characterized by, include: Determine the interaction state between the user and the terminal device, wherein the interaction state includes the user's interactive hand performing interactive operations on the terminal device, and the user's gripping posture when holding the terminal device; Based on the interaction state, determine the easy-to-operate area of the user on the terminal device screen; Based on the easy-to-operate area, determine the target display position of the element to be interacted with; The interactive element is displayed at the target display location.
2. The method of claim 1, wherein, The interactive element located at the target display position is entirely or partially located within the easy-to-operate area.
3. The method of claim 2, wherein, When the interactive element is partially located within the easy-to-operate area, the area of the interactive element within the easy-to-operate area is greater than or equal to a first threshold; or, the ratio of the area of the interactive element within the easy-to-operate area to the total area of the interactive element is greater than or equal to a second threshold.
4. The method according to any one of claims 1 to 3, characterized in that, Before determining the target display position of the interactive element based on the easy-to-operate area, the method further includes: Obtain the default display position of the element to be interacted with.
5. The method of claim 4, wherein, Determining the target display position of the interactive element based on the easy-to-operate area includes: If the area of the interactive element within the easy-to-use area does not meet the preset condition when displayed according to the default display position, a new display position is determined as the target display position based on the easy-to-use area and the default display position of the interactive element, so that the area of the interactive element within the easy-to-use area meets the preset condition.
6. The method according to any one of claims 1 to 5, characterized in that, The target display position of the interactive element includes the coordinates of the positioning point of the interactive element; wherein, the positioning point of the interactive element includes any one or more points of the interactive element.
7. The method of claim 6, wherein, Displaying the interactive element at the target display location includes: The positioning point of the element to be interacted with is displayed at the target display position.
8. The method according to any one of claims 1 to 5, characterized in that, The interactive elements include pop-up controls, recommended operation buttons within pop-up controls, and transient grid or pattern lock operation pages.
9. The method of claim 8, wherein, The pop-up controls include system message pop-ups and / or application notification pop-ups.
10. The method according to any one of claims 1 to 9, characterized in that, The interactive hand is determined in the following way: Based on the characteristics of the touch points formed when the user's finger operates on the screen of the terminal device, the interactive hand of the user performing interactive operations on the terminal device is determined.
11. The method according to any one of claims 1 to 10, characterized in that, The holding posture is determined in the following way: The user's holding posture is determined based on the capacitance signal at the edge of the terminal device screen when the user holds the terminal device.
12. A terminal device, comprising: include: One or more processors; Memory; Multiple applications; And one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs including instructions that, when executed by the terminal device, cause the terminal device to perform the method as described in any one of claims 1-11.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1-11.
