Interface display method and device, equipment, storage medium and program product
By dynamically adjusting the duration of the swiping animation based on the terminal device attributes and user information, the problem of swiping lag on the terminal device interface was solved, and the adaptability of the swiping feedback and the user experience were improved.
Patent Information
- Application Number
- CN202511029864.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-11-11
AI Technical Summary
In existing technologies, the duration of the interface scrolling animation on terminal devices is fixed, which can cause lag or affect the user's access to information and cannot adapt to the needs of different devices and users.
The duration of the sliding animation is intelligently adjusted based on the primary target information, including terminal device attributes, user age group, and health status, and the sliding feedback effect is dynamically adjusted accordingly.
It achieves smooth and adaptable sliding feedback, improves user experience, and adapts to the personalized needs of different terminal devices and users.
Smart Images

Figure CN120928987A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal equipment, and more particularly to a method, apparatus, device, storage medium, and program product for displaying an interface. Background Technology
[0002] When performing a swipe operation on the interface of a terminal device, the duration of the swipe animation is fixed for the terminal device. This may cause some terminal devices to not support swipe animations with too fast a duration, resulting in lag. Alternatively, an excessively fast swipe animation duration may affect the user's acquisition of interface information. Summary of the Invention
[0003] This application provides a method, apparatus, device, storage medium, and program product for displaying an interface, which is used to display the interface after a sliding operation is completed according to a target sliding animation duration. The target sliding animation duration is determined based on first target information, and the target sliding animation duration can be intelligently adjusted according to the first target information to make the sliding feedback smoother and adapt to different terminal devices and different users.
[0004] A first aspect of this application provides a method for displaying an interface, which may include: in response to a swipe operation on a first interface, determining a target swipe animation duration for the swipe operation; and displaying an interface after the swipe operation is completed according to the target swipe animation duration; wherein the target swipe animation duration is determined based on first target information, and the first target information includes at least one of the following:
[0005] Information used to indicate the attributes of a terminal device;
[0006] Information used to indicate the age group to which the user of the terminal device belongs;
[0007] Information used to indicate the health status of users using the terminal device.
[0008] In this technical solution, the interface after the sliding operation is completed is displayed according to the target sliding animation duration. Since the target sliding animation duration is determined based on the first target information, the target sliding animation duration can be intelligently adjusted according to the first target information, making the sliding feedback smoother and adaptable to different terminal devices and different users.
[0009] In some possible implementations of this application, before determining the target sliding animation duration for the sliding operation in response to a sliding operation on the first interface, the method may further include: obtaining the first target information in response to a setting operation on the settings interface; and determining a reference sliding animation duration based on the first target information.
[0010] The step of determining the target sliding animation duration in response to a sliding operation on the first interface may include: determining the target sliding animation duration based on the reference sliding animation duration in response to a sliding operation on the first interface.
[0011] In this technical solution, first target information can be obtained through pre-setting, and then the target sliding animation duration can be determined based on the first target information. After detecting a user's sliding operation on the first interface, the target sliding animation duration can be directly used to display the interface after the sliding operation. Therefore, the target sliding animation duration can be adjusted based on the first target information, rather than the fixed sliding animation duration in existing technologies. The target sliding animation duration obtained by this technical solution is more suitable for the terminal device and / or the user using that terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0012] In some possible implementations of this application, determining the target sliding animation duration in response to a sliding operation on the first interface may include: obtaining the first target information in response to a sliding operation on the first interface; determining the reference sliding animation duration based on the first target information; and determining the target sliding animation duration based on the reference sliding animation duration.
[0013] This technical solution provides an alternative method for obtaining the target sliding animation duration in response to a sliding operation on the first interface. After detecting a sliding operation, it automatically acquires first target information, obtains a reference sliding animation duration based on this information, and then determines the target sliding animation duration based on the reference duration. The target sliding animation duration obtained by this technical solution is more suitable for the terminal device and / or the user using that device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0014] In some possible implementations of this application, determining the target sliding animation duration based on the reference sliding animation duration may include: using the reference sliding animation duration as the target sliding animation duration.
[0015] In this technical solution, the reference sliding animation duration is used as the target sliding animation duration, providing a specific way to determine the target sliding animation duration. This allows for sliding operations to be performed based on the target sliding animation duration, improving the feasibility of the solution.
[0016] In some possible implementations of this application, the method may further include: in response to a swiping operation on the first interface, determining the swiping animation sub-duration based on second target information, wherein the second target information includes at least one of the following: information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the time period to which the current time of using the terminal device belongs;
[0017] Determining the target sliding animation duration based on the reference sliding animation duration may include: determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration.
[0018] This technical solution provides another way to determine the target sliding animation duration based on the reference sliding animation duration. Alternatively, the sliding animation sub-duration can be determined based on the second target information, thereby adjusting the determined reference sliding animation duration so that the determined target sliding animation duration is more suitable for the terminal device and / or the user using the terminal device. This results in a more natural and smoother interface feedback for the sliding operation, and also improves the user's visual experience.
[0019] In some possible implementations of this application, the second target information includes the information used to indicate the emotional state of the user using the terminal device; the step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, if the user's emotional state level is detected to be greater than a level threshold based on the information used to indicate the user's emotional state, determining the sliding animation sub-duration as a first sliding animation sub-duration; or, in response to a sliding operation on the first interface, if the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the user's emotional state, determining the sliding animation sub-duration as a second sliding animation sub-duration;
[0020] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the first sliding animation sub-duration; or, determining the target sliding animation duration as the sum of the reference sliding animation duration and the second sliding animation sub-duration.
[0021] In this technical solution, the duration of the reference sliding animation can be adjusted based on the emotional state information of the user using the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the user using the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation, and also improving the user's visual experience.
[0022] In some possible implementations of this application, the second target information includes the information used to indicate the cumulative duration of use of the terminal device; the step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, if the cumulative duration used to indicate the use of the terminal device falls within a first cumulative duration range, determining the sliding animation sub-duration as a third sliding animation sub-duration; or, in response to a sliding operation on the first interface, if the cumulative duration used to indicate the use of the terminal device falls within a second cumulative duration range, determining the sliding animation sub-duration as a fourth sliding animation sub-duration;
[0023] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the third sliding animation sub-duration; or, determining the target sliding animation duration as the sum of the reference sliding animation duration and the fourth sliding animation sub-duration; wherein the upper limit of the first cumulative duration range is less than or equal to the lower limit of the second cumulative duration range.
[0024] In this technical solution, the reference sliding animation duration can be adjusted by using the accumulated duration information of the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the terminal device, so the interface feedback of the sliding operation is more natural and smooth, and the user's visual experience can also be improved.
[0025] In some possible implementations of this application, the second target information includes information about the time period to which the current time of using the terminal device belongs; the step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, if the time period to which the current time of using the terminal device belongs is a rest period, determining the sliding animation sub-duration as a fifth sliding animation sub-duration; or, in response to a sliding operation on the first interface, if the time period to which the current time of using the terminal device belongs is not a rest period, determining the sliding animation sub-duration as a sixth sliding animation sub-duration;
[0026] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the fifth sliding animation sub-duration; or, determining the target sliding animation duration as the sum of the reference sliding animation duration and the sixth sliding animation sub-duration.
[0027] In this technical solution, the reference sliding animation duration can be adjusted by using the time period information of the current time of the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the user of the terminal device, so that the interface feedback of the sliding operation is more natural and smooth, and the user's visual experience can also be improved.
[0028] In some possible implementations of this application, the first target information includes the information used to indicate the attributes of the terminal device, and the attribute information of the terminal device includes the model of the terminal device; determining the reference sliding animation duration based on the first target information may include: if the model of the terminal device belongs to a first model, determining the reference sliding animation duration as a first sliding animation duration; if the model of the terminal device belongs to a second model, determining the reference sliding animation duration as a second sliding animation duration; wherein, the performance of the first model is better than that of the second model, and the first sliding animation duration is less than the second sliding animation duration.
[0029] In this technical solution, the reference sliding animation duration can be determined as either the first or second sliding animation duration based on whether the current model of the terminal device is the first model or the second model. Then, the reference sliding animation duration is used as the target sliding animation duration. The resulting target sliding animation duration is more adapted to the terminal device, and the interface feedback of the sliding operation is more natural and smooth.
[0030] In some possible implementations of this application, the first target information includes the information used to indicate the age group to which the user using the terminal device belongs; determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration as a third sliding animation duration when the age group to which the user using the terminal device belongs belongs to a first age group; and determining the reference sliding animation duration as a fourth sliding animation duration when the age group to which the user using the terminal device belongs belongs to a second age group; wherein the average age of the first age group is less than the average age of the second age group, and the third sliding animation duration is less than the fourth sliding animation duration.
[0031] In this technical solution, the reference sliding animation duration can be determined as either the third or fourth sliding animation duration based on whether the user of the terminal device belongs to the first or second age group. The reference sliding animation duration is then used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for the user of the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0032] In some possible implementations of this application, the first target information includes the information used to indicate the health status of the user using the terminal device; determining the reference sliding animation duration based on the first target information may include: if, based on the information used to indicate the health status of the user using the terminal device, the user's health status level is determined to be greater than a health level threshold, determining the reference sliding animation duration as a fifth sliding animation duration; if, based on the information used to indicate the health status of the user using the terminal device, the user's health status level is determined to be less than or equal to the health level threshold, determining the reference sliding animation duration as a sixth sliding animation duration; wherein, the fifth sliding animation duration is less than the sixth sliding animation duration.
[0033] In this technical solution, the user's health status level can be determined based on the user's health status information using the terminal device. Then, it can be determined whether the user's health status level is greater than the health level threshold to determine whether the reference sliding animation duration is the duration of the fifth or sixth sliding animation. The reference sliding animation duration is then used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for users using the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0034] In some possible implementations of this application, the first target information includes the information used to indicate the attributes of the terminal device and the information used to indicate the age group to which the user using the terminal device belongs. The information on the attributes of the terminal device includes the model of the terminal device. Determining the reference sliding animation duration based on the first target information may include: if the terminal device model belongs to a first model and the age group to which the user using the terminal device belongs belongs to a first age group, determining the reference sliding animation duration as a seventh sliding animation duration; if the terminal device model belongs to the first model and the current age group to which the user using the terminal device belongs belongs to a second age group, determining the reference sliding animation duration as a seventh sliding animation duration. The duration of the slide animation is determined to be the eighth slide animation duration; if the terminal device is a second type of device and the age group of the user using the terminal device belongs to the first age group, the reference slide animation duration is determined to be the eighth slide animation duration; if the terminal device is a second type of device and the age group of the user using the terminal device belongs to the second age group, the reference slide animation duration is determined to be the ninth slide animation duration; wherein, the performance of the first type of device is better than that of the second type of device; the average age of the first age group is less than that of the second age group; the seventh slide animation duration is less than the eighth slide animation duration, and the eighth slide animation duration is less than the ninth slide animation duration.
[0035] In this technical solution, the reference sliding animation duration can be determined as the seventh, eighth, or ninth sliding animation duration based on whether the current model of the terminal device is a first model or a second model, and based on whether the age group of the user using the terminal device belongs to the first age group or the second age group. Then, the reference sliding animation duration is used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for the terminal device and the user using the terminal device, so that the interface feedback of the sliding operation is more natural and smooth.
[0036] A second aspect of this application provides an interface display device, which may include:
[0037] The processing module is configured to respond to a swipe operation on the first interface and determine the target swipe animation duration for the swipe operation.
[0038] The display module is used to display the interface after the sliding operation is completed according to the duration of the target sliding animation.
[0039] The duration of the target sliding animation is determined based on first target information, which includes at least one of the following:
[0040] Information used to indicate the attributes of a terminal device;
[0041] Information used to indicate the age group to which the user of the terminal device belongs;
[0042] Information used to indicate the health status of users using the terminal device.
[0043] In a third aspect, this application provides a terminal device including a memory, one or more processors, and a display, wherein the memory and the processors are coupled, the memory is used to store computer program code, the computer program code including computer instructions, and when the processor executes the computer instructions, the terminal device performs the method described in any of the first aspects.
[0044] In a fourth aspect, this application provides a chip including a processor, a memory, and a display. The processor may be a logic circuit, an integrated circuit, or a general-purpose processor, etc. The memory stores instructions. The processor may implement the method in the first aspect by reading the software code stored in the memory. The memory may be integrated into the processor or located outside the processor and exist independently.
[0045] In a fifth aspect of this application, a chip system is provided, the chip system being applied to a terminal device, the chip system including one or more interface circuits and one or more processors, and a display, the interface circuits and the processors being interconnected via lines, the interface circuits being configured to receive signals from a memory of the terminal device and send the signals to the processors, the signals including computer instructions stored in the memory, and when the processor executes the computer instructions, the terminal device performing the method described in any of the first aspects.
[0046] In a sixth aspect, this application provides a computer program product comprising: a computer program (also referred to as code or instructions) that, when run, causes a computer to perform the method described in the first aspect above.
[0047] A seventh aspect of this application provides a computer-readable storage medium storing a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the methods described in the first aspect above. Attached Figure Description
[0048] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments and the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application, and other drawings can be obtained based on these drawings.
[0049] Figure 1 A diagram illustrating a user's swiping action on a terminal device's interface;
[0050] Figure 2 This is a schematic diagram of one embodiment of the method for determining the duration of a sliding animation in this application.
[0051] Figure 3A This is a schematic diagram of a touch sliding operation on a first interface in an embodiment of this application;
[0052] Figure 3B This is a schematic diagram illustrating how the target sliding animation duration is determined in response to a setting operation on the settings interface in this application embodiment.
[0053] Figure 3C This is a schematic diagram illustrating the modification of the target sliding animation duration in an embodiment of this application.
[0054] Figure 3D This is a schematic diagram illustrating the modification of the target sliding animation duration in an embodiment of this application.
[0055] Figure 4 This is a schematic diagram of another embodiment of the interface display method in this application;
[0056] Figure 5 This is a schematic diagram showing the interface after the swipe operation is completed in an embodiment of this application;
[0057] Figure 6 This is a schematic diagram of one embodiment of the interface display device in the present application;
[0058] Figure 7 This is a schematic diagram of one embodiment of the terminal device in this application;
[0059] Figure 8 This is a schematic diagram of another embodiment of the terminal device in this application. Detailed Implementation
[0060] This application provides an embodiment for displaying an interface after a sliding operation is completed based on a target sliding animation duration. The target sliding animation duration is determined based on first target information. The target sliding animation duration can be intelligently adjusted based on the first target information to make the sliding feedback smoother and adapt to different terminal devices and different users.
[0061] To enable those skilled in the art to better understand the present application, the technical solutions of the embodiments of the present application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. All embodiments based on the present application should fall within the scope of protection of the present application.
[0062] In existing technologies, when a user performs a swipe interaction on a terminal device's interface, the swipe trigger process is: swipe angle + swipe sensitivity (force / speed + distance), and the swipe feedback process is: swipe trajectory (animation duration + animation curve + movement position) + the way information elements are displayed during the swipe, thus providing the user with a smooth, natural, and enjoyable swipe experience. For example... Figure 1 The image shown is a schematic diagram illustrating a user's swiping action on a terminal device's interface. Figure 1 As shown, when a user swipes up on the interface, the terminal device's interface switches to the screen displayed after the swipe.
[0063] However, the default swipe animation duration in iOS is 240ms, and in Android it is 300ms. Regardless of the system, the swipe animation duration is fixed. Therefore, some terminal devices may not support excessively fast swipe animation durations, which may cause lag. Alternatively, excessively fast swipe animation durations may affect the user's ability to obtain interface information.
[0064] In this technical solution, the interface after the sliding operation is completed is displayed according to the target sliding animation duration. Since the target sliding animation duration is determined based on the first target information, the target sliding animation duration can be intelligently adjusted according to the first target information, making the sliding feedback smoother and adaptable to different terminal devices and different users.
[0065] In the embodiments of this application, the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical care, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.
[0066] By way of example and not limitation, in this embodiment, the terminal device can also be a wearable device with a display interface. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0067] Additionally, it should be noted that the interface in this application embodiment can also be called a user interface (UI), which is the medium interface for interaction and information exchange between the application or operating system and the user. It realizes the conversion between the internal form of information and the form that the user can accept. The application's user interface is the source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, and finally presented as content that the user can recognize, such as images, text, buttons, and other controls. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, images, and text. The attributes and content of controls in the interface are defined through tags or nodes, such as XML through... <textview> 、 <imgview> 、 <videoview>Nodes define the controls contained in the interface. A node corresponds to a control or property in the interface, and after being parsed and rendered, the node is presented as the content visible to the user.
[0068] The most common form of user interface is the graphical user interface (GUI), which refers to an interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0069] The technical solution of this application will be further described below by way of embodiments, such as... Figure 2 The diagram shown is a schematic representation of an embodiment of a method for determining the duration of a sliding animation in this application, which may include:
[0070] 201. In response to a swipe operation on the first interface, determine the target swipe animation duration for the swipe operation.
[0071] The duration of the target sliding animation is determined based on first target information, which includes at least one of the following:
[0072] Information used to indicate the attributes of a terminal device;
[0073] Information used to indicate the age group to which the user of the terminal device belongs;
[0074] Information used to indicate the health status of users using the terminal device.
[0075] For example, if a user needs to perform a swipe operation on the first interface, the terminal device can respond to the user's swipe operation on the first interface and determine the target swipe animation duration. This target swipe animation duration is within the range of swipe animation durations supported by the terminal device. The swipe operation can be a swipe operation for switching interfaces, or a swipe operation for a list control, a swipe operation for a progress bar, etc., on the same interface; specific embodiments of this application do not impose specific limitations.
[0076] Optionally, the user's swiping operation on the first interface can be a direct touch swipe operation on the first interface, an air swipe gesture operation on the first interface, a voice-controlled swipe operation on the first interface, or other swipe operations, etc. The embodiments of this application do not specifically limit it.
[0077] like Figure 3A The diagram shown illustrates a touch-swipe operation on a first interface in an embodiment of this application. The touch-swipe operation can be a swipe in any direction (up, down, left, right) on the first interface, without specific limitations.
[0078] Implementation Method 1: The duration of the reference sliding animation is obtained through pre-set operations.
[0079] In some possible implementations of this application, before determining the target sliding animation duration for the sliding operation in response to a sliding operation on the first interface, the method may further include: obtaining the first target information in response to a setting operation on the settings interface; and determining a reference sliding animation duration based on the first target information.
[0080] The step of determining the target sliding animation duration in response to a sliding operation on the first interface may include: determining the target sliding animation duration based on the reference sliding animation duration in response to a sliding operation on the first interface.
[0081] For example, in response to a swipe operation on the first interface, before obtaining the target swipe animation duration, the user can first set the target swipe animation duration on the terminal device. The terminal device then obtains the first target information in response to the user's setting operation on the settings interface. Optionally, after obtaining the first target information, it can be displayed on the first interface so that the user is aware of the first target information and can confirm whether to modify it. The terminal device can determine a reference swipe animation duration based on the first target information and save it in the terminal device's local database. The target swipe animation duration can be determined subsequently based on the reference swipe animation duration. Optionally, after determining the reference swipe animation duration, the terminal device can also display the reference swipe animation duration so that the user can decide whether to modify it according to actual needs. Before the user performs another setting operation on the reference swipe animation duration, the target swipe animation duration is determined based on the reference swipe animation duration when the user performs a swipe operation. That is, in response to the user's swipe operation on the first interface, the terminal device directly displays the interface after the swipe operation is completed based on the target swipe animation duration.
[0082] like Figure 3B The diagram shown illustrates how, in an embodiment of this application, the target sliding animation duration is determined in response to a settings operation on the settings interface. Figure 3B As shown, the terminal device responds to the user's settings operation on the settings interface, displaying the settings interface. The settings interface includes two options: automatically detect the first target information and manually input the first target information. The user can choose either option. Here, we take the user selecting the option to automatically detect the first target information as an example. In response to the user's selection of the option to automatically detect the first target information, the terminal device can automatically obtain the first target information and then display the first target information on the settings interface. After the user clicks to trigger the next step, the terminal device responds to the user's trigger operation, determines the target sliding animation duration based on the first target information, and displays it on the settings interface. The interface after displaying the target sliding animation duration includes a completion control. The user can trigger the completion control. In response to the trigger operation of the completion control, the terminal device can then complete the sliding operation according to the target sliding animation duration and display the interface after the sliding operation is completed.
[0083] In this technical solution, first target information can be obtained through pre-setting, and then the target sliding animation duration can be determined based on the first target information. After detecting a user's sliding operation on the first interface, the target sliding animation duration can be directly used to display the interface after the sliding operation. Therefore, the target sliding animation duration can be adjusted based on the first target information, rather than the fixed sliding animation duration in existing technologies. The target sliding animation duration obtained by this technical solution is more suitable for the terminal device and / or the user using that terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0084] In some possible implementations of this application, the method may further include: displaying the target sliding animation duration in the settings interface; displaying the modified target sliding animation duration in response to a modification operation of the target sliding animation duration, wherein the modified target sliding animation duration is used to display the interface after the sliding operation is completed; and concealing the modified target sliding animation duration in response to a save operation of the modified target sliding animation duration.
[0085] For example, such as Figure 3C The image shown is a schematic diagram illustrating the modification of the target sliding animation duration in an embodiment of this application. Figure 3C As shown, after obtaining the target swipe animation duration through a pre-set operation, the target swipe animation duration can be displayed on the settings interface for the user to decide whether to modify it. After the user modifies the target swipe animation duration, the terminal device responds to the modification operation by displaying the modified target swipe animation duration. Then, the user can cancel or save the modified target swipe animation duration. After canceling, the interface after the swipe operation is displayed according to the target swipe animation duration. After saving, the interface after the swipe operation is displayed according to the modified target swipe animation duration.
[0086] like Figure 3D The image shown is a schematic diagram illustrating the modification of the target sliding animation duration in an embodiment of this application. Figure 3D As shown, after obtaining the target sliding animation duration through pre-setting operations, the target sliding animation duration can be displayed on the settings interface for the user to decide whether to modify it. Here, after the user triggers the hidden control of the target sliding animation duration, multiple other target sliding animation duration options are displayed. The user selects one of the multiple target sliding animation durations, such as 220ms, and the modified target sliding animation duration is displayed. Then, the user can cancel or save the modified target sliding animation duration. After canceling, the interface after the sliding operation is displayed according to the target sliding animation duration. After saving, the interface after the sliding operation is displayed according to the modified target sliding animation duration.
[0087] In this technical solution, the duration of the target sliding animation can be modified according to the user's actual needs, so that the interface feedback during the sliding operation is more suitable for users using terminal devices, which can increase the probability of users viewing the terminal device interface.
[0088] Implementation Method 2: The duration of the reference sliding animation is obtained by triggering the sliding operation.
[0089] In some possible implementations of this application, determining the target sliding animation duration in response to a sliding operation on the first interface may include: obtaining the first target information in response to a sliding operation on the first interface; determining the reference sliding animation duration based on the first target information; and determining the target sliding animation duration based on the reference sliding animation duration.
[0090] For example, if a user needs to perform a swipe operation on the first interface, the terminal device automatically obtains the first target information in response to the user's swipe operation on the first interface. Optionally, after obtaining the first target information, it can be displayed on the first interface so that the user is aware of the first target information and can confirm whether to modify it. The terminal device can determine the reference swipe animation duration based on the first target information and save it in the terminal device's local database. Subsequently, the target swipe animation duration can be determined based on the reference swipe animation duration. Optionally, after determining the reference swipe animation duration, the terminal device can also display the reference swipe animation duration so that the user can decide whether to modify it according to actual needs. That is, in response to the user's swipe operation on the first interface, the terminal device can first obtain the first target information, then obtain the reference swipe animation duration based on the first target information, then determine the target swipe animation duration based on the reference swipe animation duration, and finally display the interface after the swipe operation is completed based on the target swipe animation duration.
[0091] In this technical solution, an alternative method is provided for obtaining the target sliding animation duration in response to a sliding operation on the first interface. After detecting a sliding operation, the system automatically acquires first target information, obtains a reference sliding animation duration based on this information, and then determines the target sliding animation duration based on the reference duration. In other words, the target sliding animation duration can be determined based on the first target information, rather than the fixed sliding animation duration used in existing technologies. The target sliding animation duration obtained by this technical solution is more suitable for the terminal device and / or the user using that device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0092] In some possible implementations of this application, the first target information further includes at least one of the following:
[0093] Information used to indicate the emotional state of users using the terminal device;
[0094] Information used to indicate the cumulative duration of use of the terminal device;
[0095] Information used to indicate the time period to which the current time of using the terminal device belongs;
[0096] Information used to indicate the remaining battery power of the terminal device;
[0097] And information used to indicate the temperature of the terminal device being used.
[0098] For example, the first target information includes at least one of the following: information indicating the attributes of the terminal device, information indicating the age group of the user using the terminal device, and information indicating the health status of the user using the terminal device. It may also include at least one of the following: information indicating the emotional state of the user using the terminal device, information indicating the cumulative duration of use of the terminal device, information indicating the time period to which the current time of use of the terminal device belongs, information indicating the remaining battery power of the terminal device, and information indicating the temperature of use of the terminal device. Therefore, the corresponding first target mapping table also needs to be updated to match the first target information.
[0099] In this technical solution, the first target information is further described, and may also include at least one of the following: information indicating the emotional state of the user using the terminal device; information indicating the cumulative duration of use of the terminal device; information indicating the time period to which the current time of use of the terminal device belongs; information indicating the remaining battery power of the terminal device; and information indicating the temperature of the terminal device. Therefore, based on the first target information and the first target mapping table, a reference sliding animation duration is determined. The target sliding animation duration determined based on the reference sliding animation duration is more suitable for the terminal device and / or the user using the terminal device, resulting in a more natural and smoother interface feedback for the displayed sliding operation.
[0100] In the above-described implementation methods 1 and 2, among some possible implementation methods of this application, obtaining the first target information may include:
[0101] The parameters of the terminal device are detected, or, in response to an input operation of the terminal device model, the attribute information of the terminal device is determined. The attribute information of the terminal device includes the model of the terminal device, and the parameters of the terminal device include at least one of the terminal device model, chip, and memory. For example, the model of the terminal device can be determined by the terminal device model name, model number, serial number, chip model, total capacity, remaining memory, storage speed, heat dissipation system, etc.
[0102] For example, the models can be divided into first model (high-end model) and second model (low-end model), or they can be divided into first model (high-end model), third model (mid-range model) and second model (low-end model).
[0103] Low-end machines: RAM (Random Access Memory) ≤ 4GB, first chip; Mid-range machines: RAM 6-8GB, second chip; High-end machines: RAM ≥ 12GB, third chip; Among them, the performance of the first chip is greater than that of the second chip, and the performance of the second chip is greater than that of the third chip.
[0104] The system detects the user's avatar while using the terminal device. The avatar is used to determine the user's age group, or, in response to input of the user's age, to determine the age group information of the user. For example, the age group can be analyzed by detecting the user's avatar, or the age group can be determined directly from the age input by the user.
[0105] For example, user age groups can be divided into: age groups older than 50 and age groups younger than or equal to 50; or, age groups younger than or equal to 12, age groups older than 12 and younger than or equal to 50, and age groups older than 50.
[0106] The system detects at least one of the user's heart rate, blood oxygen saturation, and vision, or, in response to an input operation regarding the user's health status, determines information about the user's health status. For example, at least one of heart rate and blood oxygen saturation can be acquired via a wearable device to determine if the user is in a healthy state, or vision selection information can be directly output for the user to choose whether they are in a healthy or unhealthy state, in order to determine a more suitable target swiping animation duration.
[0107] In this technical solution, the first target information can be obtained through automatic detection or through user input; this application embodiment does not impose specific limitations. This provides a data foundation for obtaining the target sliding animation duration based on the first target information.
[0108] In the above-described implementation methods 1 and 2, and in some possible implementation methods of this application, determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration based on the first target information and a first target mapping table, wherein the first target mapping table includes the mapping relationship between different first target information and different reference sliding animation durations.
[0109] For example, the terminal device pre-stores a first target mapping table, which includes mapping relationships between different first target information and different reference sliding animation durations. The terminal device matches the first target information with the first target mapping table to determine the reference sliding animation duration, which is then stored in the terminal device's local database. Optionally, after determining the reference sliding animation duration, the terminal device can also display the reference sliding animation duration so that the user can decide whether to modify it according to actual needs.
[0110] In this technical solution, the reference sliding animation duration can be determined based on the first target information and the first target mapping table. The first target mapping table includes mapping relationships between different first target information and different reference sliding animation durations. The target sliding animation duration is then determined based on the reference sliding animation duration, and subsequently, the interface after the sliding operation is directly used. Therefore, by determining the reference sliding animation duration based on the first target information, rather than the fixed sliding animation duration in existing technologies, the reference sliding animation duration obtained in this technical solution is more suitable for the terminal device and / or the user using that terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0111] In some possible implementations of this application, when the first target information includes multiple target information items, the first target mapping table can include the mapping relationship between multiple target information items and different reference sliding animation durations. The reference sliding animation duration can be obtained by directly matching the reference sliding animation durations corresponding to multiple target information items. Alternatively, the first target mapping table can include the mapping relationship between each target information item and different reference sliding animation sub-durations. That is, the first target mapping table includes multiple target sub-mapping tables, and each target sub-mapping table includes the mapping relationship between each target information item and different reference sliding animation sub-durations. The reference sliding animation duration can be obtained by matching the reference sliding animation sub-durations corresponding to each target information item and then adding them together.
[0112] In this technical solution, when the first target information includes multiple target information, the first target mapping table is specifically described. The first target mapping table may include the mapping relationship between multiple target information and different reference sliding animation durations, or the first target mapping table may include multiple target sub-mapping tables, each target sub-mapping table including the mapping relationship between each target information and different reference sliding animation sub-durations, thereby providing different implementation methods for obtaining the reference sliding animation duration and improving the feasibility of the solution.
[0113] The following sections explain how to determine the target sliding animation duration based on the reference sliding animation duration:
[0114] Implementation method 1: Use the reference sliding animation duration as the target sliding animation duration.
[0115] In some possible implementations of this application, determining the target sliding animation duration based on the reference sliding animation duration may include: using the reference sliding animation duration as the target sliding animation duration.
[0116] For example, in one implementation of determining the target sliding animation duration based on the reference sliding animation duration, the terminal device can directly use the reference sliding animation duration as the target sliding animation duration.
[0117] In this technical solution, the reference sliding animation duration is used as the target sliding animation duration, providing a specific way to determine the target sliding animation duration. This allows for sliding operations to be performed based on the target sliding animation duration, improving the feasibility of the solution.
[0118] (1) The first target information includes the information used to indicate the attributes of the terminal device, wherein the information on the attributes of the terminal device includes the model of the terminal device;
[0119] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration as a first sliding animation duration when the terminal device model belongs to a first model; and determining the reference sliding animation duration as a second sliding animation duration when the terminal device model belongs to a second model; wherein the performance of the first model is better than that of the second model, and the first sliding animation duration is less than the second sliding animation duration.
[0120] For example, the first device model is a high-end device, and the second device model is a low-end device. When the current device model is the first model, i.e., a high-end device, the reference sliding animation duration can be determined as the first sliding animation duration, for example, 200ms. When the current device model is the second model, i.e. a low-end device, the reference sliding animation duration can be determined as the second sliding animation duration, for example, 400ms. The second sliding animation duration is longer than the first sliding animation duration; that is, the first sliding animation duration is faster, and the second sliding animation duration is slower.
[0121] Table 1 below illustrates an example of how a terminal device determines its model and the duration of a reference sliding animation:
[0122] model Reference sliding animation duration (ms) high-end machines 200ms low-end machines 400ms
[0123] Table 1
[0124] In this technical solution, the reference sliding animation duration can be determined as either the first or second sliding animation duration based on whether the current model of the terminal device is the first model or the second model. Then, the reference sliding animation duration is used as the target sliding animation duration. The resulting target sliding animation duration is more adapted to the terminal device, and the interface feedback of the sliding operation is more natural and smooth.
[0125] (2) The first target information includes the information used to indicate the age group to which the user using the terminal device belongs;
[0126] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration as a third sliding animation duration when the age group to which the user using the terminal device belongs belongs to a first age group; and determining the reference sliding animation duration as a fourth sliding animation duration when the age group to which the user using the terminal device belongs belongs to a second age group; wherein the average age of the first age group is less than the average age of the second age group, and the third sliding animation duration is less than the fourth sliding animation duration.
[0127] For example, if the user of the terminal device is under 50 years old, the reference sliding animation duration can be determined as the third sliding animation duration, such as 200ms; if the user of the terminal device is 50 years old or older, the reference sliding animation duration can be determined as the fourth sliding animation duration, such as 400ms. Therefore, the fourth sliding animation duration is longer than the third sliding animation duration, that is, the third sliding animation duration is faster and the fourth sliding animation duration is slower.
[0128] As shown in Table 2 below, this is an example of how the terminal device determines the age group of the user using the terminal device to determine the reference swiping animation duration:
[0129] Age group T Reference sliding animation duration (ms) T≤50 200ms 50<T 400ms
[0130] Table 2
[0131] In this technical solution, the reference sliding animation duration can be determined as either the third or fourth sliding animation duration based on whether the user of the terminal device belongs to the first or second age group. The reference sliding animation duration is then used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for the user of the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0132] (3) The first target information includes the information used to indicate the health status of the user using the terminal device;
[0133] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration as a fifth sliding animation duration when the user's health status level is greater than a health level threshold based on the information used to indicate the user's health status; and determining the reference sliding animation duration as a sixth sliding animation duration when the user's health status level is less than or equal to the health level threshold based on the information used to indicate the user's health status; wherein the fifth sliding animation duration is less than the sixth sliding animation duration.
[0134] For example, the terminal device can determine the user's health status level based on the user's health status information. If the user's health status level is greater than the health status threshold, the reference sliding animation duration can be determined as the fifth sliding animation duration, for example, 200ms. If the user's health status level is less than or equal to the health status threshold, the reference sliding animation duration can be determined as the sixth sliding animation duration, for example, 400ms. Therefore, the fifth sliding animation duration is longer than the sixth sliding animation duration, that is, the fifth sliding animation duration is faster and the sixth sliding animation duration is slower.
[0135] Table 3 below illustrates an example of how a terminal device determines the duration of a reference swiping animation based on the user's health status level.
[0136] User's health status level A Reference sliding animation duration (ms) A>Health Level Threshold 200ms A≤Health Level Threshold 400ms
[0137] Table 3
[0138] In this technical solution, the user's health status level can be determined based on the user's health status information using the terminal device. Then, it can be determined whether the user's health status level is greater than the health level threshold to determine whether the reference sliding animation duration is the duration of the fifth or sixth sliding animation. The reference sliding animation duration is then used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for users using the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0139] It should be noted that the durations of the first, third, and fifth sliding animations can be the same or different, and the durations of the second, fourth, and sixth sliding animations can be the same or different. The specific durations can be determined according to the actual situation, and this application embodiment does not make specific limitations.
[0140] (4) The first target information includes the information used to indicate the attributes of the terminal device and the information used to indicate the age group to which the user of the terminal device belongs, wherein the information on the attributes of the terminal device includes the model of the terminal device;
[0141] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration as a seventh sliding animation duration when the terminal device model belongs to a first model and the age group of the user using the terminal device belongs to a first age group; determining the reference sliding animation duration as an eighth sliding animation duration when the terminal device model belongs to the first model and the age group of the user using the terminal device belongs to a second age group; and determining the reference sliding animation duration as an eighth sliding animation duration when the terminal device model belongs to a second model and the age group of the user using the terminal device belongs to a second age group. If the user of the terminal device belongs to the first age group, the reference sliding animation duration is determined to be the eighth sliding animation duration; if the terminal device is a second model and the user's age group is the second age group, the reference sliding animation duration is determined to be the ninth sliding animation duration; wherein, the performance of the first model is better than that of the second model; the average age of the first age group is less than the average age of the second age group; the seventh sliding animation duration is less than the eighth sliding animation duration, and the eighth sliding animation duration is less than the ninth sliding animation duration.
[0142] For example, the first model is a high-end model, and the second model is a low-end model. If the current model of the terminal device is a first-class model, i.e., a high-end model, and the user of the terminal device is under 50 years old, the reference sliding animation duration can be determined as the seventh sliding animation duration, for example, 200ms; if the current model of the terminal device is a first-class model, i.e., a high-end model, and the user of the terminal device is 50 years old or older, the reference sliding animation duration can be determined as the eighth sliding animation duration, for example, 300ms; if the current model of the terminal device is a second-class model, i.e., a low-end model, and the user of the terminal device is under 50 years old, the reference sliding animation duration can be determined as the eighth sliding animation duration, for example, 300ms; if the current model of the terminal device is a second-class model, i.e., a low-end model, and the user of the terminal device is 50 years old or older, the reference sliding animation duration can be determined as the ninth sliding animation duration, for example, 400ms. The duration of the seventh swipe animation is shorter than that of the eighth swipe animation, and the duration of the eighth swipe animation is shorter than that of the ninth swipe animation. In other words, the duration of the seventh swipe animation is faster, the duration of the eighth swipe animation is medium, and the duration of the ninth swipe animation is slower.
[0143] Table 4 below illustrates an example of how a terminal device determines the reference swiping animation duration by matching the device model with the age group of the user.
[0144] model Age group T Reference sliding animation duration (ms) high-end machines T≤50 200ms high-end machines 50<T 300ms low-end machines T≤50 300ms low-end machines 50<T 400ms
[0145] Table 4
[0146] The following explains the age group, device model, swipe animation duration, and basis for these criteria:
[0147] For a combination of people aged 50+ and low-end devices, the sliding animation duration is, for example, 400ms, because older people react slowly and low-end devices render slowly.
[0148] For a combination of people aged 50 and older and high-end devices, the sliding animation duration is, for example, 300ms, because older people have slower reaction times, but high-end devices render faster.
[0149] For the combination of people aged 50 and older and low-end devices, the sliding animation duration is, for example, 300ms, because young people react quickly, but low-end devices render slowly.
[0150] For the combination of people aged 50 and older and high-end models, the sliding animation duration is, for example, 240ms, because young people react quickly and high-end models render quickly, which means that the hardware of high-end models is superior and the user's perception sensitivity is high.
[0151] In this technical solution, the reference sliding animation duration can be determined as the seventh, eighth, or ninth sliding animation duration based on whether the current model of the terminal device is a first model or a second model, and based on whether the age group of the user using the terminal device belongs to the first age group or the second age group. Then, the reference sliding animation duration is used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for the terminal device and the user using the terminal device, so that the interface feedback of the sliding operation is more natural and smooth.
[0152] (5) The first target information includes the information used to indicate the attributes of the terminal device and the information used to indicate the age group to which the user of the terminal device belongs, wherein the information on the attributes of the terminal device includes the model of the terminal device;
[0153] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include:
[0154] If the terminal device is a third type of device and the age group of the user using the terminal device is a fourth age group, the reference sliding animation duration is determined to be the tenth sliding animation duration.
[0155] If the terminal device is of the third type and the age group of the user using the terminal device belongs to the third age group, the reference sliding animation duration is determined to be the eleventh sliding animation duration.
[0156] If the terminal device is of the third type and the age group of the user using the terminal device is of the fifth age group, the reference sliding animation duration is determined to be the twelfth sliding animation duration.
[0157] If the terminal device is of the fourth type and the age group of the user using the terminal device belongs to the fourth age group, the reference sliding animation duration is determined to be the eleventh sliding animation duration.
[0158] If the terminal device is of the fourth type and the age group of the user using the terminal device belongs to the third age group, the reference sliding animation duration is determined to be the twelfth sliding animation duration.
[0159] If the terminal device is of the fourth type and the age group of the user using the terminal device belongs to the fifth age group, the reference sliding animation duration is determined to be the thirteenth sliding animation duration.
[0160] If the terminal device is a fifth type and the age group of the user using the terminal device belongs to the fourth age group, the reference sliding animation duration is determined to be the twelfth sliding animation duration.
[0161] If the terminal device is of the fifth type and the age group of the user using the terminal device belongs to the third age group, the reference sliding animation duration is determined to be the thirteenth sliding animation duration.
[0162] If the terminal device is of the fifth type and the age group of the user using the terminal device belongs to the fifth age group, the reference sliding animation duration is determined to be the fourteenth sliding animation duration.
[0163] Among them, the performance of the third model is better than that of the fourth model, and the performance of the fourth model is better than that of the fifth model;
[0164] The average age of the fourth age group is less than the average age of the third age group, and the average age of the third age group is less than the average age of the fifth age group;
[0165] The duration of the tenth sliding animation is less than the duration of the eleventh sliding animation, the duration of the eleventh sliding animation is less than the duration of the twelfth sliding animation, the duration of the twelfth sliding animation is less than the duration of the thirteenth sliding animation, and the duration of the thirteenth sliding animation is less than the duration of the fourteenth sliding animation.
[0166] For example, the first model is a high-end model, the third model is a mid-range model, and the second model is a low-end model. The third age group is for children aged 12 or younger, the fourth age group is for children aged 12 or older but less than or equal to 50, and the fifth age group is for children aged 50 or older.
[0167] Table 5 below illustrates an example of how a terminal device determines the reference swiping animation duration by matching the device model with the age group of the user.
[0168] model Age group T Reference sliding animation duration (ms) high-end machines 12<T≤50 150ms high-end machines T≤12 200ms high-end machines 50<T 250ms Mid-range machines 12<T≤50 200ms Mid-range machines T≤12 250ms Mid-range machines 50<T 300ms low-end machines 12<T≤50 250ms low-end machines T≤12 300ms low-end machines 50<T 400ms
[0169] Table 5
[0170] In this technical solution, the reference sliding animation duration can be determined as the tenth, eleventh, twelfth, thirteenth, or fourteenth sliding animation duration based on whether the current model of the terminal device is the first, third, or second model, and based on whether the age group of the user using the terminal device belongs to the fourth, third, or fifth age group. Then, the reference sliding animation duration is used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for the terminal device and the user using the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0171] (6) The first target information includes the information for indicating the attributes of the terminal device and the information for indicating the health status of the user using the terminal device, wherein the information for the attributes of the terminal device includes the model of the terminal device;
[0172] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include: if the terminal device model belongs to a first model, and the user's health status level is determined to be greater than a health level threshold based on the information used to indicate the health status of the user using the terminal device, then the reference sliding animation duration is determined to be the fifteenth sliding animation duration; if the terminal device model belongs to the first model, and the user's health status level is determined to be less than or equal to the health level threshold based on the information used to indicate the health status of the user using the terminal device, then the reference sliding animation duration is determined to be the sixteenth sliding animation duration; if the terminal device model belongs to a second model... Furthermore, if, based on the information used to indicate the health status of a user using the terminal device, it is determined that the user's health status level is greater than a health status threshold, then the reference sliding animation duration is determined to be the sixteenth sliding animation duration; if the terminal device is a second type of device, and based on the information used to indicate the health status of a user using the terminal device, it is determined that the user's health status level is less than or equal to the health status threshold, then the reference sliding animation duration is determined to be the seventeenth sliding animation duration; wherein, the performance of the first type of device is superior to that of the second type of device; the fifteenth sliding animation duration is less than the sixteenth sliding animation duration, and the sixteenth sliding animation duration is less than the seventeenth sliding animation duration.
[0173] For example, the first device model is a high-end model, and the second device model is a low-end model. When the current device model is the first model, i.e., a high-end model, and the user's health status level is determined to be greater than a health status threshold based on the user's health status information, the reference sliding animation duration can be determined to be the fifteenth sliding animation duration, for example, 200ms. When the current device model is the first model, i.e., a high-end model, and the user's health status level is determined to be less than or equal to a health status threshold based on the user's health status information, the reference sliding animation duration can be determined to be the sixteenth sliding animation duration, for example, 300ms. If the current model of the terminal device is the second model, i.e., a low-end model, and the user's health status level is determined to be greater than the health status threshold based on the user's health status information, the reference sliding animation duration can be determined to be the sixteenth sliding animation duration, for example, 300ms. If the current model of the terminal device is the second model, i.e., a low-end model, and the user's health status level is determined to be less than or equal to the health status threshold based on the user's health status information, the reference sliding animation duration can be determined to be the seventeenth sliding animation duration, for example, 400ms.
[0174] Table 6 below provides an example of how a terminal device determines the reference sliding animation duration by matching the device model with the health status level of the user using the terminal device.
[0175] model User's health status level A Reference sliding animation duration (ms) high-end machines A>Health Level Threshold 200ms high-end machines A≤Health Level Threshold 300ms low-end machines A>Health Level Threshold 300ms low-end machines A≤Health Level Threshold 400ms
[0176] Table 6
[0177] In this technical solution, the reference sliding animation duration can be determined based on whether the current model of the terminal device is a first model or a second model, and based on the health status information of the user using the terminal device, whether the user's health status level is greater than a health level threshold. This determines whether the reference sliding animation duration is the duration of the fifteenth, sixteenth, or seventeenth sliding animation. The reference sliding animation duration is then used as the target sliding animation duration. The resulting target sliding animation duration is more suitable for the terminal device and the user using the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation.
[0178] (7) The first target information includes the information used to indicate the age group to which the user using the terminal device belongs and the information used to indicate the health status of the user using the terminal device;
[0179] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include: determining the reference sliding animation duration as the eighteenth sliding animation duration when the information used to indicate that the user's current age group belongs to a first age group, and when the user's health status level is determined to be greater than a health level threshold based on the information used to indicate the user's health status, and the reference sliding animation duration as the nineteenth sliding animation duration; determining the reference sliding animation duration as the nineteenth sliding animation duration when the information used to indicate that the user's current age group belongs to a first age group, and when the user's health status level is determined to be less than or equal to the health level threshold based on the information used to indicate the user's health status, and when the reference sliding animation duration is determined to be the eighteenth sliding animation duration based on the first target information, and the reference sliding animation duration as the nineteenth sliding animation duration ... If the current age group belongs to the second age group, and the user's health status level is determined to be greater than the health status threshold based on the information used to indicate the user's health status, the reference sliding animation duration is determined to be the nineteenth sliding animation duration; if the current age group to which the user belongs belongs to the second age group, and the user's health status level is determined to be less than or equal to the health status threshold based on the information used to indicate the user's health status, the reference sliding animation duration is determined to be the twentieth sliding animation duration; wherein, the average age of the first age group is less than the average age of the second age group; the eighteenth sliding animation duration is less than the nineteenth sliding animation duration, and the nineteenth sliding animation duration is less than the twentieth sliding animation duration.
[0180] For example, the first age group is the age group of 50 years or younger, and the second age group is the age group of 50 years or older.
[0181] As shown in Table 7 below, this is an example of how the terminal device determines the duration of a reference swiping animation by judging the age group and health status level of the user using the terminal device:
[0182] Age group T User's health status level A Reference sliding animation duration (ms) T≤50 A>Health Level Threshold 200ms 50<T A≤Health Level Threshold 300ms T≤50 A>Health Level Threshold 300ms 50<T A≤Health Level Threshold 400ms
[0183] Table 7
[0184] In this technical solution, the reference swiping animation duration can be determined based on whether the user of the terminal device belongs to the first age group or the second age group, and based on the user's health status information, whether the user's health status level is greater than the health level threshold. This determines whether the reference swiping animation duration is the duration of the eighteenth, nineteenth, or twentieth swiping animation. The reference swiping animation duration is then used as the target swiping animation duration. The resulting target swiping animation duration is more suitable for users of the terminal device, resulting in a more natural and smoother interface feedback for the swiping operation.
[0185] (8) The first target information includes the information for indicating the attributes of the terminal device, the information for indicating the age group to which the user of the terminal device belongs, and the information for indicating the health status of the user of the terminal device. The information for the attributes of the terminal device includes the model of the terminal device.
[0186] In some possible implementations of this application, determining the reference sliding animation duration based on the first target information may include:
[0187] When the terminal device is of the first type and the user of the terminal device belongs to the first age group, and when the user's health status level is determined to be greater than the health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-first sliding animation duration.
[0188] When the terminal device is of the first type and the user of the terminal device belongs to the first age group, and when the user's health status level is determined to be less than or equal to the health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-second sliding animation duration.
[0189] When the terminal device is a first type of device and the user of the terminal device is in the second age group, and when the user's health status level is determined to be greater than the health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-second sliding animation duration.
[0190] If the terminal device is a first type of device and the user of the terminal device belongs to a second age group, and if the user's health status level is determined to be less than or equal to the health status threshold based on the user's health status information, then the reference sliding animation duration is determined to be the twenty-third sliding animation duration.
[0191] When the terminal device is a second type of device and the user of the terminal device belongs to a first age group, and when the user's health status level is determined to be greater than a health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-second sliding animation duration.
[0192] When the terminal device is a second type of device and the user of the terminal device is in the first age group, and when the user's health status level is determined to be less than or equal to the health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-third sliding animation duration.
[0193] When the terminal device is of the second type and the user of the terminal device belongs to the second age group, and when the user's health status level is determined to be greater than the health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-third sliding animation duration.
[0194] When the terminal device is a second type of device and the user of the terminal device is in the second age group, and when the user's health status level is determined to be less than or equal to the health status threshold based on the user's health status information, the reference sliding animation duration is determined to be the twenty-fourth sliding animation duration.
[0195] Among them, the performance of the first model is better than that of the second model, the average age of the first age group is less than that of the second age group, the duration of the 21st swipe animation is less than that of the 22nd swipe animation, the duration of the 22nd swipe animation is less than that of the 23rd swipe animation, and the duration of the 23rd swipe animation is less than that of the 24th swipe animation.
[0196] For example, the first model is a high-end model, and the second model is a low-end model. The first age group is those under 50 years old, and the second age group is those over 50 years old.
[0197] Table 8 below illustrates an example of how determining the duration of a reference sliding animation involves identifying the terminal device model, the user's age group, and health status level.
[0198]
[0199]
[0200] Table 8
[0201] In this technical solution, the reference swiping animation duration can be determined based on whether the terminal device is a first model or a second model, whether the user of the terminal device belongs to a first age group or a second age group, and whether the user's health status level is greater than a health level threshold, according to the user's health status information. This reference swiping animation duration is then used as the target swiping animation duration. The resulting target swiping animation duration is more suitable for the terminal device and the user, resulting in a more natural and smoother interface feedback for the swiping operation.
[0202] Implementation Method 2: First, determine the duration of the sliding animation based on the first target information, and then determine the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration.
[0203] In some possible implementations of this application, the method may further include: in response to a swiping operation on the first interface, determining a first swiping animation duration based on second target information, wherein the second target information includes at least one of the following: information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, information for indicating the remaining battery power of the terminal device, and information for indicating the temperature of using the terminal device;
[0204] Determining the target sliding animation duration based on the reference sliding animation duration may include: determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration.
[0205] For example, after detecting a user's swipe operation on the first interface, the terminal device, in response to the swipe operation, can determine the swipe animation sub-duration based on second target information. Then, it can determine the target swipe animation duration based on a reference swipe animation duration and the swipe animation sub-duration. The second target information may include at least one of the following: information indicating the user's emotional state, information indicating the cumulative duration of using the terminal device, information indicating the time period to which the current time of using the terminal device belongs, information indicating the remaining battery power of the terminal device, and information indicating the temperature of using the terminal device. Optionally, the second target information may also include other information besides the information described above; this embodiment does not specifically limit this information.
[0206] This technical solution provides another way to determine the target sliding animation duration based on the reference sliding animation duration. Alternatively, the sliding animation sub-duration can be determined based on the second target information, thereby adjusting the determined reference sliding animation duration so that the determined target sliding animation duration is more suitable for the terminal device and / or the user using the terminal device. This results in a more natural and smoother interface feedback for the sliding operation, and also improves the user's visual experience.
[0207] (1) The second target information includes the information used to indicate the emotional state of the user using the terminal device; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to a sliding operation on the first interface based on the second target information may include: in response to a sliding operation on the first interface, if the user's emotional state level is detected to be greater than a level threshold based on the information used to indicate the emotional state of the user using the terminal device, the sliding animation sub-duration is determined to be a first sliding animation sub-duration;
[0208] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the first sliding animation sub-duration.
[0209] or,
[0210] The step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, if the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device, the sliding animation sub-duration is determined to be a second sliding animation sub-duration.
[0211] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the sum of the reference sliding animation duration and the second sliding animation sub-duration.
[0212] For example, after the terminal device detects the user's swipe operation on the first interface, it can determine the swipe animation sub-duration based on the user's emotional state information. If the user's emotional state level is greater than the level threshold, the determined swipe animation sub-duration is the first swipe animation sub-duration, indicating that the user is in a happy state and the brain reacts faster. Therefore, the difference between the reference swipe animation duration and the first swipe animation sub-duration can be used as the target swipe animation duration.
[0213] If the user's emotional state level is less than or equal to the level threshold, the determined sliding animation duration is the second sliding animation duration. This indicates that the user is in an unhappy state, and the brain's reaction is relatively slow. Therefore, the sum of the reference sliding animation duration and the second sliding animation duration can be used as the target sliding animation duration. It should be noted that the first sliding animation duration can be the same as or different from the second sliding animation duration.
[0214] Table 9 provides an example of determining the duration of a swipe animation based on the user's emotional state level.
[0215] User's emotional state level B The duration t (ms) of the sliding animation. B>Level Threshold The first sliding animation duration t1 B≤Grade Threshold The second sliding animation sub-duration t2
[0216] Table 9
[0217] In this technical solution, the duration of the reference sliding animation can be adjusted based on the emotional state information of the user using the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the user using the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation, and also improving the user's visual experience.
[0218] (2) The second target information includes the information used to indicate the cumulative duration of using the terminal device; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to a sliding operation on the first interface according to the second target information may include: in response to a sliding operation on the first interface, if the cumulative duration of using the terminal device is within a first cumulative duration range, determining the sliding animation sub-duration as a third sliding animation sub-duration;
[0219] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the third sliding animation sub-duration.
[0220] or,
[0221] The step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, if the cumulative duration used to indicate the use of the terminal device falls within the range of the second cumulative duration, determining the sliding animation sub-duration as the fourth sliding animation sub-duration;
[0222] The step of determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the sum of the reference sliding animation duration and the fourth sliding animation sub-duration.
[0223] Wherein, the upper limit of the first cumulative duration range is less than or equal to the lower limit of the second cumulative duration range.
[0224] For example, after the terminal device detects the user's swipe operation on the first interface, it can determine the swipe animation sub-duration based on the information of the cumulative time of using the terminal device. If the cumulative time of using the terminal device is within the first cumulative time range, the determined swipe animation sub-duration is the third swipe animation sub-duration. Since the upper limit of the first cumulative time range is less than or equal to the lower limit of the second cumulative time range, it indicates that the user's cumulative time of using the terminal device is short. Therefore, the difference between the reference swipe animation duration and the third swipe animation sub-duration can be used as the target swipe animation duration.
[0225] If the cumulative usage time of the terminal device falls within the second cumulative usage time range, the determined sliding animation sub-duration is the fourth sliding animation sub-duration. Since the upper limit of the first cumulative usage time range is less than or equal to the lower limit of the second cumulative usage time range, indicating a long cumulative usage time of the terminal device, the sum of the reference sliding animation duration and the fourth sliding animation sub-duration can be used as the target sliding animation duration. It should be noted that the third sliding animation sub-duration can be the same as or different from the fourth sliding animation sub-duration.
[0226] As shown in Table 10, here is an example of determining the sub-duration of the sliding animation based on the cumulative duration of the terminal device:
[0227] Cumulative duration C The duration t (ms) of the sliding animation. First cumulative duration range The third sliding animation duration t3 Second cumulative duration range The fourth sliding animation has a duration of t4.
[0228] Table 10
[0229] In this technical solution, the reference sliding animation duration can be adjusted by using the accumulated duration information of the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the terminal device, so the interface feedback of the sliding operation is more natural and smooth, and the user's visual experience can also be improved.
[0230] (3) The second target information includes the information of the time period to which the current time of using the terminal device belongs; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to the sliding operation on the first interface according to the second target information may include: in response to the sliding operation on the first interface, if the time period to which the current time of using the terminal device belongs belongs to a rest period, determining the sliding animation sub-duration as the fifth sliding animation sub-duration;
[0231] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the fifth sliding animation sub-duration.
[0232] or,
[0233] The step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, if the time period used to indicate the current time of using the terminal device belongs to a non-rest period, determining the sliding animation sub-duration as a sixth sliding animation sub-duration;
[0234] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the sum of the reference sliding animation duration and the sixth sliding animation sub-duration.
[0235] For example, after the terminal device detects the user's swipe operation on the first interface, it can determine the swipe animation sub-duration based on the time period information of the current time of the terminal device. If the time period of the current time of the terminal device is a rest period, the determined swipe animation sub-duration is the fifth swipe animation sub-duration. Because during the rest period, the user generally has no other interference, and even if the swipe animation duration is relatively fast, the user can easily obtain effective information. Therefore, the difference between the reference swipe animation duration and the fifth swipe animation sub-duration can be used as the target swipe animation duration.
[0236] When the current time on the terminal device falls within a non-rest period, the determined sliding animation duration is the sixth sliding animation duration. Because users are subject to other distractions during non-rest periods, a too-fast sliding animation duration could cause them to miss valuable information. Therefore, the sum of the reference sliding animation duration and the sixth sliding animation duration can be used as the target sliding animation duration. It should be noted that the fifth sliding animation duration can be the same as or different from the sixth sliding animation duration.
[0237] Table 11 provides an example of determining the duration of a sliding animation based on the time period to which the current time of the user's terminal device belongs:
[0238] Current time D The duration t (ms) of the sliding animation. rest period The fifth sliding animation has a duration of t5. Non-rest period The sixth sliding animation has a duration of t6.
[0239] Table 11
[0240] In this technical solution, the reference sliding animation duration can be adjusted by using the time period information of the current time of the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the user of the terminal device, so that the interface feedback of the sliding operation is more natural and smooth, and the user's visual experience can also be improved.
[0241] (4) The second target information includes the information used to indicate the remaining battery power of the terminal device; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to a sliding operation on the first interface according to the second target information may include: in response to a sliding operation on the first interface, when the information used to indicate that the remaining battery power of the terminal device is greater than the remaining battery power threshold is used to determine the sliding animation sub-duration as the seventh sliding animation sub-duration;
[0242] The step of determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the seventh sliding animation sub-duration.
[0243] or,
[0244] The step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, when the remaining battery power used to indicate that the remaining battery power of the terminal device is less than or equal to the remaining battery power threshold, determining the sliding animation sub-duration as an eighth sliding animation sub-duration;
[0245] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the sum of the reference sliding animation duration and the eighth sliding animation sub-duration.
[0246] For example, after the terminal device detects the user's swipe operation on the first interface, it can determine the swipe animation sub-duration based on the remaining battery power information of the terminal device. If the remaining battery power of the terminal device is greater than the remaining battery power threshold, the determined swipe animation sub-duration is the seventh swipe animation sub-duration. Since the remaining battery power is greater than the remaining battery power threshold, it means that there is still a lot of battery power left, which can support fast swiping. Therefore, the difference between the reference swipe animation duration and the seventh swipe animation sub-duration can be used as the target swipe animation duration.
[0247] When the remaining battery power is less than or equal to the remaining battery power threshold, the determined sliding animation sub-duration is the eighth sliding animation sub-duration. Since the remaining battery power is less than or equal to the remaining battery power threshold, it indicates that the remaining battery power is relatively low and cannot support too many rapid slides. Therefore, the sum of the reference sliding animation duration and the eighth sliding animation sub-duration can be used as the target sliding animation duration. It should be noted that the seventh sliding animation sub-duration can be the same as or different from the eighth sliding animation sub-duration.
[0248] Table 12 provides an example of determining the sub-duration of the sliding animation based on the remaining battery power of the terminal device.
[0249] Remaining power E The duration t (ms) of the sliding animation. Greater than the remaining battery threshold The seventh sliding animation duration is t7. Less than or equal to the remaining battery threshold The eighth sliding animation has a duration of t8.
[0250] Table 12
[0251] In this technical solution, the reference sliding animation duration can be adjusted based on the remaining battery power information of the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the terminal device, resulting in a more natural and smoother interface feedback for the sliding operation, and also improving the user's visual experience.
[0252] (5) The second target information includes the information used to indicate the temperature of the terminal device; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to a sliding operation on the first interface according to the second target information may include: in response to a sliding operation on the first interface, when the temperature used to indicate the temperature of the terminal device is less than or equal to a temperature threshold, determining the sliding animation sub-duration as a ninth sliding animation sub-duration.
[0253] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the difference between the reference sliding animation duration and the ninth sliding animation sub-duration.
[0254] or,
[0255] The step of determining the sliding animation sub-duration based on the second target information in response to a sliding operation on the first interface may include: in response to a sliding operation on the first interface, when the temperature used to indicate that the temperature of the terminal device is greater than the temperature threshold is greater than the temperature threshold, determining the sliding animation sub-duration as the tenth sliding animation sub-duration;
[0256] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: determining the target sliding animation duration as the sum of the reference sliding animation duration and the tenth sliding animation sub-duration.
[0257] For example, after the terminal device detects the user's swipe operation on the first interface, it can determine the swipe animation sub-duration based on the temperature information of the terminal device. If the temperature of the terminal device is less than or equal to a temperature threshold, the determined swipe animation sub-duration is the ninth swipe animation sub-duration. Since the temperature is less than or equal to the temperature threshold, it means that the battery temperature of the terminal device is not very high and can support fast swiping. Therefore, the difference between the reference swipe animation duration and the ninth swipe animation sub-duration can be used as the target swipe animation duration.
[0258] When the temperature of the terminal device exceeds a temperature threshold, the determined sliding animation sub-duration is the tenth sliding animation sub-duration. This is because a temperature exceeding the threshold indicates a high battery temperature, which cannot support prolonged rapid sliding. Therefore, the sum of the reference sliding animation duration and the tenth sliding animation sub-duration can be used as the target sliding animation duration. It should be noted that the ninth sliding animation sub-duration can be the same as or different from the tenth sliding animation sub-duration.
[0259] Table 13 provides an example of determining the duration of a sliding animation based on the temperature of the terminal device.
[0260] Temperature F The duration t (ms) of the sliding animation. Less than or equal to the temperature threshold The ninth sliding animation duration t9 greater than the temperature threshold The tenth sliding animation has a duration of t10.
[0261] Table 13
[0262] In this technical solution, the reference sliding animation duration can be adjusted using the temperature information of the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the terminal device and the user using the terminal device, thereby making the interface feedback of the sliding operation more natural and smooth, and improving the user's visual experience.
[0263] It should be noted that the first to tenth sliding animation sub-durations mentioned above are all within the range of sliding animation sub-durations. When the second target information includes a single target information, the corresponding sliding animation sub-duration can take any value within the range of sliding animation sub-durations. When the second target information includes multiple target information, the sum of the corresponding sliding animation sub-durations can take any value within the range of sliding animation sub-durations.
[0264] (6) The second target information includes the information for indicating the emotional state of the user using the terminal device and the information for indicating the cumulative duration of using the terminal device; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to a sliding operation on the first interface based on the second target information may include: in response to a sliding operation on the first interface, determining a first sliding animation sub-duration when the user's emotional state level is detected to be greater than a level threshold based on the information for indicating the emotional state of the user using the terminal device, and determining a third sliding animation sub-duration when the cumulative duration of using the terminal device is within the range of the first cumulative duration;
[0265] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: subtracting the reference sliding animation duration from the first sliding animation sub-duration, and then subtracting it from the third sliding animation sub-duration to obtain the target sliding animation duration;
[0266] or,
[0267] The step of determining the sliding animation sub-duration in response to a sliding operation on the first interface, based on the second target information, may include: in response to a sliding operation on the first interface, determining a first sliding animation sub-duration when the user's emotional state level is detected to be greater than a level threshold based on the information used to indicate the emotional state of the user using the terminal device; and determining a fourth sliding animation sub-duration when the cumulative duration used to indicate the use of the terminal device falls within a second cumulative duration range.
[0268] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: subtracting the reference sliding animation duration from the first sliding animation sub-duration, and then summing it with the fourth sliding sub-duration to obtain the target sliding animation duration;
[0269] or,
[0270] The step of determining the sliding animation sub-duration in response to a sliding operation on the first interface, based on the second target information, may include: in response to a sliding operation on the first interface, determining a second sliding animation sub-duration when the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device; and determining a third sliding animation sub-duration when the cumulative time used to indicate the use of the terminal device falls within a first cumulative time range.
[0271] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: subtracting the reference sliding animation duration from the second sliding animation sub-duration, and then summing the difference with the third sliding sub-duration to obtain the target sliding animation duration;
[0272] or,
[0273] The step of determining the sliding animation sub-duration in response to a sliding operation on the first interface, based on the second target information, may include: in response to a sliding operation on the first interface, determining a second sliding animation sub-duration when the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device; and determining a fourth sliding animation sub-duration when the cumulative time used to indicate the use of the terminal device falls within the second cumulative time range.
[0274] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: summing the reference sliding animation duration with the second sliding animation sub-duration, and then summing it with the fourth sliding sub-duration to obtain the target sliding animation duration.
[0275] For example, as shown in Table 14, a schematic illustration of determining the duration of a swiping animation based on the user's emotional state level and the cumulative duration of using the terminal device is as follows:
[0276]
[0277] Table 14
[0278] If the user's emotional state level is greater than the level threshold and the cumulative time spent using the terminal device is within the first cumulative time range, the target swipe animation duration = reference swipe animation duration - first swipe animation sub-duration - third swipe animation sub-duration;
[0279] If the user's emotional state level is greater than the level threshold and the cumulative time spent using the terminal device is within the second cumulative time range, the target swipe animation duration = reference swipe animation duration - first swipe animation sub-duration + fourth swipe animation sub-duration;
[0280] If the user's emotional state level is less than or equal to the level threshold, and the cumulative time spent using the terminal device is within the first cumulative time range, the target swipe animation duration = reference swipe animation duration + second swipe animation sub-duration - third swipe animation sub-duration;
[0281] If the user's emotional state level is less than or equal to the level threshold, and the cumulative time spent using the terminal device is within the second cumulative time range, the target swipe animation duration = reference swipe animation duration + second swipe animation sub-duration + fourth swipe animation sub-duration.
[0282] In this technical solution, the reference sliding animation duration can be adjusted by using information about the emotional state of the user using the terminal device and the cumulative duration of using the terminal device to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the terminal device and the user using the terminal device, so that the interface feedback of the sliding operation is more natural and smooth, and the user's visual experience can also be improved.
[0283] (7) The second target information includes the information used to indicate the emotional state of the user using the terminal device, and the information used to indicate the time period to which the current time of using the terminal device belongs; in some possible implementations of this application, the step of determining the sliding animation sub-duration in response to a sliding operation on the first interface according to the second target information may include: in response to a sliding operation on the first interface, if the user's emotional state level is detected to be greater than a level threshold according to the information used to indicate the emotional state of the user using the terminal device, determining a first sliding animation sub-duration, and if the time period to which the current time of using the terminal device belongs belongs to a rest period, determining a fifth sliding animation sub-duration;
[0284] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: subtracting the reference sliding animation duration from the first sliding animation sub-duration, and then subtracting it from the fifth sliding animation sub-duration to obtain the target sliding animation duration;
[0285] or,
[0286] The step of determining the sub-duration of the sliding animation based on the second target information in response to the sliding operation on the first interface may include: determining a first sub-duration of the sliding animation in response to the sliding operation on the first interface when the user's emotional state level is detected to be greater than a level threshold based on the information used to indicate the emotional state of the user using the terminal device; and determining a sixth sub-duration of the sliding animation when the time period to which the current time used to indicate the use of the terminal device belongs is a non-rest period.
[0287] The step of determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: subtracting the reference sliding animation duration from the first sliding animation sub-duration, and then summing it with the sixth sliding sub-duration to obtain the target sliding animation duration;
[0288] or,
[0289] The step of determining the sub-duration of the sliding animation based on the second target information in response to the sliding operation on the first interface may include: determining a second sub-duration of the sliding animation in response to the sliding operation on the first interface when the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device; and determining a fifth sub-duration of the sliding animation when the time period to which the current time used to indicate the use of the terminal device belongs is a rest period.
[0290] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: subtracting the reference sliding animation duration from the second sliding animation sub-duration, and then summing the difference with the fifth sliding sub-duration to obtain the target sliding animation duration;
[0291] or,
[0292] The step of determining the sub-duration of the sliding animation based on the second target information in response to the sliding operation on the first interface may include: determining a second sub-duration of the sliding animation in response to the sliding operation on the first interface when the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device; and determining a sixth sub-duration of the sliding animation when the time period to which the current time used to indicate the use of the terminal device belongs is a non-rest period.
[0293] Determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration may include: summing the reference sliding animation duration with the second sliding animation sub-duration, and then summing it with the sixth sliding sub-duration to obtain the target sliding animation duration.
[0294] For example, as shown in Table 15, a schematic illustration of determining the sub-duration of the swiping animation based on the user's emotional state level and the time period to which the current time of using the terminal device belongs is shown below:
[0295]
[0296] Table 15
[0297] When the user's emotional state level is greater than the level threshold, and the time period to which the user is currently using the terminal device belongs to a rest period, the target sliding animation duration = reference sliding animation duration - first sliding animation sub-duration - fifth sliding animation sub-duration;
[0298] If the user's emotional state level is greater than the level threshold, and the time period to which the user is currently using the terminal device is a non-rest period, the target sliding animation duration = reference sliding animation duration - first sliding animation sub-duration + sixth sliding animation sub-duration;
[0299] If the user's emotional state level is less than or equal to the level threshold, and the time period to which the user is currently using the terminal device belongs to a rest period, the target sliding animation duration = reference sliding animation duration + second sliding animation sub-duration - fifth sliding animation sub-duration;
[0300] If the user's emotional state level is less than or equal to the level threshold, and the time period to which the user is currently using the terminal device is a non-rest period, the target sliding animation duration = reference sliding animation duration + second sliding animation sub-duration + sixth sliding animation sub-duration.
[0301] In this technical solution, the reference sliding animation duration can be adjusted by using information about the emotional state of the user using the terminal device and the time period to which the current time of the terminal device belongs, so as to obtain the target sliding animation duration. This target sliding animation duration is more suitable for the terminal device and the user using the terminal device, so that the interface feedback of the sliding operation is more natural and smooth, and the user's visual experience can also be improved.
[0302] (8) The second target information includes the information used to indicate the emotional state of the user using the terminal device, and the information used to indicate the remaining battery power of the terminal device;
[0303] (9) The second target information includes the information used to indicate the emotional state of the user using the terminal device, and the information used to indicate the temperature of the user using the terminal device;
[0304] (10) The second target information includes the information used to indicate the cumulative duration of use of the terminal device, and the information used to indicate the time period to which the current time of use of the terminal device belongs;
[0305] (11) The second target information includes the information used to indicate the cumulative duration of use of the terminal device and the information used to indicate the remaining battery power of the terminal device;
[0306] (12) The second target information includes the information for indicating the cumulative duration of use of the terminal device and the information for indicating the temperature of use of the terminal device;
[0307] (13) The second target information includes the time period information used to indicate the current time of using the terminal device, and the information used to indicate the remaining battery power of the terminal device;
[0308] (14) The second target information includes the information of the time period to which the current time of using the terminal device belongs, and the information of the temperature of using the terminal device;
[0309] (15) The second target information includes the information used to indicate the remaining power of the terminal device and the information used to indicate the temperature of the terminal device.
[0310] (16) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the time period to which the current time of using the terminal device belongs;
[0311] (17) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the remaining battery power of the terminal device;
[0312] (18) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the temperature of using the terminal device;
[0313] (19) The second target information includes information for indicating the cumulative duration of use of the terminal device, information for indicating the time period to which the current time of use of the terminal device belongs, and information for indicating the remaining battery power of the terminal device;
[0314] (20) The second target information includes information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, and information for indicating the temperature of using the terminal device;
[0315] (21) The second target information includes information indicating the time period to which the current time of using the terminal device belongs, information indicating the remaining battery power of the terminal device, and information indicating the temperature of using the terminal device;
[0316] (22) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, and information for indicating the remaining battery power of the terminal device;
[0317] (23) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, and information for indicating the temperature of using the terminal device;
[0318] (24) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, information for indicating the remaining battery power of the terminal device, and information for indicating the temperature of using the terminal device.
[0319] It should be noted that in the above implementation methods (8)-(24), the determination of the sub-duration of the sliding animation and the duration of the target sliding animation can be referred to the explanation in (1)-(7) above, and will not be repeated here.
[0320] Implementation method 3: First determine the duration of the sliding animation, and then determine the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration, according to the first target information.
[0321] In some possible implementations of this application, the method may further include: determining the duration of a sliding animation in response to a sliding operation on the first interface;
[0322] The step of determining the target sliding animation duration based on the reference sliding animation duration may include: determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration according to second target information, wherein the second target information includes at least one of the following: information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, information for indicating the remaining battery power of the terminal device, and information for indicating the temperature of using the terminal device.
[0323] For example, after detecting a user's swipe operation on the first interface, the terminal device responds to the swipe operation by determining the swipe animation sub-duration, and then determines the target swipe animation duration based on the reference swipe animation duration and the swipe animation sub-duration, according to the second target information. That is, in this technical solution, the determination of the swipe animation sub-duration is independent of the second target information; as long as a user's swipe operation on the first interface is detected, a swipe animation sub-duration can be obtained, and then the target swipe animation duration is determined based on the second target information, the reference swipe animation duration, and the swipe animation sub-duration.
[0324] In this technical solution, another implementation method is provided to determine the target sliding animation duration based on the reference sliding animation duration. In response to the sliding operation on the first interface, the sliding animation sub-duration is determined. Then, based on the second target information, the determined reference sliding animation duration is adjusted so that the determined target sliding animation duration is more suitable for the terminal device and / or the user using the terminal device. As a result, the interface feedback of the sliding operation is more natural and smooth, which can also improve the user's visual experience.
[0325] (1) The second target information includes the information used to indicate the emotional state of the user using the terminal device; in some possible implementations of this application, determining the target sliding animation duration based on the second target information, the reference sliding animation duration, and the sliding animation sub-duration may include:
[0326] If, based on the information indicating the emotional state of a user using the terminal device, a user's emotional state level is detected to be greater than a level threshold, the difference between the reference swipe animation duration and the swipe animation sub-duration is determined as the target swipe animation duration; or,
[0327] If, based on the information used to indicate the emotional state of a user using the terminal device, it is detected that the user's emotional state level is less than or equal to the level threshold, the sum of the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0328] (2) The second target information includes the information used to indicate the cumulative duration of use of the terminal device; in some possible implementations of this application, determining the target sliding animation duration based on the second target information, the reference sliding animation duration, and the sliding animation sub-duration may include:
[0329] If the cumulative duration of the terminal device used to indicate usage falls within a first cumulative duration range, the difference between the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration; or,
[0330] If the cumulative duration of the terminal device used to indicate usage falls within the second cumulative duration range, the sum of the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0331] (3) The second target information includes the information of the time period to which the current time of using the terminal device belongs; in some possible implementations of this application, determining the target sliding animation duration based on the second target information, the reference sliding animation duration, and the sliding animation sub-duration may include:
[0332] If the time period used to indicate the current time of using the terminal device belongs to a rest period, the difference between the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration; or,
[0333] If the time period used to indicate the current time of using the terminal device belongs to a non-rest period, the sum of the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0334] (4) The second target information includes the information used to indicate the remaining battery power of the terminal device; in some possible implementations of this application, determining the target sliding animation duration based on the second target information, the reference sliding animation duration, and the sliding animation sub-duration may include:
[0335] When the indication used to indicate that the remaining battery power of the terminal device is greater than a remaining battery power threshold is given, the difference between the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration; or,
[0336] When the remaining battery power of the terminal device is less than or equal to the remaining battery power threshold, the sum of the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0337] (5) The second target information includes the information used to indicate the temperature of the terminal device; in some possible implementations of this application, determining the target sliding animation duration based on the second target information, the reference sliding animation duration, and the sliding animation sub-duration may include:
[0338] When the temperature used to indicate that the terminal device is used is less than or equal to a temperature threshold, the difference between the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration; or,
[0339] When the temperature used to indicate that the terminal device is at a temperature greater than the temperature threshold is used, the sum of the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0340] In the above technical solution, by including one of the following in the second target information: information indicating the emotional state of the user using the terminal device, information indicating the cumulative duration of using the terminal device, information indicating the time period to which the current time of using the terminal device belongs, information indicating the remaining battery power of the terminal device, and information indicating the temperature of the terminal device; based on the second target information, a specific explanation is provided on how to determine the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration, thereby improving the feasibility of the solution.
[0341] (6) The second target information includes the information used to indicate the emotional state of the user using the terminal device and the information used to indicate the cumulative duration of using the terminal device; in some possible implementations of this application, determining the target sliding animation duration based on the second target information, the reference sliding animation duration, and the sliding animation sub-duration may include:
[0342] If, based on the information indicating the emotional state of a user using the terminal device, it is detected that the user's emotional state level is greater than a level threshold, and if the cumulative duration of using the terminal device is within a first cumulative duration range, the difference between the reference sliding animation duration and twice the sliding animation sub-duration is determined as the target sliding animation duration; or, the difference between the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0343] If, based on the information indicating the emotional state of a user using the terminal device, the user's emotional state level is detected to be greater than a level threshold, and if the cumulative duration of the user using the terminal device is within a second cumulative duration range, the reference sliding animation duration is determined as the target sliding animation duration.
[0344] If, based on the information indicating the emotional state of a user using the terminal device, the user's emotional state level is detected to be less than or equal to a level threshold, and if the cumulative duration of the user using the terminal device is within a first cumulative duration range, the reference sliding animation duration is determined as the target sliding animation duration.
[0345] If, based on the information indicating the emotional state of a user using the terminal device, the user's emotional state level is detected to be less than or equal to a level threshold, and if the cumulative duration of the user using the terminal device is within a second cumulative duration range, the sum of the reference sliding animation duration and twice the sliding animation sub-duration is determined as the target sliding animation duration; or, the sum of the reference sliding animation duration and the sliding animation sub-duration is determined as the target sliding animation duration.
[0346] In this technical solution, the second target information includes the following two items: information indicating the emotional state of the user using the terminal device and information indicating the cumulative duration of using the terminal device. Based on the second target information, a specific explanation is provided on how to determine the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration, thereby improving the feasibility of the solution.
[0347] (7) The second target information includes the information used to indicate the emotional state of the user using the terminal device, and the information used to indicate the time period to which the current time of using the terminal device belongs;
[0348] (8) The second target information includes the information used to indicate the emotional state of the user using the terminal device, and the information used to indicate the remaining battery power of the terminal device;
[0349] (9) The second target information includes the information used to indicate the emotional state of the user using the terminal device, and the information used to indicate the temperature of the user using the terminal device;
[0350] (10) The second target information includes the information used to indicate the cumulative duration of use of the terminal device, and the information used to indicate the time period to which the current time of use of the terminal device belongs;
[0351] (11) The second target information includes the information used to indicate the cumulative duration of use of the terminal device and the information used to indicate the remaining battery power of the terminal device;
[0352] (12) The second target information includes the information for indicating the cumulative duration of use of the terminal device and the information for indicating the temperature of use of the terminal device;
[0353] (13) The second target information includes the time period information used to indicate the current time of using the terminal device, and the information used to indicate the remaining battery power of the terminal device;
[0354] (14) The second target information includes the information of the time period to which the current time of using the terminal device belongs, and the information of the temperature of using the terminal device;
[0355] (15) The second target information includes the information used to indicate the remaining power of the terminal device and the information used to indicate the temperature of the terminal device.
[0356] (16) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the time period to which the current time of using the terminal device belongs;
[0357] (17) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the remaining battery power of the terminal device;
[0358] (18) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the temperature of using the terminal device;
[0359] (19) The second target information includes information for indicating the cumulative duration of use of the terminal device, information for indicating the time period to which the current time of use of the terminal device belongs, and information for indicating the remaining battery power of the terminal device;
[0360] (20) The second target information includes information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, and information for indicating the temperature of using the terminal device;
[0361] (21) The second target information includes information indicating the time period to which the current time of using the terminal device belongs, information indicating the remaining battery power of the terminal device, and information indicating the temperature of using the terminal device;
[0362] (22) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, and information for indicating the remaining battery power of the terminal device;
[0363] (23) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, and information for indicating the temperature of using the terminal device;
[0364] (24) The second target information includes information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, information for indicating the time period to which the current time of using the terminal device belongs, information for indicating the remaining battery power of the terminal device, and information for indicating the temperature of using the terminal device.
[0365] It should be noted that in the above implementation of (7)-(24), the target sliding animation duration is determined based on the second target information, the reference sliding animation duration and the sliding animation sub-duration. This can be referred to in the explanation in (1)-(6) above, and will not be repeated here.
[0366] 202. Display the interface after the sliding operation is completed according to the target sliding animation duration.
[0367] For example, after determining the target sliding animation duration for the sliding operation in response to a sliding operation on the first interface, the interface after the sliding operation is completed can be displayed according to the target sliding animation duration.
[0368] This application provides a dynamic decision-making method for the duration of a swiping animation based on user biometrics and the device performance of the terminal device. In response to a swiping operation on a first interface, a target swiping animation duration is determined for the swiping operation. The interface after the swiping operation is completed is displayed according to the target swiping animation duration. Because the target swiping animation duration is determined based on first target information, it can be intelligently adjusted according to the first target information, resulting in smoother swiping feedback and adaptability to different terminal devices and different users.
[0369] like Figure 4 The diagram shown is a schematic representation of another embodiment of the interface display method in this application, which may include:
[0370] 401. In response to a swipe operation on the first interface, determine the target swipe animation duration for the swipe operation.
[0371] It should be noted that step 401 in the embodiments of this application is different from... Figure 2 Step 201 in the illustrated embodiment is similar and will not be repeated here.
[0372] 402. Display the duration of the target sliding animation.
[0373] For example, after determining the target sliding animation duration for the sliding operation in response to a sliding operation on the first interface, the target sliding animation duration can be displayed so that the user can modify the target sliding animation duration.
[0374] 403. In response to the modification operation of the target sliding animation duration, display the modified target sliding animation duration.
[0375] For example, if a user wants to modify the target swipe animation duration, they can do so. The terminal device, in response to the modification, displays the modified target swipe animation duration. Then, a save operation can be performed, implicitly displaying the modified target swipe animation duration. Subsequently, the interface after the swipe operation can be displayed based on the modified target swipe animation duration.
[0376] 404. In response to the save operation of the modified target sliding animation duration, the modified target sliding animation duration is implicitly displayed.
[0377] The modified target sliding animation duration is used to display the interface after the sliding operation is completed.
[0378] 405. Display the interface after the sliding operation is completed according to the modified target sliding animation duration.
[0379] like Figure 5 The image shown is a schematic diagram illustrating the interface after a swipe operation is completed, as described in an embodiment of this application. Figure 5 As shown, in response to a swipe operation on the first interface, the target swipe animation duration is determined and displayed. The user can then modify the target swipe animation duration and save the modification. After saving, the terminal device can display the interface after the swipe operation is completed based on the modified target swipe animation duration.
[0380] This application provides a dynamic decision-making method for the duration of a swiping animation based on user biometrics and the device performance of a terminal device. In response to a swiping operation on a first interface, a target swiping animation duration is determined; the target swiping animation duration is displayed; in response to a modification operation of the target swiping animation duration, the modified target swiping animation duration is displayed; in response to a save operation of the modified target swiping animation duration, the modified target swiping animation duration is hidden; and the interface after the swiping operation is completed is displayed according to the modified target swiping animation duration. The obtained target swiping animation duration can also be modified according to the user's actual needs to provide better interface feedback during swiping operations, making the swiping feedback smoother, adaptable to different terminal devices and different users, and increasing the probability of the user viewing the terminal device interface.
[0381] like Figure 6 The diagram shown is a schematic representation of an embodiment of the interface display device in this application, which may include:
[0382] Processing module 601 is configured to determine the target sliding animation duration for the sliding operation in response to a sliding operation on the first interface;
[0383] Display module 602 is used to display the interface after the sliding operation is completed according to the duration of the target sliding animation;
[0384] The duration of the target sliding animation is determined based on first target information, which includes at least one of the following:
[0385] Information used to indicate the attributes of a terminal device;
[0386] Information used to indicate the age group to which the user of the terminal device belongs;
[0387] Information used to indicate the health status of users using the terminal device.
[0388] In some possible implementations of this application, the processing module 601 is further configured to, in response to a setting operation on the settings interface, obtain the first target information; and determine the reference sliding animation duration based on the first target information;
[0389] The processing module 601 is specifically used to respond to a sliding operation on the first interface and determine the target sliding animation duration based on the reference sliding animation duration.
[0390] In some possible implementations of this application, the processing module 601 is specifically used to, in response to a sliding operation on the first interface, acquire the first target information; determine the reference sliding animation duration based on the first target information; and determine the target sliding animation duration based on the reference sliding animation duration.
[0391] In some possible implementations of this application, the processing module 601 is specifically used to use the reference sliding animation duration as the target sliding animation duration.
[0392] In some possible implementations of this application, the processing module 601 is further configured to, in response to a sliding operation on the first interface, determine the sub-duration of the sliding animation based on second target information, wherein the second target information includes at least one of the following: information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the time period to which the current time of using the terminal device belongs;
[0393] The processing module 601 is specifically used to determine the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration.
[0394] In some possible implementations of this application, the second target information includes the information used to indicate the emotional state of the user using the terminal device;
[0395] Processing module 601 is specifically configured to respond to a swipe operation on the first interface, and, if it detects that the user's emotional state level is greater than a level threshold based on the information indicating the user's emotional state when using the terminal device, determine the swipe animation sub-duration as a first swipe animation sub-duration; determine the difference between the reference swipe animation duration and the first swipe animation sub-duration as the target swipe animation duration; or,
[0396] The processing module 601 is specifically configured to respond to a swipe operation on the first interface, and when it is detected that the user's emotional state level is less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device, determine the swipe animation sub-duration as the second swipe animation sub-duration; and determine the sum of the reference swipe animation duration and the second swipe animation sub-duration as the target swipe animation duration.
[0397] In some possible implementations of this application, the second target information includes the information used to indicate the cumulative duration of use of the terminal device;
[0398] Processing module 601 is specifically configured to, in response to a swipe operation on the first interface, determine the swipe animation sub-duration as a third swipe animation sub-duration if the cumulative duration of the indicated use of the terminal device falls within a first cumulative duration range; determine the difference between the reference swipe animation duration and the third swipe animation sub-duration as the target swipe animation duration; or,
[0399] Processing module 601 is specifically configured to respond to a swipe operation on the first interface, and, if the cumulative duration of the indicated use of the terminal device falls within a second cumulative duration range, determine the swipe animation sub-duration as a fourth swipe animation sub-duration; and determine the sum of the reference swipe animation duration and the fourth swipe animation sub-duration as the target swipe animation duration.
[0400] Wherein, the upper limit of the first cumulative duration range is less than or equal to the lower limit of the second cumulative duration range.
[0401] In some possible implementations of this application, the second target information includes the information to which the current time of using the terminal device belongs;
[0402] Processing module 601 is specifically configured to, in response to a swipe operation on the first interface, determine the swipe animation sub-duration as the fifth swipe animation sub-duration when the time period indicating the current time of using the terminal device belongs to a rest period; determine the difference between the reference swipe animation duration and the fifth swipe animation sub-duration as the target swipe animation duration; or,
[0403] The processing module 601 is specifically configured to respond to a swipe operation on the first interface, and when the time period used to indicate the use of the terminal device is a non-rest period, determine the swipe animation sub-duration as the sixth swipe animation sub-duration; and determine the sum of the reference swipe animation duration and the sixth swipe animation sub-duration as the target swipe animation duration.
[0404] In some possible implementations of this application, the first target information includes the information used to indicate the attributes of the terminal device, and the attribute information of the terminal device includes the model of the terminal device;
[0405] The processing module 601 is specifically configured to determine the reference sliding animation duration as a first sliding animation duration when the terminal device is a first model; and to determine the reference sliding animation duration as a second sliding animation duration when the terminal device is a second model; wherein the performance of the first model is better than that of the second model, and the first sliding animation duration is less than the second sliding animation duration.
[0406] In some possible implementations of this application, the first target information includes the information used to indicate the age group to which the user using the terminal device belongs;
[0407] The processing module 601 is specifically configured to: determine the reference sliding animation duration as a third sliding animation duration when the user of the terminal device is indicated to belong to a first age group; and determine the reference sliding animation duration as a fourth sliding animation duration when the user of the terminal device is indicated to belong to a second age group; wherein the average age of the first age group is less than the average age of the second age group, and the third sliding animation duration is less than the fourth sliding animation duration.
[0408] In some possible implementations of this application, the first target information includes the information used to indicate the health status of the user using the terminal device;
[0409] The processing module 601 is specifically configured to: determine the reference sliding animation duration as the fifth sliding animation duration when, based on the information used to indicate the health status of the user using the terminal device, the user's health status level is greater than a health level threshold; and determine the reference sliding animation duration as the sixth sliding animation duration when, based on the information used to indicate the health status of the user using the terminal device, the user's health status level is less than or equal to the health level threshold; wherein the fifth sliding animation duration is less than the sixth sliding animation duration.
[0410] In some possible implementations of this application, the first target information includes the information for indicating the attributes of the terminal device and the information for indicating the age group to which the user of the terminal device belongs, wherein the attribute information of the terminal device includes the model of the terminal device;
[0411] The processing module 601 is specifically configured to: determine the reference sliding animation duration as a seventh sliding animation duration when the terminal device model is a first model and the user's age group belongs to a first age group; determine the reference sliding animation duration as an eighth sliding animation duration when the terminal device model is the first model and the user's current age group belongs to a second age group; determine the reference sliding animation duration as the eighth sliding animation duration when the terminal device model is a second model and the user's age group belongs to a first age group; and determine the reference sliding animation duration as a ninth sliding animation duration when the terminal device model is a second model and the user's age group belongs to a second age group; wherein the performance of the first model is superior to that of the second model; the average age of the first age group is less than the average age of the second age group; the seventh sliding animation duration is less than the eighth sliding animation duration, and the eighth sliding animation duration is less than the ninth sliding animation duration.
[0412] In some possible implementations of this application, the first target information includes the information for indicating the attributes of the terminal device and the information for indicating the age group to which the user of the terminal device belongs, wherein the attribute information of the terminal device includes the model of the terminal device;
[0413] Processing module 601 is specifically configured to: 1) determine the reference sliding animation duration as the tenth sliding animation duration when the terminal device is a third type of device and the user's age group belongs to the fourth age group; 2) determine the reference sliding animation duration as the eleventh sliding animation duration when the terminal device is a third type of device and the user's age group belongs to the third age group; and 3) determine the reference sliding animation duration as the eleventh sliding animation duration when the terminal device is a third type of device and the user's age group belongs to the fifth age group. The duration of the twelfth sliding animation is determined as follows: If the terminal device is a fourth type of device and the age group of the user using the terminal device belongs to the fourth age group, the reference sliding animation duration is determined as the eleventh sliding animation duration; if the terminal device is a fourth type of device and the age group of the user using the terminal device belongs to the third age group, the reference sliding animation duration is determined as the twelfth sliding animation duration; if the terminal device is a fourth type of device and the age group of the user using the terminal device belongs to the fifth age group, the duration of the eleventh sliding animation is determined as follows: The reference sliding animation duration is determined to be the thirteenth sliding animation duration; if the terminal device model is the fifth model and the age group used to indicate the user of the terminal device belongs to the fourth age group, the reference sliding animation duration is determined to be the twelfth sliding animation duration; if the terminal device model is the fifth model and the age group used to indicate the user of the terminal device belongs to the third age group, the reference sliding animation duration is determined to be the thirteenth sliding animation duration; if the terminal device model is the fifth model and the age group used to indicate the user of the terminal device belongs to the fourth age group, the reference sliding animation duration is determined to be the thirteenth sliding animation duration; if the terminal device model is the fifth model and the age group used to indicate the user of the terminal device belongs to the fourth age group, the reference sliding animation duration is determined to be the thirteenth sliding animation duration. In the case of five age groups, the reference sliding animation duration is determined to be the fourteenth sliding animation duration; wherein, the performance of the third model is better than that of the fourth model, and the performance of the fourth model is better than that of the fifth model; the average age of the fourth age group is greater than the average age of the third age group, and the average age of the fifth age group is less than the average age of the fourth age group; the tenth sliding animation duration is less than the eleventh sliding animation duration, the eleventh sliding animation duration is less than the twelfth sliding animation duration, the twelfth sliding animation duration is less than the thirteenth sliding animation duration, and the thirteenth sliding animation duration is less than the fourteenth sliding animation duration.
[0414] like Figure 7 The diagram shown is a schematic representation of an embodiment of the terminal device described in this application, which may include, for example: Figure 6 The interface shown is the device.
[0415] like Figure 8 The diagram shown is a schematic diagram of another embodiment of the terminal device in this application. The following is in conjunction with... Figure 8 A detailed introduction to the various components of a mobile phone in a terminal device:
[0416] RF circuit 810 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with processor 880; additionally, it transmits uplink data to the base station. Typically, RF circuit 810 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc. Furthermore, RF circuit 810 can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0417] The memory 820 can be used to store software programs and modules. The processor 880 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 820. The memory 820 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 820 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0418] The input unit 830 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 831), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel 831 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 880, and can also receive and execute commands sent by the processor 880. In addition, the touch panel 831 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831, the input unit 830 may also include other input devices 832. Specifically, other input devices 832 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.
[0419] The display unit 840 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 840 may include a display panel 841, which may optionally be configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display. Further, a touch panel 831 may cover the display panel 841. When the touch panel 831 detects a touch operation on or near it, it transmits the information to the processor 880 to determine the type of touch event. Subsequently, the processor 880 provides corresponding visual output on the display panel 841 based on the type of touch event. Although in Figure 8 In this embodiment, the touch panel 831 and the display panel 841 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 831 and the display panel 841 can be integrated to realize the input and output functions of the mobile phone.
[0420] The mobile phone may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 841 according to the ambient light level, and the proximity sensor can turn off the display panel 841 and / or backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, which can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, taps), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.
[0421] Audio circuit 860, speaker 861, and microphone 862 provide an audio interface between the user and the mobile phone. Audio circuit 860 converts received audio data into electrical signals and transmits them to speaker 861, where speaker 861 converts them into sound signals for output. On the other hand, microphone 862 converts collected sound signals into electrical signals, which are received by audio circuit 860, converted into audio data, and then output to processor 880 for processing. The audio data is then transmitted via RF circuit 810 to, for example, another mobile phone, or output to memory 820 for further processing.
[0422] Wi-Fi is a short-range wireless transmission technology. Through the Wi-Fi module 870, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 8 The Wi-Fi module 870 is shown, but it is understood that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0423] The processor 880 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It executes software programs and / or modules stored in the memory 820, and calls data stored in the memory 820 to perform various functions and process data, thereby providing overall monitoring of the phone. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 880.
[0424] The mobile phone also includes a power supply 890 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 880 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0425] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.
[0426] In this embodiment of the application, the processor 880 is configured to determine the target sliding animation duration for the sliding operation in response to a sliding operation on a first interface;
[0427] Display unit 840 is used to display the interface after the sliding operation is completed according to the duration of the target sliding animation.
[0428] The duration of the target sliding animation is determined based on first target information, which includes at least one of the following:
[0429] Information used to indicate the attributes of a terminal device;
[0430] Information used to indicate the age group to which the user of the terminal device belongs;
[0431] Information used to indicate the health status of users using the terminal device.
[0432] It should be noted that, Figure 8 The terminal device shown can perform the above... Figure 6 The steps performed by the device shown in the interface will not be described in detail here.
[0433] This application embodiment further provides a computer-readable storage medium storing computer instructions that, when executed on a terminal device, cause the terminal device to perform the above-described method embodiment.
[0434] The aforementioned computer-readable storage medium may take the form of any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0435] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0436] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.
[0437] Computer program code for performing the operations described herein can be written in one or more programming languages or a combination thereof, including resource-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0438] This application also provides a computer program product that, when run on a computer, causes the computer to perform some or all of the steps described in the method embodiments above.
[0439] This application provides a chip system including a processor and potentially a memory, for implementing the functions of the terminal device described in the aforementioned method. The chip system may be composed of chips or may include chips and other discrete components.
[0440] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0441] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0442] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0443] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0444] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0445] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.< / videoview> < / imgview> < / textview>
Claims
1. A method for displaying an interface, characterized in that, include: In response to a swipe operation on the first interface, determine the target swipe animation duration for the swipe operation; The interface after the sliding operation is completed is displayed according to the target sliding animation duration; The duration of the target sliding animation is determined based on first target information, which includes at least one of the following: Information used to indicate the attributes of a terminal device; Information used to indicate the age group to which the user of the terminal device belongs; Information used to indicate the health status of users using the terminal device.
2. The method according to claim 1, characterized in that, Before determining the target sliding animation duration for the sliding operation in response to a sliding operation on the first interface, the method further includes: In response to a setting operation on the settings interface, the first target information is obtained; Based on the first target information, determine the reference sliding animation duration; The step of determining the target sliding animation duration in response to a sliding operation on the first interface includes: In response to a swipe operation on the first interface, the target swipe animation duration is determined based on the reference swipe animation duration.
3. The method according to claim 1, characterized in that, The step of determining the target sliding animation duration in response to a sliding operation on the first interface includes: In response to a swipe operation on the first interface, the first target information is obtained; Based on the first target information, determine the reference sliding animation duration; The target sliding animation duration is determined based on the reference sliding animation duration.
4. The method according to claim 2 or 3, characterized in that, Determining the target sliding animation duration based on the reference sliding animation duration includes: The reference sliding animation duration is used as the target sliding animation duration.
5. The method according to claim 2 or 3, characterized in that, The method further includes: In response to a swipe operation on the first interface, the swipe animation sub-duration is determined based on second target information, the second target information including at least one of the following: information for indicating the emotional state of the user using the terminal device, information for indicating the cumulative duration of using the terminal device, and information for indicating the time period to which the current time of using the terminal device belongs; Determining the target sliding animation duration based on the reference sliding animation duration includes: The target sliding animation duration is determined based on the reference sliding animation duration and the sliding animation sub-duration.
6. The method according to claim 5, characterized in that, The second target information includes the information used to indicate the emotional state of the user using the terminal device; The step of responding to a swipe operation on the first interface and determining the swipe animation sub-duration based on the second target information includes: In response to a swipe operation on the first interface, if the user's emotional state level is detected to be greater than a level threshold based on the information used to indicate the emotional state of the user using the terminal device, the swipe animation sub-duration is determined to be a first swipe animation sub-duration. or, In response to a swipe operation on the first interface, if the user's emotional state level is detected to be less than or equal to the level threshold based on the information used to indicate the emotional state of the user using the terminal device, the swipe animation sub-duration is determined to be a second swipe animation sub-duration. The step of determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration includes: The difference between the reference sliding animation duration and the first sliding animation sub-duration is determined as the target sliding animation duration; or, The sum of the reference sliding animation duration and the second sliding animation sub-duration is determined as the target sliding animation duration.
7. The method according to claim 5, characterized in that, The second target information includes the information used to indicate the cumulative duration of use of the terminal device; the step of determining the sub-duration of the sliding animation based on the second target information in response to a sliding operation on the first interface includes: In response to a swipe operation on the first interface, if the cumulative duration of the indicated usage time of the terminal device falls within a first cumulative duration range, the swipe animation sub-duration is determined to be a third swipe animation sub-duration; or, In response to a swipe operation on the first interface, if the cumulative duration of the indicated use of the terminal device falls within a second cumulative duration range, the swipe animation sub-duration is determined to be a fourth swipe animation sub-duration. The step of determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration includes: The difference between the reference sliding animation duration and the third sliding animation sub-duration is determined as the target sliding animation duration; or, The sum of the reference sliding animation duration and the fourth sliding animation sub-duration is determined as the target sliding animation duration; Wherein, the upper limit of the first cumulative duration range is less than or equal to the lower limit of the second cumulative duration range.
8. The method according to claim 5, characterized in that, The second target information includes information indicating the time period to which the current time of using the terminal device belongs; the step of determining the sub-duration of the sliding animation based on the second target information in response to a sliding operation on the first interface includes: In response to a swipe operation on the first interface, if the time period used to indicate the current time of using the terminal device belongs to a rest period, the swipe animation sub-duration is determined to be the fifth swipe animation sub-duration; or, In response to a swipe operation on the first interface, if the time period to which the indication of the current time of using the terminal device belongs is a non-rest period, the swipe animation sub-duration is determined to be the sixth swipe animation sub-duration. The step of determining the target sliding animation duration based on the reference sliding animation duration and the sliding animation sub-duration includes: The difference between the reference sliding animation duration and the fifth sliding animation sub-duration is determined as the target sliding animation duration; or, The sum of the reference sliding animation duration and the sixth sliding animation sub-duration is determined as the target sliding animation duration.
9. The method according to claim 2 or 3, characterized in that, The first target information includes the information used to indicate the attributes of the terminal device, wherein the attribute information of the terminal device includes the model of the terminal device; determining the reference sliding animation duration based on the first target information includes: If the terminal device is a first type of device, the reference sliding animation duration is determined to be the first sliding animation duration. If the terminal device is of the second type, the reference sliding animation duration is determined to be the second sliding animation duration. The performance of the first model is better than that of the second model, and the duration of the first sliding animation is shorter than that of the second sliding animation.
10. The method according to claim 2 or 3, characterized in that, The first target information includes the information used to indicate the age group to which the user using the terminal device belongs; determining the reference sliding animation duration based on the first target information includes: In the case where the age group of the user using the terminal device belongs to the first age group, the reference sliding animation duration is determined to be the third sliding animation duration; In the case where the age group of the user using the terminal device belongs to the second age group, the reference sliding animation duration is determined to be the fourth sliding animation duration; The average age of the first age group is less than the average age of the second age group, and the duration of the third sliding animation is less than the duration of the fourth sliding animation.
11. The method according to claim 2 or 3, characterized in that, The first target information includes the information used to indicate the health status of the user using the terminal device; determining the reference sliding animation duration based on the first target information includes: If, based on the information used to indicate the health status of a user using the terminal device, it is determined that the user's health status level is greater than a health status threshold, the reference sliding animation duration is determined to be the fifth sliding animation duration. If, based on the information used to indicate the health status of a user using the terminal device, it is determined that the user's health status level is less than or equal to the health status threshold, the reference sliding animation duration is determined to be the sixth sliding animation duration. The duration of the fifth sliding animation is shorter than the duration of the sixth sliding animation.
12. The method according to claim 2 or 3, characterized in that, The first target information includes the information used to indicate the attributes of the terminal device and the information used to indicate the age group to which the user of the terminal device belongs, wherein the attribute information of the terminal device includes the model of the terminal device; The step of determining the reference sliding animation duration based on the first target information includes: If the terminal device is a first type of device and the age group of the user using the terminal device belongs to the first age group, the reference sliding animation duration is determined to be the seventh sliding animation duration. If the terminal device is of the first type and the user of the terminal device is of the second age group, the reference sliding animation duration is determined to be the eighth sliding animation duration. If the terminal device is a second type of device and the age group of the user using the terminal device belongs to the first age group, the reference sliding animation duration is determined to be the eighth sliding animation duration. If the terminal device is of the second type and the age group of the user using the terminal device belongs to the second age group, the reference sliding animation duration is determined to be the ninth sliding animation duration. The performance of the first model is superior to that of the second model; The average age of the first age group is less than the average age of the second age group; The duration of the seventh sliding animation is less than the duration of the eighth sliding animation, and the duration of the eighth sliding animation is less than the duration of the ninth sliding animation.
13. A device for displaying an interface, characterized in that, include: The processing module is configured to respond to a swipe operation on the first interface and determine the target swipe animation duration for the swipe operation. The display module is used to display the interface after the sliding operation is completed according to the duration of the target sliding animation. The duration of the target sliding animation is determined based on first target information, which includes at least one of the following: Information used to indicate the attributes of a terminal device; Information used to indicate the age group to which the user of the terminal device belongs; Information used to indicate the health status of users using the terminal device.
14. A terminal device, characterized in that, include: The terminal device includes a memory, a processor, and a display, wherein the memory stores a computer program that can run on the processor, and the terminal device executes the program to implement the method of any one of claims 1-12.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-12.
16. A computer program product having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-12.