WO2022042768A1 - 索引显示方法、电子设备及计算机可读存储介质 - Google Patents

索引显示方法、电子设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2022042768A1
WO2022042768A1 PCT/CN2021/125873 CN2021125873W WO2022042768A1 WO 2022042768 A1 WO2022042768 A1 WO 2022042768A1 CN 2021125873 W CN2021125873 W CN 2021125873W WO 2022042768 A1 WO2022042768 A1 WO 2022042768A1
Authority
WO
WIPO (PCT)
Prior art keywords
list
index
display
display interface
displayed
Prior art date
Application number
PCT/CN2021/125873
Other languages
English (en)
French (fr)
Inventor
彭玉卓
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP21860600.2A priority Critical patent/EP4093001A4/en
Priority to US17/802,061 priority patent/US20240012533A1/en
Publication of WO2022042768A1 publication Critical patent/WO2022042768A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27467Methods of retrieving data
    • H04M1/2747Scrolling on a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/60Details of telephonic subscriber devices logging of communication history, e.g. outgoing or incoming calls, missed calls, messages or URLs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • 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.
  • an index is generally displayed on the display interface.
  • the index is generally displayed continuously on the display interface. If the index is continuously displayed on the display interface, there will be a situation that the list is not displayed on the display interface, but the index is displayed, resulting in the problem that the index and the list cannot match. .
  • the present application provides an index display method, an electronic device and a computer-readable storage medium, which improve the matching degree between a list and an index on a display interface.
  • a method for displaying an index including: in response to a user operation, displaying a first page, where the first page includes a first list; when the first list is located in a preset display area of a display interface, An index corresponding to the first list is displayed.
  • the electronic device displays a first page in response to a user operation, the first page includes a first list, and when the first list is located in a preset display area of the display interface, an index corresponding to the first list is displayed, Therefore, the first list and the corresponding index are displayed at the same time, which improves the matching degree between the index displayed on the display interface and the list.
  • the first page further includes a second list
  • the method further includes: when the display interface displays the first list and the second list at the same time, The index is not displayed.
  • the display interface displays the first list and the second list at the same time, The index is not displayed.
  • the display interface only displays the first list, and the first list is located in the preset display area of the display interface, the index corresponding to the first list is displayed; when the display interface only displays the second list, and the second list is located in 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.
  • the first page further includes a scroll bar
  • the method further includes:
  • the display interface 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 obscuring the scroll bar, thereby improving the convenience of user operation.
  • the method before the displaying the index corresponding to the first list, the method further includes: acquiring list information of the first list;
  • 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 When the list information satisfies the preset condition, the index corresponding to the first list is displayed.
  • the preset condition is the index usage 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 display index has little effect on finding the list item. The index is not displayed, so that the power consumption of the electronic device can be saved.
  • the index includes at least one index label
  • the list information includes the number of index labels corresponding to the first list, and/or the length of the list
  • the list information satisfies a preset condition, including:
  • the number of index tags 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.
  • the index includes at least one index label
  • the list includes at least one list item
  • the index label corresponds to a list item displayed on the display interface, that is, the display interface Only the index labels corresponding to the list items are displayed on the top of the page. Compared with displaying all the index labels of the original index, the distance between the index labels is increased, which is convenient for users to operate.
  • the index label corresponds to a list item displayed on the display interface and a display state of the display interface
  • the display state includes vertical screen display, horizontal screen display, Split-screen display and window display, etc.
  • the index display position of the display interface cannot fully display the original index, only the index label corresponding to the list item displayed on the display interface is displayed. This makes the index match the display interface.
  • the method before the displaying the index corresponding to the first list, the method further includes:
  • the index display position is determined according to the text arrangement format of the first list, and the text arrangement format includes display from left to right and display from right to left;
  • the displaying an index corresponding to the first list includes:
  • An index corresponding to the first list is displayed at the index display position.
  • an index display device comprising:
  • a response module configured to display a first page in response to a user operation, where the first page includes a first list
  • 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 the display interface.
  • the first page further includes a second list
  • the display module is further configured to:
  • the display interface When the display interface simultaneously displays the first list and the second list, the index is not displayed.
  • the first page further includes a scroll bar
  • the display module is further configured to:
  • the display interface simultaneously displays the first list and the scroll bar, the index is not displayed.
  • the index display apparatus further includes an acquisition module, where the acquisition module is configured to: acquire list information of the first list;
  • the display module is specifically used for:
  • the index includes at least one index label
  • the list information includes the number of index labels corresponding to the first list, and/or the length of the list
  • the list information satisfies a preset condition, including:
  • the number of index tags 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.
  • the index includes at least one index label
  • the list includes at least one list item
  • the index label corresponds to the list item displayed on the display interface.
  • the index label corresponds to a list item displayed on the display interface and a display state of the display interface.
  • the response module is further configured to:
  • the index display position is determined according to the text arrangement format of the first list, and the text arrangement format includes display from left to right and display from right to left;
  • the display module is used for:
  • An index corresponding to the first list is displayed at the index display position.
  • an electronic device including a processor for executing a computer program stored in a memory, so as to implement the index display method according to the first aspect above.
  • a computer-readable storage medium where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the index display method according to the first aspect above is implemented.
  • a fifth aspect provides a computer program product that, when the computer program product runs on a terminal device, enables the terminal device to execute the index display method described in the first aspect above.
  • FIG. 1 is an application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 2 is another application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 3 is another application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a first page provided by an embodiment of the present application.
  • FIG. 5 is an application scenario diagram of a method for displaying an index of a first page according to an embodiment of the present application
  • FIG. 6 is another application scenario diagram of the method for displaying an index of a first page provided by an embodiment of the present application
  • FIG. 7 is a schematic diagram of another first page provided by an embodiment of the present application.
  • FIG. 8 is an application scenario diagram of another method for displaying an index of a first page provided by an embodiment of the present application.
  • FIG. 9 is another application scenario diagram of another first page index display method provided by an embodiment of the present application.
  • FIG. 10 is another application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 11 is another application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 12 is another application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 13 is another application scenario diagram of the index display method provided by the embodiment of the present application.
  • FIG. 15 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • the term “if” may be contextually interpreted as “when” or “once” or “in response to determining” or “in response to detecting “.
  • the phrases “if it is determined” or “if the [described condition or event] is detected” may be interpreted, depending on the context, to mean “once it is determined” or “in response to the determination” or “once the [described condition or event] is detected. ]” or “in response to detection of the [described condition or event]”.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • an index corresponding to the list is displayed on the display interface.
  • the electronic device opens the contact page shown in (B) of FIG. 1 in response to a user's touch operation on the “phone” control.
  • the contact page includes a list of business cards “My Business Cards", and an index "ABCDEFGHIGKLMNOPQRSTUVWXYZ” corresponding to "My Business Cards”.
  • the business card list includes list items such as "Ben”, “John”, and "Xiao Ming". Each letter in the index is an index label. The user can search for the list item corresponding to the index label according to the index label.
  • Contact pages generally include not only a list of business cards, but also some folder options.
  • the contact page above the business card list, the contact page further includes folder options such as "group” and "business card folder". These folder options do not match the index displayed on the current display interface. Especially when the number of set folder options is large, it will cause the problem that the business card list and the index are not displayed at the same time.
  • the length of the folder options in the contact page is greater than the length of the display interface.
  • the electronic device responds to the user's touch operation on the "Connected Call” control, and opens the display as shown in (B) of FIG. 3 .
  • the Changlian Call page includes the contact list "Dialable Contacts" and the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to the "Dialable Contacts".
  • the contact list includes list items such as "Candy”, “David", and "Ella”.
  • the Changlian call page also includes a horizontal sliding area "Recent". Users can find recent call records by sliding the horizontal sliding area, but the index displayed on the display interface blocks the horizontal sliding area. On the right, it affects user actions.
  • an embodiment of the present application provides an index display method.
  • 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 area of the display interface
  • the index corresponding to the first list can be displayed, so that the index and the first list can be displayed synchronously, thereby improving the matching degree between the index displayed on the display interface and the list.
  • the index display method is applied to electronic equipment.
  • the electronic devices described in the embodiments of the present application may be mobile phones, tablet computers, handheld computers, personal digital assistants (personal digital assistants, PDAs), wearable devices, etc.
  • PDAs personal digital assistants
  • wearable devices etc.
  • the specific forms of the electronic devices in the embodiments of the present application /type does not impose special restrictions.
  • the following describes the index display method provided by the embodiment of the present application in combination with a specific application scenario.
  • the first page includes a first list 41 , a first area 42 located above the first list 41 , and a second area 43 located below the first list 41 .
  • the first list 41 is a list that satisfies the index usage condition, that is, there is an index corresponding to the first list 41 .
  • the first area 42 and the second area 43 can display folder options, and can also display other lists that do not meet the index usage conditions.
  • the electronic device displays different areas of the first page on the display interface 44 in response to the user's sliding operation. As shown in (A) of FIG. 4 , the display interface displays the first area 42 and the first list is not displayed, so the display interface does not display the index. As shown in (B) of FIG.
  • the display interface displays a first list 41 , and the first list 41 is located at the top of the display interface 44 and displays an index 45 corresponding to the first list. As shown in (C) of FIG. 4 , the display interface displays the second area 43 and the first list is not displayed, so the display interface does not display the index.
  • the electronic device opens the smooth connection shown in (B) of FIG. call page.
  • the Changlian Calling page includes the folder option "Discover New Contacts", the device list "My Dialable Devices", and the contact list "Dialable Contacts".
  • the device list includes the list items “mobile phone”, “mobile phone 3", "tablet” and "watch”.
  • the length of the device list is less than the preset length and does not meet the index usage conditions.
  • the contact list includes "Candy", “David", For list items such as "Ella”, the length of the contact list is greater than the preset length, and the index usage conditions are met, and the contact list is the first list.
  • the display interface does not display the contact list nor the index.
  • the display interface displays the contact list, but the contact list is not located at the top of the display interface, and does not Show index.
  • the display interface displays the contact list, and the top of the contact list is located at the top of the display interface, The display interface starts to display the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "Dialable Contacts".
  • the electronic device responds to the user’s touch operation on the “Changlian call” control, and opens the smooth connection as shown in (B) in FIG. 6 .
  • the Changlian call page includes the horizontal sliding area "Recent”, and the contact list "Contacts that can be dialed". Among them, the horizontal sliding area does not meet the index use conditions, the contact list includes list items such as "Candy”, “David”, “Ella”, etc. If the index use conditions are met, the contact list is the first list.
  • the display interface displays a horizontal sliding area and a contact list, but the contact list is not located at the top of the display interface and does not display an index.
  • the top of the contact list is located at the top of the display interface, and the display interface starts to display the message "Can be dialed" Contacts" corresponding to index "ABCDEFGHIGKLMNOPQRSTUVWXYZ”.
  • the electronic device continues to slide the smooth call page in response to the user's sliding operation, if a contact list is displayed at the top of the display interface, an index corresponding to "contacts that can be dialed" is also displayed.
  • the first page includes a first list 71 and a second list 72 , and both the first list 71 and the second list 72 are lists that satisfy the index usage conditions, and the electronic device responds to The user's sliding operation displays different areas of the first page on the display interface 73 .
  • the display interface 73 displays the first list 71 , and the first list 71 is located at the top of the display interface 73 , and the display interface 73 displays the index 74 corresponding to the first list 71 .
  • the display interface 73 simultaneously displays the first list 71 and the second list 72 without displaying the index.
  • 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 .
  • the electronic device responds to the user's operation and opens the Changlian call page
  • the Changlian call page includes the device list "My devices that can be dialed", and the contact list "Callable devices". Contact to call”.
  • the device list includes list items such as “son's watch”, “daughter's watch”, “tablet”, etc.
  • the length of the device list is greater than the preset length and meets the index usage conditions
  • the contact list includes "Candy", "David” , "Ella” and other list items, the length of the contact list is greater than the preset length, and the index usage conditions are met.
  • the device list is the first list
  • the contact list is the second list.
  • the display interface When the Changlian call page slides to the position shown in (A) in Figure 8, the display interface only displays the device list, and the device list is at the top of the display interface, then the display interface shows "My dialable devices" corresponding to The index "ABCDEFGHIGKLMNOPQRSTUVWXYZ".
  • the display interface displays the device list and the contact list at the same time, but does not display the index.
  • the display interface When the electronic device continues to slide the smooth call page to the position shown in (C) in Figure 8 in response to the user's sliding operation, the display interface only displays the contact list, and the top of the contact list is located at the top of the display interface.
  • the display interface starts to display the index "ABCDEFGHIGKLMNOPQRSTUVWXYZ" corresponding to "Dialable Contacts".
  • the electronic device continues to slide the smooth call page in response to the user's sliding operation, if a contact list is displayed at the top of the display interface, an index corresponding to "contacts that can be dialed" is also displayed.
  • the electronic device responds to the user's operation and opens the Changlian call page, which includes the device list "My devices that can be dialed” and the contact list “Callable devices”. contacts".
  • the device list includes list items such as “son's watch”, “daughter's watch”, “tablet”, etc.
  • the length of the device list is greater than the preset length and meets the index usage conditions
  • the contact list includes "Candy", "David” , "Ella” and other list items, the length of the contact list is greater than the preset length, and the index usage conditions are met.
  • the device list is the first list
  • the contact list is the second list.
  • the display interface When the Changlian call page slides to the position shown in (A) in Figure 9, the display interface only displays the device list, and the device list is located at the top of the display interface, then the display interface displays "My dialable devices" corresponding to The index "ABCDEFGHIGKLMNOPQRSTUVWXYZ".
  • the index corresponding to "My Dialable Devices” is an index that can be slid, that is, the user can scroll the device list by sliding the index.
  • the display interface simultaneously displays the device list and the contact list.
  • the display interface continues to display the index corresponding to "My Dialable Devices", as shown in (C) in Figure 9, when the user finishes the sliding operation and releases the hand, the display interface does not display the index.
  • the electronic device opens the Changlian call page in response to the user's operation.
  • the Changlian call page at least includes a contact list "contacts that can be dialed", and the length of the contact list is greater than The preset length meets the index usage conditions.
  • the electronic device slides the call page to the position shown in Figure 10 in response to the user's sliding operation, the top of the contact list is located at the top of the display interface, and the list items "Candy" and "David" are displayed on the display interface.
  • the display interface is in a split-screen display state, the first screen of the display interface displays a smooth call page, and the second screen of the display interface displays the main page.
  • the Changlian call page includes at least a contact list, and the length of the contact list is greater than the preset length and meets the conditions for using the index.
  • the contact list is located at the top of the display interface, the list items "John” and “Xiao Ming" are displayed on the display interface, and the display
  • the index "AJXZ” corresponding to the aforementioned list item, where the index “AJXZ” is composed of some index labels in the original index "ABCDEFGHIGKLMNOPQRSTUVWXYZ", the index label "A” is the first letter of the original index, and the index label "Z” is The last alphabetical list item "John” of the original index corresponds to the index label "J", and the list item "Xiao Ming" corresponds to the index label "X”.
  • the display interface is in a horizontal screen display state, and the display interface displays a smooth call page.
  • the display interface displays a smooth call page.
  • the display interface is in a horizontal screen display state, and the display interface displays a smooth connection call page.
  • the display interface displays the list items "John” and "Xiao Ming", as well as the index "AJXZ" corresponding to the aforementioned list items. , compared with the original index, if there is an omitted letter between every two letters, an ellipsis mark ".” is added between every two letters.
  • the display interface is in a multi-window display state and the original index cannot be completely displayed on the display interface, only the index label corresponding to the list item displayed on the display interface is displayed, and the first index of the original index is displayed. index label, last index label.
  • the index display method provided by the embodiment of the present application will be described below with reference to the above scenarios. As shown in FIG. 14 , the index display method provided by the embodiment of the present application includes:
  • S101 In response to a user operation, display a first page, where the first page includes a first list.
  • the first list includes at least one list item, and the list item may be a contact, a setting option, or a billing option.
  • the length of the first page is greater than or equal to the length of the first list.
  • the first page may also include other lists or non-list areas. ” or “Group” and other options.
  • the electronic device displays different areas of the first page on the display interface in response to the user's click or slide operation.
  • the index includes at least one index label, and the index label may be letters, Chinese characters, numbers, symbols, or the like.
  • Each list item corresponds to an index label, and the index label corresponding to the list item may be the first word of the list item, or the first letter of the first word of the list item, etc.
  • the preset display area of the display interface may be 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.
  • the display interface does not display the list. If the top of the first list slides to the top of the display interface, the index starts to be displayed. If the first page continues to slide upward and the first list is displayed on the display interface, the display interface continues to display the index, so that the index and the first list are displayed at the same time. Display, which improves the matching degree between the index displayed on the display interface and the list.
  • the display interface does not display the contact list nor the index.
  • the display interface displays the contact list, but the contact list is not located at the top of the display interface, and the index is not displayed.
  • the display interface displays the contact list, and the top of the contact list is located at the top of the display interface, The display interface starts to display the index corresponding to the "Dialable Contacts".
  • the display interface further includes a second list, and if the display interface displays the first list and the second list at the same time, the index is not displayed.
  • not displaying the index may mean not displaying the index when the first page is opened, or canceling the display of the index during the sliding process of the first page.
  • the display interface when the smooth call page slides to the position shown in (A) in Fig. 8, the display interface only displays the device list, and the device list is located at the top of the display interface, then The display interface shows the index corresponding to "My Dialable Devices".
  • the display interface displays the device list and the contact list at the same time, but the index is not displayed.
  • the display interface When the Changlian call page slides to the position shown in (C) in Figure 8, the display interface only displays the contact list, and the top of the contact list is at the top of the display interface, and the display interface starts to display the same The index corresponding to "Contact".
  • the index is a slidable index
  • the display interface displays the first list and the second list at the same time, when the user does not let go , the index displayed on the display interface may not disappear until the user lets go and cancels the display of the index.
  • 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 index will not be displayed, thereby preventing the index from covering the horizontal sliding area, thereby improving user operation. convenience.
  • the display interface further includes a scroll bar corresponding to the first list. If the scroll bar is displayed on the display interface, the index is not displayed, thereby preventing the index from covering the scroll bar, thereby improving the convenience of user operations sex.
  • 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 labels corresponding to the list items displayed on the display interface, and only displays the index labels corresponding to the list items displayed on the display interface, thereby increasing the distance between the index labels and facilitating user operations. For example, in the scenario shown in FIG. 10 , the index labels displayed on the display interface correspond to the list items displayed on the display interface.
  • the electronic device determines the index label displayed on the display interface according to the list items displayed on the display interface and the display form of the display interface. For example, when the display interface is in a split-screen, landscape or multi-window display state, the display interface cannot fully display the index, and the display interface can only display the index label corresponding to the list item displayed on the display interface; the display interface can also display and display The index label corresponding to the list item displayed on the interface, as well as the first index label and the last index label of the original index.
  • the index labels displayed on the display interface include index labels corresponding to the list items displayed on the display interface, as well as the first index label and the last index label of the original index.
  • the electronic device determines the index display position according to the pre-stored text arrangement format of the first list, where the text arrangement format may be "left to right” display or "right to left” display .
  • the text arrangement format is related to the language used on the page. For example, the text arrangement format of Chinese and English is generally displayed in “left to right", and the text arrangement format of Arabic is displayed in "right to left” display. If the text arrangement format is "left to right” display, the index will be displayed on the right side of the display interface; if the text arrangement format is "right to left” display, the index will be displayed on the left side of the display interface.
  • the language in the embodiment of the present application is Chinese or English, and the text arrangement format is generally displayed in "from left to right", corresponding to the index displayed on the right side of the display interface.
  • the electronic device further determines whether the first list satisfies the preset condition according to the list information of the first list. If the first list satisfies the preset condition and the first list is located in the preset display area of the display interface, the index corresponding to the first list is displayed. Specifically, the list information includes the number of index labels corresponding to the first list and the length of the list. If the number of index labels corresponding to the first list is greater than the preset value, and the length of the first list is greater than the preset length, the first list The list meets the preset conditions.
  • the list information can also be set to any one of the number of index labels and the length of the list according to user requirements, that is, if the number of index labels corresponding to the first list is greater than the preset value, or the number of index labels of the first list If the length is greater than the preset length, the first list satisfies the preset condition.
  • the preset value may be 2, and the preset length may be twice the length of the display interface.
  • the length of the list is set to k, and the length of the display interface is h. If k ⁇ 2h is satisfied, and the number of index labels corresponding to the list is greater than 2, the preset condition is satisfied.
  • 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 area of the display interface, the display corresponding to the first list is displayed.
  • the index can be displayed synchronously with the first list, thereby improving the matching degree between the index displayed on the display interface and the list.
  • FIG. 15 shows a schematic structural diagram of the electronic device 100 .
  • the electronic device 100 may include a processor 110 , an external memory interface 120 , an internal memory 121 , a universal serial bus (USB) interface 130 , a charge management module 140 , a power management module 141 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • a processor 110 an external memory interface 120 , an internal memory 121 , a universal serial bus (USB) interface 130 , a charge management module 140 , a power management module 141 , and a battery 142 , Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receive
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting 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, and supplies 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 used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation processor may be independent of the processor 110, and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband 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 may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • 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 or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • 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, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing 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 and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • 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 the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of 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 acts on 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 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium.
  • the computer program includes computer program code
  • the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like.
  • the computer-readable medium may include at least: 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, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunication signals
  • software distribution media For example, U disk, mobile hard disk, disk or CD, etc.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • the disclosed apparatus/network device and method may be implemented in other manners.
  • the apparatus/network device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请属于用户界面领域,提供了一种索引显示方法、电子设备及计算机可读存储介质,索引显示方法包括:响应于用户操作,显示第一页面,第一页面中包括第一列表,当第一列表位于显示界面的预设显示区域时,显示与第一列表对应的索引,从而使得第一列表和对应的索引同时显示,提高了显示界面上显示的索引与列表的匹配程度。

Description

索引显示方法、电子设备及计算机可读存储介质
本申请要求于2020年08月24日提交国家知识产权局、申请号为202010858294.7、申请名称为“索引显示方法、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及用户界面领域,尤其涉及一种索引显示方法、电子设备及计算机可读存储介质。
背景技术
现有的电子设备,若显示界面显示列表,为了便于用户查看列表,一般会在显示界面显示索引。但现有的索引显示方法,一般是在显示界面上持续显示索引,若在显示界面上持续显示索引,会出现显示界面上未显示列表,但显示索引的情况,导致索引与列表不能匹配的问题。
发明内容
本申请提供一种索引显示方法、电子设备及计算机可读存储介质,提高了显示界面上的列表与索引的匹配程度。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供一种索引显示方法,包括:响应于用户操作,显示第一页面,所述第一页面中包括第一列表;当所述第一列表位于显示界面的预设显示区域时,显示与所述第一列表对应的索引。
本申请实施例中,电子设备响应于用户操作,显示第一页面,第一页面中包括第一列表,当第一列表位于显示界面的预设显示区域时,显示与第一列表对应的索引,从而使得第一列表和对应的索引同时显示,提高了显示界面上显示的索引与列表的匹配程度。
在第一方面的一种可能的实现方式中,所述第一页面还包括第二列表,所述方法还包括:当所述显示界面同时显示所述第一列表和所述第二列表时,不显示所述索引。对应地,当显示界面仅显示第一列表,且第一列表位于显示界面的预设显示区域时,显示与第一列表对应的索引;当显示界面仅显示第二列表,且第二列表位于显示界面的预设显示区域时,显示与第二列表对应的索引,从而使得显示界面上显示的索引与显示界面上显示的列表对应。
在第一方面的一种可能的实现方式中,所述第一页面还包括滚动条,所述方法还包括:
当所述显示界面同时显示所述第一列表和所述滚动条时,不显示所述索引,以防止索引遮挡滚动条,从而提高了用户操作的便利性。
在第一方面的一种可能的实现方式中,所述显示与所述第一列表对应的索引之前,所述方法还包括:获取所述第一列表的列表信息;
对应地,当所述第一列表位于显示界面的预设显示区域时,显示与所述第一列表 对应的索引,包括:当所述第一列表位于显示界面的预设显示区域,且所述列表信息满足预设条件时,显示与所述第一列表对应的索引。预设条件即为索引使用条件,列表信息满足预设条件时,通过使用索引,可以方便用户快速查找列表项;列表信息不满足预设条件时,显示索引对查找列表项的作用不大,可以不显示索引,从而可以节省电子设备的能量消耗。
在第一方面的一种可能的实现方式中,所述索引包括至少一个索引标签,所述列表信息包括所述第一列表对应的索引标签数量,和/或所述列表的长度;
对应地,所述列表信息满足预设条件,包括:
所述第一列表对应的索引标签数量大于预设值,和/或所述第一列表的长度大于预设长度。
在第一方面的一种可能的实现方式中,所述索引包括至少一个索引标签,所述列表包括至少一个列表项,所述索引标签与所述显示界面上显示的列表项对应,即显示界面上仅显示与列表项对应的索引标签,相对于显示原始索引的全部索引标签,增大索引标签之间的距离,便于用户操作。
在第一方面的一种可能的实现方式中,所述索引标签与所述显示界面上显示的列表项,以及所述显示界面的显示相态对应,显示形态包括竖屏显示、横屏显示、分屏显示以及窗口显示等,在横屏显示、分屏显示以及窗口显示的情况下,显示界面的索引显示位置不能完整显示原始索引,只显示与显示界面上显示的列表项对应的索引标签,从而使得索引与显示界面相匹配。
在第一方面的一种可能的实现方式中,在所述显示与所述第一列表对应的索引之前,所述方法还包括:
根据所述第一列表的文字排列格式确定索引显示位置,所述文字排列格式包括从左向右显示和从右向左显示;
对应地,所述显示与所述第一列表对应的索引,包括:
在所述索引显示位置显示与所述第一列表对应的索引。
第二方面,提供一种索引显示装置,包括:
响应模块,用于响应于用户操作,显示第一页面,所述第一页面中包括第一列表;
显示模块,用于当所述第一列表位于显示界面的预设显示区域时,显示与所述第一列表对应的索引。
在第二方面的一种可能的实现方式中,所述第一页面还包括第二列表,所述显示模块还用于:
当所述显示界面同时显示所述第一列表和所述第二列表时,不显示所述索引。
在第二方面的一种可能的实现方式中,所述第一页面还包括滚动条,所述显示模块还用于:
当所述显示界面同时显示所述第一列表和所述滚动条时,不显示所述索引。
在第二方面的一种可能的实现方式中,所述索引显示装置还包括获取模块,所述获取模块用于:获取所述第一列表的列表信息;
对应地,所述显示模块具体用于:
当所述第一列表位于显示界面的预设显示区域,且所述列表信息满足预设条件时, 显示与所述第一列表对应的索引。
在第二方面的一种可能的实现方式中,所述索引包括至少一个索引标签,所述列表信息包括所述第一列表对应的索引标签数量,和/或所述列表的长度;
对应地,所述列表信息满足预设条件,包括:
所述第一列表对应的索引标签数量大于预设值,和/或所述第一列表的长度大于预设长度。
在第二方面的一种可能的实现方式中,所述索引包括至少一个索引标签,所述列表包括至少一个列表项,所述索引标签与所述显示界面上显示的列表项对应。
在第二方面的一种可能的实现方式中,所述索引标签与所述显示界面上显示的列表项,以及所述显示界面的显示相态对应。
在第二方面的一种可能的实现方式中,所述响应模块还用于:
根据所述第一列表的文字排列格式确定索引显示位置,所述文字排列格式包括从左向右显示和从右向左显示;
对应地,所述显示模块用于:
在所述索引显示位置显示与所述第一列表对应的索引。
第三方面,提供一种电子设备,包括处理器,所述处理器用于执行存储在存储器中的计算机程序,以实现如上述第一方面所述的索引显示方法。
第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的索引显示方法。
第五方面,提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面所述的索引显示方法。
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
图1为本申请实施例提供的索引显示方法的一种应用场景图;
图2为本申请实施例提供的索引显示方法的另一种应用场景图;
图3为本申请实施例提供的索引显示方法的又一种应用场景图;
图4为本申请实施例提供的第一页面的示意图;
图5为本申请实施例提供的第一页面的索引显示方法的一种应用场景图;
图6为本申请实施例提供的第一页面的索引显示方法的另一种应用场景图;
图7为本申请实施例提供的另一第一页面的示意图;
图8为本申请实施例提供的另一第一页面的索引显示方法的一种应用场景图;
图9为本申请实施例提供的另一第一页面的索引显示方法的另一种应用场景图;
图10为本申请实施例提供的索引显示方法的又一种应用场景图;
图11为本申请实施例提供的索引显示方法的又一种应用场景图;
图12为本申请实施例提供的索引显示方法的又一种应用场景图;
图13为本申请实施例提供的索引显示方法的又一种应用场景图;
图14为本申请实施例提供的索引显示方法的流程示意图;
图15为本申请实施例提供的电子设备的示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
另外,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
下面对本申请实施例进行详细说明。
目前,电子设备显示列表时,会在显示界面显示与列表对应的索引。例如,如图1中的(A)所示,电子设备响应于用户对“电话”控件的触摸操作,打开图1中的(B)所示的联系人页面。联系人页面包括名片列表“我的名片”,以及与“我的名片”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。其中,名片列表包括“Ben”、“John”、“小明”等列表项。索引中每一个字母均为一个索引标签。用户可以根据索引标签,查找与索引标签对应的列表项。联系人页面一般不止包括名片列表,还包括一些文件夹选项。例如,如图1中的(B)所示,在名片列表上方,联系人页面还包括“群组”、“名片夹”等文件夹选项。这些文件夹选项,与当前显示界面上显示的索引并不匹配。尤其是在设置的文件夹选项的数量较多的情况下,会造成名片列表与索引不同时显示的问题。例如,如图2所示,在一种应用场景中,文件夹选项在联系人页面中所占的长度大于显示界面的长度,当联系人页面滑动至如图2所示的位置时,显示界面未显示名片列表,却显示与名片列表对应的索引,因此,导致了索引与名片列表不能匹配的问题。
另一方面,如图3中的(A)所示,在一种应用场景中,电子设备响应于用户对“畅连通话”控件的触摸操作,打开如图3中的(B)所示的畅连通话页面,畅连通话页面 包括联系人列表“可拨打的联系人”,以及与“可拨打的联系人”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。其中,联系人列表包括“Candy”、“大卫”、“Ella”等列表项。除此之外,在联系人列表上方,畅连通话页面还包括横向滑动区域“最近”,用户通过滑动横向滑动区域,可以查找最近通话记录,但是显示界面上显示的索引遮挡了横向滑动区域的右侧,影响用户操作。
为此,本申请实施例提供一种索引显示方法,当显示界面显示第一页面时,确定第一页面中的第一列表在显示界面的位置,当第一列表位于显示界面的预设显示区域时,显示与第一列表对应的索引,能够使得索引与第一列表同步显示,从而提高了显示界面上显示的索引与列表的匹配程度。
该索引显示方法应用于电子设备。示例性的,本申请实施例中所述的电子设备可以是手机、平板电脑、手持计算机、个人数字助理(personal digital assistant,PDA)、穿戴设备等,本申请实施例对该电子设备的具体形态/类型不作特殊限制。
下面以电子设备是手机为例,结合具体的应用场景,对本申请实施例提供的索引显示方法进行说明。
如图4所示,在一种应用场景中,第一页面包括第一列表41、位于第一列表41上方的第一区域42以及位于第一列表41下方的第二区域43。其中,第一列表41为满足索引使用条件的列表,即存在与第一列表41对应的索引。第一区域42以及第二区域43可以显示文件夹选项,也可以显示其它不满足索引使用条件的列表。电子设备响应于用户的滑动操作,在显示界面44上显示第一页面的不同区域。如图4中的(A)所示,显示界面显示第一区域42,未显示第一列表,则显示界面不显示索引。如图4中的(B)所示,显示界面显示第一列表41,且第一列表41位于显示界面44的顶部,显示与第一列表对应的索引45。如图4中的(C)所示,显示界面显示第二区域43,未显示第一列表,则显示界面不显示索引。
例如,如图5中的(A)所示,在一种应用场景中,电子设备响应于用户对“畅连通话”控件的触摸操作,打开如图5中的(B)所示的畅连通话页面。畅连通话页面包括文件夹选项“发现新开启的联系人”、设备列表“我的可拨打设备”,以及联系人列表“可拨打的联系人”。设备列表包括列表项“手机”、“手机3”、“平板”和“手表”,设备列表的长度小于预设长度,不满足索引使用条件,联系人列表包括“Candy”、“大卫”、“Ella”等列表项,联系人列表的长度大于预设长度,满足索引使用条件,联系人列表即为第一列表。当畅连通话页面滑动至如图5中的(B)所示的位置时,显示界面未显示联系人列表,也不显示索引。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面至如图5中的(C)所示的位置时,显示界面显示联系人列表,但联系人列表没有位于显示界面的顶部,不显示索引。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面至如图5中的(D)所示的位置时,显示界面显示联系人列表,且联系人列表的顶部位于显示界面的顶部,显示界面开始显示与“可拨打的联系人”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面时,若显示界面的顶部显示联系人列表,则同时显示与“可拨打的联系人”对应的索引。
如图6中的(A)所示,在另一种应用场景中,电子设备响应于用户对“畅连通话” 控件的触摸操作,打开如图6中的(B)所示的畅连通话页面。畅连通话页面包括横向滑动区域“最近”,以及联系人列表“可拨打的联系人”。其中,横向滑动区域不满足索引使用条件,联系人列表包括“Candy”、“大卫”、“Ella”等列表项,满足索引使用条件,联系人列表即为第一列表。当畅连通话页面滑动至如图6中的(B)所示的位置时,显示界面显示横向滑动区域和联系人列表,但联系人列表没有位于显示界面的顶部,不显示索引。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面至如图6中的(C)所示的位置时,联系人列表的顶部位于显示界面的顶部,显示界面开始显示与“可拨打的联系人”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面时,若显示界面的顶部显示联系人列表,则同时显示与“可拨打的联系人”对应的索引。
如图7所示,在另一种应用场景中,第一页面包括第一列表71以及第二列表72,第一列表71和第二列表72均为满足索引使用条件的列表,电子设备响应于用户的滑动操作,在显示界面73上显示第一页面的不同区域。如图7中的(A)所示,显示界面73显示第一列表71,且第一列表71的位于显示界面73的顶部,显示界面73显示与第一列表71对应的索引74。如图7中的(B)所示,显示界面73同时显示第一列表71和第二列表72,不显示索引。如图7中的(C)所示,显示界面73显示第二列表72,且第二列表72的顶部位于显示界面73的顶部,显示界面73显示与第二列表72对应的索引75。
例如,如图8所示,在一种应用场景中,电子设备响应于用户的操作,打开畅连通话页面,畅连通话页面包括设备列表“我的可拨打设备”,以及联系人列表“可拨打的联系人”。设备列表包括列表项“儿子的手表”、“女儿的手表”、“平板”等列表项,设备列表的长度大于预设长度,满足索引使用条件,联系人列表包括“Candy”、“大卫”、“Ella”等列表项,联系人列表的长度大于预设长度,满足索引使用条件。设备列表为第一列表,联系人列表即为第二列表。当畅连通话页面滑动至如图8中的(A)所示的位置时,显示界面仅显示设备列表,且设备列表位于显示界面的顶部,则显示界面显示与“我的可拨打设备”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面滑动至如图8中的(B)所示的位置时,显示界面同时显示设备列表和联系人列表,则不显示索引。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面滑动至如图8中的(C)所示的位置时,显示界面仅显示联系人列表,且联系人列表的顶部位于显示界面的顶部,显示界面开始显示与“可拨打的联系人”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面时,若显示界面的顶部显示联系人列表,则同时显示与“可拨打的联系人”对应的索引。
如图9所示,在另一种应用场景中,电子设备响应于用户的操作,打开畅连通话页面,畅连通话页面包括设备列表“我的可拨打设备”,以及联系人列表“可拨打的联系人”。设备列表包括列表项“儿子的手表”、“女儿的手表”、“平板”等列表项,设备列表的长度大于预设长度,满足索引使用条件,联系人列表包括“Candy”、“大卫”、“Ella”等列表项,联系人列表的长度大于预设长度,满足索引使用条件。设备列表为第一列表,联系人列表即为第二列表。当畅连通话页面滑动至如图9中的(A)所示的位置 时,显示界面仅显示设备列表,且设备列表位于显示界面的顶部,则显示界面显示与“我的可拨打设备”对应的索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”。其中,与“我的可拨打设备”对应的索引为可以滑动的索引,即用户可以通过滑动索引的方式实现设备列表的滑动。当电子设备响应于用户对索引的滑动操作,滑动索引和设备列表至如图9中的(B)所示的位置时,显示界面同时显示设备列表和联系人列表,当用户未松开手时,显示界面继续显示与“我的可拨打设备”对应的索引,如图9中的(C),当用户执行完滑动操作,松开手时,显示界面不显示索引。
如图10所示,在一种应用场景中,电子设备响应于用户的操作,打开畅连通话页面,畅连通话页面至少包括联系人列表“可拨打的联系人”,联系人列表的长度大于预设长度,满足索引使用条件。当电子设备响应于用户的滑动操作,滑动畅连通话页面至如图10所示的位置时,联系人列表的顶部位于显示界面的顶部,显示界面上显示列表项“Candy”、“大卫”、“Ella”、“哥哥”、“John”和“小明”,以及显示与前述列表项对应的索引“CDEGJX”,其中,索引“CDEGJX”是由原始索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”中的部分索引标签组成,列表项“Candy”与索引标签“C”对应,列表项“大卫”与索引标签“D”对应,列表项“Ella”与索引标签“E”对应,列表项“哥哥”与索引标签“G”对应,列表项“John”与索引标签“J”对应,列表项“小明”与索引标签“X”对应。即仅显示与显示界面上显示的列表项对应的索引标签,从而使得索引标签之间的间距较大,提高了用户操作的便利性。
如图11所示,在一种应用场景中,显示界面处于分屏显示状态,显示界面的第一屏显示畅连通话页面,显示界面的第二屏显示主页面。畅连通话页面包括至少包括联系人列表,联系人列表的长度大于预设长度,满足索引使用条件。当电子设备响应于用户的滑动操作,滑动畅连通话页面至如图11所示的位置时,联系人列表位于显示界面的顶部,显示界面上显示列表项“John”和“小明”,以及显示前述列表项对应的索引“AJXZ”,其中,索引“AJXZ”是由原始索引“ABCDEFGHIGKLMNOPQRSTUVWXYZ”中的部分索引标签组成,索引标签“A”为原始索引的第一个字母,索引标签“Z”为原始索引的最后一个字母列表项“John”与索引标签“J”对应,列表项“小明”与索引标签“X”对应。即当显示界面处于分屏显示状态时,显示界面上不能完整显示原始索引时,仅显示与显示界面上显示的列表项对应的索引标签,以及显示原始索引的第一个索引标签、最后一个索引标签。
如图12所示,在另一种应用场景中,显示界面处于横屏显示状态,显示界面显示畅连通话页面。当电子设备响应于用户的滑动操作,滑动畅连通话页面至如图12所示的位置时,显示界面上显示列表项“John”和“小明”,以及显示前述列表项对应的索引“AJXZ”。
如图13所示,在又一种应用场景中,显示界面处于横屏显示状态,显示界面显示畅连通话页面。当电子设备响应于用户的滑动操作,滑动畅连通话页面至如图13所示的位置时,显示界面上显示列表项“John”和“小明”,以及显示前述列表项对应的索引“A.J.X.Z”,相对于原始索引,每两个字母之间均存在省略的字母,则在每两个字母之间增加省略标识“.”。
在其他可行的实现方式中,若显示界面处于多窗口显示状态,显示界面上不能完 整显示原始索引时,仅显示与显示界面上显示的列表项对应的索引标签,以及显示原始索引的第一个索引标签、最后一个索引标签。
下面结合上述场景,对本申请实施例提供的索引显示方法进行说明。如图14所示,本申请实施例提供的索引显示方法包括:
S101:响应于用户操作,显示第一页面,所述第一页面中包括第一列表。
其中,第一列表包括至少一个列表项,列表项可以是联系人、设置选项或者账单选项等。第一页面的长度大于或等于第一列表的长度,第一页面除了包括第一列表外,还可以包括其他列表或者非列表区域,例如,非列表区域可以是文件夹选项“置顶”、“收藏”或者“群组”等选项。电子设备响应于用户的点击或者滑动操作,在显示界面上显示第一页面的不同区域。
S102:当所述第一列表位于显示界面的预设显示区域时,显示与所述第一列表对应的索引。
其中,索引包括至少一个索引标签,索引标签可以是字母、汉字、数字或者符号等。每个列表项对应一个索引标签,列表项对应的索引标签可以是列表项的第一个字,或者列表项的第一个字的首字母等。显示界面的预设显示区域可以是显示界面的顶部。
具体地,当第一列表的任意位置位于显示界面的顶部时,显示界面上显示与第一列表对应的索引,否则不显示索引。例如,若第一页面包括第一列表以及位于第一列表上方的非列表区域,在第一页面滑动过程中,若显示界面上未显示第一列表,或者第一列表未滑动至显示界面的顶部,显示界面不显示列表。若第一列表的顶部滑动至显示界面的顶部,开始显示索引,若第一页面继续向上滑动,且第一列表显示于显示界面上,则显示界面持续显示索引,从而使得索引与第一列表同时显示,提高了显示界面上显示的索引与列表的匹配程度。
例如,在如图5所示的场景中,当畅连通话页面滑动至如图5中的(B)所示的位置时,显示界面未显示联系人列表,也不显示索引。当畅连通话页面至如图5中的(C)所示的位置时,显示界面显示联系人列表,但联系人列表没有位于显示界面的顶部,不显示索引。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面至如图5中的(D)所示的位置时,显示界面显示联系人列表,且联系人列表的顶部位于显示界面的顶部,显示界面开始显示与“可拨打的联系人”对应的索引。又例如,在如图6所示的场景中,当畅连通话页面滑动至如图6中的(B)所示的位置时,显示界面显示联系人列表,但联系人列表没有位于显示界面的顶部,不显示索引。当电子设备响应于用户的滑动操作,继续滑动畅连通话页面至如图6中的(C)所示的位置时,联系人列表的顶部位于显示界面的顶部,显示界面开始显示与“可拨打的联系人”对应的索引。
在一种可能的实现方式中,显示界面还包括第二列表,若显示界面同时显示第一列表和第二列表,则不显示索引。其中,不显示索引可以是在打开第一页面时就不显示索引,也可以是在第一页面滑动的过程中,取消显示索引。
例如,在如图8所示的场景中,当畅连通话页面滑动至如图8中的(A)所示的位置时,显示界面仅显示设备列表,且设备列表位于显示界面的顶部,则显示界面显示与“我的可拨打设备”对应的索引。当畅连通话页面滑动至如图8中的(B)所示的位 置时,显示界面同时显示设备列表和联系人列表,则不显示索引。当畅连通话页面滑动至如图8中的(C)所示的位置时,显示界面仅显示联系人列表,且联系人列表的顶部位于显示界面的顶部,显示界面开始显示与“可拨打的联系人”对应的索引。
在另一种可能的实现方式中,如图9所示,若索引为可以滑动的索引,在用户滑动索引的过程中,若显示界面同时显示第一列表和第二列表,在用户未松手时,显示界面显示的索引可以不消失,直到用户松手,取消显示索引。
在另一种可能的实现方式中,显示界面还包括横向滑动区域,若显示界面同时显示第一列表和横向滑动区域,则不显示索引,从而可以防止索引遮挡横向滑动区域,进而提高了用户操作的便利性。
在又一种可能的实现方式中,显示界面还包括与第一列表对应的滚动条,若显示界面显示滚动条,则不显示索引,从而可以防止索引遮挡滚动条,进而提高了用户操作的便利性。
在又一种可能的实现方式中,电子设备根据显示界面上显示的列表项确定显示于显示界面上的索引标签。例如,电子设备确定出显示界面上显示的列表项对应的索引标签,仅显示与显示界面上显示的列表项对应的索引标签,从而增大索引标签之间的距离,便于用户操作。例如,在如图10所示的场景中,显示界面上显示的索引标签与显示界面上显示的列表项对应。
在又一种可能的实现方式中,电子设备根据显示界面上显示的列表项,以及显示界面的显示形态确定显示于显示界面上的索引标签。例如,在显示界面处于分屏、横屏或者多窗口显示状态时,显示界面不能完整显示索引,显示界面可以仅显示与显示界面上显示的列表项对应的索引标签;显示界面也可以显示与显示界面上显示的列表项对应的索引标签,以及原始索引的第一个索引标签和最后一个索引标签。例如,在如图11所示的场景中,显示界面上显示的索引标签包括显示界面上显示的列表项对应的索引标签,以及原始索引的第一个索引标签和最后一个索引标签。
在又一种可能的实现方式中,电子设备根据预先存储的第一列表的文字排列格式确定索引显示位置,其中,文字排列格式可以是“从左向右”显示或者“从右向左”显示,文字排列格式与页面使用的语言有关,例如,中文、英文的文字排列格式一般为“从左向右”显示,阿拉伯文的文字排列格式为“从右向左”显示。若文字排列格式为“从左向右”显示,则在显示界面的右侧显示索引;若文字排列格式为“从右向左”显示,则在显示界面的左侧显示索引。例如,本申请实施例中的语言为中文或英文,文字排列格式一般为“从左向右”显示,对应在显示界面的右侧显示索引。
在一种可能的实现方式中,电子设备还根据第一列表的列表信息判断第一列表是否满足预设条件。若第一列表满足预设条件,且第一列表位于显示界面的预设显示区域,则显示与第一列表对应的索引。具体地,列表信息包括第一列表对应的索引标签数量,以及所述列表的长度,若第一列表对应的索引标签数量大于预设值,且第一列表的长度大于预设长度,则第一列表满足预设条件。需要说明的是,列表信息也可以根据用户需求设置为索引标签数量,以及所述列表的长度中的任一项,即若第一列表对应的索引标签数量大于预设值,或者第一列表的长度大于预设长度,则第一列表满足预设条件。
其中,预设值可以为2,预设长度可以为显示界面的2倍的长度。例如,设定列表的长度为k,显示界面的长度为h,若满足k≥2h,且列表对应的索引标签的数量大于2,则满足预设条件条件。
上述实施例中,当显示界面显示第一页面时,确定第一页面中的第一列表在显示界面的位置,当第一列表位于显示界面的预设显示区域时,显示与第一列表对应的索引,能够使得索引与第一列表同步显示,从而提高了显示界面上显示的索引与列表的匹配程度。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
基于同样的发明构思,本申请实施例还提供一种电子设备。示例性的,图15示出了电子设备100的一种结构示意图。
如图15所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S) 接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明, 并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处 理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口, 美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮 度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数 据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/电子设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
在本申请所提供的实施例中,应该理解到,所揭露的装置/网络设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功 能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种索引显示方法,其特征在于,包括:
    响应于用户操作,显示第一页面,所述第一页面中包括第一列表;
    当所述第一列表位于显示界面的预设显示区域时,显示与所述第一列表对应的索引。
  2. 根据权利要求1所述的方法,其特征在于,所述第一页面还包括第二列表,所述方法还包括:
    当所述显示界面同时显示所述第一列表和所述第二列表时,不显示所述索引。
  3. 根据权利要求1所述的方法,其特征在于,所述第一页面还包括滚动条,所述方法还包括:
    当所述显示界面同时显示所述第一列表和所述滚动条时,不显示所述索引。
  4. 根据权利要求1~3任一项所述的索引显示方法,其特征在于,所述显示与所述第一列表对应的索引之前,所述方法还包括:
    获取所述第一列表的列表信息;
    对应地,当所述第一列表位于显示界面的预设显示区域时,显示与所述第一列表对应的索引,包括:
    当所述第一列表位于显示界面的预设显示区域,且所述列表信息满足预设条件时,显示与所述第一列表对应的索引。
  5. 根据权利要求4所述的方法,其特征在于,所述索引包括至少一个索引标签,所述列表信息包括所述第一列表对应的索引标签数量,和/或所述列表的长度;
    对应地,所述列表信息满足预设条件,包括:
    所述第一列表对应的索引标签数量大于预设值,和/或所述第一列表的长度大于预设长度。
  6. 根据权利要求1~5任一项所述的方法,其特征在于,所述索引包括至少一个索引标签,所述列表包括至少一个列表项,所述索引标签与所述显示界面上显示的列表项对应。
  7. 根据权利要求6所述的方法,其特征在于,所述索引标签与所述显示界面上显示的列表项,以及所述显示界面的显示相态对应。
  8. 根据权利要求1所述的方法,其特征在于,在所述显示与所述第一列表对应的索引之前,所述方法还包括:
    根据所述第一列表的文字排列格式确定索引显示位置,所述文字排列格式包括从左向右显示和从右向左显示;
    对应地,所述显示与所述第一列表对应的索引,包括:
    在所述索引显示位置显示与所述第一列表对应的索引。
  9. 一种电子设备,其特征在于,包括处理器,所述处理器用于执行存储在存储器中的计算机程序,以实现如权利要求1~8任一项所述的方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~8任一项所述的方法。
PCT/CN2021/125873 2020-08-24 2021-10-22 索引显示方法、电子设备及计算机可读存储介质 WO2022042768A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21860600.2A EP4093001A4 (en) 2020-08-24 2021-10-22 INDEX DISPLAY METHOD, ELECTRONIC DEVICE AND COMPUTER READABLE STORAGE MEDIUM
US17/802,061 US20240012533A1 (en) 2020-08-24 2021-10-22 Index display method, electronic device and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010858294.7 2020-08-24
CN202010858294.7A CN114095602B (zh) 2020-08-24 2020-08-24 索引显示方法、电子设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2022042768A1 true WO2022042768A1 (zh) 2022-03-03

Family

ID=80295541

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/125873 WO2022042768A1 (zh) 2020-08-24 2021-10-22 索引显示方法、电子设备及计算机可读存储介质

Country Status (4)

Country Link
US (1) US20240012533A1 (zh)
EP (1) EP4093001A4 (zh)
CN (2) CN114095602B (zh)
WO (1) WO2022042768A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860137A (zh) * 2022-03-18 2022-08-05 恒鸿达科技有限公司 一种lvgl界面的左右循环滑动方法、装置、设备和介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115640414B (zh) * 2022-08-10 2023-09-26 荣耀终端有限公司 图像的显示方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254707A1 (en) * 2006-05-09 2013-09-26 Rincon Networks, Inc. User Interface to enable users to scroll through a large list of items
CN104765861A (zh) * 2015-04-21 2015-07-08 广州市久邦数码科技有限公司 一种字母索引查找应用程序的系统及其实现方法
CN107273383A (zh) * 2016-04-08 2017-10-20 赤子城网络技术(北京)有限公司 一种索引抽屉装置及索引方法
CN110032673A (zh) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 页面索引、通讯录、客户端、数据处理方法和装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859638A (en) * 1993-01-27 1999-01-12 Apple Computer, Inc. Method and apparatus for displaying and scrolling data in a window-based graphic user interface
EP1109108A1 (en) * 1999-12-14 2001-06-20 Sun Microsystems, Inc. Method of generating a formatted index document
US20060184901A1 (en) * 2005-02-15 2006-08-17 Microsoft Corporation Computer content navigation tools
US20070132789A1 (en) * 2005-12-08 2007-06-14 Bas Ording List scrolling in response to moving contact over list of index symbols
US8769403B2 (en) * 2010-08-04 2014-07-01 Sony Corporation Selection-based resizing for advanced scrolling of display items
US8812977B2 (en) * 2010-08-12 2014-08-19 Salesforce.Com, Inc. Accessing multi-page data using a page index in a scrollbar
CN104424233A (zh) * 2013-08-26 2015-03-18 联想(北京)有限公司 一种信息处理方法和装置
KR20160029510A (ko) * 2014-09-05 2016-03-15 삼성전자주식회사 인덱스 처리 방법 및 장치
US10845955B2 (en) * 2017-05-15 2020-11-24 Apple Inc. Displaying a scrollable list of affordances associated with physical activities
CN107247546A (zh) * 2017-05-24 2017-10-13 北京珠穆朗玛移动通信有限公司 一种联系人显示方法及移动终端
US11995289B2 (en) * 2020-06-21 2024-05-28 Apple Inc. User interfaces for collections of content services and/or applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254707A1 (en) * 2006-05-09 2013-09-26 Rincon Networks, Inc. User Interface to enable users to scroll through a large list of items
CN104765861A (zh) * 2015-04-21 2015-07-08 广州市久邦数码科技有限公司 一种字母索引查找应用程序的系统及其实现方法
CN107273383A (zh) * 2016-04-08 2017-10-20 赤子城网络技术(北京)有限公司 一种索引抽屉装置及索引方法
CN110032673A (zh) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 页面索引、通讯录、客户端、数据处理方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4093001A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860137A (zh) * 2022-03-18 2022-08-05 恒鸿达科技有限公司 一种lvgl界面的左右循环滑动方法、装置、设备和介质
CN114860137B (zh) * 2022-03-18 2023-06-27 恒鸿达科技有限公司 一种lvgl界面的左右循环滑动方法、装置、设备和介质

Also Published As

Publication number Publication date
EP4093001A1 (en) 2022-11-23
EP4093001A4 (en) 2023-08-23
CN115757906A (zh) 2023-03-07
CN114095602A (zh) 2022-02-25
US20240012533A1 (en) 2024-01-11
CN114095602B (zh) 2022-12-16

Similar Documents

Publication Publication Date Title
WO2020168965A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
CN110347269B (zh) 一种空鼠模式实现方法及相关设备
WO2022100610A1 (zh) 投屏方法、装置、电子设备及计算机可读存储介质
WO2021169515A1 (zh) 一种设备间数据交互的方法及相关设备
EP4231147A1 (en) Drawing command processing method and related device therefor
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2022042768A1 (zh) 索引显示方法、电子设备及计算机可读存储介质
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
EP4033341A1 (en) Always on display method and mobile device
WO2020221062A1 (zh) 一种导航操作方法及电子设备
CN111492678B (zh) 一种文件传输方法及电子设备
WO2022062884A1 (zh) 文字输入方法、电子设备及计算机可读存储介质
WO2022022319A1 (zh) 一种图像处理方法、电子设备、图像处理系统及芯片系统
WO2020078267A1 (zh) 在线翻译过程中的语音数据处理方法及装置
CN112099741A (zh) 显示屏位置识别方法、电子设备及计算机可读存储介质
WO2022135144A1 (zh) 自适应显示方法、电子设备及存储介质
CN113901485B (zh) 应用程序加载方法、电子设备及存储介质
WO2022022466A1 (zh) 一种确定文件存储位置的方法、装置及终端
CN113391735A (zh) 显示形态的调整方法、装置、电子设备及存储介质
WO2022213644A1 (zh) 同步信号块ssb确定方法及相关设备
CN113364067B (zh) 充电精度校准方法及电子设备
WO2023020420A1 (zh) 音量显示方法、电子设备及存储介质
WO2022095752A1 (zh) 帧解复用方法、电子设备及存储介质
WO2022105670A1 (zh) 一种显示方法及终端
CN116437194B (zh) 显示预览图像的方法、装置及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21860600

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 17802061

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2021860600

Country of ref document: EP

Effective date: 20220816

NENP Non-entry into the national phase

Ref country code: DE