CN109298817B - Item display method, item display device, terminal and storage medium - Google Patents

Item display method, item display device, terminal and storage medium Download PDF

Info

Publication number
CN109298817B
CN109298817B CN201811030098.XA CN201811030098A CN109298817B CN 109298817 B CN109298817 B CN 109298817B CN 201811030098 A CN201811030098 A CN 201811030098A CN 109298817 B CN109298817 B CN 109298817B
Authority
CN
China
Prior art keywords
target
item
user
authentication information
identity authentication
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
CN201811030098.XA
Other languages
Chinese (zh)
Other versions
CN109298817A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201811030098.XA priority Critical patent/CN109298817B/en
Publication of CN109298817A publication Critical patent/CN109298817A/en
Application granted granted Critical
Publication of CN109298817B publication Critical patent/CN109298817B/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

Abstract

The embodiment of the invention discloses an item display method, an item display device, a terminal and a storage medium. The method comprises the following steps: when an input trigger instruction is received, acquiring identity authentication information of a user corresponding to the trigger instruction; determining a target item corresponding to the identity authentication information according to the identity authentication information; and switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect. The technical scheme of the embodiment of the invention solves the problems of more time consumption, low efficiency and the like caused by searching the left message item by item and page by a user, saves the time for the user to manually inquire, realizes accurate and efficient positioning of the items, displays the items by an animation effect and improves the user experience.

Description

Item display method, item display device, terminal and storage medium
Technical Field
The embodiment of the invention relates to a computer application technology, in particular to an item display method.
Background
With the development of network technology, more and more people have interacted information through networks. For example, a user may communicate about content of interest by leaving a message in a comment area in a web page. The user can also view the left messages of the user and other users while paying attention to the content.
When a user wants to check his/her message, the prior art generally needs the user to search for the message one by one. However, when there are a lot of messages left in the comment area, the method of searching page by page needs a lot of time, and is prone to cause visual fatigue, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an entry display method, an entry display device, a terminal and a storage medium, solves the problems of more time consumption, low efficiency and the like caused by searching messages one by one page by a user, saves the time for manually inquiring by the user, realizes accurate and efficient positioning of entries, displays the entries by an animation effect and improves the user experience.
In a first aspect, an embodiment of the present invention provides an entry display method, including:
when an input trigger instruction is received, acquiring identity authentication information of a user corresponding to the trigger instruction;
determining a target item corresponding to the identity authentication information according to the identity authentication information;
and switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect.
Optionally, switching the target entry to the target location based on a preset entry switching rule includes:
determining a first position of a target item on a display screen according to a first preset rule;
calculating the height of a display screen, and determining the moving direction and the moving distance of the target item according to the height, the first position and the target position;
and switching the target item to the target position with a first preset animation effect according to the moving direction and the moving distance.
Optionally, displaying the target item with a preset animation effect, including:
and displaying the target item at the target position with a second preset animation effect.
Optionally, determining the first position of the target item on the display screen according to a first preset rule includes:
determining a target page number corresponding to the target entry and a second position of the target entry in the target page number according to the position of the target entry in the current list and the threshold of the number of entries displayed on each page;
and calculating a second height of the current list, determining a first position according to the second position and the second height, and displaying each item in the target page number.
Optionally, after determining the target entry corresponding to the identity authentication information according to the identity authentication information, the method further includes:
generating a parameter selection interface and displaying the interface to a user;
acquiring a user selection instruction, and generating a screening condition according to the selection instruction;
and screening the target items according to the screening conditions, and updating the target items according to the screening result.
Optionally, the screening condition includes a keyword, a time, a number of praise and/or a number of comments.
Optionally, the target position is a middle position of the display screen.
In a second aspect, an embodiment of the present invention further provides an item display apparatus, including:
the data acquisition module is used for acquiring the identity authentication information of the user corresponding to the trigger instruction when the input trigger instruction is received;
the item acquisition module is used for determining a target item corresponding to the identity authentication information according to the identity authentication information;
and the item display module is used for switching the target item to a target position based on a preset item switching rule and displaying the target item with a preset animation effect.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the item display method provided by any of the embodiments of the present invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the item display method provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the identity authentication information of the user corresponding to the trigger instruction is obtained by receiving the trigger instruction input by the user, wherein the identity authentication information can accurately determine the identity of the user; determining the target item corresponding to the identity authentication information according to the identity authentication information, so that the user can quickly and accurately search the target item, and the accuracy of searching the target item by the user is ensured; the target items are switched to the target position based on the preset item switching rule and displayed in the preset animation effect, so that the target items can be automatically displayed according to the target position and the preset animation effect, the target items can be more striking, a user can quickly locate the target items, and interestingness is increased. According to the technical scheme, the problems of much time consumption, low efficiency and the like caused by searching the left message one by one page for the user are solved, the time for manually inquiring the user is saved, the accurate and efficient positioning of the entry is realized, the entry is displayed in an animation effect, and the user experience is improved.
Drawings
FIG. 1 is a flowchart of an item display method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a target item switching and displaying method in an item displaying method according to a second embodiment of the present invention;
FIG. 3A is a schematic diagram of a vertical display of a display screen according to a second embodiment of the present invention;
FIG. 3B is a schematic diagram of a horizontal display of the display screen according to the second embodiment of the present invention;
FIG. 4 is a diagram illustrating the location of an entry before switching the entry according to a second embodiment of the present invention;
FIG. 4A is a diagram illustrating the positions of the entries switched in the scrolling manner according to the second embodiment of the present invention;
FIG. 4B is a diagram illustrating the positions of the items after switching in a scrolling manner according to another embodiment of the present invention;
FIG. 4C is a diagram illustrating the position of the entry after switching in the skip mode according to the second embodiment of the present invention;
FIG. 4D is a diagram illustrating the position of the item after switching in a sliding manner according to the second embodiment of the present invention;
FIG. 5 is a flowchart of a method for determining a first position of a target item on a display screen in an item display method according to a second embodiment of the present invention;
FIG. 6 is a schematic view of an intermediate position in the second embodiment of the present invention;
FIG. 7 is a flowchart of another item display method according to a third embodiment of the present invention;
FIG. 8 is a block diagram of an item display apparatus according to a fourth embodiment of the present invention
Fig. 9 is a schematic structural diagram of a terminal in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an entry display method according to an embodiment of the present invention, which is applicable to a case where a target entry is quickly located, and is particularly applicable to a case where a user needs to search for a message and display the message in an Android, iOS, or Windows client. The method can be executed by the item display device provided by the embodiment of the invention, the item display device can be realized by software and/or hardware, and the item display device can be integrated on various user terminals or servers, such as a mobile phone, a tablet computer or a smart television. Referring to fig. 1, the method of the present embodiment specifically includes the following steps:
and S110, when the input trigger instruction is received, acquiring the identity authentication information of the user corresponding to the trigger instruction.
The form of the trigger instruction is various, for example, the trigger instruction received as input may be a preset key event generated when a preset key is pressed; or acquiring a target gesture input by a user, and determining that an input trigger instruction is received when the target gesture is matched with a preset gesture; or, when the audio acquisition device is detected to be started, acquiring target voice information currently input by a user, and if the target voice information is identified to be matched with preset trigger voice information, determining that an input trigger instruction is received.
It is understood that before obtaining the identity authentication information of the user corresponding to the trigger instruction, the method includes: and acquiring the identity authentication information of the user. Specifically, the identity authentication information may be obtained by reading a smart card storing user identity information through a card reader; or obtaining biological characteristic information of a user, and determining the identity authentication information of the user according to the biological characteristic information, wherein the biological characteristic information can be fingerprints, human faces, signatures and voices; the information input by the user in the preset area may also be received as the identity authentication information, for example, the information may be an account number and a password for identity authentication input on a login or authorization interface, and the password may be a static password set by the user, or a random 6-bit dynamic password sent by the identity authentication system in a form of a short message.
Identity authentication refers to a process of confirming the identity of an operator in a computer and a computer network system, so as to determine whether the user has access and use rights to a certain resource. Namely, the identity authentication information can prevent an attacker from impersonating a legal user to obtain the access right of the resource, and the safety of the system and data is ensured.
For example, for daily application software, when the system receives a trigger instruction input by a user, the trigger instruction is matched with user identity authentication information stored in the system to obtain authentication information matched with the user identity, and the user identity is determined.
And S120, determining a target item corresponding to the identity authentication information according to the identity authentication information.
Where the items may be information related to content, time, location, associated events, and/or associated personas. For example, there may be various messages of each user in the review area of the web page, and each message may be an entry. The target item is an item matched with the identity authentication information, for example, a message of a user in a certain comment area of a certain webpage. For example, because one piece of authentication information corresponds to a unique user, all messages issued by the user can be automatically searched according to the authentication information, that is, all target entries corresponding to the authentication information.
And S130, switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect.
Wherein the target location is a location of the target item on a display screen of the user terminal. When the web page comment area has many items, the acquired target item may or may not be displayed on the current display interface of the display screen of the user terminal. The target location is set to ensure that the user can quickly and accurately find the target item on the display interface of the user terminal so as to view the target item.
Alternatively, the target position may be a default display position according to historical experience of the system, or may be a display position set by the user according to own requirements. Specifically, the target position may be preset according to the viewing habit and/or a set ratio according to the display parameters of the display screen, wherein the display parameters include height, width, curvature of the screen, and the like; the method can also be used for receiving a selection instruction of the target position input in the display interface by a user before the target item is switched to the target position based on a preset item switching rule, and determining the target position according to the selection instruction, for example, when a click instruction of the user on the current display screen is detected, automatically determining the click area as the target position.
The preset item switching rule defines a method for switching the target item from the position of the current list to the target position. The current list is composed of all messages in the web page review area, wherein one message is an item, the whole formed by all the items is the list, and the current list is the real-time state of the list in the process of determining the target item according to the identity authentication information.
The preset animation effect can be an animation effect displayed in the process that the target item is switched from the current position to the target position according to a preset item switching rule, and the specific switching process of the target item can be presented to a user through the setting of the preset animation effect; it may also be an animation effect displayed when the target item is at the target location; of course, the two animation effects may be displayed in a moving effect during the switching process and in the target position, that is, the two animation effects may be combined. The preset animation effect can dynamically present target items for the user, the display effect is enhanced, the user can be conveniently and quickly positioned, and the user experience is improved.
According to the technical scheme of the embodiment of the invention, the identity authentication information of the user corresponding to the trigger instruction is obtained by receiving the trigger instruction input by the user, wherein the identity authentication information can accurately determine the identity of the user; determining the target item corresponding to the identity authentication information according to the identity authentication information, so that the user can quickly and accurately search the target item, and the accuracy of searching the target item by leaving a message of the user is ensured; the target items are switched to the target position based on the preset item switching rule and displayed in the preset animation effect, so that the target items can be automatically displayed according to the target position and the preset animation effect, the target items can be more striking, a user can quickly locate the target items, and interestingness is increased. According to the technical scheme, the problems of more time consumption, low efficiency and the like caused by searching the left message by the user one by one page are solved, accurate and efficient positioning of the entry is realized, the entry is displayed in an animation effect, and the user experience is improved.
Example two
On the basis of the above technical solution, the present embodiment optimizes "switching the target entry to the target position based on the preset entry switching rule, and displaying the target entry with the preset animation effect", and details the switching process and the display mode of the target entry. The same or corresponding terms as those in the above embodiments are not explained in detail herein. The method of the embodiment specifically comprises the following steps:
and S110, when the input trigger instruction is received, acquiring the identity authentication information of the user corresponding to the trigger instruction.
And S120, determining a target item corresponding to the identity authentication information according to the identity authentication information.
And S130, switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect.
Referring to fig. 2, S130 may specifically include S131, S132, S133, and S134.
S131, determining a first position of the target item on the display screen according to a first preset rule.
The first preset rule may be used to calculate a first position of the target item on the display screen, that is, the first position may be a position on the display screen. When applied to a mobile terminal, it is considered that the mobile terminal may be in a landscape mode as well as in a portrait mode. Illustratively, as shown in fig. 3A and 3B, fig. 3A shows the mobile terminal in the portrait mode, and fig. 3B shows the mobile terminal in the landscape mode. For convenience of illustration and understanding, the lower left corner of the display screen is taken as the origin of coordinates P0An X-Y coordinate system is established with the position of the item on the display screen indicated by a solid dot on the Y-axis. Then, the target position may be represented by PTIndicating that the first location of the target entry may be in PFAnd (4) showing. Due to the limited current display interface of the display screen, if the total number of the current items is small, the first position of the target item may be on the current display interface of the display screen of the user terminal, for example, PF(ii) a If the total number of the current items is large, partial items may be displayed according to the set display rule, and at this time, the target item may be stored in the backend server only and is not displayed on the current display interface of the display screen of the user terminal.
S132, calculating the height of the display screen, and determining the moving direction and the moving distance of the target item according to the height, the first position and the target position. (ii) a
If the ground plane is taken as a horizontal direction and the direction perpendicular to the ground plane is taken as a vertical direction as a reference direction, the height of the display screen may be the vertical height of the current display interface. Specifically, before the height of the display screen is calculated, gravity data of the mobile terminal is collected based on a gravity collection device integrated with the mobile terminal; and determining the current longitudinal height of the display screen according to the Gravity data, wherein the Gravity collecting device can be a Gravity-sensor (G-sensor). Of course, the height of the display screen can also be determined by other prior art methods, which are not described in detail herein.
Illustratively, as shown in FIG. 3A, the Y-axis direction is currently displayedThe height of the display interface may be used to represent the vertical height H of the display screen. Wherein the moving distance D of the target item is the target position PTAnd a first position PFThe distance between them. For example, the position of the target item on the display screen may be represented by a specific value of the ordinate of the solid dot, and the absolute value of the specific value of the ordinate is relative to the origin of coordinates P with reference to the height H of the display screen0The distance of (c). The calculation formula of the moving distance D of the target item may be: d ═ T-F
Wherein the moving direction comprises a moving direction when the target item switches from the first position to the target position. The positive direction of the Y axis is defined as the upper direction, and the negative direction of the Y axis is defined as the lower direction. Then, when the moving distance D >0, indicating that the target location is above the first location, the moving direction of the target entry is upward; when the moving distance D <0 indicates that the target position is below the first position, the moving direction of the target entry is downward.
It should be noted that, when the moving distance D is 0, it means that the first position of the target item on the display screen is the target position.
And S133, switching the target item to the target position with a first preset animation effect according to the moving direction and the moving distance.
The first animation preset effect is used for determining the animation effect of the target item in the switching process from the first position to the target position. The first preset animation effect may be a default setting of the system or a setting preset by the user. Illustratively, in conjunction with FIG. 4, location 5 is defined as the target location of the target entry, and location 1 is defined as the first location of the target entry; entry a is defined as the target entry. Then the distance of movement is D and the direction of movement is upwards. Then, the first preset animation effect may be:
1) switching in a rolling manner
The target item and the adjacent item are switched in a rolling mode, namely the target item and the adjacent item are switched two by two along the moving direction until the target item is switched to the target position. The adjacent entry is the entry next to the target entry and is the entry in the same direction as the moving direction, and taking fig. 4 as an example, the connected entry is entry B and is located at position 2. Then, the target entry a and the adjacent entry B are switched two by two, and the result after switching is as shown in fig. 4A, and the adjacent entry is updated to the entry C. And so on until the target entry a switches to location 5, i.e., the target location, as shown in fig. 4B, the switch is complete.
2) Switching in a hopping fashion
The target item and the target item are switched in a jump mode, namely the target item is only switched with the target item, and the target item can be switched to a target position only by once switching. The destination entry is an entry located at the target location when the location of the target entry is not switched, and taking fig. 4 as an example, the destination entry is entry E and is located at location 5. The target entry a is directly switched with the target entry E, the remaining entries remain unchanged, and the result after switching is as shown in fig. 4C, and the switching is completed.
3) Switching in a sliding manner
The target item is switched in a sliding manner, which means that all items in the current list are integrally moved according to the moving direction and the moving distance, so that the target item is moved to the target position. Taking fig. 4 as an example, the result of switching the target entry in a sliding manner is shown in fig. 4D, and the switching is completed.
It should be noted that the implementation manner of the first preset animation effect is not limited to the above 3 examples, as long as the function of switching the target item from the first position to the target position can be realized. In addition, the first preset animation effect can also be that the target item is emphasized, for example, thickened, enlarged, flicked, red-marked, and the like during the switching process.
It is understood that when the current position is the target position, the target item may still be displayed with the first preset animation effect to remind the user that the target item is already at the target position.
And S134, displaying the target item with a preset animation effect.
The preset animation effect can be an animation effect displayed when the target item is at the target position, so that the target item is emphasized, the attention of a user is attracted, and the display effect is enhanced.
The technical scheme of the embodiment of the invention elaborates the switching process and the display mode of the target item. The moving direction and the moving distance of the target item can be calculated through parameters such as the first position, the target position and the height of the display screen, and the accuracy of switching the target item is guaranteed; according to the moving direction and the moving distance, the target item is switched to the target position with the first preset animation effect, so that the animation effect can be presented according to system default setting or user setting in the switching process of the target item, and the user experience is improved.
An optional scheme, displaying the target item with a preset animation effect, may specifically include: and displaying the target item at the target position with a second preset animation effect.
The second preset animation effect is an animation effect displayed when the target item is at the target position, and can be an effect of flashing, thickening, amplifying, marking red and the like, and the animation effect in the switching process of the target item can be cancelled, so that the target item is restored to a normal state. And setting a second preset animation effect to change the display state of the target item so as to attract the attention of the user and strengthen the display effect.
It should be noted that the "first preset animation effect" and the "second preset animation effect" may be the same or different. Illustratively, the item switching may be performed with a first preset animation effect of "item scrolling", and a second preset animation effect of underlining or changing font color and font size, etc., is displayed at the target position.
An alternative scheme, referring to fig. 5, determining a first position of the target entry on the display screen according to a first preset rule may further include:
s1311, determining a target page number corresponding to the target entry and a second position of the target entry in the target page number according to the position of the target entry in the current list and the threshold of the number of entries displayed on each page;
the current list is the real-time state of the list in the process of determining the target items according to the identity authentication information. For example, assuming that the current list has N entries, and the target entry is the mth entry, the mth entry is the position of the target entry in the current list. Wherein N and M are positive integers greater than or equal to 1, and M is less than or equal to N.
The threshold value of the number of displayed items of each page can be used to represent the maximum number of displayed items of each page, i.e. the upper limit value of the number of displayed items of each page. The specific value of the threshold value of the number of items can be a default parameter of the system or a parameter set by a user. Due to the influence of the threshold value, the length of the number of items, the publication time and other factors, each item of each page may or may not be displayed on the current display interface of the display screen of the user terminal. For example, assuming that the first entry of the current list is a newly issued message and the threshold of the number of entries is P, the target page number corresponding to the target entry may be represented as
Figure GDA0002697356760000131
Namely, the ratio of M to P is rounded up; the second location of the target entry in the target page number may be represented as M mod P, i.e., the remainder of the integer M divided by the integer P. Wherein P is a positive integer of 1 or more. For example, if M is 72 and P is 20, the target page number corresponding to the target entry is page 4, and the second position of the target page number of the target entry is 12.
S1312, calculating a second height of the current list, determining a first position according to the second position and the second height, and displaying each item in the target page number.
The second height H2 of the current list is calculated with reference to the height H of the display screen, so that the second height H2 and the height H are unified in unit. For example, if the height of the top position of the current list is defined as 0 and the height of the bottom position is defined as H2, the ordinate value S of the second position may be scaled accordingly. Then, the first position PFThe calculation formula of (2) is as follows: pF=H-S。
The display of each item in the target page number can be that each item in the target page number is displayed on a current display interface of a display screen of the user terminal, so that the target item is conveniently displayed, especially, the target item is displayed with a preset animation effect, and the user experience is improved.
According to the technical scheme of the embodiment of the invention, the target page number corresponding to the target item and the second position of the target item on the target page number can be accurately calculated according to the position of the target item in the current list and the threshold value of the number of the items displayed on each page, namely the position of the target item is accurately found; and converting the position of the target item in the target page number into the position of the display screen, namely the first position, according to a calculation formula, thereby providing a basis for switching and displaying the subsequent target item.
Alternatively, the target position may be a middle position of the display screen. Wherein, referring to fig. 6, the intermediate position may be defined as: at a distance H from the X-axisMPoint P ofMPassing point PMMaking a straight line L parallel to the X axis; taking L as a reference line, moving the threshold M2 in the positive Y-axis direction may result in a straight line L2, moving the threshold M1 in the negative Y-axis direction may result in a straight line L1, and the positions on the display screen demarcated by L1 and L2 may be defined as intermediate positions. Wherein HMM1 and M2 are all positive numbers less than H. The target position is set to be the middle position of the display screen, so that the target items are more striking, and the user can conveniently and directly check the target items.
EXAMPLE III
On the basis of the above technical solution, after "determining the target entry corresponding to the identity authentication information according to the identity authentication information", a step of screening the target entry is added, and a screening process is described in detail. The same or corresponding terms as those in the above embodiments are not explained in detail herein. Referring to fig. 7, the entry display method provided in this embodiment specifically includes the following steps:
and S110, when the input trigger instruction is received, acquiring the identity authentication information of the user corresponding to the trigger instruction.
And S120, determining a target item corresponding to the identity authentication information according to the identity authentication information.
And S310, generating a parameter selection interface and displaying the interface to a user.
The parameter selection interface comprises at least one parameter option, and the parameter option can be selected in the modes of manual input, pull-down selection and/or check and the like. And generating a parameter selection interface, and displaying the parameter selection interface to the user for the user to select. Illustratively, the parameters may include at least one of a keyword, a time, a number of likes, and a number of comments.
And S320, acquiring a user selection instruction, and generating a screening condition according to the selection instruction.
The user selection instruction is a specific selection made by the user based on the parameter selection interface, that is, the user selects the parameter option in the parameter selection interface through manual input, pull-down selection and/or check and the like. The filtering condition is generated according to a selection instruction of the user and is used for filtering the target item.
Illustratively, the filtering condition may be at least one of a keyword, a time, a number of praise, and a number of comment in conjunction with the specific parameter. The keywords may determine the substance content of the target item, the time may determine the publishing time of the target item, and the number of praise and/or comment may determine the attention degree of the target item. The screening condition can enable the user to realize the effect of quickly searching and displaying the really needed target items.
S330, screening the target items according to the screening conditions, and updating the target items according to the screening results.
Screening target items according to the screening conditions, and screening and reserving the target items meeting the user requirements; and the target items are updated according to the screening result, so that the user can only check the target items meeting the requirements, and the pertinence is stronger.
After determining the target items corresponding to the identity authentication information, the system can reserve all the target items, can screen the target items according to default settings of the system, and can also screen the target items according to preset settings of a user.
And S130, switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect.
The technical scheme of the embodiment of the invention mainly explains the implementation process of the technical scheme of screening the target items according to the preset setting of the user. The scheme is particularly suitable for the condition that the number of target entries is large, but the number of target entries meeting the requirement is small. Generating a parameter selection interface to enable a user to select parameter options; generating a screening condition according to user selection to realize screening of the target items, and reserving the target items meeting the user requirements; and updating the target items according to the screening result so that the user can only look up the target items meeting the requirements, the pertinence is stronger, and only the items required by the user can be browsed.
Example four
Fig. 8 is a block diagram of an item display apparatus according to a fourth embodiment of the present invention, which is configured to execute the item display method according to any of the embodiments. The apparatus and the item display method of the embodiments belong to the same inventive concept, and details that are not described in detail in the embodiments of the item display apparatus may refer to the embodiments of the item display method. Referring to fig. 8, the apparatus may specifically include: a data acquisition module 410, an entry acquisition module 420, and an entry display module 430.
The data obtaining module 410 is configured to, when an input trigger instruction is received, obtain identity authentication information of a user corresponding to the trigger instruction;
an entry obtaining module 420, configured to determine, according to the identity authentication information, a target entry corresponding to the identity authentication information;
and an item display module 430, configured to switch the target item to a target location based on a preset item switching rule, and display the target item with a preset animation effect.
Optionally, the data obtaining module 410 may specifically include:
the first position acquisition unit is used for determining a first position of the target item on the display screen according to a first preset rule;
the mobile parameter acquisition unit is used for calculating the height of the display screen and determining the moving direction and the moving distance of the target item according to the height, the first position and the target position;
and the item switching unit is used for switching the target item to the target position with a first preset animation effect according to the moving direction and the moving distance.
Optionally, the data obtaining module 410 may be further configured to:
and displaying the target item at the target position with a second preset animation effect.
Optionally, the first position obtaining unit is specifically configured to:
determining a target page number corresponding to the target entry and a second position of the target entry in the target page number according to the position of the target entry in the current list and the threshold of the number of entries displayed on each page;
and determining the first position according to the second position and the height, and displaying each item in the target page number.
Optionally, on the basis of the above apparatus, the apparatus further includes:
the parameter generating module is used for generating a parameter selection interface and displaying the interface to a user;
the condition generating module is used for acquiring a user selection instruction and generating a screening condition according to the selection instruction;
and the item screening module is used for screening the target items according to the screening conditions and updating the target items according to the screening results.
According to the item display device provided by the fourth embodiment of the invention, through the mutual cooperation of the data acquisition module and the item acquisition module, a user can quickly and efficiently position a message of the user, and the accuracy of searching a target item by the user is ensured; the arrangement of the item display module enables the target items to be automatically displayed according to the target position and the preset animation effect, enables the target items to be more striking, enables a user to quickly locate the target items, and increases interestingness. The device solves the problems of time consumption, low efficiency and the like caused by searching the left message by the user one by one page, realizes accurate and efficient positioning of the entry, displays the entry by an animation effect, and improves the user experience.
The item display device provided by the embodiment of the invention can execute the item display method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the item display apparatus, the included units and modules are merely divided according to the functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 9 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention, and as shown in fig. 9, the terminal 500 includes a memory 510, a processor 520, an input device 530, and an output device 540. The memory 510, processor 520, input device 530, and output device 540 in the terminal 500 may be connected by a bus or other means, such as by bus 550 in fig. 9; the number of the processors 520 may be one or more, and one processor 520 is taken as an example in fig. 9; the memory 510 is used for storing one or more programs, and when the one or more programs are executed by the one or more processors 520, the one or more processors 520 implement the item display method provided by the embodiment of the present invention, including:
when an input trigger instruction is received, acquiring identity authentication information of a user corresponding to the trigger instruction;
determining a target item corresponding to the identity authentication information according to the identity authentication information;
and switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect.
Of course, those skilled in the art will appreciate that processor 520 may also implement aspects of the item display methods provided in any embodiments of the invention. In addition, the terminal 500 shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
The memory 510, as a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the item display method in the embodiment of the present invention (e.g., the data acquisition module 410, the item acquisition module 420, and the item display module 430 in the item display apparatus). The processor 520 executes various functional applications of the terminal and data processing, i.e., implements the item display method described above, by executing software programs, instructions, and modules stored in the memory 510.
The memory 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 510 may further include memory located remotely from processor 520, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the device. The output device 540 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for displaying items, the method including:
when an input trigger instruction is received, acquiring identity authentication information of a user corresponding to the trigger instruction;
determining a target item corresponding to the identity authentication information according to the identity authentication information;
and switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the item display method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. With this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. An item display method, comprising:
acquiring identity authentication information of a user, and acquiring the identity authentication information of the user corresponding to a trigger instruction when the input trigger instruction is received;
determining a target item corresponding to the identity authentication information according to the identity authentication information;
switching the target item to a target position based on a preset item switching rule, and displaying the target item with a preset animation effect;
wherein the switching the target entry to the target location based on the preset entry switching rule comprises:
determining a target page number corresponding to the target entry and a second position of the target entry in the target page number according to the position of the target entry in the current list and the number threshold of entries displayed on each page; calculating a second height of the current list, determining a first position of the target item on a display screen according to the second position and the second height, and displaying each item in the target page number, wherein the second height is calculated according to the height of the display screen;
calculating the height of the display screen, and determining the moving direction and the moving distance of the target item according to the height, the first position and the target position;
and switching the target item to the target position with a first preset animation effect according to the moving direction and the moving distance.
2. The item display method according to claim 1, wherein said displaying the target item with a preset animation effect comprises:
and displaying the target item at the target position with a second preset animation effect.
3. The item display method according to claim 1, further comprising, after determining the target item corresponding to the identity authentication information according to the identity authentication information:
generating a parameter selection interface and displaying the interface to a user;
acquiring a user selection instruction, and generating a screening condition according to the selection instruction;
and screening the target items according to the screening conditions, and updating the target items according to the screening result.
4. The item display method according to claim 3, wherein the filter condition includes a keyword, a time, a number of praise and/or a number of comment.
5. The item display method according to claim 1, wherein the target position is a middle position of a display screen.
6. An item display apparatus, comprising:
the data acquisition module is used for acquiring the identity authentication information of the user and acquiring the identity authentication information of the user corresponding to the trigger instruction when receiving the input trigger instruction;
the item acquisition module is used for determining a target item corresponding to the identity authentication information according to the identity authentication information;
the item display module is used for switching the target item to a target position based on a preset item switching rule and displaying the target item with a preset animation effect;
wherein the item display module comprises:
a first position obtaining unit, configured to determine, according to a position of the target entry in a current list and a threshold of a number of entries displayed on each page, a target page number corresponding to the target entry and a second position of the target entry in the target page number; calculating a second height of the current list, determining a first position of the target item on a display screen according to the second position and the second height, and displaying each item in the target page number, wherein the second height is calculated according to the height of the display screen;
the movement parameter acquisition unit is used for calculating the height of the display screen and determining the movement direction and the movement distance of the target item according to the height, the first position and the target position;
and the item switching unit is used for switching the target item to the target position with a first preset animation effect according to the moving direction and the moving distance.
7. A terminal, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the item display method of any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the item display method according to any one of claims 1 to 5.
CN201811030098.XA 2018-09-05 2018-09-05 Item display method, item display device, terminal and storage medium Active CN109298817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811030098.XA CN109298817B (en) 2018-09-05 2018-09-05 Item display method, item display device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811030098.XA CN109298817B (en) 2018-09-05 2018-09-05 Item display method, item display device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109298817A CN109298817A (en) 2019-02-01
CN109298817B true CN109298817B (en) 2021-01-01

Family

ID=65166063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811030098.XA Active CN109298817B (en) 2018-09-05 2018-09-05 Item display method, item display device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109298817B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235187A (en) * 2020-10-16 2021-01-15 华世界数字科技(深圳)有限公司 Processing method and device for quickly switching from group chat to topic
CN113687894B (en) * 2021-08-13 2024-02-09 支付宝(杭州)信息技术有限公司 Transition processing method, device and equipment for animation items
CN116578375B (en) * 2023-07-11 2024-03-29 荣耀终端有限公司 Card display method and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440093A (en) * 2013-09-10 2013-12-11 北京网秦天下科技有限公司 Method for displaying list in list display interface and mobile terminal
CN104899236A (en) * 2014-11-13 2015-09-09 深圳市腾讯计算机系统有限公司 Comment information display method, comment information display device and comment information display system
CN106231420A (en) * 2016-09-14 2016-12-14 天脉聚源(北京)传媒科技有限公司 The update method of a kind of television channel and device
CN106446647A (en) * 2016-08-26 2017-02-22 乐视控股(北京)有限公司 Method and device for processing browser webpage browsing
CN106874390A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Browser history records inspection method and terminal
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium
CN108446070A (en) * 2018-02-26 2018-08-24 北京辰森世纪科技股份有限公司 A kind of method and device for browsing information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5849502B2 (en) * 2011-08-01 2016-01-27 ソニー株式会社 Information processing apparatus, information processing method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440093A (en) * 2013-09-10 2013-12-11 北京网秦天下科技有限公司 Method for displaying list in list display interface and mobile terminal
CN104899236A (en) * 2014-11-13 2015-09-09 深圳市腾讯计算机系统有限公司 Comment information display method, comment information display device and comment information display system
CN106446647A (en) * 2016-08-26 2017-02-22 乐视控股(北京)有限公司 Method and device for processing browser webpage browsing
CN106231420A (en) * 2016-09-14 2016-12-14 天脉聚源(北京)传媒科技有限公司 The update method of a kind of television channel and device
CN106874390A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Browser history records inspection method and terminal
CN107229705A (en) * 2017-05-25 2017-10-03 北京小米移动软件有限公司 Information resources lookup method, device and computer-readable recording medium
CN108446070A (en) * 2018-02-26 2018-08-24 北京辰森世纪科技股份有限公司 A kind of method and device for browsing information

Also Published As

Publication number Publication date
CN109298817A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
DE102014009871B4 (en) Predictive forwarding of message data
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
CN109298817B (en) Item display method, item display device, terminal and storage medium
US11775244B2 (en) Data processing method and electronic terminal
CN109597548B (en) Menu display method, device, equipment and storage medium
US20130229342A1 (en) Information providing system, information providing method, information processing apparatus, method of controlling the same, and control program
CN112269798B (en) Information display method and device and electronic equipment
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN112162807A (en) Function execution method and device
CN112286614A (en) User interface display method and device, electronic equipment and storage medium
CN106293420A (en) Application Hints method for information display and device
CN112783594A (en) Message display method and device and electronic equipment
US20200372068A1 (en) Photo processing method, device and computer equipment
CN112286616A (en) Dynamic wallpaper setting method and device and electronic equipment
CN106776749A (en) Modes to open a file method to set up and system
CN105549837A (en) Method and device for displaying contact items of contact list based on touch-screen apparatus
CN114518859A (en) Display control method, display control device, electronic equipment and storage medium
CN111796736A (en) Application sharing method and device and electronic equipment
CN111198926B (en) Business handling management method and device, electronic equipment and storage medium
CN111813741A (en) File sharing method and electronic equipment
CN112286613A (en) Interface display method and interface display device
CN112286611A (en) Icon display method and device and electronic equipment
CN112947808A (en) Unread message display method and device and electronic equipment
CN111857463A (en) New message reminding method and device, electronic equipment and medium
CN107256214B (en) Junk information judgment method and device and server cluster

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