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

Data loading method and device and electronic equipment Download PDF

Info

Publication number
CN113779461A
CN113779461A CN202111029418.1A CN202111029418A CN113779461A CN 113779461 A CN113779461 A CN 113779461A CN 202111029418 A CN202111029418 A CN 202111029418A CN 113779461 A CN113779461 A CN 113779461A
Authority
CN
China
Prior art keywords
information
displayed
loading
preloading
preloaded
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.)
Pending
Application number
CN202111029418.1A
Other languages
Chinese (zh)
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 Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202111029418.1A priority Critical patent/CN113779461A/en
Publication of CN113779461A publication Critical patent/CN113779461A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

According to the data loading method, the data loading device and the electronic equipment, after the information search instruction is detected, the first loading mode control can be displayed, the first loading mode indicated by the first loading mode control is used for preloading information to be displayed obtained based on the information search instruction, and after the selection operation is executed on the first loading mode control, the information to be displayed can be preloaded. By the method, whether the information to be displayed is preloaded can be determined according to the selection of the user, and the information to be displayed is preloaded only after the user performs the selection operation on the first loading mode control, so that the useless information can be prevented from being preloaded, and the computing resources are saved. Meanwhile, due to the fact that the information to be displayed can be preloaded, the phenomenon of blocking when the information to be displayed needs to be displayed can be avoided.

Description

Data loading method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a data loading method and apparatus, and an electronic device.
Background
With the development of science and technology, a user can inquire content through terminal equipment, and the inquired content can be displayed on a display interface. When a user browses contents, the contents in a page to be displayed can be loaded, and the loaded page contents of the page are displayed; when the user needs to browse the next page, the content of the next page can be continuously loaded,
disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a data loading method and device and electronic equipment, which can determine the number of information to be preloaded according to the selection of a user, so that when the information to be displayed needs to be displayed, a pause phenomenon is avoided, and the information display is more browsed.
In a first aspect, an embodiment of the present disclosure provides a data loading method, including: responding to an information search instruction, and displaying a first loading mode control, wherein a first loading mode corresponding to the first loading mode control indicates to preload information to be displayed, which is obtained based on the information search instruction; and preloading information to be displayed based on the selected operation aiming at the first loading mode control.
In a second aspect, an embodiment of the present disclosure provides a data loading apparatus, including: the display unit is used for responding to an information search instruction and displaying a first loading mode control, wherein the first loading mode corresponding to the first loading mode control indicates to preload information to be displayed, which is obtained based on the information search instruction; and the preloading unit is used for preloading the information to be displayed based on the selected operation aiming at the first loading mode control.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the data loading method according to the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the data loading method as described above in the first aspect.
According to the data loading method, the data loading device and the electronic equipment, after the information search instruction is detected, the first loading mode control can be displayed, the first loading mode indicated by the first loading mode control is used for preloading information to be displayed, which is obtained based on the information search instruction, and after the selection operation is executed for the first loading mode control, the information to be displayed can be preloaded. By the method, whether the information to be displayed is preloaded can be determined according to the selection of the user, and the information to be displayed is preloaded only after the user performs the selection operation on the first loading mode control, so that the useless information can be prevented from being preloaded, and the computing resources are saved. Meanwhile, due to the fact that the information to be displayed can be preloaded, the phenomenon of blocking when the information to be displayed needs to be displayed can be avoided.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram for one embodiment of a data loading method according to the present disclosure;
2A-2B are display diagrams of a display interface according to one embodiment of a data loading method of the present disclosure;
FIG. 2C is a display schematic of a display interface according to another embodiment of the data loading method of the present disclosure;
FIG. 3 is a display schematic of a display interface according to yet another embodiment of a data loading method of the present disclosure;
FIG. 4 is a display schematic of a display interface of yet another embodiment of a data loading method according to the present disclosure;
FIG. 5 is a schematic block diagram illustrating one embodiment of a data loading apparatus according to the present disclosure;
FIG. 6 is an exemplary system architecture to which the data loading method of one embodiment of the present disclosure may be applied;
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. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow diagram of one embodiment of a data loading method according to the present disclosure is shown. The data loading method can be applied to terminal equipment or a server. The data loading method shown in fig. 1 includes the following steps:
step 101, responding to an information search instruction, and displaying a first loading mode control.
Here, the first loading mode corresponding to the first loading mode control indicates to preload the information to be displayed, which is obtained based on the information search instruction.
As an example, when a search for some kind of information with the execution subject is required, an information search instruction may be input.
For example, the execution body may present a keyword input area for a user to input a search keyword, and after the user inputs the keyword in the keyword input area, the execution body may characterize that an information search instruction is generated, and may perform information search according to the input keyword. If the keyword is a mobile phone, the search result may include a large amount of information for the mobile phone.
As an example, since a search result may include a large amount of information, the information may not be presented at one time; therefore, it is commonly adopted in the related art to load and then present information when the information needs to be presented.
And in this application, the information to be displayed can be preloaded by adopting the first loading mode, and when the information to be displayed needs to be displayed, the information to be displayed can be directly displayed because the information to be displayed is preloaded, so that the information to be displayed can be displayed more efficiently.
By way of example, preloading may be understood as active loading, while loading may be understood as passive loading. That is, preloading may be understood as: and before the contents to be displayed are not received the display instruction, loading the contents to be displayed in advance to finish. The loading may be understood as loading when the content to be displayed has received an instruction to be displayed. For example, the display interface displays a first loading mode control, and after the first loading mode control is selected, the content to be displayed after the current display interface can be directly preloaded. If the first loading mode control is not selected, the user needs to perform a preset browsing operation (for example, an upward sliding operation) on the interface, and at this time, a small amount of content that is not currently displayed is loaded.
Therefore, through the preloading mode, the user can not generate the pause phenomenon in the quick browsing process because the content to be displayed is loaded in advance.
And 102, preloading information to be displayed based on the selected operation aiming at the first loading mode control.
As an example, when the selection operation for the first loading mode control is detected, the information to be displayed can be preloaded, so that the information to be displayed can be displayed quickly when being displayed, and a pause phenomenon occurring in the information browsing process can be avoided.
As an example, only when the user needs to preload the information to be displayed, the first loading manner control may be selected, and such a design may also facilitate the user to determine whether the information to be displayed needs to be preloaded, so that the computing resource may be more reasonably utilized. For example, the search result may be information that the user does not need to browse in large quantities, but rather is preloaded, which may waste a large amount of computing resources. That is, after the user selects the first loading mode control, the information to be displayed is preloaded, so that the computing resources can be utilized more reasonably.
It can be seen that, in the application, after the information search instruction is detected, the first loading manner control may be displayed, where the first loading manner indicated by the first loading manner control is used to preload the information to be displayed, which is obtained based on the information search instruction, and after the selection operation is performed on the first loading manner control, the information to be displayed may be preloaded. By the method, whether the information to be displayed is preloaded can be determined according to the selection of the user, and the information to be displayed is preloaded only after the user performs the selection operation on the first loading mode control, so that the useless information can be prevented from being preloaded, and the computing resources are saved. Meanwhile, due to the fact that the information to be displayed can be preloaded, the phenomenon of blocking when the information to be displayed needs to be displayed can be avoided.
In some embodiments, the target information may be presented, and a preset number of pieces of information to be presented, which are ordered after the target information, may be rendered.
Here, the target information may include information to be presented, which is obtained based on the information search instruction and has been loaded.
As an example, the display interface may display some information (target information) in the information obtained based on the information search instruction, and when displaying the target information, a preset number of pieces of information to be displayed after the target information may be rendered, so that a user may directly browse the information to be displayed when needing to browse the information to be displayed, and the information to be displayed may be displayed more efficiently.
As an example, the specific value of the preset number may be set according to actual conditions, and the specific value of the preset number is not limited herein. For example, the specific number of the preset number may be 30. In some implementation manners, the determination may also be performed according to the number of information that can be displayed on each information display page, for example, each information display page may display 8 pieces of content, and information to be displayed in 5 information display pages after the current information display page (the information display page displaying the target information) may be preloaded in advance, at this time, a specific numerical value of the preset number may be 40.
It can be seen that, by rendering the displayed target information in advance with a preset number of information to be displayed later, the information to be displayed after the target information can be displayed quickly when being displayed, so that the efficiency of displaying the information to be displayed can be improved.
In some embodiments, the total amount of information obtained based on the information search instruction may also be presented. And by displaying the total amount, the user can conveniently know the total amount of the searched information which meets the condition.
In some embodiments, the step 102 (preloading the information to be presented based on the selected operation for the first loading manner control) may specifically include: displaying a numerical value input control in response to detecting a selected operation for the first loading mode control; and determining a first number based on the values received from the value input space; a first number of information to be presented may then be preloaded.
As an example, a numerical value input control is presented, and a first number is determined according to a numerical value received by the numerical value input control, so that only the first number of information to be presented can be loaded. By the method, the number of the information to be displayed which needs to be preloaded can be determined by the user according to actual requirements, so that the waste of computing resources caused by the fact that the execution main body is excessively preloaded with the information to be displayed can be avoided.
As an example, the numerical value input by the user in the numerical value input control may directly represent the number of information to be presented, which needs to be browsed, for example, when the user needs to input 300 pieces of information, the user may directly input 300 in the numerical value input area.
As an example, the numerical value input by the user using the numerical value input control may also represent the number of information pages that the user needs to browse, so that the number of information to be presented that needs to be preloaded may be determined according to the number of information pages. For example, each information page may present 10 pieces of information, and when the user inputs 20, the first number may be characterized as 200, and at this time, 200 pieces of information to be presented may be preloaded.
As an example, the amount of information obtained based on the information search instruction may be large, and the user may not view all of the data to be presented, but may view only a certain number of the data to be presented. For example, the number of information obtained based on the information search instruction may be 3000, and the user may only need to browse 300 pieces of information to know the approximate situation of such information, so that the corresponding numerical value may be input by using the numerical value input control, so that only 300 pieces of information to be presented need to be preloaded. In this way, not all the information to be displayed is preloaded, and thus, the computing resources can be saved.
For facilitating understanding of the ideas provided by the present application, reference may be made to fig. 2A and fig. 2B, where fig. 2A and fig. 2B are schematic diagrams of a display interface, and as can be seen from fig. 2A, a total number of information obtained based on an information search instruction may be displayed at a dashed box 201 in the display interface, and a first loading manner control may be displayed at a dashed circle 202. After detecting the selected operation for the first loading manner control, the presentation interface may be as shown in fig. 2B, and then a numerical value input control may be presented in the dashed box 203. Therefore, the total number of the information obtained based on the information searching instruction is displayed, so that the user can conveniently know the information searched in total; the display of the first loading mode control can facilitate the preloading of information to be displayed, and after the selection operation is performed on the first loading mode control, the numerical value input control can be continuously displayed, so that the quantity of the information to be displayed, which needs to be preloaded, can be conveniently determined.
In some implementations, in response to receiving a sorting instruction for information to be displayed, sorting the information to be displayed according to a sorting manner indicated by the sorting instruction; and preloading a first number of information to be displayed based on the sequencing result.
As an example, the information to be displayed may have a default sorting manner, for example, sorting is performed according to the order of the distribution time of the information to be displayed. However, in the practical application process, there are many sorting ways for the information to be displayed, for example, sorting according to the number of times the information to be displayed is browsed, sorting according to the good rating of the information to be displayed, and the like. That is, when different application scenarios are targeted, the ordering modes required by the user may be different, and therefore, the user may input an ordering instruction to change the ordering mode of the information to be displayed.
As an example, after the information to be displayed is sorted according to the sorting manner indicated by the sorting instruction, a first number of information to be displayed may be preloaded according to the sorting result. Therefore, some information in the information to be displayed can be preloaded more accurately (for example, the first number of information to be displayed with more browsing times can be preloaded accurately), so that the user can select the information to be displayed which needs to be browsed more flexibly, and the accurate preloading of the information to be displayed can be realized.
In some embodiments, the load duration may be determined and presented based on the current preload progress.
Here, the preloading progress may be used to indicate a ratio of the number of information to be presented that has been preloaded to the first number.
Here, the load duration may be used to indicate a duration that is still spent from the current load progress to load completion.
As an example, the loading duration is determined and displayed based on the current preloading progress, so that the user can know the duration needing to be loaded, and the user can intuitively know when to start browsing the information to be displayed and is not easy to cause a pause phenomenon.
It can be seen that determining and displaying the loading duration can facilitate the user to more intuitively know the time spent for completing the preloading, thereby facilitating the user to know when the user can start to smoothly browse the display to be displayed, saving the time of the user in the browsing process, and improving the browsing efficiency
For ease of understanding, continuing with FIG. 2C, after the user enters a value using the value entry control in dashed box 203, a first number may be obtained, at which point a load duration may be determined based on the first number and shown in dashed box 204. After the execution main body has preloaded the information to be displayed, the information to be displayed which needs to be preloaded is less and less, and the corresponding loading time should be less and less. That is, the loading duration may be determined and displayed according to the current preloading progress, in other words, the loading duration in the dashed box 204 may be updated in real time according to the current preloading progress, or the loading duration in the dashed box 204 may be updated once at intervals.
In some embodiments, the first duration may be determined according to the number of information to be displayed, which has been preloaded currently and the duration which has been preloaded currently, and the loading duration may be determined and displayed based on the first duration and the current preloading progress.
Here, the first time length is used to indicate an average loading time length of each piece of information to be presented in the information to be presented, in which the preloading is completed.
As an example, according to the number of the information to be displayed, which has been preloaded currently, and the time length, which has been preloaded currently, the average loading time length of each piece of information to be displayed, which has been preloaded currently, in the information to be displayed is determined, and the loading time length can be determined based on the determined average loading time length, so that the determined loading time length can be more accurate.
In some embodiments, the first prompt message may be generated in response to determining that the second number of messages 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 presented has been preloaded, the user may start browsing, so that the pre-loading while presenting may be implemented. Therefore, the time for the user to browse the information to be displayed can be saved.
As an example, the prompt message may be any one or a combination of text message, sound message, vibration message, and the like. And through generating first prompt information can be better remind the user can browse the show information this moment, and browse this moment and wait to show the information and also can not appear blocking phenomenon.
As an example, since the second number is smaller than the first number, the user can browse the information to be displayed without preloading, but after the second number is loaded, the prompt information can be generated to prompt the user, and at this time, the information to be displayed can be browsed, so that browsing efficiency is correspondingly improved.
In some embodiments, the second prompt message may be generated in response to the preloading being completed.
As an example, the second prompt message may be any one or a combination of text message, sound message, vibration message, and the like. And through generating the second prompt message, the user can know when the information to be displayed is preloaded, and at the moment, the user can browse without a pause phenomenon, so that the browsing efficiency of the user can be improved.
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, and by generating the first prompt information and the second prompt information, the current loading progress of the user can be prompted, and the user can be conveniently determined when to start browsing smoothly, so that the browsing efficiency of the user in the browsing process can be improved.
In some embodiments, the number of information to be presented that has completed preloading may be presented; and/or, displaying the progress ratio.
Here, the progress ratio is used to indicate a ratio between the number of pieces of information to be presented, for which preloading has been completed, and the total number of pieces of information to be presented, for which preloading has been completed.
As an example, the number of the information to be displayed, which has been preloaded, may intuitively remind the user how much information to be displayed has been preloaded currently, so that the user may select whether to start browsing the information to be displayed now.
As an example, the display progress ratio may also intuitively remind the user of the current preloading progress, so that the user may also select whether to start browsing the information to be displayed.
That is, the number of the information to be displayed, which has been preloaded, can be displayed; and/or the display progress ratio enables a user to more reasonably determine whether the displayed information can be browsed currently, so that the browsing efficiency in the browsing process can be improved.
For convenience of understanding, as may be described in conjunction with fig. 3, fig. 3 is a schematic illustration of an interface, as shown in fig. 3, the number of completed preloads may be shown at a dashed box 301, the progress ratio may be shown at a dashed box 302, and both the dashed box 301 and the dashed box 302 may be shown. It can be seen that the number of information to be displayed, which has been preloaded, is displayed; and/or the display progress ratio can facilitate the user to quickly know how much information to be displayed is preloaded currently, so that the user can conveniently plan and browse when the information to be displayed is to be displayed reasonably.
In some embodiments, a second loading mode control may be further displayed, and whether an information browsing instruction is received is detected based on a selected operation for the second loading mode control; and in response to the detected information browsing instruction, loading a third number of information to be displayed after the current display information.
Here, the second loading manner corresponding to the second loading manner control indicates that a third number of information to be displayed is loaded based on the received information browsing instruction.
Here, the information browsing instruction is used to instruct browsing of 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. At this time, the selection operation can be executed on the second loading mode control, so that a large amount of information to be displayed does not need to be preloaded, and the computing resources can be saved.
As an example, after detecting that the user performs the preset operation, it may be characterized that the information browsing instruction is generated. For example, the preset operation may include: click operations, slide operations, and the like.
As an example, part of the information may have been presented on the current presentation interface, and after performing the preset operation, the part of the information after the current presentation information may be represented and the information to be presented in the third number after the current presentation information may 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 may be loaded immediately. Therefore, the user can avoid the phenomenon of pause in the browsing process to a certain extent.
As an example, the specific numerical value of the third number may be set according to an actual situation, and the specific numerical value of the third number is not limited herein, and only needs to be reasonably selected according to the actual situation. For example, the third number may be 8. In some implementation manners, the specific numerical value of the third number may 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, a first loading manner control and a second loading manner control may be simultaneously presented, and when the first loading manner control is not selected, the second loading manner control is selected by default. That is, the information obtained based on the information search instruction may be loaded in the second loading manner by default.
For convenience of understanding, it may be described with reference to fig. 4, as shown in fig. 4, a first loading manner control may be displayed in a dashed circle 401, a second loading manner control may be displayed in a dashed circle 402, when a user does not perform a selection operation on the first loading manner control, the second loading manner control may be selected by default, and a rectangular dashed frame 403 is a content display area (which may be used to display already loaded content), and information a, information B, information C, and information D are displayed in the content display area; after the user performs a predetermined operation (e.g., an upward sliding operation) on the content display area, it may be characterized that an information browsing instruction is generated, and at this time, a third number of information to be displayed may be loaded.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of a data loading apparatus, which corresponds to the embodiment of the data loading method shown in fig. 1, and which can be specifically applied to various electronic devices.
As shown in fig. 5, the data loading apparatus of the present embodiment includes: a display unit 501, configured to display a first loading manner control in response to an information search instruction, where a first loading manner corresponding to the first loading manner control indicates to preload information to be displayed, which is obtained based on the information search instruction; the preloading unit 502 is configured to preload information to be displayed based on a selected operation for the first loading manner control.
In some embodiments, the display unit 501 is further specifically configured to: displaying target information, wherein the target information comprises information to be displayed which is obtained based on the loaded information search instruction; and rendering the information to be displayed which is sequenced in a preset number behind the target information.
In some embodiments, the preloading unit 502 is further configured to: responding to the detected selection operation aiming at the first loading mode control, and displaying a numerical value input control; determining a first number according to the numerical value received by the numerical value input control; and preloading the first number of information to be displayed.
In some embodiments, the preloading unit 502 is further configured to: in response to receiving a sorting instruction for the information to be displayed, sorting the information to be displayed according to a sorting mode indicated by the sorting instruction; and preloading the first number of information to be displayed based on the sequencing result.
In some embodiments, the preloading unit 502 is further configured to: determining and displaying loading duration based on the current preloading progress, wherein the preloading progress is used for indicating the ratio of the number of the information to be displayed which is already preloaded to the first number; the loading duration is used for indicating the duration from the current loading progress to the loading completion.
In some embodiments, the preloading unit 502 is further configured to: determining a first time length according to the number of the information to be displayed, which is preloaded currently and the time length, which is preloaded currently, wherein the first time length is used for indicating the average loading time length of each piece of information to be displayed, which is preloaded and is to be displayed; and determining and displaying the loading time length based on the first time length and the current preloading progress.
In some embodiments, the apparatus further includes a generating unit 503, configured to generate the first prompt message in response to determining that a second number of messages to be presented have been preloaded, where the second number is smaller than the first number.
In some embodiments, the display unit 501 is further specifically configured to: displaying the number of the information to be displayed after the preloading is finished; and/or a display progress ratio, wherein the progress ratio is used for indicating the ratio between the number of the information to be displayed, which is preloaded, and the total number of the information to be displayed, which is preloaded.
In some embodiments, the display unit 501 is further specifically configured to: displaying a second loading mode control, wherein a second loading mode corresponding to the second loading mode control indicates that a third number of information to be displayed is loaded based on the received information browsing instruction; detecting whether an information browsing instruction is received or not based on the selected operation aiming at the second loading mode control, wherein the information browsing instruction is used for indicating that the information to be displayed is browsed; and loading the third number of information to be displayed in response to the detected information browsing instruction.
Referring to fig. 6, fig. 6 illustrates an exemplary system architecture to which the data loading method of one embodiment of the present disclosure may be applied.
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 the medium used to provide communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 601, 602, 603 may interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have various client applications installed thereon, such as a web browser application, a search-type application, and a news-information-type application. The client application in the terminal device 601, 602, 603 may receive the instruction of the user, and complete the corresponding function according to the instruction of the user, for example, add the corresponding information in the information according to the instruction of the user.
The terminal devices 601, 602, 603 may be hardware or software. When the terminal devices 601, 602, 603 are hardware, they may be various electronic devices having a display screen 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, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 601, 602, 603 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 605 may be a server providing various services, for example, receiving an information acquisition request sent by the terminal devices 601, 602, and 603, and acquiring the presentation information corresponding to the information acquisition request in various ways according to the information acquisition request. And the relevant data of the presentation information is sent to the terminal devices 601, 602, 603.
It should be noted that the data loading method provided by the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the data loading apparatus may be disposed in the terminal device 601, 602, 603. In addition, the data loading method provided by the embodiment of the present disclosure may also be executed by the server 605, and accordingly, the data loading apparatus may be disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 7, shown is a schematic diagram of an electronic device (e.g., a terminal device or a server of fig. 6) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic device may include a processing device (e.g., central processing unit, graphics processor, etc.) 701, which may 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 the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: responding to an information search instruction, and displaying a first loading mode control, wherein a first loading mode corresponding to the first loading mode control indicates to preload information to be displayed, which is obtained based on the information search instruction; and preloading information to be displayed based on the selected operation aiming at the first loading mode control.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a cell does not in some cases constitute a limitation on the cell itself, for example, the presentation cell 501 may also be described as a "cell that presents a first load mode control".
The functions described herein above 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 a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for loading data, comprising:
responding to an information search instruction, and displaying a first loading mode control, wherein a first loading mode corresponding to the first loading mode control indicates to preload information to be displayed, which is obtained based on the information search instruction;
and preloading information to be displayed based on the selected operation aiming at the first loading mode control.
2. The method of claim 1, further comprising:
displaying target information, wherein the target information comprises information to be displayed which is obtained based on the loaded information search instruction;
and rendering the information to be displayed which is sequenced in a preset number behind the target information.
3. The method of claim 1, wherein preloading information to be presented based on the selected operation for the first loading manner control comprises:
displaying a numerical value input control in response to detecting a selected operation for the first loading mode control;
determining a first number according to the numerical value received by the numerical value input control;
preloading the first number of information to be displayed.
4. The method of claim 3, wherein preloading the first number of information to be presented comprises:
in response to receiving a sorting instruction for the information to be displayed, sorting the information to be displayed according to a sorting mode indicated by the sorting instruction;
and preloading the first number of information to be displayed based on the sequencing result.
5. The method of claim 3, further comprising:
determining and displaying loading duration based on the current preloading progress, wherein the preloading progress is used for indicating the ratio of the number of the information to be displayed which is already preloaded to the first number; the loading duration is used for indicating the duration from the current loading progress to the loading completion.
6. The method of claim 5, wherein determining and presenting a loading duration based on a current preload progress comprises:
determining a first time length according to the number of the information to be displayed, which is preloaded currently and the time length, which is preloaded currently, wherein the first time length is used for indicating the average loading time length of each piece of information to be displayed, which is preloaded and is to be displayed, in the information to be displayed;
and determining and displaying the loading time length based on the first time length and the current preloading progress.
7. The method of claim 3, further comprising:
in response to determining that a second number of information to be presented has been preloaded, generating a first prompt, wherein the second number is less than the first number.
8. The method of claim 1, further comprising:
displaying the number of the information to be displayed after the preloading is finished; and/or
And displaying a progress ratio, wherein the progress ratio is used for indicating the ratio between the number of the information to be displayed, which is subjected to preloading, and the total number of the information to be displayed, which is subjected to preloading.
9. The method of claim 1, further comprising:
displaying a second loading mode control, wherein a second loading mode corresponding to the second loading mode control indicates that a third number of information to be displayed is loaded based on the received information browsing instruction;
detecting whether an information browsing instruction is received or not based on the selected operation aiming at the second loading mode control, wherein the information browsing instruction is used for indicating that the information to be displayed is browsed;
and loading the third number of information to be displayed in response to the detection of the information browsing instruction.
10. A data loading apparatus, comprising:
the display unit is used for responding to an information search instruction and displaying a first loading mode control, wherein the first loading mode corresponding to the first loading mode control indicates to preload information to be displayed, which is obtained based on the information search instruction;
and the preloading unit is used for preloading the information to be displayed based on the selected operation aiming at the first loading mode control.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202111029418.1A 2021-09-02 2021-09-02 Data loading method and device and electronic equipment Pending CN113779461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111029418.1A CN113779461A (en) 2021-09-02 2021-09-02 Data loading method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111029418.1A CN113779461A (en) 2021-09-02 2021-09-02 Data loading method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113779461A true CN113779461A (en) 2021-12-10

Family

ID=78840905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111029418.1A Pending CN113779461A (en) 2021-09-02 2021-09-02 Data loading method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113779461A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786055A (en) * 2022-04-15 2022-07-22 北京字节跳动网络技术有限公司 Preloading method, preloading device, electronic equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163646A1 (en) * 2002-02-27 2003-08-28 O'neil Joseph Thomas Pre-loading content to caches for information appliances
CN105338409A (en) * 2014-06-30 2016-02-17 小米科技有限责任公司 Network video pre-loading method and device
CN108170500A (en) * 2017-11-28 2018-06-15 深圳市金立通信设备有限公司 Download progress method for refreshing, terminal device and computer readable storage medium
CN109246461A (en) * 2018-11-30 2019-01-18 北京微播视界科技有限公司 Method, applications client and the electronic equipment that video preloads
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page
CN112386916A (en) * 2020-12-01 2021-02-23 网易(杭州)网络有限公司 Resource loading method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163646A1 (en) * 2002-02-27 2003-08-28 O'neil Joseph Thomas Pre-loading content to caches for information appliances
CN105338409A (en) * 2014-06-30 2016-02-17 小米科技有限责任公司 Network video pre-loading method and device
CN108170500A (en) * 2017-11-28 2018-06-15 深圳市金立通信设备有限公司 Download progress method for refreshing, terminal device and computer readable storage medium
CN109246461A (en) * 2018-11-30 2019-01-18 北京微播视界科技有限公司 Method, applications client and the electronic equipment that video preloads
CN110532489A (en) * 2019-08-30 2019-12-03 百度在线网络技术(北京)有限公司 Methods of exhibiting, device, equipment and the medium of the page
CN112386916A (en) * 2020-12-01 2021-02-23 网易(杭州)网络有限公司 Resource loading method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786055A (en) * 2022-04-15 2022-07-22 北京字节跳动网络技术有限公司 Preloading method, preloading device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN111368185B (en) Data display method and device, storage medium and electronic equipment
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN112528595B (en) Document processing method and device and electronic equipment
CN111597467A (en) Display method and device and electronic equipment
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
CN110633126B (en) Information display method and device and electronic equipment
CN112379982B (en) Task processing method, device, electronic equipment and computer readable storage medium
EP4231143A1 (en) Information display method and apparatus, electronic device, and computer readable storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111291258A (en) Recommendation method and device for searching hot words, electronic equipment and readable medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN111723309A (en) Method and device for searching web page
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN113220752A (en) Display method and device and electronic equipment
CN113779461A (en) Data loading method and device and electronic equipment
CN112732652A (en) Information display method and device and electronic equipment
CN112256221A (en) Information display method and device and electronic equipment
CN111798251A (en) Verification method and device of house source data and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN114417782A (en) Display method and device and electronic equipment
CN114063795A (en) Interaction method, interaction device, electronic equipment and storage medium
CN113127718A (en) Text search method and device, readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination