CN111338529B - Icon display method and electronic equipment - Google Patents

Icon display method and electronic equipment Download PDF

Info

Publication number
CN111338529B
CN111338529B CN202010122843.4A CN202010122843A CN111338529B CN 111338529 B CN111338529 B CN 111338529B CN 202010122843 A CN202010122843 A CN 202010122843A CN 111338529 B CN111338529 B CN 111338529B
Authority
CN
China
Prior art keywords
input
area
sliding
icons
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010122843.4A
Other languages
Chinese (zh)
Other versions
CN111338529A (en
Inventor
孙海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010122843.4A priority Critical patent/CN111338529B/en
Publication of CN111338529A publication Critical patent/CN111338529A/en
Application granted granted Critical
Publication of CN111338529B publication Critical patent/CN111338529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Abstract

The invention discloses an icon display method and electronic equipment, comprising the following steps: receiving a first input of a user; updating display positions of the N first icons from the first area to the second area in response to the first input; wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer. Therefore, the problem that the user cannot or cannot reach the application icon of the target application at a longer distance can be solved, the user can flexibly adjust the display position of the application icon in the interface, and then flexibly sends out the control instruction, and the user experience is improved.

Description

Icon display method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an icon display method and an electronic device.
Background
With the continuous development of science and technology, the performance of mobile phone products is continuously improved. Especially, the improvement of the battery technology leads the screen of the mobile phone to be larger and larger.
The large screen mobile phone can bring better visual enjoyment, but the larger size of the mobile phone also brings some defects. Generally, a user needs to coordinate operations of two hands to complete operations on a mobile phone interface or operations on an application icon fixedly arranged in a certain interface area. When a user uses one-handed operation, the application icon of a target application which is far away from the user cannot be or is difficult to reach due to the large screen of the mobile phone.
Disclosure of Invention
The embodiment of the invention provides an icon display method and electronic equipment, which can solve the problem that a user cannot or is difficult to reach an application icon with a long distance.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an icon display method is provided, including:
receiving a first input of a user;
updating display positions of the N first icons from the first area to the second area in response to the first input;
wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer.
In a second aspect, an electronic device is provided, comprising:
the first receiving module receives a first input of a user;
a first updating module, which responds to the first input and updates the display positions of the N first icons from the first area to the second area;
wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer.
In a third aspect, an electronic device is provided, which comprises a processor, a memory and a computer program stored on the memory and being executable on the processor, which computer program, when executed by the processor, performs the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method as described in the first aspect.
In the embodiment of the invention, a first input of a user is received; updating display positions of N first icons from a first area to a second area in response to the first input, wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer. Through the scheme provided by the embodiment of the invention, the user can flexibly adjust the display position of the application icon. For electronic equipment with a larger screen, through the scheme provided by the embodiment of the application, a user can adjust the application icons in positions which are difficult to reach into the areas which are easy to reach, so that the application icons displayed in the areas can be flexibly manipulated.
Drawings
Fig. 1 is a schematic flow chart illustrating an icon displaying method according to the present invention.
FIG. 2a is a second schematic flow chart illustrating a method for displaying icons according to the present invention.
Fig. 2b to 2d are schematic diagrams illustrating the positional relationship between the second region and the third region according to the embodiment of the present invention.
Fig. 2e is one of schematic terminal interfaces provided by an embodiment of the present invention.
Fig. 2f is a second schematic diagram of a terminal interface according to an embodiment of the invention.
Fig. 2g is a third schematic diagram of a terminal interface according to an embodiment of the present invention.
FIG. 3 is a third flowchart illustrating a method for displaying icons according to the present invention.
FIG. 4 is a fourth flowchart illustrating a method of displaying icons according to the present invention.
FIG. 5a is a fifth flowchart illustrating the icon displaying method according to the present invention.
Fig. 5b is a fourth schematic diagram of a terminal interface according to an embodiment of the present invention.
Fig. 5c is a fifth schematic diagram of a terminal interface according to an embodiment of the present invention.
FIG. 6 is a sixth flowchart illustrating a method for displaying icons according to the present invention.
FIG. 7a is a seventh flowchart illustrating a method of displaying icons according to the present invention.
Fig. 7b and 7c are schematic interface diagrams based on cyclic shift of two-finger input according to the embodiment of the present invention.
Fig. 7d and 7e are schematic interface diagrams of the sliding shift based on the two-finger input according to the embodiment of the invention.
FIG. 8a is an eighth schematic flow chart illustrating a method for displaying icons according to the present invention.
Fig. 8b and 8c are schematic interface diagrams of cyclic shift based on single-finger input according to the embodiment of the invention.
Fig. 8d is a sixth schematic diagram of a terminal interface according to an embodiment of the present invention.
FIG. 9 is a ninth flowchart illustrating a method for displaying icons according to the present invention.
Fig. 10a and 10b are schematic diagrams of terminal interface interaction provided by the embodiment of the invention.
Fig. 11a to 11h are schematic software module diagrams of an electronic device according to an embodiment of the present invention.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
It should be noted that, in the present invention, the terminal interface operation scheme is applicable to electronic devices, for example: mobile phones, tablet computers, and the like can install and use application programs.
In the invention, the terminal interface operation scheme can be suitable for a one-hand operation scene or a two-hand operation scene. It should be understood that, when the terminal interface is operated, the display positions of the N first icons in the terminal interface can be updated from the first area to the second area according to the first input of the user to the terminal interface, so that the application icons of the target application that the user wants to use can be adjusted to the area that the user's finger conveniently touches by updating the display positions of the application icons, the operation difficulty is reduced, and the operation convenience is improved.
Referring to fig. 1, a schematic diagram of steps of a terminal interface operation method according to an embodiment of the present invention is shown, where the method may include the following steps:
step 101: a first input is received from a user.
The first input may be an input generated by a user touching the terminal interface, and the user may perform the input on the terminal interface through a finger, or may perform the input through a stylus or other devices. The first input may include a click input, a long press input, a swipe input, and the like. The first input is used for indicating the terminal equipment to update the display position of the icon.
It should be understood that in the embodiment of the present invention, the scheme for operating the terminal interface may be performed in the exchange operation mode by default. The switching operation mode is not limited to single-hand operation, and can be operated by two hands.
Optionally, before step 101, the switching operation mode may be entered based on the operation of the terminal interface by the user. Specifically, the fingerprint of at least one finger of the user may be recorded in advance, and after receiving an operation (click, press, or slide) of any finger recording the fingerprint, the switching operation mode is entered.
Step 102: in response to the first input, display positions of the N first icons are updated from the first area to the second area.
Wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer.
The operation control area may be an area that is easy to be operated by a user, and when the user operates the operation control area with one hand, the operation control area may be an area that is operable with one hand of the user. Further, before step 101 is executed, an operation area may be set in advance. The preset target operation area may be the whole area or a partial area in the terminal interface. For example, referring to fig. 2a, the target operation area in the terminal interface is the entire area of the terminal interface, that is, the application icons of at least two areas in the entire area may be exchanged based on the first sub-operation of the user on the target operation area in the terminal interface. Therefore, the application icons in the determined target operation area can be directly exchanged, and the operation is more flexible.
In the embodiment of the present invention, the application icons in the target operation area may be highlighted or flicked during actual operation to distinguish the application icons in the target operation area. In the illustration according to the present invention, the application icon defining the grid pattern is an application icon within the target operation region.
The scheme provided by the embodiment of the application is suitable for various operation scenes, for example, the scheme can be applied to a scene that a user operates the electronic equipment by one hand. When the user operates the mobile phone with one hand of the right hand, the operation area can be an area which can be conveniently touched by the thumb of the right hand of the user. When the method is applied to a scene that a user operates the electronic device with two hands, the operation area can be an area which can be conveniently touched by the left thumb and the right thumb of the user.
Through the scheme provided by the embodiment of the invention, the user can flexibly adjust the display position of the application icon. For electronic equipment with a larger screen, through the scheme provided by the embodiment of the application, a user can adjust the application icons in the positions which are difficult to reach into the areas which are easy to reach, so that the application icons displayed in the areas can be flexibly manipulated.
Optionally, in this embodiment of the present invention, in step 101, receiving a first input from a user, as shown in fig. 2a, includes:
step 201: receiving a sliding input of a user in a third area, at least part of the third area coinciding with the second area;
referring to fig. 2b to 2d, the area indicated by dotted lines is a third area, and the area indicated by dotted lines is a second area, wherein the third area may include the second area, and the second area is included in the third area as shown in fig. 2 b. Alternatively, the second region includes a third region, as shown in fig. 2c, the region indicated by dotted dashed lines is the second region, and the third region is included in the second region. Or a part of the third area overlaps the second area as shown in fig. 2 d. The slide input may include, for example: single finger directional slide input, single finger rotary slide input, double finger zoom-in slide input, double finger rotary slide input, single finger press slide input, and the like. The third area is at least partially overlapped with the operation control area, and a user can conveniently perform input in the third area.
The step 102, in response to the first input, of updating the display positions of the N first icons from the first area to the second area includes:
step 202: acquiring a sliding parameter of the sliding input;
optionally, in an embodiment of the present invention, the sliding parameter includes at least one of: sliding direction, sliding distance, sliding track;
wherein, under the condition that the sliding parameters comprise sliding directions, different sliding directions are associated with icons of different areas; under the condition that the sliding parameters comprise sliding distances, associating the number of icons with different sliding distances; in a case where the slide parameter includes a slide trajectory, the N first icons and the N second icons are determined based on an area through which the slide trajectory passes.
According to the sliding parameters of the sliding input, the associated N first icons can be selected. Specifically, the area where the selected icon is located is determined based on the sliding direction, the number of the selected icons is determined based on the sliding distance, and the first icon required is selected based on the sliding track.
Step 203: and determining N first icons and N second icons which are associated with the sliding parameter, wherein the N second icons are displayed in a second area.
And the number of the second icons in the second area is the same as that of the first icons associated with the sliding parameters. Optionally, the relative position of the second icon in the second area may be the same as the relative position of the first icon in the first area.
Step 204: and updating the display positions of the N first icons from the first area to the second area, and updating the display positions of the N second icons from the second area to the first area.
The second area may be an area that is easy for a user to operate, for example, when the user operates the mobile phone with one hand, the second area may be an area that can be reached by one hand of the user. In the scheme provided by this embodiment, after the display positions of the N first icons are updated from the first area to the second area, the user can conveniently control the N first icons displayed in the second area, and the convenience in operation of the user is improved.
Referring to fig. 2e, when a single-finger up-down slide input is received, the application icons of the upper and lower two screen areas are switched in position. In this embodiment, the first region may be a lower screen region, and the second region may be an upper screen region. The application icons displayed above and below the screen can be exchanged through the above exchange. When a user holds the terminal equipment with one hand, the icons displayed above the screen can be moved to the lower area which is easy to operate through the scheme, and the operation of each application icon in the interface can be flexibly executed.
In this embodiment, the N associated first icons and N associated second charts may be determined according to the slide parameter of the slide input. For example, when the slide input is upward sliding, the area above the starting position of the slide input is determined as the area to be selected, and which icon or icons in the area to be selected is/are determined as the first icon according to the sliding distance. For example, the larger the sliding distance, the farther the selected icon is from the start point of the sliding input, or the larger the sliding distance, the larger the number of selected icons. In addition, different icons can be selected according to the sliding track, for example, in the process of sliding upwards, if the icon is slid upwards to the left, the icon on the left side of the selected area is selected, and if the icon is slid upwards to the right, the icon on the right side of the selected area is selected. The number and the positions of the specifically selected icons can be determined according to the sliding track.
The sliding input may also be an input having a plurality of sliding directions, for example, if the sliding input first slides left and then right, a list of icons may be determined according to the distance the sliding input slides left, and then a list of icons may be determined according to the distance the sliding input slides right. The positions of the two columns of icons selected are swapped according to the slide input.
Specifically, referring to fig. 2f, when the finger presses on the center of the application 17, the application 18, the application 21, and the application 22, the selection area is diffused according to the pressing time length or the pressing pressure degree, for example, the longer the pressing time length is, the larger the diffusion range of the selection area is, the more application icons are selected; the larger the pressing force degree is, the larger the diffusion range of the selection area is, and the more application icons are selected. It should be understood that the selected target operation region may be determined based on the pressing time or the pressing force degree alone, or may be determined in consideration of the pressing time and the pressing force degree in combination.
Referring to fig. 2g, when the finger presses the position corresponding to the bottom row of application, the selected region is also diffused according to the pressing time and/or the pressing force, which is different from the above diffusion method, for example, the selected region is diffused toward a single direction, and the row or column corresponding to the pressed position of the finger is selected as the target operation region. The longer the pressing time is, the larger the diffusion range of the selection area is, and the more application icons are selected; the larger the pressing force degree is, the larger the diffusion range of the selected area is, and the more application icons are selected. It should be understood that the selected target operation region may be decided based on the pressing time or the pressing force degree alone, or may be decided in consideration of the pressing time and the pressing force degree in combination.
For another example, referring to fig. 2f, the target operation area may be an area selected in advance by the user, and then, taking the row of the icon corresponding to the application 17 as a central axis, the area between the row of the application 17 and the application 18, the half area of the row of the application icon corresponding to the application 19 and the area between the rows of the application icons corresponding to the application 13, the application 14 and the application 15 are first areas, and the area between the row of the application 17 and the application 18 and the half area of the row of the application icon corresponding to the application 19 and the area between the rows of the application icons corresponding to the application 21, the application 22 and the application 23 are second areas; in this way, at the time of exchange, only the application icons corresponding to the applications 13, 14, and 15 and the application icons corresponding to the applications 21, 22, and 23 need to be exchanged.
If the operation is the double-finger pressing operation, the operation area pressed and selected by one finger is the first area, and the operation area pressed and selected by the other finger is the second area.
Similar to the above-mentioned single-finger pressing operation, referring to fig. 2g, one finger presses the area where the four application icons in the lower left corner are selected as the first area, and the other finger presses the area where the four application icons in the upper right corner are selected as the second area.
Therefore, the selection mode and the realization mode of the first area and the second area in the target operation area are more diverse and flexible, and more operation selection and better use experience are provided for users.
According to the scheme provided by the embodiment, the icon needing to be updated in the display position can be flexibly selected through the first input, and the associated icon can be determined by adjusting parameters such as the sliding direction, the sliding distance and the sliding track of the sliding input when the first input is the sliding input. The mode of selecting the icon is flexible and the operation is simple.
Optionally, in this embodiment of the present invention, before the step 101 receives the first input of the user, as shown in fig. 3, the method further includes:
step 301: receiving a second input of the user;
the second input may be, for example, a click, a long press, a slide, or the like, and may be used to select several icons, or may be used to pre-select a range in which a desired icon is located before the icon is selected.
Step 302: in response to the second input, updating M icons of the target area to target display states;
wherein the target display state indicates that the M icons are in a selected state, and the target area is an area of a target range including an input position of the second input; m is a positive integer, and M is more than or equal to N.
Updating the M icons of the target area to the target display state can clearly present the icon selected by the user by performing the second input, so that the user can confirm or adjust the selected icon.
Optionally, in this embodiment of the present invention, in step 302, in response to the second input, updating the M icons in the target area to be in the target display state, as shown in fig. 4, where the updating includes:
step 401: selecting the target area based on input parameters of the second input in response to the second input;
step 402: updating the display states of the M icons in the target area to be selected states;
wherein the input parameters include at least one of: input duration, input strength and input area.
The second input can be, for example, a click, a long press, a slide and the like, and the selected target area is determined according to input parameters of the second input, such as the input duration, the input strength, the input area and the like. And updates the display state of the icons contained in the target area to the selected state.
For example, the second input may be a click input of a single-finger operation, in which case, the center position of the selected target region may be determined according to the region of the click input, and the range of the selected target region may be determined according to the input duration and the input strength. For example, the input duration is positively correlated with the area of the selected target region, and the longer the input duration of the second input, the larger the range of the selected target region. Similarly, the area of the selected target region may also be positively correlated with the input force, i.e., the larger the input force, the larger the area of the selected region, etc.
Optionally, in an embodiment of the present invention, the second input includes a first sub-input and a second sub-input;
as shown in fig. 5a, the selecting the target area based on the input parameters of the second input in step 401 includes:
step 501: determining a first sub-region based on a first input parameter of the first sub-input;
step 502: determining a second sub-region based on a second input parameter of the second sub-input;
wherein the target region comprises the first sub-region and a second sub-region, the first input parameter comprises at least one of: inputting duration, inputting strength and inputting area; the second input parameter comprises at least one of: input duration, input strength and input area.
The second input may include a plurality of sub-inputs, and in this embodiment, the second input includes a first sub-input and a second sub-input, and the target area is selected according to the plurality of sub-inputs in the second input.
For example, the first sub-region is selected according to the input parameters such as the input duration, the input strength, and the input region of the first sub-input in the second input, and then the second sub-region is selected according to the input parameters such as the input duration, the input strength, and the input region of the second sub-input in the second input. Wherein the input parameter may be related to the area, shape, etc. of the selected area.
By the scheme provided by the embodiment, the required target area can be flexibly selected by executing the second input. When the second input comprises a plurality of sub-inputs, icons in different areas and different numbers can be selected according to the plurality of sub-inputs, and the flexibility is better.
Referring to fig. 5b, selecting the first sub-area according to the first sub-input may include the application 13, the application 17, and the application 21, and selecting the second sub-area according to the second sub-input may include the application 15, the application 19, and the application 23. After the target area is selected, the application icons in the two sub-areas can be updated to be in a selected state so as to present icons to be exchanged, and the user can further execute a shifting operation according to the icons in the selected state. For example, a left-right direction sliding operation may be subsequently performed to swap the application icon of the first sub-area with the application icon of the second sub-area.
Referring to fig. 5c, selecting the first sub area according to the first sub input may include the application 13, the application 14, and the application 15, and selecting the second sub area according to the second sub input may include the application 21, the application 22, and the application 23. After the target area is selected, the application icons in the two sub-areas can be updated to be in a selected state so as to present icons to be exchanged, and the user can further execute a shifting operation according to the icons in the selected state. For example, a downward direction swipe operation may then be performed to swap the application icon of the first sub-area with the application icon of the second sub-area.
Optionally, in the embodiment of the present invention, the second input is a single-point touch input;
as shown in fig. 6, the above step 401: the selecting the target area based on the input parameters of the second input comprises:
step 601: acquiring a first touch parameter and a second touch parameter of the touch input, wherein the first touch parameter is a touch area, and the second touch parameter comprises touch duration or touch strength;
step 602: selecting an area including a target range of the touch area as a target area based on the second touch parameter;
wherein the target range is determined based on the second touch parameter.
The second input is a single-point touch input, which may be an input formed by clicking a screen with a finger, for example. The first touch parameter may be a position where the finger clicks the screen, and the target range may be determined according to the click position. The second touch parameter may be a duration or a strength of the screen clicked by the finger. When the second touch parameter is a touch duration, the longer the touch duration is, the larger the area of the determined target region is. Similarly, when the second touch parameter is a touch strength, the larger the touch strength is, the larger the area of the determined target area is.
And determining a target range according to the touch area, determining the size of the target area according to the touch strength or duration, and further determining the target area.
By the scheme provided by the embodiment, the target area can be determined according to single-point touch. In practical application, a user can select a target area by performing a simple single-point touch operation, and then adjust the display position of an icon of the target area. The operation process is simple and quick, and the selection mode is flexible.
Optionally, in an embodiment of the present invention, the first input is a two-finger sliding input, where the first input includes a first sliding sub-input and a second sliding sub-input; n is 1;
as shown in fig. 7a, the updating the display positions of the N first icons from the first area to the second area in response to the first input, in step 102, includes:
step 701: and acquiring a first sliding parameter input by the first sliding sub and a second sliding parameter input by the second sliding sub, wherein the first sliding parameter comprises a first sliding track, a first sliding direction and a first sliding distance, and the second sliding parameter comprises a second sliding track, a second sliding direction and a second sliding distance.
The first sliding sub-input and the second sliding sub-input may be inputs respectively executed by left and right hands when the user operates with both hands.
Step 702: and determining T icons passed by the first sliding track and the second sliding track.
Step 703: a first displacement direction is determined based on the first and second sliding directions.
The first shift direction of the embodiment of the present invention refers to the direction of icon movement, and referring to fig. 7b, in the embodiment, the first sliding sub-input and the second sliding sub-input are two-finger rotating sliding inputs, which can be used for two adjacent application icon exchange positions. Where either a clockwise rotation or a counter-clockwise rotation is possible, the first direction of displacement shown in fig. 7b is a clockwise rotation input. The first and second sliding trajectories pass through the application 14, the application 15, the application 18, and the application 19.
Step 704: a first shift amount is determined based on the first sliding distance and the second sliding distance.
The first shift amount of the embodiment of the present invention may refer to a distance that the icon moves, that is, a distance of how many icons move, for example, the icon 21 in fig. 7c is moved to a position where the icon 22 is located, that is, a distance of 1 icon is moved; if the icon 21 in fig. 7c is moved to the position of the icon 23, the distance is 2 icons. In addition, a relationship between the sliding distance and the amount of shift may also be preset, for example, the first amount of shift is one unit length when the sliding distance is less than 2 cm, and the first amount of shift is two unit lengths when the sliding distance is greater than 2 cm. In this embodiment, the first shift amount is determined according to the actual length of the sliding distance, and in the practical application process, the first shift amount may also be determined according to other standards as required, for example, the first shift amount is a preset length multiple of the sliding distance, and in addition, the first shift amount may also be determined by combining parameters such as the sliding time length and the pressing force during sliding.
Step 705: sequentially moving each of the T icons in the first shift direction based on the first shift amount.
The T icons comprise first icons, the first icons are located in a first area before movement, and the first icons are located in a second area after movement; t is an integer greater than 1. Referring to fig. 7b, the shifted application 15 moves from the second area to the first area. Referring to fig. 7c, the post-shift application 24 moves from the second region to the first region.
For example, the scheme provided by this embodiment may be used to perform cyclic shift on the icon. When the application icon is cyclically shifted, the direction of the shift is determined based on the direction of the slide input. For example, if the first sliding track and the second sliding track pass through a row of application icons, for the sliding input of a row of application icons, if the sliding is performed leftward, the application icons corresponding to the row are circularly shifted leftward respectively, and the application icon positioned at the leftmost position is circularly shifted to the rightmost position of the row, that is, from the head position to the tail position. The distance of the shift icon, that is, the shift amount, can be determined according to the slide distance of the slide input. When the first sliding track and the second sliding track pass through the plurality of icons, each icon in the plurality of icons is moved in turn.
Referring to fig. 7d, first, based on the two-finger pressing operation, regions are respectively selected from the lower left corner and the upper right corner in the screen as target operation regions. Then, the application icons of the two areas in the target operation area are exchanged for positions based on the first input. Wherein, the first input is a double-finger zoom-in sliding input. The applications 3, 4, 7, and 8 in the upper right corner first area are swapped in position with the applications 17, 18, 21, and 22 of the second area according to the first input.
Referring to fig. 7e, first, based on the two-finger click input, areas of two application icons are selected from the screen as target operation areas. Then, the two application icons in the target operation area are swapped for position based on the first input. Wherein, the first input is a double-finger zoom-in sliding input. The application 7 in the first area is swapped in position with the application 18 in the second area according to the first input.
Through the scheme provided by the embodiment, cyclic shift can be performed on a plurality of icons, and when a user needs to move a plurality of icons, the icons passed by the sliding tracks can be shifted by only controlling the sliding tracks of the sliding input. The first icon positioned in the first area before the movement is positioned in the second area after the movement, and the user can conveniently perform subsequent operations on the icon in the second area.
According to the scheme provided by the embodiment, the display position of the icon can be flexibly adjusted, the icon in any area can be controlled through one-hand operation, and the holding position does not need to be adjusted in the operation process to select the required target. Thereby improving overall operational flexibility.
Optionally, in an embodiment of the present invention, the first input is a single-finger sliding input, where N is 1;
as shown in fig. 8a, the step 402, in response to the first input, of updating the display positions of the N first icons from the first area to the second area includes:
step 801: acquiring a third sliding parameter input by the single-finger sliding, wherein the third sliding parameter comprises a third sliding track, a third sliding direction and a third sliding distance;
step 802: based on the third sliding direction, a second displacement direction is determined.
The second shift direction in the embodiment of the present invention refers to a direction in which the icons move, for example, a scene in which a certain row of icons is cyclically shifted, and the second shift direction may be left or right; in the scenario of cyclic shift of a column of icons, the second shift direction may be up or down.
Step 803: determining a second shift amount based on the third sliding distance;
step 804: sequentially moving each of the M icons in the second shift direction based on the second shift amount;
and the first icon is positioned in the first area before the movement, and the first icon is positioned in the second area after the movement.
Referring to fig. 8b, the single-finger swipe input is shown as a black arrow in the figure, and the third swipe track in the third swipe parameter passes through application 15, application 16, application 20, application 24, application 25, application 22, and application 18. The third sliding direction is clockwise. In addition, the second displacement amount is determined according to the sliding distance of the single-finger sliding input, for example, a relationship between the sliding distance and the displacement amount may be preset, for example, the displacement amount is a preset multiple of the sliding distance.
In this embodiment, the second shift direction and the second shift amount are determined according to the third sliding parameter of the single-finger sliding input, and then each of the M icons is shifted accordingly. The M icons in this embodiment may include application 15, application 16, application 20, application 24, application 25, application 22, and application 18, the second shift amount may be an icon distance, the shift direction is clockwise, and the interface after the shift is as shown in fig. 8 c.
Referring to fig. 8d, first, based on the pressing operation, a row of application icon corresponding regions is selected from the screen as a target operation region; then, based on one left slide input, the plurality of application icons in the target operation area are circularly exchanged in position. The third sliding direction of the single finger sliding input in the present embodiment is from right to left, thereby determining that the second shifting direction is shifted from right to left. The sliding operation starts from the application 23 to the application 22 ends, and the sliding distance is seen to be 1 icon distance, thereby determining that the second shift amount is 1 application distance. The icons in the selected row are sequentially moved based on the second shift direction and the shift distance, and the interface after the movement is shown on the right side of fig. 8 d.
Through the scheme provided by the embodiment, M icons can be shifted. Wherein the direction of the shift is determined according to the direction of the slide input, and the amount of the shift is determined according to the distance of the slide. When M is greater than 1, the icons are sequentially moved. Through shifting, the M icons are shifted from the first area to the second area, a user can conveniently operate the icons in the second area, and the holding gesture is prevented from being adjusted in the operation process.
Optionally, in this embodiment of the present invention, as shown in fig. 9, after the step S102, in response to the first input, updates the display positions of the N first icons from the first area to the second area, the method further includes:
step 901: displaying a target control;
step 902: receiving a third input of the user;
step 903: in response to the third input, updating the target control to a first display state, the first display state indicating a locked mode;
step 904: in response to receiving a fourth input by the user, updating the target control to a second display state in response to the fourth input, the second display state indicating an unlocked mode.
When the locking control is in a locked state, after an application corresponding to any application icon in the target operation area is used, the target operation area keeps the layout of the exchanged application icons;
when the locking control is in the unlocking state, after the application corresponding to any application icon in the target operation area is used, the target operation area recovers the layout of the application icons before the exchange.
Referring to fig. 10a, application icons of left and right screen areas may be switched in position as indicated by arrows in fig. 10a based on a one-finger left-right slide input; after swapping positions, a lock control appears in the screen, such as the little-lock identification shown in FIG. 10 a; and setting the locking control piece to be in a locking state or an unlocking state based on the operation of the locking control piece by the user. When the lock control is in a locked state, referring to fig. 10a, after an application corresponding to any application icon in the target operation area is used, the target operation area maintains the layout of the exchanged application icons; when the lock control is in the unlocked state, referring to fig. 10b, after an application corresponding to any application icon in the target operation area is used, the target operation area recovers the layout of the application icons before the exchange.
In the embodiment of the invention, a first input of a user to a terminal interface is received; the application icons of at least two areas in the target operation area in the terminal interface are exchanged based on the first input, so that the problem that the user cannot or is difficult to reach the application icon of the target application with a long distance can be solved, and the user experience is improved.
Optionally, in an embodiment of the present invention, the locking mode specifically includes: after the current interface is updated to be the target interface, the N first icons are kept displayed in the second area;
the non-locking mode specifically includes: and after the current interface is updated to be the target interface, the N first icons are restored to the first area for display.
The following describes the terminal interface operation scheme of the present invention in detail by using several specific examples, it should be understood that the present invention is not limited to the following examples, and the following is implemented in the switching operation mode.
Through the scheme provided by the embodiment of the invention, the user can flexibly adjust the display position of the application icon. For electronic equipment with a larger screen, through the scheme provided by the embodiment of the application, a user can adjust the application icons in the positions which are difficult to reach into the areas which are easy to reach, so that the application icons displayed in the areas can be flexibly manipulated. In the control process, the user can control the parameters such as the number and the direction of the shift application icons by changing the input parameters such as the track and the direction, and the operation is simple and flexible. In addition, in the process of executing operation by the user, the holding posture does not need to be adjusted, and the use experience of the user is optimized.
In order to solve the problems in the prior art, an embodiment of the present application further provides an electronic device 1100, as shown in fig. 11a, including:
a first receiving module 1101 that receives a first input of a user;
a first updating module 1102 for updating the display positions of the N first icons from the first area to the second area in response to the first input;
wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer.
In the embodiment of the invention, the electronic equipment provided by the embodiment receives a first input of a user to a terminal interface; and updating the display positions of the N first icons from the first area to the second area in response to the first input. For electronic equipment with a larger screen, through the scheme provided by the embodiment of the application, a user can adjust the application icons in the positions which are difficult to reach into the areas which are easy to reach, so that the application icons displayed in the areas can be flexibly manipulated. In the control process, a user can conveniently control the icon at any position by one hand without adjusting the holding posture, and the control convenience of the user is improved.
Preferably, based on the electronic device described in the foregoing embodiment, as shown in fig. 11b, the first receiving module 1101 is configured to:
receiving a sliding input of a user in a third area, at least part of the third area coinciding with the second area;
the first update module 1102 includes:
a first obtaining module 1103, configured to obtain a sliding parameter of the sliding input;
a first determining module 1104, configured to determine N first icons and N second icons associated with the sliding parameter, where the N second icons are displayed in a second area;
the second update module 1105 updates the display positions of the N first icons from the first area to the second area, and updates the display positions of the N second icons from the second area to the first area.
Preferably, based on the electronic device in the above embodiment, the sliding parameter includes at least one of: sliding direction, sliding distance, sliding track;
wherein, under the condition that the sliding parameters comprise sliding directions, different sliding directions are associated with icons of different areas; under the condition that the sliding parameters comprise sliding distances, associating the number of icons with different sliding distances; in a case where the slide parameter includes a slide trajectory, the N first icons and the N second icons are determined based on an area through which the slide trajectory passes.
Preferably, the electronic device according to the above embodiment further includes:
a second receiving module 1106, which receives a second input from the user;
a third updating module 1107, which updates the M icons of the target area to the target display states in response to the second input;
wherein the target display state indicates that the M icons are in a selected state, and the target area is an area of a target range including an input position of the second input; m is a positive integer, and M is more than or equal to N.
Preferably, in the electronic device according to the foregoing embodiment, as shown in fig. 11c, the third updating module 1107 includes:
a second determination module 1108 that, in response to the second input, selects the target area based on input parameters of the second input;
a fourth updating module 1109, which updates the display states of the M icons in the target area to the selected state;
wherein the input parameters include at least one of: input duration, input strength and input area.
Preferably, according to the electronic device of the above embodiment, the second input includes a first sub-input and a second sub-input;
as shown in fig. 11d, the second determining module 1108 includes:
a third determining module 1110, for determining a first sub-region based on the first input parameter of the first sub-input;
a fourth determining module 1111, configured to determine a second sub-region based on a second input parameter of the second sub-input;
wherein the target region comprises the first sub-region and a second sub-region, the first input parameter comprises at least one of: inputting duration, inputting strength and inputting area; the second input parameter comprises at least one of: input duration, input strength and input area.
Preferably, based on the electronic device of the above embodiment, the second input is a single-point touch input;
as shown in fig. 11e, the second determining module 1108 includes:
a second obtaining module 1112, configured to obtain a first touch parameter and a second touch parameter of the touch input, where the first touch parameter is a touch area, and the second touch parameter includes a touch duration or a touch strength;
a fifth determining module 1113, which selects an area including the target range of the touch area as a target area based on the second touch parameter;
wherein the target range is determined based on the second touch parameter.
Preferably, based on the electronic device in the above embodiment, the first input is a two-finger sliding input, and the first input includes a first sliding sub-input and a second sliding sub-input; n is 1;
as shown in fig. 11f, the first updating module 1102 includes:
a third obtaining module 1114, configured to obtain a first sliding parameter input by the first sliding sub and a second sliding parameter input by the second sliding sub, where the first sliding parameter includes a first sliding track, a first sliding direction, and a first sliding distance, and the second sliding parameter includes a second sliding track, a second sliding direction, and a second sliding distance;
a sixth determining module 1115 configured to determine T icons through which the first sliding track and the second sliding track pass;
a seventh determining module 1116 for determining a first displacement direction based on the first sliding direction and the second sliding direction;
an eighth determining module 1117 that determines a first shift amount based on the first sliding distance and the second sliding distance;
a first moving module 1118 configured to sequentially move each of the T icons in the first shift direction based on the first shift amount;
the T icons comprise first icons, the first icons are located in a first area before movement, and the first icons are located in a second area after movement; t is an integer greater than 1.
Preferably, based on the electronic device in the above embodiment, the first input is a single-finger sliding input, where N is 1;
as shown in fig. 11g, the first updating module 1102 includes:
a fourth obtaining module 1119, configured to obtain a third sliding parameter input by the single-finger sliding, where the third sliding parameter includes a third sliding track, a third sliding direction, and a third sliding distance;
a ninth determining module 1120 that determines a second shift direction based on the third sliding direction;
a tenth determining module 1121 that determines a second shift amount based on the third sliding distance;
a second moving module 1122 for sequentially moving each of the M icons in the second shift direction based on the second shift amount;
and the first icon is positioned in the first area before the movement, and the first icon is positioned in the second area after the movement.
Preferably, the electronic device according to the above embodiment, as shown in fig. 11h, further includes:
a display module 1123 that displays the target control;
a third receiving module 1124 for receiving a third input from the user;
a fifth update module 1125, responsive to the third input, updating the target control to a first display state, the first display state indicating a locked mode;
a sixth updating module 1126, if a fourth input is received from the user, updating the target control to a second display state in response to the fourth input, the second display state indicating an unlocked mode.
Preferably, based on the electronic device according to the above embodiment, the locking mode specifically includes: after the current interface is updated to be the target interface, the N first icons are kept displayed in the second area;
the non-locking mode specifically includes: and after the current interface is updated to be the target interface, the N first icons are restored to the first area for display.
The electronic device 1100 provided by the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment shown in fig. 1, and can achieve the same technical effect. To avoid repetition, further description is omitted here.
Figure 12 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the mobile terminal configuration shown in fig. 12 does not constitute a limitation of the mobile terminal, and that the mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The input unit 1204 receives a first input from a user;
a processor 1210 that updates display positions of the N first icons from the first area to the second area in response to the first input;
wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer.
In the embodiment of the invention, a first input of a user is received; updating display positions of N first icons from a first area to a second area in response to the first input, wherein the N first icons are determined based on input parameters of the first input; the second area is located in a preset operation control area, the first area is located outside the operation control area, and N is a positive integer. Through the scheme provided by the embodiment of the invention, the user can flexibly adjust the display position of the application icon. For electronic equipment with a larger screen, through the scheme provided by the embodiment of the application, a user can adjust the application icons in positions which are difficult to reach into the areas which are easy to reach, so that the application icons displayed in the areas can be flexibly manipulated.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1201 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 1202, such as assisting the user in sending and receiving e-mails, browsing web pages, accessing streaming media, and the like.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the mobile terminal 1200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The mobile terminal 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or backlight when the mobile terminal 1200 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer and tap); the sensors 1205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and are not described in detail herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. Specifically, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 can be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation on or near the touch panel 12071, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the mobile terminal 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1208 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within mobile terminal 1200 or may be used to transmit data between mobile terminal 1200 and external devices.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1210 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby integrally monitoring the mobile terminal. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The mobile terminal 1200 may also include a power supply 1211 (e.g., a battery) for powering the various components, and the power supply 1211 may be logically coupled to the processor 1210 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1210, a memory 1209, and a computer program stored in the memory 1209 and capable of running on the processor 1210, where the computer program, when executed by the processor 1210, implements each process of the above-mentioned embodiment of the icon display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the icon display method, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the above embodiment method can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solution of the present invention may be substantially or partially embodied in the form of a software product stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), and including instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. An icon display method, comprising:
receiving a first input of a user;
updating display positions of the N first icons from the first area to the second area in response to the first input;
wherein the N first icons are determined based on input parameters of the first input; the second area is positioned in a preset operation control area, the first area is positioned outside the operation control area, and N is a positive integer;
wherein the receiving a first input of a user comprises:
receiving a sliding input of a user in a third area, at least part of the third area coinciding with the second area;
the updating the display positions of the N first icons from the first area to the second area in response to the first input includes:
acquiring a sliding parameter of the sliding input;
determining N first icons and N second icons which are associated with the sliding parameter, wherein the N second icons are displayed in a second area;
updating the display positions of the N first icons from the first area to the second area, and updating the display positions of the N second icons from the second area to the first area;
after the display positions of the N first icons are updated from the first area to the second area, displaying a target control;
receiving a third input of the user;
in response to the third input, updating the target control to be in a first display state, where the first display state indicates a locked mode, and where, when the target control is in the locked mode, after an application corresponding to any one first icon in the target operation area is used, the N first icons are kept displayed in the second area;
under the condition that a fourth input of a user is received, in response to the fourth input, the target control is updated to be in a second display state, and the second display state indicates a non-locking mode, wherein under the condition that the target control is in the non-locking mode, after an application corresponding to any one first icon in the target operation area is used, the N first icons are restored to the first area for display.
2. The method of claim 1, wherein the slip parameters comprise at least one of: sliding direction, sliding distance, sliding track;
wherein, under the condition that the sliding parameters comprise sliding directions, different sliding directions are associated with icons of different areas; under the condition that the sliding parameters comprise sliding distances, the number of icons related to different sliding distances is increased; in a case where the slide parameter includes a slide trajectory, the N first icons and the N second icons are determined based on an area through which the slide trajectory passes.
3. The method of claim 1 or 2, wherein prior to receiving the first input from the user, further comprising:
receiving a second input of the user;
in response to the second input, updating the M icons of the target area to target display states;
wherein the target display state indicates that the M icons are in a selected state, and the target area is an area of a target range including an input position of the second input; m is a positive integer, and M is more than or equal to N.
4. The method of claim 3, wherein updating the M icons of the target area to the target display state in response to the second input comprises:
selecting the target area based on input parameters of the second input in response to the second input;
updating the display states of the M icons in the target area to be selected states;
wherein the input parameters include at least one of: input duration, input strength and input area.
5. The method of claim 4, wherein the second input comprises a first sub-input and a second sub-input;
the selecting the target area based on the input parameters of the second input comprises:
determining a first sub-region based on a first input parameter of the first sub-input;
determining a second sub-region based on a second input parameter of the second sub-input;
wherein the target region comprises the first sub-region and a second sub-region, the first input parameter comprises at least one of: inputting duration, inputting strength and inputting area; the second input parameter comprises at least one of: input duration, input strength and input area.
6. The method of claim 4, wherein the second input is a single-point touch input;
the selecting the target area based on the input parameters of the second input comprises:
acquiring a first touch parameter and a second touch parameter of the touch input, wherein the first touch parameter is a touch area, and the second touch parameter comprises touch duration or touch strength;
selecting an area including a target range of the touch area as a target area based on the second touch parameter;
wherein the target range is determined based on the second touch parameter.
7. The method of claim 2, wherein the first input is a two-finger slide input, the first input comprising a first slide sub-input and a second slide sub-input; n is 1;
the updating the display positions of the N first icons from the first area to the second area in response to the first input includes:
acquiring a first sliding parameter input by the first sliding sub and a second sliding parameter input by the second sliding sub, wherein the first sliding parameter comprises a first sliding track, a first sliding direction and a first sliding distance, and the second sliding parameter comprises a second sliding track, a second sliding direction and a second sliding distance;
determining T icons passed by the first sliding track and the second sliding track;
determining a first displacement direction based on the first and second sliding directions;
determining a first shift amount based on the first sliding distance and the second sliding distance;
sequentially moving each of the T icons in the first shift direction based on the first shift amount;
the T icons comprise first icons, the first icons are located in a first area before movement, and the first icons are located in a second area after movement; t is an integer greater than 1.
8. The method of claim 3, wherein the first input is a one-finger swipe input, N ═ 1;
the updating the display positions of the N first icons from the first area to the second area in response to the first input includes:
acquiring a third sliding parameter input by the single-finger sliding, wherein the third sliding parameter comprises a third sliding track, a third sliding direction and a third sliding distance;
determining a second shift direction based on the third sliding direction;
determining a second shift amount based on the third sliding distance;
sequentially moving each of the M icons in the second shift direction based on the second shift amount;
and the first icon is positioned in the first area before the movement, and the first icon is positioned in the second area after the movement.
9. An electronic device, comprising:
the first receiving module receives a first input of a user;
a first updating module, which responds to the first input and updates the display positions of the N first icons from the first area to the second area;
wherein the N first icons are determined based on input parameters of the first input; the second area is positioned in a preset operation control area, the first area is positioned outside the operation control area, and N is a positive integer;
wherein the first receiving module is configured to:
receiving a sliding input of a user in a third area, at least part of the third area coinciding with the second area;
the first update module, comprising:
the first acquisition module is used for acquiring the sliding parameters of the sliding input;
the first determining module is used for determining N first icons and N second icons which are associated with the sliding parameters, and the N second icons are displayed in a second area;
the second updating module is used for updating the display positions of the N first icons from the first area to the second area and updating the display positions of the N second icons from the second area to the first area;
the electronic device further includes:
the display module displays the target control;
the third receiving module receives a third input of the user;
a fifth updating module, configured to update the target control to a first display state in response to the third input, where the first display state indicates a locked mode, and where, when the target control is in the locked mode, after an application corresponding to any one first icon in the target operation area is used, the N first icons remain displayed in the second area;
a sixth updating module, configured to update the target control to a second display state in response to a fourth input by a user when the fourth input is received, where the second display state indicates a non-locking mode, and where, when the target control is in the non-locking mode, after an application corresponding to any one first icon in the target operation area is used, the N first icons are restored to the first area for display.
10. The electronic device of claim 9, wherein the sliding parameter comprises at least one of: sliding direction, sliding distance, sliding track;
wherein, under the condition that the sliding parameters comprise sliding directions, different sliding directions are associated with icons of different areas; under the condition that the sliding parameters comprise sliding distances, the number of icons related to different sliding distances is increased; in a case where the slide parameter includes a slide trajectory, the N first icons and the N second icons are determined based on an area through which the slide trajectory passes.
11. The electronic device of claim 9 or 10, further comprising:
the second receiving module is used for receiving a second input of the user;
a third updating module, which responds to the second input and updates the M icons in the target area to be in the target display state;
wherein the target display state indicates that the M icons are in a selected state, and the target area is an area of a target range including an input position of the second input; m is a positive integer, and M is more than or equal to N.
12. The electronic device of claim 11, wherein the third update module comprises:
a second determination module, responsive to the second input, to select the target area based on input parameters of the second input;
the fourth updating module is used for updating the display states of the M icons in the target area to be selected states;
wherein the input parameters include at least one of: input duration, input strength and input area.
13. The electronic device of claim 12, wherein the second input comprises a first sub-input and a second sub-input;
the second determining module includes:
a third determination module, configured to determine a first sub-region based on a first input parameter of the first sub-input;
a fourth determination module, configured to determine a second sub-region based on a second input parameter of the second sub-input;
wherein the target region comprises the first sub-region and a second sub-region, the first input parameter comprises at least one of: inputting duration, inputting strength and inputting area; the second input parameter comprises at least one of: input duration, input strength and input area.
14. The electronic device of claim 12, wherein the second input is a single-point touch input;
the second determining module includes:
the second acquisition module is used for acquiring a first touch parameter and a second touch parameter of the touch input, wherein the first touch parameter is a touch area, and the second touch parameter comprises touch duration or touch strength;
a fifth determining module, configured to select, as a target area, an area including a target range of the touch area based on the second touch parameter;
wherein the target range is determined based on the second touch parameter.
15. The electronic device of claim 10, wherein the first input is a two-finger swipe input, the first input comprising a first swipe sub-input and a second swipe sub-input; n is 1;
the first update module, comprising:
a third obtaining module, configured to obtain a first sliding parameter input by the first sliding sub and a second sliding parameter input by the second sliding sub, where the first sliding parameter includes a first sliding track, a first sliding direction, and a first sliding distance, and the second sliding parameter includes a second sliding track, a second sliding direction, and a second sliding distance;
a sixth determining module, configured to determine T icons through which the first sliding track and the second sliding track pass;
a seventh determining module that determines a first shift direction based on the first and second sliding directions;
an eighth determination module that determines a first shift amount based on the first sliding distance and the second sliding distance;
a first moving module that sequentially moves each of the T icons in the first shift direction based on the first shift amount;
the T icons comprise first icons, the first icons are located in a first area before movement, and the first icons are located in a second area after movement; t is an integer greater than 1.
16. The electronic device of claim 11, wherein the first input is a one-finger swipe input, N ═ 1;
the first update module, comprising:
the fourth acquisition module is used for acquiring a third sliding parameter input by the single-finger sliding, wherein the third sliding parameter comprises a third sliding track, a third sliding direction and a third sliding distance;
a ninth determining module that determines a second shift direction based on the third sliding direction;
a tenth determination module that determines a second shift amount based on the third sliding distance;
a second moving module that sequentially moves each of the M icons in the second shift direction based on the second shift amount;
and the first icon is positioned in the first area before the movement, and the first icon is positioned in the second area after the movement.
17. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 8.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202010122843.4A 2020-02-27 2020-02-27 Icon display method and electronic equipment Active CN111338529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010122843.4A CN111338529B (en) 2020-02-27 2020-02-27 Icon display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010122843.4A CN111338529B (en) 2020-02-27 2020-02-27 Icon display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111338529A CN111338529A (en) 2020-06-26
CN111338529B true CN111338529B (en) 2021-08-17

Family

ID=71185476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010122843.4A Active CN111338529B (en) 2020-02-27 2020-02-27 Icon display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111338529B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835501A (en) * 2019-11-25 2021-05-25 华为技术有限公司 Display method and electronic equipment
CN112486390A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Display control method and device and electronic equipment
CN112596641A (en) * 2020-12-10 2021-04-02 咪咕数字传媒有限公司 Icon adjusting method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777886A (en) * 2007-09-04 2014-05-07 苹果公司 Editing interface
CN106293345A (en) * 2016-08-09 2017-01-04 深圳市金立通信设备有限公司 A kind of application icon display packing and terminal
CN106527849A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Method for regulating icon position, and mobile terminal
WO2018227770A1 (en) * 2017-06-16 2018-12-20 平安科技(深圳)有限公司 Application-icon position adjustment method, storage medium, and mobile terminal
CN109246292A (en) * 2018-08-17 2019-01-18 珠海格力电器股份有限公司 A kind of moving method and device of terminal desktop icon
CN110825281A (en) * 2019-09-17 2020-02-21 五八有限公司 Method and device for selecting area on electronic map, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777886A (en) * 2007-09-04 2014-05-07 苹果公司 Editing interface
CN106293345A (en) * 2016-08-09 2017-01-04 深圳市金立通信设备有限公司 A kind of application icon display packing and terminal
CN106527849A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Method for regulating icon position, and mobile terminal
WO2018227770A1 (en) * 2017-06-16 2018-12-20 平安科技(深圳)有限公司 Application-icon position adjustment method, storage medium, and mobile terminal
CN109246292A (en) * 2018-08-17 2019-01-18 珠海格力电器股份有限公司 A kind of moving method and device of terminal desktop icon
CN110825281A (en) * 2019-09-17 2020-02-21 五八有限公司 Method and device for selecting area on electronic map, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111338529A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN108495029B (en) Photographing method and mobile terminal
CN111338529B (en) Icon display method and electronic equipment
CN108491129B (en) Application program management method and terminal
CN108509105B (en) Application program management method and terminal
CN109407932B (en) Icon moving method and mobile terminal
CN110007835B (en) Object management method and mobile terminal
CN109800045B (en) Display method and terminal
CN111339515A (en) Application program starting method and electronic equipment
CN111610904B (en) Icon arrangement method, electronic device and storage medium
CN111240545A (en) Application switching method and electronic equipment
CN110795189A (en) Application starting method and electronic equipment
CN109165033B (en) Application updating method and mobile terminal
CN110989896A (en) Control method and electronic equipment
CN111124571A (en) Interface display method and electronic equipment
CN110531903B (en) Screen display method, terminal device and storage medium
CN108897477B (en) Operation control method and terminal equipment
CN109885242B (en) Method for executing operation and electronic equipment
CN110968229A (en) Wallpaper setting method and electronic equipment
CN111008179A (en) File management method and electronic equipment
CN108696642B (en) Method for arranging icons and mobile terminal
CN110794998B (en) Control method of application icon and electronic equipment
CN110879685B (en) Interaction method of application program interface and electronic equipment
CN110515507B (en) Icon display method and terminal
CN110531905B (en) Icon control method and terminal
CN110007821B (en) Operation method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant