WO2020119253A1 - Page index, address book, client, and data processing method and apparatus - Google Patents

Page index, address book, client, and data processing method and apparatus Download PDF

Info

Publication number
WO2020119253A1
WO2020119253A1 PCT/CN2019/112557 CN2019112557W WO2020119253A1 WO 2020119253 A1 WO2020119253 A1 WO 2020119253A1 CN 2019112557 W CN2019112557 W CN 2019112557W WO 2020119253 A1 WO2020119253 A1 WO 2020119253A1
Authority
WO
WIPO (PCT)
Prior art keywords
index
sub
page
contact
address book
Prior art date
Application number
PCT/CN2019/112557
Other languages
French (fr)
Chinese (zh)
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 阿里巴巴集团控股有限公司
Publication of WO2020119253A1 publication Critical patent/WO2020119253A1/en

Links

Images

Classifications

    • 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/951Indexing; Web crawling techniques

Definitions

  • This specification relates to the technical field of data processing, in particular to page index, address book, client, data processing method and device.
  • the index is a common storage structure, which can point to the entries in an entry group according to one or some data items of each entry in an entry group, so as to quickly search and sort the entries.
  • the address book index as an example, it can quickly find contact information in the address book according to the attributes of each contact information in the address book list (for example, the first letter of the name).
  • this specification provides page index, address book, client, data processing method and device.
  • a page index is provided, and the page index includes:
  • Each sub-index is associated with a different item group on the page, and each item group includes at least one item, and is used to index each item in the respective associated item group;
  • the entries and data items in different entry groups are pre-obtained from different data sources by the page management module corresponding to the pages, respectively.
  • the sub-index includes:
  • the icon is used to indicate a group of related entries of the sub-index on the page
  • the character index module includes several characters, and each character is respectively associated with several entries in the associated entry group, and is used to index the associated entries in the page.
  • each group of sub-indexes has different attribute information, and the attribute information includes at least any of the following: color, font, icon, and font size.
  • sub-index is also used for:
  • sub-index is also used for:
  • the associated item group When the associated item group is moved on the page, the associated item group is linked on the page.
  • an address book includes:
  • each group of contact lists includes several contact entries, each contact entry includes several contact information, and the contact entries and their contact information in different contact lists are corresponded by the address book
  • the address book management module is obtained from different data sources;
  • each sub-index is associated with a different contact list in the address book, and is used to index each contact entry in its associated contact list.
  • each contact entry in the same contact list is sequentially displayed on the address book according to a preset display order.
  • a client is provided, and the client includes the address book described in any embodiment.
  • a data processing method based on the page index including:
  • Detecting a movement trigger instruction for the sub-index where the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
  • the method further includes:
  • the sub-index associated with the associated item group is controlled to be linked with the associated item group on the page.
  • the movement mode information includes an animation effect of the sub-index during movement, and the animation effect includes any of the following:
  • the color of the sub-index gradually becomes darker or gradually lighter
  • the font size of each character in the sub-index increases first and then decreases according to a preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase;
  • each character in the sub-index is sequentially shifted first and then restored according to a preset offset method, wherein after the position of the previous character is restored, the position of the latter character begins to shift;
  • Each character on the sub-index shrinks along the zoom axis, and moves to the same zoom center during the zoom-out process and then hides;
  • the magic lamp effect when the sub-index is expanded and displayed is to move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
  • a data processing apparatus based on the page index including:
  • a detection module configured to detect a movement trigger instruction for the sub-index, and the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
  • the control module is used to control the sub-index to move on the page according to the movement mode information.
  • a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the method described in any embodiment.
  • a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements any program when the program is executed Example method.
  • multiple independent sub-indexes are used to index data items from different data sources on the page, which improves the indexing efficiency of data items from different data sources and facilitates user operations.
  • FIG. 1 is a schematic diagram of an address book page of an embodiment.
  • FIG. 2 is a schematic diagram of an address book index according to an embodiment of this specification.
  • FIG. 3a is a schematic diagram of a sub-index position change according to an embodiment of this specification.
  • FIG. 3b is a schematic diagram of sub-index position changes in another embodiment of the present specification.
  • FIG. 4a is a schematic diagram of the animation effect of the sub-index in the moving process of the first embodiment of the present specification.
  • FIG. 4b is a schematic diagram of the animation effect of the sub-index in the moving process of the second embodiment of the present specification.
  • FIG. 4c is a schematic diagram of the animation effect of the sub-index in the moving process of the third embodiment of the present specification.
  • FIG. 4d is a schematic diagram of the animation effect of the sub-index in the moving process of the fourth embodiment of the present specification.
  • FIG. 5 is a schematic diagram of an address book according to an embodiment of this specification.
  • FIG. 6 is a flowchart of a data processing method according to an embodiment of this specification.
  • FIG. 7 is a block diagram of a data processing device according to an embodiment of this specification.
  • FIG. 8 is a schematic structural diagram of a computer device used to implement the method of this specification according to an embodiment of this specification.
  • first, second, third, etc. may be used to describe various information in this specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • word “if” as used herein may be interpreted as "when” or “when” or “in response to a determination”.
  • each item can include one or more data items.
  • FIG. 1 it is a schematic diagram of an address book page of an embodiment.
  • the traditional address book page generally includes several contact entries, and each contact entry constitutes a contact list on the address book page, and each contact entry may include several data items, for example, contact name or name, contact phone Contact information such as “love crazy”, “aspect”, “baby”, etc. as shown in the figure, where “love crazy”, “aspect”, “baby” are the names of the contacts, of course, contacts
  • the entry can also include other contact information, such as: mobile phone number, QQ number, etc.
  • the address book page can also include an index module that indexes contact entries, the index module can include a letter index, and the letter index includes several letters, As shown in the letters A to Z.
  • the index module is used to quickly locate and search the corresponding contact entry based on the contact information.
  • Each letter in the letter index is associated with one or more contact entries.
  • the contact entry associated with a letter in the alphabet index may have the following characteristics: the contact name in the contact entry or the first letter corresponding to the name is the same as the letter associated with the contact entry. For example, "Love” in FIG. 1
  • the contact entries corresponding to the two contact information "Crazy" and “aspect” are associated with the letter A, and the contact entry corresponding to "baby” is associated with the letter B.
  • the contact information for different contact entries may be derived from different data sources.
  • the data source is used to store contact information, which may be an address book, including but not limited to mobile phone address book, various applications (such as : Dingding, Alipay, Facebook, etc.) comes with the address book and cloud address book, etc.
  • contact information may be an address book, including but not limited to mobile phone address book, various applications (such as : Dingding, Alipay, Facebook, etc.) comes with the address book and cloud address book, etc.
  • the corresponding authority is granted, data can be communicated between various data sources, so that one of the data sources can obtain contact information of other data sources.
  • the Alipay address book can obtain contact information of mobile phones. Therefore, when displaying contact information, a data source can simultaneously display contact information of the data source and contact information from other data sources.
  • a page often includes entries from multiple data sources.
  • the traditional indexing method often confuses entries from various data sources, and cannot clearly and intuitively index the entries of each data source separately. Therefore, the page index needs to be improved.
  • the page index may include: multiple sets of mutually independent sub-indexes; each set of sub-indexes is respectively associated with a different item group on the page, and each item group includes at least one Entries, and are used to index each entry in their respective associated entry groups; wherein, entries and data items in different entry groups are pre-fetched from different data sources by the page management module corresponding to the pages, respectively.
  • the pages in the embodiments of the present specification may be catalog pages of books, newspapers, periodicals, magazines, etc.
  • the page index may be the catalog
  • the entry may be a piece of data in the catalog, for example, the correspondence between chapters and page numbers
  • the data items can include chapter names, page numbers, and so on.
  • the page directory in this embodiment of the specification may include directory information from multiple data sources, where the different data sources may be different books, newspapers, periodicals, or magazines, that is, one directory Also includes catalog information for multiple books or multiple magazines.
  • the page in the embodiment of the present specification may also be an address book page.
  • the page index may be an address book index
  • the entry may be a contact entry.
  • the data items Contact information.
  • the address book can be the address book that comes with a smart terminal such as a mobile phone, or the address book in applications such as Alipay and Nail.
  • the data source is used to store contact information.
  • the data source includes the above address book, and may also include other storage spaces or applications that store contact information. Taking the address book as an Alipay address book as an example, the Alipay address book stores contact information of Alipay friends, and the Alipay address book can also read the contact information in the mobile phone address book.
  • both Alipay address book and mobile phone address book are data sources.
  • the address book management module corresponding to the Alipay address book page can simultaneously read the contact information in the Alipay address book and the mobile phone address book.
  • the contact entries of different data sources constitute different contact lists, and each group of contact lists can be associated with a group of sub-indexes.
  • the contact list associated with the sub-index is called the associated contact list of the sub-index.
  • the contact information of the Alipay address book constitutes the Alipay contact list
  • the contact information of the mobile phone address book constitutes the mobile phone contact list.
  • Two sets of indexes can be assigned, where index 1 is associated with the Alipay contact list and index 2 is associated with the mobile phone contact list.
  • each entry group may also be deduplicated entries.
  • both the Alipay contact address book and the mobile phone contact address book include the mobile phone number of contact a, then the mobile phone of contact a can be displayed only in the Alipay contact list or the mobile phone contact list number.
  • Each group of sub-indexes is used to index entries from a data source.
  • the sub-index corresponding to the Alipay contact list is used to index Alipay contacts
  • mobile phone contact list The corresponding sub-index is used to index mobile phone contacts.
  • the sub-index may include: a character index module and an icon; the icon is used to indicate a group of related entries of the sub-index on the page; the character index module includes several characters, each character It is associated with several items in the related item group respectively, and is used to index the related items in the page.
  • the icon is a graphic with a certain shape, pattern, or combination thereof, and each group of sub-indexes may use a different icon to distinguish each other.
  • the icon can be used to quickly locate the related entry of the corresponding sub-index. Different sub-indexes can use different icons to distinguish their associated entries.
  • the icon can also be used to change the display state of the sub-index. For example, by performing operations such as clicking on the icon, the display state of the character index module corresponding to the sub-index can also be changed to the expanded display state or the collapsed state.
  • the expanded display state means that the characters in the character index module are displayed sequentially.
  • the character index module may include several characters, and the characters may include at least any of the following: letters, numbers, Chinese characters, and symbols. Taking the character index module including letters as an example, the character index module of each sub-index may include the same letters, that is, all include the 26 letters A to Z, or may include different letters, that is: according to each entry group The data item in the entry determines the letter in the corresponding character index module. Each letter can be associated with several entries in the associated entry group, and the entry associated with a certain letter is called the associated entry of that letter.
  • the letter in the character index module can be determined according to the first letter of the contact name in the contact information, and if there is a letter in at least one contact name or the first letter of the name, the letter is included in the character index module; There is no certain letter in the first letter of each contact name, then the letter is not included in the character index module.
  • the contact information corresponding to each contact name with the first letter A is the associated contact information of the letter A
  • the contact information corresponding to each contact name with the first letter B is the associated contact information of the letter B. analogy.
  • FIG. 2 shows a schematic diagram of an address book index according to an embodiment of this specification.
  • the figure includes three groups of sub-indexes, each group of sub-indexes includes icons and character index modules, where sub-index 1 and sub-index 2 are in the expanded display state, and each character in the character index module of these two groups of sub-indexes is expanded and displayed, but Due to the limited screen length, only the letters "Y" and "Z" in the current sub-index 1 are visible in the display interface, and the remaining letters are not visible, and only after performing certain operations (for example, dragging the screen). Each character in the character index module of sub-index 2 is visible.
  • Sub-index 3 is in a collapsed state, only icons and invisible characters are visible, and even if the screen is dragged, the characters are still not visible, but you can expand the character index module of sub-index 3 by clicking on the icon and so on, so that The characters are visible.
  • each group of sub-indexes may have different attribute information, and the attribute information includes at least any of the following: color, font, icon, and font size.
  • icons of different sub-indexes may be related to data sources corresponding to their associated contact lists. For example, if the associated contact list of sub-index 1 is a mobile phone address book, the icon of the mobile phone address book may be used as the icon of sub-index 1; The associated contact list of sub-index 2 is the Alipay address book, and the icon of Alipay may be used as the icon of sub-index 2. This is more intuitive and easy to distinguish.
  • the sub-index may receive a movement trigger instruction; respond to the movement trigger instruction to move on the page.
  • movement triggering instructions include long press, double click, drag, click, triple combo and other instructions.
  • the above function can be realized by executing the above trigger instruction on the icon in the sub index. As shown in FIG. 3a, the icon of sub-index 3 can be dragged upwards to move sub-index 3 to the top of the screen. After dragging, the character index module of sub-index 3 also moves with its icon.
  • each character in the character index module of sub-index 3 can be expanded and displayed, and at the same time, the character index module of sub-index 2 can be gathered to adapt to the screen size.
  • the associated item group when the associated item group is moved on the page, the associated item group is linked on the page.
  • the screen is a touch screen, you can move an item group upward by touching the screen. It can be seen that after the item group moves up on the page, the content of the sub-index associated with the item group also moves up. Of course, in an actual situation, the entire index (including each sub-index) may be moved upward as a whole.
  • the sub-index can display some animation effects during the movement to improve the user experience.
  • Animation effects can include but are not limited to any of the following:
  • fade-in refers to the process that each character in the sub-index moves on the page and expands and displays, the font color changes from light to dark.
  • the characters in sub-index 3 are first displayed in a lighter font color.
  • the font color gradually increases. Deepen, and finally, when the move is complete, the font color is the darkest.
  • Fade out means that the characters in the sub-index are moved and gathered in the address book interface, and the font color changes from dark to light.
  • the characters in the sub-index are first displayed in a thicker font color.
  • sub-index 2 continues to move up the screen and gradually gather, the font of the remaining characters on the screen The color gradually becomes lighter, and finally, when fully folded, only the icon remains (of course, the icon and a few lighter-colored characters may also be included).
  • the sub-index can display the fade-in effect and the fade-out effect at the same time during the movement, or only one of them can be displayed.
  • the font color of each character of the expanded group of sub-indexes changes from light to dark
  • the font color of each character of the group of sub-indexes that gathers simultaneously changes from dark to light.
  • the magic lamp effect that is, during the movement of the sub-index, each character is sequentially displayed in a preset manner.
  • the preset method may be that the font size of each character in the sub-index increases first and then decreases according to a preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase; or It is that the position of each character in the sub-index is sequentially shifted first and then restored according to a preset offset method, wherein after the position of the previous character is restored, the position of the latter character starts to shift.
  • each expanded letter is displayed in sequence according to the moving direction of the sub-index. Assuming that the currently expanded letters are A, B, and C from top to bottom, and the movement direction of the sub-index is to move upward and expand, then the font of the letter C increases first; then, the font of the letter C decreases and the letter B The font of font A increases; then, the font of letter B decreases, the font of letter A increases, and finally, the font of letter A decreases.
  • the first step only the letter A is displayed on the display interface, and the letter A is shifted to the right to the position shown in (1) in Figure 4c
  • the display interface displays the letters A and B, and the letters A and B are respectively shifted to the position shown in (2) in Figure 4c
  • the letter A is shifted to the left, and the letter B is shifted to the right to the position of the letter A in the first step
  • the third step the letter A, the letter B and the letter C are displayed in the display interface, and the letter A, The letter B and the letter C are moved to the position shown in (3) of FIG.
  • the fourth step the letters A to D are displayed in the display interface, and the letters A to D are moved to the (4) diagram shown in FIG. 4c respectively At the location of, the offset method is similar to the above method and will not be repeated here.
  • the magic lamp effect includes the magic lamp effect when the sub-index is collapsed and the magic lamp effect when the sub-index is expanded and displayed.
  • the magic lamp effect when the sub-index is collapsed is to reduce each character on the sub-index along the zoom axis, and move to the same zoom center during the zooming process and then hide;
  • the magic lamp effect when the sub-index is expanded and displayed is Move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
  • Fig. 4d shows the magic lamp effect when the sub-index is expanded and displayed, and the magic lamp effect when the sub-index is collapsed is the reverse process, which will not be repeated here.
  • the zoom center may be the point where the icon of sub-index 3 is located
  • the zoom axis may be an axis that is the origin of the zoom center and is perpendicular to the dotted line (straight line) in the figure. It can be seen that the sub-index 2 expands in the direction of the dotted line (straight line) in the figure during the expansion display, and in the expansion process, the font size of the character closer to the zoom center is smaller, and the farther away from the zoom center The larger the character font size.
  • multiple independent sub-indexes are used to index entries from different data sources on the page, which improves the indexing efficiency of entries from different data sources and facilitates user operations.
  • the entries of each data source can be quickly located and searched.
  • page index in the embodiment of the present specification can be displayed not only on the page vertically, but also on the page horizontally, or displayed in other ways, which will not be repeated here.
  • the page may be an address book page
  • the entry group may be a contact list
  • the entry is a contact entry
  • the data item is each contact information in the contact entry
  • the page index is the address book index.
  • An embodiment of the present specification also provides an address book.
  • the address book includes: multiple sets of contact lists, each set of contact lists includes several contact entries, and each contact entry includes several contact information, and different contacts
  • the contact entries in the person list and their contact information are obtained from different data sources by the address book management module corresponding to the address book; and multiple sets of mutually independent sub-indexes, each group of sub-indexes are associated with different contacts in the address book
  • the people list is associated and used to index each contact entry in their associated contact lists.
  • each contact entry in the same contact list is sequentially displayed on the address book in a preset display order.
  • the address book page includes 3 groups of contact lists. Due to the limited size of the display interface, only the contact information of contact list 1 and the data source of contact list 2 (mobile phone contacts) are displayed on the current display interface, which is not displayed. Contact list 3 information. On the right side of the display interface is the address book index, which includes 3 sets of sub-indexes, corresponding to the 3 sets of contact lists. In practical applications, the address book index can also be displayed on the left side of the display interface, or dynamically displayed as needed.
  • each item in the same item group is displayed sequentially on the page according to a preset display order.
  • each Alipay contact information is displayed in the order of the first name or name; at the same time, in the mobile phone contact list, each mobile phone contact information is also in accordance with the first name or name Displayed in alphabetical order, the contact information in the Alipay contact list and the mobile phone contact list are independent of each other and do not affect each other.
  • An embodiment of this specification also provides a client, and the client may include the address book of any embodiment.
  • an embodiment of the present specification also provides a data processing method, which is based on the page index of any of the above embodiments.
  • the method may include:
  • Step 602 Detect a movement trigger instruction for the sub-index, where the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
  • Step 604 Control the sub-index to move on the page according to the movement mode information.
  • the sub-index associated with the associated item group is controlled to be linked with the associated item group on the page.
  • the movement mode information includes an animation effect of the sub-index during movement, and the animation effect includes any of the following: the color of the sub-index gradually becomes darker or gradually lighter; each of the sub-indexes
  • the font size of the characters increases first and then decreases according to the preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase; the position of each character in the sub-index is sequentially set according to the preset bias
  • the shifting method shifts first and then restores.
  • each character on the sub-index shrinks along the zoom axis and moves to the same zoom center during the zooming process Then hide; or the magic lamp effect when the sub-index is expanded and displayed is to move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
  • an embodiment of this specification further provides a data processing device, which is based on the page index of any of the above embodiments, and the device may include:
  • the detection module 702 is configured to detect a movement trigger instruction for the sub-index, and the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
  • the control module 704 is configured to control the sub-index to move on the page according to the movement mode information.
  • the relevant part can be referred to the description of the method embodiment.
  • the device embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, may be located in One place, or can be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solution in this specification. Those of ordinary skill in the art can understand and implement without paying creative labor.
  • the embodiments of the apparatus in this specification can be applied to computer equipment, such as a server or an intelligent terminal.
  • the device embodiments may be implemented by software, or by hardware or a combination of hardware and software. Taking software implementation as an example, as a device in a logical sense, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor in which the file processing is located.
  • FIG. 8 it is a hardware structure diagram of the computer equipment where the device of this specification is located, except for the processor 802, memory 804, network interface 806, and non-volatile memory 808 shown in FIG. 8.
  • the server or the electronic device where the apparatus is located may generally include other hardware according to the actual function of the computer device, which will not be repeated here.
  • the embodiments of the present specification also provide a computer storage medium in which a program is stored, and when the program is executed by a processor, the method in any of the foregoing embodiments is implemented.
  • the embodiments of the present specification also provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, any of the above embodiments are implemented The method.
  • This application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code.
  • Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology.
  • the information may be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technologies
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disc

Landscapes

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

Abstract

A page index, an address book, a client, and a data processing method and apparatus: by means of a plurality of mutually independent sub-indexes, respectively indexing data items in a page that come from different data sources, thus improving the indexing efficiency for data items having different data sources, and facilitating user operation.

Description

页面索引、通讯录、客户端、数据处理方法和装置Page index, address book, client, data processing method and device 技术领域Technical field
本说明书涉及数据处理技术领域,尤其涉及页面索引、通讯录、客户端、数据处理方法和装置。This specification relates to the technical field of data processing, in particular to page index, address book, client, data processing method and device.
背景技术Background technique
索引是一种常见的存储结构,其可以根据一个条目组中各个条目的某个或某些数据项来指向该条目组中的条目,以便对条目进行快速查找和排序等操作。以通讯录索引为例,其可以根据通讯录列表中各个联系人信息的属性(例如,姓名的首字母),以在通讯录中快速查找联系人信息。The index is a common storage structure, which can point to the entries in an entry group according to one or some data items of each entry in an entry group, so as to quickly search and sort the entries. Taking the address book index as an example, it can quickly find contact information in the address book according to the attributes of each contact information in the address book list (for example, the first letter of the name).
发明内容Summary of the invention
基于此,本说明书提供了页面索引、通讯录、客户端、数据处理方法和装置。Based on this, this specification provides page index, address book, client, data processing method and device.
根据本说明书实施例的第一方面,提供一种页面索引,所述页面索引包括:According to a first aspect of the embodiments of this specification, a page index is provided, and the page index includes:
多组相互独立的子索引;Multiple sets of independent sub-indexes;
各组子索引分别与页面中不同的条目组相关联,每个条目组包括至少一个条目,并分别用于对各自的关联条目组中各个条目进行索引;Each sub-index is associated with a different item group on the page, and each item group includes at least one item, and is used to index each item in the respective associated item group;
其中,不同条目组中的条目及其数据项由所述页面对应的页面管理模块分别从不同的数据源预先获取。Wherein, the entries and data items in different entry groups are pre-obtained from different data sources by the page management module corresponding to the pages, respectively.
可选地,所述子索引包括:Optionally, the sub-index includes:
字符索引模块和图标;Character index module and icon;
所述图标用于在所述页面中指示所述子索引的关联条目组;The icon is used to indicate a group of related entries of the sub-index on the page;
所述字符索引模块包括若干个字符,每个字符分别与关联条目组中的若干个条目相关联,并用于在所述页面中对关联条目进行索引。The character index module includes several characters, and each character is respectively associated with several entries in the associated entry group, and is used to index the associated entries in the page.
可选地,各组子索引分别具有不同的属性信息,所述属性信息包括以下至少任一:颜色、字体、图标、字号。Optionally, each group of sub-indexes has different attribute information, and the attribute information includes at least any of the following: color, font, icon, and font size.
可选地,所述子索引还用于:Optionally, the sub-index is also used for:
接收移动触发指令;Receive mobile trigger instructions;
响应所述移动触发指令,以在所述页面上移动。In response to the movement trigger instruction, to move on the page.
可选地,所述子索引还用于:Optionally, the sub-index is also used for:
当关联条目组在页面上被移动时,在所述页面上与所述关联条目组联动。When the associated item group is moved on the page, the associated item group is linked on the page.
根据本说明书实施例的第二方面,提供一种通讯录,所述通讯录包括:According to a second aspect of the embodiments of the present specification, an address book is provided, and the address book includes:
多组联系人列表,每组联系人列表包括若干个联系人条目,每个联系人条目包括若干项联系人信息,且不同联系人列表中的联系人条目及其联系人信息由通讯录对应的通讯录管理模块分别从不同的数据源获取;以及Multiple groups of contact lists, each group of contact lists includes several contact entries, each contact entry includes several contact information, and the contact entries and their contact information in different contact lists are corresponded by the address book The address book management module is obtained from different data sources; and
多组相互独立的子索引,各组子索引分别与通讯录中不同的联系人列表相关联,并分别用于对各自的关联联系人列表中各个联系人条目进行索引。Multiple sets of mutually independent sub-indexes, each sub-index is associated with a different contact list in the address book, and is used to index each contact entry in its associated contact list.
可选地,同一联系人列表内的各个联系人条目按照预设的显示顺序在通讯录上顺序显示。Optionally, each contact entry in the same contact list is sequentially displayed on the address book according to a preset display order.
根据本说明书实施例的第三方面,提供一种客户端,所述客户端包括任一实施例所述的通讯录。According to a third aspect of the embodiments of the present specification, a client is provided, and the client includes the address book described in any embodiment.
根据本说明书实施例的第四方面,提供一种基于任一实施例所述的页面索引的数据处理方法,所述方法包括:According to a fourth aspect of the embodiments of the present specification, there is provided a data processing method based on the page index according to any embodiment, the method including:
检测对子索引的移动触发指令,所述移动触发指令中包括用于指示所述子索引在页面上进行移动的移动方式信息;Detecting a movement trigger instruction for the sub-index, where the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
控制所述子索引根据所述移动方式信息在所述页面上进行移动。Controlling the sub-index to move on the page according to the movement mode information.
可选地,所述方法还包括:Optionally, the method further includes:
当关联条目组在页面上被移动时,控制与所述关联条目组相关联的子索引在所述页面上与所述关联条目组联动。When the associated item group is moved on the page, the sub-index associated with the associated item group is controlled to be linked with the associated item group on the page.
可选地,所述移动方式信息包括所述子索引在移动过程中的动画效果,所述动画效果包括以下任一:Optionally, the movement mode information includes an animation effect of the sub-index during movement, and the animation effect includes any of the following:
所述子索引的颜色逐渐变深或者逐渐变浅;The color of the sub-index gradually becomes darker or gradually lighter;
所述子索引中各个字符的字号按照预设的顺序先增大后减小,其中,前一字符的字号减小后,后一字符的字号开始增大;The font size of each character in the sub-index increases first and then decreases according to a preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase;
所述子索引中各个字符的位置依次按照预先设置的偏移方式先偏移后还原,其中,前一字符的位置还原后,后一字符的位置开始偏移;The position of each character in the sub-index is sequentially shifted first and then restored according to a preset offset method, wherein after the position of the previous character is restored, the position of the latter character begins to shift;
子索引上的各个字符沿着缩放轴缩小,并在缩小的过程中移动至同一个缩放中心然后隐藏;或者Each character on the sub-index shrinks along the zoom axis, and moves to the same zoom center during the zoom-out process and then hides; or
子索引展开显示时的神灯效果即为将子索引上的各个字符从同一个缩放中心移动至页面的预设位置处,并在移动过程中沿着缩放轴放大。The magic lamp effect when the sub-index is expanded and displayed is to move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
根据本说明书实施例的第五方面,提供一种基于任一实施例所述的页面索引的数据处理装置,所述装置包括:According to a fifth aspect of the embodiments of the present specification, there is provided a data processing apparatus based on the page index according to any embodiment, the apparatus including:
检测模块,用于检测对子索引的移动触发指令,所述移动触发指令中包括用于指示所述子索引在页面上进行移动的移动方式信息;A detection module, configured to detect a movement trigger instruction for the sub-index, and the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
控制模块,用于控制所述子索引根据所述移动方式信息在所述页面上进行移动。The control module is used to control the sub-index to move on the page according to the movement mode information.
根据本说明书实施例的第六方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现任一实施例所述的方法。According to a sixth aspect of the embodiments of the present specification, there is provided a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the method described in any embodiment.
根据本说明书实施例的第七方面,提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现任一实施例所述的方法。According to a seventh aspect of the embodiments of the present specification, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements any program when the program is executed Example method.
应用本说明书实施例方案,通过多组相互独立的子索引来分别对页面中来自不同数据源的数据项进行索引,提高了对不同数据源的数据项的索引效率,方便了用户操作。By applying the embodiment of the present specification, multiple independent sub-indexes are used to index data items from different data sources on the page, which improves the indexing efficiency of data items from different data sources and facilitates user operations.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit this specification.
附图说明BRIEF DESCRIPTION
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本说明书的实施例,并与说明书一起用于解释本说明书的原理。The drawings herein are incorporated into and constitute a part of this specification, show embodiments consistent with this specification, and are used to explain the principles of this specification together with the specification.
图1是一个实施例的通讯录页面的示意图。FIG. 1 is a schematic diagram of an address book page of an embodiment.
图2是本说明书一个实施例的通讯录索引的示意图。FIG. 2 is a schematic diagram of an address book index according to an embodiment of this specification.
图3a是本说明书一个实施例的子索引位置变化示意图。FIG. 3a is a schematic diagram of a sub-index position change according to an embodiment of this specification.
图3b是本说明书另一个实施例的子索引位置变化示意图。FIG. 3b is a schematic diagram of sub-index position changes in another embodiment of the present specification.
图4a是本说明书第一实施例的子索引在移动过程中的动画效果示意图。FIG. 4a is a schematic diagram of the animation effect of the sub-index in the moving process of the first embodiment of the present specification.
图4b是本说明书第二实施例的子索引在移动过程中的动画效果示意图。FIG. 4b is a schematic diagram of the animation effect of the sub-index in the moving process of the second embodiment of the present specification.
图4c是本说明书第三实施例的子索引在移动过程中的动画效果示意图。FIG. 4c is a schematic diagram of the animation effect of the sub-index in the moving process of the third embodiment of the present specification.
图4d是本说明书第四实施例的子索引在移动过程中的动画效果示意图。FIG. 4d is a schematic diagram of the animation effect of the sub-index in the moving process of the fourth embodiment of the present specification.
图5是本说明书一个实施例的通讯录的示意图。5 is a schematic diagram of an address book according to an embodiment of this specification.
图6是本说明书一个实施例的数据处理方法的流程图。6 is a flowchart of a data processing method according to an embodiment of this specification.
图7是本说明书一个实施例的数据处理装置的框图。7 is a block diagram of a data processing device according to an embodiment of this specification.
图8是本说明书一个实施例的用于实施本说明书方法的计算机设备的结构示意图。8 is a schematic structural diagram of a computer device used to implement the method of this specification according to an embodiment of this specification.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail here, examples of which are shown in the drawings. When referring to the drawings below, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. Rather, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
在本说明书使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本说明书和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this specification is for the purpose of describing particular embodiments only, and is not intended to limit this specification. The singular forms "a", "said" and "the" used in this specification and the appended claims are also intended to include most forms unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本说明书可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in this specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination".
在一个页面(page)上可以包括多个条目(item),每个条目可以包括一个或多个数据项,为了对页面上的条目进行快速查找和排序,可以为页面设置索引,索引可以根据各个条目的数据项的属性信息来实现对条目的查找和排序。Multiple items can be included on a page, and each item can include one or more data items. In order to quickly find and sort the items on the page, you can set an index for the page. The index can be based on each item. Use the attribute information of the data item of the item to search and sort the item.
下面以通讯录页面及其索引为例进行说明。如图1所示,是一个实施例的通讯录 页面的示意图。传统的通讯录页面一般包括若干条联系人条目,各个联系人条目共同构成通讯录页面上的联系人列表,每个联系人条目可包括若干个数据项,例如,联系人姓名或名称、联系电话等联系人信息,如图中所示的“爱疯”、“aspect”、“baby”等,其中,“爱疯”、“aspect”、“baby均为联系人姓名或名称,当然,联系人条目中也可以包括其他联系人信息,例如:手机号、QQ号等。通讯录页面还可包括对联系人条目进行索引的索引模块,索引模块可包括字母索引,字母索引中包括若干个字母,如图中的字母A~字母Z。索引模块用于根据联系人信息对对应的联系人条目进行快速定位和查找。字母索引中的每个字母与一条或多条联系人条目相关联。通常,与字母索引中某一字母相关联的联系人条目可具有以下特征:该联系人条目中联系人姓名或名称对应的首字母与该联系人条目关联的字母相同。例如,图1中的“爱疯”和“aspect”两个联系人信息对应的联系人条目与字母A相关联,“baby”对应的联系人条目与字母B相关联。通过对字母索引中字母执行点击等操作,可以快速查找到相应的联系人条目。The following takes the address book page and its index as examples. As shown in FIG. 1, it is a schematic diagram of an address book page of an embodiment. The traditional address book page generally includes several contact entries, and each contact entry constitutes a contact list on the address book page, and each contact entry may include several data items, for example, contact name or name, contact phone Contact information such as "love crazy", "aspect", "baby", etc. as shown in the figure, where "love crazy", "aspect", "baby" are the names of the contacts, of course, contacts The entry can also include other contact information, such as: mobile phone number, QQ number, etc. The address book page can also include an index module that indexes contact entries, the index module can include a letter index, and the letter index includes several letters, As shown in the letters A to Z. The index module is used to quickly locate and search the corresponding contact entry based on the contact information. Each letter in the letter index is associated with one or more contact entries. Usually, The contact entry associated with a letter in the alphabet index may have the following characteristics: the contact name in the contact entry or the first letter corresponding to the name is the same as the letter associated with the contact entry. For example, "Love" in FIG. 1 The contact entries corresponding to the two contact information "Crazy" and "aspect" are associated with the letter A, and the contact entry corresponding to "baby" is associated with the letter B. By performing operations such as clicking on the letters in the letter index, you can quickly find To the corresponding contact entry.
在一些情况下,不同联系人条目的联系人信息可能分别来源于不同的数据源,数据源用于存储联系人信息,其可以是通讯录,包括但不限于手机通讯录、各个应用程序(例如:钉钉、支付宝、Facebook等)自带的通讯录以及云端通讯录等。当被授予相应的权限之后,各个数据源之间可以进行数据互通,以使其中一个数据源可以获取到其他数据源的联系人信息。例如,支付宝通讯录可以获取到手机联系人信息。因此,在显示联系人信息时,一个数据源可以同时显示本数据源的联系人信息和来自其他数据源的联系人信息。In some cases, the contact information for different contact entries may be derived from different data sources. The data source is used to store contact information, which may be an address book, including but not limited to mobile phone address book, various applications (such as : Dingding, Alipay, Facebook, etc.) comes with the address book and cloud address book, etc. After the corresponding authority is granted, data can be communicated between various data sources, so that one of the data sources can obtain contact information of other data sources. For example, the Alipay address book can obtain contact information of mobile phones. Therefore, when displaying contact information, a data source can simultaneously display contact information of the data source and contact information from other data sources.
通过上述例子可以看出,一个页面上往往包括来自多个数据源的条目,传统的索引方式往往将来自各个数据源的条目混为一谈,不能清晰直观地分别对各个数据源的条目进行索引。因此,需要对页面索引进行改进。It can be seen from the above example that a page often includes entries from multiple data sources. The traditional indexing method often confuses entries from various data sources, and cannot clearly and intuitively index the entries of each data source separately. Therefore, the page index needs to be improved.
基于此,本说明书实施例提供一种页面索引,所述页面索引可包括:多组相互独立的子索引;各组子索引分别与页面中不同的条目组相关联,每个条目组包括至少一个条目,并分别用于对各自的关联条目组中各个条目进行索引;其中,不同条目组中的条目及其数据项由所述页面对应的页面管理模块分别从不同的数据源预先获取。Based on this, an embodiment of the present specification provides a page index. The page index may include: multiple sets of mutually independent sub-indexes; each set of sub-indexes is respectively associated with a different item group on the page, and each item group includes at least one Entries, and are used to index each entry in their respective associated entry groups; wherein, entries and data items in different entry groups are pre-fetched from different data sources by the page management module corresponding to the pages, respectively.
本说明书实施例中的页面可以是书、报纸或者期刊、杂志等的目录页面,对应地,页面索引可以是其中的目录,条目可以是目录中的一条数据,例如,章节与页码的对应关系,而数据项可以包括章节名称、页码数等内容。与传统的页面目录不同,本说明书实施例的页面目录中可以包括来自多个数据源的目录信息,其中,不同的数据源可以是 不同的书、报纸或者期刊、杂志,即,一份目录中同时包括多本书或者多本杂志的目录信息。The pages in the embodiments of the present specification may be catalog pages of books, newspapers, periodicals, magazines, etc. Correspondingly, the page index may be the catalog, and the entry may be a piece of data in the catalog, for example, the correspondence between chapters and page numbers, The data items can include chapter names, page numbers, and so on. Different from the traditional page directory, the page directory in this embodiment of the specification may include directory information from multiple data sources, where the different data sources may be different books, newspapers, periodicals, or magazines, that is, one directory Also includes catalog information for multiple books or multiple magazines.
本说明书实施例中的页面还可以是通讯录页面,对应地,页面索引可以是通讯录索引,条目可以是联系人条目,来自同一数据源的若干个联系人条目构成一个联系人列表,数据项为联系人信息。通讯录可以是手机等智能终端自带的通讯录,也可以是支付宝、钉钉等应用程序中的通讯录。数据源用于存储联系人信息,数据源包括上述通讯录,还可以包括其他存储有联系人信息的存储空间或者应用程序。以通讯录是支付宝通讯录为例,支付宝通讯录中存储有支付宝好友的联系人信息,并且支付宝通讯录还可以读取手机通讯录中的联系人信息。因此,支付宝通讯录以及手机通讯录两者均为数据源。支付宝通讯录页面对应的通讯录管理模块可以同时读取支付宝通讯录以及手机通讯录中的联系人信息。不同数据源的联系人条目构成不同的联系人列表,可分别为每组联系人列表关联一组子索引,与子索引关联的联系人列表称为该子索引的关联联系人列表。例如,支付宝通讯录联系人信息构成支付宝联系人列表,手机通讯录联系人信息构成手机联系人列表。可以分配两组索引,其中,索引1与支付宝联系人列表相关联,索引2与手机联系人列表相关联。这样,就可以通过两组独立的子索引实现多数据源在同一页面的多重索引。当然,本领域技术人员可以理解,本说明书实施例的联系人列表以及子索引的数量还可以是其他数值,例如,3组、4组等,此处不再赘述。The page in the embodiment of the present specification may also be an address book page. Correspondingly, the page index may be an address book index, and the entry may be a contact entry. Several contact entries from the same data source constitute a contact list. The data items Contact information. The address book can be the address book that comes with a smart terminal such as a mobile phone, or the address book in applications such as Alipay and Nail. The data source is used to store contact information. The data source includes the above address book, and may also include other storage spaces or applications that store contact information. Taking the address book as an Alipay address book as an example, the Alipay address book stores contact information of Alipay friends, and the Alipay address book can also read the contact information in the mobile phone address book. Therefore, both Alipay address book and mobile phone address book are data sources. The address book management module corresponding to the Alipay address book page can simultaneously read the contact information in the Alipay address book and the mobile phone address book. The contact entries of different data sources constitute different contact lists, and each group of contact lists can be associated with a group of sub-indexes. The contact list associated with the sub-index is called the associated contact list of the sub-index. For example, the contact information of the Alipay address book constitutes the Alipay contact list, and the contact information of the mobile phone address book constitutes the mobile phone contact list. Two sets of indexes can be assigned, where index 1 is associated with the Alipay contact list and index 2 is associated with the mobile phone contact list. In this way, multiple indexes of multiple data sources on the same page can be achieved through two sets of independent sub-indexes. Of course, those skilled in the art may understand that the number of contact lists and sub-indexes in the embodiments of the present specification may also be other numerical values, for example, 3 groups, 4 groups, etc., which will not be repeated here.
可以理解,不同联系人列表中可能存在相同的联系人信息。进一步地,为了使页面更加简洁,各个条目组中的条目还可以是经过去重后的条目。例如,对于通讯录页面而言,支付宝联系人通讯录和手机联系人通讯录中均包括联系人a的手机号,则可以仅在支付宝联系人列表或者手机联系人列表中显示联系人a的手机号。It is understandable that the same contact information may exist in different contact lists. Further, in order to make the page more concise, the entries in each entry group may also be deduplicated entries. For example, for the address book page, both the Alipay contact address book and the mobile phone contact address book include the mobile phone number of contact a, then the mobile phone of contact a can be displayed only in the Alipay contact list or the mobile phone contact list number.
不同的子索引互相独立,互不干扰,每组子索引用于对来自一个数据源的条目进行索引,例如,支付宝联系人列表对应的子索引用于对支付宝联系人进行索引,手机联系人列表对应的子索引用于对手机联系人进行索引。Different sub-indexes are independent of each other and do not interfere with each other. Each group of sub-indexes is used to index entries from a data source. For example, the sub-index corresponding to the Alipay contact list is used to index Alipay contacts, mobile phone contact list The corresponding sub-index is used to index mobile phone contacts.
在一个实施例中,子索引可包括:字符索引模块和图标;所述图标用于在所述页面中指示所述子索引的关联条目组;所述字符索引模块包括若干个字符,每个字符分别与关联条目组中的若干个条目相关联,并用于在所述页面中对关联条目进行索引。In one embodiment, the sub-index may include: a character index module and an icon; the icon is used to indicate a group of related entries of the sub-index on the page; the character index module includes several characters, each character It is associated with several items in the related item group respectively, and is used to index the related items in the page.
在本实施例中,图标是具有一定形状、图案或者其结合的图形,每组子索引可采用不同的图标,以便相互区分。通过图标可以快速定位到对应子索引的关联条目。不同的子索引可以采用不同的图标,以便区分各自的关联条目。进一步地,图标还可用于更 改子索引的显示状态。例如,通过对图标执行点击等操作,还可以将对应子索引的字符索引模块的显示状态更改为展开显示状态或者收拢状态。展开显示状态即对字符索引模块中的各个字符进行顺序显示,当然,由于显示界面的尺寸限制,当前可见的可能仅仅包括部分字符,经过拖拽屏幕等操作可以显示其余字符。收拢状态即仅显示图标,或者仅显示图标以及部分字符,其余字符以折叠的形式不显示。In this embodiment, the icon is a graphic with a certain shape, pattern, or combination thereof, and each group of sub-indexes may use a different icon to distinguish each other. The icon can be used to quickly locate the related entry of the corresponding sub-index. Different sub-indexes can use different icons to distinguish their associated entries. Further, the icon can also be used to change the display state of the sub-index. For example, by performing operations such as clicking on the icon, the display state of the character index module corresponding to the sub-index can also be changed to the expanded display state or the collapsed state. The expanded display state means that the characters in the character index module are displayed sequentially. Of course, due to the size limitation of the display interface, only some characters may be currently visible, and the remaining characters can be displayed after operations such as dragging the screen. In the collapsed state, only the icon is displayed, or only the icon and some characters are displayed, and the remaining characters are not displayed in a folded form.
字符索引模块可以包括若干个字符,字符可以包括以下至少任一:字母、数字、汉字、符号。以字符索引模块包括字母为例,每组子索引的字符索引模块中可以包括相同的字母,即,均包括A~Z这26个字母,也可以包括不同的字母,即:分别根据各个条目组中条目的数据项来确定对应字符索引模块中的字母。可以将各个字母分别与关联条目组中的若干个条目相关联,与某一字母相关联的条目称为该字母的关联条目。The character index module may include several characters, and the characters may include at least any of the following: letters, numbers, Chinese characters, and symbols. Taking the character index module including letters as an example, the character index module of each sub-index may include the same letters, that is, all include the 26 letters A to Z, or may include different letters, that is: according to each entry group The data item in the entry determines the letter in the corresponding character index module. Each letter can be associated with several entries in the associated entry group, and the entry associated with a certain letter is called the associated entry of that letter.
例如,可以根据联系人信息中联系人名称的首字母来确定字符索引模块中的字母,若至少一个联系人姓名或名称的首字母中存在某一字母,则字符索引模块中包括该字母;若各个联系人名称的首字母中均不存在某一字母,则字符索引模块中不包括该字母。首字母为A的各个联系人名称对应的联系人信息均为字母A的关联联系人信息,首字母为B的各个联系人名称对应的联系人信息均为字母B的关联联系人信息,以此类推。通过对字母执行点击等操作,可以在通讯录页面中快速查找和定位到该字母的关联联系人条目。For example, the letter in the character index module can be determined according to the first letter of the contact name in the contact information, and if there is a letter in at least one contact name or the first letter of the name, the letter is included in the character index module; There is no certain letter in the first letter of each contact name, then the letter is not included in the character index module. The contact information corresponding to each contact name with the first letter A is the associated contact information of the letter A, and the contact information corresponding to each contact name with the first letter B is the associated contact information of the letter B. analogy. By performing operations such as clicking on a letter, you can quickly find and locate the associated contact entry for the letter in the address book page.
图2给出了本说明书一个实施例的通讯录索引的示意图。图中包括3组子索引,每组子索引均包括图标和字符索引模块,其中,子索引1和子索引2处于展开显示状态,这两组子索引的字符索引模块中各个字符均展开显示,但由于屏幕长度有限,当前子索引1中仅字母“Y”和“Z”在显示界面中可见,其余字母不可见,需执行一定操作(例如,拖拽屏幕)后才可见。子索引2的字符索引模块中各个字符均可见。子索引3处于折叠状态,仅可见图标,不可见字符,且即便执行拖拽屏幕等操作,其中的字符仍不可见,但可通过点击图标等操作将子索引3的字符索引模块展开,从而使其中的字符可见。FIG. 2 shows a schematic diagram of an address book index according to an embodiment of this specification. The figure includes three groups of sub-indexes, each group of sub-indexes includes icons and character index modules, where sub-index 1 and sub-index 2 are in the expanded display state, and each character in the character index module of these two groups of sub-indexes is expanded and displayed, but Due to the limited screen length, only the letters "Y" and "Z" in the current sub-index 1 are visible in the display interface, and the remaining letters are not visible, and only after performing certain operations (for example, dragging the screen). Each character in the character index module of sub-index 2 is visible. Sub-index 3 is in a collapsed state, only icons and invisible characters are visible, and even if the screen is dragged, the characters are still not visible, but you can expand the character index module of sub-index 3 by clicking on the icon and so on, so that The characters are visible.
为了便于区分不同的子索引,各组子索引可分别具有不同的属性信息,所述属性信息包括以下至少任一:颜色、字体、图标、字号。进一步地,不同子索引的图标可与其关联联系人列表对应的数据源相关,例如,子索引1的关联联系人列表为手机通讯录,则可采用手机通讯录的图标作为子索引1的图标;子索引2的关联联系人列表为支付宝通讯录,则可采用支付宝的图标作为子索引2的图标。这样更加直观,便于区分。In order to facilitate distinguishing between different sub-indexes, each group of sub-indexes may have different attribute information, and the attribute information includes at least any of the following: color, font, icon, and font size. Further, icons of different sub-indexes may be related to data sources corresponding to their associated contact lists. For example, if the associated contact list of sub-index 1 is a mobile phone address book, the icon of the mobile phone address book may be used as the icon of sub-index 1; The associated contact list of sub-index 2 is the Alipay address book, and the icon of Alipay may be used as the icon of sub-index 2. This is more intuitive and easy to distinguish.
在一个实施例中,通过对子索引进行操作,可便于浏览各个条目组中的条目及其 数据项,同时也可便于快速对各个条目组中的条目进行查找和定位。具体地,子索引可以接收移动触发指令;响应所述移动触发指令,以在所述页面上移动。其中,移动触发指令包括长按、双击、拖拽、单击、三连击等指令。可以通过对子索引中的图标执行上述触发指令来实现上述功能。如图3a所示,可将子索引3的图标向上拖拽,从而将子索引3移动到屏幕上方,拖拽后,子索引3的字符索引模块也随其图标移动。另外,移动时,还可将子索引3的字符索引模块中各个字符进行展开显示,同时,可将子索引2的字符索引模块收拢,以适应屏幕尺寸。当然,也可以将子索引2向下拖拽,从而将子索引2移动到屏幕下方,拖拽后,子索引2的字符索引模块收拢,子索引1的字符索引模块中各个字符进行展开显示。In one embodiment, by operating on the sub-index, it is convenient to browse the entries and data items in each entry group, and it is also convenient to quickly find and locate the entries in each entry group. Specifically, the sub-index may receive a movement trigger instruction; respond to the movement trigger instruction to move on the page. Among them, movement triggering instructions include long press, double click, drag, click, triple combo and other instructions. The above function can be realized by executing the above trigger instruction on the icon in the sub index. As shown in FIG. 3a, the icon of sub-index 3 can be dragged upwards to move sub-index 3 to the top of the screen. After dragging, the character index module of sub-index 3 also moves with its icon. In addition, when moving, each character in the character index module of sub-index 3 can be expanded and displayed, and at the same time, the character index module of sub-index 2 can be gathered to adapt to the screen size. Of course, you can also drag sub-index 2 down to move sub-index 2 to the bottom of the screen. After dragging, the character index module of sub-index 2 is collapsed, and each character in the character index module of sub-index 1 is expanded and displayed.
在另一个实施例中,当关联条目组在页面上被移动时,在所述页面上与所述关联条目组联动。如图3b所示,如果屏幕是触摸屏,可通过触摸屏幕的方式向上移动某个条目组。可以看出,条目组在页面上向上移动之后,与条目组关联的子索引的内容也向上移动了。当然,在实际情况下,也可以将整个索引(包括各个子索引)都整体向上移动。In another embodiment, when the associated item group is moved on the page, the associated item group is linked on the page. As shown in Figure 3b, if the screen is a touch screen, you can move an item group upward by touching the screen. It can be seen that after the item group moves up on the page, the content of the sub-index associated with the item group also moves up. Of course, in an actual situation, the entire index (including each sub-index) may be moved upward as a whole.
在一个实施例中,子索引在移动过程中可以显示一些动画效果,以提高用户体验。动画效果可包括但不限于以下任意一种:In one embodiment, the sub-index can display some animation effects during the movement to improve the user experience. Animation effects can include but are not limited to any of the following:
淡入淡出效果。其中,淡入是指子索引中的各个字符在页面上移动并展开显示的过程中,字体颜色由淡转浓。如图4a所示,子索引3中各个字母在向上移动过程中,首先以较淡的字体颜色对子索引3中各个字符进行显示,随着子索引3不断向屏幕上方移动,字体颜色也逐渐加深,最后,当移动完成时,字体颜色最深。淡出是指子索引中的各个字符在通讯录界面移动并收拢的过程中,字体颜色由浓转淡。例如,子索引2中各个字母在向上移动并收拢过程中,首先以较浓的字体颜色对各个字符进行显示,随着子索引2不断向屏幕上方移动并逐渐收拢,屏幕中余下的字符的字体颜色也逐渐变浅,最后,当完全收拢时,仅剩图标(当然,也可以包括图标和若干个颜色较淡的字符)。Fade in and fade out effect. Among them, fade-in refers to the process that each character in the sub-index moves on the page and expands and displays, the font color changes from light to dark. As shown in Figure 4a, during the upward movement of each letter in sub-index 3, the characters in sub-index 3 are first displayed in a lighter font color. As sub-index 3 continues to move upward, the font color gradually increases. Deepen, and finally, when the move is complete, the font color is the darkest. Fade out means that the characters in the sub-index are moved and gathered in the address book interface, and the font color changes from dark to light. For example, in the process of moving up and collapsing each letter in sub-index 2, the characters are first displayed in a thicker font color. As sub-index 2 continues to move up the screen and gradually gather, the font of the remaining characters on the screen The color gradually becomes lighter, and finally, when fully folded, only the icon remains (of course, the icon and a few lighter-colored characters may also be included).
子索引在移动过程中可以同时显示淡入效果和淡出效果,也可以仅显示其中一种效果。在同时显示淡入效果和淡出效果的情况下,展开的那组子索引的各个字符字体颜色由淡转浓,同时收拢的那组子索引的各个字符字体颜色由浓转淡。The sub-index can display the fade-in effect and the fade-out effect at the same time during the movement, or only one of them can be displayed. When the fade-in effect and the fade-out effect are displayed at the same time, the font color of each character of the expanded group of sub-indexes changes from light to dark, and the font color of each character of the group of sub-indexes that gathers simultaneously changes from dark to light.
神灯效果,即子索引在移动过程中,各个字符依次按照预先设定的方式进行显示。预先设定的方式可以是所述子索引中各个字符的字号按照预设的顺序先增大后减小,其中,前一字符的字号减小后,后一字符的字号开始增大;也可以是所述子索引中各个字 符的位置依次按照预先设置的偏移方式先偏移后还原,其中,前一字符的位置还原后,后一字符的位置开始偏移。The magic lamp effect, that is, during the movement of the sub-index, each character is sequentially displayed in a preset manner. The preset method may be that the font size of each character in the sub-index increases first and then decreases according to a preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase; or It is that the position of each character in the sub-index is sequentially shifted first and then restored according to a preset offset method, wherein after the position of the previous character is restored, the position of the latter character starts to shift.
如图4b所示,子索引2在向上移动并展开显示的过程中,首先字母A字体增大;然后,字母A字体减小,且字母B字体增大;然后,字母B字体减小,且字母C字体增大;……;以此类推。通过这种方式,展现出一种类似于竖直甩出的鞭子的效果。As shown in FIG. 4b, in the process of moving up and expanding the display of sub-index 2, first, the font of letter A increases; then, the font of letter A decreases, and the font of letter B increases; then, the font of letter B decreases, and The letter C font is increased; ...; and so on. In this way, an effect similar to a whip thrown vertically is exhibited.
上述预设的顺序不限于图4b所示的顺序,还可以是其他顺序。例如,按照子索引的移动方向依次显示各个已展开的字母。假设当前已展开的字母从上之下依次为A、B、C,且子索引的移动方向为向上移动并展开,则首先字母C的字体增大;然后,字母C的字体减小,字母B的字体增大;然后,字母B字体减小,字母A字体增大,最后,字母A字体减小。经过一段时间以后,假设当前已展开的字母从上之下依次为A~F,且子索引的移动方向为向上移动并展开,则首先字母F的字体增大;然后,字母F的字体减小,字母E的字体增大;然后,字母E字体减小,字母D字体增大,以此类推,直至字母B字体减小,字母A字体增大,最后,字母A字体减小。The above preset order is not limited to the order shown in FIG. 4b, but may be other orders. For example, each expanded letter is displayed in sequence according to the moving direction of the sub-index. Assuming that the currently expanded letters are A, B, and C from top to bottom, and the movement direction of the sub-index is to move upward and expand, then the font of the letter C increases first; then, the font of the letter C decreases and the letter B The font of font A increases; then, the font of letter B decreases, the font of letter A increases, and finally, the font of letter A decreases. After a period of time, assuming that the currently expanded letters are A to F from top to bottom, and the movement direction of the sub-index is to move upward and expand, first the font of the letter F increases; then, the font of the letter F decreases , The font of letter E increases; then, the font of letter E decreases, the font of letter D increases, and so on, until the font of letter B decreases, the font of letter A increases, and finally, the font of letter A decreases.
如图4c所示,子索引2在向上移动并展开显示的过程中,第一步:显示界面中仅显示有字母A,且字母A向右偏移至图4c中(1)图所示位置处;第二步:在子索引2继续向上移动并展开显示的过程中,显示界面中显示字母A和字母B,且字母A和字母B分别偏移至图4c中(2)图所示位置处,即,字母A向左偏移,同时字母B向右偏移至第一步中字母A所在的位置;第三步:显示界面中显示字母A、字母B和字母C,且字母A、字母B和字母C分别移动至图4c的(3)图所示的位置处,即,字母A在左右方向上无偏移,字母B向左偏移至第二步中字母A所在的位置,且字母C向右偏移至第一步中字母A所在的位置;第四步:显示界面中显示字母A至字母D,且字母A至字母D分别移动至图4c的(4)图所示的位置处,偏移方式与上述方式类似,此处不再赘述。As shown in Figure 4c, in the process of moving up and expanding the display of sub-index 2, the first step: only the letter A is displayed on the display interface, and the letter A is shifted to the right to the position shown in (1) in Figure 4c At the second step: While the sub-index 2 continues to move upward and expand the display, the display interface displays the letters A and B, and the letters A and B are respectively shifted to the position shown in (2) in Figure 4c At the same time, the letter A is shifted to the left, and the letter B is shifted to the right to the position of the letter A in the first step; the third step: the letter A, the letter B and the letter C are displayed in the display interface, and the letter A, The letter B and the letter C are moved to the position shown in (3) of FIG. 4c, that is, the letter A is not shifted in the left and right directions, and the letter B is shifted to the left to the position of the letter A in the second step, And the letter C is shifted to the right to the position of the letter A in the first step; the fourth step: the letters A to D are displayed in the display interface, and the letters A to D are moved to the (4) diagram shown in FIG. 4c respectively At the location of, the offset method is similar to the above method and will not be repeated here.
然后以此类推。通过这种方式,展现出一种类似于左右甩开的鞭子的效果。And so on. In this way, an effect similar to that of a whip thrown left and right is exhibited.
神灯效果,包括子索引收拢时的神灯效果和子索引展开显示时的神灯效果。其中,子索引收拢时的神灯效果即为将子索引上的各个字符沿着缩放轴缩小,并在缩小的过程中移动至同一个缩放中心然后隐藏;子索引展开显示时的神灯效果即为将子索引上的各个字符从同一个缩放中心移动至页面的预设位置处,并在移动过程中沿着缩放轴放大。The magic lamp effect includes the magic lamp effect when the sub-index is collapsed and the magic lamp effect when the sub-index is expanded and displayed. Among them, the magic lamp effect when the sub-index is collapsed is to reduce each character on the sub-index along the zoom axis, and move to the same zoom center during the zooming process and then hide; the magic lamp effect when the sub-index is expanded and displayed is Move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
图4d示出了子索引展开显示时的神灯效果,子索引收拢时的神灯效果为相反的过 程,此处不再赘述。在图中,缩放中心可以是子索引3的图标所在的点,缩放轴可以是以缩放中心为原点,且与图中虚线(直线)垂直的轴线。可以看出,子索引2在展开显示过程中,沿着图中虚线(直线)的方向向上展开,且在展开过程中,越靠近缩放中心处的字符字体大小越小,越远离缩放中心处的字符字体大小越大。Fig. 4d shows the magic lamp effect when the sub-index is expanded and displayed, and the magic lamp effect when the sub-index is collapsed is the reverse process, which will not be repeated here. In the figure, the zoom center may be the point where the icon of sub-index 3 is located, and the zoom axis may be an axis that is the origin of the zoom center and is perpendicular to the dotted line (straight line) in the figure. It can be seen that the sub-index 2 expands in the direction of the dotted line (straight line) in the figure during the expansion display, and in the expansion process, the font size of the character closer to the zoom center is smaller, and the farther away from the zoom center The larger the character font size.
应用本说明书实施例方案,通过多组相互独立的子索引来分别对页面中来自不同数据源的条目进行索引,提高了对不同数据源的条目的索引效率,方便了用户操作。同时,通过多组独立的索引,能够快速对各个数据源的条目进行定位和查找。By applying the embodiment of the present specification, multiple independent sub-indexes are used to index entries from different data sources on the page, which improves the indexing efficiency of entries from different data sources and facilitates user operations. At the same time, through multiple sets of independent indexes, the entries of each data source can be quickly located and searched.
可以理解的是,本说明书实施例中的页面索引不仅可以垂直地显示在页面上,也可以水平地显示在页面上,或者以其他方式进行显示,此处不再赘述。It can be understood that the page index in the embodiment of the present specification can be displayed not only on the page vertically, but also on the page horizontally, or displayed in other ways, which will not be repeated here.
以上实施例中的各种技术特征可以任意进行组合,只要特征之间的组合不存在冲突或矛盾,但是限于篇幅,未进行一一描述,因此上述实施方式中的各种技术特征的任意进行组合也属于本说明书公开的范围。The various technical features in the above embodiments can be arbitrarily combined, as long as there is no conflict or contradiction between the combinations of the features, but the space is limited and the description is not carried out one by one, so the various technical features in the above embodiments can be arbitrarily combined It also belongs to the scope disclosed in this specification.
在通讯录场景中,页面可以是通讯录页面,条目组可以是联系人列表,条目即联系人条目,数据项是联系人条目中的各项联系人信息,页面索引即为通讯录索引。本说明书实施例还提供一种通讯录,所述通讯录包括:多组联系人列表,每组联系人列表包括若干个联系人条目,每个联系人条目包括若干项联系人信息,且不同联系人列表中的联系人条目及其联系人信息由通讯录对应的通讯录管理模块分别从不同的数据源获取;以及多组相互独立的子索引,各组子索引分别与通讯录中不同的联系人列表相关联,并分别用于对各自的关联联系人列表中各个联系人条目进行索引。In the address book scenario, the page may be an address book page, the entry group may be a contact list, the entry is a contact entry, the data item is each contact information in the contact entry, and the page index is the address book index. An embodiment of the present specification also provides an address book. The address book includes: multiple sets of contact lists, each set of contact lists includes several contact entries, and each contact entry includes several contact information, and different contacts The contact entries in the person list and their contact information are obtained from different data sources by the address book management module corresponding to the address book; and multiple sets of mutually independent sub-indexes, each group of sub-indexes are associated with different contacts in the address book The people list is associated and used to index each contact entry in their associated contact lists.
其中,同一联系人列表内的各个联系人条目按照预设的显示顺序在通讯录上顺序显示。Among them, each contact entry in the same contact list is sequentially displayed on the address book in a preset display order.
如图5所示,是一种通讯录页面。通讯录页面中包括3组联系人列表,由于显示界面的尺寸有限,当前显示界面上仅显示有联系人列表1的联系人信息和联系人列表2的数据来源(手机联系人),未显示出联系人列表3的信息。显示界面右侧是通讯录索引,包括3组子索引,分别与3组联系人列表对应。在实际应用中,也可以将通讯录索引显示在显示界面的左侧,或者根据需要动态显示。As shown in Figure 5, it is a kind of address book page. The address book page includes 3 groups of contact lists. Due to the limited size of the display interface, only the contact information of contact list 1 and the data source of contact list 2 (mobile phone contacts) are displayed on the current display interface, which is not displayed. Contact list 3 information. On the right side of the display interface is the address book index, which includes 3 sets of sub-indexes, corresponding to the 3 sets of contact lists. In practical applications, the address book index can also be displayed on the left side of the display interface, or dynamically displayed as needed.
在一个实施例中,同一条目组内的各个条目按照预设的显示顺序在页面上顺序显示。例如,对于通讯录页面,在支付宝联系人列表中,各个支付宝联系人信息按照姓名或名称的首字母顺序显示;同时,在手机联系人列表中,各个手机联系人信息也按照姓 名或名称的首字母顺序显示,支付宝联系人列表和手机联系人列表中的联系人信息互相独立,互不影响。In one embodiment, each item in the same item group is displayed sequentially on the page according to a preset display order. For example, for the address book page, in the Alipay contact list, each Alipay contact information is displayed in the order of the first name or name; at the same time, in the mobile phone contact list, each mobile phone contact information is also in accordance with the first name or name Displayed in alphabetical order, the contact information in the Alipay contact list and the mobile phone contact list are independent of each other and do not affect each other.
上述页面中的子索引的实施例与前述页面索引中子索引的实施例相同,此处不再赘述。The embodiment of the sub-index in the above-mentioned page is the same as the embodiment of the sub-index in the aforementioned page index, which will not be repeated here.
本说明书实施例还提供一种客户端,该客户端可包括任一实施例的通讯录。An embodiment of this specification also provides a client, and the client may include the address book of any embodiment.
如图6所示,本说明书实施例还提供一种数据处理方法,该方法基于以上任一实施例的页面索引,所述方法可包括:As shown in FIG. 6, an embodiment of the present specification also provides a data processing method, which is based on the page index of any of the above embodiments. The method may include:
步骤602:检测对子索引的移动触发指令,所述移动触发指令中包括用于指示所述子索引在页面上进行移动的移动方式信息;Step 602: Detect a movement trigger instruction for the sub-index, where the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
步骤604:控制所述子索引根据所述移动方式信息在所述页面上进行移动。Step 604: Control the sub-index to move on the page according to the movement mode information.
进一步地,当关联条目组在页面上被移动时,控制与所述关联条目组相关联的子索引在所述页面上与所述关联条目组联动。Further, when the associated item group is moved on the page, the sub-index associated with the associated item group is controlled to be linked with the associated item group on the page.
进一步地,所述移动方式信息包括所述子索引在移动过程中的动画效果,所述动画效果包括以下任一:所述子索引的颜色逐渐变深或者逐渐变浅;所述子索引中各个字符的字号按照预设的顺序先增大后减小,其中,前一字符的字号减小后,后一字符的字号开始增大;所述子索引中各个字符的位置依次按照预先设置的偏移方式先偏移后还原,其中,前一字符的位置还原后,后一字符的位置开始偏移;子索引上的各个字符沿着缩放轴缩小,并在缩小的过程中移动至同一个缩放中心然后隐藏;或者子索引展开显示时的神灯效果即为将子索引上的各个字符从同一个缩放中心移动至页面的预设位置处,并在移动过程中沿着缩放轴放大。Further, the movement mode information includes an animation effect of the sub-index during movement, and the animation effect includes any of the following: the color of the sub-index gradually becomes darker or gradually lighter; each of the sub-indexes The font size of the characters increases first and then decreases according to the preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase; the position of each character in the sub-index is sequentially set according to the preset bias The shifting method shifts first and then restores. After the position of the previous character is restored, the position of the next character begins to shift; each character on the sub-index shrinks along the zoom axis and moves to the same zoom center during the zooming process Then hide; or the magic lamp effect when the sub-index is expanded and displayed is to move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
如图7所示,本说明书实施例还提供一种数据处理装置,该装置基于以上任一实施例的页面索引,所述装置可包括:As shown in FIG. 7, an embodiment of this specification further provides a data processing device, which is based on the page index of any of the above embodiments, and the device may include:
检测模块702,用于检测对子索引的移动触发指令,所述移动触发指令中包括用于指示所述子索引在页面上进行移动的移动方式信息;The detection module 702 is configured to detect a movement trigger instruction for the sub-index, and the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
控制模块704,用于控制所述子索引根据所述移动方式信息在所述页面上进行移动。The control module 704 is configured to control the sub-index to move on the page according to the movement mode information.
上述装置中各个模块的功能和作用的实现过程具体详情见上述方法中对应步骤的实现过程,在此不再赘述。For specific details of the implementation process of the functions and functions of each module in the above device, see the implementation process of the corresponding steps in the above method, which will not be repeated here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实 施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, the relevant part can be referred to the description of the method embodiment. The device embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, may be located in One place, or can be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solution in this specification. Those of ordinary skill in the art can understand and implement without paying creative labor.
本说明书装置的实施例可以应用在计算机设备上,例如服务器或智能终端。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在文件处理的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图8所示,为本说明书装置所在计算机设备的一种硬件结构图,除了图8所示的处理器802、内存804、网络接口806、以及非易失性存储器808之外,实施例中装置所在的服务器或电子设备,通常根据该计算机设备的实际功能,还可以包括其他硬件,对此不再赘述。The embodiments of the apparatus in this specification can be applied to computer equipment, such as a server or an intelligent terminal. The device embodiments may be implemented by software, or by hardware or a combination of hardware and software. Taking software implementation as an example, as a device in a logical sense, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor in which the file processing is located. In terms of hardware, as shown in FIG. 8, it is a hardware structure diagram of the computer equipment where the device of this specification is located, except for the processor 802, memory 804, network interface 806, and non-volatile memory 808 shown in FIG. 8. In addition, in the embodiment, the server or the electronic device where the apparatus is located may generally include other hardware according to the actual function of the computer device, which will not be repeated here.
相应地,本说明书实施例还提供一种计算机存储介质,所述存储介质中存储有程序,所述程序被处理器执行时实现上述任一实施例中的方法。Correspondingly, the embodiments of the present specification also provide a computer storage medium in which a program is stored, and when the program is executed by a processor, the method in any of the foregoing embodiments is implemented.
相应地,本说明书实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任一实施例中的方法。Correspondingly, the embodiments of the present specification also provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, any of the above embodiments are implemented The method.
本申请可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。This application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. The information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
本领域技术人员在考虑说明书及实践这里公开的说明书后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精 神由下面的权利要求指出。After considering the description and practicing the description disclosed herein, those skilled in the art will easily think of other embodiments of the disclosure. This disclosure is intended to cover any variations, uses, or adaptive changes of this disclosure that follow the general principles of this disclosure and include common general knowledge or customary technical means in the technical field not disclosed in this disclosure . The description and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are pointed out by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present disclosure should be included in the present disclosure Within the scope of protection.

Claims (14)

  1. 一种页面索引,所述页面索引包括:A page index, the page index includes:
    多组相互独立的子索引;Multiple sets of independent sub-indexes;
    各组子索引分别与页面中不同的条目组相关联,每个条目组包括至少一个条目,并分别用于对各自的关联条目组中各个条目进行索引;Each sub-index is associated with a different item group on the page, and each item group includes at least one item, and is used to index each item in the respective associated item group;
    其中,不同条目组中的条目及其数据项由所述页面对应的页面管理模块分别从不同的数据源预先获取。Wherein, the entries and data items in different entry groups are pre-obtained from different data sources by the page management module corresponding to the pages, respectively.
  2. 根据权利要求1所述的页面索引,所述子索引包括:According to the page index of claim 1, the sub-index includes:
    字符索引模块和图标;Character index module and icon;
    所述图标用于在所述页面中指示所述子索引的关联条目组;The icon is used to indicate a group of related entries of the sub-index on the page;
    所述字符索引模块包括若干个字符,每个字符分别与关联条目组中的若干个条目相关联,并用于在所述页面中对关联条目进行索引。The character index module includes several characters, and each character is respectively associated with several entries in the associated entry group, and is used to index the associated entries in the page.
  3. 根据权利要求1所述的页面索引,各组子索引分别具有不同的属性信息,所述属性信息包括以下至少任一:颜色、字体、图标、字号。According to the page index of claim 1, each group of sub-indexes respectively has different attribute information, and the attribute information includes at least any of the following: color, font, icon, and font size.
  4. 根据权利要求1所述的页面索引,所述子索引还用于:According to the page index of claim 1, the sub-index is further used for:
    接收移动触发指令;Receive mobile trigger instructions;
    响应所述移动触发指令,以在所述页面上移动。In response to the movement trigger instruction, to move on the page.
  5. 根据权利要求1所述的页面索引,所述子索引还用于:According to the page index of claim 1, the sub-index is further used for:
    当关联条目组在页面上被移动时,在所述页面上与所述关联条目组联动。When the associated item group is moved on the page, the associated item group is linked on the page.
  6. 一种通讯录,所述通讯录包括:An address book, the address book includes:
    多组联系人列表,每组联系人列表包括若干个联系人条目,每个联系人条目包括若干项联系人信息,且不同联系人列表中的联系人条目及其联系人信息由通讯录对应的通讯录管理模块分别从不同的数据源获取;以及Multiple groups of contact lists, each group of contact lists includes several contact entries, each contact entry includes several contact information, and the contact entries and their contact information in different contact lists are corresponded by the address book The address book management module is obtained from different data sources; and
    多组相互独立的子索引,各组子索引分别与通讯录中不同的联系人列表相关联,并分别用于对各自的关联联系人列表中各个联系人条目进行索引。Multiple sets of mutually independent sub-indexes, each sub-index is associated with a different contact list in the address book, and is used to index each contact entry in its associated contact list.
  7. 根据权利要求6所述的通讯录,同一联系人列表内的各个联系人条目按照预设的显示顺序在通讯录上顺序显示。According to the address book of claim 6, each contact entry in the same contact list is sequentially displayed on the address book in a preset display order.
  8. 一种客户端,所述客户端包括权利要求6或7所述的通讯录。A client including the address book according to claim 6 or 7.
  9. 一种基于权利要求1至5任意一项所述的页面索引的数据处理方法,所述方法包括:A data processing method based on the page index according to any one of claims 1 to 5, the method comprising:
    检测对子索引的移动触发指令,所述移动触发指令中包括用于指示所述子索引在页 面上进行移动的移动方式信息;Detecting a movement trigger instruction for the sub-index, where the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
    控制所述子索引根据所述移动方式信息在所述页面上进行移动。Controlling the sub-index to move on the page according to the movement mode information.
  10. 根据权利要求9所述的方法,所述方法还包括:The method according to claim 9, further comprising:
    当关联条目组在页面上被移动时,控制与所述关联条目组相关联的子索引在所述页面上与所述关联条目组联动。When the associated item group is moved on the page, the sub-index associated with the associated item group is controlled to be linked with the associated item group on the page.
  11. 根据权利要求9或10所述的方法,所述移动方式信息包括所述子索引在移动过程中的动画效果,所述动画效果包括以下任一:The method according to claim 9 or 10, wherein the movement mode information includes an animation effect of the sub-index during movement, and the animation effect includes any of the following:
    所述子索引的颜色逐渐变深或者逐渐变浅;The color of the sub-index gradually becomes darker or gradually lighter;
    所述子索引中各个字符的字号按照预设的顺序先增大后减小,其中,前一字符的字号减小后,后一字符的字号开始增大;The font size of each character in the sub-index increases first and then decreases according to a preset order, wherein after the font size of the previous character decreases, the font size of the latter character begins to increase;
    所述子索引中各个字符的位置依次按照预先设置的偏移方式先偏移后还原,其中,前一字符的位置还原后,后一字符的位置开始偏移;The position of each character in the sub-index is sequentially shifted first and then restored according to a preset offset method, wherein after the position of the previous character is restored, the position of the latter character begins to shift;
    子索引上的各个字符沿着缩放轴缩小,并在缩小的过程中移动至同一个缩放中心然后隐藏;或者Each character on the sub-index shrinks along the zoom axis, and moves to the same zoom center during the zoom-out process and then hides; or
    子索引展开显示时的神灯效果即为将子索引上的各个字符从同一个缩放中心移动至页面的预设位置处,并在移动过程中沿着缩放轴放大。The magic lamp effect when the sub-index is expanded and displayed is to move each character on the sub-index from the same zoom center to the preset position of the page, and zoom in along the zoom axis during the movement.
  12. 一种基于权利要求1至5任意一项所述的页面索引的数据处理装置,所述装置包括:A data processing device based on the page index according to any one of claims 1 to 5, the device comprising:
    检测模块,用于检测对子索引的移动触发指令,所述移动触发指令中包括用于指示所述子索引在页面上进行移动的移动方式信息;A detection module, configured to detect a movement trigger instruction for the sub-index, and the movement trigger instruction includes movement mode information for instructing the sub-index to move on the page;
    控制模块,用于控制所述子索引根据所述移动方式信息在所述页面上进行移动。The control module is used to control the sub-index to move on the page according to the movement mode information.
  13. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求9至11任意一项所述的方法。A computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the method of any one of claims 9 to 11.
  14. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求9至11任意一项所述的方法。A computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the method according to any one of claims 9 to 11 is implemented.
PCT/CN2019/112557 2018-12-11 2019-10-22 Page index, address book, client, and data processing method and apparatus WO2020119253A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811508796.6A CN110032673A (en) 2018-12-11 2018-12-11 Page index, address list, client, data processing method and device
CN201811508796.6 2018-12-11

Publications (1)

Publication Number Publication Date
WO2020119253A1 true WO2020119253A1 (en) 2020-06-18

Family

ID=67235305

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/112557 WO2020119253A1 (en) 2018-12-11 2019-10-22 Page index, address book, client, and data processing method and apparatus

Country Status (3)

Country Link
CN (1) CN110032673A (en)
TW (1) TWI793368B (en)
WO (1) WO2020119253A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4093001A4 (en) * 2020-08-24 2023-08-23 Honor Device Co., Ltd. Index display method, electronic device, and computer readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032673A (en) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 Page index, address list, client, data processing method and device
CN112948422A (en) * 2021-03-11 2021-06-11 北京小米移动软件有限公司 Contact person searching method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036428A1 (en) * 2010-08-04 2012-02-09 Sony Ericsson Mobile Communications Ab Advanced scrolling
CN103139274A (en) * 2011-12-05 2013-06-05 上海博路信息技术有限公司 Address list integrating social relations
CN104333635A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Method and device of processing list for collected contacts
CN105472090A (en) * 2016-01-13 2016-04-06 陈包容 Address list contact person merging method and device
CN106559537A (en) * 2016-11-02 2017-04-05 四川差旅壹号科技有限公司 Book management method and address book management device
CN110032673A (en) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 Page index, address list, client, data processing method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI287385B (en) * 2005-11-03 2007-09-21 Asustek Comp Inc Method for synchronizing two contact data of two storage media in a communications system
CN100419761C (en) * 2005-12-31 2008-09-17 腾讯科技(深圳)有限公司 Contact grouping display method
EP2438571A4 (en) * 2009-06-02 2014-04-30 Yahoo Inc Self populating address book
CN105847313A (en) * 2015-01-16 2016-08-10 薛舒文 Method for implementing mobile phone smart cloud service address book
CN106294404A (en) * 2015-05-21 2017-01-04 阿里巴巴集团控股有限公司 A kind of method and apparatus retrieving location information in list
CN105786355A (en) * 2016-03-22 2016-07-20 珠海格力电器股份有限公司 Method and device for positioning contact persons on terminal and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036428A1 (en) * 2010-08-04 2012-02-09 Sony Ericsson Mobile Communications Ab Advanced scrolling
CN103139274A (en) * 2011-12-05 2013-06-05 上海博路信息技术有限公司 Address list integrating social relations
CN104333635A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Method and device of processing list for collected contacts
CN105472090A (en) * 2016-01-13 2016-04-06 陈包容 Address list contact person merging method and device
CN106559537A (en) * 2016-11-02 2017-04-05 四川差旅壹号科技有限公司 Book management method and address book management device
CN110032673A (en) * 2018-12-11 2019-07-19 阿里巴巴集团控股有限公司 Page index, address list, client, data processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4093001A4 (en) * 2020-08-24 2023-08-23 Honor Device Co., Ltd. Index display method, electronic device, and computer readable storage medium

Also Published As

Publication number Publication date
TWI793368B (en) 2023-02-21
CN110032673A (en) 2019-07-19
TW202022642A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
JP6488265B2 (en) User interface for accessing documents from a computing device
US9442627B2 (en) Expandable two-dimensional flow for container hierarchy
US8244757B2 (en) Facet-based interface for mobile search
WO2020119253A1 (en) Page index, address book, client, and data processing method and apparatus
US20080307350A1 (en) Method and Apparatus for Improved Desktop Arrangement
CN104317474A (en) Window switching method and device
CN102929552B (en) Terminal and information searching method
US20190317658A1 (en) Interaction method and device for a flexible display screen
US8819593B2 (en) File management user interface
CN105094557A (en) Method and device for display control, and electronic device
CN108710457B (en) Interaction method and terminal equipment
US9740673B2 (en) Presentation of hierarchical data in multiple consistent views
US20190220170A1 (en) Method and apparatus for creating group
KR20150034298A (en) Method and device for displaying interface
US20120191756A1 (en) Terminal having searching function and method for searching using data saved in clipboard
CN105740454A (en) Display method and device of picture folder and electronic equipment
CN103714076A (en) Electronic device and file browsing method
CN105892792A (en) Operation method of terminal equipment, and terminal equipment
CN109445668B (en) Screen-locked magazine display method and device, storage medium and mobile terminal
US20140372886A1 (en) Providing help on visual components displayed on touch screens
CN105653145A (en) Method and device for processing display object
WO2022161471A1 (en) Display method and apparatus, and electronic device
US9268848B2 (en) Semantic navigation through object collections
US20220129117A1 (en) Method for generating desktop of mobile terminal, device and electronic device
JP2015141576A (en) Information processing device, information processing system, and program

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: 19895057

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19895057

Country of ref document: EP

Kind code of ref document: A1