Icon jitter control method and device, terminal and medium

By calculating the initial random radian and preset waveform of the icon, combining the icon size and the number of jitters, the diversification and differentiation of icon jitters are achieved, and the problem of single icon jitter effects is solved and the user interaction experience is improved.

CN120371179APending Publication Date: 2025-07-25CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510540637.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The existing icon jitter effect is single, lacking a sense of layering and staggering, affecting the user's interactive experience.

Method used

By calculating the initial random radian of the icon, the current number of jitters and the preset waveform, the target rotation angle and target displacement are determined, and the real-world object movement law is simulated by combining the icon size and the current number of jitters, to achieve diversification and differentiation of icon jitters.

Benefits of technology

It improves the layering and staggering sense of icon jitter, meets users' functional needs for dynamic changes, and improves user interaction experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120371179A_ABST
    Figure CN120371179A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of icon control, and discloses an icon jitter control method and device, a terminal and a medium, and the method comprises the following steps: determining an icon to be jittered; obtaining the icon size, the current number of times of jittering and the initial random radian of the icon to be jittered; and calculating a target rotation angle and a target displacement of the to-be-shaken icon based on the icon size, the current shaken times, the initial random radian and the preset waveform, and controlling the to-be-shaken icon to shake based on the target rotation angle and the target displacement. According to the method, the initial random radian is utilized to enable each icon to have a unique initial state at the beginning of jittering, meanwhile, in order to adapt to the attributes of different icons, different sizes of the icons are combined to enable the icons to present different jittering expressions under the same jittering mechanism, and the situation that the jittering states of the icons are continuously changed along with the advancing of the jittering process is also considered, so that the jittering performance of the icons is improved. The current jittering times of the icon are utilized to simulate the motion change rule of an object in the real world, so that the icon jittering is more real and natural, and diversified and differentiated jittering effects are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of icon control, and particularly to an icon jitter control method, device, terminal and medium. Background Art

[0002] With the rapid development of information technology, the functions of existing terminal devices are becoming more and more powerful. For example, various icons are added to the desktop system of in-vehicle terminals. When users operate the icons, corresponding jitter methods are often set to increase the fun and thus improve the user interaction experience. However, traditional icon jitters are mostly fixed-angle rotations or simple displacements, and the actions of adjacent icons are the same, lacking a sense of hierarchy, resulting in a single jitter effect, which is difficult to meet the user's functional requirements for dynamic changes and seriously affects the user interaction experience. Summary of the Invention

[0003] In view of this, the present invention provides an icon jitter control method, device, terminal and medium to solve the problem that the lack of hierarchy and stagger in icon jitter due to the single jitter effect of existing different icons in the above technical background, which seriously affects the user interaction experience.

[0004] In a first aspect, the present invention provides an icon jitter control method, which includes:

[0005] Determine the icon to be jittered;

[0006] Obtain the icon size, the current number of jitters and the initial random radian of the icon to be jittered;

[0007] Based on the icon size, the current number of jitters, the initial random radian and a preset waveform, calculate the target rotation angle and target displacement of the icon to be jittered, and control the icon to be jittered to jitter based on the target rotation angle and target displacement.

[0008] The icon jitter control method of the present invention makes the icon have a unique starting state at the beginning of jitter using the initial random radian of the icon to be jittered. At the same time, to adapt to the own attributes of different icons, combined with the different sizes of the icons to be jittered, it makes the icons show different jitter performances under the same jitter mechanism. It also takes into account that as the jitter process progresses, the jitter state of the icon will constantly change, and uses the current number of jitters of the icon to be jittered to simulate the attenuation or change law of the movement of objects in the real world, so that the icon jitter is more natural and realistic. And by accurately calculating the jitter parameters of the target rotation angle and target displacement according to the actual situation of the icon to be jittered, it can effectively avoid unnecessary calculations and resource waste, further optimize resource utilization and performance, realize the hierarchy and stagger of icon jitter, achieve a diverse and different jitter effect, and thus meet the user's functional requirements for dynamic changes and greatly improve the user interaction experience.

[0009] In an alternative embodiment, calculating a target rotation angle and a target displacement of the icon to be jittered based on the icon size, the current number of jitters, the initial random radian, and a preset waveform includes:

[0010] Multiply the current number of jitters by a preset radian to obtain an accumulated radian;

[0011] Add the initial random radian to the accumulated radian to obtain a current radian parameter;

[0012] Determine the waveform amplitude corresponding to the current radian parameter in the preset waveform;

[0013] Determine the target rotation angle based on the icon size and the waveform amplitude, and determine the target displacement based on the waveform amplitude.

[0014] The present invention uses the initial random radian to enable each icon to have a unique starting state at the beginning of jittering. At the same time, by combining the icon size and the current number of jitters, it further enables different icons to present different and realistic jitter performances under the same jitter mechanism, effectively improving the icon jitter effect, achieving diversified and differentiated jitter effects, and contributing to enhancing the user interaction experience.

[0015] In an alternative embodiment, the preset waveform includes a first preset waveform and a second preset waveform, where the first preset waveform is related to the horizontal displacement and the second preset waveform is related to the vertical displacement; determining the waveform amplitude corresponding to the current radian parameter in the preset waveform includes:

[0016] Respectively determine a first waveform amplitude corresponding to the current radian parameter in the first preset waveform and a second waveform amplitude corresponding to the current radian parameter in the second preset waveform;

[0017] Determine the target rotation angle based on the icon size and the first waveform amplitude or the second waveform amplitude;

[0018] Determine the horizontal displacement based on the first waveform amplitude, determine the vertical displacement based on the second waveform amplitude, and determine the target displacement based on the horizontal displacement and the vertical displacement.

[0019] The present invention further optimizes the staggering feeling of icon jitter by designing different waveforms to increase the difference in jitter of each icon, that is, using different waveforms to obtain more random target rotation angles and target displacements, so that the actions of adjacent icons are inconsistent, thereby achieving a more diverse and different jitter effect, greatly meeting the user's functional requirements for dynamic changes, and enhancing the user interaction experience.

[0020] In an alternative embodiment, before controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement, the icon jitter control method further includes:

[0021] Determine whether the current number of jitter times is 0, and / or determine whether the initial rotation center of the icon to be jittered is the same as the current rotation center;

[0022] When the current number of jitter times is not 0, and / or the initial rotation center of the icon to be jittered is different from the current rotation center, obtain the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement of the icon to be jittered; update the target rotation angle and the target displacement based on the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement, and use the updated target rotation angle and the updated target displacement to control the icon to be jittered to jitter;

[0023] When the current number of jitter times is 0, and / or the current rotation center is the same as the initial rotation center, perform the step of controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement.

[0024] Through the dual determination mechanism of designing whether the current number of jitter times of the icon to be jittered is the first jitter and whether the current rotation center is the initial rotation center, the present invention can not only accurately determine whether the current jitter situation is the first jitter, but also take into account the continuous change of the jitter state of the icon during multiple jitters, update the current jitter parameters based on the previous jitter parameters, make the calculation of the current jitter parameters more accurate, and thus make the icon jitter more natural and realistic.

[0025] In an alternative embodiment, updating the target rotation angle and the target displacement based on the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement includes:

[0026] Subtract the previous rotation angle from the current rotation angle to obtain the initial rotation angle, and add the initial rotation angle to the target rotation angle to obtain the updated target rotation angle;

[0027] Subtract the previous displacement from the current displacement to obtain the initial displacement, and add the initial displacement to the target displacement to obtain the updated target displacement.

[0028] When the current jitter of the icon to be jittered is not the first icon jitter, the present invention uses the rotation angle and displacement of the previous icon jitter to update the target rotation angle and the target displacement, which can ensure the accuracy of the target rotation angle and the target displacement, and thus improve the precise control of the icon to be jittered.

[0029] In an alternative embodiment, the icon to be jittered is at least one icon on the user interface currently displayed on the terminal; determining the icon to be jittered includes:

[0030] Real-time detect whether there is a preset user operation on the user interface, and the preset user operation at least includes long pressing, clicking, and sliding the icon;

[0031] If it exists, determine the icon to be jittered according to a preset user operation;

[0032] Among them, when the preset user operation is to long-press an icon and the operation time of long-pressing the icon exceeds a preset time threshold, the icon to be jittered is all the icons on the user interface;

[0033] When the preset user operation is to click an icon or slide an icon, the icon to be jittered is the operated icon corresponding to the user interface, or the icon to be jittered is several icons associated with the operated icon corresponding to the user interface.

[0034] By designing the association between various user operations and the number of icons to be jittered, the present invention can adapt to different scenarios and requirements, that is, the current icon jitter effect of the user interface can be determined according to different application scenarios, design styles and user requirements, and has the advantages of flexible and diverse operations.

[0035] In an alternative embodiment, the icon to be jittered is at least one icon on the user interface currently displayed on the terminal, and at least one preset virtual button is configured on the user interface. The preset virtual button includes a start jitter button for a single icon and a one-key jitter button for all icons; determining the icon to be jittered further includes:

[0036] Real-time detect whether a preset virtual button is triggered on the user interface;

[0037] If triggered, determine the icon to be jittered according to the preset virtual button;

[0038] Among them, when the preset virtual button is the start jitter button for a single icon, the icon to be jittered is the triggered icon corresponding to the start jitter button;

[0039] When the preset virtual button is the one-key jitter button for all icons, the icon to be jittered is all the icons on the user interface.

[0040] By designing the association between various virtual buttons and the number of icons to be jittered, the present invention can determine the current icon jitter effect of the user interface according to different application scenarios, design styles and user requirements, and has the advantages of convenient, flexible and diverse control.

[0041] In an alternative embodiment, during the process of controlling the icon to be jittered to jitter based on the target rotation angle and target displacement, the icon jitter control method further includes:

[0042] Detect whether there is a preset icon operation on the icon to be jittered;

[0043] When the number of icons to be jittered is 1 and there is a preset icon operation, control the icon to be jittered to stop jittering, and control the icon to be jittered to execute the preset icon operation;

[0044] When the number of icons to be jittered is greater than 1, screen out target icons with preset icon operations from the icons to be jittered, control the target icons to stop jittering and execute the preset icon operations, and control the other icons among the icons to be jittered to continue jittering.

[0045] When the present invention controls an icon to be jittered to jitter, it also detects in real time whether there are other operations with a processing priority higher than that of the icon jitter. If so, it promptly responds to the icon operation with a higher processing priority, and at the same time aborts the current icon jitter, which can further optimize various operations on the icon to make it more in line with the actual situation and help meet the user's interaction experience.

[0046] In a second aspect, the present invention provides an icon jitter control device, which includes:

[0047] A determination module, configured to determine the icons to be jittered;

[0048] An acquisition module, configured to acquire the icon size, the current number of jitters, and the initial random radian of the icons to be jittered;

[0049] A jitter module, configured to calculate the target rotation angle and the target displacement of the icons to be jittered based on the icon size, the current number of jitters, the initial random radian, and a preset waveform, and control the icons to be jittered to jitter based on the target rotation angle and the target displacement.

[0050] The icon jitter control device of the present invention, based on the initial random radian of the icons to be jittered, enables the icon to have a unique starting state at the beginning of jitter. At the same time, combined with the different sizes of the icons to be jittered, it presents different jitter performances under the same jitter mechanism. Considering the continuous change of the icon jitter state, it uses the current number of jitters of the icons to be jittered to simulate the change law of the movement of objects in the real world, thereby making the icon jitter more natural and real. And by accurately calculating the jitter parameters of the target rotation angle and the target displacement according to the actual situation of the icons to be jittered, it can effectively avoid unnecessary calculations and resource waste, further optimize resource utilization and performance, can achieve the layering and sense of dislocation of the icon jitter, obtain diversified and different jitter effects, greatly meet the different functional requirements of users, and improve the user interaction experience.

[0051] In a third aspect, the present invention provides a terminal, which includes: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute an icon jitter control device according to the first aspect or any corresponding embodiment thereof.

[0052] Fourthly, the present invention provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute an icon jitter control device according to the first aspect or any corresponding embodiment thereof as described above.

[0053] The icon jitter control method and device of the present invention use an initial random radian to enable each icon to have a unique starting state at the beginning of jitter. At the same time, in order to adapt to the own attributes of different icons, combined with the different icon sizes, each icon presents different jitter performances under the same jitter mechanism. In addition, considering that as the jitter process progresses, the jitter state of the icon will constantly change, the number of times the icon has jittered currently is used to simulate the law of motion change of objects in the real world, making the icon jitter more real and natural. It not only achieves diversified and differentiated jitter effects, realizes the sense of hierarchy and unevenness of icon jitter, but also meets the different functional requirements of users, and further improves the user interaction experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0055] Figure 1 is a flowchart of an icon jitter control method according to an embodiment of the present invention;

[0056] Figure 2 is a flowchart of another icon jitter control method according to an embodiment of the present invention;

[0057] Figure 3 is a schematic diagram of an icon jitter program;

[0058] Figure 4 is a schematic diagram of an icon jitter effect;

[0059] Figure 5 is a structural block diagram of an icon jitter control device according to an embodiment of the present invention;

[0060] Figure 6 is a schematic diagram of the structure of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0061] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.

[0062] An embodiment of the present invention provides an embodiment of an icon jitter control method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0063] In this embodiment, an icon jitter control method is provided. Figure 1 It is a flowchart diagram of the icon jitter control method according to the embodiment of the present invention. As Figure 1 shown, the process includes the following steps:

[0064] Step S101, determine the icon to be jittered.

[0065] It should be noted that the icon to be jittered in this embodiment is the corresponding icon for performing the jitter operation. It can be a single icon, a specified group of icons, or all icons on the user interface currently displayed on the terminal. The specific determination method of the icon to be jittered can be adaptively adjusted according to the actual icon triggering method.

[0066] Note that the icon jitter control method of this embodiment is only executed when the user triggers icon jitter. Among them, the specific triggering condition of icon jitter can be adaptively set according to actual needs and will not be elaborated here. For example, a switch is set, and the user's opening and closing operations on the switch are used to control the entire icon jitter process; or the entire icon control process is started by clicking, sliding the icon, etc.

[0067] Step S102, obtain the icon size, the current number of jitters, and the initial random radian of the icon to be jittered.

[0068] It should be noted that the specific obtaining method of the relevant values in step S102 of this embodiment can be determined adaptively according to actual needs and will not be elaborated here. For example, the icon size of the icon to be jittered is the width and height of the icon view, which can be determined according to the relevant view object functions in the mobile development field; the current number of jitters can define a counter variable, and the counter is incremented each time the jitter logic is triggered to determine; the initial random radian is a random radian value, which can generate a random value according to the relevant random number generation function and then convert it to a radian, only for illustrative purposes.

[0069] Step S103: Calculate the target rotation angle and target displacement of the icon to be jittered based on the icon size, the current number of jitter times, the initial random radian, and the preset waveform, and control the icon to be jittered to jitter based on the target rotation angle and target displacement.

[0070] It should be noted that the target rotation angle in this embodiment refers to the degree of inclination of the control icon around the rotation center to simulate the visual effect of "shaking left and right"; the target displacement refers to the displacement of the control icon on the X-axis (left and right) and Y-axis (up and down) in the screen coordinate system to simulate the physical feeling of "slight sliding".

[0071] The icon jitter control method according to the embodiment of the present invention makes the icon to be jittered have a unique starting state at the beginning of jitter by using the initial random radian of the icon to be jittered. At the same time, to adapt to the own attributes of different icons, combined with the different sizes of the icons to be jittered, it makes the icons present different jitter performances under the same jitter mechanism. It also takes into account that as the jitter process progresses, the jitter state of the icon will change continuously. By using the current number of jitter times of the icon to be jittered to simulate the attenuation or change law of the object movement in the real world, the icon jitter becomes more natural and real. And by accurately calculating the jitter parameters of the target rotation angle and target displacement according to the actual situation of the icon to be jittered, it can effectively avoid unnecessary calculations and resource waste, further optimize resource utilization and performance, realize the layering and stagger sense of the icon jitter, obtain diversified and different jitter effects, and thus meet the functional requirements of users for dynamic changes, greatly improving the user interaction experience.

[0072] In this embodiment, an icon jitter control method is provided. Figure 2 It is a schematic flowchart of another icon jitter control method according to the embodiment of the present invention, as Figure 2 shown, and this process includes the following steps:

[0073] Step S201: Determine the icon to be jittered.

[0074] In this embodiment, the icon to be jittered is at least one icon on the user interface currently displayed on the terminal, and the triggering method of the icon jitter includes a set user operation or an operation on a set virtual button. Specifically, the above step S201 includes:

[0075] Step A1: Detect in real time whether there is a preset user operation on the user interface. The preset user operation includes at least long pressing, clicking, and sliding the icon.

[0076] It should be noted that in mobile development (such as Android) and front-end development, detecting the long-press, click, and swipe operations of users on icons needs to be implemented through the event listening mechanism provided by the platform. For example, in a vehicle infotainment system, if the vehicle infotainment system supports physical buttons or voice control for icon jitter, then design the corresponding button event listening or integrate the in-vehicle interaction framework, etc., to accurately detect user operations and trigger the icon jitter logic, improving the responsiveness and accuracy of the interaction experience. This is only for illustrative purposes.

[0077] Step A2, if it exists, determine the icon to be jittered according to the preset user operation.

[0078] Step A3, where when the preset user operation is to long-press an icon and the operation time of long-pressing the icon exceeds the preset time threshold, the icon to be jittered is all the icons on the user interface.

[0079] In this embodiment, the specific value of the preset time threshold is adaptively adjusted based on actual needs. For example, the preset time threshold is 500 ms, which is only for illustrative purposes.

[0080] Step A4, when the preset user operation is to click an icon or swipe an icon, the icon to be jittered is the operated icon corresponding to the user interface, or the icon to be jittered is several icons associated with the operated icon corresponding to the user interface.

[0081] In the embodiment of the present invention, by designing the association between various user operations and the number of icons to be jittered, different scenarios and requirements can be adapted, that is, the current icon jitter effect of the user interface can be determined according to different application scenarios, design styles, and user requirements, having the advantages of flexible and diverse operations.

[0082] In this embodiment, if there is at least one preset virtual button configured on the user interface, and the preset virtual button includes a start jitter button for a single icon and a one-key jitter button for all icons, then the above step S201 further includes:

[0083] Step B1, real-time detect whether the preset virtual button is triggered on the user interface.

[0084] In this embodiment, the specific content of the preset virtual button can be adaptively determined according to actual needs. For example, the preset virtual button is a single-control switch, and the on / off of the circuit can be realized by toggling the switch up and down, thereby controlling the start or stop of the corresponding icon jitter; or, the preset virtual button includes separate on or off functions, that is, the preset virtual button is a start button or a stop button, and the start or stop of the icon jitter is realized by operating the corresponding function button. This is only for illustrative purposes.

[0085] Step B2, if triggered, determine the icon to be jittered according to the preset virtual button.

[0086] Step B3, where when the preset virtual button is the start jitter button with a single icon, the icon to be jittered is the triggered icon corresponding to the start jitter button.

[0087] Step B4, when the preset virtual button is the one-key jitter button for all icons, the icons to be jittered are all the icons on the user interface.

[0088] In the embodiments of the present invention, by designing the correlation between various virtual buttons and the number of icons to be jittered, the current icon jitter effect of the user interface can be determined according to different application scenarios, design styles, and user requirements, which has the advantages of convenient, flexible, and diverse control.

[0089] Step S202, obtain the icon size, the current number of jitters, and the initial random radian of the icon to be jittered. For details, please refer to Figure 1 Step S102 of the illustrated embodiment, which will not be elaborated here.

[0090] Step S203, calculate the target rotation angle and target displacement of the icon to be jittered based on the icon size, the current number of jitters, the initial random radian, and the preset waveform, and control the icon to be jittered to jitter based on the target rotation angle and target displacement.

[0091] Specifically, the above step S203 includes:

[0092] Step S2031, multiply the current number of jitters by the preset radian to obtain the cumulative radian.

[0093] Step S2032, add the initial random radian and the cumulative radian to obtain the current radian parameter.

[0094] Step S2033, determine the waveform amplitude corresponding to the current radian parameter in the preset waveform.

[0095] In this embodiment, the preset waveform changes regularly within a certain range, and its specific content is not limited here and can be adjusted adaptively according to actual needs. For example, the preset waveform can be a sine wave, a triangular wave, a sawtooth wave, a square wave, etc., which is only for illustrative purposes.

[0096] It should be noted that the target displacement includes displacements in the horizontal and vertical directions. To increase the sense of stagger of the jitter effects of different icons, the displacements in the horizontal and vertical directions are set differently in this embodiment, that is, the preset waveforms set include a first preset waveform and a second preset waveform, where the first preset waveform is related to the horizontal displacement and the second preset waveform is related to the vertical displacement. It should be noted that the specific types of the first preset waveform and the second preset waveform in this embodiment can be adjusted adaptively according to actual needs. Therefore, the above step S2033 includes:

[0097] Step C1, respectively determine the first waveform amplitude corresponding to the current radian parameter in the first preset waveform and the second waveform amplitude corresponding to the current radian parameter in the second preset waveform.

[0098] Step C2, determine the target rotation angle based on the icon size and the first waveform amplitude or the second waveform amplitude.

[0099] Step C3, determine the horizontal displacement based on the first waveform amplitude, determine the vertical displacement based on the second waveform amplitude, and determine the target displacement based on the horizontal displacement and the vertical displacement.

[0100] In the embodiment of the present invention, to further optimize the staggering feeling of icon jitter, different waveforms are designed to increase the difference in the jitter of each icon, that is, more random target rotation angles and target displacements are obtained by using different waveforms, so that the actions of adjacent icons are inconsistent, thereby realizing a more diverse and different jitter effect, greatly meeting the user's functional requirements for dynamic changes, and enhancing the user interaction experience.

[0101] Step S2034, determine the target rotation angle based on the icon size and the waveform amplitude, and determine the target displacement based on the waveform amplitude.

[0102] In this embodiment, the specific determination method of the target rotation angle and the target displacement can be adaptively adjusted according to actual needs, as long as the randomness of the corresponding values is ensured. For example, the target rotation angle is determined based on the product of the icon size and the waveform amplitude, or the target rotation angle is determined based on the weighted sum of the icon size and the waveform amplitude; the target displacement is directly determined according to the randomly obtained waveform amplitude, or the corresponding target displacement is obtained after proportional adjustment of the waveform amplitude, which is only for illustrative purposes.

[0103] Step S2035, control the icon to be jittered to jitter based on the target rotation angle and the target displacement.

[0104] In this embodiment, the icon to be jittered is controlled to rotate correspondingly based on the target rotation angle, and the icon to be jittered is controlled to translate correspondingly according to the target displacement. Specifically, by using the initial random radian, each icon has a unique starting state at the beginning of jitter, and at the same time, combined with the icon size and the current number of jitters, different icons show different and real jitter performances under the same jitter mechanism, effectively improving the icon jitter effect, realizing a diverse and different jitter effect, and helping to enhance the user interaction experience.

[0105] It should be noted that since the icon jitter control for the to-be-jittered icon in this embodiment is continuous, there is no need to consider the initial jitter parameters of the to-be-jittered icon during the first jitter. However, when the current jitter of the to-be-jittered icon is not the first jitter, it is necessary to consider the influence of the initial jitter parameters of the to-be-jittered icon on the current jitter parameters to achieve precise jitter control of the to-be-jittered icon. Therefore, before controlling the to-be-jittered icon to jitter based on the target rotation angle and target displacement, the icon jitter control method of this embodiment further includes:

[0106] Step D1, determine whether the current number of jitters is 0, and / or determine whether the initial rotation center of the to-be-jittered icon is the same as the current rotation center.

[0107] It should be noted that in this embodiment, the initial rotation center is the default center point of each icon, that is, the original center point, and its specific value can be adaptively adjusted according to actual needs. For example, the rotation center is the geometric center point of the icon itself or other specified origin points.

[0108] In this embodiment, rotation center = icon original center point + dynamic displacement amount (i.e., the corresponding displacement in the X and Y directions after icon jitter). Assume that the original center of the to-be-jittered icon is (Cx, Cy), then the center after displacement is (Cx + translationX, Cy + translationY), where translationX is the displacement in the X direction and translationY is the displacement in the Y direction. Therefore, when the icon is triggered to jitter for the current time, if the center point (current rotation center) of the icon is not the coordinate origin (i.e., the initial rotation center), it is considered that the icon has been triggered to jitter before.

[0109] Step D2, when the current number of jitters is not 0, and / or the initial rotation center of the to-be-jittered icon is different from the current rotation center, obtain the previous rotation angle, previous displacement, current rotation angle, and current displacement of the to-be-jittered icon; update the target rotation angle and target displacement based on the previous rotation angle, previous displacement, current rotation angle, and current displacement, and use the updated target rotation angle and updated target displacement to control the to-be-jittered icon to jitter.

[0110] Specifically, in the above step D2, updating the target rotation angle and target displacement based on the previous rotation angle, previous displacement, current rotation angle, and current displacement includes:

[0111] Step D21, subtract the previous rotation angle from the current rotation angle to obtain the initial rotation angle, and add the initial rotation angle to the target rotation angle to obtain the updated target rotation angle.

[0112] Step D22: Subtract the current displacement from the previous displacement to obtain the initial displacement, and add the initial displacement to the target displacement to obtain the updated target displacement.

[0113] In the embodiment of the present invention, when the current jitter of the icon to be jittered is not the first icon jitter, the rotation angle and displacement of the previous icon jitter are used to update the target rotation angle and target displacement, which can ensure the accuracy of the target rotation angle and target displacement, and thus improve the precise control of the icon to be jittered.

[0114] Step D3: When the current number of jitter times is 0 and / or the current rotation center is the same as the initial rotation center, execute the step of controlling the icon to be jittered to jitter based on the target rotation angle and target displacement.

[0115] In the embodiment of the present invention, by designing a dual determination mechanism of whether the current number of jitter times of the icon to be jittered is the first jitter and whether the current rotation center is the initial rotation center, not only can the accurate determination of whether the current jitter situation is the first jitter be realized, but also the continuous change of the multiple icon jitter states is considered, and the current jitter parameters are updated based on the previous jitter parameters, making the calculation of the current jitter parameters more accurate, and thus making the icon jitter more natural and real.

[0116] It should be noted that in the process of executing the control of the icon to be jittered to jitter based on the target rotation angle and target displacement in this embodiment, there may be operations of moving or deleting the icon to be jittered, and their corresponding execution priority levels are relatively high, and the current icon jitter needs to be stopped to respond to this operation in a timely manner. Therefore, in the process of controlling the icon to be jittered to jitter based on the target rotation angle and target displacement, the icon jitter control method of this embodiment further includes:

[0117] Step E1: Detect whether there is a preset icon operation for the icon to be jittered.

[0118] In this embodiment, the specific content of the preset icon operation is adaptively set according to actual needs. For example, the preset icon operation includes deletion, movement, etc., which is only for illustrative purposes.

[0119] Step E2: When the number of icons to be jittered is 1 and there is a preset icon operation, control the icon to be jittered to stop jittering, and control the icon to be jittered to execute the preset icon operation.

[0120] Step E3: When the number of icons to be jittered is greater than 1, screen out the target icons with preset icon operations from the icons to be jittered, control the target icons to stop jittering and execute the preset icon operations, and control the other icons among the icons to be jittered to continue jittering.

[0121] When the embodiment of the present invention controls the icon to jitter, it also detects in real time whether there are other operations with a higher processing priority than the icon jitter. If so, it responds in time to the icon operation with a higher processing priority and aborts the current icon jitter at the same time, which can further optimize various operations on the icon to make it more in line with the reality and help meet the user's interaction experience.

[0122] In a specific embodiment, when the terminal is a car machine or a mobile phone, a method for implementing the jitter of APP icons applied to the car machine desktop or the mobile phone page is proposed. On the currently displayed user interface (UI), the rotation angles of each APP (Application) icon (that is, different icons adjacent to each other horizontally, vertically, left and right) are different, and each has a displacement of X and Y coordinates and a rotation angle calculated according to the Sin function and the Cos function; among them, the rotation angles form a closed-loop random value, and the rotation center of the icon is not the origin, and the rotation center origin is determined by the displacement of the X and Y coordinates, and the XY coordinates are also random to form a sense of dislocation, so as to realize the irregular jitter of different icons when the icon is touched or long-pressed by a finger, thereby enhancing the user interaction experience. The specific process includes:

[0123] 1. Parameter description.

[0124] In this embodiment, the entire control process of the icon jitter is implemented by view-related functions and defining different parameters. The parameters involved include:

[0125] jitterAngle: The rotation angle of the current icon (a process variable for solving, which is the angle change amount required for the current jitter);

[0126] jitterX: The X movement distance of the current icon (a process variable for solving, which is the horizontal displacement change amount required for the current jitter);

[0127] jitterY: The Y movement distance of the current icon (a process variable for solving, which is the vertical displacement change amount required for the current jitter);

[0128] mTimerInterval: A random number of time intervals (initialized as a default random number, loaded only once);

[0129] sin: The sine value of the rotation radian (the sine function is used to calculate the rotation angle and the X displacement);

[0130] cos: The cosine value of the rotation radian (the cosine function is used to calculate the Y displacement);

[0131] range: A relatively gentle aspect ratio coefficient for the calculation of the angle (that is, the icon size, a constant softness fixed by the UI, which is an adaptation coefficient based on the icon width and height);

[0132] timer: The time interval coefficient increased each time for radian calculation (indicating the radian value accumulated over time, used to drive the independent variable of the sin / cos functions, determining the rhythm and randomness of the jitter).

[0133] rotation: The final icon rotation angle of the animation (the final solution quantity, i.e., the target rotation angle).

[0134] translationX: The displacement X distance of the final icon of the animation (the final solution quantity, i.e., the horizontal displacement in the target displacement).

[0135] translationY: The displacement Y distance of the final icon of the animation (the final solution quantity, i.e., the vertical displacement in the target displacement).

[0136] 2. Trigonometric functions.

[0137] In this embodiment, considering the periodic fluctuations of trigonometric functions, the preset waveforms are sine waves and cosine waves. Specifically, through the periodic characteristics of the sine function (sin) and cosine function (cos), random values oscillating back and forth between -1 and 1 are generated as the calculation basis for the rotation angle and translation distance.

[0138] In this embodiment, the trigonometric function-related program is expressed as:

[0139] sin = Math.sin(90 * viewInfo.timer);

[0140] cos = Math.cos(90 * viewInfo.timer);

[0141] It should be noted that Math.sin() is the sine function, 90 is a fixed value to make the random radian larger each time; viewInfo is the class name which can be ignored here, and the timer time is used instead. Timer is the continuously accumulated time, and the parameter inside Math.sin (i.e., 90 * viewInfo.timer) represents the continuously increasing random coefficient radian. Specifically, through the characteristics of the sine function and cosine function, the radian is calculated based on the continuously accumulated time of timer, obtaining two sets of function values oscillating between -1 and 1, which serve as the basis for the rotation angle of the icon swinging left and right, as well as the displacements X and Y.

[0142] In this embodiment, the calculation program of timer is expressed as: timer = timer + mTimerInterval;

[0143] Among them, mTimerInterval is a fixed radian value (its specific value can be adaptively adjusted according to actual needs, such as 0.0045), and each rotation will increase the multiple of this radian; timer1 is a random initial number; as the icon jitters continuously, the value of timer will be continuously accumulated.

[0144] 3. Calculate the initial jitter parameters.

[0145] In this embodiment, after the icon rotates, the current rotation angle needs to be calculated, the temporary variable is taken out, and when rotating next time, subtract the previous rotation angle, the distance of displacement X, and the distance of displacement Y, and recalculate the rotation angle, the distance of displacement X, and the distance of displacement Y from the center point of the current icon.

[0146] It should be noted that the rotation center of the icon in this embodiment has a "dynamic + random" design logic, and its core formula is: rotation center = original center + dynamic displacement amount, where the displacement amount is jointly determined by trigonometric functions and random parameters; through the differentiation and dynamic change of the rotation center, the mechanical feeling of traditional icon jitter can be broken, and a user experience of "rich visual hierarchy and natural interaction feedback" is achieved; and it can be applied to different scenarios, such as the in-vehicle desktop, the mobile phone desktop and other scenarios that require batch editing of icons. Especially in the jitter feedback during long press, it can effectively guide the user's operation focus.

[0147] 4. Calculate the current jitter parameters.

[0148] In this embodiment, the solution process of the designed current jitter parameters is represented by the following related program:

[0149] jitterAngle = sin * range * mAngleFactor;

[0150] jitterX = 0.5 * sin;

[0151] jitterY = 0.5 * cos;

[0152] Among them, mAngleFactor is the set angle coefficient (its value can be adaptively determined according to actual needs), rangle is the aspect ratio coefficient, and 0.5 is the proportionality coefficient, and its specific value can be adaptively adjusted according to actual needs; the rotation angle, displacement X, and displacement Y that the icon rotates more than the previous rotation angle are determined through the characteristics of the sin sine function. It should be noted that the above formula is a relatively gentle expression of the rotation angle and displacement calibrated by engineers through multiple offline experiments, and is only used as an exemplary illustration here, and its specific content can be adaptively adjusted according to actual needs.

[0153] 5. Determine and set the final jitter parameters.

[0154] In this embodiment, the final solving program of the jitter parameter is expressed as:

[0155] range = 400 / ((width + height) * 1.2f);

[0156] rotation = rotation + Math.sin(90 * timer) * range * mAngleFactor;

[0157] translationX = translationX + 0.5 * Math.sin(90 * timer);

[0158] translationY = translationY + 0.5 * Math.cos(90 * timer);

[0159] timer = timer + mTimerInterval;

[0160] It should be noted that width is the width of the icon, height is the height of the icon, and the f in 1.2f represents a decimal in the code and can be ignored here. Specifically, according to the above formula (that is, the combined operation of rotation + displacement during jitter. When the distances of the X and Y coordinates of the displacement are involved, the rotation origin is no longer the center at rest and will be recalculated according to the displacement), random and regular jitter parameters can be obtained, and the values can return to the appropriate values at the original position as the jitter time of the icon accumulates for a long time.

[0161] In this embodiment, after obtaining the above final jitter parameter, its setting program is expressed as:

[0162] viewInfo.itemView.setRotation(rotation); # Rotate the icon

[0163] viewInfo.itemView.setTranslationX(translationX); # Set the X displacement distance of the icon

[0164] viewInfo.itemView.setTranslationY(translationY); # Set the Y displacement distance of the icon

[0165] In this embodiment, refer to Figure 3 the schematic diagram of the icon jitter program to execute the above icon jitter control process, and its corresponding icon jitter effect can be referred to Figure 4. Specifically, after executing the above process, the icons on the in-vehicle computer or mobile phone desktop can achieve random irregular jitter, that is, for adjacent icons vertically and horizontally, the rotation angle size of each icon and the XY movement distance of the icon are different within the same time period. At the same time, by utilizing the characteristics of the Sin function and Cos function, an angle reversal is formed, thereby forming a jitter effect with angles and slight displacements. And it can be used in multiple application scenarios. For example, in Scenario 1: When the user's finger long-presses a certain icon and simulates a move or delete operation, all icons perform irregular jitter until the icon delete operation or move operation ends and the icons stop jittering; in Scenario 2: The jitter stop switch of a certain icon can be set separately, and other icons jitter normally. That is, when the user long-presses, a time valve is set. When the finger touches an icon for a time exceeding this value, all the icons on its desktop start to perform irregular jitter of "rotation + displacement"; when the finger leaves, the icons continue to jitter (all icons); when the finger clicks on a certain icon again, corresponding operations can be performed. If there is a delete ICON directly on the icon, it can be directly deleted, or when the icon is clicked again, it can also be slid to a certain fixed position. Then the other icons still rotate, the selected icon pauses rotating, and is dragged to a specific position. This scenario can be rotated as a whole or a single icon can be rotated through specific configurations, and all can be paused or a single icon can be paused.

[0166] In summary, the icon jitter method of the embodiment of the present invention makes the rotation jitter methods of each adjacent icon different by dynamically processing the rotation angle of the APP and the slight movement of the X and Y coordinates corresponding to the APP icon, making the icon jitter more hierarchical and aesthetic, and greatly improving the icon jitter effect and user interaction experience.

[0167] In this embodiment, an icon jitter control device is also provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated. As the term "module" used below, it can be a combination of software and / or hardware that can achieve a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and contemplated.

[0168] The present invention provides an icon jitter control device, as Figure 5 shown, the device includes:

[0169] A determination module 501, configured to determine the icon to be jittered.

[0170] An acquisition module 502, configured to acquire the icon size, the current number of jitters, and the initial random radian of the icon to be jittered.

[0171] The jitter module 503 is used to calculate the target rotation angle and target displacement of the icon to be jittered based on the icon size, the current number of jitters, the initial random radian, and the preset waveform, and control the icon to be jittered to jitter based on the target rotation angle and target displacement.

[0172] In some optional embodiments, the determination module 501 includes: a first determination sub-module and a second determination sub-module; wherein, the first determination sub-module is configured to detect in real time whether there is a preset user operation on the user interface, and the preset user operation includes at least long pressing, clicking, and swiping the icon; if so, determine the icon to be jittered according to the preset user operation; wherein, when the preset user operation is long pressing the icon and the operation time of long pressing the icon exceeds the preset time threshold, the icon to be jittered is all the icons on the user interface; when the preset user operation is clicking or swiping the icon, the icon to be jittered is the operated icon corresponding to the user interface, or the icon to be jittered is several icons associated with the operated icon corresponding to the user interface; the second determination sub-module is configured to detect in real time whether a preset virtual button is triggered on the user interface; if so, determine the icon to be jittered according to the preset virtual button; wherein, when the preset virtual button is the start jitter button of a single icon, the icon to be jittered is the triggered icon corresponding to the start jitter button; when the preset virtual button is the one-key jitter button of all icons, the icon to be jittered is all the icons on the user interface.

[0173] In some optional embodiments, the jitter module 503 includes: a first jitter sub-module, a second jitter sub-module, a third jitter sub-module, a fourth jitter sub-module, and a fifth jitter sub-module; wherein, the first jitter sub-module is configured to multiply the current number of jitters by the preset radian to obtain the cumulative radian; the second jitter sub-module is configured to add the initial random radian and the cumulative radian to obtain the current radian parameter; the third jitter sub-module is configured to determine the waveform amplitude corresponding to the current radian parameter in the preset waveform; the fourth jitter sub-module is configured to determine the target rotation angle based on the icon size and the waveform amplitude, and determine the target displacement based on the waveform amplitude; the fifth jitter sub-module is configured to control the icon to be jittered to jitter based on the target rotation angle and target displacement.

[0174] In some optional embodiments, the third jitter sub-module includes: a first jitter unit, a second jitter unit, and a third jitter unit; wherein, the first jitter unit is configured to respectively determine the first waveform amplitude corresponding to the current radian parameter in the first preset waveform and the second waveform amplitude corresponding to the current radian parameter in the second preset waveform; the second jitter unit is configured to determine the target rotation angle based on the icon size and the first waveform amplitude or the second waveform amplitude; the third unit is configured to determine the horizontal displacement based on the first waveform amplitude, determine the vertical displacement based on the second waveform amplitude, and determine the target displacement based on the horizontal displacement and the vertical displacement.

[0175] In some alternative embodiments, the fifth jitter sub-module includes: a first determination unit, a second determination unit, and a third determination unit; wherein, the first determination unit is configured to determine whether the current number of jitter times is 0, and / or determine whether the initial rotation center of the icon to be jittered is the same as the current rotation center; the second determination unit is configured to, when the current number of jitter times is not 0, and / or the initial rotation center of the icon to be jittered is different from the current rotation center, obtain the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement of the icon to be jittered; update the target rotation angle and the target displacement based on the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement, and control the icon to be jittered to jitter by using the updated target rotation angle and the updated target displacement; the third determination unit is configured to, when the current number of jitter times is 0, and / or the current rotation center is the same as the initial rotation center, perform the step of controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement.

[0176] In some alternative embodiments, the second determination unit includes: a first update sub-unit and a second update sub-unit; wherein, the first update sub-unit is configured to subtract the previous rotation angle from the current rotation angle to obtain the initial rotation angle, and add the initial rotation angle to the target rotation angle to obtain the updated target rotation angle; the second update sub-unit is configured to subtract the previous displacement from the current displacement to obtain the initial displacement, and add the initial displacement to the target displacement to obtain the updated target displacement.

[0177] In some alternative embodiments, the fifth jitter sub-module further includes: a detection unit, configured to detect whether there is a preset icon operation for the icon to be jittered; when the number of icons to be jittered is 1 and there is a preset icon operation, control the icon to be jittered to stop jittering, and control the icon to be jittered to perform the preset icon operation; when the number of icons to be jittered is greater than 1, screen out the target icons with the preset icon operation from the icons to be jittered, control the target icons to stop jittering and perform the preset icon operation, and control the other icons among the icons to be jittered to continue jittering.

[0178] The further function descriptions of the above-mentioned respective modules are the same as those in the corresponding foregoing embodiments, and will not be elaborated herein.

[0179] The icon jitter control device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0180] The icon jitter control device of the embodiment of the present invention uses an initial random arc to make each icon have a unique starting state at the beginning of the jitter. At the same time, in order to adapt to the properties of different icons, combined with the different icon sizes, each icon presents different jitter performances under the same jitter mechanism. In addition, considering that the icon jitter state will continue to change as the jitter process progresses, the current number of jitters of the icon is used to simulate the movement and change laws of objects in the real world, making the icon jitter more realistic and natural, not only achieving diversified and differentiated jitter effects, and realizing the sense of hierarchy and staggeredness of icon jitter, but also meeting the different functional needs of users and further enhancing the user interaction experience.

[0181] The present invention also provides a terminal. Figure 6 , Figure 6 is a schematic diagram of the structure of the above terminal provided in an optional embodiment of the present invention, such as Figure 6 As shown, the terminal includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the terminal, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output system (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple terminals can be connected, and each terminal provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0182] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0183] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0184] The memory 20 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the terminal and the like. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided with respect to the processor 10, and these remote memories may be connected to the terminal through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0185] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive; the memory 20 may further include a combination of the above types of memories.

[0186] The terminal further includes a communication interface 30 for the main control chip to communicate with other devices or a communication network.

[0187] An embodiment of the present invention further provides a computer-readable storage medium. The method according to the embodiment of the present invention may be implemented in hardware, firmware, or may be implemented as computer code that can be recorded on a storage medium, or may be implemented by downloading through a network and originally stored in a remote storage medium or a non-transitory machine-readable storage medium and to be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may further include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor main control chip, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiment is implemented.

[0188] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for controlling icon jitter, characterized in that The method includes: Determine the icon to be jittered; Obtain the icon size, the current number of jitters, and the initial random radian of the icon to be jittered; Based on the icon size, the current number of jitters, the initial random radian, and a preset waveform, calculate the target rotation angle and the target displacement of the icon to be jittered, and control the icon to be jittered to jitter based on the target rotation angle and the target displacement.

2. The icon jitter control method according to claim 1, wherein The calculating the target rotation angle and the target displacement of the icon to be jittered based on the icon size, the current number of jitters, the initial random radian, and a preset waveform includes: Multiply the current number of jitters by a preset radian to obtain an accumulated radian; Add the initial random radian to the accumulated radian to obtain a current radian parameter; Determine the waveform amplitude corresponding to the current radian parameter in the preset waveform; Based on the icon size and the waveform amplitude, determine the target rotation angle, and based on the waveform amplitude, determine the target displacement.

3. The icon jitter control method according to claim 2, wherein The preset waveform includes a first preset waveform and a second preset waveform, where the first preset waveform is related to the horizontal displacement, and the second preset waveform is related to the vertical displacement; the determining the waveform amplitude corresponding to the current radian parameter in the preset waveform includes: Respectively determine the first waveform amplitude corresponding to the current radian parameter in the first preset waveform, and the second waveform amplitude corresponding to the current radian parameter in the second preset waveform; Based on the icon size and the first waveform amplitude or the second waveform amplitude, determine the target rotation angle; Based on the first waveform amplitude, determine the horizontal displacement, and based on the second waveform amplitude, determine the vertical displacement, and based on the horizontal displacement and the vertical displacement, determine the target displacement.

4. The icon jitter control method according to claim 1, characterized in that Before controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement, the method further includes: Judge whether the current number of jitters is 0, and / or judge whether the initial rotation center of the icon to be jittered is the same as the current rotation center; When the current number of jitters is not 0, and / or the initial rotation center of the icon to be jittered is different from the current rotation center, obtain the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement of the icon to be jittered; update the target rotation angle and the target displacement based on the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement, and control the icon to be jittered to jitter using the updated target rotation angle and the updated target displacement; When the current number of jitters is 0, and / or the current rotation center is the same as the initial rotation center, execute the step of controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement.

5. The icon jitter control method according to claim 4, wherein The updating the target rotation angle and the target displacement based on the previous rotation angle, the previous displacement, the current rotation angle, and the current displacement includes: Subtract the current rotation angle from the previous rotation angle to obtain an initial rotation angle, and add the initial rotation angle to the target rotation angle to obtain an updated target rotation angle; Subtract the current displacement from the previous displacement to obtain an initial displacement, and add the initial displacement to the target displacement to obtain an updated target displacement.

6. The icon jitter control method according to claim 1, wherein The icon to be jittered is at least one icon on the user interface currently displayed on the terminal; Determining the icon to be jittered includes: Real-time detecting whether there is a preset user operation on the user interface, where the preset user operation at least includes long-pressing, clicking, and swiping an icon; If so, determine the icon to be jittered according to the preset user operation; Among them, when the preset user operation is long-pressing an icon and the operation time of the long-pressed icon exceeds a preset time threshold, the icon to be jittered is all the icons on the user interface; When the preset user operation is clicking an icon or swiping an icon, the icon to be jittered is the operated icon corresponding to the user interface, or the icon to be jittered is several icons associated with the operated icon corresponding to the user interface.

7. The icon jitter control method according to claim 1, wherein The icon to be jittered is at least one icon on the user interface currently displayed on the terminal, and at least one preset virtual button is configured on the user interface, and the preset virtual button includes a start jitter button for a single icon and a one-key jitter button for all icons; Determining the icon to be jittered further includes: Real-time detecting whether the preset virtual button is triggered on the user interface; If triggered, determine the icon to be jittered according to the preset virtual button; Among them, when the preset virtual button is a start jitter button for a single icon, the icon to be jittered is the triggered icon corresponding to the start jitter button; When the preset virtual button is a one-key jitter button for all icons, the icon to be jittered is all the icons on the user interface.

8. The icon jitter control method according to claim 6, characterized in that During the process of controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement, the method further includes: Detecting whether there is a preset icon operation on the icon to be jittered; When the number of icons to be jittered is 1 and there is a preset icon operation, control the icon to be jittered to stop jittering, and control the icon to be jittered to execute the preset icon operation; When the number of icons to be jittered is greater than 1, screen out the target icons with preset icon operations from the icons to be jittered, control the target icons to stop jittering and execute the preset icon operation, and control the other icons among the icons to be jittered to continue jittering.

9. An icon jitter control device, characterized in that, The device includes: A determination module for determining the icon to be jittered; An acquisition module for acquiring the icon size, the current number of jitters, and the initial random radian of the icon to be jittered; A jitter module for calculating the target rotation angle and the target displacement of the icon to be jittered based on the icon size, the current number of jitters, the initial random radian, and a preset waveform, and controlling the icon to be jittered to jitter based on the target rotation angle and the target displacement.

10. A terminal, characterized in that, The terminal includes: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the icon jitter control method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the icon jitter control method according to any one of claims 1 to 8.