List-based information display method, system, device and storage medium
By obtaining and adjusting list elements in the sliding state of the information list, the problem of incomplete information display is solved, and the complete display of information in the information list is realized, which improves the display effect.
Patent Information
- Application Number
- CN202110169995.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-07
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-02-07
AI Technical Summary
Information lists are prone to incomplete information display when displaying, especially when the information exceeds the size of the list element, truncation or brief display is often used, resulting in the user being unable to view the complete information.
When the information list is in a sliding state, obtain the information to be displayed from the information display table, obtain the initial list element that matches the information to be displayed, write the information to be displayed to the initial list element, form the target list element, and display it in the display area The target list element and the information to be displayed have been written, dynamically adjust the size of the list element to ensure information integrity.
By dynamically adjusting the size of list elements, the problem of incomplete information display is solved, and the display integrity and visibility of information in the information list is improved.
Smart Images

Figure CN112947818B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a list-based information display method, system, device and storage medium. Background Art
[0002] Information lists are widely used in various applications, such as WeChat friend lists, QQ group lists, chat history lists, etc. Information lists are generally used for displaying information, and users can view corresponding information by sliding the information list.
[0003] Currently, when an information list displays information, it generally calls the list element first, fills the information into the list element, and then displays it. However, the size of the above list elements is fixed. Information that exceeds the size of the meta-list element is usually displayed by truncating or simplifying it, which easily leads to the problem of incomplete information display. Summary of the invention
[0004] The embodiments of the present application provide a list-based information display method, system, device and storage medium, aiming to solve the problem of incomplete information display when information is displayed in an information list.
[0005] The embodiment of the present application provides a list-based information display method, the list-based information display method comprising:
[0006] When the information list is in a sliding state, obtaining information to be displayed from an information display table; wherein the information display table includes a plurality of pieces of information to be displayed;
[0007] Obtaining an initial list element matching the information to be displayed;
[0008] Writing the information to be displayed into the initial list element to form a target list element to be displayed;
[0009] The target list element and the to-be-displayed information written into the target list element are displayed in the display area of the information list.
[0010] In one embodiment, when the information list is in a sliding state, before obtaining the information to be displayed from the information display table, the process includes:
[0011] Collect information to be displayed;
[0012] The information to be displayed is sorted according to a display order to generate the information display table.
[0013] In one embodiment, when the information list is in a sliding state, obtaining the information to be displayed from the information display table includes:
[0014] Obtaining the sliding position of the information list;
[0015] Determine index information according to the sliding position;
[0016] The information display table is queried according to the index information to obtain the information to be displayed corresponding to the index information.
[0017] In one embodiment, before obtaining the initial list element matching the information to be displayed, the method includes:
[0018] When the information list is in a sliding state, monitoring whether there is a target list element that slides out of the information list;
[0019] If so, marking the target list element that slides out of the information list as a list element in an idle state;
[0020] The list elements in the idle state are saved in a list element recycling library.
[0021] In one embodiment, the obtaining of an initial list element matching the information to be displayed includes:
[0022] Obtaining the information type of the information to be displayed;
[0023] Determine whether there is an idle list element matching the information type in the list element recycling library;
[0024] If there is an idle state list element matching the information type, the idle state list element matching the information type is acquired, and the idle state list element matching the information type is determined as the initial list element.
[0025] In one embodiment, after determining whether there is an idle list element matching the information type in the preset list element recycling library, the method further includes:
[0026] If there is no idle list element matching the information type, a preset list element library is queried according to the information type to obtain an initial list element matching the information type.
[0027] In one embodiment, writing the information to be displayed into the initial list element to form a target list element to be displayed includes:
[0028] Acquire information parameters of the information to be displayed and layout parameters of the initial list elements;
[0029] The layout parameters are adjusted according to the information parameters to obtain a target list element that matches the information to be displayed.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a list-based information display system, comprising:
[0031] A display information acquisition module, used to acquire information to be displayed from an information display table when the information list is in a sliding state; wherein the information display table includes a plurality of pieces of information to be displayed;
[0032] A list element acquisition module, used to acquire an initial list element matching the information to be displayed;
[0033] A list element adjustment module, used for writing the information to be displayed into the initial list element to form a target list element to be displayed;
[0034] The information display module is used to display the target list element and the to-be-displayed information written into the target list element in the display area of the information list.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides an information display device including: a memory, a processor, and a list-based information display program stored on the memory and executable on the processor, wherein the list-based information display program implements the steps of the above-mentioned list-based information display method when executed by the processor.
[0036] In addition, to achieve the above-mentioned purpose, the present invention further provides a storage medium on which a list-based information display program is stored, and when the list-based information display program is executed by a processor, the steps of the above-mentioned list-based information display method are implemented.
[0037] The technical solution of a list-based information display method, system, device, and storage medium provided in the embodiments of the present application has at least the following technical effects or advantages:
[0038] The invention adopts a technical solution in which, when the information list is in a sliding state, the information to be displayed is obtained from the information display table, an initial list element matching the information to be displayed is obtained, the information to be displayed is written into the initial list element to form a target list element to be displayed, and the target list element and the information to be displayed that has been written into the target list element are displayed in the display area of the information list. This solves the problem of incomplete information display that may occur when the information list is displayed, realizes dynamic adjustment of the size of the list elements in the information list, and improves the integrity of the information when it is displayed in the information list. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of the structure of the hardware operating environment involved in the embodiment of the present invention;
[0040] Figure 2It is a flowchart of a first embodiment of a list-based information display method of the present invention;
[0041] Figure 3 It is a flowchart of a second embodiment of the list-based information display method of the present invention;
[0042] Figure 4 It is a flowchart of a third embodiment of the list-based information display method of the present invention;
[0043] Figure 5 It is a flowchart of a fourth embodiment of the list-based information display method of the present invention;
[0044] Figure 6 It is a flowchart of a fifth embodiment of the list-based information display method of the present invention;
[0045] Figure 7 It is a flowchart of a sixth embodiment of the list-based information display method of the present invention;
[0046] Figure 8 It is a functional module diagram of the list-based information display system of the present invention. DETAILED DESCRIPTION
[0047] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary 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 limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0048] like Figure 1 As shown, Figure 1 It is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the present invention.
[0049] It should be noted that Figure 1 That is, it is a structural diagram of the hardware operating environment of the information display device.
[0050] like Figure 1As shown, the information display device may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0051] Optionally, the information display device may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0052] Those skilled in the art will understand that Figure 1 The information display device structure shown in the figure does not constitute a limitation on the information display device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0053] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a list-based information display program. The operating system is a program that manages and controls the hardware and software resources of the information display device, the list-based information display program, and the operation of other software or programs.
[0054] exist Figure 1In the information display device shown, the user interface 1003 is mainly used to connect to the terminal and communicate data with the terminal; the network interface 1004 is mainly used for the background server and communicates data with the background server; the processor 1001 can be used to call the list-based information display program stored in the memory 1005.
[0055] In this embodiment, the information display device includes: a memory 1005, a processor 1001, and a list-based information display program stored in the memory and executable on the processor, wherein:
[0056] When the processor 1001 calls the list-based information display program stored in the memory 1005, the following operations are performed:
[0057] When the information list is in a sliding state, obtaining information to be displayed from an information display table; wherein the information display table includes a plurality of pieces of information to be displayed;
[0058] Obtaining an initial list element matching the information to be displayed;
[0059] Writing the information to be displayed into the initial list element to form a target list element to be displayed;
[0060] The target list element and the to-be-displayed information written into the target list element are displayed in the display area of the information list.
[0061] When the processor 1001 calls the list-based information display program stored in the memory 1005, it also performs the following operations:
[0062] Collect information to be displayed;
[0063] The information to be displayed is sorted according to a display order to generate the information display table.
[0064] When the processor 1001 calls the list-based information display program stored in the memory 1005, it also performs the following operations:
[0065] Obtaining the sliding position of the information list;
[0066] Determine index information according to the sliding position;
[0067] The information display table is queried according to the index information to obtain the information to be displayed corresponding to the index information.
[0068] When the processor 1001 calls the list-based information display program stored in the memory 1005, it also performs the following operations:
[0069] When the information list is in a sliding state, monitoring whether there is a target list element that slides out of the information list;
[0070] If so, marking the target list element that slides out of the information list as a list element in an idle state;
[0071] The list elements in the idle state are saved in a list element recycling library.
[0072] When the processor 1001 calls the list-based information display program stored in the memory 1005, it also performs the following operations:
[0073] Obtaining the information type of the information to be displayed;
[0074] Determine whether there is an idle list element matching the information type in the list element recycling library;
[0075] If there is an idle state list element matching the information type, the idle state list element matching the information type is acquired, and the idle state list element matching the information type is determined as the initial list element.
[0076] When the processor 1001 calls the list-based information display program stored in the memory 1005, it also performs the following operations:
[0077] If there is no idle list element matching the information type, a preset list element library is queried according to the information type to obtain an initial list element matching the information type.
[0078] When the processor 1001 calls the list-based information display program stored in the memory 1005, it also performs the following operations:
[0079] Acquire information parameters of the information to be displayed and layout parameters of the initial list elements;
[0080] The layout parameters are adjusted according to the information parameters to obtain a target list element that matches the information to be displayed.
[0081] The embodiment of the present invention provides an embodiment of a list-based information display method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here. The list-based information display method is applied to information display in applications, web pages, etc. The following embodiments are described by taking applications installed on terminal devices as examples. Among them, the terminal device is a type of device with a display function and capable of carrying applications, such as a smart phone, a tablet, a notebook, etc.
[0082] like Figure 2 As shown, in the first embodiment of the present application, the list-based information display method of the present application includes the following steps:
[0083] Step S210: when the information list is in a sliding state, obtaining information to be displayed from the information display table.
[0084] In this embodiment, the information list is a form of displaying information, such as a WeChat friend list, a QQ group list, a chat conversation list, and the like. The user can slide the information list up and down or left and right by clicking on the screen of the terminal device and dragging the information list along the up and down or left and right directions of the screen; or, the application automatically controls the information list to slide according to the specific situation of the information to be displayed, so as to display the latest information in the display area in real time. The information to be displayed refers to the information that needs to be displayed in the display area of the information list. The information to be displayed can be information input by the user into the application, or it can be information generated by the application itself, and so on.
[0085] The size of the display area of the information list is generally fixed. When displaying information in the display area of the information list, the application monitors the status of the information list in real time. The status of the information list includes a static state and a sliding state. When the information list is in a static state, the information displayed in the display area remains unchanged; when the information list is in a sliding state, the information displayed in the display area is updated in real time, that is, the latest information is displayed. When the application monitors that the information list is in a sliding state, the application needs to obtain the information to be displayed from the information display table, and then further display the information to be displayed in the display area. Among them, the information display table includes multiple pieces of information to be displayed. The information display table is generated according to the information to be displayed after the application receives or generates the information to be displayed itself, and occurs before the information to be displayed is displayed.
[0086] Step S220: Acquire an initial list element that matches the information to be displayed.
[0087] List elements refer to data items in an information list. Before displaying the information to be displayed in the display area, the information to be displayed needs to be written into the list element, and then the list element and the information to be displayed are displayed. Each information list includes different types of list elements. The initial list element is pre-set and stored in the application according to the information type of the information to be displayed, that is, there are multiple initial list elements stored in the application, and the element type of each initial list element is different. Each initial list element can only be written with the information to be displayed of the corresponding information type. For example, the element type of initial list element A is emoticon / text type, then initial list element A can only write emoticon / text type information to be displayed. If the information type of the information to be displayed obtained is emoticon / text type, then it is necessary to obtain an initial list element of emoticon / text type.
[0088] Step S230: writing the information to be displayed into the initial list element to form a target list element to be displayed.
[0089] In this embodiment, after the application obtains the information to be displayed and the initial list element matching the information to be displayed, the information to be displayed is written into the initial list element, and then the initial list element is adjusted according to the information to be displayed to form a target list element to be displayed. The target list element is the adjusted initial list element, and when the information to be displayed is displayed in the display area through the target list element, the information to be displayed can be fully displayed.
[0090] Step S240: Displaying the target list element and the to-be-displayed information written into the target list element in the display area of the information list.
[0091] In this embodiment, after the target list element is formed, the application displays the target list element and the information to be displayed that has been written into the target list element in the display area in sequence according to the sliding position of the information list and the order in which the information to be displayed is displayed. The user can view the complete information to be displayed in the display area.
[0092] According to the above technical solution, this embodiment adopts the following technical means: when the information list is in a sliding state, the information to be displayed is obtained from the information display table; an initial list element matching the information to be displayed is obtained; the information to be displayed is written into the initial list element to form a target list element to be displayed; and the target list element and the information to be displayed that has been written into the target list element are displayed in the display area of the information list. This realizes the dynamic adjustment of the size of the list elements in the information list and improves the integrity of the information when it is displayed in the information list.
[0093] like Figure 3As shown, in the second embodiment of the present application, based on the first embodiment, the following steps are included before step S210:
[0094] Step S110: Collect information to be displayed.
[0095] In this embodiment, after receiving the information to be displayed in the display area, or after the application generates the information to be displayed in the display area, the application analyzes the information type of each piece of information to be displayed, obtains the information type of each piece of information to be displayed, and marks the information type of the information to be displayed accordingly. For example, if one of the pieces of information to be displayed is "Good morning, ^_^", after analyzing the information type of the piece of information to be displayed, the information type of the piece of information to be displayed is a combination of text and special symbols, then the information type of the piece of information to be displayed is marked as a combination of text and special symbols. The information type of the information to be displayed can be indicated by a marking symbol.
[0096] Step S120: sorting the information to be displayed according to the display order to generate the information display table.
[0097] All the information to be displayed is sorted according to the order in which all the information to be displayed is to be displayed in the display area, thereby generating an information display table. Each information to be displayed in the information display table has a corresponding information type and a corresponding display sequence number, and the display sequence of the corresponding information to be displayed can be determined by the display sequence number. For example, the information display table includes information to be displayed A, the display sequence number is 1; information to be displayed B, the display sequence number is 2; information to be displayed C, the display sequence number is 3, then the information to be displayed A is displayed first, followed by the information to be displayed B, and then the information to be displayed C.
[0098] According to the above technical solution, this embodiment adopts a technical means of collecting information to be displayed and sorting the information to be displayed in the display order to generate an information display table. By sorting the information to be displayed that is about to be displayed in the display area, it is convenient to search for the information to be displayed, thereby improving the timeliness of information display.
[0099] like Figure 4 As shown, in the third embodiment of the present application, based on the first embodiment, step S210 includes the following steps:
[0100] Step S211: Obtain the sliding position of the information list.
[0101] In this embodiment, when the information list is in a static state, the information displayed in the display area remains unchanged, and the display order of the information in the display area is also known. When the information list is in a sliding state, the application uses the information list in the static state as a reference position to determine the sliding position, and can obtain whether the information list is sliding up or down, or sliding to the left or right. Among them, it can be preset that the latest information to be displayed is displayed in sequence along the sliding direction of the information list downward or rightward, and this embodiment does not limit this.
[0102] Step S212: determining index information according to the sliding position.
[0103] In this embodiment, the index information refers to the position number of the sliding position corresponding to the information to be displayed in the display area. For example, when the information list is in a static state, the display area displays X, Y and Z, that is, 3 pieces of information, the position number of X is 1, the position number of Y is 2, and the position number of Z is 3. If the information list slides down, the sliding position of the information list obtained by the application at this time is adjacent to Z, that is, the next position of Z, then the index information of the sliding position is 4.
[0104] Step S213: querying the information display table according to the index information to obtain the information to be displayed corresponding to the index information.
[0105] In this embodiment, after determining the index information according to the sliding position, the information display table is queried through the index information, and the display sequence number corresponding to the index information is obtained from the information display table, so that the information to be displayed corresponding to the index information can be queried according to the display sequence number. For example, if the index information is 4, then after querying the information display table, the information to be displayed with the display sequence number of 4 can be obtained.
[0106] According to the above technical solution, this embodiment adopts a technical means for obtaining the sliding position of the information list, determining the index information according to the sliding position, and querying the information display table according to the index information to obtain the information to be displayed corresponding to the index information, thereby facilitating the search for the information to be displayed and improving the efficiency of information search.
[0107] like Figure 5 As shown, in the fourth embodiment of the present application, based on the first embodiment, the following steps are included before step S220:
[0108] Step S130: When the information list is in a sliding state, monitoring whether there is a target list element that slides out of the information list.
[0109] When the information list slides up or down, or to the left or right, the target list elements displayed in the display area will slide out of the display area, that is, slide out of the information list. In this embodiment, when the information list is in the sliding state, the application monitors in real time whether there are target list elements that slide out of the information list, so as to recycle the target list elements that slide out of the information list and recycle the recycled target list elements.
[0110] Step S140: If so, mark the target list element that slides out of the information list as a list element in an idle state.
[0111] In this embodiment, if the application detects that there is a target list element that slides out of the information list, it will mark the target list element that slides out of the information list as an idle list element, that is, the target list element marked as an idle list element is a list element that can be recycled.
[0112] Step S150: Save the list elements in the idle state to a list element recycling library.
[0113] In this embodiment, the list element recycling library is a pre-set target list element for recycling list elements marked as idle. After the application saves the idle list elements to the list element recycling library, each idle list element in the list element recycling library also carries the corresponding element type. When the application obtains the initial list element matching the information to be displayed again, it first needs to recycle the list element from the list element recycling library.
[0114] According to the above technical solution, this embodiment adopts a technical means of monitoring whether there is a target list element that slides out of the information list when the information list is in a sliding state, and if so, marking the target list element that slides out of the information list as a list element in an idle state, and saving the list element in the idle state to a list element recycling library, thereby realizing the recycling of list elements that slide out of the information list and avoiding waste of resources.
[0115] like Figure 6 As shown, in the fifth embodiment of the present application, based on the first embodiment, step S220 includes the following steps:
[0116] Step S221: Obtain the information type of the information to be displayed.
[0117] In this embodiment, after the application obtains the information to be displayed from the information display table, it can obtain the marking symbol of the information to be displayed, and specifically determine the information type of the information to be displayed according to the marking symbol.
[0118] Step S222: Determine whether there is an idle list element matching the information type in the list element recycling library.
[0119] In this embodiment, after the application obtains the information type of the information to be displayed, it searches the list element recycling library according to the information type of the information to be displayed, and determines whether there is an idle list element with the same information type in the list element recycling library. Among them, since the list element recycling library stores the target list elements of the slide-out information list, the number of stored target list elements is limited. When searching the list element recycling library according to the information type of the information to be displayed, sometimes an idle list element matching the information type can be found, and sometimes it cannot be found. When it is found, the following step S223 is executed, and when it is found, the following step S224 is executed.
[0120] Step S223: If there is an idle state list element matching the information type, obtain the idle state list element matching the information type, and determine the idle state list element matching the information type as the initial list element.
[0121] In this embodiment, the idle list elements stored in the list element recycling library are actually initial list elements. If an idle list element with the same information type as the information to be displayed is found from the list element recycling library according to the information type of the information to be displayed, then obtaining the idle list element with the same information type is equivalent to obtaining the initial list element with the same information type.
[0122] Step S224: If there is no idle list element matching the information type, query a preset list element library according to the information type to obtain an initial list element matching the information type.
[0123] In this embodiment, the preset list element library is pre-set and stores initial list elements of multiple element types, which are used to provide initial list elements of all element types for the information to be displayed when the information to be displayed is displayed. If there is no idle list element matching the information type, that is, the application does not find an idle list element with the same information type from the list element recycling library according to the information type of the information to be displayed, then it is necessary to query the preset list element library according to the information type and obtain the initial list element with the same information type through the preset list element library.
[0124] According to the above technical solution, this embodiment adopts the method of obtaining the information type of the information to be displayed, judging whether there is an idle list element matching the information type in the list element recycling library, if there is an idle list element matching the information type, then obtaining the idle list element matching the information type, and determining the idle list element matching the information type as the initial list element, if there is no idle list element matching the information type, querying the preset list element library according to the information type to obtain the initial list element matching the information type, thereby realizing the recycling of list elements and saving system resources.
[0125] like Figure 7 As shown, in the sixth embodiment of the present application, based on the first embodiment, step S230 includes the following steps:
[0126] Step S231: Acquire information parameters of the information to be displayed and layout parameters of the initial list elements.
[0127] In this embodiment, the information parameter is determined according to the information type of the information to be displayed. If the information to be displayed is of text type, letter type, etc. and does not include pictures, it can generally be the text length of the information to be displayed. If the information to be displayed is of picture type, the information parameter can include the outline data of the picture in addition to the text length included in the information to be displayed; for example, if the picture is a rectangle, the outline data is the length and width, if the picture is a circle, the outline data is the diameter or radius, and so on. The layout parameter refers to the size of the initial list element. If the initial list element is a rectangle, the layout parameter includes the length and width, and so on. It should be noted that the present invention does not limit the information parameters of the information to be displayed, the shape of the initial list element, and the layout parameters of the initial list element.
[0128] Step S232: adjusting the layout parameters according to the information parameters to obtain a target list element that matches the information to be displayed.
[0129] In this embodiment, after obtaining the information parameters of the information to be displayed and the layout parameters of the initial list element, the layout parameters of the initial list element are adjusted according to the information parameters of the information to be displayed, that is, the layout parameters of the initial list element are enlarged, reduced, etc., so as to obtain the target list element to be displayed. Among them, the adjusted layout parameters of the initial list element are the layout parameters of the target list element, and the target list element can fully display the information to be displayed.
[0130] According to the above technical solution, this embodiment adopts a technical means of obtaining the information parameters of the information to be displayed and the layout parameters of the initial list elements, and adjusting the layout parameters according to the information parameters to obtain the target list elements matching the information to be displayed, thereby realizing dynamic adjustment of the layout parameters of the initial list elements, so that the information to be displayed can be displayed completely.
[0131] like Figure 8 As shown, the present application provides a list-based information display system, comprising:
[0132] The display information acquisition module 310 is used to acquire the information to be displayed from the information display table when the information list is in a sliding state; wherein the information display table includes a plurality of pieces of the information to be displayed;
[0133] A list element acquisition module 320, used to acquire an initial list element matching the information to be displayed;
[0134] A list element adjustment module 330, configured to write the information to be displayed into the initial list element to form a target list element to be displayed;
[0135] The information display module 340 is used to display the target list element and the to-be-displayed information written into the target list element in the display area of the information list.
[0136] Furthermore, the list-based information display system further includes:
[0137] An information collection unit, used for collecting information to be displayed;
[0138] An information sorting unit is used to sort the information to be displayed according to a display order to generate the information display table.
[0139] Furthermore, the display information acquisition module 310 includes:
[0140] A position acquisition unit, used to acquire the sliding position of the information list;
[0141] an information determining unit, configured to determine index information according to the sliding position;
[0142] An information query unit is used to query the information display table according to the index information to obtain the information to be displayed corresponding to the index information.
[0143] Furthermore, the list-based information display system further includes:
[0144] A state monitoring unit, used for monitoring whether there is a target list element sliding out of the information list when the information list is in a sliding state;
[0145] a list element marking unit, for marking, if present, a target list element that slides out of the information list as a list element in an idle state;
[0146] The list element saving unit is used to save the list elements in the idle state to the list element recycling library.
[0147] Furthermore, the list element acquisition module 320 includes:
[0148] An information type acquisition unit, used to acquire the information type of the information to be displayed;
[0149] A judging unit, used for judging whether there is an idle list element matching the information type in the list element recycling library;
[0150] A list element acquisition unit is used to acquire the idle list element matching the information type if there is one, and determine the idle list element matching the information type as the initial list element.
[0151] Furthermore, the list element acquisition unit is further configured to query a preset list element library according to the information type to obtain an initial list element matching the information type if there is no idle list element matching the information type.
[0152] Furthermore, the list element adjustment module 330 includes:
[0153] A parameter acquisition unit, used to acquire information parameters of the information to be displayed and layout parameters of the initial list elements;
[0154] A parameter adjustment unit is used to adjust the layout parameter according to the information parameter to obtain a target list element matching the information to be displayed.
[0155] The specific implementation of the list-based information display system of the present invention is basically the same as the above-mentioned list-based information display method embodiments, and will not be repeated here.
[0156] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0157] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0158] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0159] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0160] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claim. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0161] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0162] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A list-based information display method, characterized in that: The list-based information display method comprises: When the information list is in a sliding state, obtaining information to be displayed from an information display table; wherein the information display table includes a plurality of pieces of information to be displayed; When the information list is in a sliding state, monitoring whether there is a target list element that slides out of the information list; If so, marking the target list element that slides out of the information list as a list element in an idle state; Saving the list elements in the idle state to a list element recycling library; Obtaining the information type of the information to be displayed; Determine whether there is an idle list element matching the information type in the list element recycling library; If there is an idle state list element matching the information type, acquiring the idle state list element matching the information type, and determining the idle state list element matching the information type as an initial list element; If there is no idle list element matching the information type, querying a preset list element library according to the information type to obtain the initial list element matching the information type; Acquire information parameters of the information to be displayed and layout parameters of the initial list elements; adjusting the layout parameters according to the information parameters to obtain a target list element matching the information to be displayed; The target list element and the to-be-displayed information written into the target list element are displayed in the display area of the information list.
2. The method according to claim 1, characterized in that When the information list is in the sliding state, before obtaining the information to be displayed from the information display table, the method includes: Collect information to be displayed; The information to be displayed is sorted according to a display order to generate the information display table.
3. The method according to claim 2, characterized in that When the information list is in the sliding state, obtaining the information to be displayed from the information display table includes: Obtaining the sliding position of the information list; Determine index information according to the sliding position; The information display table is queried according to the index information to obtain the information to be displayed corresponding to the index information.
4. A list-based information display system, characterized in that: include: A display information acquisition module, used to acquire information to be displayed from an information display table when the information list is in a sliding state; wherein the information display table includes a plurality of pieces of information to be displayed; A list element acquisition module, used to monitor whether there is a target list element that slides out of the information list when the information list is in a sliding state; If so, marking the target list element that slides out of the information list as a list element in an idle state; Saving the list elements in the idle state to a list element recycling library; Obtaining the information type of the information to be displayed; Determine whether there is an idle list element matching the information type in the list element recycling library; If there is an idle state list element matching the information type, acquiring the idle state list element matching the information type, and determining the idle state list element matching the information type as an initial list element; If there is no idle list element matching the information type, querying a preset list element library according to the information type to obtain the initial list element matching the information type; A list element adjustment module, used to obtain information parameters of the information to be displayed and layout parameters of the initial list element; adjusting the layout parameters according to the information parameters to obtain a target list element matching the information to be displayed; The information display module is used to display the target list element and the to-be-displayed information written into the target list element in the display area of the information list.
5. An information display device, characterized in that: include: A memory, a processor, and a list-based information display program stored in the memory and executable on the processor, wherein the list-based information display program, when executed by the processor, implements the steps of the list-based information display method as described in any one of claims 1 to 3.
6. A storage medium, characterized in that: A list-based information display program is stored thereon, and when the list-based information display program is executed by a processor, the steps of the list-based information display method described in any one of claims 1 to 3 are implemented.
