Information interaction method and device, electronic equipment and medium

By responding to information dynamic trigger events in the application, determining and scrolling to present information, the problem of a single information interaction method is solved, the efficiency and interest of information interaction are improved, and the risk of omission is reduced.

CN118605779APending Publication Date: 2024-09-06BEIJING IQIYI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410786785.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

When existing applications push information, the information interaction method is single, causing users to miss important things, and the interaction efficiency and effect are low.

Method used

By responding to the information dynamic effect triggering event, the displacement of the first and second stages of scrolling of the object to be displayed is determined, and the information is scrolled and presented in the target display area based on these displacements, increasing the way of information interaction and visual stimulation.

Benefits of technology

It improves the efficiency and fun of information interaction, reduces the possibility of information omission, and enhances the user's visual and sensory experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118605779A
    Figure CN118605779A
Patent Text Reader

Abstract

The embodiment of the invention provides an information interaction method and device, electronic equipment and a medium, and relates to the technical field of computers. The method comprises the steps that in response to an information dynamic effect triggering event, at least one to-be-displayed object is determined, and the to-be-displayed object is information needing to be displayed in a rolling mode; determining a first displacement of the rolling first stage and a second displacement of the rolling second stage; the first displacement is used for indicating the rolling distance from the start to the end of the to-be-displayed object in the first rolling stage, and the second displacement is used for indicating the rolling distance from the start to the end of the to-be-displayed object in the second rolling stage; according to the first displacement of the first rolling stage and the second displacement of the second rolling stage, the at least one to-be-displayed object is displayed in a target display area in a rolling mode. According to the method, the information is displayed in a rolling dynamic effect mode, the information interaction mode is increased, and the information interaction efficiency and interestingness are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an information interaction method, device, electronic equipment and medium. Background Art

[0002] With the development of the Internet and smart devices, a variety of applications (Application, referred to as APP) have emerged to meet the changing needs of users. During use, the application will push some information to users, such as content that users are interested in, current hot topics, promotional information or task reward information. However, this information is generally pushed to users in the form of pop-up windows, and the information interaction method is single, which has limited stimulation to users' vision and senses. Users are likely to miss important matters because of ignoring information, and the interaction efficiency and effect are greatly reduced. Summary of the invention

[0003] The purpose of the embodiments of the present invention is to provide an information interaction method, device, electronic device and medium to increase the ways of information interaction and improve the efficiency and fun of information interaction. The specific technical solution is as follows:

[0004] In a first aspect of the present invention, there is provided an information interaction method, the method comprising:

[0005] In response to an information motion effect triggering event, determining at least one object to be displayed, wherein the object to be displayed is information that needs to be scrolled;

[0006] Determine a first displacement of a first stage of scrolling and a second displacement of a second stage of scrolling; the first displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling of the first stage of scrolling, and the second displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling of the second stage of scrolling;

[0007] According to the first displacement in the first stage of scrolling and the second displacement in the second stage of scrolling, the at least one object to be displayed is scrolled and presented in the target display area.

[0008] In an optional embodiment, the first rolling stage is a rolling acceleration stage, and the second rolling stage is a rolling deceleration stage;

[0009] The determining of the first displacement in the first rolling stage and the second displacement in the second rolling stage comprises:

[0010] The first displacement of the scrolling acceleration phase and the second displacement of the scrolling deceleration phase are determined according to the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration phase and the deceleration time corresponding to the scrolling deceleration phase; wherein the first displacement is used to indicate the distance of the object to be displayed scrolling from the beginning to the end of the scrolling acceleration phase, and the second displacement is used to indicate the distance of the object to be displayed scrolling from the beginning to the end of the scrolling deceleration phase.

[0011] In an optional embodiment, the first rolling stage is a constant speed rolling stage, and the second rolling stage is a deceleration rolling stage;

[0012] The determining of the first displacement in the first rolling stage and the second displacement in the second rolling stage comprises:

[0013] Determine the scrolling speed and scrolling time of the constant speed scrolling stage and the acceleration of the deceleration scrolling stage;

[0014] Determining a first displacement in the constant speed rolling stage according to the rolling speed and the rolling time in the constant speed rolling stage;

[0015] Determining a second displacement in the deceleration rolling stage according to the rolling speed in the constant speed rolling stage and the acceleration in the deceleration rolling stage;

[0016] The first displacement is used to indicate the distance from the start to the end of the scrolling of the object to be displayed in the constant speed scrolling stage, and the second displacement is used to indicate the distance from the start to the end of the scrolling of the object to be displayed in the deceleration scrolling stage.

[0017] In an optional embodiment, the method further includes: determining a scrolling period according to a screen refresh rate;

[0018] The method of determining the first displacement of the first stage of scrolling and the second displacement of the second stage of scrolling includes: determining the number of scrolling cycles included in the first stage of scrolling and the third displacement corresponding to each scrolling cycle, the sum of the third displacements corresponding to each scrolling cycle in the first stage of scrolling is the first displacement of the first stage of scrolling; determining the number of scrolling cycles included in the second stage of scrolling and the fourth displacement corresponding to each scrolling cycle, the sum of the fourth displacements corresponding to each scrolling cycle in the second stage of scrolling is the second displacement of the second stage of scrolling.

[0019] In an optional embodiment, scrolling and presenting the at least one object to be displayed in a target display area according to the first displacement of the first scrolling stage and the second displacement of the second scrolling stage includes: determining a first animation corresponding to each scrolling cycle in the first scrolling stage according to a third displacement corresponding to each scrolling cycle in the first scrolling stage; the first animation is used to indicate a dynamic picture consisting of the objects to be displayed that needs to be presented in the first scrolling stage; determining a second animation corresponding to each scrolling cycle in the second scrolling stage according to a fourth displacement corresponding to each scrolling cycle in the second scrolling stage; the second animation is used to indicate a dynamic picture consisting of the objects to be displayed that needs to be presented in the second scrolling stage; and displaying the first animation corresponding to each scrolling cycle in the first scrolling stage and the second animation corresponding to each scrolling cycle in the second scrolling stage in the target display area, so as to scroll and present the at least one object to be displayed in the target display area.

[0020] In an optional embodiment, scrolling presenting the at least one object to be displayed in a target display area according to the first displacement of the first stage of scrolling and the second displacement of the second stage of scrolling includes: determining attribute information and / or a scrolling type of the target display area according to attribute information of the object to be displayed; scrolling presenting the at least one object to be displayed in the target display area according to the first displacement of the first stage of scrolling and the second displacement of the second stage of scrolling, attribute information and / or a scrolling type of the target display area.

[0021] In an optional embodiment, the method further includes: determining one or more of the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration phase, and the deceleration time corresponding to the scrolling deceleration phase according to the attribute information of the object to be displayed.

[0022] In a second aspect of an embodiment of the present invention, an information interaction device is provided, including:

[0023] An object determination module, configured to determine at least one object to be displayed in response to an information motion effect triggering event, wherein the object to be displayed is information that needs to be scrolled;

[0024] a parameter determination module, used to determine a first displacement in a first stage of scrolling and a second displacement in a second stage of scrolling; the first displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling in the first stage of scrolling, and the second displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling in the second stage of scrolling;

[0025] The object presentation module is used to scroll and present the at least one object to be presented in a target presentation area according to the first displacement in the first stage of scrolling and the second displacement in the second stage of scrolling.

[0026] In an optional embodiment, the first rolling stage is a rolling acceleration stage, and the second rolling stage is a rolling deceleration stage;

[0027] The parameter determination module is also used to determine the first displacement of the scrolling acceleration stage and the second displacement of the scrolling deceleration stage according to the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration stage and the deceleration time corresponding to the scrolling deceleration stage; wherein the first displacement is used to indicate the distance of the object to be displayed from the beginning to the end of the scrolling of the scrolling acceleration stage, and the second displacement is used to indicate the distance of the object to be displayed from the beginning to the end of the scrolling of the scrolling deceleration stage.

[0028] In an optional embodiment, the first rolling stage is a constant speed rolling stage, and the second rolling stage is a deceleration rolling stage;

[0029] The parameter determination module is also used to: determine the scrolling speed, scrolling time of the constant speed scrolling stage and the acceleration of the deceleration scrolling stage; determine the first displacement of the constant speed scrolling stage according to the scrolling speed and scrolling time of the constant speed scrolling stage; determine the second displacement of the deceleration scrolling stage according to the scrolling speed of the constant speed scrolling stage and the acceleration of the deceleration scrolling stage; wherein the first displacement is used to indicate the distance from the beginning to the end of the scrolling of the object to be displayed in the constant speed scrolling stage, and the second displacement is used to indicate the distance from the beginning to the end of the scrolling of the object to be displayed in the deceleration scrolling stage.

[0030] In an optional embodiment, the device further comprises a period determination module, which is used to determine the scrolling period according to the screen refresh rate;

[0031] The parameter determination module is also used to: determine the number of scrolling cycles included in the first scrolling stage and the third displacement corresponding to each scrolling cycle, the sum of the third displacements corresponding to each scrolling cycle in the first scrolling stage is the first displacement of the first scrolling stage; determine the number of scrolling cycles included in the second scrolling stage and the fourth displacement corresponding to each scrolling cycle, the sum of the fourth displacements corresponding to each scrolling cycle in the second scrolling stage is the second displacement of the second scrolling stage.

[0032] In an optional embodiment, the object presentation module is also used to: determine the first animation corresponding to each scrolling cycle in the first stage of scrolling according to the third displacement corresponding to each scrolling cycle in the first stage of scrolling; the first animation is used to indicate the dynamic picture consisting of the objects to be displayed that needs to be presented in the first stage of scrolling; determine the second animation corresponding to each scrolling cycle in the second stage of scrolling according to the fourth displacement corresponding to each scrolling cycle in the second stage of scrolling; the second animation is used to indicate the dynamic picture consisting of the objects to be displayed that needs to be presented in the second stage of scrolling; display the first animation corresponding to each scrolling cycle in the first stage of scrolling and the second animation corresponding to each scrolling cycle in the second stage of scrolling in the target display area, so as to scroll and present the multiple objects to be displayed in the target display area.

[0033] In an optional embodiment, the object presentation module is further used to: determine the attribute information and / or scrolling type of the target display area based on the attribute information of the object to be displayed; and scroll present the at least one object to be displayed in the target display area based on the first displacement of the first stage of scrolling and the second displacement of the second stage of scrolling, the attribute information and / or scrolling type of the target display area.

[0034] In an optional embodiment, the parameter determination module is further used to determine one or more of the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration phase, and the deceleration time corresponding to the scrolling deceleration phase according to the attribute information of the object to be displayed.

[0035] In a third aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to implement the information interaction method provided in any embodiment of the present invention when executing the program stored in the memory.

[0036] In a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the program is executed by a processor, the information interaction method provided by any embodiment of the present invention is implemented.

[0037] The information interaction method provided by the embodiment of the present invention determines at least one object to be displayed in response to an information dynamic effect triggering event, and scrolls and presents the object to be displayed in a target display area according to the distance from the start to the end of the scrolling of the object to be displayed in the first scrolling stage and the distance from the start to the end of the scrolling of the object to be displayed in the second scrolling stage. The technical solution provides an interactive method for scrolling and presenting the object to be displayed, increases the information interaction method, and the dynamic information interaction method enhances the visual stimulation to the user, improves the fun of information interaction, reduces the possibility of information omission, and improves the efficiency of information interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0039] Figure 1 A schematic diagram showing a flow chart of an information interaction method according to an embodiment of the present invention;

[0040] Figure 2 A schematic diagram showing a scrolling effect provided by an information interaction method according to an embodiment of the present invention;

[0041] Figure 3 A schematic diagram showing another scrolling animation provided by the information interaction method according to an embodiment of the present invention;

[0042] Figure 4 A schematic diagram showing a flow chart of an information interaction method according to another embodiment of the present invention;

[0043] Figure 5 A schematic diagram showing a flow chart of an information interaction method according to another embodiment of the present invention;

[0044] Figure 6 A schematic diagram showing a flow chart of an information interaction method according to another embodiment of the present invention;

[0045] Figure 7 A schematic diagram showing the structure of an information interaction device according to an embodiment of the present invention is shown;

[0046] Figure 8 A schematic structural diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0047] The following will be combined with the accompanying drawings in this invention to clearly and completely describe the technical solutions in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this embodiment.

[0048] Figure 1 A flow chart of an information interaction method provided by an embodiment of the present invention is shown. The information interaction method can be applied in an electronic device having a display component, and is used to scroll and present the object to be displayed in the target display area of ​​the display component according to the first displacement of the object to be displayed from the beginning to the end of the scrolling of the first stage of scrolling and the second displacement of the object to be displayed from the beginning to the end of the scrolling of the second stage of scrolling when an information animation triggering event is detected, thereby increasing the ways of information interaction, enhancing the visual stimulation of information interaction, and improving the efficiency and fun of information interaction. Among them, the above-mentioned electronic devices include, but are not limited to, smart phones, tablet computers, laptops, desktop computers, smart speakers, etc.

[0049] like Figure 1 As shown, the method includes:

[0050] Step S101: In response to an information motion effect triggering event, determining at least one object to be displayed.

[0051] Among them, motion effect can be understood as dynamic effect, which means that the way of presenting information is dynamic rather than static. Information motion effect trigger event is used to trigger the scrolling presentation of information. When the information motion effect trigger event is detected, the information seen by the user is scrolled.

[0052] The object to be displayed is information that needs to be presented in a scrolling manner, for example, it may include but is not limited to information that users are interested in, relevant information about promotional activities, current hot topics, reward information or preferential information, etc. The object to be displayed may include a text description of the above information, and may also include related pictures. The number of objects to be displayed may be multiple, for example, when the information that needs to be presented in a scrolling manner is reward information, the object to be displayed may be multiple different prizes (such as reward red envelopes of different amounts). The number of objects to be displayed may also be one, for example, when the information that needs to be presented in a scrolling manner is relevant information about a promotional activity, the object to be displayed is a text description of the promotional activity.

[0053] In some optional embodiments, the information dynamic effect triggering event can be an event of a user operation such as clicking on a dynamic effect control, which is used to turn on the scrolling dynamic effect. For example, a dynamic effect control is set on the page of the application in advance, such as setting a dynamic effect control on the homepage of the application, and configuring the object to be displayed corresponding to the dynamic effect control, that is, binding the dynamic effect control with the object to be displayed. If the user clicks on the dynamic effect control while using the application, the application detects the user's operation of clicking the dynamic effect control, generates an information dynamic effect triggering event, and determines the object to be displayed according to the pre-configured binding relationship. In other optional embodiments, the number of dynamic effect controls is more than one, that is, different dynamic effect controls are set on different pages of the application, such as pages under different channels, and different dynamic effect controls are bound to different objects to be displayed. Taking a video playback application as an example, this type of application includes the following channels: TV series, movies, variety shows, children, etc., and dynamic effect controls are set on the pages under the TV series, movie, variety show, and children's channels, and different objects to be displayed are bound. In other optional embodiments, different objects to be displayed can be bound to different users based on user portraits, so as to perform personalized display.

[0054] In some optional embodiments, it can be determined whether to scroll and present the objects to be displayed based on the user's behavior data (such as browsing path, usage time) during the use of the application. For example, if it is detected that the user's browsing path meets the preset constraint conditions, an information dynamic effect trigger event is generated, or if it is detected that the user's usage time of the application reaches a preset time, an information dynamic effect trigger event is generated.

[0055] Step S102: Determine a first displacement of the first stage of scrolling and a second displacement of the second stage of scrolling. The first displacement is used to indicate the distance of the object to be displayed from the beginning to the end of scrolling of the first stage of scrolling, and the second displacement is used to indicate the distance of the object to be displayed from the beginning to the end of scrolling of the second stage of scrolling.

[0056] In this embodiment, in order to make the scrolling effect more natural, smooth and realistic, the entire scrolling process of the object to be displayed is divided into a first scrolling stage and a second scrolling stage.

[0057] In some optional embodiments, the first stage of scrolling may be a scrolling acceleration stage, in which the object to be displayed may start scrolling from a stationary state, and the scrolling speed becomes faster and faster, presenting the process of accelerating the scrolling of the object to be displayed. The second stage of scrolling may be a scrolling deceleration stage, in which the scrolling speed of the object to be displayed becomes slower and slower until it stops, presenting the process of decelerating the scrolling of the object to be displayed until it stops. The ending speed of the object to be displayed at the end of the first stage of scrolling is the initial speed at the beginning of the second stage of scrolling. In an optional implementation method, some parameters of the scrolling process may be pre-set, and the first displacement of the scrolling acceleration stage and the second displacement of the scrolling deceleration stage may be calculated based on the pre-set parameters. For example, the acceleration time and acceleration of the scrolling acceleration stage, the deceleration time and deceleration of the scrolling deceleration stage may be set, and then the first displacement of the scrolling acceleration stage and the second displacement of the scrolling deceleration stage may be calculated based on the following formula (1).

[0058]

[0059] v0 represents the initial speed of the first stage of rolling or the initial speed of the second stage of rolling, v t It represents the end speed of the first stage of rolling. The end speed of the first stage of rolling is the initial speed of the second stage of rolling. a represents the acceleration of the first stage of rolling or the acceleration of the second stage of rolling. t represents the acceleration time of the first stage of rolling or the deceleration time of the second stage of rolling.

[0060] In another optional implementation, the total displacement of the scrolling process, the acceleration time of the scrolling acceleration stage, and the deceleration time of the scrolling deceleration stage can be preset. The ratio of the acceleration time of the scrolling acceleration stage to the deceleration time of the scrolling deceleration stage is used as the ratio of the first displacement of the scrolling acceleration stage to the second displacement of the scrolling deceleration stage, and then the first displacement and the second displacement are determined based on the total displacement of the scrolling process.

[0061] In some other optional embodiments, the first stage of scrolling may be a constant speed scrolling stage, in which the scrolling speed of the object to be displayed is constant, and what is presented is the process of the object to be displayed scrolling at a constant speed. The second stage of scrolling is a deceleration scrolling stage, in which the object to be displayed decelerates from a constant speed until it stops, and what is presented is the process of the object to be displayed decelerating and scrolling until it stops. In an optional implementation method, the scrolling speed and time of the constant speed scrolling stage and the acceleration or deceleration time of the deceleration scrolling stage may be pre-set, the distance of the constant speed scrolling stage is calculated based on the scrolling speed and time of the constant speed scrolling stage, and the distance of the deceleration scrolling stage is calculated based on the scrolling speed of the constant speed scrolling stage and the acceleration or deceleration time of the deceleration scrolling stage.

[0062] Step S103: scrolling and presenting at least one object to be displayed in the target display area according to the first displacement in the first scrolling stage and the second displacement in the second scrolling stage.

[0063] The presentation of the scrolling effect of the object to be displayed can be regarded as playing multiple frames of continuous animation, and there is a relative displacement between the animations. The first displacement refers to the distance that the object to be displayed needs to scroll from the first frame of the first stage of scrolling to the last frame of the animation at the end, which can also be understood as the displacement of each pixel on the object to be displayed from the first frame of the first stage of scrolling to the last frame of the animation at the end. Similarly, the second displacement refers to the distance that the object to be displayed needs to scroll from the first frame of the second stage of scrolling to the last frame of the animation at the end, that is, the displacement of each pixel on the object to be displayed from the first frame of the second stage of scrolling to the last frame of the animation at the end.

[0064] The target display area refers to the area where the object to be displayed is scrolled. For example, the target display area can be the middle area of ​​the electronic device display screen, or it can be an area in the upper half of the display screen. The shape, size and / or position of the target display area can be pre-defined or determined according to the object to be displayed. For example, if the object to be displayed is text, the area to be displayed is a rectangular area in the upper half of the display screen. If the object to be displayed is a picture, the area to be displayed is a rectangular area in the middle area of ​​the display screen.

[0065] In a possible implementation, UIScrollView is selected as the scrolling container, and scrolling is achieved by setting its contentOffSet. The animation of each scrolling stage is called through CADispalylink. For example, in response to the information dynamic effect trigger time, at least one object to be displayed is determined as the content that UIScrollView needs to present, and the first displacement of the first stage of scrolling and the second displacement parameters of the second stage of scrolling are determined as the parameters of contentOffSet. UIScrollView determines the offset of the content to be presented in the UIScrollView coordinate system through the first displacement of the first stage of scrolling and the second displacement of the second stage of scrolling. Among them, UIScrollView is a view control used to implement scrolling and zooming. Scrolling and zooming refer to the content placed in the UIScrollView control, and the UIScrollView control itself does not move. contentOffSet is a property of UIScrollView, which indicates the offset of the content view of UIScrollView in the UIScrollView coordinate system, which can be used to implement automatic scrolling. CADispalylink is a timer class that can draw specific content to the screen at a frequency synchronized with the screen refresh rate.

[0066] The information interaction method of the embodiment of the present invention determines at least one object to be displayed in response to an information motion effect triggering event, and scrolls the object to be displayed in a target display area according to the scrolling distance from the beginning to the end of the first scrolling stage of the object to be displayed and the scrolling distance from the beginning to the end of the second scrolling stage of the object to be displayed, thereby increasing the ways of information interaction, enhancing the visual stimulation to the user, increasing the interest of information interaction, reducing the possibility of information omission, and improving the efficiency of information interaction.

[0067] In an optional embodiment, at least one object to be displayed is scrolled and presented in a target display area according to a first displacement in a first stage of scrolling and a second displacement in a second stage of scrolling, including: determining attribute information and / or a scrolling type of the target display area according to attribute information of the object to be displayed, and scrolling and presenting at least one object to be displayed in the target display area according to the first displacement in the first stage of scrolling and the second displacement in the second stage of scrolling, the attribute information and / or the scrolling type of the target display area.

[0068] The attribute information of the object to be displayed may include the type and / or style of the object to be displayed. The type of the object to be displayed may include, for example, text, pictures, etc. The style of the object to be displayed may include, for example, the font, size, color, etc. of the text, or the resolution, saturation, brightness, etc. of the picture. The attribute information of the target display area may include, for example, the position, shape, size, etc. of the target display area. The scroll type may include, for example, the scroll direction.

[0069] The scrolling direction may include left-right scrolling (e.g., scrolling from left to right or from right to left) or up-down scrolling (e.g., scrolling from top to bottom or from bottom to top). Figure 2 A schematic diagram showing a plurality of objects to be displayed scrolling left and right is shown. Figure 3 A schematic diagram showing a plurality of objects to be displayed scrolling up and down. Figure 2 , Figure 3 The legend in indicates the object to be displayed.

[0070] In this embodiment, the attribute information of the target display area is determined according to the attribute information of the object to be displayed, and the scrolling type, such as the scrolling direction, is determined according to the attribute information of the object to be displayed. Different target display areas can be set for different objects to be displayed, so that the display of the objects to be displayed in the target display area is more natural and more attractive, which reduces the possibility of users missing or ignoring information and improves the efficiency of information interaction.

[0071] Figure 4A flow chart of an information interaction method according to another embodiment of the present invention is shown. In the embodiment of the present invention, the first scrolling stage and the second scrolling stage are divided into a plurality of scrolling cycles according to the screen refresh rate, so that the scrolling screen of the object to be displayed is synchronized with the screen refresh screen, thereby improving the smoothness of the animation and avoiding the phenomenon of freezing when the object to be displayed is scrolled.

[0072] like Figure 4 As shown, the method includes:

[0073] Step S401: In response to an information dynamic effect triggering event, at least one object to be displayed is determined, where the object to be displayed is information that needs to be scrolled. Figure 1 To avoid repetition, step S101 is not described again.

[0074] Step S402: Determine the scrolling period according to the screen refresh rate.

[0075] The screen refresh rate refers to the number of times a display device updates the screen content per second. The higher the screen refresh rate, the smoother the screen display will be. The refresh rate is expressed in Hertz (Hz). For example, a refresh rate of 60Hz means that the device can update the screen content 60 times per second.

[0076] In a possible implementation, the time of each screen refresh can be obtained by hooking, and the time is used as the start time of the next scrolling cycle. Hook is translated into "hook" or "hook" in Chinese, which means changing the behavior of the program by modifying the existing code or inserting new code.

[0077] In this embodiment, the reciprocal of the screen refresh rate can be used as the scrolling period. For example, if the screen refresh rate is 60 Hz, the scrolling period is Second.

[0078] Step S403: Determine the number of scrolling cycles included in the first scrolling stage and the third displacement corresponding to each scrolling cycle.

[0079] Step S404: Determine the number of scrolling cycles included in the second scrolling stage and the fourth displacement corresponding to each scrolling cycle.

[0080] Among them, the process of steps S403-S407 calculating the seventh displacement corresponding to each scrolling cycle in the first scrolling stage and the eighth displacement corresponding to each scrolling cycle in the second scrolling stage can refer to step S102, and will not be repeated here to avoid repetition.

[0081] Step S405: determining a first animation corresponding to each scrolling cycle in the first scrolling stage according to a third displacement corresponding to each scrolling cycle in the first scrolling stage, wherein the first animation is used to indicate a dynamic picture consisting of the objects to be displayed that needs to be presented in the first scrolling stage.

[0082] Step S406: determining a second animation corresponding to each scrolling cycle in the second scrolling stage according to the fourth displacement corresponding to each scrolling cycle in the second scrolling stage, wherein the second animation is used to indicate a dynamic picture consisting of the objects to be displayed that needs to be presented in the second scrolling stage.

[0083] Step S407: scrolling the first animation corresponding to each scrolling cycle in the first stage and the second animation corresponding to each scrolling cycle in the second stage in the target display area, so as to scroll and present the object to be displayed in the target display area.

[0084] Among them, steps S405-S407 can refer to step S103, and will not be repeated here to avoid repetition.

[0085] The information interaction method of the embodiment of the present invention divides the scrolling display process of the object to be displayed into a first scrolling stage and a second scrolling stage. The connection between the first stage and the second stage makes the scrolling effect of the object to be displayed more realistic. The scrolling cycle is further determined by the screen refresh rate, and the first scrolling stage and the second scrolling stage are divided into shorter scrolling segments, so that the scrolling effect is synchronized with the screen refresh, and the scrolling effect is smoother and more fluent.

[0086] Figure 5 FIG. 2 is a flow chart of an information interaction method according to another embodiment of the present invention. In this embodiment, the first stage of scrolling is the scrolling acceleration stage, and the second stage of scrolling is the scrolling deceleration stage. Figure 5 As shown, the method includes:

[0087] Step S501: In response to an information dynamic effect triggering event, at least one object to be displayed is determined, where the object to be displayed is information that needs to be scrolled. Figure 1 To avoid repetition, the present invention will not elaborate on step S101 shown here.

[0088] Step S502: Determine the scrolling period according to the screen refresh rate. In a possible implementation, the reciprocal of the screen refresh rate can be used as the scrolling period. For example, if the screen refresh rate is 60 Hz, the scrolling period is 1 / 60 second.

[0089] Step S503: Determine the first displacement of the scrolling acceleration stage and the second displacement of the scrolling deceleration stage according to the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration stage and the deceleration time corresponding to the scrolling deceleration stage; wherein the first displacement is used to indicate the distance from the beginning to the end of the pixel scrolling in the scrolling acceleration stage, and the second displacement is used to indicate the distance from the beginning to the end of the pixel scrolling in the scrolling deceleration stage.

[0090] In an optional embodiment, the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration stage, and the deceleration time corresponding to the scrolling deceleration stage may be pre-set, or may be determined according to the attribute information of the object to be displayed. The attribute information of the object to be displayed may include the type and / or style of the object to be displayed. The type of the object to be displayed may include, for example, text, pictures, etc. The sample of the object to be displayed may include, for example, the font, font size, color, etc. of the text, or the resolution, saturation, brightness, etc. of the picture. If the object to be displayed is text, the total scrolling displacement may be set to a distance S1, the acceleration time corresponding to the scrolling acceleration stage may be set to T1, and the deceleration time corresponding to the scrolling deceleration stage may be set to T2. If the object to be displayed is a picture, the total scrolling displacement may be set to a distance S2, the acceleration time corresponding to the scrolling acceleration stage may be set to T3, and the deceleration time corresponding to the scrolling deceleration stage may be set to T4.

[0091] In this step, the ratio of the acceleration time in the rolling acceleration stage to the deceleration time in the rolling deceleration stage is used as the ratio of the first displacement in the rolling acceleration stage to the second displacement in the rolling deceleration stage, and then the first displacement and the second displacement are determined based on the total displacement of the rolling process.

[0092] Step S504: Calculate the first acceleration of the rolling acceleration stage and the end speed at the end of the rolling acceleration stage according to the first displacement of the rolling acceleration stage and the acceleration time of the rolling acceleration stage; calculate the second acceleration of the rolling deceleration stage according to the second displacement of the rolling deceleration stage, the deceleration time of the rolling deceleration stage, and the initial speed at the beginning of the rolling deceleration stage; wherein the end speed at the end of the rolling acceleration stage is the initial speed at the beginning of the rolling deceleration stage. Specifically, the first acceleration of the rolling acceleration stage, the end speed at the end of the rolling acceleration stage, and the second acceleration of the rolling deceleration stage are calculated according to formula (1).

[0093] Step S505: Calculate the third displacement of each scrolling cycle in the scrolling acceleration phase according to the first acceleration and the scrolling cycle; Calculate the fourth displacement of each scrolling cycle in the scrolling deceleration phase according to the second acceleration and the scrolling cycle. Similarly, calculate the third displacement of each scrolling cycle in the scrolling acceleration phase and the fourth displacement of each scrolling cycle in the scrolling deceleration phase according to formula (1). The speed at the end of each scrolling cycle is the speed at the beginning of the next scrolling cycle.

[0094] Step S506: Determine the first animation corresponding to each scrolling cycle in the scrolling acceleration stage according to the third displacement corresponding to each scrolling cycle in the scrolling acceleration stage; determine the second animation corresponding to each scrolling cycle in the scrolling deceleration stage according to the fourth displacement corresponding to each scrolling cycle in the scrolling deceleration stage.

[0095] Step S507: displaying the first animation corresponding to each scrolling cycle in the scrolling acceleration phase and the second animation corresponding to each scrolling cycle in the scrolling deceleration phase in the target display area, so as to scroll and present the object to be displayed in the target display area.

[0096] The presentation of the scrolling effect of the object to be displayed can be regarded as playing multiple frames of continuous animation, and there is a relative displacement between the animations. The third displacement refers to the distance that the object to be displayed needs to scroll in each scrolling cycle during the scrolling acceleration phase. The distance that the object to be displayed needs to scroll is the displacement of each pixel on the object to be displayed. Similarly, the fourth displacement refers to the distance that the object to be displayed needs to scroll in each scrolling cycle during the scrolling deceleration phase. According to the third displacement and the fourth displacement, the animation of each scrolling cycle can be determined respectively, and then the animation of each scrolling cycle can be played to realize the scrolling presentation of the object to be displayed.

[0097] When the information interaction method of the embodiment of the present invention scrolls and presents the object to be displayed, the scrolling speed becomes faster and faster in the scrolling acceleration stage, the scrolling speed is the maximum at the end of the scrolling acceleration stage, and the scrolling speed becomes slower and slower in the scrolling deceleration stage until it stops, thereby increasing the ways of information interaction and improving the efficiency and interest of information interaction.

[0098] Figure 6 FIG. 4 is a flow chart showing an information interaction method according to another embodiment of the present invention. Figure 6 As shown, the method includes:

[0099] Step S601: In response to an information dynamic effect triggering event, at least one object to be displayed is determined, where the object to be displayed is information that needs to be scrolled. Figure 1 To avoid repetition, the present invention will not elaborate on step S101 shown here.

[0100] Step S602: Determine the scrolling period according to the screen refresh rate.

[0101] Step S603: Determine the scrolling speed and scrolling time in the constant speed scrolling stage and the acceleration in the deceleration scrolling stage.

[0102] The scrolling speed and scrolling time of the constant scrolling stage and the acceleration of the deceleration scrolling stage can be preset or determined according to the attribute information of the object to be displayed, which is not limited in the present invention. For example, if the object to be displayed is text, the scrolling speed of the constant scrolling stage can be set to v m , the scrolling time is T3, the acceleration of the deceleration scrolling stage is a1 or the time of the deceleration scrolling stage is T4. If the object to be displayed is a picture, you can set the scrolling speed of the constant speed scrolling stage to v n , the scrolling time is T5, the acceleration of the deceleration scrolling stage is a2 or the time of the deceleration scrolling stage is T46.

[0103] Step S604: determining the third displacement of each scrolling cycle in the constant-speed scrolling stage according to the scrolling speed and the scrolling cycle in the constant-speed scrolling stage.

[0104] Step S605: Determine the fourth displacement of each scrolling cycle in the deceleration scrolling stage according to the scrolling speed in the constant speed scrolling stage and the acceleration in the deceleration scrolling stage.

[0105] Step S606: Determine the first animation corresponding to each scrolling cycle in the constant speed scrolling stage according to the third displacement corresponding to each scrolling cycle in the constant speed scrolling stage; determine the second animation corresponding to each scrolling cycle in the deceleration scrolling stage according to the fourth displacement corresponding to each scrolling cycle in the deceleration scrolling stage.

[0106] Step S607: displaying the first animation corresponding to each scrolling cycle in the constant speed scrolling stage and the second animation corresponding to each scrolling cycle in the deceleration scrolling stage in the target display area, so as to scroll and present the object to be displayed in the target display area.

[0107] The information interaction method of the embodiment of the present invention scrolls the object to be displayed at a constant speed in the constant speed scrolling stage, and the scrolling speed becomes slower and slower until it stops in the deceleration scrolling stage, thereby increasing the ways of information interaction and improving the efficiency and interest of information interaction.

[0108] Figure 7 FIG. 2 shows a schematic diagram of the structure of an information interaction device provided by an embodiment of the present invention. Figure 7 As shown, the information interaction device 700 includes:

[0109] The object determination module 701 is used to determine at least one object to be displayed in response to an information motion effect triggering event, where the object to be displayed is information that needs to be scrolled;

[0110] The parameter determination module 702 is used to determine a first displacement in a first stage of scrolling and a second displacement in a second stage of scrolling; the first displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling in the first stage of scrolling, and the second displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling in the second stage of scrolling;

[0111] The object presenting module 703 is used to present at least one object to be presented in a target presentation area by scrolling according to the first displacement in the first scrolling stage and the second displacement in the second scrolling stage.

[0112] The information interaction device of the embodiment of the present invention determines at least one object to be displayed in response to an information motion effect triggering event, and scrolls the object to be displayed in a target display area according to the scrolling distance from the beginning to the end of the first scrolling stage of the object to be displayed and the scrolling distance from the beginning to the end of the second scrolling stage of the object to be displayed, thereby increasing the information interaction mode, enhancing the visual stimulation to the user, increasing the interest of information interaction, reducing the possibility of information omission, and improving the efficiency of information interaction.

[0113] In an optional embodiment, the first stage of rolling is a rolling acceleration stage, and the second stage of rolling is a rolling deceleration stage;

[0114] The parameter determination module is also used to determine the first displacement of the scrolling acceleration stage and the second displacement of the scrolling deceleration stage according to the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration stage and the deceleration time corresponding to the scrolling deceleration stage; wherein the first displacement is used to indicate the distance of the object to be displayed from the beginning to the end of the scrolling of the scrolling acceleration stage, and the second displacement is used to indicate the distance of the object to be displayed from the beginning to the end of the scrolling of the scrolling deceleration stage.

[0115] In an optional embodiment, the first rolling stage is a constant speed rolling stage, and the second rolling stage is a deceleration rolling stage;

[0116] The parameter determination module is also used to: determine the scrolling speed, scrolling time and acceleration of the constant speed scrolling stage in the constant speed scrolling stage; determine the first displacement of the constant speed scrolling stage according to the scrolling speed and scrolling time of the constant speed scrolling stage; determine the second displacement of the deceleration scrolling stage according to the scrolling speed of the constant speed scrolling stage and the acceleration of the deceleration scrolling stage; wherein the first displacement is used to indicate the distance from the beginning to the end of the scrolling of the object to be displayed in the constant speed scrolling stage, and the second displacement is used to indicate the distance from the beginning to the end of the scrolling of the object to be displayed in the deceleration scrolling stage.

[0117] In an optional embodiment, the device further includes a period determination module, which is used to determine the scrolling period according to the screen refresh rate;

[0118] The parameter determination module is also used to: determine the number of scrolling cycles included in the first stage of scrolling and the third displacement corresponding to each scrolling cycle, the sum of the third displacements corresponding to each scrolling cycle in the first stage of scrolling is the first displacement of the first stage of scrolling; determine the number of scrolling cycles included in the second stage of scrolling and the fourth displacement corresponding to each scrolling cycle, the sum of the fourth displacements corresponding to each scrolling cycle in the second stage of scrolling is the second displacement of the second stage of scrolling.

[0119] In an optional embodiment, the object presentation module is also used to: determine the first animation corresponding to each scrolling cycle in the first stage of scrolling according to the third displacement corresponding to each scrolling cycle in the first stage of scrolling; the first animation is used to indicate the dynamic picture composed of the objects to be displayed that needs to be presented in the first stage of scrolling; determine the second animation corresponding to each scrolling cycle in the second stage of scrolling according to the fourth displacement corresponding to each scrolling cycle in the second stage of scrolling; the second animation is used to indicate the dynamic picture composed of the objects to be displayed that needs to be presented in the second stage of scrolling; display the first animation corresponding to each scrolling cycle in the first stage of scrolling and the second animation corresponding to each scrolling cycle in the second stage of scrolling in the target display area, so as to scroll and present multiple objects to be displayed in the target display area.

[0120] In an optional embodiment, the object presentation module is further used to: determine the attribute information and / or scrolling type of the target display area based on the attribute information of the object to be displayed; and scroll to present at least one object to be displayed in the target display area based on the first displacement of the first stage of scrolling and the second displacement of the second stage of scrolling, the attribute information and / or scrolling type of the target display area.

[0121] In an optional embodiment, the parameter determination module is further used to determine one or more of the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration phase, and the deceleration time corresponding to the scrolling deceleration phase according to the attribute information of the object to be displayed.

[0122] The above device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0123] The embodiment of the present invention further provides an electronic device, such as Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.

[0124] Memory 803, used for storing computer programs;

[0125] The processor 801 is used to execute the program stored in the memory 803, and implements the following steps:

[0126] In response to an information motion effect triggering event, determining at least one object to be displayed, wherein the object to be displayed is information that needs to be scrolled;

[0127] Determine a first displacement of a first stage of scrolling and a second displacement of a second stage of scrolling; the first displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling of the first stage of scrolling, and the second displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling of the second stage of scrolling;

[0128] According to the first displacement in the first stage of scrolling and the second displacement in the second stage of scrolling, the at least one object to be displayed is scrolled and presented in the target display area.

[0129] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0130] The communication interface is used for communication between the above terminal and other devices.

[0131] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0132] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0133] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the information interaction method described in any one of the above embodiments.

[0134] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the information interaction method described in any one of the above embodiments.

[0135] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0136] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0137] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0138] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. An information interaction method, characterized in that: include: In response to an information motion effect triggering event, determining at least one object to be displayed, wherein the object to be displayed is information that needs to be scrolled; Determine a first displacement of a first stage of scrolling and a second displacement of a second stage of scrolling; the first displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling of the first stage of scrolling, and the second displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling of the second stage of scrolling; According to the first displacement in the first stage of scrolling and the second displacement in the second stage of scrolling, the at least one object to be displayed is scrolled and presented in the target display area.

2. The method according to claim 1, characterized in that The first rolling stage is a rolling acceleration stage, and the second rolling stage is a rolling deceleration stage; The determining of the first displacement in the first rolling stage and the second displacement in the second rolling stage comprises: The first displacement of the scrolling acceleration phase and the second displacement of the scrolling deceleration phase are determined according to the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration phase and the deceleration time corresponding to the scrolling deceleration phase; wherein the first displacement is used to indicate the distance of the object to be displayed scrolling from the beginning to the end of the scrolling acceleration phase, and the second displacement is used to indicate the distance of the object to be displayed scrolling from the beginning to the end of the scrolling deceleration phase.

3. The method according to claim 1, characterized in that The first rolling stage is a constant speed rolling stage, and the second rolling stage is a deceleration rolling stage; The determining of the first displacement in the first rolling stage and the second displacement in the second rolling stage comprises: Determine the scrolling speed and scrolling time of the constant speed scrolling stage and the acceleration of the deceleration scrolling stage; Determining a first displacement in the constant speed rolling stage according to the rolling speed and the rolling time in the constant speed rolling stage; Determining a second displacement in the deceleration rolling stage according to the rolling speed in the constant speed rolling stage and the acceleration in the deceleration rolling stage; The first displacement is used to indicate the distance from the start to the end of the scrolling of the object to be displayed in the constant speed scrolling stage, and the second displacement is used to indicate the distance from the start to the end of the scrolling of the object to be displayed in the deceleration scrolling stage.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: determining a scrolling period according to a screen refresh rate; The determining of the first displacement in the first rolling stage and the second displacement in the second rolling stage comprises: Determine the number of scrolling cycles included in the first scrolling stage and the third displacement corresponding to each scrolling cycle, the sum of the third displacements corresponding to each scrolling cycle in the first scrolling stage being the first displacement in the first scrolling stage; The number of scrolling cycles included in the second scrolling stage and the fourth displacement corresponding to each scrolling cycle are determined, and the sum of the fourth displacements corresponding to each scrolling cycle in the second scrolling stage is the second displacement in the second scrolling stage.

5. The method according to claim 4, characterized in that The step of scrolling and presenting the at least one object to be displayed in a target display area according to the first displacement in the first scrolling stage and the second displacement in the second scrolling stage includes: Determine, according to the third displacement corresponding to each scrolling cycle in the first scrolling stage, a first animation corresponding to each scrolling cycle in the first scrolling stage; the first animation is used to indicate a dynamic picture consisting of the to-be-displayed object that needs to be presented in the first scrolling stage; Determine, according to the fourth displacement corresponding to each scrolling cycle in the second scrolling stage, a second animation corresponding to each scrolling cycle in the second scrolling stage; the second animation is used to indicate a dynamic picture consisting of the to-be-displayed object that needs to be presented in the second scrolling stage; The first animation corresponding to each scrolling cycle in the first scrolling stage and the second animation corresponding to each scrolling cycle in the second scrolling stage are displayed in the target display area, so as to scroll and present the at least one object to be displayed in the target display area.

6. The method according to claim 1, characterized in that The step of scrolling and presenting the at least one object to be displayed in a target display area according to the first displacement in the first scrolling stage and the second displacement in the second scrolling stage includes: Determining attribute information and / or scrolling type of a target display area according to attribute information of the object to be displayed; The at least one object to be displayed is scrolled and presented in the target display area according to the first displacement in the first scrolling stage and the second displacement in the second scrolling stage, the attribute information of the target display area and / or the scrolling type.

7. The method according to claim 2, characterized in that The method further comprises: One or more of the total scrolling displacement, the acceleration time corresponding to the scrolling acceleration phase, and the deceleration time corresponding to the scrolling deceleration phase are determined according to the attribute information of the object to be displayed.

8. An information interaction device, characterized in that: include: An object determination module, configured to determine at least one object to be displayed in response to an information motion effect triggering event, wherein the object to be displayed is information that needs to be scrolled; a parameter determination module, used to determine a first displacement in a first stage of scrolling and a second displacement in a second stage of scrolling; the first displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling in the first stage of scrolling, and the second displacement is used to indicate a distance of the object to be displayed from the beginning to the end of scrolling in the second stage of scrolling; The object presentation module is used to scroll and present the at least one object to be presented in a target presentation area according to the first displacement in the first stage of scrolling and the second displacement in the second stage of scrolling.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.