Display method and device, terminal and readable storage medium
By adjusting modules, calculation modules and display modules, adjusting the size and position of the application icons according to the input operations, calculating the distance between the sampling point and the feature point to determine the weight, realizing user-defined application icon arrangement rules, solving the difficulty for users to customize applications The problem of icon arrangement reduces the difficulty of design.
Patent Information
- Application Number
- CN202110859412.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-07-28
AI Technical Summary
It is difficult for users to customize the arrangement rules of application icons. The existing technology can only interchange icon positions or adjust the size at the same time, which is more difficult to design.
By adjusting modules, calculation modules and display modules, adjusting the size and position of the application icons according to the input operations, calculating the distance between the sampling point and the feature point to determine the weight, and realizing the display of the target size and position, users can customize the arrangement rules of the application icons .
Users can quickly and conveniently design the arrangement rules of application icons. The processor calculates the target size and position of each application icon, which complies with user-defined settings and reduces the design difficulty.
Smart Images

Figure CN113589981B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image technology, and in particular to a display method, a display device, a terminal, and a non-volatile computer-readable storage medium. Background Art
[0002] With the popularization of terminals such as smart phones, tablet computers, and smart watches, as well as the development of Internet technology, people are installing more and more applications on terminals, and the corresponding application icons displayed on the terminal interface are also increasing. Therefore, the terminal has built-in multiple different arrangement rules to display application icons for users to choose from. Users cannot customize the arrangement rules of application icons. At most, they can swap the positions of icons or adjust the sizes of all icons at the same time. For users, it is also difficult to design new arrangement rules separately. Summary of the invention
[0003] Embodiments of the present application provide a display method, a display device, a terminal, and a non-volatile computer-readable storage medium.
[0004] The display method of the embodiment of the present application includes adjusting the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each of the application icons; calculating the weight of each of the feature points according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each of the application icons when the display area displays the application icon in an initial state, and the distance is negatively correlated with the weight; and displaying the currently displayed application icon according to the target size, the target position and the weight.
[0005] The display device of the embodiment of the present application includes an adjustment module, a calculation module and a display module. The adjustment module is used to adjust the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each application icon; the calculation module is used to calculate the weight of each feature point according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each application icon when the application icon is displayed in the display area in the initial state, and the distance is negatively correlated with the weight; the display module is used to display the currently displayed application icon according to the target size, the target position and the weight.
[0006] The terminal of the embodiment of the present application includes a display and a processor, the processor is used to adjust the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each of the application icons; the weight of each feature point is calculated according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each application icon when the display area displays the application icon in an initial state, and the distance is negatively correlated with the weight; the display is used to control the display to display the currently displayed application icon according to the target size, the target position and the weight.
[0007] The present application discloses a non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, causes the processor to execute a display method. The display method includes adjusting the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each application icon; calculating the weight of each feature point according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each application icon when the application icon is displayed in the display area in the initial state, and the distance is negatively correlated with the weight; and displaying the currently displayed application icon according to the target size, the target position and the weight.
[0008] In the display method, display device, terminal and non-volatile computer-readable storage medium of the embodiments of the present application, the user adjusts the size and position of the application icon in the display area through input operations, so as to quickly and conveniently design the arrangement rules of the application icons that are finally desired to be displayed, and then the processor obtains the adjusted target size and target position of each application icon. When the application icon is subsequently displayed, the sampling point of the currently displayed application icon is first obtained, and then the weight of each feature point is calculated based on the distance from the sampling point to each feature point that is determined in advance and represents the initial position of the application icon. The closer the feature point is to the sampling point, the greater the influence on the sampling point, so the larger the weight is set. Therefore, the size and position of the currently displayed application icon are calculated based on the target size, target position and weight of the feature point, so that each currently displayed application icon meets the arrangement rules set by the user. The user can implement the arrangement rules of the customized application icons, and the design difficulty is relatively low.
[0009] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0011] Figure 1 is a schematic flow chart of a display method of certain embodiments of the present application;
[0012] Figure 2 is a schematic diagram of a module of a display device according to some embodiments of the present application;
[0013] Figure 3 is a schematic plan view of a terminal according to some embodiments of the present application;
[0014] Figures 4 to 6 It is a scene schematic diagram of a display method of certain embodiments of the present application;
[0015] Figure 7 is a schematic flow chart of a display method of certain embodiments of the present application;
[0016] Figure 8 and Fig. 9 It is a scene schematic diagram of a display method of certain embodiments of the present application;
[0017] Fig.10 is a schematic flow chart of a display method of certain embodiments of the present application; and
[0018] Fig.11 A schematic diagram of the connection between a processor and a computer-readable storage medium in certain embodiments of the present application. DETAILED DESCRIPTION
[0019] The following is a further description of the embodiments of the present application in conjunction with the accompanying drawings. The same or similar reference numerals in the accompanying drawings represent the same or similar elements or elements with the same or similar functions from beginning to end. In addition, the embodiments of the present application described below in conjunction with the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the present application.
[0020] See also Figure 1 The display method of the embodiment of the present application comprises the following steps:
[0021] 011: adjusting the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each application icon;
[0022] 012: Calculate the weight of each feature point based on the distance from the sampling point to each feature point in the display area. The sampling point is located at the center of the currently displayed application icon. The feature point is located at the center of each application icon when the application icon is displayed in the display area in the initial state. The distance and the weight are negatively correlated.
[0023] 013: Display the currently displayed application icon according to the target size, target position and weight.
[0024] See also Figure 2 , the display device 10 of the embodiment of the present application includes an adjustment module 11, a calculation module 12 and a display module 13. The adjustment module 11, the calculation module 12 and the display module 13 are used to execute step 011, step 012 and step 013 respectively. That is, the adjustment module 11 is used to adjust the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each application icon; the calculation module 12 is used to calculate the weight of each feature point according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, and the feature point is located at the center of each application icon when the application icon is displayed in the initial state of the display area, and the distance and weight are negatively correlated; the display module 13 is used to display the currently displayed application icon according to the target size, target position and weight.
[0025] See also Figure 3 In some embodiments, the terminal 100 further includes a display 20 and a processor 30. The processor 30 is used to adjust the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each application icon; the weight of each feature point is calculated according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, and the feature point is located at the center of each application icon when the application icon is displayed in the initial state of the display area, and the distance and weight are negatively correlated; the display 20 is used to control the display 20 to display the currently displayed application icon according to the target size, target position and weight. That is to say, steps 011 and 012 can be implemented by the processor 30, and step 013 can be implemented by the display 20 and the processor 30.
[0026] Specifically, the terminal 100 includes a housing 40, a processor 30 and a display 20. The terminal 100 may be a smart watch, a mobile phone, a tablet computer, a display device, a laptop computer, a teller machine, a gate machine, a head-mounted display device, a game console, etc. Figure 3As shown, the embodiment of the present application is described by taking the terminal 100 as a smart watch as an example. It is understandable that the specific form of the terminal 100 is not limited to a smart watch. The housing 40 can be used to install functional modules such as a display device (i.e., display 20), an imaging device, a power supply device, and a communication device of the terminal 100, so that the housing 40 provides dustproof, drop-proof, waterproof and other protections for the functional modules.
[0027] See also Figure 4 The display 20 includes a display area 21. In an initial state, a plurality of application icons M are displayed in the display area 21. The size of each application icon M is the same, which is a predetermined size. The application icon M may be circular or rectangular. When the application icon M is circular, the predetermined size may be a circle with a radius of 50 pixels, 60 pixels, etc. When the application icon M is rectangular, the predetermined size may be a rectangle with a size of 100 pixels*100 pixels, 150 pixels*150 pixels, etc.
[0028] The multiple application icons M in the display area 21 are arranged in a matrix. For example, the display area 21 displays 36 circular application icons M, and the 36 application icons M are arranged in a 6*6 matrix.
[0029] The input operation includes a touch operation, and the user can perform a touch operation in the display area 21 to move the position of one or more application icons M or change the size of one or more application icons M. Alternatively, the input operation may also include a voice input operation, and the terminal 100 further includes a microphone 40, which receives the user's voice input, and then the processor 30 processes the voice input to achieve the movement of the position of one or more application icons M and the change of the size of one or more application icons M.
[0030] Through input operations, the user can adjust the position and size of each application icon M in the display area 21, so that the application icons M in the display area 21 are arranged according to the arrangement rules set by the user.
[0031] See also Figure 5 After receiving the user input operation, the display area 21 displays 36 adjusted application icons M, and the processor 30 obtains the target position and target size of each application icon M arranged by the user.
[0032] As the user slides the display area 21, the position of the application icon M in the display area 21 will move. When the application icon M moves to a different position in the display area 21, its size and position need to be adjusted according to the target position and target size to meet the user-defined arrangement rules. The processor 30 can obtain the sampling point of the application icon M as the current position of the application icon M. For example, the sampling point can be located at the center of the application icon M. Then the sampling point and Figure 4The feature points of the application icon M in the initial state (such as the feature points can be located at Figure 4 The closer the distance is, the greater the influence of the feature point on the sampling point is, and therefore, the greater the weight is. For example, the reciprocal of the distance between the feature point and the sampling point is used as the weight of the feature point, thereby calculating the weight of each feature point.
[0033] It can be understood that the distance between the sampling point and the feature point may be calculated as 0. In order to avoid the inability to calculate the reciprocal of the distance, thereby affecting the subsequent weight calculation, the distance less than the predetermined value can be directly assigned to the predetermined value. For example, if the distance is 0.0000001 and the predetermined value is 0.000001, the distance is assigned to 0.000001.
[0034] Finally, the processor 30 controls the display 20 to display the currently displayed application icon M according to the weight of each feature point, the target size and the target position of each application icon M. For example, the processor 30 calculates the display size and the display position of the currently displayed application icon M according to the weight of each feature point, the target size and the target position of the application icon. As the application icon M moves in different positions of the display area 21, its sampling points change accordingly, and the weight of each feature point corresponding to the sampling point also changes, so that the size and position of the application icon M in different positions of the display area 21 change in real time and meet the arrangement rules set by the user.
[0035] See also Figure 5 and Figure 6 When the user slides the display area 21 to the right, the application icon M1 moves to the right. Since the size of the application icon M2 to the right of the application icon M1 is larger, the application icon M1 will gradually increase until the application icon M1 moves to the position of the application icon M2 before sliding, and the size and position become basically the same as the application icon M2 before sliding (such as the size difference is less than a predetermined value, which can be 1 pixel, 2 pixels, etc.); and the application icon M2 moves to the right. Since the size of the application icon M3 to the right of the application icon M2 is smaller, the application icon M2 will gradually decrease until the application icon M2 moves to the position of the application icon M3 before sliding, and the size and position become basically the same as the application icon M3 before sliding. In this way, no matter how the user slides the display area 21, the application icon can change its size and position in real time according to the change of its sampling point to meet the user-defined arrangement rules.
[0036] In the display method, display device 10 and terminal 100 of the embodiment of the present application, the user adjusts the size and position of the application icon in the display area 21 through input operation, so as to quickly and conveniently design the arrangement rules of the application icons that are finally desired to be displayed, and then the processor 30 obtains the adjusted target size and target position of each application icon. When the application icon is subsequently displayed, the sampling point of the currently displayed application icon is first obtained, and then the weight of each feature point is calculated according to the distance from the sampling point to each feature point that is determined in advance and represents the initial position of the application icon. The closer the feature point is to the sampling point, the greater the influence on the sampling point, so the larger the weight is set. Therefore, the size and position of the currently displayed application icon are calculated according to the target size, target position and the weight of the feature point, so that each currently displayed application icon meets the arrangement rules set by the user. The user can implement the arrangement rules of the customized application icons, and the design difficulty is relatively low.
[0037] See also Figure 7 In some embodiments, step 012 includes the following steps:
[0038] 0121: Establish a reference coordinate system with the center of the display area 21 as the origin;
[0039] 0122: Calculate the distance from the sampling point to each feature point according to the first coordinate and the second coordinate. The first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the feature point in the reference coordinate system.
[0040] 0123: Calculate the weight of each feature point corresponding to the sampling point based on the distance.
[0041] Please refer again Figure 2 In some embodiments, the calculation module 12 is further used to execute step 0121, step 0122 and step 0123. That is, the calculation module 12 is further used to establish a reference coordinate system with the center of the display area 21 as the origin; calculate the distance from the sampling point to each feature point according to the first coordinate and the second coordinate, the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the feature point in the reference coordinate system; calculate the weight of each feature point corresponding to the sampling point according to the distance.
[0042] Please refer again Figure 3 In some embodiments, the processor 30 is further configured to establish a reference coordinate system with the center of the display area 21 as the origin; calculate the distance from the sampling point to each feature point according to the first coordinate and the second coordinate, the first coordinate being the coordinate of the sampling point in the reference coordinate system, and the second coordinate being the coordinate of the feature point in the reference coordinate system; and calculate the weight of each feature point corresponding to the sampling point according to the distance. That is, steps 0121, 0122, and 0123 can be implemented by the processor 30.
[0043] Specifically, see Figure 8 When calculating the weight of each feature point, the distance between the sampling point and the feature point must first be calculated. In the initial state, the display area 21 displays multiple application icons M. The processor 30 can use the center of the display area 21 as the origin to establish a reference coordinate system XOY, thereby determining the second coordinate of the feature point in the reference coordinate system. Among them, there are 36 application icons M, and the center of each application icon M is a feature point, forming a total of 36 feature points from feature point P0 to feature point P35.
[0044] See also Fig. 9 As the user slides, the position of the application icon M in the display area 21 changes continuously, and the processor 30 can obtain the first coordinate of the center (ie, sampling point N) of each currently displayed application icon M in the reference coordinate system.
[0045] Then the processor 30 calculates the distance between the sampling point N and the feature point P0, the sampling point N and the feature point P1, ..., the sampling point N and the feature point P35. For example, if the first coordinate is (X1, Y1) and the second coordinate is (Xn, Yn), the distance dn between the sampling point N and the feature point Pn (n is a natural number) can be calculated using the distance formula between the two points, dn = Math.sqrt(|(X1-Xn)*(X1-Xn)+(Y1-Yn)*(Y1-Yn)|).
[0046] The processor 30 can calculate the weight of each feature point Pn according to the distance between the feature point Pn and the sampling point N. For example, the weight is the reciprocal of the distance, that is, the larger the distance, the smaller the weight. For another example, in order to normalize the weight and facilitate subsequent calculations, the reciprocal of the distance can be used as the distance ratio, and then the weight of each feature point is determined according to the distance ratio corresponding to each feature point and the sum of the distance ratios of all feature points, such as the ratio of the distance ratio corresponding to each feature point and the sum of the distance ratios of all feature points as the weight of each feature point. Take the distance between the feature point Pn and the sampling point N as dn as an example, where n is a natural number, and the weight of each feature point Pn = (1 / dn) / (1 / d0+1 / d1+…+1 / dn). It can be seen from the above formula that the larger the distance, the smaller the weight.
[0047] Alternatively, instead of calculating the distance between the sampling point N and the feature point Pn, only the square of the distance between the sampling point N and the feature point Pn is calculated as the distance value, that is, |(X1-Xn)*(X1-Xn)+(Y1-Yn)*(Y1-Yn)|; or, the calculated distance between the sampling point N and the feature point Pn is further mathematically transformed to obtain a distance value positively correlated with the distance, and then the weight of each feature point is calculated based on the distance value, such as using the inverse of the distance value as the weight of each feature point.
[0048] In this way, for the sampling point N of the currently displayed application icon M, the weight of each feature point Pn can be calculated.
[0049] See also Fig.10 In some embodiments, the feature points, the target positions and the target sizes correspond one to one, and step 013 further includes the following steps:
[0050] 0131: Calculate the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point;
[0051] 0132: Calculate the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and
[0052] 0133: Display the currently displayed application icon according to the display position and display size.
[0053] Please refer again Figure 2 In some embodiments, the display module 13 is further used to execute step 0131, step 0132 and step 0133. That is, the display module 13 is further used to calculate the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point; calculate the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and display the currently displayed application icon according to the display position and the display size.
[0054] Please refer again Figure 3 In some embodiments, the processor 30 is further configured to calculate the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point; calculate the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and control the display 20 to display the currently displayed application icon according to the display position and the display size. That is, step 0131, step 0132 and step 0133 can be implemented by the processor 30.
[0055] For details, please refer again to Figure 4 and Figure 5 , each feature point is the center of the application icon M in the initial state. After the user adjusts the position and size of each application icon M through input operation, the position and size of the application icon M corresponding to the feature point change to the target position and target size. The feature point, target size and target position correspond to each other one by one, and all correspond to the same application icon M.
[0056] When adjusting the size and position of the currently displayed application icon corresponding to the sampling point according to the weight of each feature point corresponding to the sampling point, the processor 30 first calculates the display position of the currently displayed application icon M according to the weight of each feature point corresponding to the sampling point and the target position corresponding to each feature point. For example, the weight of the feature point Pn is Wn, the coordinates of the target position are (Xn, Yn), and n is a natural number. The abscissa of the display position can be calculated according to the weight of each feature point corresponding to the sampling point and the abscissa of the target position corresponding to each feature point, that is, the abscissa of the display position = X0*W0+X1*W1+…+Xn*Wn; the ordinate of the display position can be calculated according to the weight of each feature point corresponding to the sampling point and the ordinate of the target position corresponding to each feature point, that is, the ordinate of the display position = Y0*W0+Y1*W1+…+Yn*Wn.
[0057] The processor 30 can then calculate the display size of the currently displayed application icon based on the weight of each feature point corresponding to the sampling point and the target size corresponding to each feature point. For example, the weight of the feature point Pn is Wn, the target size is Rn, n is a natural number, then the display size = R0*W0+R1*W1+...+Rn*Wn.
[0058] In this way, since the weight of the feature point closer to the sampling point is greater, the display size and display position are most affected by the target size and target position corresponding to the feature point closest to the sampling point, so that the display size and display position of the currently displayed application icon conform to the user-defined arrangement rules.
[0059] Please refer again Figure 6In other embodiments, in order to improve the calculation efficiency of the display position and the display size, the weight of each feature point corresponding to all sampling points of the display area 21 can be calculated in advance, and the sampling point and the weight of each feature point corresponding to it can be associated and stored in the database as sampling point data. Then, after obtaining the position of the sampling point of the currently displayed application icon M, the sampling point data with the smallest distance from the sampling point of the currently displayed application icon M is found from the database to calculate the display size and the display position. Therefore, there is no need to calculate the weight of each feature point corresponding to the sampling point in real time, but the matching sampling point data is directly queried from the database, which can improve the calculation efficiency of the display size and the display position, so that when the display area 21 slides, the change of the application icon M is smoother.
[0060] See also Fig.11 , a non-volatile computer-readable storage medium 300 storing a computer program 302 according to an embodiment of the present application, when the computer program 302 is executed by one or more processors 30, the processor 30 can execute the display method of any of the above embodiments.
[0061] For example, please combine Figure 1 , when the computer program 302 is executed by one or more processors 30, the processor 30 performs the following steps:
[0062] 011: adjusting the size and position of the application icon in the display area according to the input operation to determine the target size and target position of each application icon;
[0063] 012: Calculate the weight of each feature point based on the distance from the sampling point to each feature point in the display area. The sampling point is located at the center of the currently displayed application icon. The feature point is located at the center of each application icon when the application icon is displayed in the display area in the initial state. The distance and the weight are negatively correlated.
[0064] 013: Display the currently displayed application icon according to the target size, target position and weight.
[0065] For another example, please combine Figure 7 When the computer program 302 is executed by one or more processors 30, the processor 30 may further perform the following steps:
[0066] 0121: Establish a reference coordinate system with the center of the display area 21 as the origin;
[0067] 0122: Calculate the distance from the sampling point to each feature point according to the first coordinate and the second coordinate. The first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the feature point in the reference coordinate system.
[0068] 0123: Calculate the weight of each feature point corresponding to the sampling point based on the distance.
[0069] For another example, please combine Fig.10 When the computer program 302 is executed by one or more processors 30, the processor 30 may further perform the following steps:
[0070] 0131: Calculate the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point;
[0071] 0132: Calculate the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and
[0072] 0133: Display the currently displayed application icon according to the display position and display size.
[0073] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0074] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of a program code that includes one or more steps for implementing a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0075] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A display method, characterized in that: include: adjusting the size and position of the application icon in the display area according to the input operation to determine a target size and a target position of each of the application icons; Calculate the weight of each feature point according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each application icon when the display area displays the application icon in an initial state, and the distance is negatively correlated with the weight; Calculating the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point, wherein the feature point, the target position and the target size correspond to each other one by one; Calculating the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and The currently displayed application icon is displayed according to the display position and the display size.
2. The display method according to claim 1, characterized in that: In the initial state, each of the application icons in the display area is arranged in a matrix according to a predetermined size.
3. The display method according to claim 1, characterized in that: Calculating the weight of each feature point according to the distance from the sampling point to each feature point in the display area includes: Establishing a reference coordinate system with the center of the display area as the origin; Calculate the distance from the sampling point to each of the feature points according to a first coordinate and a second coordinate, wherein the first coordinate is the coordinate of the sampling point in the reference coordinate system, and the second coordinate is the coordinate of the feature point in the reference coordinate system; The weight of each of the feature points corresponding to the sampling point is calculated according to the distance.
4. The display method according to claim 3, characterized in that: The calculating the weight of each of the feature points corresponding to the sampling point according to the distance includes: The weight of each feature point is calculated according to the distance ratio corresponding to each feature point and the sum of the distance ratios corresponding to all feature points, and the distance ratio is determined according to the distance.
5. The display method according to claim 1, characterized in that: Also includes: When the distance is less than a predetermined value, the distance is determined as the predetermined value.
6. A display device, characterized in that: include: An adjustment module, used for adjusting the size and position of the application icon in the display area according to the input operation, so as to determine the target size and target position of each application icon; a calculation module, configured to calculate the weight of each feature point according to the distance from the sampling point to each feature point in the display area, wherein the sampling point is located at the center of the currently displayed application icon, and the feature point is located at the center of each application icon when the display area displays the application icon in an initial state, and the distance is negatively correlated with the weight; a display module, configured to calculate a display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point, wherein the feature point, the target position and the target size correspond to each other; calculate a display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point; and display the currently displayed application icon according to the display position and the display size.
7. A terminal, characterized in that: The device comprises a display and a processor, wherein the processor is used to adjust the size and position of the application icons in the display area according to the input operation to determine the target size and target position of each of the application icons; Calculate the weight of each feature point according to the distance from the sampling point to each feature point in the display area, the sampling point is located at the center of the currently displayed application icon, the feature point is located at the center of each application icon when the application icon is displayed in the display area in an initial state, the distance is negatively correlated with the weight, calculate the display position of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target position corresponding to the feature point, wherein the feature point, the target position and the target size are in one-to-one correspondence; calculate the display size of the currently displayed application icon according to the weight of each feature point corresponding to the sampling point and the target size corresponding to the feature point, and control the display to display the currently displayed application icon according to the display position and the display size; The display is used to display the currently displayed application icon.
8. The terminal according to claim 7, characterized in that: In the initial state, each of the application icons in the display area is arranged in a matrix according to a predetermined size.
9. The terminal according to claim 7, characterized in that: The processor is also used to establish a reference coordinate system with the center of the display area as the origin; calculate the distance from the sampling point to each of the feature points according to the first coordinate and the second coordinate, the first coordinate being the coordinate of the sampling point in the reference coordinate system, and the second coordinate being the coordinate of the feature point in the reference coordinate system; and calculate the weight of each of the feature points corresponding to the sampling point according to the distance.
10. The terminal according to claim 9, characterized in that: The processor is further configured to calculate the weight of each feature point according to a distance weight corresponding to each feature point and a sum of distance weights corresponding to all feature points, wherein the distance weight is determined according to the distance.
11. The terminal according to claim 7, characterized in that: The processor is further configured to determine the distance as the predetermined value when the distance is less than the predetermined value.
12. A non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, enables the processors to execute the display method according to any one of claims 1 to 5.
