Index display method, electronic device, and computer-readable storage medium

By displaying the index corresponding to the list in a preset area of ​​the display interface, the problem of mismatch between the index and the list is solved, improving user operation convenience and energy efficiency, and adapting to different display formats.

CN115757906BActive Publication Date: 2026-01-16HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211460844.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-24
Publication Date
2026-01-16
Estimated Expiration
2040-08-24

AI Technical Summary

Technical Problem

In existing index display methods, the display interface fails to effectively match the list and the index, resulting in a mismatch between the index and the list, which affects user operation and energy consumption.

Method used

By responding to user actions, the index corresponding to the list is displayed only in the preset display area of ​​the display interface. The index display position is determined according to the list information and display format. The index is displayed only when the conditions are met, avoiding obscuring the scroll bar or other important elements, increasing the spacing between index labels, and adapting to different display formats.

Benefits of technology

It improves the matching degree between indexes and lists on the display interface, optimizes user operation convenience, saves energy consumption, and adapts to different display formats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115757906B_ABST
    Figure CN115757906B_ABST
Patent Text Reader

Abstract

The application belongs to the field of user interfaces, and provides an index display method, an electronic device, and a computer readable storage medium. The index display method comprises: displaying a first part of a page on a display interface of the electronic device, wherein the first page comprises a first list and a first area above the first list, the first part of the page comprises the first area, and the display interface does not display an index corresponding to the first list; receiving a first operation; and in response to the first operation, displaying a second part of the first page on the display interface of the electronic device, wherein the top of the second part of the page displays list items of the first list, and the display interface displays the index corresponding to the first list. The matching degree of the index and the list displayed on the display interface is improved by the index display method.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of user interfaces, and in particular to an index display method, an electronic device, and a computer-readable storage medium. BACKGROUND

[0002] In existing electronic devices, if a display interface displays a list, in order to facilitate a user to view the list, an index is generally displayed on the display interface. However, in existing index display methods, the index is continuously displayed on the display interface. If the index is continuously displayed on the display interface, the list may not be displayed on the display interface, but the index is displayed, which causes the index and the list to be unable to match. SUMMARY

[0003] The present application provides an index display method, an electronic device, and a computer-readable storage medium, and improves the matching degree of a list and an index on a display interface.

[0004] To achieve the above object, the present application adopts the following technical solutions:

[0005] In a first aspect, an index display method is provided, including: in response to a user operation, displaying a first page, the first page including a first list; and when the first list is located in a preset display region of a display interface, displaying an index corresponding to the first list.

[0006] In the embodiments of the present application, in response to a user operation, an electronic device displays a first page, the first page including a first list. When the first list is located in a preset display region of a display interface, an index corresponding to the first list is displayed, so that the first list and the corresponding index are displayed at the same time, and the matching degree of the index and the list displayed on the display interface is improved.

[0007] In a possible implementation manner of the first aspect, the first page further includes a second list, and the method further includes: when the display interface simultaneously displays the first list and the second list, the index is not displayed. Correspondingly, when the display interface displays only the first list, and the first list is located in the preset display region of the display interface, the index corresponding to the first list is displayed; when the display interface displays only the second list, and the second list is located in the preset display region of the display interface, the index corresponding to the second list is displayed, so that the index displayed on the display interface corresponds to the list displayed on the display interface.

[0008] In a possible implementation manner of the first aspect, the first page further includes a scroll bar, and the method further includes:

[0009] When the display interface simultaneously displays the first list and the scroll bar, the index is not displayed, so as to prevent the index from shielding the scroll bar, thereby improving the convenience of user operation.

[0010] In a possible implementation manner of the first aspect, before the displaying the index corresponding to the first list, the method further includes: obtaining list information of the first list.

[0011] Correspondingly, when the first list is located in the preset display area of the display interface, the displaying the index corresponding to the first list includes: when the first list is located in the preset display area of the display interface and the list information meets a preset condition, displaying the index corresponding to the first list. The preset condition is an index use condition. When the list information meets the preset condition, the index can be used to facilitate the user to quickly find the list item. When the list information does not meet the preset condition, the index has little effect on finding the list item, and the index can not be displayed, thereby saving the energy consumption of the electronic device.

[0012] In a possible implementation manner of the first aspect, the index includes at least one index label, and the list information includes an index label quantity corresponding to the first list and / or a length of the list.

[0013] Correspondingly, the list information meeting the preset condition includes:

[0014] The index label quantity corresponding to the first list is greater than a preset value, and / or the length of the first list is greater than a preset length.

[0015] In a possible implementation manner of the first aspect, the index includes at least one index label, and the list includes at least one list item. The index label corresponds to the list item displayed on the display interface, that is, only the index label corresponding to the list item is displayed on the display interface. Compared with displaying all index labels of the original index, the distance between the index labels is increased, thereby facilitating user operation.

[0016] In a possible implementation manner of the first aspect, the index label corresponds to the list item displayed on the display interface and a display form of the display interface. The display form includes portrait display, landscape display, split-screen display, and window display, and the like. In the case of landscape display, split-screen display, and window display, the index display position of the display interface cannot completely display the original index, and only the index label corresponding to the list item displayed on the display interface is displayed, thereby matching the index with the display interface.

[0017] In a possible implementation manner of the first aspect, before the displaying the index corresponding to the first list, the method further includes:

[0018] According to a text arrangement format of the first list, determining the index display position. The text arrangement format includes left-to-right display and right-to-left display.

[0019] Correspondingly, the displaying the index corresponding to the first list comprises:

[0020] Displaying the index corresponding to the first list at the index display position.

[0021] In a second aspect, an index display apparatus is provided, comprising:

[0022] A response module configured to display a first page in response to a user operation, the first page comprising a first list;

[0023] A display module configured to display an index corresponding to the first list when the first list is located in a preset display area of a display interface.

[0024] In a possible implementation of the second aspect, the first page further comprises a second list, and the display module is further configured to:

[0025] When the display interface simultaneously displays the first list and the second list, the index is not displayed.

[0026] In a possible implementation of the second aspect, the first page further comprises a scroll bar, and the display module is further configured to:

[0027] When the display interface simultaneously displays the first list and the scroll bar, the index is not displayed.

[0028] In a possible implementation of the second aspect, the index display apparatus further comprises an acquisition module configured to acquire list information of the first list.

[0029] Correspondingly, the display module is specifically configured to:

[0030] When the first list is located in a preset display area of a display interface, and the list information satisfies a preset condition, display an index corresponding to the first list.

[0031] In a possible implementation of the second aspect, the index comprises at least one index label, and the list information comprises an index label quantity corresponding to the first list and / or a length of the list.

[0032] Correspondingly, the list information satisfies a preset condition, comprising:

[0033] The index label quantity corresponding to the first list is greater than a preset value, and / or the length of the first list is greater than a preset length.

[0034] In a possible implementation manner of the second aspect, the index includes at least one index label, and the list includes at least one list item, and the index label corresponds to the list item displayed on the display interface.

[0035] In a possible implementation manner of the second aspect, the index label corresponds to the list item displayed on the display interface and the display form of the display interface.

[0036] In a possible implementation manner of the second aspect, the response module is further configured to:

[0037] determine the index display position according to a text arrangement format of the first list, and the text arrangement format includes left-to-right display and right-to-left display;

[0038] Correspondingly, the display module is configured to:

[0039] display the index corresponding to the first list at the index display position.

[0040] In a third aspect, an electronic device is provided, including a processor configured to execute a computer program stored in a memory to implement the index display method in the first aspect.

[0041] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the index display method in the first aspect.

[0042] In a fifth aspect, a computer program product is provided, and when the computer program product is executed on a terminal device, the terminal device executes the index display method in the first aspect.

[0043] It can be understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0044] Figure 1 An application scenario diagram of the index display method provided by the embodiments of the present application is shown in FIG. 1;

[0045] Figure 2 Another application scenario diagram of the index display method provided by the embodiments of the present application is shown in FIG. 2;

[0046] Figure 3 Still another application scenario diagram of the index display method provided by the embodiments of the present application is shown in FIG. 3;

[0047] Figure 4 A schematic diagram of a first page provided by the embodiments of the present application is shown in FIG. 4;

[0048] Figure 5 An application scenario diagram of the index display method of the first page provided by the embodiment of the present application;

[0049] Figure 6 Another application scenario diagram of the index display method of the first page provided by the embodiment of the present application;

[0050] Figure 7 Another schematic diagram of the first page provided by the embodiment of the present application;

[0051] Figure 8 An application scenario diagram of the index display method of the first page provided by the embodiment of the present application;

[0052] Figure 9 Another application scenario diagram of the index display method of the first page provided by the embodiment of the present application;

[0053] Figure 10 Another application scenario diagram of the index display method provided by the embodiment of the present application;

[0054] Figure 11 Another application scenario diagram of the index display method provided by the embodiment of the present application;

[0055] Figure 12 Another application scenario diagram of the index display method provided by the embodiment of the present application;

[0056] Figure 13 Another application scenario diagram of the index display method provided by the embodiment of the present application;

[0057] Figure 14 A flow schematic diagram of the index display method provided by the embodiment of the present application;

[0058] Figure 15 A schematic diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0059] In the following description, specific details are set forth, such as a particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, persons skilled in the art will understand that the present application can be practiced without these specific details. In other instances, well-known structures, devices, circuits, and methods have not been described in detail in order to avoid obscuring the description of the present application.

[0060] It should be understood that the word “comprise” or variations such as “comprises” or “comprising”, when used in this specification and in the accompanying claims, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0061] It should also be understood that the term “and / or” when used in this specification and in the following claims is to be interpreted as “one or the other or both” and / or “any combination of the items in the list.” It should be understood that the terms “a” and “an” as used in this specification and in the following claims indicate “one or more.”

[0062] As used in this specification and in the claims, the term “if’ can be construed to mean “when” or “once” or “in response to determining” or “in response to detecting,” depending on the context. Similarly, the phrase “if it is determined” or “if [a described condition or event] is detected” can be construed to mean “once it is determined” or “in response to determining” or “once [the described condition or event] is detected” or “in response to detecting [a described condition or event],” depending on the context.

[0063] In addition, the terms “first”, “second”, and the like, as used in the description of the application, are only used to distinguish one element from another, and cannot be understood as indicating or implying relative importance.

[0064] Reference throughout this specification to “one embodiment” or “some embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Therefore, appearances of the phrases “in one embodiment”, “in some embodiments”, “in other embodiments”, “in additional embodiments”, and so on, in various places throughout this specification are not necessarily all referring to the same embodiment, unless otherwise indicated. The terms “comprise”, “comprises”, “comprising”, “include”, “includes”, “including” and the like are synonymous with “containing” or “comprising”, unless otherwise indicated.

[0065] The embodiments of the present application will be described in detail below.

[0066] Currently, when an electronic device displays a list, an index corresponding to the list is displayed on the display interface. For example, as shown in (A) of FIG. 1, the electronic device opens the phone application in response to a user’s touch operation on the “phone” control. Figure 1 Figure 1 ​The contact page is shown in (B). The contact page includes a list of business cards called "My Business Cards," and an index corresponding to "My Business Cards" called "ABCDEFGHIGKLMNOPQRSTUVWXYZ." The business card list includes items such as "Ben," "John," and "Xiaoming." Each letter in the index is an index label. Users can use the index labels to find the list items corresponding to those labels. The contact page typically includes more than just the business card list; it may also include folder options. For example, ... Figure 1 As shown in (B), above the contact list, the contact page also includes folder options such as "Groups" and "Contacts". These folder options do not match the index displayed on the current screen. This is especially problematic when there are many folder options set, causing the contact list and index to not display simultaneously. For example, as... Figure 2 As shown, in one application scenario, the folder options occupy a longer section of the contacts page than the entire display screen. When the contacts page is scrolled to a point like... Figure 2 When the location is shown, the display interface does not show the business card list, but instead shows the index corresponding to the business card list. Therefore, this causes a mismatch between the index and the business card list.

[0067] On the other hand, such as Figure 3 As shown in (A), in one application scenario, the electronic device responds to the user's touch operation on the "Connect" control, opening... Figure 3 The MeeTime calling page shown in (B) includes a contact list titled "Callable Contacts" and corresponding indexes "ABCDEFGHIGKLMNOPQRSTUVWXYZ". The contact list includes entries such as "Candy", "David", and "Ella". Above the contact list, the MeeTime calling page also includes a horizontal swipe area called "Recent". Users can swipe this area to find recent call records; however, the displayed indexes obscure the right side of the horizontal swipe area, affecting user operation.

[0068] Therefore, this application provides an index display method. When the display interface displays a first page, the position of the first list in the first page on the display interface is determined. When the first list is located in a preset display area of ​​the display interface, the index corresponding to the first list is displayed. This enables the index and the first list to be displayed synchronously, thereby improving the matching degree between the index and the list displayed on the display interface.

[0069] This index display method is applied to electronic devices. For example, the electronic devices described in this application embodiment may be mobile phones, tablet computers, handheld computers, personal digital assistants (PDAs), wearable devices, etc. This application embodiment does not impose any special limitations on the specific form / type of the electronic device.

[0070] The following description uses a mobile phone as an example of an electronic device, combined with a specific application scenario, to illustrate the index display method provided in the embodiments of this application.

[0071] like Figure 4 As shown, in one application scenario, the first page includes a first list 41, a first area 42 above the first list 41, and a second area 43 below the first list 41. The first list 41 is a list that meets the index usage conditions, meaning it has an index corresponding to it. The first area 42 and the second area 43 can display folder options or other lists that do not meet the index usage conditions. The electronic device responds to the user's swiping operation by displaying different areas of the first page on the display interface 44. For example... Figure 4 As shown in (A), the display interface shows the first area 42, but the first list is not displayed, so the display interface does not show the index. Figure 4 As shown in (B) of the diagram, the display interface shows a first list 41, and the first list 41 is located at the top of the display interface 44, displaying the index 45 corresponding to the first list. For example... Figure 4 As shown in (C), the display interface shows the second area 43. If the first list is not displayed, the display interface will not display the index.

[0072] For example, such as Figure 5 As shown in (A), in one application scenario, the electronic device responds to the user's touch operation on the "Connect" control, opening... Figure 5 The MeeTime page is shown in (B). The MeeTime page includes the folder option "Discover Newly Opened Contacts," the device list "My Callable Devices," and the contact list "Callable Contacts." The device list includes items "Phone," "Phone 3," "Tablet," and "Watch." The length of the device list is less than the preset length, so it does not meet the indexing requirements. The contact list includes items such as "Candy," "David," and "Ella." The length of the contact list is greater than the preset length, so it meets the indexing requirements; this contact list is the first list. When the MeeTime page is scrolled to... Figure 5 At position (B) shown in the image, the display does not show the contact list or the index. When the electronic device responds to the user's swipe gesture, continuing to swipe the Connect call page until... Figure 5When the screen displays the contact list at position (C), the contact list is not at the top of the screen and no index is displayed. When the electronic device responds to the user's swipe gesture, it continues swiping the Connect call page until... Figure 5 When the screen is positioned as shown in (D), the contact list is displayed, with the top of the contact list at the top of the screen. The screen then begins displaying the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "Callable Contacts". When the electronic device responds to the user's swipe and continues swiping the Connect call page, if the contact list is displayed at the top of the screen, the index corresponding to "Callable Contacts" is also displayed.

[0073] like Figure 6 As shown in (A), in another application scenario, the electronic device responds to the user's touch operation on the "Connect" control, opening up... Figure 6 The Connect Call page is shown in (B). The Connect Call page includes a horizontal swipe area "Recent" and a contact list "Callable Contacts". The horizontal swipe area does not meet the indexing criteria, while the contact list, including items such as "Candy", "David", and "Ella", does meet the indexing criteria, making it the first contact list. When the Connect Call page is swiped to... Figure 6 When the screen reaches the position shown in (B), the horizontal swipe area and contact list are displayed, but the contact list is not at the top of the screen and no index is displayed. When the electronic device responds to the user's swipe action, it continues swiping the Connect call page until... Figure 6 When the device is positioned as shown in (C), the top of the contact list is at the top of the display screen, and the display screen begins to show the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "Callable Contacts". When the electronic device responds to the user's swipe operation and continues to swipe the Connect call page, if the contact list is displayed at the top of the display screen, the index corresponding to "Callable Contacts" will also be displayed simultaneously.

[0074] like Figure 7 As shown, in another application scenario, the first page includes a first list 71 and a second list 72. Both the first list 71 and the second list 72 are lists that meet the index usage conditions. The electronic device responds to the user's swiping operation by displaying different areas of the first page on the display interface 73. For example... Figure 7 As shown in (A), display interface 73 displays a first list 71, and the first list 71 is located at the top of display interface 73. Display interface 73 displays the index 74 corresponding to the first list 71. Figure 7As shown in (B) of FIG. 7A, the display interface 73 displays the first list 71 and the second list 72 simultaneously, and does not display the index. As shown in (C) of FIG. 7A, the display interface 73 displays the second list 72, and the top of the second list 72 is located at the top of the display interface 73, and the display interface 73 displays the index 75 corresponding to the second list 72. Figure 7 As shown in (B) of FIG. 7A, the display interface 73 displays the first list 71 and the second list 72 simultaneously, and does not display the index. As shown in (C) of FIG. 7A, the display interface 73 displays the second list 72, and the top of the second list 72 is located at the top of the display interface 73, and the display interface 73 displays the index 75 corresponding to the second list 72.

[0075] For example, as shown in (A) of FIG. 7B, in an application scenario, the electronic device opens the page of the free call in response to the operation of the user, and the page of the free call includes a device list "My dialable devices" and a contact list "Dialable contacts". The device list includes list items "Son's watch", "Daughter's watch", "Tablet", and the like, and the length of the device list is greater than the preset length, satisfying the index use condition. The contact list includes list items "Candy", "David", "Ella", and the like, and the length of the contact list is greater than the preset length, satisfying the index use condition. The device list is the first list, and the contact list is the second list. Figure 8 As shown in (A) of FIG. 7B, when the page of the free call is slid to a position as shown in (A) of FIG. 7B, the display interface displays only the device list, and the device list is located at the top of the display interface, and the display interface displays the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "My dialable devices". When the electronic device continues to slide the page of the free call in response to the sliding operation of the user, the display interface displays the device list and the contact list simultaneously, and does not display the index, as shown in (B) of FIG. 7B. When the electronic device continues to slide the page of the free call in response to the sliding operation of the user, the display interface displays only the contact list, and the top of the contact list is located at the top of the display interface, and the display interface starts to display the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "Dialable contacts", as shown in (C) of FIG. 7B. When the electronic device continues to slide the page of the free call in response to the sliding operation of the user, if the top of the display interface displays the contact list, the index corresponding to "Dialable contacts" is displayed simultaneously. Figure 8 Figure 8 Figure 8

[0076] As shown in (A) of FIG. 7B, when the page of the free call is slid to a position as shown in (A) of FIG. 7B, the display interface displays only the device list, and the device list is located at the top of the display interface, and the display interface displays the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "My dialable devices". When the electronic device continues to slide the page of the free call in response to the sliding operation of the user, the display interface displays the device list and the contact list simultaneously, and does not display the index, as shown in (B) of FIG. 7B. When the electronic device continues to slide the page of the free call in response to the sliding operation of the user, the display interface displays only the contact list, and the top of the contact list is located at the top of the display interface, and the display interface starts to display the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "Dialable contacts", as shown in (C) of FIG. 7B. When the electronic device continues to slide the page of the free call in response to the sliding operation of the user, if the top of the display interface displays the contact list, the index corresponding to "Dialable contacts" is displayed simultaneously. Figure 9 ​​​As shown, in another application scenario, the electronic device responds to the user's operation and opens the MeeTime calling page. The MeeTime calling page includes a device list "My Callable Devices" and a contact list "Callable Contacts." The device list includes items such as "Son's Watch," "Daughter's Watch," and "Tablet," and its length exceeds a preset length, meeting the indexing requirements. The contact list includes items such as "Candy," "David," and "Ella," and its length also exceeds a preset length, meeting the indexing requirements. The device list is the first list, and the contact list is the second list. When the MeeTime calling page is scrolled to... Figure 9 When the device is positioned as shown in (A), the display interface shows only the device list, and the device list is located at the top of the display interface. The display interface then shows the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "My Callable Devices". The index corresponding to "My Callable Devices" is a swipeable index, meaning the user can swipe the device list. When the electronic device responds to the user's swipe operation on the index, the swipe index and device list will move to the next position. Figure 9 When the user is at position (B) in the diagram, the display screen simultaneously shows the device list and the contact list. While the user remains on the screen, the display screen continues to show the index corresponding to "My Callable Devices," such as... Figure 9 In (C), when the user finishes the swipe operation and releases their hand, the display interface does not show the index.

[0077] like Figure 10 As shown, in one application scenario, the electronic device responds to a user's operation by opening the MeeTime calling page. The MeeTime calling page includes at least a contact list of "callable contacts," and the length of the contact list exceeds a preset length, satisfying the index usage conditions. When the electronic device responds to the user's swipe operation, it swipes the MeeTime calling page to... Figure 10When positioned as shown, the top of the contact list is at the top of the display interface. The display shows list items "Candy," "David," "Ella," "Brother," "John," and "Xiaoming," along with the corresponding index "CDEGJX." The index "CDEGJX" is composed of partial index labels from the original index "ABCDEFGHIGKLMNOPQRSTUVWXYZ." List item "Candy" corresponds to index label "C," "David" to index label "D," "Ella" to index label "E," "Brother" to index label "G," "John" to index label "J," and "Xiaoming" to index label "X." This means only the index labels corresponding to the list items displayed on the interface are shown, resulting in larger spacing between the index labels and improved user convenience.

[0078] like Figure 11 As shown, in one application scenario, the display interface is in a split-screen display state. The first screen displays the MeeTime calling page, and the second screen displays the main page. The MeeTime calling page includes at least a contact list, and the length of the contact list is greater than a preset length, satisfying the indexing conditions. When the electronic device responds to the user's swipe operation, swiping the MeeTime calling page to... Figure 11 When the screen is in the indicated position, the contact list is at the top of the display interface. The display shows list items "John" and "Xiaoming," along with their corresponding indices "AJXZ." The index "AJXZ" is composed of partial index labels from the original index "ABCDEFGHIGKLMNOPQRSTUVWXYZ," where index label "A" is the first letter of the original index, and index label "Z" is the last letter. List item "John" corresponds to index label "J," and list item "Xiaoming" corresponds to index label "X." That is, when the display interface is in split-screen mode, and the original index cannot be fully displayed, only the index labels corresponding to the list items displayed on the screen, as well as the first and last index labels of the original index, are shown.

[0079] like Figure 12 As shown, in another application scenario, the display interface is in landscape mode, displaying the MeeTime calling page. When the electronic device responds to the user's swipe gesture, the MeeTime calling page is swiped to... Figure 12 When the position is shown, the display interface shows the list items "John" and "Xiaoming", as well as the index "AJXZ" corresponding to the aforementioned list items.

[0080] like Figure 13As shown in FIG. 1, in another application scenario, the display interface is in a landscape display state, and the display interface displays a WeChat call page. When the electronic device slides the WeChat call page to a position as shown in FIG. 2 in response to a sliding operation of a user, the display interface displays list items "John" and "Xiaoming", and displays the indexes "A.J.X.Z" corresponding to the list items. Compared with the original indexes, there are omitted letters between every two letters, and therefore, the display interface adds an omission mark "." between every two letters. Figure 13

[0081] In other possible implementation manners, when the display interface is in a multi-window display state and the original indexes cannot be completely displayed on the display interface, only the index labels corresponding to the list items displayed on the display interface are displayed, and the first index label and the last index label of the original indexes are displayed.

[0082] The index display method provided by the embodiments of the present application will be described below in combination with the above scenarios. As shown in FIG. 1, the index display method provided by the embodiments of the present application includes the following steps. Figure 14

[0083] S101: In response to a user operation, a first page is displayed, and the first page includes a first list.

[0084] The first list includes at least one list item, and the list item can be a contact, a setting option, or a bill option. The length of the first page is greater than or equal to the length of the first list. In addition to the first list, the first page can also include other lists or non-list areas. For example, the non-list area can be a folder option such as "top", "favorite", or "group".

[0085] S102: When the first list is located in a preset display area of the display interface, an index corresponding to the first list is displayed.

[0086] The index includes at least one index label, and the index label can be a letter, a Chinese character, a number, or a symbol. Each list item corresponds to an index label, and the index label corresponding to the list item can be the first word of the list item or the first letter of the first word of the list item. The preset display area of the display interface can be the top of the display interface.

[0087] ​​Specifically, when any position in the first list is at the top of the display interface, the index corresponding to the first list is displayed on the display interface; otherwise, the index is not displayed. For example, if the first page includes the first list and a non-list area above the first list, during the scrolling of the first page, if the first list is not displayed on the display interface, or if the first list has not scrolled to the top of the display interface, the list is not displayed. If the top of the first list scrolls to the top of the display interface, the index begins to be displayed. If the first page continues to scroll upwards and the first list is displayed on the display interface, the index continues to be displayed, thus ensuring that the index and the first list are displayed simultaneously, improving the matching degree between the index and the list displayed on the display interface.

[0088] For example, in such Figure 5 In the scenario shown, when the MeeTime call page is swiped to the position shown... Figure 5 When the screen reaches the location shown in (B), the contact list and index are not displayed. When the MeeTime call page reaches the location shown in (B), the contact list and index are not displayed. Figure 5 When the screen displays the contact list at position (C), the contact list is not at the top of the screen and no index is displayed. When the electronic device responds to the user's swipe gesture, it continues swiping the Connect call page until... Figure 5 When the position shown in (D) is reached, the display shows the contact list, with the top of the contact list at the top of the display screen, and the display begins to show the index corresponding to "Callable Contacts". For example, in... Figure 6 In the scenario shown, when the MeeTime call page is swiped to the position shown... Figure 6 When the screen displays the contact list at position (B), the contact list is not at the top of the screen and no index is displayed. When the electronic device responds to the user's swipe gesture, it continues swiping the Connect call page until... Figure 6 When the position shown in (C) is reached, the top of the contact list is at the top of the display interface, and the display interface begins to show the index corresponding to "Callable Contacts".

[0089] In one possible implementation, the display interface also includes a second list. If the display interface simultaneously displays the first list and the second list, the index is not displayed. This can be achieved either by not displaying the index when the first page is opened, or by canceling the display of the index during scrolling on the first page.

[0090] For example, in such Figure 8 In the scenario shown, when the MeeTime call page is swiped to the position shown... Figure 8 When the screen displays the position shown in (A), the interface only shows the device list, and the device list is located at the top of the screen. Then, the screen displays the index corresponding to "My Callable Devices". When the MeeTime page is scrolled to the position shown in (A), the interface displays the index corresponding to "My Callable Devices". Figure 8When the display interface is at the position shown as (C) in FIG. 6, the display interface displays only the contact list, and the top of the contact list is at the top of the display interface. The display interface starts to display the index corresponding to the "dialable contact". Figure 8 When the display interface is at the position shown as (C) in FIG. 6, the display interface displays only the contact list, and the top of the contact list is at the top of the display interface. The display interface starts to display the index corresponding to the "dialable contact".

[0091] In another possible implementation, as shown in FIG. 7, if the index is a slideable index, during the process in which the user slides the index, if the display interface displays the first list and the second list at the same time, the display interface can not disappear the index until the user releases the index. Figure 9

[0092] In another possible implementation, the display interface further includes a horizontal sliding area. If the display interface displays the first list and the horizontal sliding area at the same time, the display interface does not display the index, so as to prevent the index from blocking the horizontal sliding area, and thus improve the convenience of user operation.

[0093] In yet another possible implementation, the display interface further includes a scroll bar corresponding to the first list. If the display interface displays the scroll bar, the display interface does not display the index, so as to prevent the index from blocking the scroll bar, and thus improve the convenience of user operation.

[0094] In yet another possible implementation, the electronic device determines the index label displayed on the display interface according to the list item displayed on the display interface. For example, the electronic device determines the index label corresponding to the list item displayed on the display interface, and displays only the index label corresponding to the list item displayed on the display interface, so as to increase the distance between the index labels, and facilitate user operation. For example, in the scenario shown in FIG. 8, the index labels displayed on the display interface correspond to the list items displayed on the display interface. Figure 10

[0095] In yet another possible implementation, the electronic device determines the index label displayed on the display interface according to the list item displayed on the display interface, and the display form of the display interface. For example, when the display interface is in a split-screen, a horizontal screen, or a multi-window display state, the display interface cannot completely display the index, and the display interface can display only the index label corresponding to the list item displayed on the display interface, or the display interface can display the index label corresponding to the list item displayed on the display interface, and the first index label and the last index label of the original index. For example, in the scenario shown in FIG. 9, the index labels displayed on the display interface include the index label corresponding to the list item displayed on the display interface, and the first index label and the last index label of the original index. Figure 11

[0096] ​​​In a further possible implementation manner, the electronic device determines the index display position according to a pre-stored text arrangement format of the first list, where the text arrangement format can be "from left to right" display or "from right to left" display, and the text arrangement format is related to the language used by the page, for example, the text arrangement format of Chinese or English is generally "from left to right" display, and the text arrangement format of Arabic is "from right to left" display. If the text arrangement format is "from left to right" display, the index is displayed on the right side of the display interface; if the text arrangement format is "from right to left" display, the index is displayed on the left side of the display interface. For example, the language in the embodiment of the present application is Chinese or English, and the text arrangement format is generally "from left to right" display, and the index is displayed on the right side of the display interface.

[0097] In a possible implementation manner, the electronic device further determines whether the first list meets a preset condition according to list information of the first list. If the first list meets the preset condition and the first list is located in the preset display region of the display interface, the index corresponding to the first list is displayed. Specifically, the list information includes the number of index tags corresponding to the first list and the length of the list. If the number of index tags corresponding to the first list is greater than a preset value and the length of the first list is greater than a preset length, the first list meets the preset condition. It should be noted that the list information can also be set as any one of the number of index tags and the length of the list according to user demand, that is, if the number of index tags corresponding to the first list is greater than a preset value or the length of the first list is greater than a preset length, the first list meets the preset condition.

[0098] wherein the preset value can be 2 and the preset length can be 2 times the length of the display interface. For example, if the length of the list is k and the length of the display interface is h, if k≥2h and the number of index tags corresponding to the list is greater than 2, the preset condition is met.

[0099] In the above embodiment, when the display interface displays the first page, the position of the first list in the first page on the display interface is determined, and when the first list is located in the preset display region of the display interface, the index corresponding to the first list is displayed, so that the index and the first list are synchronously displayed, thereby improving the matching degree of the index and the list displayed on the display interface.

[0100] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0101] Based on the same inventive concept, the embodiment of the present application also provides an electronic device. An exemplary, Figure 15 A structural schematic diagram of the electronic device 100 is shown.

[0102] As shown in Figure 15 The electronic device 100 can 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, a key 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 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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.

[0103] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0104] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated into one or more processors.

[0105] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.

[0106] The processor 110 can also include a memory that stores instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The cache memory can hold instructions or data that the processor 110 has recently used or is likely to use again. If the processor 110 needs to use the instructions or data again, it can be retrieved directly from the cache memory. This avoids repeated accesses to the main memory, reducing the latency of the processor 110 and thus improving the efficiency of the system.

[0107] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0108] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can include multiple sets of I2C buses. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor 180K through an I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface and implement the touch function of the electronic device 100.

[0109] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple sets of I2S buses. The processor 110 can be coupled to the audio module 170 through the I2S bus, enabling communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can deliver audio signals to the wireless communication module 160 through the I2S interface, enabling the function of answering a phone call through a Bluetooth headset.

[0110] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 can be coupled with the wireless communication module 160 through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, realizing the function of answering a phone call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0111] The UART interface is a general-purpose serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface, realizing the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, realizing the function of playing music through a Bluetooth headset.

[0112] The MIPI interface can be used to connect the processor 110 and peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes the camera serial interface (CSI), the display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface, realizing the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface, realizing the display function of the electronic device 100.

[0113] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 and the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0114] The USB interface 130 is an interface that meets the USB standard specification, which can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0115] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.

[0116] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 and also supply power to the electronic device through the power management module 141.

[0117] The power management module 141 is configured to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be arranged in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be arranged in the same device.

[0118] The wireless communication function of the electronic device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.

[0119] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.

[0120] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the same to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and radiate the same as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.

[0121] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other functional modules.

[0122] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, frequency-modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and radiate it as an electromagnetic wave via the antenna 2.

[0123] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).

[0124] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.

[0125] The display screen 194 is configured to display images, videos, and the like. 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 flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.

[0126] The electronic device 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.

[0127] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be disposed in the camera 193.

[0128] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device 100 can include one or N cameras 193, where N is a positive integer greater than 1.

[0129] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0130] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0131] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 100 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.

[0132] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, music, video, etc. Files are saved in the external memory card.

[0133] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phonebook, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various function applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in the memory provided in the processor.

[0134] The electronic device 100 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.

[0135] The audio module 170 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some of the functions of the audio module 170 can be disposed in the processor 110.

[0136] The speaker 170A, also referred to as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0137] The receiver 170B, also referred to as an "earpiece", is configured to convert an audio electrical signal into a sound signal. When the electronic device 100 receives a call or a voice message, the user can listen to the voice by holding the receiver 170B close to the ear.

[0138] The microphone 170C, also referred to as a "microphone", "voice microphone", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak into the microphone 170C by holding the mouth close to the microphone 170C, and input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, in addition to collecting sound signals, the noise reduction function can also be realized. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, in addition to collecting sound signals and noise reduction, the sound source can also be identified, and the directional recording function can also be realized.

[0139] The earphone interface 170D is configured to connect a wired earphone. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0140] The pressure sensor 180A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. The pressure sensor 180A can be of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, etc. The capacitive pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.

[0141] The gyroscope sensor 180B can be configured to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake photography. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of shaking of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and lets the lens offset the shaking of the electronic device 100 by reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.

[0142] The barometric pressure sensor 180C is configured to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude, assists positioning and navigation by using the air pressure value measured by the barometric pressure sensor 180C.

[0143] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of a flip cover by using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the cover or the flip cover, the electronic device 100 can set a feature such as automatic unlocking of the flip cover.

[0144] The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the acceleration sensor 180E can detect the magnitude and direction of gravity. The acceleration sensor 180E can also be used to identify the attitude of the electronic device, and can be applied to landscape / portrait screen switching and pedometer applications.

[0145] Distance sensor 180F is configured to measure distance. Electronic device 100 can measure distance by infrared or laser. In some embodiments, electronic device 100 can utilize distance sensor 180F to measure distance for fast focusing when taking a picture.

[0146] Proximity light sensor 180G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode can be an infrared light emitting diode. Electronic device 100 emits infrared light outwardly through the light emitting diode. Electronic device 100 detects infrared reflected light from nearby objects using the photodiode. When sufficient reflected light is detected, electronic device 100 can determine that there is an object near electronic device 100. When insufficient reflected light is detected, electronic device 100 can determine that there is no object near electronic device 100. Electronic device 100 can utilize proximity light sensor 180G to detect that a user is holding electronic device 100 close to the ear for a phone call, so as to automatically turn off the screen to save power. Proximity light sensor 180G can also be used for automatic unlocking and locking of the screen in a holster mode or a pocket mode.

[0147] Ambient light sensor 180L is configured to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display 194 according to the sensed ambient light brightness. Ambient light sensor 180L can also be used to automatically adjust white balance when taking a picture. Ambient light sensor 180L can also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touch.

[0148] Fingerprint sensor 180H is configured to collect a fingerprint. Electronic device 100 can utilize the collected fingerprint characteristics to implement fingerprint unlocking, access application lock, fingerprint picture taking, fingerprint call answering, and the like.

[0149] Temperature sensor 180J is configured to detect temperature. In some embodiments, electronic device 100 utilizes the temperature detected by temperature sensor 180J to implement temperature handling strategies. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 implements performance reduction of a processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, electronic device 100 heats battery 142 to avoid abnormal shutdown of electronic device 100 caused by low temperature. In other embodiments, when the temperature is lower than yet another threshold, electronic device 100 implements voltage boosting of the output voltage of battery 142 to avoid abnormal shutdown caused by low temperature.

[0150] Touch sensor 180K, also referred to as "touch device". Touch sensor 180K can be disposed on display screen 194, and touch sensor 180K and display screen 194 form a touch screen, also referred to as "touch panel". Touch sensor 180K is configured to detect touch operations applied to or near the touch sensor 180K. The touch sensor can transmit the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K can also be disposed on the surface of electronic device 100, which is different from the position of display screen 194.

[0151] Bone conduction sensor 180M can obtain vibration signals. In some embodiments, bone conduction sensor 180M can obtain vibration signals of the human body's vocal vibration bone block. Bone conduction sensor 180M can also contact the human body pulse to receive blood pressure pulsation signals. In some embodiments, bone conduction sensor 180M can also be disposed in a headset to form a bone conduction headset. Audio module 170 can analyze voice signals based on the vibration signals of the vocal vibration bone block obtained by the bone conduction sensor 180M to realize voice functions. The application processor can analyze heart rate information based on the blood pressure pulsation signals obtained by the bone conduction sensor 180M to realize heart rate detection functions.

[0152] Keys 190 include power on / off keys, volume keys, and the like. Keys 190 can be mechanical keys. They can also be touch keys. Electronic device 100 can receive key input and generate key signal input related to user settings and function control of electronic device 100.

[0153] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts and also for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations applied to different regions of display screen 194 can also correspond to different vibration feedback effects of motor 191. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. Touch vibration feedback effects can also be customizable.

[0154] Indicator 192 can be an indicator light, which can be used to indicate charging status, power changes, and also to indicate messages, missed calls, notifications, and the like.

[0155] The SIM card interface 195 is configured to connect a SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 195 to realize contact and separation with the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support a Nano SIM card, a Micro SIM card, a SIM card, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The electronic device 100 interacts with a network through the SIM card to realize functions such as call and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0156] It should be noted that the information interaction and execution process between the above apparatuses / units are based on the same concept as the method embodiments of the present application, and specific functions and technical effects brought by the above apparatuses / units can be referred to the method embodiments, which will not be described here in detail.

[0157] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.

[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for convenient distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the system can be referred to the corresponding process in the foregoing method embodiments, which will not be described here in detail.

[0159] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application can implement all or part of the processes in the above-mentioned embodiment methods through a computer program to instruct relevant hardware to complete, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of each method embodiment described above can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc.

[0160] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiment scheme according to actual needs.

[0161] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / network device and method can be implemented in other ways. For example, the above-described apparatus / network device embodiments are merely schematic, and the division of the modules or units is merely a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0162] Those of ordinary skill in the art can be aware that, in combination with the examples described in the embodiments disclosed herein, each unit and algorithm step of the examples can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed 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 to be beyond the scope of the present application.

[0163] Finally, it should be noted that the above only describes specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed by the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An index display method applied to an electronic device, characterized by, The method comprises: The display interface of the electronic device displays a first part of a first page, the first page comprising a first list and a first area above the first list, the first part of the first page comprising the first area, and the display interface not displaying an index corresponding to the first list; receiving a first operation; In response to the first operation, the display interface displays a second part of the first page, the top of the second part of the first page displaying list items of the first list, and the display interface displaying the index corresponding to the first list.

2. The method of claim 1, wherein, The first page further comprises a second area below the first list, and the method further comprises: receiving a second operation; In response to the second operation, the display interface displays a third part of the first page, the top of the third part of the first page displaying list items of the first list, the third part of the first page further comprising the second area, and the display interface displaying the index corresponding to the first list.

3. The method of claim 2, wherein, The method further comprises: receiving a third operation; In response to the third operation, the display interface displays a fourth part of the first page, the fourth part of the first page comprising the second area and not comprising the first list, and the display interface not displaying the index corresponding to the first list.

4. The method of claim 1, wherein, The first page further comprises a second list, and the method further comprises: receiving a fourth operation; In response to the fourth operation, the display interface displays a fifth part of the first page, the fifth part of the first page comprising the first list and the second list, and the display interface not displaying the index corresponding to the first list and the index corresponding to the second list.

5. The method of claim 4, wherein, The method further comprises: receiving a fifth operation; In response to the fifth operation, the display interface displays a sixth part of the first page, the top of the sixth part of the first page displaying list items of the second list, and the sixth part of the first page not comprising the first list, and the display interface displaying the index corresponding to the second list.

6. The method of claim 1, wherein, The first page further comprises a scroll bar, and the method further comprises: receiving a sixth operation; In response to the sixth operation, the display interface simultaneously displays the first list and the scroll bar, and does not display the index corresponding to the first list.

7. The index display method according to any one of claims 1 to 6, characterized by, List information of the first list meets a preset condition.

8. The method of claim 7, wherein, The index corresponding to the first list comprises at least one index label, the list information comprises a number of index labels corresponding to the first list, and / or a length of the list; The list information meeting the preset condition comprises: the number of index labels corresponding to the first list being greater than a preset value, and / or the length of the first list being greater than a preset length.

9. The method of claim 8, wherein, The index label corresponds to the list items of the first list displayed on the display interface.

10. The method of claim 9, wherein, The index label corresponds to the list items of the first list displayed on the display interface and a display form of the display interface.

11. The method of claim 1, wherein, The display interface displays the index corresponding to the first list, comprising: The index display position on the display interface displays the index corresponding to the first list, and the index display position is determined according to a text arrangement format of the first list, and the text arrangement format is from left to right display or from right to left display.

12. An electronic device, comprising: The computer program is executed by the processor to implement the method of any one of claims 1-11.

13. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: The computer program is executed by the processor to implement the method of any one of claims 1-11.

Citation Information

Patent Citations

  • Information processing method and device

    CN104424233A

  • Index drawer device and indexing method

    CN107273383A