WO2024021902A1 - Method and apparatus for moving icon, and electronic device and storage medium - Google Patents

Method and apparatus for moving icon, and electronic device and storage medium Download PDF

Info

Publication number
WO2024021902A1
WO2024021902A1 PCT/CN2023/099183 CN2023099183W WO2024021902A1 WO 2024021902 A1 WO2024021902 A1 WO 2024021902A1 CN 2023099183 W CN2023099183 W CN 2023099183W WO 2024021902 A1 WO2024021902 A1 WO 2024021902A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
operated
icons
target
serial number
Prior art date
Application number
PCT/CN2023/099183
Other languages
French (fr)
Chinese (zh)
Inventor
胡志通
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2024021902A1 publication Critical patent/WO2024021902A1/en

Links

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application relates to the technical field of electronic equipment, and more specifically, to an icon moving method, device, electronic equipment, and storage medium.
  • this application proposes an icon moving method, device, electronic device and storage medium to solve the above problems.
  • embodiments of the present application provide a method for moving icons.
  • the method includes: displaying an icon editing interface, wherein the icon editing interface includes multiple icons arranged in rows and columns, and each of the multiple icons Corresponding to the icon serial number, the icon serial number corresponding to each of the plurality of icons increases spirally from the inside to the outside; in response to the icon operation instruction, the icon to be operated is determined from the plurality of icons, wherein the icon operation instruction is Instructing to stop the display of the icon at its display position; from the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated; obtain all The number of icons to be selected is used as the first number of icons, and the target icon is determined from the icons to be selected based on the first number of icons; the icon to be operated is removed from its display position, and the The target icon is added to the display position of the icon to be operated for display.
  • an icon moving device includes: an icon editing interface display module for displaying an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns. Icon, each of the plurality of icons corresponds to an icon serial number, and the icon serial number corresponding to each of the plurality of icons spirally increases from the inside to the outside; the icon to be operated determining module is used to respond to the icon operation instruction and select the icon from the plurality of icons. Determine the icon to be operated among the icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position; the icon to be selected determining module is used to determine the icon to be operated from the plurality of icons.
  • the display position of the icon to be selected is adjacent and the icon number is greater than the icon number of the icon to be operated; a target icon determination module is used to obtain the number of icons of the icon to be selected as the first number of icons, and based on the first The number of icons determines the target icon from the icons to be selected; the icon moving module is used to remove the icon to be operated from its display position and replace the target icon to the display position of the icon to be operated. display.
  • embodiments of the present application provide an electronic device, including a memory and a processor.
  • the memory is coupled to the processor, and the memory stores instructions that are executed when the instructions are executed by the processor.
  • the processor executes the above method.
  • embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the above method.
  • Figure 1 shows a schematic diagram of the arrangement of multiple icons
  • Figure 2 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application
  • Figure 3 shows a schematic diagram of a planetary view provided by an embodiment of the present application
  • Figure 4 shows a schematic diagram of the effect of removing the deformation filter in the planet view provided by the embodiment of the present application
  • Figure 5 shows a schematic arrangement diagram of multiple icons provided by the embodiment of the present application.
  • Figure 6 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application
  • Figure 7 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application.
  • Figure 8 shows a schematic diagram of icon filling provided by the embodiment of the present application.
  • Figure 9 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application.
  • Figure 10 shows a schematic diagram of multiple icon circles provided by the embodiment of the present application.
  • Figure 11 shows a schematic diagram of the paths of multiple icons provided by the embodiment of the present application reaching the edge zone
  • Figure 12 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application
  • Figure 13 shows a module block diagram of a mobile device of an icon provided by an embodiment of the present application
  • Figure 14 shows a block diagram of an electronic device used to perform an icon moving method according to an embodiment of the present application
  • Figure 15 shows a storage unit used to save or carry the program code for implementing the icon moving method according to the embodiment of the present application.
  • Figure 1 shows a schematic diagram of the arrangement of multiple icons. As shown in Figure 1, the order of the icons is a spiral arrangement from inside to outside. If the "head" in the icon is After deletion, all subsequent icons will be filled forward until the "tail” in the icon is filled forward, causing the positions of all icons to change and the display of the icons to be disrupted, resulting in poor user experience. good.
  • the inventor discovered after long-term research and proposed the icon moving method, device, electronic device and storage medium provided by the embodiment of the present application.
  • the filling process can be avoided Solve the problem of icons being disrupted and improve the user experience.
  • the specific icon moving method will be described in detail in subsequent embodiments.
  • Figure 2 shows a schematic flow chart of an icon moving method provided by an embodiment of the present application. This method is used to avoid the problem of icons being disrupted during the filling process and improve the user experience by reasonably setting the icon filling logic.
  • the icon moving method is applied to the icon mobile device 200 as shown in FIG. 13 and the electronic device 100 configured with the icon mobile device 200 (FIG. 14).
  • the following will take an electronic device as an example to illustrate the specific process of this embodiment.
  • the electronic devices applied in this embodiment may include wearable electronic devices such as mobile phones, tablet computers, and smart watches. This will not be discussed here. Make limitations.
  • the process shown in Figure 2 will be described in detail below.
  • the method of moving the icon may specifically include the following steps:
  • Step S110 Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
  • the electronic device may display an icon editing interface, where the icon editing interface may include multiple icons arranged in a matrix.
  • the icon editing interface may include an icon display interface (such as a desktop), or the icon editing interface may include an application list interface, which is not limited here.
  • the electronic device when the electronic device is a device with a larger screen such as a mobile terminal or a tablet computer, it can be considered that the electronic device has a larger area to display multiple icons on an icon display interface such as a desktop, then the icon editor The interface can display the interface as an icon.
  • the electronic device is a device with a small screen such as a smart watch or a smart bracelet, it can be considered that the electronic device does not have a large area to display multiple icons on an icon display interface such as the desktop, and the multiple icons can be displayed on the application list interface.
  • icon, the icon editing interface can be an application list interface.
  • the multiple icons when multiple icons are displayed in a matrix arrangement, the multiple icons can be arranged in a regular matrix. At this time, the display sizes of the multiple icons are consistent or similar.
  • the Multiple icons can be arranged according to the 6*6 determinant rule, they can be arranged according to the 8*8 determinant rule, they can be arranged according to the 16*16 determinant rule, etc. There are no limitations here.
  • the multiple icons when multiple icons are displayed in the form of a matrix, the multiple icons can be arranged in an irregular matrix. For example, they can be arranged in a planet view. In this case, the multiple icons can be arranged in an irregular matrix. The icons are displayed at inconsistent or dissimilar sizes.
  • Figure 3 shows a schematic diagram of a planet view provided by an embodiment of the present application
  • Figure 4 shows a schematic diagram of the planet view provided by an embodiment of the present application without the deformation filter effect.
  • the display sizes of the multiple icons are inconsistent or not similar.
  • After removing the deformation filter of the planet view they are also arranged in a regular determinant manner. Arrange the icons so that the display sizes of multiple icons are the same or similar, as shown in Figure 4.
  • each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons spirally increases from the inside to the outside.
  • the initial arrangement order of the multiple icons can be set by default by the electronic device.
  • the electronic device can set the corresponding icons of the multiple icons according to the installation order of the application. Serial number, for example, the earlier an application is installed, the smaller the icon serial number corresponding to its icon, and the later the application is installed, the larger the icon serial number corresponding to its icon is; or, the initial arrangement order of multiple icons (more The icon serial numbers corresponding to each icon) can be manually adjusted by the user according to needs, and are not limited here.
  • the "icon serial number" can be a kind of virtual mapping. In this embodiment, it is only used to represent the arrangement relationship of multiple icons, and is not intended to make other limitations. In addition, after the multiple icons are sorted, The icon serial number can also be re-identified, which is not limited here.
  • the icon serial numbers corresponding to the multiple icons can be natural numbers. That is, the icon serial numbers corresponding to the multiple icons can start from 0 and increase in a spiral manner from the inside to the outside.
  • Figure 5 shows a schematic diagram of the arrangement of multiple icons provided by an embodiment of the present application. As shown in Figure 5, multiple icons are arranged in rows and columns, and the icon serial numbers corresponding to the multiple icons may include 0. ⁇ 63, then the icon numbers corresponding to the multiple icons start from 0 and increase in a spiral manner from the inside to the outside to 63.
  • Step S120 In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
  • the icon operation instruction determines an icon to be operated from a plurality of icons, where the determined icon to be operated is the icon to be stopped at its display position.
  • the icon operation instruction may include an icon deletion instruction, that is, in response to the icon deletion instruction, the icon to be operated may be determined from a plurality of icons, wherein the icon deletion instruction is used to instruct the icon to be deleted from its display position.
  • the icon operation instruction may include an icon movement instruction, that is, the icon to be operated may be determined from a plurality of icons in response to the icon movement instruction, wherein the icon movement instruction is used to instruct the icon to be moved from its display position. Remove, for example, move an icon from its display position to the end.
  • the electronic device may determine that the icon operation instruction is detected when the target voice information is detected; the electronic device may determine that the icon operation instruction is detected when the target touch operation on the icon editing interface is detected. In this case, it is determined that the icon operation instruction is detected; when a target touch operation on the target control of the electronic device is detected, it is determined that the icon operation instruction is detected.
  • Step S130 From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
  • the icon to be operated when the icon to be operated is determined, the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated may be determined from the plurality of icons.
  • the display position of the icon to be operated can be obtained, and based on the display position of the icon to be operated, the display position corresponding to the icon to be operated is determined from among multiple icons. Then, the icon serial number of the icon to be operated can be obtained, and based on the icon serial number of the icon to be operated, from the icons adjacent to the display position of the icon to be operated, determine that the icon serial number is greater than the icon serial number of the icon to be operated icon as the icon to be selected.
  • the icon serial number of the icon to be operated can be obtained, and based on the icon serial number of the icon to be operated, an icon whose icon serial number is greater than the icon to be operated is determined from multiple icons. Then, the display position of the icon to be operated can be obtained, and based on the display position of the icon to be operated, from the icons whose icon serial number is greater than the icon sequence number of the icon to be operated, determine the display position adjacent to the icon to be operated icon as the icon to be selected.
  • the display position of the icon to be operated and the icon serial number of the icon to be operated can be obtained, and based on the display position of the icon to be operated and the icon of the icon to be operated, The sequence number determines from the plurality of icons the icon that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon sequence number of the icon to be operated, as the icon to be selected.
  • Step S140 Obtain the number of icons of the icons to be selected as a first number of icons, and determine a target icon from the icons to be selected based on the first number of icons.
  • the number of icons of the icon to be selected can be obtained, and the obtained number of icons of the icon to be selected is used as the first number, and based on the The first number of icons determines an icon to be selected from the icons to be selected as the target icon.
  • a first preset mapping relationship may be preset and stored.
  • the preset mapping relationship may include a first number of icons, a way to determine the target icon, and a correspondence between the first number of icons and the way to determine the target icon. relation. Therefore, in this embodiment, when the first number of icons is obtained, a method for determining the target icon corresponding to the first number of icons can be determined based on the first preset mapping relationship, so as to determine the target icon according to the first number of icons. The corresponding target icon is determined by determining the target icon from the icons to be selected.
  • the first number of icons may include 0, 1, 2, 3, and 4, which is not limited here.
  • Step S150 Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
  • the icon to be operated when the target icon is determined, the icon to be operated can be removed from its display position, and the target icon can be replaced to the display position of the icon to be operated for display, so as to avoid the replacement process. Fixed the problem of other icons being disrupted to improve the user experience.
  • the icon operation instruction is an icon deletion instruction
  • the icon to be operated can be deleted from its display position, and the target icon can be replaced to the display position of the icon to be operated for display
  • the icon operation instruction is an icon With a move instruction
  • the icon to be operated can be deleted from its display position and moved to the indicated display position, and the target icon can be replaced to the display position of the icon to be operated for display.
  • An icon moving method displayed by an embodiment of the present application displays an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and each of the plurality of icons corresponds to an icon.
  • the serial number spirally increases from the inside to the outside.
  • the icon to be operated is determined from multiple icons.
  • the icon operation instruction is used to instruct the display of the stop icon at its display position.
  • the target icon removes the icon to be operated from its display position and fills the target icon to the display position of the icon to be operated.
  • FIG. 6 is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 6 will be described in detail below.
  • the method of moving the icon may specifically include the following steps:
  • Step S210 Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
  • Step S220 In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
  • Step S230 From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
  • Step S240 Obtain the number of icons of the icons to be selected as a first number of icons, and determine a target icon from the icons to be selected based on the first number of icons.
  • Step S250 Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
  • steps S210 to S250 please refer to steps S110 to S150, which will not be described again here.
  • Step S260 Use the target icon as the icon to be operated, and repeatedly execute the step of determining, from the plurality of icons, the icon adjacent to the display position of the icon to be operated and having an icon number greater than the icon to be operated.
  • the original display position of the target icon may be blank. Therefore, in order to ensure that the icon For the display effect of the editing interface (multiple icons), you can select icons from multiple icons except the target icon for filling, and so on until the filling of multiple icons is completed.
  • the completion of multiple icon filling can be that there is no icon that can be moved and filled among the multiple icons, or the completion of multiple icon filling can be the display that there is no white space between every two icons in the multiple icons. Location.
  • the target icon after determining the target icon from multiple icons and filling the target icon to the display position of the icon to be operated for display, the target icon can be used as the icon to be operated, and step S230-step can be repeated. S250 until multiple icons are replaced.
  • the icon moving method provided by an embodiment of the present application is compared with the icon moving method shown in Figure 2.
  • This embodiment also uses the target icon as the icon to be operated, and repeatedly performs the icon filling operation until multiple icons are The filling is completed, so that multiple icons can be filled in sequence, improving the display effect of the icons and improving the user experience.
  • FIG. 7 is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 7 will be described in detail below.
  • the method of moving the icon may specifically include the following steps:
  • Step S310 Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and the icon serial numbers corresponding to each of the plurality of icons are from inside to outside. Spiral increase.
  • Step S320 In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
  • Step S330 From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
  • Step S340 Obtain the number of icons of the icon to be selected as the first number of icons.
  • step S310 to step S340 please refer to step S310 to step S340, which will not be described again here.
  • Step S350 If the number of the first icons is at least two, obtain the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system, where the icon serial number corresponding to each of the plurality of icons is The origin of the coordinate axis serves as the center point of the spiral and increases spirally from the inside to the outside.
  • the icon editing interface can establish a target coordinate system, wherein the X-axis of the target coordinate system can be parallel to the rows in which multiple icons are arranged, and the Y-axis of the target coordinate system can be arranged in parallel with the rows of multiple icons.
  • the columns are parallel, and the corresponding icon serial numbers of multiple icons use the origin of the coordinate axis of the target coordinate system as the spiral center point to spirally increase from the inside to the outside.
  • the target coordinate system between two adjacent icons in the horizontal and vertical directions The distance between them is consistent.
  • the icon with icon number "0" is located at the display position closest to the origin of the coordinate axis in the first quadrant of the target coordinate system; the icon with icon number "1” is located at the fourth quadrant of the target coordinate system.
  • the number of first icons is at least two, for example, if the number of first icons is two, three, or four, it means that the number of icons to be selected is at least two, and then at least two icons can be obtained.
  • the distance between each icon to be selected and the origin of the coordinate axis of the target coordinate system. obtain the coordinate information of at least two icons to be selected in the target coordinate system. Based on the coordinate information of the at least two icons to be selected in the target coordinate system and the coordinate information of the origin of the coordinate axis, you can Obtain the distance between the at least two coordinates to be selected and the origin of the coordinate axis of the target coordinate system.
  • the number of first icons is one, it means that the number of icons to be selected is one, and the one icon to be selected can be directly determined as the target icon.
  • the icon to be operated can be directly removed from its display position, and the icons to be operated on can be kept. The display position of other icons except the icon remains unchanged.
  • Step S360 From at least two of the icons to be selected, determine the icon to be determined that is the largest distance from the origin of the coordinate axis.
  • the one with the largest distance from the origin of the coordinate axis can be determined from the at least two icons to be selected. Select the icon, and use the icon to be selected that is the largest distance from the origin of the coordinate axis as the icon to be determined.
  • the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system can be calculated. Compare, and use the icon to be selected that has the largest distance from the origin of the coordinate axis as the icon to be determined.
  • Step S370 Obtain the number of icons of the icon to be determined as a second number of icons, and determine the target icon from the icons to be determined based on the second number of icons.
  • the number of icons of the icon to be determined can be obtained, and the obtained number of icons of the icon to be determined is used as the second number, and The target icon is determined from the icons to be determined based on the second number.
  • a second preset mapping relationship may be preset and stored.
  • the preset mapping relationship may include the second number of icons, the determination method of the target icon, and the correspondence between the second number of icons and the determination method of the target icon. relation. Therefore, in this embodiment, when the second number of icons is obtained, a method for determining the target icon corresponding to the second number of icons can be determined based on the second preset mapping relationship, so as to determine the target icon according to the second number of icons. The corresponding target icon is determined by determining the target icon from the icons to be determined.
  • the number of second icons may include one or two, which is not limited here. Among them, if the number of the second icon is one, the icon to be determined can be directly determined as the target icon; if the number of the second icon is two, the icon to be determined with the smallest icon number among the two icons to be determined is determined for the target icon.
  • Step S380 Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
  • step S380 please refer to step S150, which will not be described again here.
  • FIG. 8 shows a schematic diagram of icon filling provided by an embodiment of the present application. It is assumed that the icon to be operated is an icon with an icon number of 0.
  • the icons to be selected that are adjacent to the display position of the icon with icon number 0 and whose icon number is greater than the icon number 0 are: the icon with icon number 1, the icon with icon number 3, and the icon with icon number 0.
  • the number of icons to be selected is 4 (that is, more than 1)
  • the distance between each icon of 7 and the origin of the coordinate axis is the distance between the icon with icon number 0, the icon with icon number 1, the icon with icon number 2, and the icon with icon number 3 center point).
  • the comparison shows that the icon with icon number 5 and the icon with icon number 7 have the largest distance from the origin of the coordinate axis.
  • the icon with the smaller icon number can be determined from the icon with icon number 5 and icon number 7 as the icon.
  • the target icon means that the icon with icon number 5 can be determined as the target icon, and the icon with icon number 5 can be moved from its display position to the display position of the icon with icon number 0.
  • the icon with the icon number 5 can be used as the icon to be operated. From the multiple icons, it can be determined that the icon to be selected is adjacent to the display position of the icon with the icon number 5 and the icon number is greater than the icon number 5: icon The icon with serial number 6 and the icon with serial number 18. At this time, it can be known that the number of icons to be selected is 2 (that is, more than 1), and then the distances from the icon with icon number 6 and the icon with icon number 18 to the origin of the coordinate axis can be compared. Among them, the comparison found that the distance between the icon with icon number 18 and the origin of the coordinate axis is greater than the distance between the icon with icon number 6 and the origin of the coordinate axis. Then the icon with icon number 18 can be determined as the target icon, and the icon number is The icon of 18 is moved from its display position to the display position of the icon with icon number 5.
  • the icon with the icon number 18 can be used as the icon to be operated. From the multiple icons, it can be determined that the icon to be selected is adjacent to the display position of the icon with the icon number 18 and the icon number is greater than the icon number 18: Icon The icon with serial number 19 and the icon with serial number 39. At this time, it can be known that the number of icons to be selected is 2 (that is, more than 1), and the distances from the icon with icon number 19 and the icon with icon number 39 to the origin of the coordinate axis can be compared. Among them, the comparison found that the distance between the icon with icon number 39 and the origin of the coordinate axis is greater than the distance between the icon with icon number 19 and the origin of the coordinate axis. Then the icon with icon number 39 can be determined as the target icon, and the icon number is The icon 39 is moved from its display position to the display position of the icon with icon number 18.
  • the icon with icon number 39 can be used as the icon to be operated. From multiple icons, it can be determined that the icon to be selected is adjacent to the display position of the icon with icon number 39 and has an icon number greater than icon number 39: Icon The icon with serial number 40. At this time, it can be known that the number of icons to be selected is 1, then the icon with icon number 40 can be directly determined as the target icon, and the icon with icon number 40 can be moved from its display position to the icon with icon number 39 The display position of the icon.
  • the icon with the icon number 63 can be used as the icon to be operated, and the icon to be selected that is adjacent to the display position of the icon with the icon number 63 and whose icon number is greater than the icon number 63 can be determined from multiple icons, where, It ends when it is found that there is no icon with a larger icon number around the icon with icon number 63.
  • the determined filling rules are 0 ⁇ 5 ⁇ 18 ⁇ 39 ⁇ 40 ⁇ 41 ⁇ 42 ⁇ 43 ⁇ 44 ⁇ 45 ⁇ 46 ⁇ 47 ⁇ 48 ⁇ 49 ⁇ 50 ⁇ 51 ⁇ 52 ⁇ 53 ⁇ 54 ⁇ 55 ⁇ 56 ⁇ 57 ⁇ 58 ⁇ 59 ⁇ 60 ⁇ 61 ⁇ 62 ⁇ 63.
  • the icon moving method provided by an embodiment of the present application also adopts different target icon determination methods according to the number of icons to be selected, so that it can Improve the accuracy of the determined target icon to improve the user experience.
  • FIG. 9 is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 9 will be described in detail below. The method may specifically include the following steps:
  • Step S410 Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
  • Step S420 In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
  • steps S410 to S420 please refer to steps S110 to S120, which will not be described again here.
  • Step S430 Obtain the icon serial number corresponding to the icon to be operated as the first icon serial number, and determine the icon circle to which the icon to be operated in the n icon circles and the icon circle to which it belongs based on the first icon serial number.
  • n>0 the number of icons included in the n-th icon circle is 8n, and in each of the icon circles, it is located in the lower right corner of the icon circle.
  • the icon is regarded as the 8n-1th icon of the icon circle to which it belongs, and the icon located adjacent to the left side of the 8n-1th icon is regarded as the 0th icon of the icon circle to which it belongs.
  • n icon circles can be established according to the display positions of the multiple icons, where n is a natural number.
  • n a natural number.
  • the number of icons included in the 0th icon circle is one, and one icon is the icon with the smallest icon number among multiple icons;
  • n>0 the icon of the icon included in the nth icon circle
  • the number is 8n, and in each of the icon circles, the icon located in the lower right corner of the icon circle is regarded as the 8n-1th icon of the icon circle to which it belongs, and the icon located adjacent to the left of the 8n-1th icon is regarded as The 0th icon of the icon circle it belongs to.
  • the icon serial numbers corresponding to the multiple icons are natural numbers from 0 to 63, and the icon serial numbers 0 to 63 spirally increase from the inside to the outside.
  • the first icon circle includes one icon and the icon number of the one icon is 0;
  • the second icon circle includes 8 icons and the icon numbers of the 8 icons are 1 to 8.
  • the icon located in the lower right corner of the second icon circle is used as the 7th icon of the second icon circle (the icon with icon number 8), and the icon located adjacent to the left of the 7th icon is used as the second icon circle
  • the third icon circle includes 16 icons and the icon numbers of the 16 icons are 9 to 24.
  • the icon located in the lower right corner of the third icon circle is the third icon
  • the 15th icon of the circle (the icon with icon number 24)
  • the icon located adjacent to the left of the 7th icon is the 0th icon of the second icon circle (the icon with icon number 9). analogy.
  • the icon serial number corresponding to the icon to be operated can be obtained, the icon serial number corresponding to the icon to be operated is used as the first icon serial number, and the determination is made based on the first icon serial number.
  • the icon circle to which the to-be-operated icon belongs among the above-mentioned n icon circles, and the icon ordering in the icon circle to which it belongs.
  • FIG. 10 shows a schematic diagram of multiple icon circles provided by an embodiment of the present application.
  • n icon circles are established for multiple icons with icon serial numbers 0 to 63.
  • the icon with icon serial number 0 belongs to the 0th icon circle
  • the icons with icon serial numbers 1 to 8 belong to the 0th icon circle.
  • icons with icon numbers 9 to 24 belong to the second icon circle
  • icons with icon numbers 25 to 48 belong to the third icon circle, and so on. It can be found that the 0th icon circle only has one icon with icon number 0.
  • the nth icon circle is full, the nth icon circle includes 8n icons.
  • the first icon circle includes 8 icons
  • the second icon circle contains 8n icons.
  • Each icon circle includes 16 icon circles.
  • the icon in the lower right corner is the tail
  • the icon to the left of the tail is the head.
  • the tail of the first icon circle is the icon with icon number 8
  • the head is the icon with icon number 1.
  • the tail of the second icon circle is the icon with icon number 24, and the head is the icon with icon number 9.
  • the icon with icon number 1 is the 0th icon of the first icon circle.
  • the icon with icon number 8 is the 7th icon of 1 icon circle
  • the icon with icon number 9 is the 0th icon of the second icon circle
  • the icon with icon number 24 is the 0th icon of the second icon circle 15 icons.
  • 29 is not less than the 1st icon circle package.
  • the total number of icons included in the first icon circle is 8, then subtract the total number of icons included in the first icon circle from 29 to 21, and 21 is not less than the total number of icons included in the second icon circle, 16, then subtract the total number of icons included in the second icon circle from 21
  • the total number of icons is 16, which is 5. 5 is less than the total number of icons included in the third icon circle, 24. Therefore, it can be determined that the icon to be operated with the icon number 30 belongs to the third icon circle and is the fifth icon of the third icon circle. .
  • Step S440 Determine a target direction according to the icon circle to which the icon to be operated in the n icon circles belongs and the icon sorting in the icon circle to which it belongs, and determine the icon to be selected located in the target direction.
  • the icon circle to which the icon to be operated in the nth icon circle belongs after obtaining the icon circle to which the icon to be operated in the nth icon circle belongs, and the icon sorting of the icon circle to which it belongs, it is possible to obtain the icon circle according to the position of the icon to be operated in the nth icon circle.
  • the icon circle to which it belongs, and the sorting of icons in the icon circle to which it belongs determine the target direction, and determine the icon to be selected located in the target direction.
  • n>0 it can be determined that the icon circle described by the icon to be operated is the nth icon circle (n>0), and the next icon may be above, below, left, right, etc., which is not limited here.
  • the icon to be operated is compared with the first condition, the second condition, and the third condition respectively to determine whether the icon to be operated satisfies the first condition, the second condition, and the third condition, and the judgment result is obtained as the third condition.
  • the target direction can be determined to be above the icon to be operated.
  • the target direction can be determined to be below the icon to be operated.
  • the target direction can be determined to be the left of the icon to be operated.
  • the icon located in the target direction of the icon to be operated based on the icon to be operated and the target direction may be determined as the icon to be operated.
  • the icon with the icon number 30 as an example.
  • Step S450 Obtain the icon serial number of the icon to be selected as the second icon serial number.
  • the icon serial number of the icon to be selected may be obtained, and the icon serial number of the icon to be selected may be used as the second icon serial number.
  • the serial number of the icon to be selected can be obtained based on the first icon serial number, the icon circle to which the icon to be operated belongs in the n icon circles, and the icon sorting in the icon circle to which it belongs. As the second icon serial number.
  • the icon to be operated can be compared with the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition, and the tenth condition respectively to determine Whether the icon to be operated satisfies the fourth condition, whether it satisfies the fifth condition, whether it satisfies the sixth condition, whether it satisfies the seventh condition, whether it satisfies the eighth condition, whether it satisfies the ninth condition, whether it satisfies the tenth condition, and the judgment result is obtained as the second judgment result.
  • the second icon serial number is above the icon to be operated in the target direction.
  • the target direction is below the icon to be operated.
  • the target direction is to the left of the icon to be operated, it is m+1-8n.
  • the target direction is to the right of the icon to be operated, it is m+7+8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the second icon serial number is above the icon to be operated in the target direction.
  • the target direction is below the icon to be operated, it is m+1+8n.
  • the target direction is to the left of the icon to be operated, it is m+3+8n.
  • the target direction is to the right of the icon to be operated, it is m+3+8n.
  • square it is m-1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the second icon serial number is above the icon to be operated in the target direction.
  • the target direction is below the icon to be operated, it is m-1.
  • the target direction is to the left of the icon to be operated, it is m+3+8n.
  • the target direction is to the right of the icon to be operated, it is m+3+8n.
  • square it is m-1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the second icon serial number is above the icon to be operated in the target direction. It is m+5+8n when the target direction is below the icon to be operated, it is m+1 when the target direction is to the left of the icon to be operated, and it is m-1 when the target direction is to the right of the icon to be operated. is m-7+8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the second judgment result represents that the icon to be operated satisfies the eighth condition, that is, if the second judgment result represents that the icon to be operated satisfies x ⁇ 2n-1
  • the second icon serial number is above the icon to be operated in the target direction.
  • the target direction is below the icon to be operated, it is m+1+8n.
  • the target direction is to the left of the icon to be operated, it is m+1.
  • it is to the right of the icon to be operated it is m-1+8n.
  • x ⁇ 0 when the target direction is to the right of the icon to be operated, it is m-1.
  • the second judgment result indicates that the icon to be operated satisfies the ninth condition, that is, if the second judgment result indicates that the icon to be operated satisfies x ⁇ 4n-1
  • the second icon serial number is above the icon to be operated in the target direction. is m+1 when the target direction is below the icon to be operated, m-1 when the target direction is to the left of the icon to be operated, m+3+8n when the target direction is to the right of the icon to be operated is m+5-8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the second judgment result represents that the icon to be operated satisfies the tenth condition, that is, if the second judgment result represents that the icon to be operated satisfies x ⁇ 6n-1
  • the second icon serial number is above the icon to be operated in the target direction.
  • the target direction is below the icon to be operated, it is m+3-8n.
  • the target direction is to the left of the icon to be operated, it is m-1.
  • the target direction is to the right of the icon to be operated, it is m+5+8n.
  • Square time is m+1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the second judgment result represents that the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition, and the tenth condition, that is, the second judgment result represents that the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition, and the tenth condition.
  • the second icon serial number is m-1 when the target direction is above the icon to be operated, m+1 when the target direction is below the icon to be operated, and m+1-8n when the target direction is to the left of the icon to be operated. , when the target direction is to the right of the icon to be operated, it is m+7+8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
  • the icon with the icon number 30 satisfies the eighth condition.
  • Step S460 If the second icon number is less than or equal to the total number of the plurality of icons, determine the icon to be selected as the target icon.
  • the filling of icons can be roughly divided into two stages.
  • the first stage is to find a path to the edge zone triggered by the icon to be operated (as shown in Figure 11).
  • the second stage is filled in a spiral manner.
  • the second icon serial number can be verified. If the second icon serial number is greater than the total number of all icons, it means that it is out of bounds, that is, the first stage has been calculated to the edge, and the second stage is started. , if it is less than or equal to the total number of all icons, it means that the boundary has not been crossed, and the icon corresponding to the second icon number will continue to be used as the next icon, and the first stage will be executed again until the boundary is crossed.
  • the second icon serial number when the second icon serial number is obtained, the second icon serial number can be compared with the total number of multiple icons to determine whether the second icon serial number is less than or equal to the total number of multiple icons. If it is determined that the second icon number is less than or equal to the total number of icons, the icon to be selected can be determined as the target icon for filling.
  • Step S470 If the second icon number is greater than the total number of the plurality of icons, determine the icon with icon number m+1 as the target icon, where m is the first icon number.
  • the icon serial number is m+1
  • the icon is determined to be the target icon for filling.
  • the icon with the icon number 39 As an example, it belongs to the 14th icon in the third icon circle.
  • the next icon of the icon with the icon number 39 is above it, and the next icon is If the icon number is greater than the total number of multiple icons (64), it means that there is no next icon above, which can be considered to be out of bounds.
  • Step S480 Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
  • step S480 please refer to step S150, which will not be described again here.
  • this embodiment also obtains the icon serial number corresponding to the icon to be operated as the first icon serial number, and determines it based on the first icon serial number.
  • the icon circle to which the icon to be operated on belongs to in the n icon circles and the sorting of the icons in the icon circle to which it belongs is determined based on the icon circle to which the icon to be operated belongs to in the n icon circles and the sorting of icons in the icon circle to which it belongs.
  • the icon serial number of the icon to be selected is obtained as the second icon serial number.
  • the icon to be selected is determined as the target icon. If the second icon number is greater than the total number of multiple icons, the icon whose icon number is the first icon number + 1 is determined as the target icon, thereby improving the efficiency and accuracy of determining the target icon.
  • FIG. 12 is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 12 will be described in detail below. The method may specifically include the following steps:
  • Step S510 Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
  • Step S520 In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
  • steps S510 to S520 please refer to steps S110 to S120, which will not be described again here.
  • Step S530 Obtain the icon serial number of the icon to be operated.
  • the icon serial number of the icon to be operated can be obtained.
  • the coordinate information of the icon to be operated in the target coordinate system can be obtained, and based on the coordinate information of the icon to be operated in the target coordinate system, the coordinate information of the icon to be operated can be obtained.
  • the icon serial number of the operation icon is the coordinate information of the icon to be operated in the target coordinate system.
  • Step S540 Based on the preset mapping relationship, determine the target icon serial number corresponding to the icon serial number of the icon to be operated, and determine the icon corresponding to the target icon serial number as the target icon.
  • a preset mapping relationship may be set and stored in advance, where the preset mapping relationship may include a complementary path of an icon serial number corresponding to each icon in the plurality of icons. Therefore, in this embodiment, when the icon serial number corresponding to the icon to be operated is obtained, the target icon serial number corresponding to the icon serial number of the icon to be operated can be determined based on the preset mapping relationship, and the target icon serial number can be determined The corresponding icon is determined as the target icon, which can effectively increase the speed of determining the target icon and improve the user experience.
  • the preset mapping relationship can be updated to ensure the accuracy of the preset mapping relationship, which will not be described again here.
  • Step S550 Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
  • step S550 please refer to step S150, which will not be described again here.
  • the icon moving method provided by an embodiment of the present application is compared to the icon moving method shown in Figure 2. This embodiment also obtains the icon serial number of the icon to be operated, and determines the icon serial number of the icon to be operated based on the preset mapping relationship. The corresponding target icon serial number is determined, and the icon corresponding to the target icon serial number is determined as the target icon, thereby improving the efficiency of obtaining the target icon.
  • the icon moving device 200 includes: an icon editing interface display module 210, an icon to be operated determining module 220, an icon to be selected determining module 230, a target icon determining module 240 and an icon moving module.
  • Module 250 which:
  • the icon editing interface display module 210 is used to display the icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and each of the plurality of icons corresponds to an icon serial number.
  • the icon serial number increases spirally from inside to outside.
  • the icon to be operated determining module 220 is configured to determine an icon to be operated from the plurality of icons in response to an icon operation instruction, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
  • the icon to be selected determining module 230 is configured to determine, from the plurality of icons, an icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
  • the target icon determination module 240 is configured to obtain the number of icons of the icons to be selected as the first number of icons, and determine the target icon from the icons to be selected based on the first number of icons.
  • the target icon determination module 240 includes: a distance acquisition submodule, an icon to be determined determination submodule, and a first target Icons identify submodules where:
  • a distance acquisition submodule configured to acquire the distances between at least two of the icons to be selected and the origin of the coordinate axis of the target coordinate system if the number of the first icons is at least two, wherein each of the plurality of icons corresponds to The icon number of the icon increases spirally from the inside to the outside with the origin of the coordinate axis as the center point of the spiral.
  • the icon to be determined determining sub-module is used to determine the icon to be determined that is the largest distance from the origin of the coordinate axis from at least two of the icons to be selected.
  • the first target icon determination submodule is configured to obtain the number of icons of the icon to be determined as the second number of icons, and determine the target icon from the icons to be determined based on the second number of icons.
  • the first target icon determination sub-module includes: a first target icon determination unit and a second target icon determination unit, wherein:
  • the first target icon determining unit is configured to determine one of the icons to be determined as the target icon if the number of the second icons is one.
  • the second target icon determining unit is configured to determine the icon to be determined with the smallest icon number from the two icons to be determined as the target icon if the number of the second icons is two.
  • the target icon determination module 240 includes: a second target icon determination sub-module, wherein:
  • the second target icon determination submodule is configured to determine one of the icons to be selected as the target icon if the number of the first icons is one.
  • the icon moving module 250 is used to remove the icon to be operated from its display position and replace the target icon to the display position of the icon to be operated for display.
  • the mobile device 200 of the icon also includes: a loop module, wherein:
  • a loop module configured to use the target icon as the icon to be operated, and repeatedly execute the step of determining from the plurality of icons that the display position of the icon to be operated is adjacent and that the icon number is greater than the icon to be operated. the step of the icon to be selected according to the icon serial number of the icon, to the step of removing the icon to be operated from its display position and filling the target icon to the display position of the icon to be operated for display, Until the filling of the multiple icons is completed.
  • the icon mobile device 200 further includes: a display position maintaining module, wherein:
  • a display position holding module configured to remove the to-be-operated icon from its display position if the number of first icons is 0, and to maintain other icons among the plurality of icons except the to-be-operated icon. The display position of the icon remains unchanged.
  • the icon mobile device 200 also includes: an information acquisition module, a direction determination module, an icon serial number acquisition module, and a target icon determination module, wherein:
  • An information acquisition module configured to obtain the icon serial number corresponding to the icon to be operated as the first icon serial number, and determine the icon circle to which the icon to be operated in the n icon circles and the circle to which it belongs based on the first icon serial number.
  • the number of icons included in the n-th icon circle is 8n, and in each of the icon circles, the number of icons located in The icon in the lower right corner of the circle is regarded as the 8n-1th icon of the corresponding icon circle, and the icon located adjacent to the left side of the 8n-1th icon is regarded as the 0th icon of the corresponding icon circle.
  • a direction determination module configured to determine the target direction according to the icon circle to which the to-be-operated icon belongs in the n icon circles and the icon sorting in the icon circle to which it belongs, and determine the target direction to be selected located in the target direction. icon;
  • the direction determination module includes: a first direction determination sub-module and a second direction determination sub-module, wherein:
  • the second direction determination submodule is configured to determine the target when n>0 according to the icon circle to which the to-be-operated icon belongs in the n icon circles and the icon sorting in the icon circle to which it belongs. direction.
  • the second direction determination sub-module includes: a first direction determination unit, a second direction determination unit, a third direction determination unit and a fourth direction determination unit, wherein:
  • a first direction determining unit configured to determine that the target direction is above the icon to be operated if the icon to be operated satisfies a first condition, wherein the first condition is x>4n-3 and x ⁇ 6n, x is the icon ordering of the icon to be operated in the icon circle to which it belongs.
  • a third direction determining unit is configured to determine the target direction to be below the icon to be operated if the icon to be operated satisfies a third condition, where the third condition is x ⁇ 2n.
  • a fourth direction determining unit is configured to determine the target direction to be the left side of the icon to be operated if the icon to be operated does not satisfy the first condition, the second condition and the third condition.
  • the icon serial number obtaining module is used to obtain the icon serial number of the icon to be selected as the second icon serial number.
  • the icon serial number acquisition module includes: a first icon serial number acquisition sub-module and a second icon serial number acquisition sub-module, wherein:
  • the second icon serial number acquisition submodule is configured to obtain a sub-module based on the first icon serial number, the icon circle to which the to-be-operated icon belongs among the n icon circles, and the icon circle to which it belongs when n>0. Sort the icons, and obtain the serial number of the icon to be selected as the second icon serial number.
  • the second icon serial number acquisition sub-module includes: a first icon serial number acquisition unit, a second icon serial number acquisition unit, a third icon serial number acquisition unit, a fourth icon serial number acquisition unit, a fifth icon serial number acquisition unit, and a third icon serial number acquisition unit.
  • the sixth icon serial number acquisition unit is used to determine that if the icon to be operated satisfies the ninth condition, the second icon serial number is m+1, m in sequence when the target direction is the up, down, left, and right of the icon to be operated. -1, m+3+8n, m+5-8n, wherein the ninth condition is x ⁇ 4n-1.
  • the seventh icon serial number acquisition unit is used to determine that the second icon serial number is m+5+8n when the target direction is up, down, left, and right of the icon to be operated if the icon to be operated satisfies the tenth condition. , m+3-8n, m-1, m+1, wherein the tenth condition is x ⁇ 6n-1.
  • the eighth icon serial number acquisition unit is used to obtain the unit if the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, and the third condition.
  • the second icon serial number is m-1, m+1, m+1-8n, m+ in sequence when the target direction is the up, down, left, and right of the icon to be operated. 7+8n.
  • a target icon determination module configured to determine the icon to be selected as the target icon if the second icon number is less than or equal to the total number of the plurality of icons.
  • the icon mobile device 200 further includes: a target icon determination module, wherein:
  • a target icon determination module configured to determine the icon with icon number m+1 as the target icon if the second icon number is greater than the total number of the plurality of icons, where m is the first icon number.
  • the icon mobile device 200 also includes: an icon serial number acquisition module and a target icon determination module, wherein:
  • the icon serial number obtaining module is used to obtain the icon serial number of the icon to be operated.
  • the target icon determination module is configured to determine the target icon serial number corresponding to the icon serial number of the icon to be operated based on the preset mapping relationship, and determine the icon corresponding to the target icon serial number as the target icon.
  • the coupling between modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • FIG. 14 shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may be a smart phone, a tablet computer, an e-book, or other electronic device capable of running applications.
  • the electronic device 100 in this application may to include one or more of the following components: processor 110, memory 120, and one or more application programs, wherein one or more application programs may be stored in memory 120 and configured to be executed by one or more processors 110 , one or more programs are configured to perform the method described in the foregoing method embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120.
  • Various functions and processing data of the electronic device 100 may use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA field-programmable gate array
  • PLA programmable logic array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem etc.
  • the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.
  • the memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • the storage data area can also store data created during use of the terminal 100 (such as phone book, audio and video data, chat record data), etc.
  • Figure 15 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer-readable medium 300, and the program code can be called by the processor to execute the method described in the above method embodiment.
  • Computer-readable storage medium 300 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 300 includes non-transitory computer-readable storage medium.
  • the computer-readable storage medium 300 has storage space for the program code 310 that performs any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products.
  • Program code 310 may, for example, be compressed in a suitable form.
  • the icon moving method, device, electronic device and storage medium displayed an icon editing interface, wherein the icon editing interface includes multiple icons arranged in rows and columns, each of the multiple icons There are corresponding icon serial numbers, and the icon serial numbers corresponding to the plurality of icons increase spirally from the inside to the outside.
  • the icon to be operated is determined from the plurality of icons, wherein the icon operation instruction is used to indicate that the stop icon is in To display its display position, from multiple icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated, and obtain the number of icons of the icon to be selected as the first number of icons, And determine the target icon from the icons to be selected based on the number of first icons, remove the icon to be operated from its display position, and fill the target icon to the display position of the icon to be operated for display, so as to reasonably set the icon
  • the replacement logic can avoid the problem of icons being disrupted during the replacement process and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the present application are a method and apparatus for moving an icon, and an electronic device and a storage medium. The method comprises: displaying an icon editing interface, wherein the icon editing interface comprises a plurality of icons, which are arranged in rows and columns, the plurality of icons respectively correspond to icon serial numbers, and the icon serial numbers respectively corresponding to the plurality of icons increase spirally from inside to outside; in response to an icon operation instruction, determining an icon to be operated from among the plurality of icons; determining, from among the plurality of icons, icons to be selected which are adjacent to the display position of the icon to be operated and have icon serial numbers greater than the icon serial number of the icon to be operated; acquiring the number of icons to be selected as a first number of icons, and determining, on the basis of the first number of icons, a target icon from among the icons to be selected; and removing the icon to be operated from the display position thereof, and filling the display position of the icon, to be operated, with the target icon for display. In the embodiments of the present application, position filling logic of icons is rationally set, such that the problem of the icons being disordered during position filling can be avoided, thereby improving the use experience of a user.

Description

图标的移动方法、装置、电子设备以及存储介质Icon moving method, device, electronic device and storage medium
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年07月29日提交的申请号为CN202210906223.9的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority from Chinese application No. CN202210906223.9, filed on July 29, 2022, the entire content of which is hereby incorporated by reference for all purposes.
技术领域Technical field
本申请涉及电子设备技术领域,更具体地,涉及一种图标的移动方法、装置、电子设备以及存储介质。The present application relates to the technical field of electronic equipment, and more specifically, to an icon moving method, device, electronic equipment, and storage medium.
背景技术Background technique
随着科学技术的发展,电子设备的使用越来越广泛,功能越来越多,已经成为人们日常生活中的必备之一。目前,随着电子设备所安装的应用程序的增加,电子设备也逐渐开始支持用户对应用图标的移动、删除等操作。With the development of science and technology, electronic devices are used more and more widely and have more and more functions, and they have become one of the necessities in people's daily life. Currently, as the number of applications installed on electronic devices increases, electronic devices gradually begin to support users' operations such as moving and deleting application icons.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种图标的移动方法、装置、电子设备以及存储介质,以解决上述问题。In view of the above problems, this application proposes an icon moving method, device, electronic device and storage medium to solve the above problems.
第一方面,本申请实施例提供了一种图标的移动方法,所述方法包括:显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大;响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示;从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标;获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标;将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。In a first aspect, embodiments of the present application provide a method for moving icons. The method includes: displaying an icon editing interface, wherein the icon editing interface includes multiple icons arranged in rows and columns, and each of the multiple icons Corresponding to the icon serial number, the icon serial number corresponding to each of the plurality of icons increases spirally from the inside to the outside; in response to the icon operation instruction, the icon to be operated is determined from the plurality of icons, wherein the icon operation instruction is Instructing to stop the display of the icon at its display position; from the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated; obtain all The number of icons to be selected is used as the first number of icons, and the target icon is determined from the icons to be selected based on the first number of icons; the icon to be operated is removed from its display position, and the The target icon is added to the display position of the icon to be operated for display.
第二方面,本申请实施例提供了一种图标的移动装置,所述装置包括:图标编辑界面显示模块,用于显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大;待操作图标确定模块,用于响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示;待选择图标确定模块,用于从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标;目标图标确定模块,用于获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标;图标移动模块,用于将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。In a second aspect, embodiments of the present application provide an icon moving device. The device includes: an icon editing interface display module for displaying an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns. Icon, each of the plurality of icons corresponds to an icon serial number, and the icon serial number corresponding to each of the plurality of icons spirally increases from the inside to the outside; the icon to be operated determining module is used to respond to the icon operation instruction and select the icon from the plurality of icons. Determine the icon to be operated among the icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position; the icon to be selected determining module is used to determine the icon to be operated from the plurality of icons. The display position of the icon to be selected is adjacent and the icon number is greater than the icon number of the icon to be operated; a target icon determination module is used to obtain the number of icons of the icon to be selected as the first number of icons, and based on the first The number of icons determines the target icon from the icons to be selected; the icon moving module is used to remove the icon to be operated from its display position and replace the target icon to the display position of the icon to be operated. display.
第三方面,本申请实施例提供了一种电子设备,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。In a third aspect, embodiments of the present application provide an electronic device, including a memory and a processor. The memory is coupled to the processor, and the memory stores instructions that are executed when the instructions are executed by the processor. The processor executes the above method.
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the above method.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1示出了多个图标的排布示意图;Figure 1 shows a schematic diagram of the arrangement of multiple icons;
图2示出了本申请一实施例提供的图标的移动方法的流程示意图;Figure 2 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application;
图3示出了本申请实施例提供的行星视图的示意图;Figure 3 shows a schematic diagram of a planetary view provided by an embodiment of the present application;
图4示出了本申请实施例提供的行星视图去掉变形滤镜的效果的示意图;Figure 4 shows a schematic diagram of the effect of removing the deformation filter in the planet view provided by the embodiment of the present application;
图5示出了本申请实施例提供的多个图标的排布示意图;Figure 5 shows a schematic arrangement diagram of multiple icons provided by the embodiment of the present application;
图6示出了本申请一实施例提供的图标的移动方法的流程示意图;Figure 6 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application;
图7示出了本申请一实施例提供的图标的移动方法的流程示意图;Figure 7 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application;
图8示出了本申请实施例提供的图标补位的示意图;Figure 8 shows a schematic diagram of icon filling provided by the embodiment of the present application;
图9示出了本申请一实施例提供的图标的移动方法的流程示意图;Figure 9 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application;
图10示出了本申请实施例提供的多个图标圈的示意图;Figure 10 shows a schematic diagram of multiple icon circles provided by the embodiment of the present application;
图11示出了本申请实施例提供的多个图标的路径到达边缘地带的示意图;Figure 11 shows a schematic diagram of the paths of multiple icons provided by the embodiment of the present application reaching the edge zone;
图12示出了本申请一实施例提供的图标的移动方法的流程示意图;Figure 12 shows a schematic flowchart of an icon moving method provided by an embodiment of the present application;
图13示出了本申请一实施例提供的图标的移动装置的模块框图;Figure 13 shows a module block diagram of a mobile device of an icon provided by an embodiment of the present application;
图14示出了本申请实施例用于执行根据本申请实施例的图标的移动方法的电子设备的框图; Figure 14 shows a block diagram of an electronic device used to perform an icon moving method according to an embodiment of the present application;
图15示出了本申请实施例的用于保存或者携带实现根据本申请实施例的图标的移动方法的程序代码的存储单元。Figure 15 shows a storage unit used to save or carry the program code for implementing the icon moving method according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those in the technical field to better understand the solution of the present application, the technical solution in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application.
其中,随着电子设备安装的应用程序的数量的增加,用户对于应用图标的移动或删除的需要也逐渐增大。其中,对于支持图标补位的电子设备而言,其补位逻辑是螺旋形补位,即,其中一个图标被删除补位后几乎所有图标的位置都发生了变化,导致图标显示的混乱感。例如,请参阅图1,图1示出了多个图标的排布示意图,如图1所示,图标的先后顺序是一个由内到外的螺旋式排布,若把图标中的“头”删除后,则后续的所有图标都会往前补位,直到图标中的“尾”往前补位,从而导致所有图标的位置都发生了变化,图标的显示被打乱,造成用户的使用体验不佳。Among them, as the number of applications installed on electronic devices increases, users' needs for moving or deleting application icons also gradually increase. Among them, for electronic devices that support icon filling, the filling logic is spiral filling, that is, after one of the icons is deleted and filled, the positions of almost all icons change, resulting in a confusing sense of icon display. For example, please refer to Figure 1. Figure 1 shows a schematic diagram of the arrangement of multiple icons. As shown in Figure 1, the order of the icons is a spiral arrangement from inside to outside. If the "head" in the icon is After deletion, all subsequent icons will be filled forward until the "tail" in the icon is filled forward, causing the positions of all icons to change and the display of the icons to be disrupted, resulting in poor user experience. good.
针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的图标的移动方法、装置、电子设备以及存储介质,通过合理的设置图标的补位逻辑,可以实现避免补位过程中图标被打乱的问题,提升用户的使用体验。其中,具体的图标的移动方法在后续的实施例中进行详细的说明。In response to the above problems, the inventor discovered after long-term research and proposed the icon moving method, device, electronic device and storage medium provided by the embodiment of the present application. By reasonably setting the filling logic of the icon, the filling process can be avoided Solve the problem of icons being disrupted and improve the user experience. The specific icon moving method will be described in detail in subsequent embodiments.
请参阅图2,图2示出了本申请一实施例提供的图标的移动方法的流程示意图。该方法用于通过合理的设置图标的补位逻辑,可以实现避免补位过程中图标被打乱的问题,提升用户的使用体验。在具体的实施例中,该图标的移动方法应用于如图13所示的图标的移动装置200以及配置有图标的移动装置200的电子设备100(图14)。下面将以电子设备为例,说明本实施例的具体流程,当然,可以理解的,本实施例所应用的电子设备可以包括只能手机、平板电脑、智能手表等穿戴式电子设备,在此不做限定。下面将针对图2所示的流程进行详细的阐述,所述图标的移动方法具体可以包括以下步骤:Please refer to Figure 2. Figure 2 shows a schematic flow chart of an icon moving method provided by an embodiment of the present application. This method is used to avoid the problem of icons being disrupted during the filling process and improve the user experience by reasonably setting the icon filling logic. In a specific embodiment, the icon moving method is applied to the icon mobile device 200 as shown in FIG. 13 and the electronic device 100 configured with the icon mobile device 200 (FIG. 14). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic devices applied in this embodiment may include wearable electronic devices such as mobile phones, tablet computers, and smart watches. This will not be discussed here. Make limitations. The process shown in Figure 2 will be described in detail below. The method of moving the icon may specifically include the following steps:
步骤S110:显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大。Step S110: Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
在本实施例中,电子设备可以显示图标编辑界面,其中,该图标编辑界面可以包括行列式排布的多个图标。作为一种方式,该图标编辑界面可以包括图标显示界面(如桌面),或者,该图标编辑界面可以包括应用列表界面,在此不做限定。In this embodiment, the electronic device may display an icon editing interface, where the icon editing interface may include multiple icons arranged in a matrix. As a method, the icon editing interface may include an icon display interface (such as a desktop), or the icon editing interface may include an application list interface, which is not limited here.
在一些实施方式中,当电子设备为移动终端、平板电脑等屏幕较大的设备时,则可以认为电子设备有较大的区域可以实现在桌面等图标显示界面显示多个图标,则该图标编辑界面可以为图标显示界面。当电子设备为智能手表、智能手环等屏幕较小的设备时,则可以认为电子设备没有较大的区域可以实现在桌面等图标显示界面显示多个图标,则可以在应用列表界面显示该多个图标,则该图标编辑界面可以为应用列表界面。In some embodiments, when the electronic device is a device with a larger screen such as a mobile terminal or a tablet computer, it can be considered that the electronic device has a larger area to display multiple icons on an icon display interface such as a desktop, then the icon editor The interface can display the interface as an icon. When the electronic device is a device with a small screen such as a smart watch or a smart bracelet, it can be considered that the electronic device does not have a large area to display multiple icons on an icon display interface such as the desktop, and the multiple icons can be displayed on the application list interface. icon, the icon editing interface can be an application list interface.
作为一种方式,多个图标在以行列式排布的形式显示时,则该多个图标可以按照规则的行列式进行排布,此时,多个图标的显示大小一致或者相近,例如,该多个图标可以按照6*6的行列式规则排布,可以按照8*8的行列式规则排布,可以按照16*16的行列式规则排布等,在此不做限定。作为又一种方式,多个图标在以行列式的形式显示时,则该多个可以按照不规则的行列式进行排布,例如,可以按照行星视图的方式进行排布,此时,多个图标的显示大小不一致或者不相近。As a method, when multiple icons are displayed in a matrix arrangement, the multiple icons can be arranged in a regular matrix. At this time, the display sizes of the multiple icons are consistent or similar. For example, the Multiple icons can be arranged according to the 6*6 determinant rule, they can be arranged according to the 8*8 determinant rule, they can be arranged according to the 16*16 determinant rule, etc. There are no limitations here. As another way, when multiple icons are displayed in the form of a matrix, the multiple icons can be arranged in an irregular matrix. For example, they can be arranged in a planet view. In this case, the multiple icons can be arranged in an irregular matrix. The icons are displayed at inconsistent or dissimilar sizes.
请参阅图3和图4,图3示出了本申请实施例提供的行星视图的示意图,图4示出了本申请实施例提供的行星视图去掉变形滤镜的效果的示意图。如图3所示,当多个图标按照行星视图的方式进行排布时,多个图标的显示大小不一致或者不相近,而去掉行星视图的变形滤镜后,其也是按照规则的行列式的方式进行排布,多个图标的显示大小一致或者相近,如图4所示。Please refer to Figures 3 and 4. Figure 3 shows a schematic diagram of a planet view provided by an embodiment of the present application, and Figure 4 shows a schematic diagram of the planet view provided by an embodiment of the present application without the deformation filter effect. As shown in Figure 3, when multiple icons are arranged according to the planet view, the display sizes of the multiple icons are inconsistent or not similar. After removing the deformation filter of the planet view, they are also arranged in a regular determinant manner. Arrange the icons so that the display sizes of multiple icons are the same or similar, as shown in Figure 4.
在本实施例中,多个图标各自对应有图标序号,且多个图标各自对应的图标序号从内到外螺旋式增大。在一些实施方式中,多个图标的初始排布顺序(多个图标各自对应的图标序号)可以由电子设备默认设置,例如,电子设备可以根据应用程序的安装顺序设置多个图标各自对应的图标序号,如,安装时间越早的应用程序,其图标对应的图标序号越小,安装时间越晚的应用程序,其图标对应的图标序号越大;或者,多个图标的初始排布顺序(多个图标各自对应的图标序号)可以由用户根据需求手动调整,在此不做限定。其中,可以理解的是,“图标序号”可以是一种虚拟映射,在本实施例中只是为了表征多个图标的排布关系,并非做其他的限定,另外,在多个图标排序完毕后,该图标序号还可以重新被认定,在此不做限定。In this embodiment, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons spirally increases from the inside to the outside. In some embodiments, the initial arrangement order of the multiple icons (the icon serial numbers corresponding to the multiple icons) can be set by default by the electronic device. For example, the electronic device can set the corresponding icons of the multiple icons according to the installation order of the application. Serial number, for example, the earlier an application is installed, the smaller the icon serial number corresponding to its icon, and the later the application is installed, the larger the icon serial number corresponding to its icon is; or, the initial arrangement order of multiple icons (more The icon serial numbers corresponding to each icon) can be manually adjusted by the user according to needs, and are not limited here. Among them, it can be understood that the "icon serial number" can be a kind of virtual mapping. In this embodiment, it is only used to represent the arrangement relationship of multiple icons, and is not intended to make other limitations. In addition, after the multiple icons are sorted, The icon serial number can also be re-identified, which is not limited here.
作为一种方式,多个图标各自对应的图标序号可以为自然数,即,多个图标各自对应的图标序号可以从0开始按螺旋式从内到外依次增大。As a method, the icon serial numbers corresponding to the multiple icons can be natural numbers. That is, the icon serial numbers corresponding to the multiple icons can start from 0 and increase in a spiral manner from the inside to the outside.
请参阅图5,图5示出了本申请实施例提供的多个图标的排布示意图,如图5所示,多个图标行列式排布,且多个图标各自对应的图标序号可以包括0~63,则多个图标各自对应的图标序号从0开始按螺旋式从内到外依次增大至63。 Please refer to Figure 5. Figure 5 shows a schematic diagram of the arrangement of multiple icons provided by an embodiment of the present application. As shown in Figure 5, multiple icons are arranged in rows and columns, and the icon serial numbers corresponding to the multiple icons may include 0. ~63, then the icon numbers corresponding to the multiple icons start from 0 and increase in a spiral manner from the inside to the outside to 63.
步骤S120:响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示。Step S120: In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
在本实施例中,在显示图标编辑界面的过程中,可以监测是否接收到用于指示停止图标在其显示位置的显示的图标操作指令,其中,在监测到图标操作指令时,则可以响应于该图标操作指令,从多个图标中确定待操作图标,其中,所确定的待操作图标即为待停止在其显示位置的显示的图标。In this embodiment, during the process of displaying the icon editing interface, it can be monitored whether an icon operation instruction for instructing to stop the display of the icon at its display position is received, wherein when the icon operation instruction is detected, it can be responded to The icon operation instruction determines an icon to be operated from a plurality of icons, where the determined icon to be operated is the icon to be stopped at its display position.
作为一种方式,该图标操作指令可以包括图标删除指令,即,可以响应于图标删除指令,从多个图标中确定待操作图标,其中,该图标删除指令用于指示将图标从其显示位置删除。作为又一种方式,该图标操作指令可以包括图标移动指令,即,可以响应于图标移动指令,从多个图标中确定待操作图标,其中,该图标移动指令用于指示将图标从其显示位置移除,例如,将图标从其显示位置移动至末尾。As a way, the icon operation instruction may include an icon deletion instruction, that is, in response to the icon deletion instruction, the icon to be operated may be determined from a plurality of icons, wherein the icon deletion instruction is used to instruct the icon to be deleted from its display position. . As yet another way, the icon operation instruction may include an icon movement instruction, that is, the icon to be operated may be determined from a plurality of icons in response to the icon movement instruction, wherein the icon movement instruction is used to instruct the icon to be moved from its display position. Remove, for example, move an icon from its display position to the end.
在一些实施方式中,电子设备在显示图标编辑界面的过程中,可以在监测到目标语音信息的情况下,确定监测到图标操作指令;可以在监测到作用于图标编辑界面的目标触控操作的情况下,确定监测到图标操作指令;可以在监测到作用于电子设备的目标控件的目标触控操作的情况下,确定监测到图标操作指令。In some embodiments, during the process of displaying the icon editing interface, the electronic device may determine that the icon operation instruction is detected when the target voice information is detected; the electronic device may determine that the icon operation instruction is detected when the target touch operation on the icon editing interface is detected. In this case, it is determined that the icon operation instruction is detected; when a target touch operation on the target control of the electronic device is detected, it is determined that the icon operation instruction is detected.
步骤S130:从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。Step S130: From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
在本实施例中,在确定待操作图标的情况下,则可以从多个图标中,确定与待操作图标的显示位置相邻且图标序号大于待操作图标的图标序号的待选择图标。In this embodiment, when the icon to be operated is determined, the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated may be determined from the plurality of icons.
作为一种方式,在确定待操作图标的情况下,则可以获取该待操作图标的显示位置,并基于该待操作图标的显示位置从多个图标中,确定与该待操作图标的显示位置相邻的图标,然后,可以获取该待操作图标的图标序号,并基于该待操作图标的图标序号从与该待操作图标的显示位置相邻的图标中,确定图标序号大于待操作图标的图标序号的图标,作为待选择图标。As a way, when the icon to be operated is determined, the display position of the icon to be operated can be obtained, and based on the display position of the icon to be operated, the display position corresponding to the icon to be operated is determined from among multiple icons. Then, the icon serial number of the icon to be operated can be obtained, and based on the icon serial number of the icon to be operated, from the icons adjacent to the display position of the icon to be operated, determine that the icon serial number is greater than the icon serial number of the icon to be operated icon as the icon to be selected.
作为又一种方式,在确定待操作图标的情况下,则可以获取该待操作图标的图标序号,并基于该待操作图标的图标序号从多个图标中,确定图标序号大于待操作图标的图标序号的图标,然后,可以获取该待操作图标的显示位置,并基于该待操作图标的显示位置从图标序号大于待操作图标的图标序号的图标中,确定与该待操作图标的显示位置相邻的图标,作为待选择图标。As another way, when the icon to be operated is determined, the icon serial number of the icon to be operated can be obtained, and based on the icon serial number of the icon to be operated, an icon whose icon serial number is greater than the icon to be operated is determined from multiple icons. Then, the display position of the icon to be operated can be obtained, and based on the display position of the icon to be operated, from the icons whose icon serial number is greater than the icon sequence number of the icon to be operated, determine the display position adjacent to the icon to be operated icon as the icon to be selected.
作为再一种方式,在确定待操作图标的情况下,则可以获取该待操作图标的显示位置和该待操作图标的图标序号,并基于该待操作图标的显示位置和该待操作图标的图标序号从多个图标中,确定与待操作图标的显示位置相邻且图标序号大于待操作图标的图标序号的图标,作为待选择图标。As another way, when the icon to be operated is determined, the display position of the icon to be operated and the icon serial number of the icon to be operated can be obtained, and based on the display position of the icon to be operated and the icon of the icon to be operated, The sequence number determines from the plurality of icons the icon that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon sequence number of the icon to be operated, as the icon to be selected.
步骤S140:获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标。Step S140: Obtain the number of icons of the icons to be selected as a first number of icons, and determine a target icon from the icons to be selected based on the first number of icons.
在本实施例中,在从多个图标中确定待选择图标的情况下,则可以获取该待选择图标的图标数量,将所获取的该待选择图标的图标数量作为第一数量,并基于该第一图标数量从待选择图标中确定一个待选择图标作为目标图标。In this embodiment, when the icon to be selected is determined from multiple icons, the number of icons of the icon to be selected can be obtained, and the obtained number of icons of the icon to be selected is used as the first number, and based on the The first number of icons determines an icon to be selected from the icons to be selected as the target icon.
在一些实施方式中,可以预先设置并存储有第一预设映射关系,该预设映射关系可以包括第一图标数量、目标图标的确定方式、以及第一图标数量和目标图标的确定方式的对应关系。因此,在本实施例中,在获得第一图标数量的情况下,则可以基于该第一预设映射关系,确定该第一图标数量对应的目标图标的确定方式,以根据该第一图标数量对应的目标图标的确定方式,从待选择图标中确定目标图标。In some embodiments, a first preset mapping relationship may be preset and stored. The preset mapping relationship may include a first number of icons, a way to determine the target icon, and a correspondence between the first number of icons and the way to determine the target icon. relation. Therefore, in this embodiment, when the first number of icons is obtained, a method for determining the target icon corresponding to the first number of icons can be determined based on the first preset mapping relationship, so as to determine the target icon according to the first number of icons. The corresponding target icon is determined by determining the target icon from the icons to be selected.
在一些实施方式中,该第一图标数量可以包括0、1、2、3、4,在此不做限定。In some implementations, the first number of icons may include 0, 1, 2, 3, and 4, which is not limited here.
步骤S150:将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。Step S150: Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
在本实施例中,在确定目标图标的情况下,则可以将待操作图标从其显示位置上移除,并将目标图标补位至待操作图标的显示位置进行显示,以避免补位过程中其他图标被打乱的问题,提升用户的使用体验。In this embodiment, when the target icon is determined, the icon to be operated can be removed from its display position, and the target icon can be replaced to the display position of the icon to be operated for display, so as to avoid the replacement process. Fixed the problem of other icons being disrupted to improve the user experience.
在一些实施方式中,若图标操作指令为图标删除指令,则可以将待操作图标从其显示位置上删除,并将目标图标补位至待操作图标的显示位置进行显示;若图标操作指令为图标移动指令,则可以将待操作图标从其显示位置上删除且移动至所指示的显示位置,并将目标图标补位至待操作图标的显示位置进行显示。In some implementations, if the icon operation instruction is an icon deletion instruction, the icon to be operated can be deleted from its display position, and the target icon can be replaced to the display position of the icon to be operated for display; if the icon operation instruction is an icon With a move instruction, the icon to be operated can be deleted from its display position and moved to the indicated display position, and the target icon can be replaced to the display position of the icon to be operated for display.
本申请一实施例提供的图标的移动方法,显示图标编辑界面,其中,该图标编辑界面包括行列式排布的多个图标,该多个图标各自对应有图标序号,多个图标各自对应的图标序号从内到外螺旋式增大,响应于图标操作指令,从多个图标中确定待操作图标,其中,该图标操作指令用于指示停止图标在其显示位置的显示,从多个图标中,确定与待操作图标的显示位置相邻且图标序号大于待操作图标的图标序号的待选择图标,获取待选择图标的图标数量作为第一图标数量,并基于第一图标数量从待选择图标中确定目标图标,将待操作图标从其显示位置上移除,并将目标图标补位至待操作图标的显示位置进行显示,从而通过合理的设置图标的补位逻辑,可以实现避免补位过程中图 标被打乱的问题,提升用户的使用体验。An icon moving method provided by an embodiment of the present application displays an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and each of the plurality of icons corresponds to an icon. The serial number spirally increases from the inside to the outside. In response to the icon operation instruction, the icon to be operated is determined from multiple icons. The icon operation instruction is used to instruct the display of the stop icon at its display position. From the multiple icons, Determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated, obtain the number of icons of the icon to be selected as the first number of icons, and determine from the icons to be selected based on the first number of icons The target icon removes the icon to be operated from its display position and fills the target icon to the display position of the icon to be operated. Thus, by reasonably setting the filling logic of the icon, it is possible to avoid the problem of image filling during the filling process. Solve the problem of disrupted markings and improve the user experience.
请参阅图6,图6示出了本申请一实施例提供的图标的移动方法的流程示意图。下面将针对图6所示的流程进行详细的阐述,所述图标的移动方法具体可以包括以下步骤:Please refer to FIG. 6 , which is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 6 will be described in detail below. The method of moving the icon may specifically include the following steps:
步骤S210:显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大。Step S210: Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
步骤S220:响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示。Step S220: In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
步骤S230:从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。Step S230: From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
步骤S240:获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标。Step S240: Obtain the number of icons of the icons to be selected as a first number of icons, and determine a target icon from the icons to be selected based on the first number of icons.
步骤S250:将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。Step S250: Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
其中,步骤S210-步骤S250的具体描述请参阅步骤S110-步骤S150,在此不再赘述。For detailed descriptions of steps S210 to S250, please refer to steps S110 to S150, which will not be described again here.
步骤S260:将所述目标图标作为所述待操作图标,并重复执行所述从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标的步骤,到所述将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示的步骤,直到所述多个图标补位完成。Step S260: Use the target icon as the icon to be operated, and repeatedly execute the step of determining, from the plurality of icons, the icon adjacent to the display position of the icon to be operated and having an icon number greater than the icon to be operated. The step of selecting the icon of the icon serial number, to the step of removing the icon to be operated from its display position, and filling the target icon to the display position of the icon to be operated for display, until The replacement of multiple icons mentioned above is completed.
在本实施例中,在从多个图标中确定目标图标,并将目标图标补位至待操作图标的显示位置进行显示之后,则目标图标原来的显示位置可能出现留白,因此,为了保证图标编辑界面(多个图标)的显示效果,可以从多个图标中除目标图标外的其他图标中选择图标进行补位,以此类推,直到多个图标补位完成。其中,多个图标补位完成可以为多个图标中已不存在可以移动补位的图标,或者,多个图标补位完成可以为多个图标中每两个图标之间不存在留白的显示位置。In this embodiment, after determining the target icon from multiple icons and filling the target icon to the display position of the icon to be operated for display, the original display position of the target icon may be blank. Therefore, in order to ensure that the icon For the display effect of the editing interface (multiple icons), you can select icons from multiple icons except the target icon for filling, and so on until the filling of multiple icons is completed. Among them, the completion of multiple icon filling can be that there is no icon that can be moved and filled among the multiple icons, or the completion of multiple icon filling can be the display that there is no white space between every two icons in the multiple icons. Location.
在一些实施方式中,在从多个图标中确定目标图标,并将目标图标补位至待操作图标的显示位置进行显示之后,则可以将目标图标作为待操作图标,并重复执行步骤S230-步骤S250,直到多个图标补位完成。In some embodiments, after determining the target icon from multiple icons and filling the target icon to the display position of the icon to be operated for display, the target icon can be used as the icon to be operated, and step S230-step can be repeated. S250 until multiple icons are replaced.
本申请一实施例提供的图标的移动方法,相较于图2所示的图标的移动方法,本实施例还将目标图标作为待操作图标,并重复执行图标补位的操作,直到多个图标补位完成,从而可以实现多个图标的依序补位,提升图标的显示效果,提升用户的使用体验。The icon moving method provided by an embodiment of the present application is compared with the icon moving method shown in Figure 2. This embodiment also uses the target icon as the icon to be operated, and repeatedly performs the icon filling operation until multiple icons are The filling is completed, so that multiple icons can be filled in sequence, improving the display effect of the icons and improving the user experience.
请参阅图7,图7示出了本申请一实施例提供的图标的移动方法的流程示意图。下面将针对图7所示的流程进行详细的阐述,所述图标的移动方法具体可以包括以下步骤:Please refer to FIG. 7 , which is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 7 will be described in detail below. The method of moving the icon may specifically include the following steps:
步骤S310:显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大。Step S310: Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and the icon serial numbers corresponding to each of the plurality of icons are from inside to outside. Spiral increase.
步骤S320:响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示。Step S320: In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
步骤S330:从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。Step S330: From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
步骤S340:获取所述待选择图标的图标数量作为第一图标数量。Step S340: Obtain the number of icons of the icon to be selected as the first number of icons.
其中,步骤S310-步骤S340的具体描述请参阅步骤S310-步骤S340,在此不再赘述。For the detailed description of step S310 to step S340, please refer to step S310 to step S340, which will not be described again here.
步骤S350:若所述第一图标数量为至少两个,则获取至少两个所述待选择图标各自与目标坐标系的坐标轴原点的距离,其中,所述多个图标各自对应的图标序号以所述坐标轴原点作为螺旋中心点从内到外螺旋式增大。Step S350: If the number of the first icons is at least two, obtain the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system, where the icon serial number corresponding to each of the plurality of icons is The origin of the coordinate axis serves as the center point of the spiral and increases spirally from the inside to the outside.
在本实施例中,图标编辑界面可以建立有目标坐标系,其中,该目标坐标系的X轴可以与多个图标排布的行平行,该目标坐标系的Y轴可以与多个图标排布的列平行,多个图标各自对应的图标序号以该目标坐标系的坐标轴原点作为螺旋中心点从内到外螺旋式增大,在目标坐标系下,横向和纵向的相邻两个图标之间的距离是一致的。例如,多个图标中,图标序号为“0”的图标位于该目标坐标系的第一象限内离坐标轴原点最近的显示位置;图标序号为“1”的图标位于该目标坐标系的第四象限内离坐标轴原点最近的显示位置;图标序号为“2”的图标位于该目标坐标系的第三象限内离坐标轴原点最近的显示位置;图标序号为“3”的图标位于该目标坐标系的第二象限内离坐标轴原点最近的显示位置。In this embodiment, the icon editing interface can establish a target coordinate system, wherein the X-axis of the target coordinate system can be parallel to the rows in which multiple icons are arranged, and the Y-axis of the target coordinate system can be arranged in parallel with the rows of multiple icons. The columns are parallel, and the corresponding icon serial numbers of multiple icons use the origin of the coordinate axis of the target coordinate system as the spiral center point to spirally increase from the inside to the outside. In the target coordinate system, between two adjacent icons in the horizontal and vertical directions The distance between them is consistent. For example, among multiple icons, the icon with icon number "0" is located at the display position closest to the origin of the coordinate axis in the first quadrant of the target coordinate system; the icon with icon number "1" is located at the fourth quadrant of the target coordinate system. The display position closest to the origin of the coordinate axis in the quadrant; the icon with icon number "2" is located at the display position closest to the origin of the coordinate axis in the third quadrant of the target coordinate system; the icon with icon number "3" is located at the target coordinate The display position closest to the origin of the coordinate axis in the second quadrant of the system.
在本实施例中,若第一图标数量为至少两个,例如,若第一图标数量为两个、三个或者四个,则表征待选择图标的数量为至少两个,则可以获取至少两个待选择图标各自与目标坐标系的坐标轴原点的距离。作为一种可实施的方式,获取至少两个待选择图标在目标坐标系下各自的坐标信息,基于至少两个待选择图标在目标坐标系下各自的坐标信息和坐标轴原点的坐标信息,可以获取该至少两个待选择坐标与目标坐标系的坐标轴原点的距离。 In this embodiment, if the number of first icons is at least two, for example, if the number of first icons is two, three, or four, it means that the number of icons to be selected is at least two, and then at least two icons can be obtained. The distance between each icon to be selected and the origin of the coordinate axis of the target coordinate system. As an implementable method, obtain the coordinate information of at least two icons to be selected in the target coordinate system. Based on the coordinate information of the at least two icons to be selected in the target coordinate system and the coordinate information of the origin of the coordinate axis, you can Obtain the distance between the at least two coordinates to be selected and the origin of the coordinate axis of the target coordinate system.
在一些实施方式中,若第一图标数量为一个,则表征待选择图标的数量为一个,则可以直接将该一个待选择图标确定为目标图标。In some embodiments, if the number of first icons is one, it means that the number of icons to be selected is one, and the one icon to be selected can be directly determined as the target icon.
在一些实施方式中,若第一图标数量为0个,则表达待选择图标的数量为0个,则可以直接将待操作图标从其显示位置上移除,并保持多个图标中除待操作图标外的其他图标的显示位置不变。In some embodiments, if the number of first icons is 0, it means that the number of icons to be selected is 0, then the icon to be operated can be directly removed from its display position, and the icons to be operated on can be kept. The display position of other icons except the icon remains unchanged.
步骤S360:从至少两个所述待选择图标中,确定与所述坐标轴原点的距离最大的待确定图标。Step S360: From at least two of the icons to be selected, determine the icon to be determined that is the largest distance from the origin of the coordinate axis.
在本实施例中,在获得至少两个待选择图标各自与目标坐标系的坐标轴原点的距离的情况下,则可以从至少两个待选择图标中,确定与坐标轴原点的距离最大的待选择图标,并将与坐标轴原点的距离最大的待选择图标作为待确定图标。In this embodiment, when the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system is obtained, the one with the largest distance from the origin of the coordinate axis can be determined from the at least two icons to be selected. Select the icon, and use the icon to be selected that is the largest distance from the origin of the coordinate axis as the icon to be determined.
在一些实施方式中,在获得至少两个待选择图标各自与目标坐标系的坐标轴原点的距离的情况下,则可以将至少两个待选择图标各自与目标坐标系的坐标轴原点的距离进行比较,以从中获得离坐标轴原点的距离最大的待选择图标作为待确定图标。In some embodiments, when the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system is obtained, the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system can be calculated. Compare, and use the icon to be selected that has the largest distance from the origin of the coordinate axis as the icon to be determined.
步骤S370:获取所述待确定图标的图标数量作为第二图标数量,并基于所述第二图标数量从与所述待确定图标中确定所述目标图标。Step S370: Obtain the number of icons of the icon to be determined as a second number of icons, and determine the target icon from the icons to be determined based on the second number of icons.
在本实施例中,在从至少两个待选择图标中确定待确定图标的情况下,则可以获取该待确定图标的图标数量,将所获取的待确定图标的图标数量作为第二数量,并基于该第二数量从待确定图标中确定目标图标。In this embodiment, when the icon to be determined is determined from at least two icons to be selected, the number of icons of the icon to be determined can be obtained, and the obtained number of icons of the icon to be determined is used as the second number, and The target icon is determined from the icons to be determined based on the second number.
在一些实施方式中,可以预先设置并存储有第二预设映射关系,该预设映射关系可以包括第二图标数量、目标图标的确定方式、以及第二图标数量和目标图标的确定方式的对应关系。因此,在本实施例中,在获得第二图标数量的情况下,则可以基于该第二预设映射关系,确定该第二图标数量对应的目标图标的确定方式,以根据该第二图标数量对应的目标图标的确定方式,从待确定图标中确定目标图标。In some embodiments, a second preset mapping relationship may be preset and stored. The preset mapping relationship may include the second number of icons, the determination method of the target icon, and the correspondence between the second number of icons and the determination method of the target icon. relation. Therefore, in this embodiment, when the second number of icons is obtained, a method for determining the target icon corresponding to the second number of icons can be determined based on the second preset mapping relationship, so as to determine the target icon according to the second number of icons. The corresponding target icon is determined by determining the target icon from the icons to be determined.
在一些实施方式中,该第二图标数量可以包括一个或者两个,在此不做限定。其中,若第二图标数量为一个,则可以直接将该一个待确定图标确定为目标图标;若第二图标数量为两个,则从两个待确定图标中将图标序号最小的待确定图标确定为目标图标。In some implementations, the number of second icons may include one or two, which is not limited here. Among them, if the number of the second icon is one, the icon to be determined can be directly determined as the target icon; if the number of the second icon is two, the icon to be determined with the smallest icon number among the two icons to be determined is determined for the target icon.
步骤S380:将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。Step S380: Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
其中,步骤S380的具体描述请参阅步骤S150,在此不再赘述。For the detailed description of step S380, please refer to step S150, which will not be described again here.
例如,请参阅图8,图8示出了本申请实施例提供的图标补位的示意图,假设待操作图标为图标序号为0的图标。For example, please refer to FIG. 8 , which shows a schematic diagram of icon filling provided by an embodiment of the present application. It is assumed that the icon to be operated is an icon with an icon number of 0.
可以从多个图标中,确定与图标序号为0的图标的显示位置相邻且图标序号大于与该图标序号0的待选择图标为:图标序号为1的图标、图标序号为3的图标、图标序号为5的图标、以及图标序号为7的图标。此时,可以知道该待选择图标的数量为4个(即为大于1个),则可以比较图标序号为1的图标、图标序号为3的图标、图标序号为5的图标、以及图标序号为7的图标各自到坐标轴原点的距离(如图5所示,坐标轴原点为图标序号为0的图标、图标序号为1的图标、图标序号为2的图标、以及图标序号为3的图标的中心点)的距离。其中,比较发现,图标序号为5的图标和图标序号为7的图标与坐标轴原点的距离都最大,则可以从图标序号为5的图标和图标序号为7中确定图标序号更小的图标作为目标图标,即可以将图标序号为5的图标确定为目标图标,并将图标序号为5的图标从其显示位置移动补位至图标序号为0的图标的显示位置。From multiple icons, it can be determined that the icons to be selected that are adjacent to the display position of the icon with icon number 0 and whose icon number is greater than the icon number 0 are: the icon with icon number 1, the icon with icon number 3, and the icon with icon number 0. The icon with the serial number 5, and the icon with the icon serial number 7. At this time, it can be known that the number of icons to be selected is 4 (that is, more than 1), then you can compare the icon with the icon number 1, the icon with the icon number 3, the icon with the icon number 5, and the icon with the icon number The distance between each icon of 7 and the origin of the coordinate axis (as shown in Figure 5, the origin of the coordinate axis is the distance between the icon with icon number 0, the icon with icon number 1, the icon with icon number 2, and the icon with icon number 3 center point). Among them, the comparison shows that the icon with icon number 5 and the icon with icon number 7 have the largest distance from the origin of the coordinate axis. Then the icon with the smaller icon number can be determined from the icon with icon number 5 and icon number 7 as the icon. The target icon means that the icon with icon number 5 can be determined as the target icon, and the icon with icon number 5 can be moved from its display position to the display position of the icon with icon number 0.
之后,可以将图标序号为5的图标作为待操作图标,可以从多个图标中,确定与图标序号为5的图标的显示位置相邻且图标序号大于该图标序号5的待选择图标为:图标序号为6的图标和图标序号为18的图标。此时,可以知道待选择图标的数量为2个(即为大于1个),则可以比较图标序号为6的图标和图标序号为18的图标各自到坐标轴原点的距离。其中,比较发现,图标序号为18的图标与坐标轴原点的距离大于图标序号为6的图标与坐标轴原点的距离,则可以将图标序号为18的图标确定为目标图标,并将图标序号为18的图标从其显示位置移动补位至图标序号为5的图标的显示位置。After that, the icon with the icon number 5 can be used as the icon to be operated. From the multiple icons, it can be determined that the icon to be selected is adjacent to the display position of the icon with the icon number 5 and the icon number is greater than the icon number 5: icon The icon with serial number 6 and the icon with serial number 18. At this time, it can be known that the number of icons to be selected is 2 (that is, more than 1), and then the distances from the icon with icon number 6 and the icon with icon number 18 to the origin of the coordinate axis can be compared. Among them, the comparison found that the distance between the icon with icon number 18 and the origin of the coordinate axis is greater than the distance between the icon with icon number 6 and the origin of the coordinate axis. Then the icon with icon number 18 can be determined as the target icon, and the icon number is The icon of 18 is moved from its display position to the display position of the icon with icon number 5.
之后,可以将图标序号为18的图标作为待操作图标,可以从多个图标中,确定与图标序号为18的图标的显示位置相邻且图标序号大于该图标序号18的待选择图标为:图标序号为19的图标和图标序号为39的图标。此时,可以知道待选择图标的数量为2个(即为大于1个),则可以比较图标序号为19的图标和图标序号为39的图标各自到坐标轴原点的距离。其中,比较发现,图标序号为39的图标与坐标轴原点的距离大于图标序号为19的图标与坐标轴原点的距离,则可以将图标序号为39的图标确定为目标图标,并将图标序号为39的图标从其显示位置移动补位至图标序号为18的图标的显示位置。After that, the icon with the icon number 18 can be used as the icon to be operated. From the multiple icons, it can be determined that the icon to be selected is adjacent to the display position of the icon with the icon number 18 and the icon number is greater than the icon number 18: Icon The icon with serial number 19 and the icon with serial number 39. At this time, it can be known that the number of icons to be selected is 2 (that is, more than 1), and the distances from the icon with icon number 19 and the icon with icon number 39 to the origin of the coordinate axis can be compared. Among them, the comparison found that the distance between the icon with icon number 39 and the origin of the coordinate axis is greater than the distance between the icon with icon number 19 and the origin of the coordinate axis. Then the icon with icon number 39 can be determined as the target icon, and the icon number is The icon 39 is moved from its display position to the display position of the icon with icon number 18.
之后,可以将图标序号为39的图标作为待操作图标,可以从多个图标中,确定与图标序号为39的图标的显示位置相邻且图标序号大于该图标序号39的待选择图标为:图标序号为40的图标。此时,可以知道待选择图标的数量为1个,则可以直接将图标序号为40的图标确定为目标图标,并将图标序号为40的图标从其显示位置移动补位至图标序号为39的图标的显示位置。 After that, the icon with icon number 39 can be used as the icon to be operated. From multiple icons, it can be determined that the icon to be selected is adjacent to the display position of the icon with icon number 39 and has an icon number greater than icon number 39: Icon The icon with serial number 40. At this time, it can be known that the number of icons to be selected is 1, then the icon with icon number 40 can be directly determined as the target icon, and the icon with icon number 40 can be moved from its display position to the icon with icon number 39 The display position of the icon.
以此类推,从图标序号为40的图标到图标序号为62的图标都是同图标序号为39的图标的判断结果,在此不再赘述。By analogy, from the icon with icon number 40 to the icon with icon number 62, they are all the same judgment results as the icon with icon number 39, which will not be described again here.
最后,可以将图标序号为63的图标作为待操作图标,可以从多个图标中,确定与图标序号为63的图标的显示位置相邻且图标序号大于该图标序号63的待选择图标,其中,发现图标序号为63的图标四周没有比它图标序号更大的图标,则结束。Finally, the icon with the icon number 63 can be used as the icon to be operated, and the icon to be selected that is adjacent to the display position of the icon with the icon number 63 and whose icon number is greater than the icon number 63 can be determined from multiple icons, where, It ends when it is found that there is no icon with a larger icon number around the icon with icon number 63.
基于上述方式,可以确定将图标序号为0的图标确定为待操作图标时,所确定的补位规则为0~5~18~39~40~41~42~43~44~45~46~47~48~49~50~51~52~53~54~55~56~57~58~59~60~61~62~63。Based on the above method, it can be determined that when the icon with icon number 0 is determined as the icon to be operated, the determined filling rules are 0~5~18~39~40~41~42~43~44~45~46~47 ~48~49~50~51~52~53~54~55~56~57~58~59~60~61~62~63.
本申请一实施例提供的图标的移动方法,相较于图2所示的图标的移动方法,本实施例还根据待选择图标的图标数量的不同,采用不同的目标图标的确定方式,从而可以提升所确定的目标图标的准确性,以提升用户的使用体验。Compared with the icon moving method shown in FIG. 2 , the icon moving method provided by an embodiment of the present application also adopts different target icon determination methods according to the number of icons to be selected, so that it can Improve the accuracy of the determined target icon to improve the user experience.
请参阅图9,图9示出了本申请一实施例提供的图标的移动方法的流程示意图。下面将针对图9所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:Please refer to FIG. 9 , which is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 9 will be described in detail below. The method may specifically include the following steps:
步骤S410:显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大。Step S410: Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
步骤S420:响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示。Step S420: In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
其中,步骤S410-步骤S420的具体描述请参阅步骤S110-步骤S120,在此不再赘述。For detailed descriptions of steps S410 to S420, please refer to steps S110 to S120, which will not be described again here.
步骤S430:获取所述待操作图标对应的图标序号作为第一图标序号,并基于所述第一图标序号确定所述待操作图标在n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,其中,所述n个图标圈根据所述多个图标的显示位置建立,n为自然数,当n=0时,第0个图标圈包括的图标的图标数量为一个,且一个所述图标为所述多个图标中图标序号最小的图标,当n>0时,第n个图标圈包括的图标的图标数量为8n,且在每个所述图标圈中,位于图标圈右下角的图标作为所属图标圈的第8n-1个图标,且位于所述第8n-1个图标的左侧相邻位置的图标作为所属图标圈的第0个图标。Step S430: Obtain the icon serial number corresponding to the icon to be operated as the first icon serial number, and determine the icon circle to which the icon to be operated in the n icon circles and the icon circle to which it belongs based on the first icon serial number. Icon sorting, wherein the n icon circles are established according to the display positions of the multiple icons, n is a natural number, when n=0, the number of icons included in the 0th icon circle is one, and one The icon is the icon with the smallest icon number among the plurality of icons. When n>0, the number of icons included in the n-th icon circle is 8n, and in each of the icon circles, it is located in the lower right corner of the icon circle. The icon is regarded as the 8n-1th icon of the icon circle to which it belongs, and the icon located adjacent to the left side of the 8n-1th icon is regarded as the 0th icon of the icon circle to which it belongs.
在本实施例中,针对图标编辑界面中行列式排布的多个图标,可以根据多个图标的显示位置建立n个图标圈,其中,n为自然数。当n=0时,第0个图标圈包括的图标的图标数量为一个,且一个图标为多个图标中图标序号最小的图标;当n>0时,第n个图标圈包括的图标的图标数量为8n,且在每个所述图标圈中,位于图标圈右下角的图标作为所属图标圈的第8n-1个图标,且位于第8n-1个图标的左侧相邻位置的图标作为所属图标圈的第0个图标。In this embodiment, for multiple icons arranged in rows and columns in the icon editing interface, n icon circles can be established according to the display positions of the multiple icons, where n is a natural number. When n=0, the number of icons included in the 0th icon circle is one, and one icon is the icon with the smallest icon number among multiple icons; when n>0, the icon of the icon included in the nth icon circle The number is 8n, and in each of the icon circles, the icon located in the lower right corner of the icon circle is regarded as the 8n-1th icon of the icon circle to which it belongs, and the icon located adjacent to the left of the 8n-1th icon is regarded as The 0th icon of the icon circle it belongs to.
例如,假设多个图标各自对应的图标序号为从0~63的自然数,且图标序号0~63从内到外螺旋式增大。那么,在建立的n个图标圈中,第一个图标圈中包括一个图标且该一个图标的图标序号为0;第二个图标圈包括8个图标且8个图标的图标序号为1~8,位于第二个图标圈右下角的图标作为第二个图标圈的第7个图标(图标序号为8的图标),位于第7个图标的左侧相邻位置的图标作为第二个图标圈的第0个图标(图标序号为1的图标);第三个图标圈包括16个图标且16个图标的图标序号为9~24,位于第三个图标圈右下角的图标作为第三个图标圈的第15个图标(图标序号为24的图标),位于第7个图标的左侧相邻位置的图标作为第二个图标圈的第0个图标(图标序号为9的图标),以此类推。For example, assume that the icon serial numbers corresponding to the multiple icons are natural numbers from 0 to 63, and the icon serial numbers 0 to 63 spirally increase from the inside to the outside. Then, among the n icon circles created, the first icon circle includes one icon and the icon number of the one icon is 0; the second icon circle includes 8 icons and the icon numbers of the 8 icons are 1 to 8. , the icon located in the lower right corner of the second icon circle is used as the 7th icon of the second icon circle (the icon with icon number 8), and the icon located adjacent to the left of the 7th icon is used as the second icon circle The 0th icon (the icon with icon number 1); the third icon circle includes 16 icons and the icon numbers of the 16 icons are 9 to 24. The icon located in the lower right corner of the third icon circle is the third icon The 15th icon of the circle (the icon with icon number 24), and the icon located adjacent to the left of the 7th icon is the 0th icon of the second icon circle (the icon with icon number 9). analogy.
在一些实施方式中,在确定待操作图标的情况下,则可以获取该待操作图标对应的图标序号,将该待操作图标对应的图标序号作为第一图标序号,并基于该第一图标序号确定该待操作图标在上述n个图标圈中所属的图标圈,以及在其所属的图标圈的图标排序。In some embodiments, when an icon to be operated is determined, the icon serial number corresponding to the icon to be operated can be obtained, the icon serial number corresponding to the icon to be operated is used as the first icon serial number, and the determination is made based on the first icon serial number. The icon circle to which the to-be-operated icon belongs among the above-mentioned n icon circles, and the icon ordering in the icon circle to which it belongs.
请参阅图10,图10示出了本申请实施例提供的多个图标圈的示意图。如图11所示,针对图标序号为0~63的多个图标,建立有n个图标圈,其中,图标序号为0的图标属于第0个图标圈、图标序号为1~8的图标属于第一个图标圈,图标序号为9~24的图标属于第二个图标圈,图标序号为25~48的属于第三个图标圈,以此类推。可以发现,第0个图标圈只有图标序号为0的一个图标,若第n个图标圈全满,则第n个图标圈包括8n个图标,如第一个图标圈包括8个图标,第二个图标圈包括16个图标圈。第n圈(n≠0)时以右下角的图标为尾,尾的左边的图标为头,如第一个图标圈的尾是图标序号为8的图标,头是图标序号为1的图标,第二个图标圈的尾是图标序号为24的图标,头是图标序号为9的图标。不妨把头称为第n个图标圈的第0个图标,则尾称为第n个图标圈的第8n-1个图标,如图标序号为1的图标为第一个图标圈的第0个图标,图标序号为8的图标为1个图标圈的第7个图标,图标序号为9的图标为第二个图标圈的第0个图标,图标序号为24的图标为第二个图标圈的第15个图标。Please refer to FIG. 10 , which shows a schematic diagram of multiple icon circles provided by an embodiment of the present application. As shown in Figure 11, n icon circles are established for multiple icons with icon serial numbers 0 to 63. Among them, the icon with icon serial number 0 belongs to the 0th icon circle, and the icons with icon serial numbers 1 to 8 belong to the 0th icon circle. In one icon circle, icons with icon numbers 9 to 24 belong to the second icon circle, icons with icon numbers 25 to 48 belong to the third icon circle, and so on. It can be found that the 0th icon circle only has one icon with icon number 0. If the nth icon circle is full, the nth icon circle includes 8n icons. For example, the first icon circle includes 8 icons, and the second icon circle contains 8n icons. Each icon circle includes 16 icon circles. In the nth circle (n≠0), the icon in the lower right corner is the tail, and the icon to the left of the tail is the head. For example, the tail of the first icon circle is the icon with icon number 8, and the head is the icon with icon number 1. The tail of the second icon circle is the icon with icon number 24, and the head is the icon with icon number 9. You might as well call the head the 0th icon of the nth icon circle, and the tail is called the 8n-1th icon of the nth icon circle. For example, the icon with icon number 1 is the 0th icon of the first icon circle. , the icon with icon number 8 is the 7th icon of 1 icon circle, the icon with icon number 9 is the 0th icon of the second icon circle, the icon with icon number 24 is the 0th icon of the second icon circle 15 icons.
基于此,给定一个图标,可以计算出其属于第几个图标圈以及其在该图标圈是第几个图标,作为一种可实施的方式,在获得该第一图标序号的情况下,可以以第一图标序号依次减去每一个图标圈中包括的图标总数,若减去第n个图标圈的图标总数后结果小于第n+1个图标圈的图标总数,则表示该待操作图标属于第n+1个图标圈,且其结果便表示该待操作图标是该第n+1个图标圈的第几个图标。例如,假设待操作的图标序号为30,则可以先用30减去第0个图标圈包括的图标总数1得到29,29不小于第1个图标圈包 括的图标总数8,则用29减去第一个图标圈包括的图标总数8得到21,21不小于第2个图标圈包括的图标总数16,则用21减去第二个图标圈包括的图标总数16得到5,5小于第三个图标圈包括的图标总数24,故可以确定该图标序号为30的待操作图标属于第三个图标圈,且为第三个图标圈的第5个图标。Based on this, given an icon, it is possible to calculate which icon circle it belongs to and which icon it is in the icon circle. As an implementable method, in the case of obtaining the first icon serial number, Subtract the total number of icons included in each icon circle from the first icon serial number. If the result after subtracting the total number of icons in the n-th icon circle is less than the total number of icons in the n+1-th icon circle, it means that the icon to be operated belongs to The n+1th icon circle, and the result indicates which icon of the n+1th icon circle the icon to be operated on is. For example, assuming that the icon number to be operated is 30, you can first subtract the total number of icons included in the 0th icon circle from 30, 1, to get 29. 29 is not less than the 1st icon circle package. The total number of icons included in the first icon circle is 8, then subtract the total number of icons included in the first icon circle from 29 to 21, and 21 is not less than the total number of icons included in the second icon circle, 16, then subtract the total number of icons included in the second icon circle from 21 The total number of icons is 16, which is 5. 5 is less than the total number of icons included in the third icon circle, 24. Therefore, it can be determined that the icon to be operated with the icon number 30 belongs to the third icon circle and is the fifth icon of the third icon circle. .
步骤S440:根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定目标方向,并确定位于所述目标方向上的待选择图标。Step S440: Determine a target direction according to the icon circle to which the icon to be operated in the n icon circles belongs and the icon sorting in the icon circle to which it belongs, and determine the icon to be selected located in the target direction.
在本实施例中,在获得待操作图标在第n个图标圈中所属的图标圈,以及在其所属的图标圈的图标排序的情况下,则可以根据待操作图标在第n个图标圈中所属的图标圈,以及在其所属的图标圈的图标排序,确定目标方向,并确定位于该目标方向上的待选择图标。In this embodiment, after obtaining the icon circle to which the icon to be operated in the nth icon circle belongs, and the icon sorting of the icon circle to which it belongs, it is possible to obtain the icon circle according to the position of the icon to be operated in the nth icon circle. The icon circle to which it belongs, and the sorting of icons in the icon circle to which it belongs, determine the target direction, and determine the icon to be selected located in the target direction.
在一些实施方式中,当n=0时,可以确定该目标方向为待操作图标的上方;当n>0时,根据待操作图标在第n个图标圈中所属的图标圈,以及在其所属的图标圈的图标排序,确定目标方向。其中,当n=0时,则可以确定待操作图标所属的图标圈为第0个图标圈,其下一个图标在其上方,即,可以确定目标方向在待操作图标的上方;当n>0时,则可以确定待操作图标所述的图标圈为第n个图标圈(n>0),其下一个图标可能在其上方、下方、左方、右方等,在此不做限定。In some embodiments, when n=0, the target direction can be determined to be above the icon to be operated; when n>0, the target direction can be determined according to the icon circle to which the icon to be operated belongs in the nth icon circle, and the icon circle to which it belongs. Sort the icons in the icon circle to determine the target direction. Among them, when n=0, it can be determined that the icon circle to which the icon to be operated belongs is the 0th icon circle, and the next icon is above it, that is, it can be determined that the target direction is above the icon to be operated; when n>0 , it can be determined that the icon circle described by the icon to be operated is the nth icon circle (n>0), and the next icon may be above, below, left, right, etc., which is not limited here.
作为一种可实施的方式,电子设备可以预先设置并存储有第一条件、第二条件以及第三条件,其中,第一条件为x>4n-3且x<6n,第二条件为x=0或x>6n-1,第三条件为x<2n,其中,x为待操作图标在所属图标圈的图标排序。因此,在本实施例中,在获得待操作图标在第n个图标圈中所属的图标圈(即获得n)以及在其所属的图标圈的图标排序(即获得x)的情况下,可以将该待操作图标分别与第一条件、第二条件、第三条件进行比较,以判断该待操作图标是否满足第一条件、是否满足第二条件、是否满足第三条件,并获得判断结果作为第一判断结果。As an implementable manner, the electronic device can preset and store the first condition, the second condition and the third condition, wherein the first condition is x>4n-3 and x<6n, and the second condition is x= 0 or x>6n-1, the third condition is x<2n, where x is the icon ordering of the icon to be operated in the icon circle to which it belongs. Therefore, in this embodiment, after obtaining the icon circle to which the icon to be operated in the nth icon circle belongs (that is, obtaining n) and the icon sorting of the icon circle to which it belongs (that is, obtaining x), you can The icon to be operated is compared with the first condition, the second condition, and the third condition respectively to determine whether the icon to be operated satisfies the first condition, the second condition, and the third condition, and the judgment result is obtained as the third condition. One judgment result.
其中,若第一判断结果表征该待操作图标满足第一条件,即若第一判断结果表征待操作图标满足x>4n-3且x<6n,则可以确定目标方向为待操作图标的上方。If the first judgment result indicates that the icon to be operated satisfies the first condition, that is, if the first judgment result indicates that the icon to be operated satisfies x>4n-3 and x<6n, then the target direction can be determined to be above the icon to be operated.
其中,若第一判断结果表征该待操作图标满足第二条件,即若第一判断结果表征待操作图标满足x=0或x>6n-1,则可以确定目标方向为待操作图标的右方。Among them, if the first judgment result indicates that the icon to be operated satisfies the second condition, that is, if the first judgment result indicates that the icon to be operated satisfies x=0 or x>6n-1, then it can be determined that the target direction is to the right of the icon to be operated. .
其中,若第一判断结果表征该待操作图标满足第三条件,即若第一判断结果表征待操作图标满足x<2n,则可以确定目标方向为待操作图标的下方。If the first judgment result represents that the icon to be operated satisfies the third condition, that is, if the first judgment result represents that the icon to be operated satisfies x<2n, then the target direction can be determined to be below the icon to be operated.
其中,若第一判断结果表征该待操作图标不满足第一条件、第二条件以及第三条件,即若第一判断结果表征待操作图标不满足x>4n-3且x<6n、不满足x=0或x>6n-1、以及不满足x<2n,则可以确定目标方向为待操作图标的左方。Among them, if the first judgment result represents that the icon to be operated does not satisfy the first condition, the second condition and the third condition, that is, if the first judgment result represents that the icon to be operated does not satisfy x>4n-3 and x<6n, it does not satisfy x=0 or x>6n-1, and x<2n is not satisfied, then the target direction can be determined to be the left of the icon to be operated.
在一些实施方式中,在确定待操作图标以及目标方向的情况下,则可以确定基于该待操作图标和目标方向,确定位于该待操作图标的目标方向上的图标,作为待操作图标。In some embodiments, when the icon to be operated and the target direction are determined, the icon located in the target direction of the icon to be operated based on the icon to be operated and the target direction may be determined as the icon to be operated.
例如,以图标序号为30的图标为例,该图标序号为30的图标属于第三个图标圈的第5个图标,则n=3,x=5,可以知道,则该图标序号为30的图标满足第三条件,则目标方向为图标序号为30的图标的下方。For example, take the icon with the icon number 30 as an example. The icon with the icon number 30 belongs to the 5th icon in the third icon circle, then n=3, x=5. It can be known that the icon number 30 If the icon meets the third condition, the target direction is below the icon with icon number 30.
步骤S450:获取所述待选择图标的图标序号作为第二图标序号。Step S450: Obtain the icon serial number of the icon to be selected as the second icon serial number.
在本实施例中,在确定待选择图标的情况下,则可以获取该待选择图标的图标序号,并将该待选择图标的图标序号作为第二图标序号。In this embodiment, when the icon to be selected is determined, the icon serial number of the icon to be selected may be obtained, and the icon serial number of the icon to be selected may be used as the second icon serial number.
在一些实施方式中,当n=0时,可以确定该第二图标序号在目标方向为待操作图标的方向时为5、在目标方向为待操作图标的下方时为1、在目标方向为待操作图标的左方时为3、在目标方向为待操作图标的右方时为7。其中,当n=0时,可以确定该目标方向为待操作图标的上方,则可以确定待操作图标的图标序号为5。In some embodiments, when n=0, it can be determined that the second icon number is 5 when the target direction is the direction of the icon to be operated, 1 when the target direction is below the icon to be operated, and 1 when the target direction is below the icon to be operated. It is 3 when the operation icon is to the left and 7 when the target direction is to the right of the icon to be operated. When n=0, it can be determined that the target direction is above the icon to be operated, and the icon number of the icon to be operated can be determined to be 5.
在一些实施方式中,当n>0时,则可以基于第一图标序号、待操作图标在n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,获取待选择图标的序号作为第二图标序号。In some embodiments, when n>0, the serial number of the icon to be selected can be obtained based on the first icon serial number, the icon circle to which the icon to be operated belongs in the n icon circles, and the icon sorting in the icon circle to which it belongs. As the second icon serial number.
作为一种可实施的方式,电子设备可以预先设置并存储有第四条件、第五条件、第六条件、第七条件、第八条件、第九条件以及第十条件,其中,第四条件为x=8n-1,第五条件为x=2n-1,第六条件为x=4n-1,第七条件为x=6n-1,第八条件为x<2n-1,第九条件为x<4n-1,第十条件为x<6n-1,其中,x为待操作图标在所属图标圈的图标排序,m为第一图标序号。因此,在本实施例中,在获得待操作图标的图标序号(即获得m)、待操作图标在第n个图标圈中所属的图标圈(即获得n)以及在其所属的图标圈的图标排序(即获得x)的情况下,可以将该待操作图标分别与第四条件、第五条件、第六条件、第七条件、第八条件、第九条件以及第十条件进行比较,以判断该待操作图标是否满足第四条件、是否满足第五条件、是否满足第六条件、是否满足第七条件、是否满足第八条件、是否满足第九条件,是否满足第十条件,并获得判断结果作为第二判断结果。As an implementable manner, the electronic device may preset and store the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition and the tenth condition, where the fourth condition is x=8n-1, the fifth condition is x=2n-1, the sixth condition is x=4n-1, the seventh condition is x=6n-1, the eighth condition is x<2n-1, and the ninth condition is x<4n-1, the tenth condition is x<6n-1, where x is the icon order of the icon to be operated on in the icon circle to which it belongs, and m is the first icon serial number. Therefore, in this embodiment, after obtaining the icon serial number of the icon to be operated (that is, obtaining m), the icon circle to which the icon to be operated in the nth icon circle belongs (that is, obtaining n), and the icon in the icon circle to which it belongs In the case of sorting (that is, obtaining x), the icon to be operated can be compared with the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition, and the tenth condition respectively to determine Whether the icon to be operated satisfies the fourth condition, whether it satisfies the fifth condition, whether it satisfies the sixth condition, whether it satisfies the seventh condition, whether it satisfies the eighth condition, whether it satisfies the ninth condition, whether it satisfies the tenth condition, and the judgment result is obtained as the second judgment result.
其中,若第二判断结果表征该待操作图标满足第四条件,即若第二判断结果表征待操作图标满足x=8n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m-1,在目标方向为待操作图标的下方 时为m+1,在目标方向为待操作图标的左方时为m+1-8n,在目标方向为待操作图标的右方时为m+7+8n。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result indicates that the icon to be operated satisfies the fourth condition, that is, if the second judgment result indicates that the icon to be operated satisfies x=8n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. When it is m-1, the target direction is below the icon to be operated. When the target direction is to the left of the icon to be operated, it is m+1-8n. When the target direction is to the right of the icon to be operated, it is m+7+8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标满足第五条件,即若第二判断结果表征待操作图标满足x=2n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m+1,在目标方向为待操作图标的下方时为m+1+8n,在目标方向为待操作图标的左方时为m+3+8n,在目标方向为待操作图标的右方时为m-1。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result indicates that the icon to be operated satisfies the fifth condition, that is, if the second judgment result indicates that the icon to be operated satisfies x=2n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. When the target direction is below the icon to be operated, it is m+1+8n. When the target direction is to the left of the icon to be operated, it is m+3+8n. When the target direction is to the right of the icon to be operated, it is m+3+8n. When square, it is m-1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标满足第六条件,即若第二判断结果表征待操作图标满足x=4n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m+5+8n,在目标方向为待操作图标的下方时为m-1,在目标方向为待操作图标的左方时为m+3+8n,在目标方向为待操作图标的右方时为m-1。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result indicates that the icon to be operated satisfies the sixth condition, that is, if the second judgment result indicates that the icon to be operated satisfies x=4n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. When the target direction is below the icon to be operated, it is m-1. When the target direction is to the left of the icon to be operated, it is m+3+8n. When the target direction is to the right of the icon to be operated, it is m+3+8n. When square, it is m-1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标满足第七条件,即若第二判断结果表征待操作图标满足x=6n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m+5+8n,在目标方向为待操作图标的下方时为m+1,在目标方向为待操作图标的左方时为m-1,在目标方向为待操作图标的右方时为m-7+8n。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result indicates that the icon to be operated satisfies the seventh condition, that is, if the second judgment result indicates that the icon to be operated satisfies x=6n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. It is m+5+8n when the target direction is below the icon to be operated, it is m+1 when the target direction is to the left of the icon to be operated, and it is m-1 when the target direction is to the right of the icon to be operated. is m-7+8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标满足第八条件,即若第二判断结果表征待操作图标满足x<2n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m+7-8n,在目标方向为待操作图标的下方时为m+1+8n,在目标方向为待操作图标的左方时为m+1,且x=0时,在目标方向为待操作图标的右方时为m-1+8n,x≠0时,在目标方向为待操作图标的右方时为m-1。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result represents that the icon to be operated satisfies the eighth condition, that is, if the second judgment result represents that the icon to be operated satisfies x<2n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. When the target direction is below the icon to be operated, it is m+1+8n. When the target direction is to the left of the icon to be operated, it is m+1. When x=0, in the target direction When it is to the right of the icon to be operated, it is m-1+8n. When x≠0, when the target direction is to the right of the icon to be operated, it is m-1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标满足第九条件,即若第二判断结果表征待操作图标满足x<4n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m+1,在目标方向为待操作图标的下方时为m-1,在目标方向为待操作图标的左方时为m+3+8n,在目标方向为待操作图标的右方时为m+5-8n。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result indicates that the icon to be operated satisfies the ninth condition, that is, if the second judgment result indicates that the icon to be operated satisfies x<4n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. is m+1 when the target direction is below the icon to be operated, m-1 when the target direction is to the left of the icon to be operated, m+3+8n when the target direction is to the right of the icon to be operated is m+5-8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标满足第十条件,即若第二判断结果表征待操作图标满足x<6n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m+5+8n,在目标方向为待操作图标的下方时为m+3-8n,在目标方向为待操作图标的左方时为m-1,在目标方向为待操作图标的右方时为m+1。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Wherein, if the second judgment result represents that the icon to be operated satisfies the tenth condition, that is, if the second judgment result represents that the icon to be operated satisfies x<6n-1, then it can be determined that the second icon serial number is above the icon to be operated in the target direction. When the target direction is below the icon to be operated, it is m+3-8n. When the target direction is to the left of the icon to be operated, it is m-1. When the target direction is to the right of the icon to be operated, it is m+5+8n. Square time is m+1. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,若第二判断结果表征该待操作图标不满足第四条件、第五条件、第六条件、第七条件、第八条件、第九条件、第十条件,即第二判断结果表征该待操作图标不满足x=8n-1、x=2n-1、x=4n-1、x=6n-1、x<2n-1、x<4n-1、x<6n-1,则可以确定第二图标序号在目标方向为待操作图标的上方时为m-1,在目标方向为待操作图标的下方时为m+1,在目标方向为待操作图标的左方时为m+1-8n,在目标方向为待操作图标的右方时为m+7+8n。基于此,结合上述方式确定的目标方向(上下左右中的其中一个方向),则可以确定第二图标序号。Among them, if the second judgment result represents that the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition, and the tenth condition, that is, the second judgment result represents that the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition, and the tenth condition. If the operation icon does not satisfy x=8n-1, x=2n-1, x=4n-1, x=6n-1, x<2n-1, x<4n-1, x<6n-1, it can be determined that the The second icon serial number is m-1 when the target direction is above the icon to be operated, m+1 when the target direction is below the icon to be operated, and m+1-8n when the target direction is to the left of the icon to be operated. , when the target direction is to the right of the icon to be operated, it is m+7+8n. Based on this, combined with the target direction (one of up, down, left, and right) determined in the above manner, the second icon serial number can be determined.
其中,以图标序号为30的图标为例,该图标序号为30的图标属于第三个图标圈的第5个图标,则n=3,x=5,m=30,其目标方向为图标序号为30的图标的下方,该图标序号为30的图标满足第八条件,第二图标序号在目标方向为待操作图标的下方时为m+1+8n=30+1+3*8=55。Among them, taking the icon with the icon number 30 as an example, the icon with the icon number 30 belongs to the fifth icon of the third icon circle, then n=3, x=5, m=30, and its target direction is the icon number. The icon with the icon number 30 satisfies the eighth condition. When the target direction is below the icon to be operated, the second icon number is m+1+8n=30+1+3*8=55.
步骤S460:若所述第二图标序号小于或等于所述多个图标的总数,则将所述待选择图标确定为所述目标图标。Step S460: If the second icon number is less than or equal to the total number of the plurality of icons, determine the icon to be selected as the target icon.
其中,图标的补位大致上可以分为两个阶段,第一阶段是从待操作图标触发找到一个路径到达边缘地带(如图11所示),第二阶段按螺旋式补位,在获得第二图标序号的情况下,可以对第二图标序号进行校验,如果该第二图标序号大于所有图标的总数,则表示越界,即该第一阶段已经计算到边缘了,则开始进行第二阶段,如果小于或者等于所有图标的总数,则表示未越界,继续以第二图标序号对应的图标作为下一个图标,再执行第一阶段,直到越界。Among them, the filling of icons can be roughly divided into two stages. The first stage is to find a path to the edge zone triggered by the icon to be operated (as shown in Figure 11). The second stage is filled in a spiral manner. After obtaining the third In the case of two icon serial numbers, the second icon serial number can be verified. If the second icon serial number is greater than the total number of all icons, it means that it is out of bounds, that is, the first stage has been calculated to the edge, and the second stage is started. , if it is less than or equal to the total number of all icons, it means that the boundary has not been crossed, and the icon corresponding to the second icon number will continue to be used as the next icon, and the first stage will be executed again until the boundary is crossed.
在一些实施方式中,在获得第二图标序号的情况下,则可以将该第二图标序号与多个图标的总数进行比较,以判断该第二图标序号是否小于或等于多个图标的总数。其中,若确定该第二图标序号小于或等于多个图标的总数,则可以将该待选择图标确定为目标图标进行补位。In some embodiments, when the second icon serial number is obtained, the second icon serial number can be compared with the total number of multiple icons to determine whether the second icon serial number is less than or equal to the total number of multiple icons. If it is determined that the second icon number is less than or equal to the total number of icons, the icon to be selected can be determined as the target icon for filling.
步骤S470:若所述第二图标序号大于所述多个图标的总数,则将图标序号为m+1的图标确定为所述目标图标,其中,m为所述第一图标序号。Step S470: If the second icon number is greater than the total number of the plurality of icons, determine the icon with icon number m+1 as the target icon, where m is the first icon number.
其中,若确定该第二图标序号大于多个图标的总数,则可以进行螺旋式补位,即将图标序号为m+1 的图标确定为目标图标进行补位。Among them, if it is determined that the second icon serial number is greater than the total number of multiple icons, spiral filling can be performed, that is, the icon serial number is m+1 The icon is determined to be the target icon for filling.
例如,以图标序号为39的图标为例,其属于第三个图标圈的第14个图标,通过上述算法计算获得该图标序号为39的图标的下一个图标在其上方,且下一个图标的图标序号大于多个图标的总数(64),则表示在上方不存在下一个图标,可以认为越界,则可以执行螺旋式补位,即将图标序号为39+1=40的图标确定为目标图标进行补位。For example, taking the icon with the icon number 39 as an example, it belongs to the 14th icon in the third icon circle. Through the above algorithm calculation, the next icon of the icon with the icon number 39 is above it, and the next icon is If the icon number is greater than the total number of multiple icons (64), it means that there is no next icon above, which can be considered to be out of bounds. Then a spiral fill-in can be performed, that is, the icon with the icon number 39+1=40 is determined as the target icon. Fill in.
步骤S480:将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。Step S480: Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
其中,步骤S480的具体描述请参阅步骤S150,在此不在赘述。For the detailed description of step S480, please refer to step S150, which will not be described again here.
本申请一实施例提供的图标的移动方法,相较于图2所示的图标的移动方法,本实施例还获取待操作图标对应的图标序号作为第一图标序号,并基于第一图标序号确定待操作图标在n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,根据待操作图标在n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定目标方向以及位于该目标方向上的待选择图标,获取待选择图标的图标序号作为第二图标序号,若第二图标序号小于或等于多个图标的总数,则将待选择图标确定为目标图标,若第二图标序号大于多个图标的总数,则将图标序号为第一图标序号+1的图标确定为目标图标,从而可以提升目标图标的确定效率和准确性。In the icon moving method provided by an embodiment of the present application, compared with the icon moving method shown in Figure 2, this embodiment also obtains the icon serial number corresponding to the icon to be operated as the first icon serial number, and determines it based on the first icon serial number. The icon circle to which the icon to be operated on belongs to in the n icon circles and the sorting of the icons in the icon circle to which it belongs is determined based on the icon circle to which the icon to be operated belongs to in the n icon circles and the sorting of icons in the icon circle to which it belongs. In the target direction and the icon to be selected located in the target direction, the icon serial number of the icon to be selected is obtained as the second icon serial number. If the second icon serial number is less than or equal to the total number of multiple icons, the icon to be selected is determined as the target icon. If the second icon number is greater than the total number of multiple icons, the icon whose icon number is the first icon number + 1 is determined as the target icon, thereby improving the efficiency and accuracy of determining the target icon.
请参阅图12,图12示出了本申请一实施例提供的图标的移动方法的流程示意图。下面将针对图12所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:Please refer to FIG. 12 , which is a schematic flowchart of an icon moving method provided by an embodiment of the present application. The process shown in Figure 12 will be described in detail below. The method may specifically include the following steps:
步骤S510:显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大。Step S510: Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons has an icon serial number corresponding to it, and the icon serial number corresponding to each of the plurality of icons is from the inside to the outside. Spiral increase.
步骤S520:响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示。Step S520: In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
其中,步骤S510-步骤S520的具体描述请参阅步骤S110-步骤S120,在此不再赘述。For detailed descriptions of steps S510 to S520, please refer to steps S110 to S120, which will not be described again here.
步骤S530:获取所述待操作图标的图标序号。Step S530: Obtain the icon serial number of the icon to be operated.
在本实施例中,在获得待操作图标的情况下,则可以获取该待操作图标的图标序号。作为一种可实施的方式,在获得待操作图标的情况下,则可以获取该待操作图标在目标坐标系下的坐标信息,基于该待操作图标在目标坐标系下的坐标信息,获取该待操作图标的图标序号。In this embodiment, when the icon to be operated is obtained, the icon serial number of the icon to be operated can be obtained. As an implementable method, when an icon to be operated is obtained, the coordinate information of the icon to be operated in the target coordinate system can be obtained, and based on the coordinate information of the icon to be operated in the target coordinate system, the coordinate information of the icon to be operated can be obtained. The icon serial number of the operation icon.
步骤S540:基于预设映射关系,确定所述待操作图标的图标序号对应的目标图标序号,并将所述目标图标序号对应的图标确定为所述目标图标。Step S540: Based on the preset mapping relationship, determine the target icon serial number corresponding to the icon serial number of the icon to be operated, and determine the icon corresponding to the target icon serial number as the target icon.
在一些实施方式中,可以预先设置并存储有预设映射关系,其中,该预设映射关系可以包括多个图标中的每个图标对应的图标序号的补位路径。因此,在本实施例中,在获得待操作图标对应的图标序号的情况下,则可以基于该预设映射关系,确定该待操作图标的图标序号对应的目标图标序号,并将该目标图标序号对应的图标确定为目标图标,从而可以有效提升目标图标的确定速度,提升用户的使用体验。In some embodiments, a preset mapping relationship may be set and stored in advance, where the preset mapping relationship may include a complementary path of an icon serial number corresponding to each icon in the plurality of icons. Therefore, in this embodiment, when the icon serial number corresponding to the icon to be operated is obtained, the target icon serial number corresponding to the icon serial number of the icon to be operated can be determined based on the preset mapping relationship, and the target icon serial number can be determined The corresponding icon is determined as the target icon, which can effectively increase the speed of determining the target icon and improve the user experience.
在一些实施方式中,在多个图标中存在图标的删除、移动、增加等情况下,可以更新预设映射关系,以保证预设映射关系的准确性,在此不再赘述。In some implementations, when icons are deleted, moved, added, etc. among multiple icons, the preset mapping relationship can be updated to ensure the accuracy of the preset mapping relationship, which will not be described again here.
步骤S550:将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。Step S550: Remove the icon to be operated from its display position, and replace the target icon to the display position of the icon to be operated for display.
其中,步骤S550的具体描述请参阅步骤S150,在此不再赘述。For the specific description of step S550, please refer to step S150, which will not be described again here.
本申请一实施例提供的图标的移动方法,相较于图2所示的图标的移动方法,本实施例还获取待操作图标的图标序号,基于预设映射关系,确定待操作图标的图标序号对应的目标图标序号,并将该目标图标序号对应的图标确定为目标图标,从而可以提升目标图标的获取效率。The icon moving method provided by an embodiment of the present application is compared to the icon moving method shown in Figure 2. This embodiment also obtains the icon serial number of the icon to be operated, and determines the icon serial number of the icon to be operated based on the preset mapping relationship. The corresponding target icon serial number is determined, and the icon corresponding to the target icon serial number is determined as the target icon, thereby improving the efficiency of obtaining the target icon.
请参阅图13,图13示出了本申请一实施例提供的图标的移动装置的模块框图。下面将针对图13所示的框图进行阐述,所述图标的移动装置200包括:图标编辑界面显示模块210、待操作图标确定模块220、待选择图标确定模块230、目标图标确定模块240以及图标移动模块250,其中:Please refer to FIG. 13 , which shows a module block diagram of a mobile device of an icon provided by an embodiment of the present application. The following will be explained with reference to the block diagram shown in Figure 13. The icon moving device 200 includes: an icon editing interface display module 210, an icon to be operated determining module 220, an icon to be selected determining module 230, a target icon determining module 240 and an icon moving module. Module 250, which:
图标编辑界面显示模块210,用于显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大。The icon editing interface display module 210 is used to display the icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and each of the plurality of icons corresponds to an icon serial number. The icon serial number increases spirally from inside to outside.
待操作图标确定模块220,用于响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示。The icon to be operated determining module 220 is configured to determine an icon to be operated from the plurality of icons in response to an icon operation instruction, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position.
待选择图标确定模块230,用于从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。The icon to be selected determining module 230 is configured to determine, from the plurality of icons, an icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated.
目标图标确定模块240,用于获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标。The target icon determination module 240 is configured to obtain the number of icons of the icons to be selected as the first number of icons, and determine the target icon from the icons to be selected based on the first number of icons.
进一步地,所述目标图标确定模块240包括:距离获取子模块、待确定图标确定子模块以及第一目标 图标确定子模块,其中:Further, the target icon determination module 240 includes: a distance acquisition submodule, an icon to be determined determination submodule, and a first target Icons identify submodules where:
距离获取子模块,用于若所述第一图标数量为至少两个,则获取至少两个所述待选择图标各自与目标坐标系的坐标轴原点的距离,其中,所述多个图标各自对应的图标序号以所述坐标轴原点作为螺旋中心点从内到外螺旋式增大。A distance acquisition submodule, configured to acquire the distances between at least two of the icons to be selected and the origin of the coordinate axis of the target coordinate system if the number of the first icons is at least two, wherein each of the plurality of icons corresponds to The icon number of the icon increases spirally from the inside to the outside with the origin of the coordinate axis as the center point of the spiral.
待确定图标确定子模块,用于从至少两个所述待选择图标中,确定与所述坐标轴原点的距离最大的待确定图标。The icon to be determined determining sub-module is used to determine the icon to be determined that is the largest distance from the origin of the coordinate axis from at least two of the icons to be selected.
第一目标图标确定子模块,用于获取所述待确定图标的图标数量作为第二图标数量,并基于所述第二图标数量从与所述待确定图标中确定所述目标图标。The first target icon determination submodule is configured to obtain the number of icons of the icon to be determined as the second number of icons, and determine the target icon from the icons to be determined based on the second number of icons.
进一步地,所述第一目标图标确定子模块包括:第一目标图标确定单元和第二目标图标确定单元,其中:Further, the first target icon determination sub-module includes: a first target icon determination unit and a second target icon determination unit, wherein:
第一目标图标确定单元,用于若所述第二图标数量为一个,则将一个所述待确定图标确定为所述目标图标。The first target icon determining unit is configured to determine one of the icons to be determined as the target icon if the number of the second icons is one.
第二目标图标确定单元,用于若所述第二图标数量为两个,则从两个所述待确定图标中将图标序号最小的待确定图标确定为所述目标图标。The second target icon determining unit is configured to determine the icon to be determined with the smallest icon number from the two icons to be determined as the target icon if the number of the second icons is two.
进一步地,所述目标图标确定模块240包括:第二目标图标确定子模块,其中:Further, the target icon determination module 240 includes: a second target icon determination sub-module, wherein:
第二目标图标确定子模块,用于若所述第一图标数量为一个,则将一个所述待选择图标确定为所述目标图标。The second target icon determination submodule is configured to determine one of the icons to be selected as the target icon if the number of the first icons is one.
图标移动模块250,用于将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。The icon moving module 250 is used to remove the icon to be operated from its display position and replace the target icon to the display position of the icon to be operated for display.
进一步地,所述图标的移动装置200还包括:循环模块,其中:Further, the mobile device 200 of the icon also includes: a loop module, wherein:
循环模块,用于将所述目标图标作为所述待操作图标,并重复执行所述从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标的步骤,到所述将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示的步骤,直到所述多个图标补位完成。A loop module, configured to use the target icon as the icon to be operated, and repeatedly execute the step of determining from the plurality of icons that the display position of the icon to be operated is adjacent and that the icon number is greater than the icon to be operated. the step of the icon to be selected according to the icon serial number of the icon, to the step of removing the icon to be operated from its display position and filling the target icon to the display position of the icon to be operated for display, Until the filling of the multiple icons is completed.
进一步地,所述图标的移动装置200还包括:显示位置保持模块,其中:Further, the icon mobile device 200 further includes: a display position maintaining module, wherein:
显示位置保持模块,用于若所述第一图标数量为0个,则将所述待操作图标从其显示位置上移除,并保持所述多个图标中除所述待操作图标外的其他图标的显示位置不变。A display position holding module, configured to remove the to-be-operated icon from its display position if the number of first icons is 0, and to maintain other icons among the plurality of icons except the to-be-operated icon. The display position of the icon remains unchanged.
进一步地,所述图标的移动装置200还包括:信息获取模块、方向确定模块、图标序号获取模块以及目标图标确定模块,其中:Further, the icon mobile device 200 also includes: an information acquisition module, a direction determination module, an icon serial number acquisition module, and a target icon determination module, wherein:
信息获取模块,用于获取所述待操作图标对应的图标序号作为第一图标序号,并基于所述第一图标序号确定所述待操作图标在n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,其中,所述n个图标圈根据所述多个图标的显示位置建立,n为自然数,当n=0时,第0个图标圈包括的图标的图标数量为一个,且一个所述图标为所述多个图标中图标序号最小的图标,当n>0时,第n个图标圈包括的图标的图标数量为8n,且在每个所述图标圈中,位于图标圈右下角的图标作为所属图标圈的第8n-1个图标,且位于所述第8n-1个图标的左侧相邻位置的图标作为所属图标圈的第0个图标。An information acquisition module, configured to obtain the icon serial number corresponding to the icon to be operated as the first icon serial number, and determine the icon circle to which the icon to be operated in the n icon circles and the circle to which it belongs based on the first icon serial number. The icon sorting of the icon circle, wherein the n icon circles are established according to the display positions of the plurality of icons, n is a natural number, when n=0, the number of icons included in the 0th icon circle is one, And one of the icons is the icon with the smallest icon number among the plurality of icons. When n>0, the number of icons included in the n-th icon circle is 8n, and in each of the icon circles, the number of icons located in The icon in the lower right corner of the circle is regarded as the 8n-1th icon of the corresponding icon circle, and the icon located adjacent to the left side of the 8n-1th icon is regarded as the 0th icon of the corresponding icon circle.
方向确定模块,用于根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定目标方向,并确定位于所述目标方向上的待选择图标;A direction determination module, configured to determine the target direction according to the icon circle to which the to-be-operated icon belongs in the n icon circles and the icon sorting in the icon circle to which it belongs, and determine the target direction to be selected located in the target direction. icon;
进一步地,所述方向确定模块包括:第一方向确定子模块和第二方向确定子模块,其中:Further, the direction determination module includes: a first direction determination sub-module and a second direction determination sub-module, wherein:
第一方向确定子模块,用于当所述n=0时,确定所述目标方向为所述待操作图标的上方。The first direction determination sub-module is used to determine the target direction to be above the icon to be operated when n=0.
第二方向确定子模块,用于当所述n>0时,根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定所述目标方向。The second direction determination submodule is configured to determine the target when n>0 according to the icon circle to which the to-be-operated icon belongs in the n icon circles and the icon sorting in the icon circle to which it belongs. direction.
进一步地,所述第二方向确定子模块包括:第一方向确定单元、第二方向确定单元、第三方向确定单元以及第四方向确定单元,其中:Further, the second direction determination sub-module includes: a first direction determination unit, a second direction determination unit, a third direction determination unit and a fourth direction determination unit, wherein:
第一方向确定单元,用于若所述待操作图标满足第一条件,则确定所述目标方向为所述待操作图标的上方,其中,所述第一条件为x>4n-3且x<6n,x为所述待操作图标在所属图标圈的图标排序。A first direction determining unit configured to determine that the target direction is above the icon to be operated if the icon to be operated satisfies a first condition, wherein the first condition is x>4n-3 and x< 6n, x is the icon ordering of the icon to be operated in the icon circle to which it belongs.
第二方向确定单元,用于若所述待操作图标满足第二条件,则确定所述目标方向为所述待操作图标的右方,其中,所述第二条件为x=0或x>6n-1。A second direction determining unit configured to determine the target direction to be the right side of the icon to be operated if the icon to be operated satisfies a second condition, wherein the second condition is x=0 or x>6n -1.
第三方向确定单元,用于若所述待操作图标满足第三条件,则确定所述目标方向为所述待操作图标的下方,其中,所述第三条件为x<2n。A third direction determining unit is configured to determine the target direction to be below the icon to be operated if the icon to be operated satisfies a third condition, where the third condition is x<2n.
第四方向确定单元,用于若所述待操作图标不满足所述第一条件、所述第二条件以及所述第三条件,则确定所述目标方向为所述待操作图标的左方。A fourth direction determining unit is configured to determine the target direction to be the left side of the icon to be operated if the icon to be operated does not satisfy the first condition, the second condition and the third condition.
图标序号获取模块,用于获取所述待选择图标的图标序号作为第二图标序号。 The icon serial number obtaining module is used to obtain the icon serial number of the icon to be selected as the second icon serial number.
进一步地,所述图标序号获取模块包括:第一图标序号获取子模块和第二图标序号获取子模块,其中:Further, the icon serial number acquisition module includes: a first icon serial number acquisition sub-module and a second icon serial number acquisition sub-module, wherein:
第一图标序号获取子模块,用于当所述n=0时,确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为5、1、3以及7。The first icon serial number acquisition submodule is configured to determine that when n=0, the second icon serial number is 5, 1, 3, and 7 in sequence when the target direction is the up, down, left, and right of the icon to be operated.
第二图标序号获取子模块,用于当所述n>0时,基于所述第一图标序号、所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,获取所述待选择图标的序号作为所述第二图标序号。The second icon serial number acquisition submodule is configured to obtain a sub-module based on the first icon serial number, the icon circle to which the to-be-operated icon belongs among the n icon circles, and the icon circle to which it belongs when n>0. Sort the icons, and obtain the serial number of the icon to be selected as the second icon serial number.
进一步地,所述第二图标序号获取子模块包括:第一图标序号获取单元、第二图标序号获取单元、第三图标序号获取单元、第四图标序号获取单元、第五图标序号获取单元、第六图标序号获取单元、第七图标序号获取单元以及第八图标序号获取单元,其中:Further, the second icon serial number acquisition sub-module includes: a first icon serial number acquisition unit, a second icon serial number acquisition unit, a third icon serial number acquisition unit, a fourth icon serial number acquisition unit, a fifth icon serial number acquisition unit, and a third icon serial number acquisition unit. Sixth icon serial number acquisition unit, seventh icon serial number acquisition unit and eighth icon serial number acquisition unit, wherein:
第一图标序号获取单元,用于若所述待操作图标满足第四条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m-1、m+1、m+1-8n以及m+7+8n,其中,所述第四条件为x=8n-1,x为所述待操作图标在所属图标圈的图标排序,m为所述第一图标序号。The first icon serial number acquisition unit is configured to determine that the second icon serial number is m-1, m in sequence when the target direction is the up, down, left, and right of the icon to be operated if the icon to be operated satisfies the fourth condition. +1, m+1-8n and m+7+8n, where the fourth condition is x=8n-1, x is the icon order of the icon to be operated in the icon circle to which it belongs, and m is the first Icon serial number.
第二图标序号获取单元,用于若所述待操作图标满足第五条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+1、m+1+8n、m+3+8n以及m-1,其中,所述第五条件为x=2n-1。The second icon serial number acquisition unit is used to determine that if the icon to be operated satisfies the fifth condition, the second icon serial number is m+1, m in sequence when the target direction is the up, down, left, and right of the icon to be operated. +1+8n, m+3+8n and m-1, where the fifth condition is x=2n-1.
第三图标序号获取单元,用于若所述待操作图标满足第六条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+5+8n、m-1、m+3+8n以及m+1,其中,所述第六条件为x=4n-1。The third icon serial number acquisition unit is configured to determine that the second icon serial number is m+5+8n when the target direction is up, down, left, and right of the icon to be operated if the icon to be operated satisfies the sixth condition. , m-1, m+3+8n and m+1, wherein the sixth condition is x=4n-1.
第四图标序号获取单元,用于若所述待操作图标满足第七条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+5+8n、m+1、m-1以及m+7+8n,其中,所述第七条件为x=6n-1。The fourth icon serial number acquisition unit is used to determine that the second icon serial number is m+5+8n when the target direction is the up, down, left, and right of the icon to be operated if the icon to be operated satisfies the seventh condition. , m+1, m-1 and m+7+8n, wherein the seventh condition is x=6n-1.
第五图标序号获取单元,用于若所述待操作图标满足第八条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左时依次为m+7-8n、m+1+8n以及m+1,其中,所述第八条件为x<2n-1,且x=0时,所述第二图标序号在所述目标方向为所述待操作图标的右方时为m-1+8n,x≠0时,所述第二图标序号在所述目标方向为所述待操作图标的右方时为m-1。The fifth icon serial number acquisition unit is used to determine that the second icon serial number is m+7-8n when the target direction is the upper, lower and left side of the icon to be operated if the icon to be operated satisfies the eighth condition. , m+1+8n and m+1, wherein the eighth condition is x<2n-1, and when x=0, the second icon number is to the right of the icon to be operated in the target direction. When square, it is m-1+8n, when x≠0, the second icon serial number is m-1 when the target direction is to the right of the icon to be operated.
第六图标序号获取单元,用于若所述待操作图标满足第九条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+1、m-1、m+3+8n、m+5-8n,其中,所述第九条件为x<4n-1。The sixth icon serial number acquisition unit is used to determine that if the icon to be operated satisfies the ninth condition, the second icon serial number is m+1, m in sequence when the target direction is the up, down, left, and right of the icon to be operated. -1, m+3+8n, m+5-8n, wherein the ninth condition is x<4n-1.
第七图标序号获取单元,用于若所述待操作图标满足第十条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+5+8n、m+3-8n、m-1、m+1,其中,所述第十条件为x<6n-1。The seventh icon serial number acquisition unit is used to determine that the second icon serial number is m+5+8n when the target direction is up, down, left, and right of the icon to be operated if the icon to be operated satisfies the tenth condition. , m+3-8n, m-1, m+1, wherein the tenth condition is x<6n-1.
第八图标序号获取单元,用于若所述待操作图标不满足所述第四条件、所述第五条件、所述第六条件、所述第七条件、所述第八条件、所述第九条件以及所述第十条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m-1、m+1、m+1-8n、m+7+8n。The eighth icon serial number acquisition unit is used to obtain the unit if the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, and the third condition. Nine conditions and the tenth condition, it is determined that the second icon serial number is m-1, m+1, m+1-8n, m+ in sequence when the target direction is the up, down, left, and right of the icon to be operated. 7+8n.
目标图标确定模块,用于若所述第二图标序号小于或等于所述多个图标的总数,则将所述待选择图标确定为所述目标图标。A target icon determination module, configured to determine the icon to be selected as the target icon if the second icon number is less than or equal to the total number of the plurality of icons.
进一步地,所述图标的移动装置200还包括:目标图标确定模块,其中:Further, the icon mobile device 200 further includes: a target icon determination module, wherein:
目标图标确定模块,用于若所述第二图标序号大于所述多个图标的总数,则将图标序号为m+1的图标确定为所述目标图标,其中,m为所述第一图标序号。A target icon determination module, configured to determine the icon with icon number m+1 as the target icon if the second icon number is greater than the total number of the plurality of icons, where m is the first icon number. .
进一步地,所述图标的移动装置200还包括:图标序号获取模块和目标图标确定模块,其中:Further, the icon mobile device 200 also includes: an icon serial number acquisition module and a target icon determination module, wherein:
图标序号获取模块,用于获取所述待操作图标的图标序号。The icon serial number obtaining module is used to obtain the icon serial number of the icon to be operated.
目标图标确定模块,用于基于预设映射关系,确定所述待操作图标的图标序号对应的目标图标序号,并将所述目标图标序号对应的图标确定为所述目标图标。The target icon determination module is configured to determine the target icon serial number corresponding to the icon serial number of the icon to be operated based on the preset mapping relationship, and determine the icon corresponding to the target icon serial number as the target icon.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.
请参阅图14,其示出了本申请实施例提供的一种电子设备100的结构框图。该电子设备100可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可 以包括一个或多个如下部件:处理器110、存储器120以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 14 , which shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application. The electronic device 100 may be a smart phone, a tablet computer, an e-book, or other electronic device capable of running applications. The electronic device 100 in this application may to include one or more of the following components: processor 110, memory 120, and one or more application programs, wherein one or more application programs may be stored in memory 120 and configured to be executed by one or more processors 110 , one or more programs are configured to perform the method described in the foregoing method embodiments.
其中,处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data of the electronic device 100 . Optionally, the processor 110 may use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc. The storage data area can also store data created during use of the terminal 100 (such as phone book, audio and video data, chat record data), etc.
请参阅图15,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质300中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to Figure 15, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 300, and the program code can be called by the processor to execute the method described in the above method embodiment.
计算机可读存储介质300可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质300包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质300具有执行上述方法中的任何方法步骤的程序代码310的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码310可以例如以适当形式进行压缩。Computer-readable storage medium 300 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 300 includes non-transitory computer-readable storage medium. The computer-readable storage medium 300 has storage space for the program code 310 that performs any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products. Program code 310 may, for example, be compressed in a suitable form.
综上所述,本申请实施例提供的图标的移动方法、装置、电子设备以及存储介质,显示图标编辑界面,其中,该图标编辑界面包括行列式排布的多个图标,该多个图标各自对应有图标序号,多个图标各自对应的图标序号从内到外螺旋式增大,响应于图标操作指令,从多个图标中确定待操作图标,其中,该图标操作指令用于指示停止图标在其显示位置的显示,从多个图标中,确定与待操作图标的显示位置相邻且图标序号大于待操作图标的图标序号的待选择图标,获取待选择图标的图标数量作为第一图标数量,并基于第一图标数量从待选择图标中确定目标图标,将待操作图标从其显示位置上移除,并将目标图标补位至待操作图标的显示位置进行显示,从而通过合理的设置图标的补位逻辑,可以实现避免补位过程中图标被打乱的问题,提升用户的使用体验。To sum up, the icon moving method, device, electronic device and storage medium provided by the embodiments of the present application display an icon editing interface, wherein the icon editing interface includes multiple icons arranged in rows and columns, each of the multiple icons There are corresponding icon serial numbers, and the icon serial numbers corresponding to the plurality of icons increase spirally from the inside to the outside. In response to the icon operation instruction, the icon to be operated is determined from the plurality of icons, wherein the icon operation instruction is used to indicate that the stop icon is in To display its display position, from multiple icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated, and obtain the number of icons of the icon to be selected as the first number of icons, And determine the target icon from the icons to be selected based on the number of first icons, remove the icon to be operated from its display position, and fill the target icon to the display position of the icon to be operated for display, so as to reasonably set the icon The replacement logic can avoid the problem of icons being disrupted during the replacement process and improve the user experience.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (20)

  1. 一种图标的移动方法,其特征在于,所述方法包括:A method of moving icons, characterized in that the method includes:
    显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大;Display an icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and the icon serial number corresponding to each of the plurality of icons spirally increases from the inside to the outside. big;
    响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示;In response to an icon operation instruction, determine an icon to be operated from the plurality of icons, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position;
    从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标;From the plurality of icons, determine the icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated;
    获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标;Obtain the number of icons of the icon to be selected as a first number of icons, and determine a target icon from the icons to be selected based on the first number of icons;
    将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。The icon to be operated is removed from its display position, and the target icon is replaced to the display position of the icon to be operated for display.
  2. 根据权利要求1所述的方法,其特征在于,在所述将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示之后,还包括:The method according to claim 1, characterized in that after the said icon to be operated is removed from its display position and the target icon is replaced to the display position of the icon to be operated for display ,Also includes:
    将所述目标图标作为所述待操作图标,并重复执行所述从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标的步骤,到所述将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示的步骤,直到所述多个图标补位完成。Use the target icon as the icon to be operated, and repeatedly perform the step of determining, from the plurality of icons, the icon adjacent to the display position of the icon to be operated and with an icon number greater than the icon number of the icon to be operated. From the step of selecting the icon to be selected to the step of removing the icon to be operated from its display position and filling the target icon to the display position of the icon to be operated for display, until the plurality of The icon filling is completed.
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述第一图标数量从所述待选择图标中确定目标图标,包括:The method of claim 1, wherein determining the target icon from the icons to be selected based on the first number of icons includes:
    若所述第一图标数量为至少两个,则获取至少两个所述待选择图标各自与目标坐标系的坐标轴原点的距离,其中,所述多个图标各自对应的图标序号以所述坐标轴原点作为螺旋中心点从内到外螺旋式增大;If the number of the first icons is at least two, then the distance between each of the at least two icons to be selected and the origin of the coordinate axis of the target coordinate system is obtained, wherein the icon serial number corresponding to each of the plurality of icons is represented by the coordinates. The axis origin serves as the center point of the spiral and spirally increases from the inside to the outside;
    从至少两个所述待选择图标中,确定与所述坐标轴原点的距离最大的待确定图标;From at least two of the icons to be selected, determine the icon to be determined that is the largest distance from the origin of the coordinate axis;
    获取所述待确定图标的图标数量作为第二图标数量,并基于所述第二图标数量从与所述待确定图标中确定所述目标图标。The number of icons of the icon to be determined is obtained as a second number of icons, and the target icon is determined from the icons to be determined based on the second number of icons.
  4. 根据权利要求3所述的方法,其特征在于,所述基于所述第二图标数量从与所述待确定图标中确定所述目标图标,包括:The method of claim 3, wherein determining the target icon from the icons to be determined based on the second icon quantity includes:
    若所述第二图标数量为一个,则将一个所述待确定图标确定为所述目标图标;或者If the number of the second icon is one, then determine one of the icons to be determined as the target icon; or
    若所述第二图标数量为两个,则从两个所述待确定图标中将图标序号最小的待确定图标确定为所述目标图标。If the number of the second icons is two, then the icon to be determined with the smallest icon number among the two icons to be determined is determined as the target icon.
  5. 根据权利要求1所述的方法,其特征在于,所述基于所述第一图标数量从所述待选择图标中确定目标图标,包括:The method of claim 1, wherein determining the target icon from the icons to be selected based on the first number of icons includes:
    若所述第一图标数量为一个,则将一个所述待选择图标确定为所述目标图标。If the number of the first icons is one, then one of the icons to be selected is determined as the target icon.
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    若所述第一图标数量为0个,则将所述待操作图标从其显示位置上移除,并保持所述多个图标中除所述待操作图标外的其他图标的显示位置不变。If the number of first icons is 0, the icon to be operated is removed from its display position, and the display positions of other icons among the plurality of icons except the icon to be operated remain unchanged.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, characterized in that the method further includes:
    获取所述待操作图标对应的图标序号作为第一图标序号,并基于所述第一图标序号确定所述待操作图标在n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,其中,所述n个图标圈根据所述多个图标的显示位置建立,n为自然数,当n=0时,第0个图标圈包括的图标的图标数量为一个,且一个所述图标为所述多个图标中图标序号最小的图标,当n>0时,第n个图标圈包括的图标的图标数量为8n,且在每个所述图标圈中,位于图标圈右下角的图标作为所属图标圈的第8n-1个图标,且位于所述第8n-1个图标的左侧相邻位置的图标作为所属图标圈的第0个图标;Obtain the icon serial number corresponding to the icon to be operated as the first icon serial number, and determine the icon circle to which the icon to be operated in the n icon circles belongs and the icon ordering in the icon circle to which it belongs based on the first icon serial number. , wherein the n icon circles are established according to the display positions of the plurality of icons, n is a natural number, when n=0, the number of icons included in the 0th icon circle is one, and one icon is The icon with the smallest icon number among the plurality of icons, when n>0, the number of icons included in the n-th icon circle is 8n, and in each of the icon circles, the icon located in the lower right corner of the icon circle is The 8n-1th icon of the icon circle to which it belongs, and the icon located adjacent to the left of the 8n-1th icon is regarded as the 0th icon of the icon circle to which it belongs;
    根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定目标方向,并确定位于所述目标方向上的待选择图标;Determine the target direction according to the icon circle to which the to-be-operated icon belongs in the n icon circles and the icon sorting in the icon circle to which it belongs, and determine the icon to be selected located in the target direction;
    获取所述待选择图标的图标序号作为第二图标序号;Obtain the icon serial number of the icon to be selected as the second icon serial number;
    若所述第二图标序号小于或等于所述多个图标的总数,则将所述待选择图标确定为所述目标图标。If the second icon number is less than or equal to the total number of the plurality of icons, the icon to be selected is determined as the target icon.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定目标方向,包括:The method according to claim 7, wherein determining the target direction according to the icon circle to which the icon to be operated in the n icon circles belongs and the icon sorting in the icon circle to which it belongs includes:
    当所述n=0时,确定所述目标方向为所述待操作图标的上方;When n=0, the target direction is determined to be above the icon to be operated;
    当所述n>0时,根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的 图标排序,确定所述目标方向。When n>0, according to the icon circle to which the icon to be operated belongs in the n icon circles and the position of the icon circle to which it belongs, Icon sorting determines the target direction.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,确定所述目标方向包括:The method according to claim 8, wherein determining the target direction according to the icon circle to which the icon to be operated in the n icon circles belongs and the icon sorting in the icon circle to which it belongs includes determining the target direction. :
    若所述待操作图标满足第一条件,则确定所述目标方向为所述待操作图标的上方,其中,所述第一条件为x>4n-3且x<6n,x为所述待操作图标在所属图标圈的图标排序;If the icon to be operated satisfies the first condition, the target direction is determined to be above the icon to be operated, wherein the first condition is x>4n-3 and x<6n, and x is the icon to be operated. The icons are sorted in the icon circle to which they belong;
    若所述待操作图标满足第二条件,则确定所述目标方向为所述待操作图标的右方,其中,所述第二条件为x=0或x>6n-1;If the icon to be operated satisfies the second condition, the target direction is determined to be to the right of the icon to be operated, wherein the second condition is x=0 or x>6n-1;
    若所述待操作图标满足第三条件,则确定所述目标方向为所述待操作图标的下方,其中,所述第三条件为x<2n;If the icon to be operated satisfies the third condition, the target direction is determined to be below the icon to be operated, wherein the third condition is x<2n;
    若所述待操作图标不满足所述第一条件、所述第二条件以及所述第三条件,则确定所述目标方向为所述待操作图标的左方。If the icon to be operated does not satisfy the first condition, the second condition and the third condition, the target direction is determined to be the left of the icon to be operated.
  10. 根据权利要求7所述的方法,其特征在于,所述获取所述待选择图标的图标序号作为第二图标序号,包括:The method according to claim 7, wherein said obtaining the icon serial number of the icon to be selected as the second icon serial number includes:
    当所述n=0时,确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为5、1、3以及7;When n=0, it is determined that the second icon serial numbers are 5, 1, 3, and 7 in sequence when the target direction is the up, down, left, and right of the icon to be operated;
    当所述n>0时,基于所述第一图标序号、所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,获取所述待选择图标的序号作为所述第二图标序号。When n>0, the icon to be selected is obtained based on the first icon serial number, the icon circle to which the icon to be operated belongs in the n icon circles, and the icon sorting in the icon circle to which it belongs. The serial number is used as the second icon serial number.
  11. 根据权利要求10所述的方法,其特征在于,所述基于所述第一图标序号、所述待操作图标在所述n个图标圈中所属的图标圈以及在其所属的图标圈的图标排序,获取所述待选择图标的序号作为所述第二图标序号,包括:The method according to claim 10, characterized in that the icon sorting is based on the first icon serial number, the icon circle to which the icon to be operated belongs in the n icon circles, and the icon circle to which it belongs. , obtaining the serial number of the icon to be selected as the second icon serial number, including:
    若所述待操作图标满足第四条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m-1、m+1、m+1-8n以及m+7+8n,其中,所述第四条件为x=8n-1,x为所述待操作图标在所属图标圈的图标排序,m为所述第一图标序号;If the icon to be operated meets the fourth condition, it is determined that the second icon serial number is m-1, m+1, m+1-8n and m+1-8n in sequence when the target direction is the up, down, left, and right of the icon to be operated. m+7+8n, where the fourth condition is x=8n-1, x is the icon order of the icon to be operated in the icon circle to which it belongs, and m is the first icon serial number;
    若所述待操作图标满足第五条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+1、m+1+8n、m+3+8n以及m-1,其中,所述第五条件为x=2n-1;If the icon to be operated satisfies the fifth condition, it is determined that the second icon serial number is m+1, m+1+8n, m+3+ in sequence when the target direction is up, down, left, and right of the icon to be operated. 8n and m-1, wherein the fifth condition is x=2n-1;
    若所述待操作图标满足第六条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+5+8n、m-1、m+3+8n以及m+1,其中,所述第六条件为x=4n-1;If the icon to be operated satisfies the sixth condition, it is determined that the second icon serial number is m+5+8n, m-1, m+3+ in sequence when the target direction is up, down, left, and right of the icon to be operated. 8n and m+1, wherein the sixth condition is x=4n-1;
    若所述待操作图标满足第七条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+5+8n、m+1、m-1以及m+7+8n,其中,所述第七条件为x=6n-1;If the icon to be operated satisfies the seventh condition, it is determined that the second icon serial number is m+5+8n, m+1, m-1 and when the target direction is up, down, left and right of the icon to be operated. m+7+8n, wherein the seventh condition is x=6n-1;
    若所述待操作图标满足第八条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左时依次为m+7-8n、m+1+8n以及m+1,其中,所述第八条件为x<2n-1,且x=0时,所述第二图标序号在所述目标方向为所述待操作图标的右方时为m-1+8n,x≠0时,所述第二图标序号在所述目标方向为所述待操作图标的右方时为m-1;If the icon to be operated satisfies the eighth condition, it is determined that the second icon serial number is m+7-8n, m+1+8n and m+ in sequence when the target direction is the upper, lower and left of the icon to be operated. 1. Wherein, the eighth condition is x<2n-1, and when x=0, the second icon serial number is m-1+8n when the target direction is to the right of the icon to be operated, When x≠0, the second icon serial number is m-1 when the target direction is to the right of the icon to be operated;
    若所述待操作图标满足第九条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+1、m-1、m+3+8n、m+5-8n,其中,所述第九条件为x<4n-1;If the icon to be operated satisfies the ninth condition, it is determined that the second icon serial number is m+1, m-1, m+3+8n, when the target direction is up, down, left, and right of the icon to be operated. m+5-8n, wherein the ninth condition is x<4n-1;
    若所述待操作图标满足第十条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m+5+8n、m+3-8n、m-1、m+1,其中,所述第十条件为x<6n-1;If the icon to be operated satisfies the tenth condition, it is determined that the second icon serial number is m+5+8n, m+3-8n, m- when the target direction is up, down, left, and right of the icon to be operated. 1. m+1, wherein the tenth condition is x<6n-1;
    若所述待操作图标不满足所述第四条件、所述第五条件、所述第六条件、所述第七条件、所述第八条件、所述第九条件以及所述第十条件,则确定所述第二图标序号在所述目标方向为所述待操作图标的上下左右时依次为m-1、m+1、m+1-8n、m+7+8n。If the icon to be operated does not satisfy the fourth condition, the fifth condition, the sixth condition, the seventh condition, the eighth condition, the ninth condition and the tenth condition, Then it is determined that the second icon serial numbers are m-1, m+1, m+1-8n, and m+7+8n in sequence when the target direction is the up, down, left, and right of the icon to be operated.
  12. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, further comprising:
    若所述第二图标序号大于所述多个图标的总数,则将图标序号为m+1的图标确定为所述目标图标,其中,m为所述第一图标序号。If the second icon number is greater than the total number of the plurality of icons, the icon with icon number m+1 is determined as the target icon, where m is the first icon number.
  13. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, characterized in that the method further includes:
    获取所述待操作图标的图标序号;Obtain the icon serial number of the icon to be operated;
    基于预设映射关系,确定所述待操作图标的图标序号对应的目标图标序号,并将所述目标图标序号对应的图标确定为所述目标图标。Based on the preset mapping relationship, a target icon serial number corresponding to the icon serial number of the icon to be operated is determined, and the icon corresponding to the target icon serial number is determined as the target icon.
  14. 根据权利要求1-6任一项所述的方法,其特征在于,在所述响应于图标操作指令,从所述多个图标中确定待操作图标之前,还包括: The method according to any one of claims 1 to 6, characterized in that, before determining the icon to be operated from the plurality of icons in response to the icon operation instruction, it further includes:
    在监测到目标语音信息的情况下,确定监测到所述图标操作指令;或者When the target voice information is detected, it is determined that the icon operation instruction is detected; or
    在监测到作用于所述图标编辑界面的目标触控操作的情况下,确定监测到所述图标操作指令;或者In the case where a target touch operation acting on the icon editing interface is detected, it is determined that the icon operation instruction is detected; or
    在监测到作用于目标控件的目标触控操作的情况下,确定监测到所述图标操作指令。When the target touch operation on the target control is detected, it is determined that the icon operation instruction is detected.
  15. 根据权利要求1-6任一项所述的方法,其特征在于,所述从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标,包括:The method according to any one of claims 1 to 6, characterized in that, from the plurality of icons, it is determined that the icon is adjacent to the display position of the icon to be operated and has an icon number greater than that of the icon to be operated. The icon to be selected by the icon serial number, including:
    获取所述待操作图标的图标序号,并基于所述待操作图标的图标序号,从所述多个图标中,确定图标序号大于所述待操作图标的图标序号的图标;Obtain the icon serial number of the icon to be operated, and based on the icon serial number of the icon to be operated, determine from the plurality of icons the icon whose icon serial number is greater than the icon serial number of the icon to be operated;
    获取所述待操作图标的显示位置,并基于所述待操作图标的显示位置,从图标序号大于所述待操作图标的图标序号的图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。Obtain the display position of the icon to be operated, and based on the display position of the icon to be operated, determine from the icons whose icon number is greater than the icon number of the icon to be operated, which are adjacent to the display position of the icon to be operated and The icon to be selected whose icon number is greater than the icon number of the icon to be operated.
  16. 根据权利要求1-6任一项所述的方法,其特征在于,所述从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标,包括:The method according to any one of claims 1 to 6, characterized in that, from the plurality of icons, it is determined that the icon is adjacent to the display position of the icon to be operated and has an icon number greater than that of the icon to be operated. The icon to be selected by the icon serial number, including:
    获取所述待操作图标的显示位置,并基于所述待操作图标的显示位置,从所述多个图标中,确定与所述待操作图标的显示位置相邻的图标;Obtain the display position of the icon to be operated, and based on the display position of the icon to be operated, determine from the plurality of icons an icon adjacent to the display position of the icon to be operated;
    获取所述待操作图标的图标序号,并基于所述待操作图标的图标序号,从与所述待操作图标的显示位置相邻的图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。Obtain the icon serial number of the icon to be operated, and based on the icon serial number of the icon to be operated, determine from the icons adjacent to the display position of the icon to be operated that are adjacent to the display position of the icon to be operated and The icon to be selected whose icon number is greater than the icon number of the icon to be operated.
  17. 根据权利要求1-6任一项所述的方法,其特征在于,所述从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标,包括:The method according to any one of claims 1 to 6, characterized in that, from the plurality of icons, it is determined that the icon is adjacent to the display position of the icon to be operated and has an icon number greater than that of the icon to be operated. The icon to be selected by the icon serial number, including:
    获取所述待操作图标的图标序号和所述待操作图标的显示位置;Obtain the icon serial number of the icon to be operated and the display position of the icon to be operated;
    基于所述待操作图标的图标序号和所述待操作图标的显示位置,从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标。Based on the icon serial number of the icon to be operated and the display position of the icon to be operated, an icon adjacent to the display position of the icon to be operated and with an icon sequence number greater than the icon to be operated is determined from the plurality of icons Serial number icon to be selected.
  18. 一种图标的移动装置,其特征在于,所述装置包括:An icon mobile device, characterized in that the device includes:
    图标编辑界面显示模块,用于显示图标编辑界面,其中,所述图标编辑界面包括行列式排布的多个图标,所述多个图标各自对应有图标序号,所述多个图标各自对应的图标序号从内到外螺旋式增大;The icon editing interface display module is used to display the icon editing interface, wherein the icon editing interface includes a plurality of icons arranged in rows and columns, each of the plurality of icons corresponds to an icon serial number, and the icons corresponding to each of the plurality of icons The serial number increases spirally from inside to outside;
    待操作图标确定模块,用于响应于图标操作指令,从所述多个图标中确定待操作图标,其中,所述图标操作指令用于指示停止图标在其显示位置的显示;an icon to be operated determining module, configured to determine an icon to be operated from the plurality of icons in response to an icon operation instruction, wherein the icon operation instruction is used to instruct to stop the display of the icon at its display position;
    待选择图标确定模块,用于从所述多个图标中,确定与所述待操作图标的显示位置相邻且图标序号大于所述待操作图标的图标序号的待选择图标;An icon to be selected determining module, configured to determine, from the plurality of icons, an icon to be selected that is adjacent to the display position of the icon to be operated and whose icon number is greater than the icon number of the icon to be operated;
    目标图标确定模块,用于获取所述待选择图标的图标数量作为第一图标数量,并基于所述第一图标数量从所述待选择图标中确定目标图标;A target icon determination module, configured to obtain the number of icons of the icon to be selected as the first number of icons, and determine the target icon from the icons to be selected based on the first number of icons;
    图标移动模块,用于将所述待操作图标从其显示位置上移除,并将所述目标图标补位至所述待操作图标的显示位置进行显示。The icon moving module is used to remove the icon to be operated from its display position and replace the target icon to the display position of the icon to be operated for display.
  19. 一种电子设备,其特征在于,包括存储器以及处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行如权利要求1-17任一项所述的方法。An electronic device, characterized in that it includes a memory and a processor, the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes as claimed in the claim The method described in any one of claims 1-17.
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-17任一项所述的方法。 A computer-readable storage medium, characterized in that the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the method according to any one of claims 1-17 .
PCT/CN2023/099183 2022-07-29 2023-06-08 Method and apparatus for moving icon, and electronic device and storage medium WO2024021902A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210906223.9 2022-07-29
CN202210906223.9A CN115145444A (en) 2022-07-29 2022-07-29 Icon moving method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024021902A1 true WO2024021902A1 (en) 2024-02-01

Family

ID=83414480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/099183 WO2024021902A1 (en) 2022-07-29 2023-06-08 Method and apparatus for moving icon, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115145444A (en)
WO (1) WO2024021902A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115145444A (en) * 2022-07-29 2022-10-04 Oppo广东移动通信有限公司 Icon moving 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
US20160044191A1 (en) * 2014-08-06 2016-02-11 Kabushiki Kaisha Toshiba Image forming apparatus and control method thereof
CN109272681A (en) * 2018-07-12 2019-01-25 山东亚华电子股份有限公司 A kind of methods of exhibiting and medical care host of bed call state
CN109725791A (en) * 2018-12-29 2019-05-07 惠州Tcl移动通信有限公司 A kind of processing method, mobile terminal and the storage medium of polishing desktop icons
CN111831182A (en) * 2020-07-09 2020-10-27 维沃移动通信有限公司 Application icon control method and device and electronic equipment
US20220283686A1 (en) * 2019-11-28 2022-09-08 Huawei Technologies Co., Ltd. Screen Icon Operating Method and Apparatus
CN115145444A (en) * 2022-07-29 2022-10-04 Oppo广东移动通信有限公司 Icon moving method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063125B (en) * 2014-06-06 2018-03-13 腾讯科技(深圳)有限公司 A kind of desktop icon management method and device
CN108121485A (en) * 2017-11-10 2018-06-05 深圳市金立通信设备有限公司 A kind of icon method for sorting, terminal and computer readable storage medium
CN114756150B (en) * 2020-12-25 2023-12-22 荣耀终端有限公司 Application icon management method, terminal equipment and storage medium
CN114253440A (en) * 2021-11-11 2022-03-29 珠海格力电器股份有限公司 APP icon management method, electronic device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160044191A1 (en) * 2014-08-06 2016-02-11 Kabushiki Kaisha Toshiba Image forming apparatus and control method thereof
CN109272681A (en) * 2018-07-12 2019-01-25 山东亚华电子股份有限公司 A kind of methods of exhibiting and medical care host of bed call state
CN109725791A (en) * 2018-12-29 2019-05-07 惠州Tcl移动通信有限公司 A kind of processing method, mobile terminal and the storage medium of polishing desktop icons
US20220283686A1 (en) * 2019-11-28 2022-09-08 Huawei Technologies Co., Ltd. Screen Icon Operating Method and Apparatus
CN111831182A (en) * 2020-07-09 2020-10-27 维沃移动通信有限公司 Application icon control method and device and electronic equipment
CN115145444A (en) * 2022-07-29 2022-10-04 Oppo广东移动通信有限公司 Icon moving method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115145444A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
EP3786792A1 (en) Screen casting method, apparatus, terminal and storage medium
WO2017054623A1 (en) Method and device for starting application program, and electronic device
CN110347317B (en) Window switching method and device, storage medium and interactive intelligent panel
CN111443863A (en) Page control method and device, storage medium and terminal
EP4016273A1 (en) Side toolbar display method and device, terminal, and storage medium
WO2024021902A1 (en) Method and apparatus for moving icon, and electronic device and storage medium
WO2022001341A1 (en) Application program tag generation method, application interface display method and device
AU2010340048A1 (en) Device, method, and graphical user interface for resizing user interface content
CN104238877A (en) Icon control method and terminal
WO2017063443A1 (en) Message display method and apparatus
WO2021164460A1 (en) Touch response method and apparatus, electronic device, and storage medium
CN106211292A (en) The air navigation aid of a kind of mobile terminal and mobile terminal
US20230325062A1 (en) Method for adjusting interface display state, and electronic device
WO2021027485A9 (en) Information processing method and apparatus, storage medium, and electronic device
WO2022063074A1 (en) Desktop layout method and apparatus, and electronic device
CN110377215B (en) Model display method and device and terminal equipment
CN112218134A (en) Input method and related equipment
US20220335943A1 (en) Human-computer interaction method, apparatus, and system
CN110727385B (en) Desktop icon sorting method and device, electronic equipment and storage medium
CN113282214A (en) Stroke rendering method, device, storage medium and terminal
CN110515524B (en) Method, device, terminal and storage medium for inputting information
CN113926190A (en) Method and device for controlling three-dimensional model in game editor and storage medium
WO2024066759A1 (en) Application switching method, apparatus and device, and medium
CN102937858A (en) Character inputting method and electronic equipment
KR20150087742A (en) Method and appratus for aligning plural objects

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23845115

Country of ref document: EP

Kind code of ref document: A1