Method and device for displaying shortcut bar, non-volatile storage medium, and electronic device

By obtaining finger pressure data to determine the finger shape and occlusion area, and adjusting the display position of the shortcut bar, the problem of the shortcut bar being blocked when the user long presses is solved, ensuring that the user can see all the content and improving the user experience.

CN115951809BActive Publication Date: 2025-09-26CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211665065.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2025-09-26
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

When the user long presses the application icon, the shortcut bar is blocked by the finger, making it impossible to see all the content, which reduces the user experience.

Method used

By acquiring finger pressure data, the shape and occlusion area of ​​the target finger are determined and compared with the coverage area of ​​the shortcut bar. The display position of the shortcut bar is adjusted according to the comparison result to avoid occlusion.

Benefits of technology

This allows users to see all the contents in the shortcut bar without removing their fingers, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115951809B_ABST
    Figure CN115951809B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for displaying a shortcut bar, a non-volatile storage medium, and an electronic device. The method includes: obtaining finger pressure data, and determining the shape of the target finger based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; determining the occlusion area of ​​the target finger on the screen based on the shape of the target finger; obtaining the coverage area of ​​the shortcut bar of the application icon, comparing the coverage area of ​​the shortcut bar with the occlusion area to obtain a first comparison result; and displaying the shortcut bar according to the display method corresponding to the first comparison result. The present application solves the technical problem that the user cannot see all the contents of the shortcut bar due to the occlusion of the pop-up shortcut bar by the user's long press of the icon.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic communication technology, and more specifically, to a method and device for displaying a shortcut bar, a non-volatile storage medium, and an electronic device. Background Art

[0002] With the continuous development of electronic technology, various terminal devices, such as mobile phones, computers, and game consoles, have become widely used. The user interface of each terminal device can contain many application icons, making it easy for users to access corresponding applications. When a user long-presses an application icon, a corresponding shortcut bar appears. However, the long-press action may obscure the pop-up shortcut bar, preventing the user from seeing all the contents of the shortcut bar.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] The embodiments of the present application provide a method and device for displaying a shortcut bar, a non-volatile storage medium, and an electronic device to at least solve the technical problem that the user cannot see all the contents of the shortcut bar due to the obstruction of the pop-up shortcut bar caused by the user's long press of the icon.

[0005] According to one aspect of an embodiment of the present application, a method for displaying a shortcut bar is provided, including: obtaining finger pressure data, and determining the shape of a target finger based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; determining the occluded area of ​​the target finger on the screen based on the shape of the target finger; obtaining the coverage area of ​​the shortcut bar of the application icon, comparing the coverage area of ​​the shortcut bar with the occluded area to obtain a first comparison result; and displaying the shortcut bar according to a display method corresponding to the first comparison result.

[0006] Optionally, determining the shape of the target finger based on the finger pressure data includes: obtaining a first capacitance value when the convex fingerprint of the target finger contacts the screen, and a second capacitance value when the concave fingerprint of the target finger contacts the screen; determining the difference between the first capacitance value and the second capacitance value, and generating a fingerprint image of the target finger based on the difference; comparing the fingerprint image with the fingerprint template to obtain a second comparison result, wherein the fingerprint template is stored in a terminal corresponding to the screen, and the fingerprint template includes at least one of the following: fingerprint images of multiple fingers of the target user, fingerprint shapes of multiple fingers of the target user, and multiple pressure values ​​at multiple contact positions when multiple fingers of the target user contact the screen, and the target user is a user using the terminal; when the second comparison result indicates that the minimum error between the fingerprint image and the fingerprint template is greater than a first preset value, determining the shape of the target finger based on the fingerprint image; when the second comparison result indicates that the minimum error between the fingerprint image and the fingerprint template is less than or equal to the first preset value, determining the shape of the target finger based on the fingerprint template corresponding to the minimum error.

[0007] Optionally, the coverage area of ​​the shortcut bar is compared with the blocked area to obtain a first comparison result, including: determining the blocked area of ​​the blocked area based on the pressure value applied to the screen by the target finger; determining the coverage area of ​​the coverage area, and comparing the blocked area with the coverage area to obtain a first comparison result.

[0008] Optionally, the blocked area of ​​the blocked area is determined according to the pressure value applied to the screen by the target finger, including: when the pressure value is greater than a first threshold, determining the expanded width to be the first width; when the pressure value is greater than a second threshold and less than the first threshold, determining the expanded width to be the second width; when the pressure value is less than the second threshold, determining the expanded width to be the third width, wherein the first threshold is greater than the second threshold; obtaining the contact area between the target finger and the screen, and determining the first product of the contact area and the first width, or the second product of the contact area and the second width, or the third product of the contact area and the third width as the blocked area.

[0009] Optionally, the shortcut bar is displayed according to a display method corresponding to the first comparison result, including: when the target finger is determined to be a thumb according to the shape of the target finger, determining the occlusion area to be the first area, and the occlusion area to be the first occlusion area; when the first comparison result indicates that the first occlusion area overlaps with the coverage area, moving the shortcut bar to the first target area, and displaying the shortcut bar in the first target area, wherein the first target area is an uncovered area between the first area and the edge of the terminal where the screen is located; when the target finger is determined to be an index finger according to the shape of the target finger, determining the occlusion area to be the second area, and the occlusion area to be the second occlusion area; when the first comparison result indicates that the second occlusion area overlaps with the coverage area, moving the shortcut bar to the second target area, wherein the second target area is an uncovered area between the second area and the edge of the terminal; when the target finger is determined to be a middle finger according to the shape of the target finger, determining the occlusion area to be the third area, and the occlusion area to be the third area. The blocking area is the third blocking area; when the first comparison result indicates that the third blocking area overlaps with the coverage area, the shortcut bar is moved to the third target area, wherein the third target area is the uncovered area between the third area and the edge of the terminal; when the target finger is determined to be the ring finger according to the shape of the target finger, the blocking area is determined to be the fourth area, and the blocking area is the fourth blocking area; when the first comparison result indicates that the fourth blocking area overlaps with the coverage area, the shortcut bar is moved to the fourth target area, wherein the fourth target area is the uncovered area between the fourth area and the edge of the terminal; when the target finger is determined to be the little finger according to the shape of the target finger, the blocking area is determined to be the fifth area, and the blocking area is the fifth blocking area; when the first comparison result indicates that the fifth blocking area overlaps with the coverage area, the shortcut bar is moved to the fifth target area, wherein the fifth target area is the uncovered area between the fifth area and the edge of the terminal.

[0010] Optionally, moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area includes one of the following: first displaying the area of ​​the shortcut bar in the overlapping area, and then moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area in the form of animation, wherein the overlapping area is the overlapping area of ​​the coverage area and the first area, or the overlapping area of ​​the coverage area and the second area, or the overlapping area of ​​the coverage area and the third area, or the overlapping area of ​​the coverage area and the fourth area, or the overlapping area of ​​the coverage area and the fifth area; directly displaying the shortcut bar in the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area.

[0011] Optionally, before moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, the method for displaying the shortcut bar includes: obtaining the contact time of the target finger with the screen after the shortcut bar is displayed in the overlapping area, and refusing to move the shortcut bar when the contact time is less than a second preset value; moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area when the contact time is greater than or equal to the second preset value and the first comparison result indicates that there is an overlap between the coverage area and the blocked area.

[0012] Optionally, moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area also includes: if the coverage area is larger than the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, after moving the shortcut bar to the edge of the terminal, moving the shortcut bar upward or moving the shortcut bar downward.

[0013] According to another aspect of an embodiment of the present application, a display device for a shortcut bar is also provided, including: an acquisition module for acquiring finger pressure data and determining the shape of a target finger based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; a determination module for determining the occlusion area of ​​the target finger on the screen based on the shape of the target finger; a comparison module for acquiring the coverage area of ​​the shortcut bar of the application icon, comparing the coverage area of ​​the shortcut bar with the occlusion area to obtain a first comparison result; and a display module for displaying the shortcut bar according to a display method corresponding to the first comparison result.

[0014] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, in which a program is stored. When the program is running, the device where the non-volatile storage medium is located is controlled to execute the above-mentioned method for displaying the shortcut bar.

[0015] According to another aspect of an embodiment of the present application, an electronic device is further provided, comprising: a memory and a processor, wherein the processor is configured to run a program stored in the memory, wherein the method for displaying a shortcut bar described above is executed when the program is run.

[0016] In an embodiment of the present application, finger pressure data is obtained and the shape of the target finger is determined based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; the occlusion area of ​​the target finger on the screen is determined based on the shape of the target finger; the coverage area of ​​the shortcut bar of the application icon is obtained, and the coverage area of ​​the shortcut bar is compared with the occlusion area to obtain a first comparison result; the shortcut bar is displayed according to the display method corresponding to the first comparison result, and whether the shortcut bar is blocked is determined by judging part of the behavior data of the user operating the application icon to display the shortcut bar, and when it is judged that the shortcut bar will be blocked, the shortcut bar is moved outside the occlusion range, thereby achieving the purpose of ensuring that the user can see all the contents of the shortcut bar, thereby realizing the technical effect of displaying the shortcut bar in the non-obstructed area and improving the user experience, thereby solving the technical problem that the user cannot see all the contents of the shortcut bar due to the occlusion of the pop-up shortcut bar by the user's long press of the icon. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for displaying a shortcut bar according to an embodiment of the present application;

[0019] Figure 2 is a flowchart of a method for displaying a shortcut bar according to an embodiment of the present application;

[0020] Figure 3 is a structural diagram of a display device for a shortcut bar according to an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of a mobile shortcut bar according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] In related technologies, when a user's finger blocks a shortcut bar, the user needs to remove the finger to see the shortcut bar. Consequently, the user cannot see all the contents of the shortcut bar until the finger is removed, which degrades the user experience. To address this issue, the present application provides a solution, which is described in detail below.

[0025] According to an embodiment of the present application, a method embodiment of a method for displaying a shortcut bar is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for displaying a shortcut bar is shown. Figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (illustrated as 102a, 102b, ..., 102n) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1Different configurations shown.

[0027] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0028] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for displaying the shortcut bar in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the method for displaying the shortcut bar of the above-mentioned application. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0029] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.

[0030] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0031] In the above operating environment, the embodiment of the present application provides a method for displaying a shortcut bar, such as Figure 2 As shown, the method includes the following steps:

[0032] Step S202 , obtaining finger pressure data, and determining the shape of the target finger according to the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located.

[0033] When the user long presses the application icon on the terminal screen with his finger, in step S202, the pressure currently applied by the finger that long presses the application icon (i.e., the target finger) to the area where the application icon is located is collected, the contact area between the finger and the screen is collected, and the fingerprint shape of the finger and other finger pressure data of the (target) finger are collected, and the above-mentioned finger pressure data is used to determine whether the (target) finger is in the shape of a thumb, index finger, middle finger, ring finger or little finger.

[0034] Step S204 : determining the occlusion area of ​​the target finger on the screen according to the shape of the target finger.

[0035] In step S204, after the specific shape of the finger (ie, the target finger) that long presses the application icon is determined in step S202, it is determined that the (target) finger is in an obstructed area of ​​the terminal when long pressing the application icon.

[0036] Step S206 , obtaining the coverage area of ​​the shortcut bar of the application icon, and comparing the coverage area of ​​the shortcut bar with the blocked area to obtain a first comparison result.

[0037] In step S206, the coverage area of ​​the shortcut bar that pops up when the (target) finger long presses the application icon is obtained, and the occlusion area of ​​the (target) finger determined in step S204 is compared with the coverage area of ​​the shortcut bar in terms of position and area to obtain a (first) comparison result.

[0038] Step S208: Display the shortcut bar according to the display method corresponding to the first comparison result.

[0039] In step S208 , a display method of the shortcut bar of the application icon is determined according to the (first) comparison result obtained in step S206 , and the shortcut bar is displayed according to the display method.

[0040] Through the above steps, it is possible to obtain the user's real-time finger pressure data and the location data of the shortcut bar, and compare them with the data stored in the terminal to determine whether the shortcut bar is blocked; if the shortcut bar is blocked, determine the blocked area, move the shortcut bar out of the blocked area, and allow the user to see all the contents of the shortcut bar without performing any operation.

[0041] According to an optional embodiment of the present application, determining the shape of the target finger based on the finger pressure data includes the following steps: obtaining a first capacitance value when the convex fingerprint of the target finger contacts the screen, and a second capacitance value when the concave fingerprint of the target finger contacts the screen; determining the difference between the first capacitance value and the second capacitance value, and generating a fingerprint image of the target finger based on the difference; comparing the fingerprint image with the fingerprint template to obtain a second comparison result, wherein the fingerprint template is stored in a terminal corresponding to the screen, and the fingerprint template includes at least one of the following: fingerprint images of multiple fingers of the target user, fingerprint shapes of the multiple fingers of the target user, and multiple pressure values ​​at multiple contact positions when the multiple fingers of the target user contact the screen, and the target user is a user using the terminal; when the second comparison result indicates that the minimum error between the fingerprint image and the fingerprint template is greater than a first preset value, determining the shape of the target finger based on the fingerprint image; when the second comparison result indicates that the minimum error between the fingerprint image and the fingerprint template is less than or equal to the first preset value, determining the shape of the target finger based on the fingerprint template corresponding to the minimum error.

[0042] In this embodiment, determining the shape of the finger that long-presses the application icon (i.e., the target finger) based on the finger pressure data of the user's finger that long-presses the application icon collected in real time includes the following steps: Step 1, obtaining the fingerprint image of the finger that long-presses the application icon: when the target finger long-presses the application icon, reading the (first) capacitance value of the sensor capacitor of the convex fingerprint of the target finger and the contact part of the screen, and the (second) capacitance value of the sensor capacitor of the concave fingerprint of the target finger and the contact part of the screen, and generating the fingerprint image of the target finger based on the difference between the above-mentioned convex fingerprint capacitance value (i.e., the first capacitance value) and the concave part capacitance value (i.e., the second capacitance value). Step 2: Compare the fingerprint image of the target finger with the fingerprint template: Compare the fingerprint image generated in step 1 with multiple fingerprint templates to obtain a (second) comparison result, wherein the (second) comparison result records the error rate between the fingerprint image and each fingerprint template. If the minimum error rate among the error rates between the fingerprint image and each fingerprint template is less than or equal to the error rate threshold (i.e., the first preset threshold), it is determined that the fingerprint image and the fingerprint template indicated by the minimum error rate are the fingerprints of the same finger, that is, the fingerprint image and the fingerprint template indicated by the minimum error rate correspond to the same finger. If the minimum error rate among the error rates between the fingerprint image and each fingerprint template is greater than the error rate threshold (i.e., the first preset threshold), then the position and shape of the target finger on the terminal are simulated based on the finger pressure data collected in real time, that is, the occlusion area and occlusion direction of the target finger on the terminal are determined based on the finger pressure data collected in real time. Step three, determining the shape of the target finger based on the fingerprint template: the fingerprint template is stored in the terminal in the form of an image, and the fingerprint template records the finger pressure data of each finger of the target user using the terminal, including the position of the finger corresponding to each finger fingerprint on the terminal when the target user touches the screen, the specific shape of each finger fingerprint, the specific shape of the finger corresponding to each finger fingerprint, and the different pressure values ​​of each finger at different contact positions when the finger touches the screen; if the error rate between the fingerprint image and one of the fingerprint templates among the multiple fingerprint templates is less than or equal to the error rate threshold (i.e., the first preset threshold), then the target finger is determined to be the specific shape of the finger corresponding to the finger fingerprint recorded in the fingerprint template indicated by the minimum error rate.

[0043] It should be noted that the specific shape of the finger corresponding to each finger fingerprint recorded in the above fingerprint template is the shape of the area blocked by the finger on the terminal when the user uses each finger to long press the application icon. It is specifically recorded in the fingerprint template in the form of blocking area and blocking direction. The blocking area is proportional to the size of the finger.

[0044] According to some preferred embodiments of the present application, the coverage area of ​​the shortcut bar is compared with the blocked area to obtain a first comparison result, including: determining the blocked area of ​​the blocked area according to the pressure value applied to the screen by the target finger; determining the coverage area of ​​the coverage area, and comparing the blocked area with the coverage area to obtain a first comparison result.

[0045] In some preferred embodiments, the occluded area of ​​the target finger is compared with the coverage area of ​​the shortcut bar, including comparing the occluded area of ​​the occluded area with the coverage area of ​​the shortcut bar coverage area, wherein the occluded area is determined based on the pressure value applied to the screen by the target finger in the real-time finger pressure data collected in step S202.

[0046] As in the previous embodiment, the blocked area of ​​the blocked area is determined according to the pressure value applied to the screen by the target finger, including the following steps: when the pressure value is greater than the first threshold, determining the expanded width to be the first width; when the pressure value is greater than the second threshold and less than the first threshold, determining the expanded width to be the second width; when the pressure value is less than the second threshold, determining the expanded width to be the third width, wherein the first threshold is greater than the second threshold; obtaining the contact area between the target finger and the screen, and determining the first product of the contact area and the first width, or the second product of the contact area and the second width, or the third product of the contact area and the third width as the blocked area.

[0047] In this embodiment, the occlusion area of ​​the target finger on the terminal is determined by the following method: first, a high pressure threshold (i.e., the first threshold) and a low pressure threshold (i.e., the second threshold) are determined; if the pressure applied by the target finger on the terminal screen is greater than the first pressure threshold (i.e., the first threshold), the width of the occlusion area (i.e., the expanded width) is determined to be the first width, for example, 120% of the width of the contact between the target finger and the screen; if the pressure applied by the target finger on the terminal screen is greater than the second pressure threshold (i.e., the second threshold) and less than the first pressure threshold (i.e., the first threshold), the width of the occlusion area (i.e., the expanded width) is determined to be the second width, for example, 110% of the width of the contact between the target finger and the screen; if the pressure applied by the target finger on the terminal screen is less than the second pressure threshold (i.e., the second threshold), the width of the occlusion area (i.e., the expanded width) is determined to be the third width, for example, 105% of the width of the contact between the target finger and the screen.

[0048] According to an optional embodiment of the present application, a shortcut bar is displayed according to a display method corresponding to a first comparison result, including: when the target finger is determined to be a thumb according to the shape of the target finger, determining that the occlusion area is the first area, and the occlusion area is the first occlusion area; when the first comparison result indicates that the first occlusion area overlaps with the coverage area, moving the shortcut bar to the first target area, and displaying the shortcut bar in the first target area, wherein the first target area is an uncovered area between the first area and the edge of the terminal where the screen is located; when the target finger is determined to be an index finger according to the shape of the target finger, determining the occlusion area to be the second area, and the occlusion area is the second occlusion area; when the first comparison result indicates that the second occlusion area overlaps with the coverage area, moving the shortcut bar to the second target area, wherein the second target area is an uncovered area between the second area and the edge of the terminal; when the target finger is determined to be a middle finger according to the shape of the target finger, determining the occlusion area to be the second area. Three areas, the occlusion area is the third occlusion area; when the first comparison result indicates that the third occlusion area overlaps with the coverage area, the shortcut bar is moved to the third target area, wherein the third target area is the uncovered area between the third area and the edge of the terminal; when the target finger is determined to be the ring finger according to the shape of the target finger, the occlusion area is determined to be the fourth area, and the occlusion area is the fourth occlusion area; when the first comparison result indicates that the fourth occlusion area overlaps with the coverage area, the shortcut bar is moved to the fourth target area, wherein the fourth target area is the uncovered area between the fourth area and the edge of the terminal; when the target finger is determined to be the little finger according to the shape of the target finger, the occlusion area is determined to be the fifth area, and the occlusion area is the fifth occlusion area; when the first comparison result indicates that the fifth occlusion area overlaps with the coverage area, the shortcut bar is moved to the fifth target area, wherein the fifth target area is the uncovered area between the fifth area and the edge of the terminal.

[0049] In this embodiment, displaying the shortcut bar according to the display method corresponding to the comparison result of the occlusion area of ​​the target finger and the coverage area of ​​the shortcut bar (i.e., the first comparison result) includes the following situations: if the target finger is determined to be a thumb based on the comparison result of the fingerprint image of the target finger and the fingerprint template, the occlusion area is the occlusion area of ​​the thumb (i.e., the first area), wherein the occlusion area of ​​the thumb (i.e., the first area) includes two areas: the occlusion area of ​​the left thumb and the occlusion area of ​​the right thumb; the occlusion area of ​​the thumb (i.e., the first area) is composed of two factors: the occlusion direction and the occlusion area. For example, a plane rectangular coordinate system is established with the contact point between the fingertip of the target finger and the application icon as the origin, then the occlusion direction of the first area is the negative direction of the y-axis, and the occlusion area of ​​the first area is determined by the pressure value applied by the thumb to the terminal screen by the method of the previous embodiment; when the first comparison result indicates that the occlusion area of ​​the occlusion area of ​​the thumb (i.e., the first area) overlaps with the coverage area of ​​the shortcut bar, the shortcut bar is moved to the unoccluded area (i.e., the first target area) between the first area and the edge of the terminal where the screen is located.

[0050] If the target finger is determined to be the index finger based on the comparison result of the fingerprint image of the target finger and the fingerprint template, the occlusion area is the occlusion area of ​​the index finger (i.e., the second area), wherein the occlusion area of ​​the index finger (i.e., the second area) includes two areas: the occlusion area of ​​the left index finger and the occlusion area of ​​the right index finger; the occlusion area of ​​the index finger (i.e., the second area) is composed of two factors: the occlusion direction and the occlusion area. For example, a plane rectangular coordinate system is established with the contact point between the fingertip of the target finger and the application icon as the origin, then the occlusion direction of the second area is 30° shifted to the left or right by the negative semi-axis of the y-axis, and the occlusion area of ​​the second area is determined by the pressure value applied by the index finger on the terminal screen by the method of the previous embodiment; when the second comparison result indicates that the occlusion area of ​​the index finger (i.e., the second area) overlaps with the coverage area of ​​the shortcut bar, the shortcut bar is moved to the unobstructed area between the second area and the edge of the terminal where the screen is located (i.e., the second target area).

[0051] If the target finger is determined to be the ring finger based on the comparison result of the fingerprint image of the target finger and the fingerprint template, the blocked area is the blocked area of ​​the ring finger (i.e., the fourth area), wherein the blocked area of ​​the ring finger (i.e., the fourth area) includes two areas: the blocked area of ​​the left ring finger and the blocked area of ​​the right ring finger; the blocked area of ​​the ring finger (i.e., the fourth area) is composed of two factors: the blocking direction and the blocking area. For example, a plane rectangular coordinate system is established with the contact point between the fingertip of the target finger and the application icon as the origin, then the blocking direction of the fourth area is 60° to the left or right of the negative semi-axis of the y-axis, and the blocking area of ​​the fourth area is determined by the pressure value applied by the ring finger on the terminal screen by the method of the previous embodiment; when the fourth comparison result indicates that the blocking area of ​​the ring finger's blocked area (i.e., the fourth area) overlaps with the coverage area of ​​the shortcut bar, the shortcut bar is moved to the unblocked area between the fourth area and the edge of the terminal where the screen is located (i.e., the fourth target area).

[0052] If the target finger is determined to be the little finger based on the comparison result of the fingerprint image of the target finger and the fingerprint template, the occlusion area is the occlusion area of ​​the little finger (i.e., the fifth area), wherein the occlusion area of ​​the little finger (i.e., the fifth area) includes the occlusion area of ​​the left little finger and the occlusion area of ​​the right little finger; the occlusion area of ​​the little finger (i.e., the fifth area) is composed of two factors: the occlusion direction and the occlusion area. For example, a plane rectangular coordinate system is established with the contact point between the fingertip of the target finger and the application icon as the origin, then the occlusion direction of the fifth area is 85° offset to the left or right of the negative semi-axis of the y-axis, and the occlusion area of ​​the fifth area is determined by the pressure value applied by the little finger on the terminal screen by the method of the previous embodiment; when the fifth comparison result indicates that the occlusion area of ​​the little finger's occlusion area (i.e., the fifth area) overlaps with the coverage area of ​​the shortcut bar, the shortcut bar is moved to the unobstructed area between the fifth area and the edge of the terminal where the screen is located (i.e., the fifth target area).

[0053] According to another optional embodiment of the present application, moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area includes one of the following: first displaying the area of ​​the shortcut bar in the overlapping area, and then moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area in the form of animation, wherein the overlapping area is the overlapping area of ​​the coverage area and the first area, or the overlapping area of ​​the coverage area and the second area, or the overlapping area of ​​the coverage area and the third area, or the overlapping area of ​​the coverage area and the fourth area, or the overlapping area of ​​the coverage area and the fifth area; directly displaying the shortcut bar in the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area.

[0054] In this embodiment, moving the shortcut bar to the uncovered area between the occluded area of ​​the target finger in the previous embodiment and the edge of the terminal where the screen is located (including the first target area, the second target area, the third target area, the fourth target area, and the fifth target area) includes the following two methods: First, when the target user long presses the application icon, the shortcut bar pops up in the overlapping area, and then the overlapping area is determined, and the shortcut bar is moved out of the overlapping area in the form of an animation; under the first method, the user experience effect is that after the long press, the shortcut bar first appears in the occluded position, and then moves out of the occluded area in the form of an animation, and the user can observe the movement process of the shortcut bar. The second method is to determine the overlapping area when the target user long presses the application icon, and move the shortcut bar out of the overlapping area before the shortcut bar pops up on the terminal and then displays it to the user; under the second method, the user experience effect is that the shortcut bar directly appears in the range not blocked by the target finger, that is, the user will not see the movement process of the shortcut bar.

[0055] According to another optional embodiment of the present application, before moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, the method for displaying the shortcut bar includes: obtaining the contact time of the target finger with the screen after the shortcut bar is displayed in the overlapping area, and refusing to move the shortcut bar when the contact time is less than a second preset value; and moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area when the contact time is greater than or equal to the second preset value and the first comparison result indicates that there is an overlap between the coverage area and the blocked area.

[0056] In this embodiment, before moving the shortcut bar to the target area (including the first target area, the second target area, the third target area, the fourth target area and the fifth target area), after the shortcut bar pops up, the contact time of the target finger with the screen of the terminal is obtained. If the contact time of the target finger with the screen of the terminal is less than the preset time (i.e., the second preset value), it is determined that the target finger has moved from the contact position with the terminal at this time, that is, the target finger will not block the shortcut bar. At this time, the shortcut bar is not moved; if after the shortcut bar pops up, the contact time of the target finger with the screen of the terminal is greater than or equal to the preset time (i.e., the second preset value), it is determined that the target finger has not moved from the contact position with the terminal at this time, that is, the target finger will block the shortcut bar. At this time, the shortcut bar is moved to an uncovered area (i.e., the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area).

[0057] According to some other preferred embodiments of the present application, moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, further includes: if the coverage area is larger than the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, after moving the shortcut bar to the edge of the terminal, moving the shortcut bar upward or moving the shortcut bar downward.

[0058] In other preferred embodiments, in order to avoid the display area of ​​the shortcut bar exceeding the screen of the terminal when the shortcut bar is moved to an uncovered area (i.e., the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area), when the shortcut bar is moved to the edge of the terminal, if the shortcut bar has not been completely moved out of the area of ​​the target finger, the shortcut bar is moved up or down.

[0059] Figure 3 It is a structural diagram of a display device for a shortcut bar provided according to an embodiment of the present application, including: an acquisition module 30, used to obtain finger pressure data and determine the shape of the target finger based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; a determination module 32, used to determine the occlusion area of ​​the target finger on the screen based on the shape of the target finger; a comparison module 34, used to obtain the coverage area of ​​the shortcut bar of the application icon, compare the coverage area of ​​the shortcut bar with the occlusion area, and obtain a first comparison result; a display module 36, used to display the shortcut bar according to the display method corresponding to the first comparison result.

[0060] Figure 4 This is a schematic diagram of the mobile shortcut bar, such as Figure 4 As shown in FIG, when the user long presses the application icon on the terminal screen, the user's finger pressure data is obtained by the acquisition module 30, and the occlusion area of ​​the user's finger is determined by the determination module 32, as shown in FIG. Figure 4 As shown, the occlusion area is the third quadrant of the plane coordinate system established with the contact point between the user's fingertip and the terminal screen as the origin, and the occlusion direction of the user's finger is the direction of the negative semi-axis of the y-axis of the plane rectangular coordinate system offset 30° to the left. The occlusion area of ​​the occlusion area is determined according to the pressure applied by the user's finger on the terminal screen; after the shortcut bar pops up, the coverage area of ​​the shortcut bar is obtained by the comparison module 34, and the coverage area of ​​the shortcut bar is compared with the covered area of ​​the user's finger to obtain a comparison result; as shown Figure 4 As shown, the comparison result shows that the blocked area of ​​the user's finger overlaps with the coverage area of ​​the shortcut bar, so the shortcut bar is moved to be displayed outside the blocked area through the display module 36.

[0061] It should be noted that Figure 3The preferred implementation of the embodiment shown can be found in Figure 2 The relevant description of the illustrated embodiment will not be repeated here.

[0062] An embodiment of the present application further provides a non-volatile storage medium, in which a program is stored. When the program is running, the device where the non-volatile storage medium is located is controlled to execute the above method for displaying the shortcut bar.

[0063] The above-mentioned non-volatile storage medium is used to store a program that performs the following functions: obtaining finger pressure data and determining the shape of the target finger based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; determining the occluded area of ​​the target finger on the screen based on the shape of the target finger; obtaining the coverage area of ​​the shortcut bar of the application icon, comparing the coverage area of ​​the shortcut bar with the occluded area to obtain a first comparison result; and displaying the shortcut bar according to the display method corresponding to the first comparison result.

[0064] According to another aspect of an embodiment of the present application, an electronic device is further provided, comprising: a memory and a processor, wherein the processor is configured to run a program stored in the memory, wherein the method for displaying a shortcut bar described above is executed when the program is run.

[0065] The processor in the above-mentioned electronic device is used to run a program that performs the following functions: obtaining finger pressure data and determining the shape of the target finger based on the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; determining the occluded area of ​​the target finger on the screen based on the shape of the target finger; obtaining the coverage area of ​​the shortcut bar of the application icon, comparing the coverage area of ​​the shortcut bar with the occluded area to obtain a first comparison result; and displaying the shortcut bar according to the display method corresponding to the first comparison result.

[0066] It should be noted that the various modules in the display device of the above-mentioned shortcut bar can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.

[0067] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0068] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0069] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0070] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0071] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0072] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0073] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for displaying a shortcut bar, characterized in that: include: Acquire finger pressure data, and determine the shape of the target finger according to the finger pressure data, wherein the finger pressure data includes: the pressure value applied by the target finger to the area where the application icon displayed on the screen is located; Determining an occlusion area of ​​the target finger on the screen according to the shape of the target finger; Obtaining a coverage area of ​​a shortcut bar of the application icon, and comparing the coverage area of ​​the shortcut bar with the blocked area to obtain a first comparison result; displaying the shortcut bar according to a display method corresponding to the first comparison result; Comparing the coverage area of ​​the shortcut bar with the blocked area to obtain a first comparison result includes: Determining the occlusion area of ​​the occlusion region according to the pressure value applied to the screen by the target finger; Determine the coverage area of ​​the coverage area, and compare the blocked area with the coverage area to obtain the first comparison result, wherein the target fingers include: thumb, index finger, middle finger, ring finger and little finger, and the first comparison result is that the blocked area of ​​the user's finger overlaps with the coverage area of ​​the shortcut bar, then the shortcut bar is moved to be displayed outside the blocked area.

2. The method according to claim 1, characterized in that Determining the shape of the target finger according to the finger pressure data includes: Obtaining a first capacitance value when a convex fingerprint of the target finger contacts the screen, and a second capacitance value when a concave fingerprint of the target finger contacts the screen; determining a difference between the first capacitance value and the second capacitance value, and generating a fingerprint image of the target finger according to the difference; Comparing the fingerprint image with a fingerprint template to obtain a second comparison result, wherein the fingerprint template is stored in a terminal corresponding to the screen, and the fingerprint template includes at least one of the following: fingerprint images of multiple fingers of a target user, fingerprint shapes of the multiple fingers of the target user, and multiple pressure values ​​at multiple contact positions when the multiple fingers of the target user contact the screen, wherein the target user is a user using the terminal; When the second comparison result indicates that the minimum error between the fingerprint image and the fingerprint template is greater than a first preset value, determining the shape of the target finger according to the fingerprint image; When the second comparison result indicates that the minimum error between the fingerprint image and the fingerprint template is less than or equal to the first preset value, the shape of the target finger is determined according to the fingerprint template corresponding to the minimum error.

3. The method according to claim 1, characterized in that Determining the occlusion area of ​​the occlusion region according to the pressure value applied to the screen by the target finger includes: When the pressure value is greater than a first threshold, the expansion width is determined to be a first width; when the pressure value is greater than a second threshold and less than the first threshold, the expansion width is determined to be a second width; when the pressure value is less than the second threshold, the expansion width is determined to be a third width, wherein the first threshold is greater than the second threshold; Acquire a contact area between the target finger and the screen, and determine a first product of the contact area and the first width, or a second product of the contact area and the second width, or a third product of the contact area and the third width as the occlusion area.

4. The method according to claim 1, wherein Displaying the shortcut bar according to a display method corresponding to the first comparison result includes: When the target finger is determined to be a thumb based on the shape of the target finger, determining that the blocked area is the first area, and the blocked area is the first blocked area; when the first comparison result indicates that the first blocked area overlaps with the covered area, moving the shortcut bar to the first target area, and displaying the shortcut bar in the first target area, wherein the first target area is an uncovered area between the first area and an edge of the terminal where the screen is located; When the target finger is determined to be an index finger based on the shape of the target finger, determining that the blocked area is the second area, and the blocked area is the second blocked area; when the first comparison result indicates that the second blocked area overlaps with the covered area, moving the shortcut bar to the second target area, wherein the second target area is an uncovered area between the second area and an edge of the terminal; If the target finger is determined to be a middle finger based on the shape of the target finger, determining that the blocked area is a third area, and the blocked area is a third blocked area; if the first comparison result indicates that the third blocked area overlaps with the covered area, moving the shortcut bar to a third target area, wherein the third target area is an uncovered area between the third area and an edge of the terminal; If the target finger is determined to be a ring finger based on the shape of the target finger, determining that the blocked area is a fourth area, and the blocked area is a fourth blocked area; if the first comparison result indicates that the fourth blocked area overlaps with the covered area, moving the shortcut bar to a fourth target area, wherein the fourth target area is an uncovered area between the fourth area and an edge of the terminal; When the target finger is determined to be the little finger based on the shape of the target finger, the blocked area is determined to be the fifth area, and the blocked area is the fifth blocked area; when the first comparison result indicates that the fifth blocked area overlaps with the coverage area, the shortcut bar is moved to the fifth target area, wherein the fifth target area is the uncovered area between the fifth area and the edge of the terminal.

5. The method according to claim 4, characterized in that Moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area includes one of the following: First displaying the area of ​​the shortcut bar in the overlapping area, and then moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area in the form of animation, wherein the overlapping area is an overlapping area between the coverage area and the first area, or an overlapping area between the coverage area and the second area, or an overlapping area between the coverage area and the third area, or an overlapping area between the coverage area and the fourth area, or an overlapping area between the coverage area and the fifth area; The shortcut bar is directly displayed in the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area.

6. The method according to claim 5, characterized in that Before moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, the method includes: obtaining a contact time between the target finger and the screen after the shortcut bar is displayed in the overlapping area, and refusing to move the shortcut bar if the contact time is less than a second preset value; When the contact time is greater than or equal to the second preset value and the first comparison result indicates that the coverage area overlaps with the blocking area, the shortcut bar is moved to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area.

7. The method according to claim 4, characterized in that Moving the shortcut bar to the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area further includes: If the coverage area is larger than the first target area, or the second target area, or the third target area, or the fourth target area, or the fifth target area, after moving the shortcut bar to the edge of the terminal, move the shortcut bar upward or move the shortcut bar downward.

8. A display device for a shortcut bar, characterized in that: include: an acquisition module, configured to acquire finger pressure data and determine the shape of a target finger according to the finger pressure data, wherein the finger pressure data includes: a pressure value applied by the target finger to an area where an application icon displayed on the screen is located; a determination module, configured to determine an occlusion area of ​​the target finger on the screen according to a shape of the target finger; a comparison module, configured to obtain a coverage area of ​​the shortcut bar of the application icon, compare the coverage area of ​​the shortcut bar with the blocked area, and obtain a first comparison result; a display module, configured to display the shortcut bar according to a display method corresponding to the first comparison result; Comparing the coverage area of ​​the shortcut bar with the blocked area to obtain a first comparison result includes: Determining the occlusion area of ​​the occlusion region according to the pressure value applied to the screen by the target finger; Determine the coverage area of ​​the coverage area, and compare the blocked area with the coverage area to obtain the first comparison result, wherein the target fingers include: thumb, index finger, middle finger, ring finger and little finger, and the first comparison result is that the blocked area of ​​the user's finger overlaps with the coverage area of ​​the shortcut bar, then the shortcut bar is moved to be displayed outside the blocked area.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the method for displaying a shortcut bar according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the method for displaying a shortcut bar according to any one of claims 1 to 7 when running.

Citation Information

Patent Citations

  • Device and method for displaying popup windows on basis of touch control information

    CN106775203A

  • Touch screen character display method and device

    CN106843692A