Data loading method, device and electronic device
By displaying the first loading method control after receiving the information search instruction and preloading the information to be displayed according to the user's selected operation, the lag problem during page loading is solved and the information loading efficiency and user experience are improved.
Patent Information
- Application Number
- CN202111029418.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-02
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-09-02
AI Technical Summary
When users browse content, existing technology is difficult to avoid the lagging phenomenon during page loading, especially when a large amount of information needs to be displayed, resulting in a waste of computing resources and a reduction in user experience.
By displaying the first loading mode control after receiving the information search instruction and preloading the information to be displayed according to the user's selection operation, the preloading of useless information is avoided, computing resources are saved, and information is quickly displayed when needed.
It effectively avoids the lag phenomenon when displaying information, improves information loading efficiency, rationally utilizes computing resources, and improves the user's browsing experience.
Smart Images

Figure CN113779461B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a data loading method, device and electronic device. Background Art
[0002] 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 users are browsing content, they can load the content of the page that needs to be displayed, and display the page content of the loaded page; when users need to browse the next page, they can continue to load the content of the next page. Summary of the invention
[0003] 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.
[0004] 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.
[0005] 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.
[0006] 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.
[0007] 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.
[0008] 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.
[0009] 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
[0010] 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.
[0011] Figure 1 is a flow chart of an embodiment of a data loading method according to the present disclosure;
[0012] Figure 2A-2B is a display schematic diagram of a display interface according to an embodiment of the data loading method disclosed herein;
[0013] Figure 2C is a display schematic diagram of a display interface according to another embodiment of the data loading method disclosed herein;
[0014] Figure 3 is a display schematic diagram of a display interface according to yet another embodiment of the data loading method disclosed herein;
[0015] Figure 4 is a display schematic diagram of a display interface according to another embodiment of the data loading method disclosed herein;
[0016] Figure 5 is a structural schematic diagram of an embodiment of a data loading device according to the present disclosure;
[0017] Figure 6 is an exemplary system architecture in which the data loading method of an embodiment of the present disclosure can be applied;
[0018] Figure 7 It is a schematic diagram of the basic structure of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] 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.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] 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".
[0024] 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.
[0025] Please refer to Figure 1 , which shows the process of an embodiment of the data loading method according to the present disclosure. The data loading method can be applied to a terminal device or a server. Figure 1 The data loading method shown includes the following steps:
[0026] Step 101, in response to an information search instruction, display a first loading mode control.
[0027] 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.
[0028] 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.
[0029] 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.
[0030] 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.
[0031] 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.
[0032] 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. When the first loading mode control is selected, 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.
[0033] 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.
[0034] Step 102: preload information to be displayed based on a selection operation on a first loading mode control.
[0035] As an example, when a selection operation on 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 faster when it is displayed, thereby avoiding the jamming phenomenon that occurs during the information browsing process.
[0036] 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.
[0037] 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 occurrence of jamming when the information to be displayed needs to be displayed.
[0038] 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.
[0039] Here, the target information may include information to be displayed that has been loaded and obtained based on the information search instruction.
[0040] 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.
[0041] 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.
[0042] It can be seen that by pre-rendering 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] In order to facilitate the understanding of the ideas provided by this application, you can combine Figure 2A and Figure 2B To explain, Figure 2A and Figure 2B To show the schematic diagram of the interface, Figure 2A It can be seen that the total amount of information obtained based on the information search instruction can be displayed at the dotted square frame 201 in the display interface, and the first loading mode control can be displayed at the dotted circle frame 202. After the selection operation for the first loading mode control is detected, the display interface can be as follows: Figure 2B As shown, the numerical input control can be displayed in the dotted box 203. It can be seen that by displaying the total amount of information obtained based on the information search instruction, the user can 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 first loading mode control is selected, the numerical input control can continue to be displayed, so that the amount of information to be displayed that needs to be preloaded can be determined.
[0050] 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.
[0051] 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 ways to sort 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 rate of favorable comments of the information to be displayed, etc. That is, for 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 of the information to be displayed.
[0052] 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.
[0053] In some embodiments, the loading duration may be determined and displayed based on the current preloading progress.
[0054] Here, the preloading progress may be used to indicate the ratio of the number of preloaded information to be displayed to the first number.
[0055] Here, the loading duration can be used to indicate the time required from the current loading progress to the completion of the loading.
[0056] 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.
[0057] 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.
[0058] For ease of understanding, we can continue as follows Figure 2C As shown, after 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 is getting less and less, and the corresponding loading time should also be getting shorter and shorter. That is, 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.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] Here, the second number is smaller than the first number.
[0064] 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.
[0065] 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.
[0066] 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.
[0067] In some embodiments, in response to the preloading being completed, a second prompt message may be generated.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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.
[0072] As an example, the number of preloaded information to be displayed 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.
[0073] 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.
[0074] 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.
[0075] For ease of understanding, you can combine Figure 3 To explain, Figure 3 is a schematic diagram of the display interface, such as Figure 3 As shown, 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.
[0076] 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.
[0077] 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.
[0078] Here, the information browsing instruction is used to instruct browsing the information to be displayed.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] For ease of understanding, you can combine Figure 4 To explain, Figure 4 As shown, 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 represented that an information browsing instruction has been generated, and at this time, the third number of information to be displayed can be loaded.
[0085] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a data loading device, which is similar to Figure 1 Corresponding to the data loading method embodiment shown, the device can be specifically applied to various electronic devices.
[0086] like Figure 5As shown, the data loading device of this embodiment includes: a display unit 501, 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, used to preload the information to be displayed based on the selection operation of the above-mentioned first loading mode control.
[0087] 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.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] 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.
[0092] In some embodiments, the apparatus further includes 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.
[0093] 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.
[0094] 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.
[0095] Please refer to Figure 6 , Figure 6 An exemplary system architecture is shown in which the data loading method according to an embodiment of the present disclosure can be applied.
[0096] like Figure 6 As shown, 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, etc.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] 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.
[0101] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0102] Reference below Figure 7 , which shows an electronic device (eg, Figure 6 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook 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. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0103] like Figure 7 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processor, 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 the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the 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.
[0104] Typically, the following devices may be connected to the I / O interface 705: input devices 706 including, for example, a touch screen, a touch pad, 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 devices 709 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0105] 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 the network through the communication device 709, or installed from the storage device 708, or installed from the 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.
[0106] 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.
[0107] 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.
[0108] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0109] 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.
[0110] 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., through the Internet using an Internet service provider).
[0111] 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 a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0112] 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."
[0113] 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0114] 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.
[0115] 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 to form a technical solution.
[0116] 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.
[0117] 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
1. A data loading method, characterized in that: include: 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 the value received by the value input control; preloading the first number of information to be displayed; The method further includes: 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. The method according to claim 1, characterized in that: The preloading the first number of information to be displayed includes: 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. 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. The method according to claim 3, characterized in that The determining and displaying the loading duration based on the current preloading progress includes: 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 preloaded information to be displayed; Based on the first duration and the current preloading progress, the loading duration is determined and displayed.
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. 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. A data loading device, characterized in that: include: 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 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. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, 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. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Preloading method, electronic device and medium
US12671860B2
