技术领域technical field
本公开涉及终端技术领域,尤其涉及一种界面展示的方法及装置。The present disclosure relates to the technical field of terminals, and in particular to a method and device for displaying an interface.
背景技术Background technique
随着终端技术的发展,越来越多的用户选择使用终端浏览新闻、短信、博客等内容项,这些内容项都包含多个不同主题的内容单元,以新闻为例,其可以包括“A”、“B”、“C”、“D”等多个不同主题的内容单元,通常情况下,终端可以提供针对这些内容单元的目录列表,以使用户通过目录列表中的目录项快速定位自己想要详细浏览的某一内容单元。With the development of terminal technology, more and more users choose to use terminals to browse content items such as news, text messages, and blogs. These content items contain multiple content units with different themes. Taking news as an example, it may include "A" , "B", "C", "D" and other content units with different themes. Usually, the terminal can provide a directory list for these content units, so that users can quickly locate the content they want through the directory items in the directory list. A unit of content to browse in detail.
相关技术中,终端可以提供用于展示上述目录列表的列表界面,当用户在上述列表界面中看到自己想要详细浏览的某一目录项时,可以对该目录项执行触发操作,而终端检测到该触发操作后,可以将当前展示的列表界面切换至信息界面,并在该信息界面中展示该目录项对应的目录项信息,也即是该目录项对应内容单元的具体内容,而当用户浏览完该目录项信息后,用户可以通过触发返回选项等操作将当前展示的信息界面切换至列表界面。In related technologies, the terminal can provide a list interface for displaying the above-mentioned directory list. When the user sees a certain directory item that he wants to browse in detail in the above-mentioned list interface, he can perform a trigger operation on the directory item, and the terminal detects After the trigger operation, the currently displayed list interface can be switched to the information interface, and the directory item information corresponding to the directory item is displayed on the information interface, that is, the specific content of the content unit corresponding to the directory item. When the user After browsing the directory item information, the user can switch the currently displayed information interface to the list interface by triggering operations such as the return option.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种界面展示的方法及装置。In order to overcome the problems existing in the related technologies, the present disclosure provides a method and device for displaying an interface.
根据本公开实施例的第一方面,提供一种界面展示的方法,包括:According to the first aspect of the embodiments of the present disclosure, a method for displaying an interface is provided, including:
显示列表界面,所述列表界面包括以列表形式排列的多个目录项;displaying a list interface, the list interface including a plurality of directory items arranged in a list form;
当检测到对所述列表界面中任一目录项的触发操作后,获取所述触发操作对应目录项的目录项信息;When a trigger operation on any directory item in the list interface is detected, the directory item information of the directory item corresponding to the trigger operation is obtained;
在所述列表界面中与所述触发操作对应目录项对应的位置,显示所述触发操作对应目录项的展开区域,所述展开区域用于展示所述目录项信息。In the position corresponding to the directory item corresponding to the trigger operation in the list interface, an expanded area of the directory item corresponding to the triggered operation is displayed, and the expanded area is used to display the information of the directory item.
在第一方面的第一种可能的实施方式中,所述显示所述触发操作对应目录项的展开区域之后,所述方法还包括:In a first possible implementation manner of the first aspect, after displaying the expanded area of the directory item corresponding to the trigger operation, the method further includes:
当检测到对所述触发操作对应目录项的第一指定操作后,在所述列表界面中收起所述展开区域。After the first designated operation on the directory item corresponding to the trigger operation is detected, the expanded area is collapsed in the list interface.
在第一方面的第二种可能的实施方式中,所述获取所述触发操作对应目录项的目录项信息之后,所述方法还包括:In the second possible implementation manner of the first aspect, after the acquisition of the directory item information of the directory item corresponding to the trigger operation, the method further includes:
根据终端的型号和配置信息,获取展示所述目录项信息所需要的展示尺寸。According to the model and configuration information of the terminal, the display size required for displaying the directory item information is obtained.
在第一方面的第三种可能的实施方式中,所述在所述列表界面中与所述触发操作对应目录项对应的位置,显示所述触发操作对应目录项的展开区域,所述展开区域用于展示所述目录项信息包括:In a third possible implementation manner of the first aspect, the location corresponding to the directory item corresponding to the trigger operation in the list interface displays an expanded area of the directory item corresponding to the triggered operation, and the expanded area Information used to display the catalog item includes:
判断所述列表界面是否能够提供符合所述展示尺寸的展开区域;Judging whether the list interface can provide an expansion area conforming to the display size;
若所述列表界面能够提供符合所述展示尺寸的展开区域,则在所述列表界面中与所述触发操作对应目录项对应的位置,显示符合所述展示尺寸的展开区域,并在符合所述展示尺寸的展开区域中展示所述目录项信息的全部内容;If the list interface can provide an expansion area conforming to the display size, display the expansion area conforming to the display size at the position corresponding to the directory item corresponding to the trigger operation in the list interface, and display the expansion area conforming to the display size. The entire content of the catalog item information is displayed in the expanded area of the display size;
若所述列表界面不能够提供符合所述展示尺寸的展开区域,则在所述列表界面中与所述触发操作对应目录项对应的位置,显示预设尺寸的展开区域,并在所述预设尺寸的展开区域中展示所述目录项信息中预设长度的内容。If the list interface cannot provide an expansion area conforming to the display size, display an expansion area of a preset size at the position corresponding to the directory item corresponding to the trigger operation in the list interface, and display the expansion area in the preset size. The content of the preset length in the directory item information is displayed in the expanded area of the size.
在第一方面的第四种可能的实施方式中,所述在所述预设尺寸的展开区域中展示所述目录项信息中预设长度的内容之后,所述方法还包括:In a fourth possible implementation manner of the first aspect, after displaying content of a preset length in the directory item information in the expanded area of the preset size, the method further includes:
当检测到第二指定操作后,根据所述第二指定操作,展示所述目录项信息的剩余内容。After the second specified operation is detected, the remaining content of the directory item information is displayed according to the second specified operation.
根据本公开实施例的第二方面,提供一种界面展示的装置,包括:According to the second aspect of the embodiments of the present disclosure, an interface display device is provided, including:
界面显示模块,用于显示列表界面,所述列表界面包括以列表形式排列的多个目录项;The interface display module is used to display a list interface, and the list interface includes a plurality of directory items arranged in a list form;
获取模块,用于当检测到对所述界面显示模块显示的所述列表界面中任一目录项的触发操作后,获取所述触发操作对应目录项的目录项信息;An acquisition module, configured to acquire the directory item information of the directory item corresponding to the trigger operation after detecting a trigger operation on any directory item in the list interface displayed by the interface display module;
区域显示模块,用于在所述界面显示模块显示的所述列表界面中与所述触发操作对应目录项对应的位置,显示所述触发操作对应目录项的展开区域,所述展开区域用于展示所述获取模块获取的所述目录项信息。The area display module is used to display the expansion area of the directory item corresponding to the trigger operation at the position corresponding to the directory item corresponding to the trigger operation in the list interface displayed by the interface display module, and the expansion area is used for displaying The directory item information obtained by the obtaining module.
在第二方面的第一种可能的实施方式中,所述装置还包括:In a first possible implementation manner of the second aspect, the device further includes:
收起模块,用于当检测到对所述触发操作对应目录项的第一指定操作后,在所述界面显示模块显示的所述列表界面中收起所述区域显示模块显示的所述展开区域。A retracting module, configured to retract the expanded area displayed by the area display module in the list interface displayed by the interface display module after detecting the first specified operation on the directory item corresponding to the trigger operation .
在第二方面的第二种可能的实施方式中,所述装置还包括:In a second possible implementation manner of the second aspect, the device further includes:
尺寸获取模块,用于根据终端的型号和配置信息,获取展示所述获取模块获取的所述目录项信息所需要的展示尺寸。The size obtaining module is configured to obtain, according to the model and configuration information of the terminal, the display size required for displaying the directory item information obtained by the obtaining module.
在第二方面的第三种可能的实施方式中,所述区域显示模块包括:In a third possible implementation manner of the second aspect, the area display module includes:
判断子模块,用于判断所述界面显示模块显示的所述列表界面是否能够提供符合所述尺寸获取模块获取的所述展示尺寸的展开区域;A judging submodule, configured to judge whether the list interface displayed by the interface display module can provide an expanded area conforming to the display size acquired by the size acquisition module;
第一区域显示子模块,用于若所述判断子模块确定所述界面显示模块显示的所述列表界面能够提供符合所述尺寸获取模块获取的所述展示尺寸的展开区域,则在所述界面显示模块显示的所述列表界面中与所述触发操作对应目录项对应的位置,显示符合所述尺寸获取模块获取的所述展示尺寸的展开区域,并在符合所述尺寸获取模块获取的所述展示尺寸的展开区域中展示所述获取模块获取的所述目录项信息的全部内容;The first area display sub-module is configured to, if the judging sub-module determines that the list interface displayed by the interface display module can provide an expanded area conforming to the display size acquired by the size acquisition module, then on the interface displaying the position corresponding to the directory item corresponding to the trigger operation in the list interface displayed by the display module, displaying the expansion area conforming to the display size acquired by the size acquiring module, and displaying all content of the directory item information acquired by the acquisition module in the expanded area of the display size;
第二区域显示子模块,用于若所述判断子模块确定所述界面显示模块显示的所述列表界面不能够提供符合所述尺寸获取模块获取的所述展示尺寸的展开区域,则在所述界面显示模块显示的所述列表界面中与所述触发操作对应目录项对应的位置,显示预设尺寸的展开区域,并在所述预设尺寸的展开区域中展示所述获取模块获取的所述目录项信息中预设长度的内容。The second area display submodule is configured to, if the judging submodule determines that the list interface displayed by the interface display module cannot provide an expanded area conforming to the display size acquired by the size acquisition module, then in the The position corresponding to the directory item corresponding to the trigger operation in the list interface displayed by the interface display module displays an expansion area of a preset size, and displays the information acquired by the acquisition module in the expansion area of a preset size. Content of preset length in directory entry information.
在第二方面的第四种可能的实施方式中,所述装置还包括:In a fourth possible implementation manner of the second aspect, the device further includes:
剩余内容展示模块,用于当检测到第二指定操作后,根据所述第二指定操作,展示所述获取模块获取的所述目录项信息的剩余内容。The remaining content display module is configured to display the remaining content of the directory item information acquired by the acquisition module according to the second specified operation after the second specified operation is detected.
根据本公开实施例的第三方面,提供一种界面展示的装置,包括:According to a third aspect of the embodiments of the present disclosure, an interface display device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
显示列表界面,所述列表界面包括以列表形式排列的多个目录项;displaying a list interface, the list interface including a plurality of directory items arranged in a list form;
当检测到对所述列表界面中任一目录项的触发操作后,获取所述触发操作对应目录项的目录项信息;When a trigger operation on any directory item in the list interface is detected, the directory item information of the directory item corresponding to the trigger operation is acquired;
在所述列表界面中与所述触发操作对应目录项对应的位置,显示所述触发操作对应目录项的展开区域,所述展开区域用于展示所述目录项信息。In the position corresponding to the directory item corresponding to the trigger operation in the list interface, an expanded area of the directory item corresponding to the triggered operation is displayed, and the expanded area is used to display the information of the directory item.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
通过在接收到用户对列表界面中的任一目录项的触发操作后,在该目录项对应的位置展示该目录项的目录项信息,也即是,终端可以在包括其他目录项的列表界面中对该目录项的目录项信息进行展示,而不需要进行界面切换在另一界面中对该目录项信息进行展示,使得用户在浏览某一目录项的目录项信息时,以及对该目录项信息浏览结束返回浏览目录项时,都不需要进行界面切换, 从而简化了操作步骤,增加了用户的粘性。By displaying the directory item information of the directory item at the position corresponding to the directory item after receiving the user's trigger operation on any directory item in the list interface, that is, the terminal can display the directory item information in the list interface including other directory items Display the directory item information of the directory item without switching the interface. Display the directory item information in another interface, so that when the user browses the directory item information of a certain directory item, as well as the directory item information When returning to browse directory items after browsing, there is no need to switch the interface, thereby simplifying the operation steps and increasing the stickiness of users.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种界面展示的方法的流程图。Fig. 1 is a flowchart of a method for displaying an interface according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种界面展示的方法的流程图。Fig. 2 is a flowchart of a method for displaying an interface according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种列表界面的示意图。Fig. 3 is a schematic diagram of a list interface according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种展开区域的示意图。Fig. 4 is a schematic diagram of an unfolding area according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种界面展示的装置500的框图。Fig. 5 is a block diagram of an interface display device 500 according to an exemplary embodiment.
图6A是根据一示例性实施例示出的一种界面展示的装置600的框图。Fig. 6A is a block diagram of an interface display device 600 according to an exemplary embodiment.
图6B是根据一示例性实施例示出的一种区域显示模块530的框图。Fig. 6B is a block diagram of an area display module 530 according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种界面展示的装置700的框图。Fig. 7 is a block diagram of an interface display device 700 according to an exemplary embodiment.
具体实施方式detailed description
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种界面展示的方法的流程图,如图1所示,该界面展示的方法用于终端中,包括以下步骤。Fig. 1 is a flowchart of a method for displaying an interface according to an exemplary embodiment. As shown in Fig. 1, the method for displaying an interface is used in a terminal and includes the following steps.
在步骤110中,终端显示列表界面,该列表界面包括以列表形式排列的多个目录项。In step 110, the terminal displays a list interface, and the list interface includes a plurality of directory items arranged in a list form.
在步骤120中,当终端检测到对该列表界面中任一目录项的触发操作后,获取该触发操作对应目录项的目录项信息。In step 120, after the terminal detects a trigger operation on any directory item in the list interface, it acquires directory item information of the directory item corresponding to the trigger operation.
在步骤130中,终端在该列表界面中与该触发操作对应目录项对应的位置,显示该触发操作对应目录项的展开区域,该展开区域用于展示该目录项信息。In step 130, the terminal displays an expanded area of the directory item corresponding to the triggered operation at a position corresponding to the directory item corresponding to the triggered operation in the list interface, and the expanded area is used to display information of the directory item.
综上所述,本实施例提供的界面展示的方法,通过在接收到用户对列表界面中的任一目录项的触发操作后,在该目录项对应的位置展示该目录项的目录项信息,也即是,终端可以在包括其他目录项的列表界面中对该目录项的目录项信息进行展示,而不需要进行界面切换在另一界面中对该目录项信息进行展示,使得用户在浏览某一目录项的目录项信息时,以及对该目录项信息浏览结束返回浏览目录项时,都不需要进行界面切换,从而简化了操作步骤,增加了用户的粘性。To sum up, the interface display method provided by this embodiment displays the directory item information of the directory item at the position corresponding to the directory item after receiving the user's trigger operation on any directory item in the list interface, That is to say, the terminal can display the directory item information of the directory item in the list interface including other directory items, without switching the interface to display the directory item information in another interface, so that the user browses a certain directory item. There is no need to switch the interface when viewing the directory item information of a directory item, and when returning to browse the directory item after browsing the directory item information, thereby simplifying the operation steps and increasing user stickiness.
在第一种可能的实施方式中,该显示该触发操作对应目录项的展开区域之后,上述界面展示的方法还包括:In a first possible implementation manner, after displaying the expanded area of the directory item corresponding to the trigger operation, the method for displaying the above interface further includes:
当检测到对该触发操作对应目录项的第一指定操作后,在该列表界面中收起该展开区域。After the first designated operation of the directory item corresponding to the trigger operation is detected, the expanded area is collapsed in the list interface.
在第二种可能的实施方式中,该获取该触发操作对应目录项的目录项信息之后,上述界面展示的方法还包括:In the second possible implementation manner, after obtaining the directory item information of the directory item corresponding to the trigger operation, the method for displaying the above interface further includes:
根据终端的型号和配置信息,获取展示该目录项信息所需要的展示尺寸。According to the model and configuration information of the terminal, obtain the display size required for displaying the directory item information.
在第三种可能的实施方式中,该在该列表界面中与该触发操作对应目录项对应的位置,显示该触发操作对应目录项的展开区域,该展开区域用于展示该目录项信息包括:In a third possible implementation manner, the position corresponding to the directory item corresponding to the trigger operation in the list interface displays an expanded area of the directory item corresponding to the triggered operation, and the expanded area is used to display information of the directory item including:
判断该列表界面是否能够提供符合该展示尺寸的展开区域;Determine whether the list interface can provide an expanded area that meets the display size;
若该列表界面能够提供符合该展示尺寸的展开区域,则在该列表界面中与该触发操作对应目录项对应的位置,显示符合该展示尺寸的展开区域,并在符合该展示尺寸的展开区域中展示该目录项信息的全部内容;If the list interface can provide an expansion area conforming to the display size, display the expansion area conforming to the display size at the position corresponding to the catalog item corresponding to the trigger operation in the list interface, and display the expansion area conforming to the display size in the expansion area conforming to the display size Display the entire content of the directory item information;
若该列表界面不能够提供符合该展示尺寸的展开区域,则在该列表界面中与该触发操作对应目录项对应的位置,显示预设尺寸的展开区域,并在该预设尺寸的展开区域中展示该目录项信息中预设长度的内容。If the list interface cannot provide an expansion area that meets the display size, display an expansion area of a preset size in the position corresponding to the directory item corresponding to the trigger operation in the list interface, and display the expansion area in the expansion area of the preset size Display the content of the preset length in the directory item information.
在第四种可能的实施方式中,该在该预设尺寸的展开区域中展示该目录项信息中预设长度的内容之后,上述界面展示的方法还包括:In a fourth possible implementation manner, after displaying the content of the preset length in the directory item information in the expanded area of the preset size, the above method for displaying the interface further includes:
当检测到第二指定操作后,根据该第二指定操作,展示该目录项信息的剩余内容。After the second specified operation is detected, the remaining content of the directory item information is displayed according to the second specified operation.
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be repeated here.
图2是根据一示例性实施例示出的一种界面展示的方法的流程图,如图2 所示,该界面展示的方法用于终端中,包括以下步骤。Fig. 2 is a flowchart of a method for displaying an interface according to an exemplary embodiment. As shown in Fig. 2, the method for displaying an interface is used in a terminal and includes the following steps.
在步骤210中,终端显示列表界面,该列表界面包括以列表形式排列的多个目录项。In step 210, the terminal displays a list interface, and the list interface includes a plurality of directory items arranged in a list form.
在日常生活中,很多用户习惯于使用终端浏览新闻、博客等内容项,这些内容项往往包含多个不同主题的内容子模块,以新闻为例,其可以包括“A”、“B”、“C”等多个不同主题的内容子模块,这些内容子模块往往可以包括标题及具体内容两个部分。读者应该理解,上述举例中“A”等实际上只是内容子模块的标题部分,而“A”对应的内容子模块的具体内容可以为“A先生强调要努力学习、工作”。用户往往不需要通篇阅读内容子模块的具体内容,而只需要浏览标题就可以判断自身是否对该内容子模块感兴趣,因此,为了让用户能够快速地定位自己感兴趣的内容子模块,终端可以提供并显示上述列表界面。具体地,终端可以在接收到用户的指定操作后,向指定服务器发送列表获取请求,该指定服务器接收到该列表获取请求后,向该终端返回多个目录项,终端接收到该多个目录项后,以该多个目录项为列表元素生成列表界面,或者,该指定服务器接收到列表获取请求后,直接向终端返回列表界面,终端接收到该列表界面后对其进行显示。需要说明的是,上述指定操作可以是对某一应用的触发操作,也可以是对指定服务器提供的列表显示选项的触发操作等,本公开对此不做具体限定。In daily life, many users are accustomed to using terminals to browse content items such as news and blogs. These content items often contain multiple content sub-modules with different themes. Taking news as an example, it can include "A", "B", " C" and other content sub-modules with different themes, these content sub-modules can often include two parts: title and specific content. Readers should understand that "A" in the above example is actually only the title part of the content sub-module, and the specific content of the content sub-module corresponding to "A" can be "Mr. A emphasizes studying and working hard". Users often do not need to read the specific content of the content sub-module, but only need to browse the title to judge whether they are interested in the content sub-module. Therefore, in order to allow users to quickly locate the content sub-module they are interested in, the terminal The list interface described above may be provided and displayed. Specifically, after receiving the specified operation from the user, the terminal may send a list acquisition request to the specified server, and after receiving the list acquisition request, the specified server returns multiple directory items to the terminal, and the terminal receives the multiple directory item Afterwards, a list interface is generated using the plurality of directory items as list elements, or, after receiving the list acquisition request, the designated server directly returns the list interface to the terminal, and the terminal displays the list interface after receiving the list interface. It should be noted that the above specified operation may be a trigger operation for a certain application, or a trigger operation for a list display option provided by a specified server, etc., which is not specifically limited in the present disclosure.
如图3所示为列表界面的示意图,其中310所示为内容子模块的标题,而320所示为内容子模块的具体内容预览,上述内容子模块的具体内容预览可以为内容子模块的具体内容的摘要,或者,内容子模块的具体内容的起始部分等,本公开对此不做具体限定。列表界面通过展示内容子模块具体内容预览,可以帮助用户进一步理解内容子模块的标题,防止用户对内容子模块的标题理解出现偏差,同时内容子模块的具体内容预览还可以为用户提供内容子模块具体内容的信息,以使用户更容易确定自己对该内容子模块是否感兴趣。此外,310和320可以共同组成一个目录项,也即是,步骤210中所述的目录项可以包括内容子模块的标题以及内容子模块具体内容预览。当然,在实际应用中,列表界面也可以不展示内容子模块的具体内容预览,而只展示内容子模块的标题,也即是,该目录项可以只包括内容子模块的标题,用户可以通过上述列表界面浏览目录项,从而快速定位自己感兴趣的内容子模块。As shown in Figure 3, it is a schematic diagram of the list interface, wherein 310 shows the title of the content sub-module, and 320 shows the specific content preview of the content sub-module, the specific content preview of the above-mentioned content sub-module can be the specific content of the content sub-module The summary of the content, or the beginning of the specific content of the content sub-module, etc., are not specifically limited in this disclosure. The list interface can help users further understand the title of the content sub-module by displaying the specific content preview of the content sub-module, and prevent users from misunderstood the title of the content sub-module. At the same time, the specific content preview of the content sub-module can also provide users with content sub-modules Information about the specific content to make it easier for users to determine whether they are interested in the content sub-module. In addition, 310 and 320 may jointly form a directory item, that is, the directory item described in step 210 may include the title of the content sub-module and the specific content preview of the content sub-module. Of course, in practical applications, the list interface may not display the specific content preview of the content sub-module, but only display the title of the content sub-module, that is, the directory item may only include the title of the content sub-module, and the user can pass the above The list interface browses directory items, so as to quickly locate the content sub-module you are interested in.
如图3所示,多个目录项在列表界面中以列表的形式进行排列。但是,图3仅显示了目录项的一种排列方式,也即是由上至下依次排列的方式,事实上, 目录项的排列方式可以不止一种,例如,上述列表界面可以分成多个栏,目录项可以在上述多个栏中以列表形式进行排列等,本公开对目录项的排列方式不做具体限定。As shown in FIG. 3, multiple directory items are arranged in the form of a list in the list interface. However, Figure 3 only shows one arrangement of directory items, that is, the arrangement from top to bottom. In fact, there may be more than one arrangement of directory items. For example, the above-mentioned list interface can be divided into multiple columns , the directory items can be arranged in the form of a list in the above multiple columns, etc., and the present disclosure does not specifically limit the arrangement of the directory items.
在步骤220中,当终端检测到对该列表界面中任一目录项的触发操作后,获取该触发操作对应目录项的目录项信息。In step 220, after the terminal detects a trigger operation on any directory item in the list interface, it acquires directory item information of the directory item corresponding to the trigger operation.
用户浏览列表界面中的目录项时,可能发现自己感兴趣的目录项,此时用户可以触发该目录项,以使终端获取该目录项的目录项信息,该目录项信息即为上文所述的内容子模块的具体内容。在后续步骤中,终端可以展示该目录项信息。When the user browses the directory items in the list interface, he may find the directory item he is interested in. At this time, the user can trigger the directory item to make the terminal obtain the directory item information of the directory item. The directory item information is the above-mentioned The specific content of the content submodule. In subsequent steps, the terminal can display the directory item information.
具体地,用户可以通过滑动操作等方式对列表界面中的目录项进行浏览,当用户发现自己感兴趣的目录项时,可以对该目录项进行触发操作,如,终端可以双击该目录项、或者,终端可以长按该目录项等,本公开对上述触发操作的形式不做具体限定。终端检测到用户对该目录项的触发操作后,获取该目录项的标识,并向指定服务器发送目录项信息获取请求,该目录项信息获取请求包括该目录项的标识。该指定服务器接收到上述目录项信息获取请求后,提取出该目录项的标识,该指定服务器以该目录项的标识为索引在目录项信息数据库中查询与该目录项的标识匹配的目录项信息。该指定服务器可以将其查询到的目录项信息发送至终端,如果该指定服务器没有查询到匹配的目录项信息,则该指定服务器可以向终端发送获取失败通知,终端接收到该获取失败通知后,对用户进行提示。Specifically, the user can browse the directory items in the list interface through sliding operations, etc. When the user finds a directory item that he is interested in, he can perform a trigger operation on the directory item, for example, the terminal can double-click the directory item, or , the terminal can press and hold the directory item, etc., and the present disclosure does not specifically limit the form of the above trigger operation. After detecting the user's trigger operation on the directory item, the terminal obtains the identifier of the directory item, and sends a request for obtaining directory item information to a designated server, where the request for obtaining directory item information includes the identifier of the directory item. After the designated server receives the request for obtaining the directory item information, it extracts the identifier of the directory item, and the designated server uses the identifier of the directory item as an index to query the directory item information matching the identifier of the directory item in the directory item information database . The designated server can send the directory item information it has queried to the terminal. If the designated server does not find matching directory item information, the designated server can send an acquisition failure notification to the terminal. After the terminal receives the acquisition failure notification, Prompt the user.
在步骤230中,终端根据自身的型号和配置信息,获取展示该目录项信息所需要的展示尺寸。In step 230, the terminal obtains the display size required for displaying the directory item information according to its own model and configuration information.
如图4所示,终端获取上述目录项信息之后,需要在上述列表界面的展开区域中,也即是图4中410所指示的区域中,展示上述目录项信息,并在上述列表界面的剩余区域中展示其他目录项。则容易想到的,终端在展示上述目录项信息之前,需要获取展示该目录项信息所需要的展示尺寸,以便根据该展示尺寸在列表界面中形成展开区域,以避免展开区域的尺寸相对目录项信息过大或者过小。显然地,若该展开区域的尺寸过大,则会造成界面空间的浪费,若该展开区域的尺寸过小,则不足以展示全部的目录项信息。As shown in Figure 4, after the terminal obtains the above-mentioned directory item information, it needs to display the above-mentioned directory item information in the expanded area of the above-mentioned list interface, that is, the area indicated by 410 in Figure 4, and display the above-mentioned directory item information in the remaining area of the above-mentioned list interface. area to display other catalog items. It is easy to imagine that before displaying the above directory item information, the terminal needs to obtain the display size required to display the directory item information, so as to form an expansion area in the list interface according to the display size, so as to avoid the size of the expansion area relative to the directory item information. Too big or too small. Obviously, if the size of the expanded area is too large, the interface space will be wasted, and if the size of the expanded area is too small, it will not be enough to display all the directory item information.
实际应用中,以下三方面的因素可能会影响上述展示尺寸的大小,也即是,目录项信息的长度,终端的型号以及终端的配置信息。终端需要根据上述三方面的因素获取上述展示尺寸,下面本公开将从这三方面的因素入手,简要地介 绍这三方面的因素对展示尺寸的影响。In practical applications, the following three factors may affect the display size above, that is, the length of the directory item information, the model of the terminal, and the configuration information of the terminal. The terminal needs to obtain the above display size based on the above three factors. The following disclosure will start with these three factors and briefly introduce the impact of these three factors on the display size.
第一方面,目录项信息的长度。该“长度”可以指目录项信息包含的字符数。实际应用中,不同的目录项可能对应不同长度的目录项信息,例如,“B”对应的目录项信息可以为1000字,而“C”对应的目录项信息可以为800字,这就使得展示不同目录项信息所需要的展示尺寸也很可能不同,因此,终端需要根据目录项信息的长度获取展示该目录项信息所需要的展示尺寸。此外,目录项信息中还可能包含图片或者视频,这种情况下,终端还需要根据展示上述图片或者视频所需要的尺寸最终确定上述展示尺寸。The first aspect is the length of directory entry information. The "length" may refer to the number of characters contained in the directory entry information. In practical applications, different catalog items may correspond to catalog item information of different lengths. For example, the catalog item information corresponding to "B" can be 1000 characters, while the catalog item information corresponding to "C" can be 800 characters, which makes the display The display sizes required by different directory item information may also be different. Therefore, the terminal needs to obtain the display size required to display the directory item information according to the length of the directory item information. In addition, the directory item information may also include pictures or videos. In this case, the terminal needs to finally determine the above display size according to the size required for displaying the above pictures or videos.
第二方面,终端的型号。总所周知,终端的型号不同,终端的屏幕尺寸也很可能不同,如不同终端型号的屏幕尺寸可以为4.3英寸、5英寸等。显而易见地,由于终端屏幕长度或者宽度的限制,对于相同长度的目录项信息,终端的屏幕尺寸不同,上述展示尺寸也不相同。例如,若终端的屏幕尺寸为4.3英寸,也即是95mm*54mm,则展示长度为1000字的目录项信息所需要的展示尺寸为20mm*54mm,若终端的屏幕尺寸为5英寸,也即是110.5mm*62.5mm,则展示长度为1000字的目录项信息所需要的展示尺寸为18mm*62.5mm。The second aspect is the model of the terminal. As we all know, different terminal models may have different screen sizes, for example, the screen sizes of different terminal models may be 4.3 inches, 5 inches, and so on. Obviously, due to the limitation of the length or width of the terminal screen, for directory item information of the same length, the screen size of the terminal is different, and the display size is also different. For example, if the screen size of the terminal is 4.3 inches, which is 95mm*54mm, the display size required to display the catalog item information with a length of 1000 characters is 20mm*54mm. If the screen size of the terminal is 5 inches, that is, 110.5mm*62.5mm, the required display size for displaying catalog item information with a length of 1000 characters is 18mm*62.5mm.
第三方面,终端的配置信息。上述配置信息可以包括分辨率、字体大小、行间距等信息。显而易见地,终端分辨率越低,展示同样长度的目录项信息所需要的展示尺寸越大,而字体大小越大,展示同样长度的目录项信息所需要的展示尺寸也越大,同样地,行间距越大,展示同样长度的目录项信息所需要的展示尺寸也越大,因此,终端的配置信息也会影响上述展示尺寸的大小。The third aspect is the configuration information of the terminal. The above configuration information may include information such as resolution, font size, and line spacing. Obviously, the lower the resolution of the terminal, the larger the display size required to display the directory item information of the same length, and the larger the font size, the larger the display size required to display the directory item information of the same length. Similarly, row The larger the distance, the larger the display size required to display the directory item information of the same length. Therefore, the configuration information of the terminal will also affect the above display size.
综上,终端需要根据以上三方面的因素最终确定上述展示尺寸。具体地,终端在获取上述目录项信息之后,首先获取该目录项信息的长度,如该目录项信息包含图片或者视频,终端还需要获取展示该图片或者视频所需的尺寸,而后终端根据自身的配置信息和型号,确定展示该长度的目录项信息所需要的展示尺寸,若该目录项信息包含图片或者视频,终端还需要在展示尺寸上添加展示该图片或者视频所需的尺寸,从而得到最终的展示尺寸。To sum up, the terminal needs to finally determine the above display size based on the above three factors. Specifically, after obtaining the directory item information above, the terminal first obtains the length of the directory item information. If the directory item information contains pictures or videos, the terminal also needs to obtain the size required to display the pictures or videos, and then the terminal according to its own Configure the information and model to determine the display size required to display the directory item information of this length. If the directory item information contains pictures or videos, the terminal also needs to add the size required to display the picture or video to the display size, so as to obtain the final display size.
在步骤240中,终端判断该列表界面是否能够提供符合该展示尺寸的展开区域,若该列表界面能够提供符合该展示尺寸的展开区域,则执行步骤250,若该列表界面不能够提供符合该展示尺寸的展开区域,则执行步骤260。In step 240, the terminal judges whether the list interface can provide an expansion area conforming to the display size, if the list interface can provide an expansion area conforming to the display size, then perform step 250, if the list interface cannot provide an expansion area conforming to the display size size of the expanded area, then go to step 260.
如步骤230所述的,终端在获取展示目录项信息所需要的展示尺寸后,可以根据该展示尺寸在列表界面中形成展开区域。然而,在实际应用中,该列表界面可能无法提供符合该展示尺寸的展开区域,换言之,也即是终端的屏幕尺 寸不足以提供满足该展示尺寸的展开区域。例如,若终端的屏幕尺寸为4.3英寸,也即是95mm*54mm,而展示长度为10000字的目录项信息所需要的展示尺寸为200mm*54mm,显然地,由于200mm大于终端屏幕的长度95mm,因此,该列表界面不能够提供符合该展示尺寸的展开区域,此时,终端需要执行步骤260的技术过程。当然,该列表界面也有可能能够提供符合该展示尺寸的展开区域,例如,若终端的屏幕尺寸为4.3英寸,也即是95mm*54mm,而展示长度为1000字的目录项信息所需要的展示尺寸为20mm*54mm,显然地,由于20mm小于终端屏幕的长度95mm,因此,该列表界面能够提供符合该展示尺寸的展开区域,此时,终端需要执行步骤250的技术过程。As described in step 230, after the terminal obtains the display size required for displaying the directory item information, it can form an expansion area in the list interface according to the display size. However, in practical applications, the list interface may not be able to provide an expanded area that meets the display size. In other words, the screen size of the terminal is not sufficient to provide an expanded area that meets the displayed size. For example, if the screen size of the terminal is 4.3 inches, which is 95mm*54mm, and the display size required to display the catalog item information with a length of 10,000 characters is 200mm*54mm, obviously, since 200mm is greater than the length of the terminal screen of 95mm, Therefore, the list interface cannot provide an expanded area conforming to the display size. In this case, the terminal needs to perform the technical process of step 260 . Of course, the list interface may also be able to provide an expanded area that meets the display size. For example, if the screen size of the terminal is 4.3 inches, that is, 95mm*54mm, and the display size required to display the catalog item information with a length of 1000 characters It is 20mm*54mm. Apparently, since 20mm is less than the terminal screen length of 95mm, the list interface can provide an expanded area that meets the display size. At this time, the terminal needs to perform the technical process of step 250.
在步骤250中,终端在该列表界面中与该触发操作对应目录项对应的位置,显示符合该展示尺寸的展开区域,并在符合该展示尺寸的展开区域中展示该目录项信息的全部内容,结束流程。In step 250, the terminal displays an expanded area conforming to the display size at the position corresponding to the directory item corresponding to the trigger operation in the list interface, and displays all content of the directory item information in the expanded area conforming to the display size, End the process.
若该列表界面能够提供符合该展示尺寸的展开区域,说明该列表界面提供的展开区域可以展示该目录项信息的全部内容,则终端可以在该列表界面中与该触发操作对应目录项对应的位置,显示符合该展示尺寸的展开区域,并在符合该展示尺寸的展开区域中展示该目录项信息的全部内容。当然,终端可以在该列表界面中除上述展开区域以外的其他区域展示其他目录项。需要说明的是,上述“该触发操作对应目录项对应的位置”可以为上述目录项在列表界面中的展示位置。If the list interface can provide an expansion area conforming to the display size, it means that the expansion area provided by the list interface can display all the content of the directory item information, then the terminal can display the location corresponding to the directory item corresponding to the trigger operation in the list interface , display the expanded area matching the display size, and display the entire content of the catalog item information in the expanded area matching the display size. Of course, the terminal can display other directory items in other areas of the list interface except the above-mentioned expanded area. It should be noted that the above-mentioned "the position corresponding to the directory item corresponding to the trigger operation" may be the display position of the above-mentioned directory item in the list interface.
在步骤260中,终端在该列表界面中与该触发操作对应目录项对应的位置,显示预设尺寸的展开区域,并在该预设尺寸的展开区域中展示该目录项信息中预设长度的内容。In step 260, the terminal displays an expansion area of a preset size at the position corresponding to the directory item corresponding to the trigger operation in the list interface, and displays the contents of the directory item information of the preset length in the expansion area of the preset size. content.
若该列表界面不能够提供符合该展示尺寸的展开区域,说明该列表界面提供的展开区域无法展示该目录项信息的全部内容,则终端可以在该列表界面中与该触发操作对应目录项对应的位置,显示预设尺寸的展开区域,并在该预设尺寸的展开区域中展示该目录项信息中预设长度的内容。需要说明的是,该预设尺寸可以为技术人员预先设定的尺寸,也可以由终端屏幕的尺寸确定,如,该预设尺寸可以为终端屏幕的尺寸,还可以根据该目录项在列表界面中的展示位置确定,例如,该预设尺寸可以为该目录项当前位置下方区域的尺寸,本公开对该预设尺寸不做具体限定。另外,上述预设长度可以根据上述预设尺寸确定,如,该预设尺寸的展开区域可以展示长度为a的目录项信息,则该预设长度即为a,同样地,本公开也不对预设长度做具体限定。If the list interface cannot provide an expansion area that meets the display size, it means that the expansion area provided by the list interface cannot display all the content of the directory item information, then the terminal can display the content of the directory item corresponding to the trigger operation on the list interface position, display an expanded area with a preset size, and display the content of a preset length in the directory item information in the expanded area with a preset size. It should be noted that the preset size can be the size preset by the technician, or it can be determined by the size of the terminal screen. In the determination of the display position, for example, the preset size may be the size of the area below the current position of the catalog item, and the present disclosure does not specifically limit the preset size. In addition, the above-mentioned preset length can be determined according to the above-mentioned preset size. For example, if the expansion area of the preset size can display directory item information with a length of a, then the preset length is a. Set a specific limit on the length.
在本公开的一个实施例中,在预设尺寸的展开区域中展示该目录项信息中预设长度的内容之后,该界面展示的方法还可以包括:当终端检测到第二指定操作后,根据该第二指定操作,展示该目录项信息的剩余内容。In an embodiment of the present disclosure, after displaying the contents of the directory item information of the preset length in the expanded area of the preset size, the method for displaying the interface may further include: when the terminal detects the second specified operation, according to The second specifying operation displays the remaining content of the directory entry information.
显然地,在步骤260中,上述列表界面只能提供预设尺寸的展开区域,并对预设长度的目录项信息进行展示,也即是,列表界面无法展示目录项信息的全部内容。此时,若用户想要查看目录项信息的剩余内容,其可以执行第二指定操作。需要说明的是,上述目录项信息的剩余内容指的是目录项信息中除上述预设长度的内容以外的其他内容,而上述第二指定操作可以为滑动操作,双击操作等,本公开对第二指定操作不做具体限定,终端检测到上述第二指定操作之后,可以根据上述第二指定操作展示该目录项信息的剩余内容。Apparently, in step 260, the above-mentioned list interface can only provide an expansion area of a preset size, and display the directory item information of a preset length, that is, the list interface cannot display the entire content of the directory item information. At this time, if the user wants to view the remaining content of the directory item information, he may perform a second specifying operation. It should be noted that the remaining content of the directory item information refers to content other than the content of the preset length in the directory item information, and the second specified operation can be a sliding operation, a double-click operation, etc. The second designation operation is not specifically limited. After detecting the second designation operation, the terminal may display the remaining content of the directory item information according to the second designation operation.
在本公开的另一个实施例中,当终端检测到对该触发操作对应目录项的第一指定操作后,在该列表界面中收起该展开区域。In another embodiment of the present disclosure, after the terminal detects the first specifying operation of the directory item corresponding to the triggering operation, the expanded area is collapsed in the list interface.
当用户对展开区域中的目录项信息浏览结束后,用户可能希望隐藏该目录项信息,从而不影响用户对列表界面中其他目录项的浏览,为此,用户可以对上述触发操作对应目录项执行第一指定操作。终端检测到该第一指定操作后,即在列表界面中收起该展开区域,从而隐藏在该展开区域中展示的目录项信息。需要说明的是,上述第一指定操作可以为双击操作,长按操作等,本公开对上述第一指定操作不做具体限定。After the user browses the directory item information in the expanded area, the user may wish to hide the directory item information so as not to affect the user's browsing of other directory items in the list interface. For this reason, the user can perform the corresponding directory item of the above trigger operation The first specified operation. After the terminal detects the first specified operation, it closes the expansion area in the list interface, thereby hiding the directory item information displayed in the expansion area. It should be noted that the above-mentioned first specified operation may be a double-click operation, a long-press operation, etc., and the present disclosure does not specifically limit the above-mentioned first specified operation.
综上,上述技术过程简单来讲即为当检测到对目录界面的任一目录项的触发操作后,获取该目录项的目录项信息的全部内容,并根据该目录项信息的全部内容确定展开区域的尺寸。然而,实际应用中,该展开区域的尺寸很可能是固定的,也即是终端不需要根据目录项信息、终端型号等对展开区域的尺寸进行确定,其中,展开区域的固定尺寸可以由技术人员或者用户进行设定,本公开对此不做具体限定。To sum up, the above technical process simply means that when a trigger operation on any directory item in the directory interface is detected, the entire content of the directory item information of the directory item is obtained, and the expansion is determined based on the entire content of the directory item information. The dimensions of the area. However, in practical applications, the size of the expansion area is likely to be fixed, that is, the terminal does not need to determine the size of the expansion area according to the directory item information, terminal model, etc., wherein the fixed size of the expansion area can be determined by the technician Or the user may set it, which is not specifically limited in the present disclosure.
这种情况下,终端可以在上述固定尺寸的展开区域中直接展示目录项信息,而不需要执行上述步骤230和240。当然,若上述固定尺寸的展开区域足够展示目录项信息的全部内容,则终端在上述固定尺寸的展开区域中展示目录项信息的全部内容,其具体技术过程与步骤250的技术过程同理,本公开在此不再赘述。若上述固定尺寸的展开区域不足以展示目录项信息的全部内容,终端可以展示该目录项信息中预设长度的内容,该预设长度为该终端在该固定尺寸的展开区域中所能展示的目录项信息的最大长度,其具体技术过程与步骤260的技术过程同理,本公开在此也不再赘述,这种情况下,终端可以在上述固定尺寸 的展开区域中提供展示剩余内容选项,当终端检测到对该展示剩余内容选项的触发操作后,终端可以在上述固定尺寸的展开区域中展示目录项信息的剩余内容,上述目录项信息的剩余内容指的是目录项信息中除上述预设长度的内容以外的其他内容。In this case, the terminal can directly display the directory item information in the above-mentioned fixed-size expansion area without performing the above-mentioned steps 230 and 240 . Of course, if the above-mentioned fixed-size expansion area is sufficient to display the entire content of the directory item information, the terminal displays the entire content of the directory item information in the above-mentioned fixed-size expansion area. The specific technical process is the same as that of step 250. The disclosure will not be repeated here. If the above-mentioned fixed-size expansion area is not enough to display the entire content of the directory item information, the terminal can display the content of the preset length of the directory item information, and the preset length is what the terminal can display in the fixed-size expansion area The maximum length of directory item information, the specific technical process is the same as the technical process of step 260, and this disclosure will not repeat it here. In this case, the terminal can provide the option to display the remaining content in the above-mentioned fixed-size expansion area, When the terminal detects a trigger operation on the option to display the remaining content, the terminal can display the remaining content of the directory item information in the above-mentioned fixed-size expansion area. Content other than the content of the set length.
在上述技术过程中,由于展开区域的尺寸是固定的,则展开区域所能展示的目录项信息的最大长度是已知的,也即是上文所述的预设长度。这种情况下,从节约网络流量和终端存储空间的目的出发,终端可以仅获取上述目录项信息中预设长度的内容,若用户对该目录项信息的剩余内容不感兴趣,则用户不会触发上述展示剩余内容选项,则终端不需要继续获取该目录项信息的剩余内容,若用户对该目录项信息的剩余内容感兴趣,其可以触发剩余内容展示选项,则终端可以获取该目录项信息的剩余内容。In the above technical process, since the size of the expanded area is fixed, the maximum length of the directory item information that can be displayed in the expanded area is known, that is, the preset length mentioned above. In this case, for the purpose of saving network traffic and terminal storage space, the terminal can only obtain the content of the preset length in the above directory item information. If the user is not interested in the remaining content of the directory item information, the user will not trigger the The display of the remaining content option above means that the terminal does not need to continue to obtain the remaining content of the directory item information. If the user is interested in the remaining content of the directory item information, he can trigger the remaining content display option, and the terminal can obtain the remaining content of the directory item information. remaining content.
具体地,终端在向上述指定服务器发送目录项信息获取请求时,该目录项信息获取请求还可以携带上述预设长度,该指定服务器接收到该目录项信息获取请求后,判断终端需要获取的目录项信息的长度是否小于预设长度,若小于,该指定服务器将该目录项信息的全部内容返回给终端,若不小于,该指定服务器将该目录项信息的预设长度的内容返回给终端。若终端检测到对该剩余内容展示选项的触发操作后,终端向该指定服务器发送剩余内容获取请求,该指定服务器接收到该获取请求后向终端返回该目录项信息的剩余内容,终端在接收到上述目录项信息的剩余内容后,可以在上述固定尺寸的展开区域中对其进行展示,当然,终端也可以不执行上述获取目录项信息中预设长度的内容的技术过程,而直接获取目录项信息的全部内容,本公开对此不做具体限定。Specifically, when the terminal sends a directory item information acquisition request to the above-mentioned designated server, the directory item information acquisition request may also carry the above-mentioned preset length. Whether the length of the item information is less than the preset length, if less, the designated server returns the entire content of the directory item information to the terminal, if not, the designated server returns the content of the preset length of the directory item information to the terminal. If the terminal detects the trigger operation of the remaining content display option, the terminal sends a request for obtaining the remaining content to the designated server, and the designated server returns the remaining content of the directory item information to the terminal after receiving the request, and the terminal receives the remaining content After the remaining content of the above directory item information, it can be displayed in the above-mentioned fixed-size expansion area. Of course, the terminal can also directly obtain the directory item without performing the above-mentioned technical process of obtaining the content of the preset length in the directory item information. The entire content of the information is not specifically limited in this disclosure.
综上所述,本实施例提供的界面展示的方法,通过在接收到用户对列表界面中的任一目录项的触发操作后,在该目录项对应的位置展示该目录项的目录项信息,也即是,终端可以在包括其他目录项的列表界面中对该目录项的目录项信息进行展示,而不需要进行界面切换在另一界面中对该目录项信息进行展示,使得用户在浏览某一目录项的目录项信息时,以及对该目录项信息浏览结束返回浏览目录项时,都不需要进行界面切换,从而简化了操作步骤,增加了用户的粘性。To sum up, the interface display method provided by this embodiment displays the directory item information of the directory item at the position corresponding to the directory item after receiving the user's trigger operation on any directory item in the list interface, That is to say, the terminal can display the directory item information of the directory item in the list interface including other directory items, without switching the interface to display the directory item information in another interface, so that the user browses a certain directory item. There is no need to switch the interface when viewing the directory item information of a directory item, and when returning to browse the directory item after browsing the directory item information, thereby simplifying the operation steps and increasing user stickiness.
图5是根据一示例性实施例示出的一种界面展示的装置500的框图。参照图5,该装置包括界面显示模块510,获取模块520和区域显示模块530。Fig. 5 is a block diagram of an interface display device 500 according to an exemplary embodiment. Referring to FIG. 5 , the device includes an interface display module 510 , an acquisition module 520 and an area display module 530 .
该界面显示模块510,用于显示列表界面,该列表界面包括以列表形式排列 的多个目录项。The interface display module 510 is configured to display a list interface, and the list interface includes a plurality of directory items arranged in a list form.
该获取模块520,用于当检测到对该界面显示模块510显示的该列表界面中任一目录项的触发操作后,获取该触发操作对应目录项的目录项信息。The acquiring module 520 is configured to acquire the directory item information of the directory item corresponding to the triggering operation after detecting a trigger operation of any directory item in the list interface displayed by the interface display module 510 .
该区域显示模块530,用于在该界面显示模块510显示的该列表界面中与该触发操作对应目录项对应的位置,显示该触发操作对应目录项的展开区域,该展开区域用于展示该获取模块520获取的该目录项信息。The area display module 530 is used to display the expansion area of the directory item corresponding to the trigger operation at the position corresponding to the directory item corresponding to the trigger operation in the list interface displayed by the interface display module 510, and the expansion area is used to display the acquisition. The directory item information acquired by module 520 .
参见图6A,在本公开的另一个实施例中,还提供了另一种界面展示的装置600,该装置基于上述图5的实施例结构,还包括收起模块540、尺寸获取模块550和剩余内容展示模块560。Referring to Fig. 6A, in another embodiment of the present disclosure, another interface display device 600 is provided, which is based on the structure of the embodiment in Fig. Content display module 560 .
该收起模块540,用于当检测到对该触发操作对应目录项的第一指定操作后,在该界面显示模块510显示的该列表界面中收起该区域显示模块530显示的该展开区域。The collapsing module 540 is configured to collapse the expanded area displayed by the area display module 530 in the list interface displayed by the interface display module 510 after detecting the first specified operation of the directory item corresponding to the trigger operation.
该尺寸获取模块550,用于根据终端的型号和配置信息,获取展示该获取模块520获取的该目录项信息所需要的展示尺寸。The size obtaining module 550 is configured to obtain, according to the model and configuration information of the terminal, the display size required for displaying the directory item information obtained by the obtaining module 520 .
参见图6B,该区域显示模块530包括:Referring to FIG. 6B, the area display module 530 includes:
判断子模块531,用于判断该界面显示模块510显示的该列表界面是否能够提供符合该尺寸获取模块550获取的该展示尺寸的展开区域。The judging sub-module 531 is configured to judge whether the list interface displayed by the interface display module 510 can provide an expanded area conforming to the display size obtained by the size obtaining module 550 .
第一区域显示子模块532,用于若该判断子模块531确定该界面显示模块510显示的该列表界面能够提供符合该尺寸获取模块550获取的该展示尺寸的展开区域,则在该界面显示模块510显示的该列表界面中与该触发操作对应目录项对应的位置,显示符合该尺寸获取模块550获取的该展示尺寸的展开区域,并在符合该尺寸获取模块550获取的该展示尺寸的展开区域中展示该获取模块520获取的该目录项信息的全部内容。The first area display sub-module 532 is used for if the judging sub-module 531 determines that the list interface displayed by the interface display module 510 can provide an expanded area conforming to the display size acquired by the size acquisition module 550, then display in the interface display module In the list interface displayed at 510, the position corresponding to the directory item corresponding to the trigger operation is displayed, and the expanded area conforming to the display size acquired by the size acquiring module 550 is displayed, and the expanded area conforming to the display size acquired by the size acquiring module 550 is displayed. All content of the directory item information obtained by the obtaining module 520 is shown in .
第二区域显示子模块533,用于若该判断子模块531确定该界面显示模块510显示的该列表界面不能够提供符合该尺寸获取模块550获取的该展示尺寸的展开区域,则在该界面显示模块510显示的该列表界面中与该触发操作对应目录项对应的位置,显示预设尺寸的展开区域,并在该预设尺寸的展开区域中展示该获取模块520获取的该目录项信息中预设长度的内容。The second area display sub-module 533 is used to display on the interface if the judging sub-module 531 determines that the list interface displayed by the interface display module 510 cannot provide an expanded area conforming to the display size acquired by the size acquisition module 550. In the list interface displayed by module 510, a position corresponding to the directory item corresponding to the trigger operation is displayed, and an expansion area of a preset size is displayed, and the preset information in the directory item information obtained by the acquisition module 520 is displayed in the expansion area of the preset size. Set the length of the content.
此外,该界面展示的装置600还包括剩余内容展示模块560:In addition, the device 600 displayed on this interface also includes a remaining content display module 560:
该剩余内容展示模块560,用于当检测到第二指定操作后,根据该第二指定操作,展示该获取模块520获取的该目录项信息的剩余内容。The remaining content display module 560 is configured to display the remaining content of the directory item information obtained by the obtaining module 520 according to the second designated operation after detecting the second designated operation.
综上所述,本实施例提供的界面展示的装置,通过在接收到用户对列表界 面中的任一目录项的触发操作后,在该目录项对应的位置展示该目录项的目录项信息,也即是,终端可以在包括其他目录项的列表界面中对该目录项的目录项信息进行展示,而不需要进行界面切换在另一界面中对该目录项信息进行展示,使得用户在浏览某一目录项的目录项信息时,以及对该目录项信息浏览结束返回浏览目录项时,都不需要进行界面切换,从而简化了操作步骤,增加了用户的粘性。To sum up, the interface display device provided by this embodiment displays the directory item information of the directory item at the position corresponding to the directory item after receiving the user's trigger operation on any directory item in the list interface, That is to say, the terminal can display the directory item information of the directory item in the list interface including other directory items, without switching the interface to display the directory item information in another interface, so that the user browses a certain directory item. There is no need to switch the interface when viewing the directory item information of a directory item, and when returning to browse the directory item after browsing the directory item information, thereby simplifying the operation steps and increasing user stickiness.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图7是根据一示例性实施例示出的一种界面展示的装置700的框图。例如,装置700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram of an interface display device 700 according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图7,装置700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。7, device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714, and communication component 716 .
处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理组件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operations of the device 700, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702 .
存储器704被配置为存储各种类型的数据以支持在装置700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 704 is configured to store various types of data to support operations at the device 700 . Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件706为装置700的各种组件提供电力。电源组件706可以包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。The power supply component 706 provides power to various components of the device 700 . Power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 700 .
多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏 幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当装置700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 708 includes the screen providing an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 708 includes a front camera and/or a rear camera. When the device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the device 700 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 704 or sent via communication component 716 . In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件714可以检测到装置700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for device 700 . For example, the sensor component 714 can detect the open/closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor component 714 can also detect a change in the position of the device 700 or a component of the device 700 , the presence or absence of user contact with the device 700 , the device 700 orientation or acceleration/deceleration and the temperature change of the device 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技 术,蓝牙(BT)技术和其他技术来实现。The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The device 700 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 700 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, which can be executed by the processor 720 of the device 700 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行下述方法:显示列表界面,该列表界面包括以列表形式排列的多个目录项;当检测到对该列表界面中任一目录项的触发操作后,获取该触发操作对应目录项的目录项信息;在该列表界面中与该触发操作对应目录项对应的位置,显示该触发操作对应目录项的展开区域,该展开区域用于展示该目录项信息。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can perform the following method: displaying a list interface , the list interface includes a plurality of directory items arranged in a list form; when a trigger operation of any directory item in the list interface is detected, the directory item information of the directory item corresponding to the trigger operation is obtained; in the list interface and The position corresponding to the directory item corresponding to the trigger operation is displayed, and the expansion area corresponding to the directory item corresponding to the trigger operation is displayed, and the expansion area is used to display the information of the directory item.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610065973.2ACN105843486A (en) | 2016-01-29 | 2016-01-29 | Method and apparatus for interface display |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610065973.2ACN105843486A (en) | 2016-01-29 | 2016-01-29 | Method and apparatus for interface display |
| Publication Number | Publication Date |
|---|---|
| CN105843486Atrue CN105843486A (en) | 2016-08-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610065973.2APendingCN105843486A (en) | 2016-01-29 | 2016-01-29 | Method and apparatus for interface display |
| Country | Link |
|---|---|
| CN (1) | CN105843486A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107357493A (en)* | 2017-06-19 | 2017-11-17 | 咪咕数字传媒有限公司 | Catalog display method and device, storage medium |
| CN108920538A (en)* | 2018-06-12 | 2018-11-30 | 广州坚和网络科技有限公司 | A method of it is laterally shown across screen information in information flow list |
| CN109521929A (en)* | 2018-11-09 | 2019-03-26 | 深圳市小牛普惠投资管理有限公司 | List single choice exchange method, device, computer equipment and storage medium |
| CN109669589A (en)* | 2018-10-17 | 2019-04-23 | 天津字节跳动科技有限公司 | Document edit method and device |
| CN111414116A (en)* | 2020-02-21 | 2020-07-14 | 网易(杭州)网络有限公司 | Information display control method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102314299A (en)* | 2010-07-05 | 2012-01-11 | 联想(北京)有限公司 | Electronic equipment and display switching method |
| CN102819416A (en)* | 2012-08-13 | 2012-12-12 | 华为终端有限公司 | A method and device for displaying component content |
| CN104102416A (en)* | 2013-04-15 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Method and device for displaying summary information list in touch terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102314299A (en)* | 2010-07-05 | 2012-01-11 | 联想(北京)有限公司 | Electronic equipment and display switching method |
| CN102819416A (en)* | 2012-08-13 | 2012-12-12 | 华为终端有限公司 | A method and device for displaying component content |
| CN104102416A (en)* | 2013-04-15 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Method and device for displaying summary information list in touch terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107357493A (en)* | 2017-06-19 | 2017-11-17 | 咪咕数字传媒有限公司 | Catalog display method and device, storage medium |
| CN108920538A (en)* | 2018-06-12 | 2018-11-30 | 广州坚和网络科技有限公司 | A method of it is laterally shown across screen information in information flow list |
| CN109669589A (en)* | 2018-10-17 | 2019-04-23 | 天津字节跳动科技有限公司 | Document edit method and device |
| CN109669589B (en)* | 2018-10-17 | 2022-05-06 | 天津字节跳动科技有限公司 | Document editing method and device |
| CN109521929A (en)* | 2018-11-09 | 2019-03-26 | 深圳市小牛普惠投资管理有限公司 | List single choice exchange method, device, computer equipment and storage medium |
| CN111414116A (en)* | 2020-02-21 | 2020-07-14 | 网易(杭州)网络有限公司 | Information display control method and device, electronic equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN105808050B (en) | Information search method and device | |
| CN106598392B (en) | Notification message display method and device | |
| CN108509232A (en) | Screen recording method, device and computer readable storage medium | |
| CN106896991B (en) | A method and device for updating information | |
| CN106528617B (en) | A kind of method and device that Web page picture is shown | |
| CN107357505A (en) | The method, apparatus and computer-readable recording medium of screenshot capture | |
| CN107247547A (en) | Screenshot processing method and device | |
| CN107273448B (en) | Information display method, device and computer readable storage medium | |
| CN106126018A (en) | Desktop icons sort method and device | |
| CN105843486A (en) | Method and apparatus for interface display | |
| CN106791092A (en) | The searching method and device of contact person | |
| CN106095236A (en) | The method and device of arranging desktop icons | |
| CN107402767B (en) | Method and apparatus for displaying push messages | |
| CN106504295B (en) | Method and device for rendering picture | |
| CN107562497A (en) | Method for information display, device and terminal | |
| CN106708967A (en) | Page display method and device | |
| CN104951522B (en) | Method and device for searching | |
| CN107943370A (en) | Advertisement display method, device and storage medium | |
| CN106294596A (en) | The method and device of information search | |
| CN106936970A (en) | Call-information remarks method and device | |
| CN106506775A (en) | Method, device, and terminal device for displaying contact list | |
| CN105912202A (en) | Application sharing method and device | |
| CN106339452B (en) | Event response method and device | |
| CN107423324A (en) | Access method, device and the equipment of webpage | |
| CN106412205A (en) | Contact person ordering method and apparatus thereof, and terminal equipment |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20160810 | |
| RJ01 | Rejection of invention patent application after publication |