CN108803969B - Information list display method, application terminal and storage device - Google Patents

Information list display method, application terminal and storage device Download PDF

Info

Publication number
CN108803969B
CN108803969B CN201710305799.9A CN201710305799A CN108803969B CN 108803969 B CN108803969 B CN 108803969B CN 201710305799 A CN201710305799 A CN 201710305799A CN 108803969 B CN108803969 B CN 108803969B
Authority
CN
China
Prior art keywords
information
boundary
height
value
transparency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710305799.9A
Other languages
Chinese (zh)
Other versions
CN108803969A (en
Inventor
王赟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710305799.9A priority Critical patent/CN108803969B/en
Publication of CN108803969A publication Critical patent/CN108803969A/en
Application granted granted Critical
Publication of CN108803969B publication Critical patent/CN108803969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a display method of an information list, an application terminal and a storage device, which are applied to the technical field of information processing. In the method of the embodiment, when the information list displayed in the display area slides, the height of the first information at the top or the bottom of the information list exceeding the first boundary is determined, then the first transparency value of the first information is determined according to the determined height, and the first information is displayed according to the first transparency value. Thus, the higher the determined height is, the larger the first transparency value is, and if the determined height is greater than or equal to the height of the first information, the first transparency value is 1, so that the first transparency value is gradually increased in the process that the first information slides out of the first boundary of the display area, and the process is a process that the first information is gradually invisible for a user and does not appear to be very abrupt.

Description

Information list display method, application terminal and storage device
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a display method of an information list and an application terminal.
Background
Many existing application terminals (such as terminals of application programs such as live broadcast or games) provide an online conversation function, when a user joins a certain conversation through the application terminal, the application terminal displays conversation body content and a user comment interface on a conversation interface, and the user can make comments through the user comment interface, so that the application terminal also displays comment content of multiple users joining the conversation on the conversation interface.
In the prior art, an application terminal displays user comment contents in a list form in an area at the lower end of a session interface, and because the user comment contents are constantly changed, the application terminal displays the changed user comment contents in the area in an upward sliding manner, but the size of the area is not changed, for example, when new user comment contents exist, the application terminal slides the currently displayed user comment contents integrally upward for a certain distance, and adds the new user comment contents in the next line of the current user comment contents, so that the old user comment contents constantly slide out of the area.
Disclosure of Invention
The embodiment of the invention provides a display method of an information list, an application terminal and a storage device, which realize the display of first information at the top or the bottom of the information list according to a first transparency value of the first information.
The embodiment of the invention provides a method for displaying an information list, which comprises the following steps:
when an information list displayed in a display area on a user interface slides, determining that first information exceeds the height of a first boundary, wherein the first boundary is the sliding-out boundary of the information list, and the first information is a piece of information at the top or the bottom of the information list;
determining a first transparency value of the first information according to the determined height, wherein the first transparency value is 1 when the determined height is greater than or equal to the height of the first information;
and displaying the first information according to the first transparency value.
An embodiment of the present invention further provides an application terminal, including:
the height determining unit is used for determining the height of first information exceeding a first boundary when an information list displayed in a display area on a user interface of the application terminal slides, wherein the first boundary is the sliding-out boundary of the information list, and the first information is one piece of information at the top or the bottom of the information list;
a transparency determining unit, configured to determine a first transparency value of the first information according to the determined height, where the first transparency value is 1 when the determined height is greater than or equal to the height of the first information;
and the display unit is used for displaying the first information according to the first transparency value.
The embodiment of the invention also provides a storage device, wherein the storage device is used for storing a plurality of instructions, and the instructions are suitable for being loaded by the processor and executing the information list display method provided by the embodiment of the invention.
As can be seen, in the method of this embodiment, when the application terminal slides on the information list displayed in the display area, it is determined that the first information at the top or the bottom of the information list displayed by the application terminal has exceeded the height of the first boundary, and then a first transparency value of the first information is determined according to the determined height, and the first information is displayed according to the first transparency value. Therefore, the higher the determined height is, the larger the first transparency value is, and if the determined height is greater than or equal to the height of the first information, the first transparency value is 1, so that the first transparency value is gradually increased in the process that the first information slides out of the first boundary of the display area, and the process is a process that the first information is gradually invisible for a user and does not appear to be very abrupt.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a scene to which a display method of an information list according to an embodiment of the present invention is applied;
fig. 2 is a flowchart of a method for displaying an information list according to an embodiment of the present invention;
FIG. 3a is a diagram illustrating a first message exceeding a first boundary by a certain height according to an embodiment of the present invention;
FIG. 3b is a diagram illustrating another embodiment of the present invention in which the first information exceeds the first boundary by a certain height;
fig. 4 is a flowchart of another information list display method according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for determining a first transparency value according to a determined height by an application terminal according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a live session interface displayed by a live application terminal in an embodiment of the present invention;
fig. 7 is a flowchart of a method for displaying an information list according to an embodiment of the present invention;
fig. 8a is a schematic diagram of another live session interface displayed by a live application terminal in an embodiment of the present invention;
fig. 8b is a schematic diagram of another live session interface displayed by the live application terminal in the embodiment of the present invention;
fig. 9 is a schematic structural diagram of an application terminal according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another application terminal provided in the embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides a method for displaying an information list, which can be applied to an application terminal such as a live broadcast or game application terminal under one condition, wherein the application terminal determines a first transparency value of first information according to the height of the first information exceeding a first boundary of a display area, and displays the first information according to the first transparency value.
In another case, the method may also be applied to a scenario as shown in fig. 1, where the scenario includes a plurality of application terminals (n in the figure) and an application server, where each application terminal may log in the application server, the application server determines a first transparency value of first information according to a height at which the first information displayed in a display area on a user interface of the application terminal has exceeded a first boundary of the display area, and then the application server instructs the application terminal to display the first information according to the first transparency value.
Therefore, when the first information slides out of the first boundary of the display area, the first transparency value is gradually increased, and the process is a process that the first information is gradually invisible for a user and does not appear to be very abrupt.
An information list display method provided in an embodiment of the present invention may be applied to an application terminal (for example, a live broadcast or game application terminal), and is a method for displaying an information list in a display area of an application terminal, where a flowchart is shown in fig. 2, and includes:
step 101, when an information list displayed in a display area on a user interface of the application terminal slides, determining that the first information exceeds the height of the first boundary. The first boundary is a sliding-out boundary of the information list and can be a top boundary or a bottom boundary of the display area; the first information is a piece of information at the top or bottom of an information list displayed in the above display area of the application terminal.
The height at which the first information has exceeded the first boundary refers to a distance between a top boundary or a bottom boundary of the first information and the first boundary. For example, as shown in fig. 3a, if the information list slides upwards in the display area, and the first boundary is the top boundary b of the display area, the height at which the first information exceeds the first boundary is the distance between the top boundary a and the first boundary b of the first information. For another example, as shown in fig. 3b, if the information list slides downwards in the display area, and the first boundary is the bottom boundary c of the display area, the height at which the first information exceeds the first boundary is the distance between the bottom boundary d and the first boundary c of the first information.
It is understood that the application terminal displays information in a list form in a display area, where the information may be information related to the application terminal, and the display area may be an area in a user interface provided by the application terminal. For example, in a live application terminal, a display area is an area at the lower end of a live session interface, and information displayed in a list form in the display area is comment content of a plurality of users who join the live session. It should be noted that the specific information and the display area are related to the actual specific application, and the specific information and the display area are not limited herein.
The application terminal can acquire the state information of the information list according to a certain period, and if the acquired state information is new information added into the information list, the information list is determined to slide. Thus, since the size of the display area is limited and fixed, the application terminal may slide the current information list to a first boundary (e.g., a top boundary or a bottom boundary of the display area) for a certain distance as a whole and add one or several new lines of information to the current information list as the state of the information list changes.
The information in the information list has different line numbers displayed in the display area due to different lengths of the information, that is, the heights of the information are different, so that the height of a certain piece of information in the information list can be the height of one line of the information list, or the height of multiple lines of the information list, and the like.
When the information list is determined to slide, the application terminal determines the height of the first information exceeding the first boundary, and specifically, since the information list generates many parameter values in the sliding process, including parameter values such as the height of the first information exceeding the first boundary, the application terminal device may call the obtaining function to directly obtain the parameter values generated in the sliding process of the information list, so as to obtain the height of the first information exceeding the first boundary.
Step 102, determining a first transparency value of the first information according to the height determined in step 101.
Wherein, when the height determined in step 101 is higher, the first transparency value is higher, when the determined height is greater than or equal to the height of the first information, the first transparency value is 1, and when the first transparency value is 1, the first information is invisible to the user, i.e. completely transparent, which indicates that the first information has completely slid out of the display area.
Step 103, displaying the first information according to the first transparency value determined in step 102, specifically, after determining the first transparency value, the application terminal may refresh an information list displayed by the application terminal, and display the first information according to the first transparency value.
Optionally, the first transparency value is a transparency value of the whole first information, including transparency values of the background and the font.
After the application terminal performs step 103, a first piece of information visible at a first boundary at the top or bottom of the display area may be used as the first information, and steps 101 to 103 may be performed back.
As can be seen, in the method of this embodiment, when the application terminal slides the information list displayed in the display area, it is determined that a piece of information, that is, the first information, at the top or the bottom of the information list displayed by the application terminal has exceeded the height of the first boundary, then the first transparency value of the first information is determined according to the determined height, and the first information is displayed according to the first transparency value. Therefore, the higher the determined height is, the larger the first transparency value is, and if the determined height is greater than or equal to the height of the first information, the first transparency value is 1, so that the first transparency value is gradually increased in the process that the first information slides out of the first boundary of the display area, and the process is a process that the first information is gradually invisible for a user and does not appear to be very abrupt.
In a specific embodiment, the application terminal may set a global parameter for indicating the transparency value of the first piece of information at the top or bottom first boundary of the information list displayed by the application terminal, i.e. the transparency value of the first piece of information. Thus, as shown in fig. 4, before performing step 103, the application terminal further needs to perform step 104, that is, assign the first transparency value determined in step 102 to the global parameter; the application terminal may directly call the global parameter when performing step 103, and display the first information according to the value of the global parameter.
In this case, if the first information completely exceeds the first boundary, the first information is completely transparent and invisible to the user after the application terminal performs step 103. The application terminal further needs to perform step 105, that is, the value of the global parameter is set to 0, that is, the transparency value of the first piece of information at the top of the display area or the first boundary at the top is 0 at this time.
Thus, by setting a global parameter, the transparency value of the first piece of information at the first boundary at the top or the bottom of the display area can be changed only by assigning the determined first transparency value to the global parameter.
Referring to fig. 5, in another specific embodiment, when the application terminal executes the step 102, the following steps may be specifically implemented, and specifically include:
step 201, calculating a ratio of the determined height to the height of the first information, and calculating a difference between a preset transparency slip-out initial value and the ratio, where the preset transparency slip-out initial value is a transparency value when a certain piece of information initially slips out of the first boundary, and is, for example, 0.5.
Step 202, determining whether the difference calculated in step 201 is greater than or equal to zero, if so, executing step 204, and if not, executing step 203.
Step 203, determining the first transparency value to be 1.
Step 204, determining the first transparency value as the difference calculated in step 201.
Optionally, in this embodiment, second information is displayed according to a second transparency value, where the second transparency value is the transparency slide-out initial value, the second information is an nth piece of information after the first information, and n is a natural number greater than or equal to 1.
It should be noted that, in some cases, if the distance of a certain sliding of the information list is longer, after the information list is subjected to one sliding, if the first information completely exceeds the first boundary of the display area, and at least one piece of information subsequent to the first information, that is, the second information, also exceeds the first boundary by a certain height, for example, completely exceeds the first boundary, or exceeds the first boundary by a certain height. However, the application terminal determines only the first transparency value of the first information by the method of steps 101 to 102, in which case the application terminal may display the at least one piece of second information directly according to the transparency sliding out of the initial value while performing step 103.
With the method in this embodiment, for some information (for example, the second information described above), when the information first slides out of the first boundary, the application terminal may slide out of the initial value according to the transparency to display the information. Then, when the information list is slid next time, the application terminal displays the information according to the method of the steps 101 to 103, so that the information is displayed more smoothly in the sliding process of the information list.
It should be noted that the method of steps 201 to 204 in this embodiment is not the only method for determining the first transparency value, and in other embodiments, the application terminal may directly convert the difference between the height of the first information and the determined height into a conversion number between 0 and 1 when determining the first transparency value, and then obtain the first transparency value according to the conversion number.
In this embodiment, an application terminal is a live application terminal, a user can join a live session through the application terminal, the application terminal displays a live session interface as shown in fig. 6, the live session interface includes live main content and a user comment interface, the user can make a comment through the user comment interface, and the application terminal displays user comment content in a list form in an area (i.e., a display area) at the lower end of the live session interface, such as the user comment content of users 1 to n in fig. 6. User status information related to the live broadcast and the like are also displayed in the display area, for example, a new user joins the live broadcast session or a new user pays attention to the live broadcast session and the like. Since the user comment content is mainly displayed in the display area, in the following description of the present embodiment, the information lists displayed in the display area are collectively referred to as a comment list, and in the present embodiment, the information lists are slid upward in the display area.
In fig. 6, a dotted line indicates a first boundary where the comment content slides out of the display area, and the dotted line indicates that the comment content is invisible to the user.
Referring to fig. 7, the method of the present embodiment includes:
step 301, the application terminal monitors the function execution condition of the display area in the process of displaying the comment list, specifically monitors a touch screen sliding (setonscrolllist) event of a visual list (ListView). In this embodiment, the global parameter is a topmost visible edge (lasttopedge view) used for indicating first information at the top of a comment list displayed by the application terminal, and the initial transparency value of the topmost visible edge is generally 0.
Step 302, if the state of the comment list is found to be changed, for example, a new user comment content is added to the comment list, or user state information related to live broadcast (for example, a new user is added to a live broadcast session, or a new user pays attention to a live broadcast session, or the like) is added to the comment list, the application terminal obtains the height that the first information at the top of the comment list exceeds the first boundary.
Specifically, when the application terminal calls a sliding function (OnScroll) in a touch screen sliding event of the visual list, it is determined that the state of the comment list changes, where the sliding function (OnScroll) includes AbsListView.
The application terminal may then obtain a parameter first visual comment (first commenting view) as the first information through a callback list view.
In other cases, the application terminal may further call back a function such as RecylerView to obtain the height at which the first information exceeds the first boundary.
Step 303, the application terminal first obtains the ratio of the height obtained in step 302 to the height of the first information, and then calculates the difference between the transparency slide-out initial value and the ratio, in this embodiment, the transparency slide-out initial value is 0.5, that is, when a certain piece of information just starts to slide out of the first boundary of the display area, the transparency value of the piece of information is 0.5.
Step 304, the application terminal corrects the difference value calculated in the step 303 to obtain a first transparency value of the first information, specifically, if the difference value is less than 0, the first transparency value is 1, and if the difference value is greater than or equal to 0, the first transparency value is the difference value. The application terminal will then set the value of the global parameter lastTopEdgeView to this first transparency value.
Step 305, the application terminal displays the first information according to the value of the global parameter, namely the first transparency value.
Optionally, if the first information completely exceeds the first boundary, after the application terminal displays the first information according to the value of the global parameter, that is, the first information is invisible to the user, the application terminal further needs to restore the value of the global parameter lasttopedge view stored by the application terminal to 0.
For example, as shown in fig. 6 and as shown in fig. 8a (the part shown inside the dashed line frame in fig. 8a is a part invisible to the user), in one case, when the comment list displayed in the display area at the lower end of the live session interface is slid once, the comment content of the user 1 slides out of the first boundary of the display area, and the comment content of the user 2 does not slide out of the first boundary of the display area, after the above steps 301 to 305 are performed, the first transparency value of the comment content of the user 1 determined by the application terminal is 1, and the comment content of the user 1 displayed according to the first transparency value is invisible to the user. In this case, the application terminal device also needs to restore the value of the global parameter to 0.
As shown in fig. 8b (the part shown inside the dashed line box is a part invisible to the user), in another case, when the comment list displayed in the display area at the lower end of the live conversation interface slides once, the comment content of the user 1 completely slides out of the first boundary of the display area, and the comment content of the user 2 also slides out of the first boundary of the display area by a certain height, after the above steps 301 to 304 are performed, the application terminal only determines that the first transparency value of the comment content of the user 1 is 1, but the application terminal does not determine the transparency value of the comment content of the user 2, but the comment content of the user 2 also exceeds the first boundary of the display area by a certain height.
The application terminal performs the above step 305, that is, displays that the comment content of the user 1 is invisible to the user according to the first transparency value, and the application terminal may also directly display the comment content of the user 2 according to the transparency sliding-out initial value (specifically, 0.5). As shown in fig. 8b, the comment content of the user 2 displayed in accordance with the transparency slide-out initial value is translucent to the user. This makes the display smoother the next time the comment content of the user 2 is displayed through steps 301 to 305.
An embodiment of the present invention further provides an application terminal, a schematic structural diagram of which is shown in fig. 9, and the application terminal may specifically include:
the height determining unit 10 is configured to determine, when an information list displayed in a display area on a user interface of the application terminal slides, a height at which first information has exceeded a first boundary, where the first boundary is a sliding-out boundary of the information list, and the first information is a piece of information at the top or the bottom of the information list.
A transparency determining unit 11, configured to determine a first transparency value of the first information according to the height determined by the height determining unit 10, where the first transparency value is 1 when the determined height is greater than or equal to the height of the first information.
The transparency determining unit 11 is specifically configured to calculate a ratio of the determined height to the height of the first information, and calculate a difference between a preset transparency slip-out initial value and the ratio; and if the difference value is smaller than zero, determining that the first transparency value is 1, and if the difference value is larger than or equal to zero, determining that the first transparency value is the difference value.
A display unit 12, configured to display the first information according to the first transparency value determined by the transparency determining unit 11.
In the application terminal of the embodiment, the height determining unit 10 determines that a piece of information, i.e. the first information, at the top or bottom of the information list displayed by the application terminal has exceeded the height of the first boundary when the information list displayed by the display area slides, and then the transparency determining unit 11 determines a first transparency value of the first information according to the determined height, and the display unit 12 displays the first information according to the first transparency value. Therefore, the higher the determined height is, the larger the first transparency value is, and if the determined height is greater than or equal to the height of the first information, the first transparency value is 1, so that the first transparency value is gradually increased in the process that the first information slides out of the first boundary of the display area, and the process is a process that the first information is gradually invisible for a user and does not appear to be very abrupt.
Referring to fig. 10, in a specific embodiment, the application terminal may further include a sliding determination unit 13 and an assignment unit 14 in addition to the structure shown in fig. 9, where:
a sliding determining unit 13, configured to obtain status information of the information list, determine that the information list slides if the status information is new information added to the information list, and then notify the height determining unit 10 to determine that the first information has exceeded the height of the first boundary.
An assigning unit 14, configured to assign the first transparency value to a global parameter, where the global parameter is used to indicate a transparency value of a piece of information at the top or the bottom of an information list displayed by the application terminal, and a general initial value is 0. The display unit 12 is specifically configured to invoke the global parameter assigned by the assignment unit 14, and display the first information according to the value of the global parameter.
In this embodiment, in one case, if the first information completely exceeds the first boundary, the assigning unit 14 is further configured to set the value of the global parameter to 0 after the display unit 12 displays the first information according to the first transparency value.
In another case, after the list of information currently displayed in the display area has undergone one sliding, the first information completely exceeds the first boundary of the display area, and at least one piece of information subsequent to the first information, that is, the second information, exceeds the first boundary, for example, completely exceeds the first boundary, or exceeds the first boundary by a certain height. However, the application terminal only determines the first transparency value of the first information through the transparency determining unit 11, in this case, the display unit 12 is further configured to slide the initial value according to the transparency when displaying the first information according to the first transparency value, and display the second information, which is the nth information after the first information, where n is a natural number greater than or equal to 1.
The present invention further provides a terminal device, a schematic structural diagram of which is shown in fig. 11, where the terminal device may generate a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 20 (e.g., one or more processors) and a memory 21, and one or more storage media 22 (e.g., one or more mass storage devices) storing the application programs 221 or the data 222. Wherein the memory 21 and the storage medium 22 may be a transient storage or a persistent storage. The program stored in the storage medium 22 may include one or more modules (not shown), each of which may include a series of instruction operations for the terminal device. Still further, the central processor 20 may be arranged to communicate with the storage medium 22, and to execute a series of instruction operations in the storage medium 22 on the terminal device.
Specifically, the application program 221 stored in the storage medium 22 includes an application program for displaying an information list, and the program may include the height determining unit 10, the transparency determining unit 11, the display unit 12, the sliding determining unit 13, and the assigning unit 14 in the above-described application terminal, which will not be described in detail herein. Further, the central processor 20 may be configured to communicate with the storage medium 22, and execute a series of operations corresponding to the application program of the display of the information list stored in the storage medium 22 on the terminal device.
The terminal equipment may also include one or more power supplies 23, one or more wired or wireless network interfaces 24, one or more input-output interfaces 25, and/or one or more operating systems 223, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
The steps executed by the application terminal in the above method embodiment may be based on the structure of the terminal device shown in fig. 11.
The embodiment of the present invention further provides a storage device, where the storage device stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the display method of the information list, and are not described herein again.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above detailed description is provided for the display method and the application terminal of the information list provided by the embodiment of the present invention, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A method for displaying an information list, the method comprising:
when an information list displayed in a display area on a user interface slides, determining that first information exceeds the height of a first boundary, wherein the first boundary is the sliding-out boundary of the information list, and the first information is a piece of information at the top or the bottom of the information list;
determining a first transparency value of the first information according to the height of the determined first information exceeding a first boundary, wherein the first transparency value is 1 when the height of the determined first information exceeding the first boundary is greater than or equal to the height of the first information;
displaying the first information according to the first transparency value;
determining a first transparency value of the first information according to the determined height at which the first information has exceeded the first boundary, specifically comprising:
calculating the ratio of the height of the determined first information exceeding the first boundary to the height of the first information, and calculating the difference value of a preset transparency sliding-out initial value and the ratio; if the difference value is smaller than zero, determining that the first transparency value is 1, and if the difference value is larger than or equal to zero, determining that the first transparency value is the difference value;
and if the first information completely exceeds the first boundary and the second information exceeds the first boundary by a preset height, when the first information is displayed according to the first transparency value, the second information is displayed according to the transparency sliding initial value, the second information is the nth information after the first information, and n is a natural number which is more than or equal to 1.
2. The method of claim 1, wherein prior to the determining that the first information has exceeded the height of the first boundary, the method further comprises:
and acquiring the state information of the information list, and determining that the information list slides if the state information is new information added into the information list.
3. The method of claim 1 or 2,
before the displaying the first information according to the first transparency value, the method further includes: assigning the first transparency value to a global parameter, wherein the global parameter is used for indicating the transparency value of one piece of information at the top or the bottom of the information list;
the displaying the first information according to the first transparency value specifically includes: and calling the global parameter, and displaying the first information according to the value of the global parameter.
4. An application terminal, comprising:
the height determining unit is used for determining the height of first information exceeding a first boundary when an information list displayed in a display area on a user interface of the application terminal slides, wherein the first boundary is the sliding-out boundary of the information list, and the first information is one piece of information at the top or the bottom of the information list;
a transparency determining unit, configured to determine a first transparency value of the first information according to a height at which the determined first information has exceeded a first boundary, where the first transparency value is 1 when the height at which the determined first information has exceeded the first boundary is greater than or equal to the height of the first information;
the display unit is used for displaying the first information according to the first transparency value;
the transparency determining unit is used for calculating the ratio of the height of the determined first information exceeding the first boundary to the height of the first information and calculating the difference value of a preset transparency sliding-out initial value and the ratio; if the difference value is smaller than zero, determining that the first transparency value is 1, and if the difference value is larger than or equal to zero, determining that the first transparency value is the difference value;
the display unit is further configured to slide out an initial value according to the transparency when the first information is displayed according to the first transparency value, and display second information, where the second information is an nth piece of information after the first information, and n is a natural number greater than or equal to 1.
5. The application terminal of claim 4, further comprising:
and the sliding determination unit is used for acquiring the state information of the information list and determining the sliding of the information list if the state information is new information added into the information list.
6. The application terminal of claim 4 or 5, further comprising:
the assigning unit is used for assigning the first transparency value to a global parameter, and the global parameter is used for indicating the transparency value of one piece of information at the top or the bottom of the information list;
the display unit is specifically configured to invoke the global parameter, and display the first information according to a value of the global parameter.
7. A memory device for storing a plurality of instructions adapted to be loaded by a processor and to perform the method of any of claims 1 to 3.
CN201710305799.9A 2017-05-03 2017-05-03 Information list display method, application terminal and storage device Active CN108803969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710305799.9A CN108803969B (en) 2017-05-03 2017-05-03 Information list display method, application terminal and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710305799.9A CN108803969B (en) 2017-05-03 2017-05-03 Information list display method, application terminal and storage device

Publications (2)

Publication Number Publication Date
CN108803969A CN108803969A (en) 2018-11-13
CN108803969B true CN108803969B (en) 2021-05-07

Family

ID=64054228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710305799.9A Active CN108803969B (en) 2017-05-03 2017-05-03 Information list display method, application terminal and storage device

Country Status (1)

Country Link
CN (1) CN108803969B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114077371A (en) * 2021-11-12 2022-02-22 北京百度网讯科技有限公司 Information display method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102596628A (en) * 2009-09-04 2012-07-18 大众汽车有限公司 Method for displaying information while scrolling and a device therefor
CN105867900A (en) * 2015-12-21 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for displaying chat messages in live-broadcast applications
CN106406869A (en) * 2016-09-05 2017-02-15 乐视控股(北京)有限公司 Input processing method and apparatus of bullet screen information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8624925B2 (en) * 2009-10-16 2014-01-07 Qualcomm Incorporated Content boundary signaling techniques
CN103729124B (en) * 2012-10-12 2018-07-20 腾讯科技(深圳)有限公司 The control method and system of sliding list
CN104102422B (en) * 2013-04-03 2018-05-01 阿里巴巴集团控股有限公司 The page returns to the method and device of operation
CN105955627A (en) * 2016-05-05 2016-09-21 乐视控股(北京)有限公司 Vertical rolling realization method and device for user interface control in 3D space

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102596628A (en) * 2009-09-04 2012-07-18 大众汽车有限公司 Method for displaying information while scrolling and a device therefor
CN105867900A (en) * 2015-12-21 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for displaying chat messages in live-broadcast applications
CN106406869A (en) * 2016-09-05 2017-02-15 乐视控股(北京)有限公司 Input processing method and apparatus of bullet screen information

Also Published As

Publication number Publication date
CN108803969A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
US10347023B2 (en) Data drawing method and apparatus, terminal, and storage medium
CN105992056B (en) A kind of decoded method and apparatus of video
CN108984245B (en) Page switching method and system based on single-view controller
CN109510902B (en) Method and device for information interaction between calling parties
CN107765976B (en) Message pushing method, terminal and system
EP3142357A1 (en) Operation instruction method and device for remote controller of smart television
CN109388737B (en) Method and device for sending exposure data of content item and storage medium
CN111694499A (en) Carousel picture display method and carousel picture display device
CN108664377B (en) User interface stuck determining method, device and storage medium
CN108920037B (en) Method and device for displaying virtual three-dimensional space of house
CN108803969B (en) Information list display method, application terminal and storage device
CN111400633A (en) Page resource loading method and device
CN109491565B (en) Method and equipment for displaying component information of object in three-dimensional scene
EP2871826A1 (en) Method, device and terminal for adjusting widget
CN109302523B (en) Mobile phone performance evaluation method for mobile phone side and server side
CN105739936B (en) A kind of user terminal control method and user terminal
CN109640148A (en) A kind of method and device by text box text exhibition content
CN104636055A (en) Display method and device of dynamic information of contacts
CN108399117B (en) Processor occupancy rate display method and device
CN106651968B (en) Game abnormity detection method and device
CN112181329A (en) Data display method and device
CN115797267A (en) Image quality evaluation method, system, electronic device, and storage medium
CN112199753B (en) Shear wall generation method and device, electronic equipment and storage medium
CN109646954B (en) Game animation state transition method and device
CN105320421B (en) Message display method, device and terminal

Legal Events

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