Movatterモバイル変換


[0]ホーム

URL:


CN113779461B - Data loading method and device and electronic equipment - Google Patents

Data loading method and device and electronic equipment
Download PDF

Info

Publication number
CN113779461B
CN113779461BCN202111029418.1ACN202111029418ACN113779461BCN 113779461 BCN113779461 BCN 113779461BCN 202111029418 ACN202111029418 ACN 202111029418ACN 113779461 BCN113779461 BCN 113779461B
Authority
CN
China
Prior art keywords
information
displayed
loading
preloading
mode control
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202111029418.1A
Other languages
Chinese (zh)
Other versions
CN113779461A (en
Inventor
张邈
郑史彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
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 Beijing Youzhuju Network Technology Co LtdfiledCriticalBeijing Youzhuju Network Technology Co Ltd
Priority to CN202111029418.1ApriorityCriticalpatent/CN113779461B/en
Publication of CN113779461ApublicationCriticalpatent/CN113779461A/en
Application grantedgrantedCritical
Publication of CN113779461BpublicationCriticalpatent/CN113779461B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本公开实施例公开了的数据加载方法、装置和电子设备,在响应于检测到信息搜索指令后,可以展示第一加载方式控件,而第一加载方式控件所指示的第一加载方式,用于预加载基于信息搜索指令得到的待展示信息,当针对第一加载方式控件被执行选中操作之后,则可以预加载待展示信息。而通过这种方式,可以根据用户的选择确定是否预加载待展示信息,当用户针对第一加载方式控件执行选中操作之后,才预加载待展示信息,从而也就可以避免对无用信息进行预加载,节约了计算资源。同时,由于可以对待展示信息进行预加载,从而也就可以避免当待展示信息需要被展示时,出现卡顿现象。

The data loading method, device and electronic device disclosed in the embodiments of the present disclosure can display a first loading mode control in response to detecting an information search instruction, and the first loading mode indicated by the first loading mode control is used to preload the information to be displayed obtained based on the information search instruction. After the selection operation is performed on the first loading mode control, the information to be displayed can be preloaded. In this way, it can be determined whether to preload the information to be displayed based on the user's selection. When the user performs a selection operation on the first loading mode control, the information to be displayed is preloaded, thereby avoiding the preloading of useless information and saving computing resources. At the same time, since the information to be displayed can be preloaded, it is also possible to avoid the jamming phenomenon when the information to be displayed needs to be displayed.

Description

Translated fromChinese
数据加载方法、装置和电子设备Data loading method, device and electronic device

技术领域Technical Field

本公开涉及互联网技术领域,尤其涉及一种数据加载方法、装置和电子设备。The present disclosure relates to the field of Internet technology, and in particular to a data loading method, device and electronic device.

背景技术Background Art

随着科学技术的发展,用户可以通过终端设备查询内容,查询到的内容可以在展示界面进行显示。当用户在浏览内容的过程中,可以加载需要展示的页面中的内容,并将加载完成的该页面的页面内容进行展示;当用户需要浏览下一页面时,则可以继续加载下一页面的内容,With the development of science and technology, users can query content through terminal devices, and the queried content can be displayed on the display interface. When the user is browsing the content, the content of the page to be displayed can be loaded, and the page content of the loaded page can be displayed; when the user needs to browse the next page, the content of the next page can be loaded.

发明内容Summary of the invention

提供该公开内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This disclosure section is provided to introduce concepts in a brief form, which will be described in detail in the detailed description section below. This disclosure section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

本公开实施例提供了一种数据加载方法、装置和电子设备,可以根据用户的选择,确定需要预加载的信息的数目,从而使得当待展示信息需要被展示时,避免出现卡顿现象,使得信息展示更为浏览。The embodiments of the present disclosure provide a data loading method, device and electronic device, which can determine the amount of information that needs to be preloaded according to the user's selection, so as to avoid lag when the information to be displayed needs to be displayed, making the information display more readable.

第一方面,本公开实施例提供了一种数据加载方法,包括:响应于信息搜索指令,展示第一加载方式控件,其中,上述第一加载方式控件对应的第一加载方式,指示预加载基于上述信息搜索指令得到的待展示信息;基于针对上述第一加载方式控件的选中操作,预加载待展示信息。In a first aspect, an embodiment of the present disclosure provides a data loading method, comprising: in response to an information search instruction, displaying a first loading mode control, wherein a first loading mode corresponding to the first loading mode control indicates preloading of information to be displayed obtained based on the information search instruction; and preloading the information to be displayed based on a selection operation on the first loading mode control.

第二方面,本公开实施例提供了一种数据加载装置,包括:展示单元,用于响应于信息搜索指令,展示第一加载方式控件,其中,上述第一加载方式控件对应的第一加载方式,指示预加载基于上述信息搜索指令得到的待展示信息;预加载单元,用于基于针对上述第一加载方式控件的选中操作,预加载待展示信息。In a second aspect, an embodiment of the present disclosure provides a data loading device, comprising: a display unit, used to display a first loading mode control in response to an information search instruction, wherein the first loading mode corresponding to the above-mentioned first loading mode control indicates preloading of information to be displayed obtained based on the above-mentioned information search instruction; a preloading unit, used to preload the information to be displayed based on a selection operation on the above-mentioned first loading mode control.

第三方面,本公开实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行,使得上述一个或多个处理器实现如第一方面上述的数据加载方法。In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the data loading method as described above in the first aspect.

第四方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面上述的数据加载方法的步骤。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the data loading method as described above in the first aspect.

本公开实施例提供的数据加载方法、装置和电子设备,在响应于检测到信息搜索指令后,可以展示第一加载方式控件,而第一加载方式控件所指示的第一加载方式,用于预加载基于信息搜索指令得到的待展示信息,当针对第一加载方式控件被执行选中操作之后,则可以预加载待展示信息。而通过这种方式,可以根据用户的选择确定是否预加载待展示信息,当用户针对第一加载方式控件执行选中操作之后,才预加载待展示信息,从而也就可以避免对无用信息进行预加载,节约了计算资源。同时,由于可以对待展示信息进行预加载,从而也就可以避免当待展示信息需要被展示时,出现卡顿现象。The data loading method, device, and electronic device provided by the embodiments of the present disclosure can display a first loading mode control in response to detecting an information search instruction, and the first loading mode indicated by the first loading mode control is used to preload the information to be displayed obtained based on the information search instruction. After the selection operation is performed on the first loading mode control, the information to be displayed can be preloaded. In this way, it can be determined whether to preload the information to be displayed based on the user's choice. When the user performs a selection operation on the first loading mode control, the information to be displayed is preloaded, thereby avoiding the preloading of useless information and saving computing resources. At the same time, since the information to be displayed can be preloaded, it is also possible to avoid the occurrence of jamming when the information to be displayed needs to be displayed.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

图1是根据本公开的数据加载方法的一个实施例的流程图;FIG1 is a flow chart of an embodiment of a data loading method according to the present disclosure;

图2A-2B是根据本公开的数据加载方法的一个实施例的显示界面的显示示意图;2A-2B are schematic diagrams of display interfaces of an embodiment of a data loading method according to the present disclosure;

图2C是根据本公开的数据加载方法的另一个实施例的显示界面的显示示意图;FIG2C is a schematic diagram showing a display interface of another embodiment of a data loading method according to the present disclosure;

图3是根据本公开的数据加载方法的又一个实施例的的显示界面的显示示意图;FIG3 is a display schematic diagram of a display interface according to yet another embodiment of the data loading method of the present disclosure;

图4是根据本公开的数据加载方法的又一个实施例的显示界面的显示示意图;FIG4 is a display schematic diagram of a display interface according to yet another embodiment of the data loading method of the present disclosure;

图5是根据本公开的数据加载装置的一个实施例的结构示意图;FIG5 is a schematic structural diagram of an embodiment of a data loading device according to the present disclosure;

图6是本公开的一个实施例的数据加载方法可以应用于其中的示例性系统架构;FIG6 is an exemplary system architecture in which the data loading method of one embodiment of the present disclosure can be applied;

图7是根据本公开实施例提供的电子设备的基本结构的示意图。FIG. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. In addition, the method embodiments may include additional steps and/or omit the steps shown. The scope of the present disclosure is not limited in this respect.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

请参考图1,其示出了根据本公开的数据加载方法的一个实施例的流程。该数据加载方法可以应用于终端设备或服务器。如图1所示该数据加载方法,包括以下步骤:Please refer to Figure 1, which shows a process of an embodiment of a data loading method according to the present disclosure. The data loading method can be applied to a terminal device or a server. As shown in Figure 1, the data loading method includes the following steps:

步骤101,响应于信息搜索指令,展示第一加载方式控件。Step 101, in response to an information search instruction, display a first loading mode control.

在这里,第一加载方式控件对应的第一加载方式,指示预加载基于信息搜索指令得到的待展示信息。Here, the first loading mode corresponding to the first loading mode control indicates preloading of information to be displayed obtained based on the information search instruction.

作为示例,当需要利用执行主体进行某类信息的搜索时,可以输入信息搜索指令。As an example, when it is necessary to use the execution subject to search for a certain type of information, an information search instruction can be input.

例如,执行主体可以展示一个用于用户输入搜索关键词的关键词输入区,当用户在关键词输入区输入关键词之后,则可以表征生成了信息搜索指令,并可以根据输入的关键词,进行信息搜索。如,关键词为手机,则搜索结果中则可以包含大量针对手机的信息。For example, the execution entity may display a keyword input area for the user to input a search keyword. When the user inputs a keyword in the keyword input area, it can be represented that an information search instruction is generated, and information search can be performed based on the input keyword. For example, if the keyword is mobile phone, the search results may include a large amount of information on mobile phones.

作为示例,由于搜索结果中可能包含了大量的信息,而这些信息可能并不能一次性进行展示;因此,相关技术中通常采用当信息需要被展示时,才对这些信息进行加载,之后并展示。As an example, since the search results may contain a large amount of information, and this information may not be displayed at once; therefore, the relevant technology usually adopts the method of loading the information when it needs to be displayed, and then displaying it.

而本申请中可以采用第一加载方式对待展示信息进行预加载,当需要展示待展示信息时,由于这些待展示信息已经进行了预加载,则可以直接将待展示信息进行展示,从而也就可以使得待展示信息可以较为高效地被展示出来。In the present application, the first loading method can be used to preload the information to be displayed. When the information to be displayed needs to be displayed, since the information to be displayed has been preloaded, the information to be displayed can be displayed directly, so that the information to be displayed can be displayed more efficiently.

作为示例,预加载可以理解为主动加载,而加载可以理解为被动加载。也即,预加载可以理解为:待展示内容还没有接受到展示指令之前,提前对这些待展示内容加载完成。加载则可以理解为当待展示内容已经接收到需要进行展示的指令时,才进行加载。举例说明,展示界面展示了第一加载方式控件,当选择第一加载方式控件后,则可以直接对当前展示界面之后的待展示内容进行预加载。若没有选择第一加载方式控件,则用户需要在界面执行一个预设的浏览操作(例如,向上滑动操作),此时,才会加载当前还没进行展示的少量内容。As an example, preloading can be understood as active loading, while loading can be understood as passive loading. That is, preloading can be understood as: before the content to be displayed has not received the display instruction, the content to be displayed is loaded in advance. Loading can be understood as loading only when the content to be displayed has received the instruction to be displayed. For example, the display interface displays the first loading mode control. After selecting the first loading mode control, the content to be displayed after the current display interface can be preloaded directly. If the first loading mode control is not selected, the user needs to perform a preset browsing operation (for example, sliding up) on the interface. At this time, a small amount of content that has not yet been displayed will be loaded.

可见,通过预加载的方式,可以使得用户在快速浏览的过程中,由于待展示内容已经提前加载完毕了,也不会产生卡顿现象。It can be seen that by preloading, users can browse quickly without any lag because the content to be displayed has been loaded in advance.

步骤102,基于针对第一加载方式控件的选中操作,预加载待展示信息。Step 102: preload information to be displayed based on a selection operation on a first loading mode control.

作为示例,当检测到针对第一加载方式控件的选中操作,则可以预加载待展示信息,从而可以使得待展示信息在被进行展示时,可以较快的展示出来,从而也就可以避免在进行信息浏览过程中出现的卡顿现象。As an example, when a selection operation is detected for the first loading mode control, the information to be displayed can be preloaded, so that the information to be displayed can be displayed faster when it is displayed, thereby avoiding the jamming phenomenon that occurs during the information browsing process.

作为示例,仅有当用户需要对待展示信息进行预加载时,则可以选择第一加载方式控件,而这样的设计也可以便于用户确定是否需要对待展示信息进行预加载,从而可以更加合理的利用计算资源。例如,本次搜索结果可能是用户无需大量浏览的信息,但是确进行了预加载,则可能浪费了大量的计算资源。也即,在用户选中第一加载方式控件之后,才对待展示信息进行预加载,可以更合理的利用计算资源。As an example, only when the user needs to preload the information to be displayed, the first loading mode control can be selected, and such a design can also facilitate the user to determine whether the information to be displayed needs to be preloaded, so that computing resources can be used more reasonably. For example, the search results this time may be information that the user does not need to browse a lot, but if it is preloaded, a lot of computing resources may be wasted. That is, the information to be displayed is preloaded after the user selects the first loading mode control, which can make more reasonable use of computing resources.

可以看出,本申请在响应于检测到信息搜索指令后,可以展示第一加载方式控件,而第一加载方式控件所指示的第一加载方式,用于预加载基于信息搜索指令得到的待展示信息,当针对第一加载方式控件被执行选中操作之后,则可以预加载待展示信息。而通过这种方式,可以根据用户的选择确定是否预加载待展示信息,当用户针对第一加载方式控件执行选中操作之后,才预加载待展示信息,从而也就可以避免对无用信息进行预加载,节约了计算资源。同时,由于可以对待展示信息进行预加载,从而也就可以避免当待展示信息需要被展示时,出现卡顿现象。It can be seen that the present application can display a first loading mode control in response to detecting an information search instruction, and the first loading mode indicated by the first loading mode control is used to preload the information to be displayed obtained based on the information search instruction. After the selection operation is performed on the first loading mode control, the information to be displayed can be preloaded. In this way, it can be determined whether to preload the information to be displayed based on the user's choice. When the user performs a selection operation on the first loading mode control, the information to be displayed is preloaded, thereby avoiding the preloading of useless information and saving computing resources. At the same time, since the information to be displayed can be preloaded, it is also possible to avoid the jamming phenomenon when the information to be displayed needs to be displayed.

在一些实施例中,可以展示目标信息,并可以将排序在目标信息之后预设数目的待展示信息进行渲染。In some embodiments, the target information may be displayed, and a preset number of to-be-displayed information that is sorted after the target information may be rendered.

在这里,目标信息可以包括已经加载完成的基于信息搜索指令得到的待展示信息。Here, the target information may include information to be displayed that has been loaded and obtained based on the information search instruction.

作为示例,展示界面可以展示基于信息搜索指令得到的信息中的某些信息(目标信息),而在展示目标信息时,可以对目标信息之后预设数目的待展示信息进行渲染,从而,也就可以使得用户需要浏览待展示信息时,可以直接进行浏览,可以使得待展示信息可以更加高效地被展示出来。As an example, the display interface can display certain information (target information) in the information obtained based on the information search instruction. When displaying the target information, a preset number of information to be displayed after the target information can be rendered. Thus, when the user needs to browse the information to be displayed, he can browse it directly, and the information to be displayed can be displayed more efficiently.

作为示例,预设数目的具体数值可以根据实际情况进行设定,在此并不对预设数目的具体数值进行限定。例如,预设数目的具体数值可以为30。在一些实现方式中,也可以根据每个信息展示页面可以展示的信息数目进行确定,如每个信息展示页面可以展示8条内容,而可以提前对当前信息展示页面(展示目标信息的信息展示页面)之后的5个信息展示页面中的待展示信息进行预加载,此时,预设数目的具体数值则可以为40。As an example, the specific value of the preset number can be set according to actual conditions, and the specific value of the preset number is not limited here. For example, the specific value of the preset number can be 30. In some implementations, it can also be determined according to the number of information that can be displayed on each information display page. For example, each information display page can display 8 pieces of content, and the information to be displayed in the 5 information display pages after the current information display page (the information display page displaying the target information) can be preloaded in advance. In this case, the specific value of the preset number can be 40.

可以看出,通过将展示的目标信息之后预设数目的待展示信息进行提前渲染,可以在目标信息之后的待展示信息被展示时,可以较快地被展示出来,从而也就可以提升待展示信息被展示出来地效率。It can be seen that by rendering in advance a preset number of information to be displayed after the target information to be displayed, the information to be displayed after the target information can be displayed faster, thereby improving the efficiency of displaying the information to be displayed.

在一些实施例中,还可以展示基于信息搜索指令得到的信息的总量。而通过展示总量,则可以便于让用户获知此次搜索一共有多少信息符合条件。In some embodiments, the total amount of information obtained based on the information search instruction can also be displayed. By displaying the total amount, it is convenient for the user to know how much information meets the conditions of this search.

在一些实施例中,步骤102(基于针对第一加载方式控件的选中操作,预加载待展示信息)具体可以包括:响应于检测到针对第一加载方式控件的选中操作,展示数值输入控件;并可以根据数值输入空间接收到的数值,确定第一数目;之后可以预加载第一数目的待展示信息。In some embodiments, step 102 (preloading the information to be displayed based on the selection operation for the first loading mode control) may specifically include: in response to detecting the selection operation for the first loading mode control, displaying the numerical input control; and determining the first number based on the numerical value received in the numerical input space; and then preloading the first number of information to be displayed.

作为示例,展示数值输入控件,并根据数值输入控件接收到的数值,确定第一数目,从而可以仅加载第一数目的待展示信息。而通过这种方式,可以便于用户根据实际需求,自行确定需要预加载的待展示信息的数目,从而也就可以避免执行主体过多的预加载待展示信息而浪费计算资源。As an example, a numerical input control is displayed, and a first number is determined according to the numerical value received by the numerical input control, so that only the first number of information to be displayed can be loaded. In this way, it is convenient for users to determine the number of information to be preloaded according to actual needs, thereby avoiding the execution subject from preloading too much information to be displayed and wasting computing resources.

作为示例,用户利用数值输入控件内输入的数值可以直接表征需要浏览的待展示信息的数目,例如,用户需要输入300条信息时,可以直接在数值输入区输入300。As an example, the numerical value input by the user in the numerical input control can directly represent the number of information to be displayed that needs to be browsed. For example, when the user needs to input 300 pieces of information, he can directly input 300 in the numerical input area.

作为示例,用户利用数值输入控件输入的数值还可以表征用户需要浏览的信息页数,从而,可以根据信息页数,确定需要预加载的待展示信息的数目。例如,每个信息页面可以展示10条信息,当用户输入20,则可以表征第一数目为200,此时,可以预加载200条待展示信息。As an example, the value entered by the user using the numerical input control can also represent the number of information pages that the user needs to browse, so that the number of information to be displayed that needs to be preloaded can be determined based on the number of information pages. For example, each information page can display 10 pieces of information. When the user enters 20, it can represent that the first number is 200. At this time, 200 pieces of information to be displayed can be preloaded.

作为示例,基于信息搜索指令得到的信息的数量可能较多,而用户可能并不会观看完所有的待展示数据,而是仅浏览一定数目的待展示数据。例如,基于信息搜索指令得到的信息的数量可能为3000条,而用户可能仅需浏览300条就可以获知这类信息的大致情况了,因此,则可以利用数值输入控件输入对应的数值,使得仅需预加载300条待展示信息。而通过这种方式,也就使得并非所有待展示信息都将被预加载,从而也就可以节约计算资源。As an example, the amount of information obtained based on the information search instruction may be large, and the user may not view all the data to be displayed, but only browse a certain number of data to be displayed. For example, the amount of information obtained based on the information search instruction may be 3,000, and the user may only need to browse 300 to get a general idea of this type of information. Therefore, the corresponding value can be entered using the numeric input control, so that only 300 pieces of information to be displayed need to be preloaded. In this way, not all information to be displayed will be preloaded, thereby saving computing resources.

为了便于理解本申请所提供的思想,可以结合图2A和图2B进行说明,图2A和图2B为展示界面的示意图,从图2A可以看出,在展示界面中的虚线方框201处可以展示基于信息搜索指令得到的信息的总数,在虚线圆框202处可以展示第一加载方式控件。当检测到针对第一加载方式控件的选中操作之后,展示界面可以如图2B所示,则可以在虚线方框203出展示数值输入控件。可以看出,通过展示基于信息搜索指令得到的信息的总数,可以便于用户获知一共搜索到了多少信息;展示第一加载方式控件,可以便于对待展示信息进行预加载,而当对第一加载方式控件执行选中操作之后,可以继续展示数值输入控件,从而可以便于确定需要进行预加载的待展示信息的数量。In order to facilitate understanding of the ideas provided by the present application, it can be explained in conjunction with Figures 2A and 2B. Figures 2A and 2B are schematic diagrams of the display interface. It can be seen from Figure 2A that the total number of information obtained based on the information search instruction can be displayed at the dotted box 201 in the display interface, and the first loading mode control can be displayed at the dotted circle 202. After detecting the selection operation for the first loading mode control, the display interface can be as shown in Figure 2B, and the numerical input control can be displayed in the dotted box 203. It can be seen that by displaying the total number of information obtained based on the information search instruction, it is convenient for the user to know how much information has been searched in total; displaying the first loading mode control can facilitate preloading of the information to be displayed, and after the selection operation is performed on the first loading mode control, the numerical input control can continue to be displayed, so that it is convenient to determine the amount of information to be displayed that needs to be preloaded.

在一些实施中,可以响应于接收针对待展示信息的排序指令,根据排序指令所指示的排序方式对待展示信息进行排序;基于排序结果,预加载第一数目的待展示信息。In some implementations, in response to receiving a sorting instruction for the information to be displayed, the information to be displayed may be sorted according to a sorting manner indicated by the sorting instruction; and based on the sorting result, a first number of the information to be displayed may be preloaded.

作为示例,待展示信息可能会有一个默认的排序方式,例如,根据待展示信息的发布时间的先后顺序进行排序。但是,在实际应用过程中,待展示信息还有许多排序方式,例如,根据待展示信息被浏览的次数多少进行排序,根据待展示信息的好评率进行排序等。也即,当针对不同的应用场景,用户所需要的排序方式可能不同,因此,用户可以输入排序指令,更改对待展示信息的排序方式。As an example, the information to be displayed may have a default sorting method, for example, sorting according to the order of the release time of the information to be displayed. However, in actual application, there are many other sorting methods for the information to be displayed, for example, sorting according to the number of times the information to be displayed has been viewed, sorting according to the praise rate of the information to be displayed, etc. That is, when it comes to different application scenarios, the sorting method required by the user may be different, so the user can enter a sorting instruction to change the sorting method for the information to be displayed.

作为示例,当根据排序指令所指示的排序方式对待展示信息进行排序之后,可以根据排序结果,预加载第一数目的待展示信息。而这样,可以更为准确地预加载待展示信息中的某些信息(例如,可以准确地预加载被浏览次数较多的第一数目的待展示信息),也就可以使用户可以更灵活的选择需要浏览的待展示信息,并可以实现对这些待展示信息的准确预加载。As an example, after the information to be displayed is sorted according to the sorting method indicated by the sorting instruction, the first number of information to be displayed can be preloaded according to the sorting result. In this way, some information in the information to be displayed can be preloaded more accurately (for example, the first number of information to be displayed that has been browsed a large number of times can be accurately preloaded), which can enable users to more flexibly select the information to be displayed that needs to be browsed, and can realize accurate preloading of the information to be displayed.

在一些实施例中,可以基于当前预加载进度,确定以及展示加载时长。In some embodiments, the loading duration may be determined and displayed based on the current preloading progress.

在这里,预加载进度可以用于指示已经预加载的待展示信息数目与第一数目的比值。Here, the preloading progress may be used to indicate the ratio of the number of preloaded information to be displayed to the first number.

在这里,加载时长可以用于指示从当前加载进度至加载完成还需花费的时长。Here, the loading duration can be used to indicate the time required from the current loading progress to the completion of the loading.

作为示例,基于当前预加载进度,确定以及展示加载时长,可以便于用户获知还需加载的时长,从而也就可以使得用户直观的了解何时开始浏览待展示信息不容易发生卡顿现象。As an example, based on the current preloading progress, determining and displaying the loading time can help users know how long it will take to load, so that users can intuitively understand when to start browsing the information to be displayed without causing lag.

可以看出,确定以及展示加载时长,可以便于用户更为直观地了解预加载完成还需花费的时间,从而也就可以便于用户获知何时可以开始对待展示进行顺畅的浏览,也就可以节约用户在浏览过程中的时间,并可以提升浏览的效率It can be seen that determining and displaying the loading time can help users more intuitively understand the time it will take for preloading to complete, so that users can know when they can start browsing the display smoothly, which can save users' time during browsing and improve browsing efficiency.

为了便于理解,可以继续如图2C所示,当用户利用在虚线方框203中的数值输入控件输入数值之后,则可以获得第一数目,此时,则可以根据第一数目确定加载时长,并在虚线框204中进行展示。当执行主体已经预加载待展示信息之后,需要预加载的待展示信息则越来越少,则相应的加载时间也应该越来越小。也即,可以根据当前预加载进度,确定以及展示加载时长,换言之,可以根据当前预加载进度,实时更新虚线框204中的加载时长,或间隔一段时间更新一次虚线框204中的加载时长。For ease of understanding, as shown in FIG. 2C , when the user inputs a value using the numerical input control in the dotted box 203, a first number can be obtained. At this time, the loading time can be determined based on the first number and displayed in the dotted box 204. After the execution subject has preloaded the information to be displayed, the information to be displayed that needs to be preloaded becomes less and less, and the corresponding loading time should also become smaller and smaller. In other words, the loading time can be determined and displayed based on the current preloading progress. In other words, the loading time in the dotted box 204 can be updated in real time based on the current preloading progress, or the loading time in the dotted box 204 can be updated once at intervals.

在一些实施例中,可以根据当前已完成预加载的待展示信息数目和当前已经预加载的时长,确定第一时长,基于第一时长和当前预加载进度,确定以及展示加载时长。In some embodiments, the first duration can be determined according to the number of information to be displayed that has been preloaded and the current preloading duration, and the loading duration can be determined and displayed based on the first duration and the current preloading progress.

在这里,第一时长用于指示已完成预加载的待展示信息中每条待展示信息的平均加载时长。Here, the first duration is used to indicate the average loading duration of each piece of information to be displayed in the preloaded information to be displayed.

作为示例,根据当前已完成预加载的待展示信息数目和当前已经预加载的时长,确定已完成预加载的待展示信息中每条待展示信息的平均加载时长,并可以基于确定的平均加载时长确定加载时长,从而可以使得确定地加载时长更加准确。As an example, based on the number of information to be displayed that has been preloaded and the current preloading time, the average loading time of each piece of information to be displayed that has been preloaded is determined, and the loading time can be determined based on the determined average loading time, so that the determined loading time can be more accurate.

在一些实施例中,可以在响应于确定已经预加载第二数目的待展示信息,生成第一提示信息。In some embodiments, the first prompt information may be generated in response to determining that the second amount of information to be presented has been preloaded.

在这里,第二数目小于第一数目。Here, the second number is smaller than the first number.

作为示例,当已经预加载了第二数目的待展示信息后,用户则可以开始浏览了,从而可以实现边展示边预加载。这样,可以节约用户浏览完待展示信息的时间。As an example, after the second number of information to be displayed has been preloaded, the user can start browsing, so that preloading can be achieved while displaying. In this way, the time for the user to browse the information to be displayed can be saved.

作为示例,提示信息可以是文本信息、声音信息、震动信息等中任一或者组合。而通过生成第一提示信息可以更好的提醒用户此时可以对展示信息进行浏览,且此时浏览待展示信息也可能不会出现卡顿现象。As an example, the prompt information may be any one or a combination of text information, sound information, vibration information, etc. By generating the first prompt information, the user can be better reminded that the displayed information can be browsed at this time, and browsing the displayed information may not be stuck.

作为示例,由于第二数目小于第一数目,使得无需预加载完成用户才可以浏览待展示信息,而是可以加载到第二数目之后,则可以生成提示信息以提示用户,此时可以对待展示信息进行浏览了,相应的也就提升了浏览效率。As an example, since the second number is smaller than the first number, the user can browse the information to be displayed without preloading. Instead, after the second number is loaded, a prompt message can be generated to prompt the user, at which time the user can browse the information to be displayed, thereby improving browsing efficiency accordingly.

在一些实施例中,响应于预加载完成,可以生成第二提示信息。In some embodiments, in response to the preloading being completed, a second prompt message may be generated.

作为示例,第二提示信息也可以为文本信息、声音信息、震动信息等中任一或者组合。而通过生成第二提示信息,可以使得用户获知何时已经预加载完成待展示信息,此时,用户进行浏览则大概率不会出现卡顿现象,从而也就可以提升用户的浏览效率。As an example, the second prompt information may also be any one or a combination of text information, sound information, vibration information, etc. By generating the second prompt information, the user can be informed when the information to be displayed has been preloaded. At this time, the user is unlikely to experience lag when browsing, thereby improving the browsing efficiency of the user.

可以看出,当预加载了第二数目的待展示信息之后,可以生成第一提示信息,当预加载完成了第一数目的待展示信息之后,则可以生成第二提示信息,而通过生成第一提示信息和第二提示信息,不仅可以提醒用户当前加载进度,也可以便于用户确定何时开始浏览较为顺畅,从而可以提升用户在浏览过程中的浏览效率。It can be seen that after the second number of information to be displayed is preloaded, the first prompt information can be generated, and after the first number of information to be displayed is preloaded, the second prompt information can be generated. By generating the first prompt information and the second prompt information, not only can the user be reminded of the current loading progress, but also the user can be facilitated to determine when to start browsing more smoothly, thereby improving the user's browsing efficiency during the browsing process.

在一些实施例中,可以展示已经完成预加载的待展示信息的数量;和/或,展示进度比值。In some embodiments, the amount of information to be displayed that has been preloaded can be displayed; and/or the progress ratio can be displayed.

在这里,进度比值用于指示已经完成预加载的待展示信息的数量与预加载待展示信息的总数之间的比值。Here, the progress ratio is used to indicate the ratio between the amount of preloaded information to be displayed and the total amount of preloaded information to be displayed.

作为示例,已经完成预加载的待展示信息的数量可以直观的提醒用户当前已经预加载了多少待展示信息,以便用户选择是否现在开始对待展示信息进行浏览。As an example, the number of information to be displayed that has been preloaded can intuitively remind the user how much information to be displayed has been preloaded, so that the user can choose whether to start browsing the information to be displayed now.

作为示例,展示进度比值,也可以直观地提醒用户当前的预加载进度,从而也可以便于用户选择是否开始对待展示信息进行浏览。As an example, displaying the progress ratio can also intuitively remind the user of the current preloading progress, thereby facilitating the user to choose whether to start browsing the information to be displayed.

也即,可以通过展示已经完成预加载的待展示信息的数量;和/或,展示进度比值,让用户更加合理地确定当前是否可以对待展示信息进行浏览,从而也就可以提升浏览过程的浏览效率。That is, by displaying the amount of preloaded information to be displayed and/or displaying the progress ratio, the user can more reasonably determine whether the information to be displayed can be browsed at present, thereby improving the browsing efficiency of the browsing process.

为了便于理解,可以结合图3进行说明,图3为展示界面的展示示意图,如图3所示,可以在虚线框301处展示已经完成预加载的数量,也可以在虚线框302出展示进度比值,还可以同时展示虚线框301和虚线框302。可以看出,通过展示已经完成预加载的待展示信息的数量;和/或,展示进度比值,可以便于用户快速了解当前已经预加载多少待展示信息,从而可以便于用户合理规划何时对待展示信息进行浏览。For ease of understanding, it can be explained in conjunction with FIG3, which is a schematic diagram of the display interface. As shown in FIG3, the number of preloaded information can be displayed in the dotted box 301, the progress ratio can be displayed in the dotted box 302, and the dotted box 301 and the dotted box 302 can be displayed at the same time. It can be seen that by displaying the number of preloaded information to be displayed; and/or displaying the progress ratio, the user can quickly understand how much information to be displayed has been preloaded, so that the user can reasonably plan when to browse the information to be displayed.

在一些实施例中,还可以展示第二加载方式控件,基于针对第二加载方式控件的选中操作,检测是否接收到信息浏览指令;响应于检测到信息浏览指令,加载当前展示信息之后第三数目的待展示信息。In some embodiments, a second loading mode control may also be displayed, and based on a selection operation on the second loading mode control, it is detected whether an information browsing instruction is received; in response to detecting the information browsing instruction, a third number of information to be displayed after the currently displayed information is loaded.

在这里,第二加载方式控件对应的第二加载方式,指示基于接收到信息浏览指令加载第三数目的待展示信息。Here, the second loading mode corresponding to the second loading mode control indicates loading a third amount of information to be displayed based on the received information browsing instruction.

在这里,信息浏览指令用于指示对待展示信息进行浏览。Here, the information browsing instruction is used to instruct browsing the information to be displayed.

作为示例,某些场景下,用户可能仅是需要粗略地浏览一下基于信息搜索指令所得到的信息。此时,则可以对第二加载方式控件执行选中操作,从而也就无需对大量的待展示信息进行预加载,也就可以节约计算资源。As an example, in some scenarios, the user may only need to roughly browse the information obtained based on the information search instruction. In this case, the second loading mode control can be selected, so there is no need to preload a large amount of information to be displayed, and computing resources can be saved.

作为示例,当检测到用户执行了预设操作之后,则可以表征生成了信息浏览指令。例如,预设操作可以包括:点击操作、滑动操作等。As an example, when it is detected that the user has performed a preset operation, it can be represented that the information browsing instruction has been generated. For example, the preset operation may include: a click operation, a slide operation, and the like.

作为示例,在当前展示界面可能已经展示了部分信息,而当执行预设操作之后,则可以表征用户可能想浏览当前展示信息之后的部分信息,则可以对当前展示信息之后的第三数目的待展示信息进行加载。也即,当检测到用户有需要浏览待展示信息的需求时,则可以立即对第三数目的待展示信息进行加载。从而也可以一定程度使得用户在浏览过程中避免出现卡顿现象。As an example, part of the information may have been displayed in the current display interface, and after the preset operation is performed, it can be indicated that the user may want to browse part of the information after the currently displayed information, and the third number of information to be displayed after the currently displayed information can be loaded. That is, when it is detected that the user has a need to browse the information to be displayed, the third number of information to be displayed can be loaded immediately. This can also avoid freezes during the browsing process of the user to a certain extent.

作为示例,第三数目的具体数值可以根据实际情况进行设定,在此并不对第三数目的具体数值进行限定,仅需根据实际情况进行合理选取即可。例如,第三数目的具体数值可以为8。在一些实现方式中,也可以根据当前信息展示页面的下一信息展示页面中包括的待展示信息的数目确定第三数目的具体数值。As an example, the specific value of the third number can be set according to actual conditions, and the specific value of the third number is not limited here, and it only needs to be reasonably selected according to actual conditions. For example, the specific value of the third number can be 8. In some implementations, the specific value of the third number can also be determined according to the number of information to be displayed included in the next information display page of the current information display page.

作为示例,可以同时展示第一加载方式控件和第二加载方式控件,而当没有选中第一加载方式控件时,则默认选中了第二加载方式控件。也即,基于信息搜索指令所得到的信息,可以默认以第二加载方式进行加载。As an example, the first loading mode control and the second loading mode control may be displayed simultaneously, and when the first loading mode control is not selected, the second loading mode control is selected by default. That is, based on the information obtained by the information search instruction, the second loading mode may be used for loading by default.

为了便于理解,可以结合图4进行说明,如图4所示,在虚线圆框401出可以展示第一加载方式控件,在虚线圆框402处可以展示第二加载方式控件,当用户没有对第一加载方式控件执行选中操作时,可以默认选中了第二加载方式控件,而矩形虚线框403为内容展示区(可以用于展示已经加载完成的内容),在内容展示区展示了信息A、信息B、信息C和信息D;当用户在内容展示区执行预定的操作后(如向上的滑动操作),则可以表征生成了信息浏览指令,此时,则可以加载第三数目的待展示信息。For ease of understanding, it can be explained in conjunction with Figure 4. As shown in Figure 4, the first loading mode control can be displayed in the dotted circle 401, and the second loading mode control can be displayed in the dotted circle 402. When the user does not perform a selection operation on the first loading mode control, the second loading mode control can be selected by default, and the rectangular dotted box 403 is a content display area (which can be used to display the content that has been loaded), and information A, information B, information C and information D are displayed in the content display area; when the user performs a predetermined operation in the content display area (such as an upward sliding operation), it can be indicated that an information browsing instruction has been generated, and at this time, the third number of information to be displayed can be loaded.

进一步参考图5,作为对上述各图所示方法的实现,本公开提供了一种数据加载装置的一个实施例,该装置实施例与图1所示的数据加载方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a data loading device, which corresponds to the data loading method embodiment shown in FIG. 1 , and can be specifically applied to various electronic devices.

如图5所示,本实施例的数据加载装置包括:展示单元501,用于响应于信息搜索指令,展示第一加载方式控件,其中,上述第一加载方式控件对应的第一加载方式,指示预加载基于上述信息搜索指令得到的待展示信息;预加载单元502,用于基于针对上述第一加载方式控件的选中操作,预加载待展示信息。As shown in Figure 5, the data loading device of this embodiment includes: a display unit 501, which is used to display a first loading mode control in response to an information search instruction, wherein the first loading mode corresponding to the above-mentioned first loading mode control indicates preloading of the information to be displayed obtained based on the above-mentioned information search instruction; a preloading unit 502, which is used to preload the information to be displayed based on the selection operation of the above-mentioned first loading mode control.

在一些实施例中,上述展示单元501具体还用于:展示目标信息,其中,目标信息包括已经加载完成的基于信息搜索指令得到的待展示信息;将排序在目标信息之后预设数目的待展示信息进行渲染。In some embodiments, the display unit 501 is further used to: display target information, wherein the target information includes information to be displayed that has been loaded and obtained based on the information search instruction; and render a preset number of information to be displayed that is sorted after the target information.

在一些实施例中,上述预加载单元502具体还用于:响应于检测到针对上述第一加载方式控件的选中操作,展示数值输入控件;根据数值输入控件接收到的数值,确定第一数目;预加载上述第一数目的待展示信息。In some embodiments, the preloading unit 502 is further used to: display a numeric input control in response to detecting a selection operation on the first loading mode control; determine a first number based on the numeric value received by the numeric input control; and preload the first number of information to be displayed.

在一些实施例中,上述预加载单元502具体还用于:响应于接收针对待展示信息的排序指令,根据排序指令所指示的排序方式对待展示信息进行排序;基于上述排序结果,预加载上述第一数目的待展示信息。In some embodiments, the preloading unit 502 is further configured to: in response to receiving a sorting instruction for the information to be displayed, sort the information to be displayed according to the sorting method indicated by the sorting instruction; and preload the first number of information to be displayed based on the sorting result.

在一些实施例中,上述预加载单元502具体还用于:基于当前预加载进度,确定以及展示加载时长,其中,预加载进度用于指示已经预加载的待展示信息数目与第一数目的比值;加载时长用于指示从当前加载进度至加载完成还需花费的时长。In some embodiments, the above-mentioned preloading unit 502 is also specifically used to: determine and display the loading time based on the current preloading progress, wherein the preloading progress is used to indicate the ratio of the number of preloaded information to be displayed to the first number; the loading time is used to indicate the time required from the current loading progress to the completion of the loading.

在一些实施例中,上述预加载单元502具体还用于:根据当前已完成预加载的待展示信息数目和当前已经预加载的时长,确定第一时长,其中,上述第一时长用于指示已完成预加载的待展示信息中每条待展示信息的平均加载时长;基于上述第一时长和当前预加载进度,确定以及展示加载时长。In some embodiments, the preloading unit 502 is also specifically used to: determine a first duration based on the number of information to be displayed that has been preloaded and the current preloading duration, wherein the first duration is used to indicate the average loading duration of each piece of information to be displayed in the preloaded information to be displayed; determine and display the loading duration based on the first duration and the current preloading progress.

在一些实施例中,上述装置还包括生成单元503,用于响应于确定已经预加载第二数目的待展示信息,生成第一提示信息,其中,上述第二数目小于上述第一数目。In some embodiments, the apparatus further comprises a generating unit 503, configured to generate first prompt information in response to determining that a second number of information to be displayed has been preloaded, wherein the second number is smaller than the first number.

在一些实施例中,上述展示单元501具体还用于:展示已经完成预加载的待展示信息的数量;和/或展示进度比值,其中,上述进度比值用于指示已经完成预加载的待展示信息的数量与预加载待展示信息的总数之间的比值。In some embodiments, the display unit 501 is further used to: display the amount of preloaded information to be displayed; and/or display a progress ratio, wherein the progress ratio is used to indicate the ratio between the amount of preloaded information to be displayed and the total amount of preloaded information to be displayed.

在一些实施例中,上述展示单元501具体还用于:展示第二加载方式控件,其中,第二加载方式控件对应的的第二加载方式,指示基于接收到信息浏览指令加载第三数目的待展示信息;基于针对上述第二加载方式控件的选中操作,检测是否接收到信息浏览指令,其中,上述信息浏览指令用于指示对待展示信息进行浏览;响应于检测到信息浏览指令,加载上述第三数目的待展示信息。In some embodiments, the display unit 501 is further used to: display a second loading mode control, wherein the second loading mode corresponding to the second loading mode control indicates loading a third number of information to be displayed based on receiving an information browsing instruction; based on a selection operation on the second loading mode control, detecting whether an information browsing instruction is received, wherein the information browsing instruction is used to indicate browsing of the information to be displayed; and in response to detecting the information browsing instruction, loading the third number of information to be displayed.

请参考图6,图6示出了本公开的一个实施例的数据加载方法可以应用于其中的示例性系统架构。Please refer to FIG. 6 , which shows an exemplary system architecture in which the data loading method according to an embodiment of the present disclosure can be applied.

如图6所示,系统架构可以包括终端设备601、602、603,网络604,服务器605。网络604可以用以在终端设备601、602、603和服务器605之间提供通信链路的介质。网络604可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in Fig. 6, the system architecture may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 may be used to provide a medium for a communication link between the terminal devices 601, 602, 603 and the server 605. The network 604 may include various connection types, such as wired, wireless communication links, or optical fiber cables.

终端设备601、602、603可以通过网络604与服务器605交互,以接收或发送消息等。终端设备601、602、603上可以安装有各种客户端应用,例如网页浏览器应用、搜索类应用、新闻资讯类应用。终端设备601、602、603中的客户端应用可以接收用户的指令,并根据用户的指令完成相应的功能,例如根据用户的指令在信息中添加相应信息。The terminal devices 601, 602, and 603 can interact with the server 605 through the network 604 to receive or send messages, etc. Various client applications, such as web browser applications, search applications, and news information applications, can be installed on the terminal devices 601, 602, and 603. The client applications in the terminal devices 601, 602, and 603 can receive user instructions and perform corresponding functions according to the user instructions, such as adding corresponding information to the information according to the user instructions.

终端设备601、602、603可以是硬件,也可以是软件。当终端设备601、602、603为硬件时,可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、智能台灯、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio LayerIII,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group AudioLayer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。当终端设备601、602、603为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。Terminal devices 601, 602, and 603 can be hardware or software. When terminal devices 601, 602, and 603 are hardware, they can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, smart desk lamps, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) players, laptop computers, and desktop computers, etc. When terminal devices 601, 602, and 603 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

服务器605可以是提供各种服务的服务器,例如接收终端设备601、602、603发送的信息获取请求,根据信息获取请求通过各种方式获取信息获取请求对应的展示信息。并展示信息的相关数据发送给终端设备601、602、603。The server 605 may be a server that provides various services, such as receiving information acquisition requests sent by the terminal devices 601, 602, and 603, acquiring display information corresponding to the information acquisition requests in various ways according to the information acquisition requests, and sending the relevant data of the display information to the terminal devices 601, 602, and 603.

需要说明的是,本公开实施例所提供的数据加载方法可以由终端设备执行,相应地,数据加载装置可以设置在终端设备601、602、603中。此外,本公开实施例所提供的数据加载方法还可以由服务器605执行,相应地,数据加载装置可以设置于服务器605中。It should be noted that the data loading method provided in the embodiment of the present disclosure can be executed by a terminal device, and accordingly, the data loading device can be set in the terminal devices 601, 602, and 603. In addition, the data loading method provided in the embodiment of the present disclosure can also be executed by a server 605, and accordingly, the data loading device can be set in the server 605.

应该理解,图6中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the number of terminal devices, networks and servers in Figure 6 is only for illustration purposes and any number of terminal devices, networks and servers may be provided as required.

下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如图6中的终端设备或服务器)的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring to FIG. 7 below, it shows a schematic diagram of the structure of an electronic device (such as the terminal device or server in FIG. 6 ) suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 7 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

如图7所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM702以及RAM703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG7 , the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to the bus 704.

通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709. The communication device 709 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 7 shows an electronic device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于信息搜索指令,展示第一加载方式控件,其中,上述第一加载方式控件对应的第一加载方式,指示预加载基于上述信息搜索指令得到的待展示信息;基于针对上述第一加载方式控件的选中操作,预加载待展示信息。The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a first loading mode control in response to an information search instruction, wherein the first loading mode corresponding to the above-mentioned first loading mode control indicates preloading of the information to be displayed obtained based on the above-mentioned information search instruction; and preloads the information to be displayed based on the selection operation of the above-mentioned first loading mode control.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,展示单元501还可以被描述为“展示第一加载方式控件的单元”。The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the display unit 501 may also be described as a "unit for displaying a first loading mode control."

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims (9)

Translated fromChinese
1.一种数据加载方法,其特征在于,包括:1. A data loading method, comprising:响应于信息搜索指令,展示第一加载方式控件,其中,所述第一加载方式控件对应的第一加载方式,指示预加载基于所述信息搜索指令得到的待展示信息;预加载为:在待展示信息还没接收到进行展示的指令之前,提前对待展示信息加载完成;In response to the information search instruction, a first loading mode control is displayed, wherein the first loading mode corresponding to the first loading mode control indicates preloading of the information to be displayed obtained based on the information search instruction; preloading means: before the information to be displayed receives an instruction to display, the loading of the information to be displayed is completed in advance;基于针对所述第一加载方式控件的选中操作,预加载待展示信息;Preloading information to be displayed based on a selection operation on the first loading mode control;所述基于针对所述第一加载方式控件的选中操作,预加载待展示信息,包括:The preloading of information to be displayed based on the selection operation of the first loading mode control includes:响应于检测到针对所述第一加载方式控件的选中操作,展示数值输入控件;In response to detecting a selection operation on the first loading mode control, displaying a numerical input control;根据数值输入控件接收到的数值,确定第一数目;Determine a first number according to a value received by the value input control;预加载所述第一数目的待展示信息;preloading the first number of information to be displayed;所述方法还包括:响应于确定已经预加载第二数目的待展示信息,生成第一提示信息,其中,所述第二数目小于所述第一数目;The method further comprises: in response to determining that a second number of information to be displayed has been preloaded, generating a first prompt message, wherein the second number is less than the first number;所述方法还包括:The method further comprises:展示目标信息,其中,目标信息包括已经加载完成的基于信息搜索指令得到的待展示信息;其中,加载为:当待展示信息已经接收到需要进行展示的指令时,才进行加载;Display target information, wherein the target information includes the information to be displayed that has been loaded and obtained based on the information search instruction; wherein loading means: when the information to be displayed has received the instruction to be displayed, it is loaded;将排序在目标信息之后预设数目的待展示信息进行渲染。Render the preset number of information to be displayed that is sorted after the target information.2.根据权利要求1所述的方法,其特征在于,所述预加载所述第一数目的待展示信息,包括:2. The method according to claim 1, characterized in that the preloading of the first number of information to be displayed comprises:响应于接收针对待展示信息的排序指令,根据排序指令所指示的排序方式对待展示信息进行排序;In response to receiving a sorting instruction for the information to be displayed, sorting the information to be displayed according to a sorting manner indicated by the sorting instruction;基于排序结果,预加载所述第一数目的待展示信息。Based on the sorting result, the first number of information to be displayed is preloaded.3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that the method further comprises:基于当前预加载进度,确定以及展示加载时长,其中,预加载进度用于指示已经预加载的待展示信息数目与第一数目的比值;加载时长用于指示从当前加载进度至加载完成还需花费的时长。Based on the current preloading progress, the loading duration is determined and displayed, wherein the preloading progress is used to indicate the ratio of the number of preloaded information to be displayed to the first number; and the loading duration is used to indicate the time required from the current loading progress to the completion of loading.4.根据权利要求3所述的方法,其特征在于,所述基于当前预加载进度,确定以及展示加载时长,包括:4. The method according to claim 3, characterized in that the determining and displaying the loading duration based on the current preloading progress comprises:根据当前已完成预加载的待展示信息数目和当前已经预加载的时长,确定第一时长,其中,所述第一时长用于指示已完成预加载的待展示信息中每条待展示信息的平均加载时长;Determine a first duration according to the number of information to be displayed that has been preloaded and the duration of the current preloading, wherein the first duration is used to indicate an average loading duration of each piece of information to be displayed in the information to be displayed that has been preloaded;基于所述第一时长和当前预加载进度,确定以及展示加载时长。Based on the first duration and the current preloading progress, the loading duration is determined and displayed.5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, characterized in that the method further comprises:展示已经完成预加载的待展示信息的数量;和/或Display the amount of information to be displayed that has been preloaded; and/or展示进度比值,其中,所述进度比值用于指示已经完成预加载的待展示信息的数量与预加载待展示信息的总数之间的比值。A display progress ratio, wherein the progress ratio is used to indicate the ratio between the amount of preloaded information to be displayed and the total amount of preloaded information to be displayed.6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, characterized in that the method further comprises:展示第二加载方式控件,其中,第二加载方式控件对应的的第二加载方式,指示基于接收到信息浏览指令加载第三数目的待展示信息;Displaying a second loading mode control, wherein the second loading mode corresponding to the second loading mode control indicates loading a third number of information to be displayed based on the received information browsing instruction;基于针对所述第二加载方式控件的选中操作,检测是否接收到信息浏览指令,其中,所述信息浏览指令用于指示对待展示信息进行浏览;Based on the selection operation on the second loading mode control, detecting whether an information browsing instruction is received, wherein the information browsing instruction is used to instruct browsing of the information to be displayed;响应于检测到信息浏览指令,加载所述第三数目的待展示信息。In response to detecting the information browsing instruction, the third number of information to be displayed is loaded.7.一种数据加载装置,其特征在于,包括:7. A data loading device, comprising:展示单元,用于响应于信息搜索指令,展示第一加载方式控件,其中,所述第一加载方式控件对应的第一加载方式,指示预加载基于所述信息搜索指令得到的待展示信息;预加载为:在待展示信息还没接收到进行展示的指令之前,提前对待展示信息加载完成;A display unit, configured to display a first loading mode control in response to an information search instruction, wherein the first loading mode corresponding to the first loading mode control indicates preloading of the information to be displayed obtained based on the information search instruction; preloading means: before the information to be displayed receives an instruction to display, loading of the information to be displayed is completed in advance;预加载单元,用于基于针对所述第一加载方式控件的选中操作,预加载待展示信息;A preloading unit, configured to preload information to be displayed based on a selection operation on the first loading mode control;所述预加载单元,还用于响应于检测到针对所述第一加载方式控件的选中操作,展示数值输入控件;根据数值输入控件接收到的数值,确定第一数目;预加载所述第一数目的待展示信息;The preloading unit is further configured to display a numerical input control in response to detecting a selection operation on the first loading mode control; determine a first number according to a numerical value received by the numerical input control; and preload the first number of information to be displayed;提示单元,用于响应于确定已经预加载第二数目的待展示信息,生成第一提示信息,其中,所述第二数目小于所述第一数目;A prompt unit for generating a first prompt message in response to determining that a second number of information to be displayed has been preloaded, wherein the second number is less than the first number;所述装置,还用于展示目标信息,其中,目标信息包括已经加载完成的基于信息搜索指令得到的待展示信息;以及将排序在目标信息之后预设数目的待展示信息进行渲染;其中,加载为:当待展示信息已经接收到需要进行展示的指令时,才进行加载。The device is also used to display target information, wherein the target information includes information to be displayed that has been loaded and obtained based on information search instructions; and to render a preset number of information to be displayed that is sorted after the target information; wherein loading is: loading is performed only when the information to be displayed has received an instruction to be displayed.8.一种电子设备,其特征在于,包括:8. An electronic device, comprising:一个或多个处理器;one or more processors;存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-6中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.9.一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6中任一所述的方法。9. A computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
CN202111029418.1A2021-09-022021-09-02Data loading method and device and electronic equipmentActiveCN113779461B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111029418.1ACN113779461B (en)2021-09-022021-09-02Data loading method and device and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111029418.1ACN113779461B (en)2021-09-022021-09-02Data loading method and device and electronic equipment

Publications (2)

Publication NumberPublication Date
CN113779461A CN113779461A (en)2021-12-10
CN113779461Btrue CN113779461B (en)2024-09-27

Family

ID=78840905

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111029418.1AActiveCN113779461B (en)2021-09-022021-09-02Data loading method and device and electronic equipment

Country Status (1)

CountryLink
CN (1)CN113779461B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114387398A (en)*2022-01-182022-04-22北京有竹居网络技术有限公司 Three-dimensional scene loading method, loading device, electronic device and readable storage medium
CN114786055B (en)*2022-04-152024-11-19北京字节跳动网络技术有限公司 Preloading method, device, electronic equipment and medium
CN115098194A (en)*2022-07-222022-09-23济南浪潮数据技术有限公司 A UI interface loading method and its related components

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105338409A (en)*2014-06-302016-02-17小米科技有限责任公司Network video pre-loading method and device
CN108170500A (en)*2017-11-282018-06-15深圳市金立通信设备有限公司Download progress method for refreshing, terminal device and computer readable storage medium
CN109246461A (en)*2018-11-302019-01-18北京微播视界科技有限公司Method, applications client and the electronic equipment that video preloads
CN110532489A (en)*2019-08-302019-12-03百度在线网络技术(北京)有限公司Methods of exhibiting, device, equipment and the medium of the page
CN112386916A (en)*2020-12-012021-02-23网易(杭州)网络有限公司Resource loading method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7010762B2 (en)*2002-02-272006-03-07At&T Corp.Pre-loading content to caches for information appliances
CN104794004B (en)*2015-03-172018-09-04中国石油天然气集团公司The method that information preloads
CN107241639A (en)*2017-05-052017-10-10广州优视网络科技有限公司The method of preloading video, equipment, video player, electronic equipment
CN111259290A (en)*2020-01-192020-06-09北京无限光场科技有限公司 Information display method, apparatus, electronic device and computer readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105338409A (en)*2014-06-302016-02-17小米科技有限责任公司Network video pre-loading method and device
CN108170500A (en)*2017-11-282018-06-15深圳市金立通信设备有限公司Download progress method for refreshing, terminal device and computer readable storage medium
CN109246461A (en)*2018-11-302019-01-18北京微播视界科技有限公司Method, applications client and the electronic equipment that video preloads
CN110532489A (en)*2019-08-302019-12-03百度在线网络技术(北京)有限公司Methods of exhibiting, device, equipment and the medium of the page
CN112386916A (en)*2020-12-012021-02-23网易(杭州)网络有限公司Resource loading method and device and electronic equipment

Also Published As

Publication numberPublication date
CN113779461A (en)2021-12-10

Similar Documents

PublicationPublication DateTitle
CN111414498B (en)Multimedia information recommendation method and device and electronic equipment
CN111368185B (en)Data display method and device, storage medium and electronic equipment
CN113779461B (en)Data loading method and device and electronic equipment
CN111400625B (en)Page processing method and device, electronic equipment and computer readable storage medium
CN111597467A (en)Display method and device and electronic equipment
CN110516159B (en)Information recommendation method and device, electronic equipment and storage medium
CN114461313A (en) Information display method, device and electronic device
CN112183045B (en)Online document processing method and device and electronic equipment
CN111797603A (en)Method and device for browsing table in document, electronic equipment and storage medium
CN111596991A (en)Interactive operation execution method and device and electronic equipment
WO2022233311A1 (en)Display method and apparatus, and electronic device
WO2025092611A1 (en)Information display method and apparatus, and electronic device and storage medium
CN112380819B (en) Document editing method, device and electronic device
WO2022148485A1 (en)Information display method and apparatus, and electronic device
WO2025055917A1 (en)Topic interface display method and apparatus, and electronic device and storage medium
CN112307393A (en)Information issuing method and device and electronic equipment
CN118132056A (en) Page development method, device, equipment and storage medium
CN111723309B (en)Method and device for web page searching
CN112214665A (en)Content display method and device, electronic equipment and computer readable storage medium
CN112380476B (en) Information display method, device and electronic equipment
CN114626332A (en) Content display method, device and electronic device
CN114417782A (en) Display method, apparatus and electronic device
CN111259291B (en)View display method and device and electronic equipment
CN111399872A (en) Page updating method, device and electronic device
JP7636102B2 (en) Message selection method, device and apparatus

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp