WO2021185116A1 - Icon position adjustment method and electronic device - Google Patents

Icon position adjustment method and electronic device Download PDF

Info

Publication number
WO2021185116A1
WO2021185116A1 PCT/CN2021/079655 CN2021079655W WO2021185116A1 WO 2021185116 A1 WO2021185116 A1 WO 2021185116A1 CN 2021079655 W CN2021079655 W CN 2021079655W WO 2021185116 A1 WO2021185116 A1 WO 2021185116A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
position adjustment
adjustment control
control
electronic device
Prior art date
Application number
PCT/CN2021/079655
Other languages
French (fr)
Chinese (zh)
Inventor
曾垂星
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021185116A1 publication Critical patent/WO2021185116A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • G06F3/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of communication technology, and in particular to an icon position adjustment method and electronic equipment.
  • the position of the icon can be adjusted by moving the icon on the electronic device.
  • the position of the application icon can be adjusted by moving the application icon.
  • the embodiment of the present invention provides an icon position adjustment method and electronic device to solve the problem that the icon is easily moved to the wrong position in the prior art, so that the accuracy of the icon position adjustment is low.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a method for adjusting the position of an icon, which is applied to an electronic device, and the method includes:
  • an icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control;
  • the positions of the first icon and the second icon are adjusted corresponding to the first position adjustment control.
  • an embodiment of the present invention provides an electronic device, and the electronic device includes:
  • the first receiving module is configured to receive a first operation on the first icon and the second icon;
  • a display module configured to display an icon editing menu in response to the first operation, and the icon editing menu is provided with at least one position adjustment control;
  • a second receiving module configured to receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
  • the first adjustment module is configured to adjust the positions of the first icon and the second icon corresponding to the first position adjustment control in response to the second operation.
  • an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a program stored on the memory and capable of running on the processor.
  • the program is executed by the processor, The steps in the method for adjusting the position of the icon as described in the first aspect are implemented.
  • an embodiment of the present invention provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the icon position as described in the first aspect is realized. Steps in the adjustment method.
  • an embodiment of the present invention provides a computer program product, wherein the program product is executed by at least one processor to implement the steps in the icon position adjustment method as described in the first aspect.
  • an embodiment of the present invention provides an electronic device, wherein the electronic device is configured to execute the steps in the icon position adjustment method described in the first aspect.
  • the first operation for the first icon and the second icon is received; in response to the first operation, the icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control;
  • a second operation of the position adjustment control, the first position adjustment control is a control in the at least one position adjustment control; in response to the second operation, the positions of the first icon and the second icon are performed The adjustment corresponding to the first position adjustment control.
  • FIG. 1 is a flowchart of a method for adjusting the position of an icon provided by an embodiment of the present invention
  • FIG. 2 is one of the schematic diagrams of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 3 is a second schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 4 is the third schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 5 is a fourth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 6 is the fifth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 7 is a sixth schematic diagram of interface display of an electronic device provided by an embodiment of the present invention.
  • FIG. 9 is the eighth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 10 is a ninth diagram of the interface display of an electronic device provided by an embodiment of the present invention.
  • FIG. 11 is a tenth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 13 is the twelfth diagram of the interface display of the electronic device provided by the embodiment of the present invention.
  • FIG. 14 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • 15 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 16 is a third structural diagram of an electronic device provided by an embodiment of the present invention.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
  • FIG. 1 is a flowchart of an icon position adjustment method provided by an embodiment of the present invention. The method is applied to an electronic device, as shown in FIG. 1, and includes the following steps:
  • Step 101 Receive a first operation on the first icon and the second icon.
  • the first icon and the second icon may both be icons for identifying applications, for example, an application icon displayed on the desktop of an electronic device; or, they may also be icons for identifying files. Both the position adjustment marks can be used as the first icon and the second icon.
  • the desktop of the electronic device can be kept in a standby state. Taking the electronic device as a mobile phone as an example, as shown in Figure 2, the desktop of the mobile phone can be kept in an unlocked state, and the application icons on the mobile phone desktop can be in a state that can respond to movement, click, and long press. Waiting for the status of the operation.
  • a plurality of icons may be displayed on the electronic device, and the plurality of icons may include a first icon and a second icon.
  • the The operation of any one of the plurality of icons can control the plurality of icons to be in an editable state, and drag the icon to realize the movement of the icon.
  • the icon is an application icon
  • an uninstallation logo can be displayed in the upper right corner of each icon, as shown in Figure 3, a cross is displayed. If the user clicks the uninstallation logo, the application identified by the icon can be uninstalled.
  • the receiving the first operation on the first icon and the second icon may be receiving the operation of moving the first icon to the position where the second icon is located; or, it may also be receiving the user pressing The operation of moving the first icon to the position of the second icon; or, it may also be the operation of clicking the first icon and clicking the second icon, etc., which is not limited in the embodiment of the present invention.
  • Step 102 In response to the first operation, display an icon editing menu, and the icon editing menu is provided with at least one position adjustment control.
  • the position adjustment control is used to adjust the position of the icon.
  • the position adjustment control may include a control for swapping the position of the icon, such as a "swap" control; it may also include a control for combining icons, such as "combination”. "Controls; may also include controls for moving icons, for example, “up”, “down”, “left” and “right” four controls; the position adjustment controls may also include controls for canceling icon position adjustments , Such as the "Undo" control; etc. In practical applications, you can click on the control used to undo the icon position adjustment to undo the last icon position adjustment operation.
  • the receiving the first operation on the first icon and the second icon may include: receiving an operation of moving the first icon to the position where the second icon is located; and the displaying the icon editing menu may include: In a case where the overlapping area of the first icon and the second icon is greater than a preset value, an icon editing menu is displayed.
  • Step 103 Receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control.
  • the second operation may be an operation of clicking the first position adjustment control, or may be an operation of double-clicking the first position adjustment control, or may also be an operation of long-pressing the first position adjustment control Operation, etc., the embodiment of the present invention does not specifically limit the second operation.
  • Step 104 In response to the second operation, adjust the positions of the first icon and the second icon corresponding to the first position adjustment control.
  • the positions of the first icon and the second icon may be swapped; the control is adjusted at the first position In the case of a control for combining icons, the first icon and the second icon may be combined and displayed; when the first position adjustment control is a control for moving icons, the The first icon moves to a target position adjacent to the second icon, and the target position is determined based on the first position adjustment control; in the case that the first position adjustment control is a control for canceling icon position adjustment , You can undo the last icon position adjustment operation.
  • the embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, which can improve the accuracy of the position adjustment of the icon.
  • the positioning relationship between icons is complicated.
  • the user When adjusting the position of the icon, the user usually drags icon A to a certain position of icon B.
  • the positioning relationship between icon A and icon B is complicated, making it difficult for the user to judge.
  • Putting icon A in different areas of icon B will trigger a variety of different operation results.
  • the user is often a groping operation until the expected moving effect is achieved, and many unfriendly exploratory operations may be experienced in the middle, which makes the user experience of adjusting the position of the icon poor.
  • the embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, so that the adjustment of the position of the icon becomes more flexible, and the user experience of the position adjustment of the icon can be improved.
  • misoperation is prone to occur during the adjustment of the icon position and the recovery cost after the misoperation occurs is high.
  • the user needs to move the icon A to the left of the icon B, and drag the icon A to the area on the left of the icon B. It is easy to trigger the operation of combining icon A and icon B. If the operation of combining icon A and icon B has been triggered, you need to continue dragging icon A to the area outside the combined folder, and try to move icon A to icon again To the left of B. If you have performed the wrong operation of combining icon A and icon B, you need to perform the operation of undoing the combination of icon A and icon B.
  • the embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, improves the accuracy of the icon position adjustment, greatly reduces misoperation, and can quickly adjust the icon position, achieving high efficiency and convenience Management icon.
  • the first operation for the first icon and the second icon is received; in response to the first operation, the icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control;
  • a second operation of the position adjustment control, the first position adjustment control is a control in the at least one position adjustment control; in response to the second operation, the positions of the first icon and the second icon are performed The adjustment corresponding to the first position adjustment control.
  • the adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control includes any one of the following:
  • the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
  • the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
  • the first position adjustment control is a control for moving an icon
  • the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
  • the combination identifier may be a folder, or may be a solid line frame, or may also be a dashed line frame, or the like.
  • the area corresponding to the combination logo may be the display area of the combination logo, for example, the display area of the combination logo on the desktop of the electronic device; or, after clicking the combination logo, the application interface of the combination logo is displayed,
  • the display area of the application interface of the combination logo can be used as the area corresponding to the combination logo, for example, the combination logo is a folder, and after clicking the folder, the application interface of the folder is taken as the area corresponding to the folder.
  • the controls used to move the icons may include four controls, "up”, “down”, "left” and "right". The four controls can be used to move the first icon to the top of the second icon. Moving the first icon to the bottom of the second icon is used to move the first icon to the left of the second icon and used to move the first icon to the right of the second icon.
  • icon A when icon A moves, the initial position of icon A can display a virtual border and continue to occupy space.
  • icon B can be triggered to display a stroke, which can be a colored stroke.
  • icon A when icon A is stopped, icon A can be overlaid on icon B, and the uninstallation mark on icon B is not displayed.
  • the icon editing menu can also be triggered.
  • the six controls of "up”, “down”, “left”, “right”, “combination” and “swap” can be displayed on the icon editing menu, which can correspond to "place icon A above icon B” and “place icon A on Below icon B", “Place icon A on the left of icon B”, “Place icon A on the right of icon B", “Combine icon A and icon B into a folder”, and “Swap icon A and icon B.”
  • the user can click the position adjustment control in the icon edit menu according to the position adjustment needs, which can realize accurate and error-free icon position adjustment operations.
  • the position of the icon can be changed, the uninstallation logo in the upper right corner of all icons disappears, and the desktop can be restored to a normal standby state.
  • the first icon and the second icon can be The positions of the icons adjacent to and above the second icon are swapped.
  • icon A and icon B above Icon position swap when the first position adjustment control is used to move the first icon to the control below the second icon, the first icon and the second icon adjacent to and located below the second icon can be placed The position of the icon is swapped.
  • the first position adjustment control is a control used to move the first icon to the left of the second icon
  • the first icon can be inserted into the second icon and adjacent to the second icon and located at the second icon Between the icons on the left.
  • icon A can be inserted to the left of icon B
  • icon B and other icons can be moved back one icon position in order, and complete Vacancy of icon A.
  • icon B and other rear icons can go back one icon position one by one in order to fill in the space of icon A; as shown in Figure 11, when icon A is located at icon When it is in front of B, the position of icon B remains unchanged, and icon A is inserted to the left of icon B.
  • the icons adjacent to icon B and to the left of icon B and other front icons can be moved forward one icon position one by one in order to fill in. Vacancy of icon A.
  • the first position adjustment control is a control used to move the first icon to the right of the second icon, the first icon can be inserted into the second icon and adjacent to the second icon and located to the right of the second icon Between icons. You can move backward one icon position one by one in order or move forward one icon position one by one in order to fill in the empty space of icon A.
  • one icon position can be moved backward one by one in order or one icon position forward one by one in order to fill in the empty space of the first icon.
  • the icons behind the initial position of icon A can be moved forward one icon position one by one in order to fill in the space of icon A; if icon A is located in front of icon B, The icons in front of the initial position of icon A can be moved back one icon position one by one in order to fill in the space of icon A.
  • the control used to move the first icon to the top of the second icon can be controlled to be inoperable; if the second icon is located at the bottom of the list of icons, it can be controlled to The control that moves the first icon to the bottom of the second icon is inoperable; if the second icon is located at the far left of a row of icons, you can control the control used to move the first icon to the left of the second icon to be inoperable; If the second icon is located at the far right of a column of icons, the control used to move the first icon to the right of the second icon can be controlled to be inoperable. As shown in Figure 13, if icon B is on the far right side, icon A cannot be moved to the right side of the icon, and the control displayed as "right" is grayed out.
  • the electronic device can automatically recognize the position of each application icon.
  • the user presses the first icon to move.
  • the first icon can be directly placed in the blank position without triggering the icon editing menu.
  • the icon editing menu can be triggered.
  • the first icon is moved to the target position adjacent to the second icon through the first position adjustment control, if there is no icon in the target position adjacent to the second icon, the first icon can be directly placed At the target location adjacent to the second icon.
  • the first icon may be inserted between the second icon and the icon displayed at the target position adjacent to the second icon.
  • the position adjustment control can be used to exchange icon positions, combine icons, and move icons, which can realize fast and efficient management of icons, and has a better user experience.
  • a plurality of icons are displayed on the electronic device, the plurality of icons include the first icon and the second icon, and the receiving of the first operation on the first icon and the second icon includes :
  • the user can drag the first icon to make the first icon move to the position where the second icon is located.
  • the icons do not interfere with each other, and only one icon can be moved at a time.
  • the initial position of the first icon can display a dashed frame and continue to occupy space , The position of icons other than the first icon remains unchanged, and the first icon can be suspended on top of other icons.
  • the positions of icons other than the first icon in the plurality of icons are kept unchanged, so that only one icon is allowed to be moved.
  • the other icons remain static and undisturbed, which can reduce the consumption of the background process during the movement of the icon, and can reduce the interference in the process of moving the first icon.
  • the method further includes:
  • the first adjustment action is cancelled, and the positions of the first icon and the second icon are adjusted corresponding to the second position adjustment control, and the first adjustment action is The operation of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control is described.
  • the third operation may be an operation of clicking the second position adjustment control, or may be an operation of double-clicking the second position adjustment control, or may also be an operation of long-pressing the second position adjustment control Operation, etc.
  • the embodiment of the present invention does not specifically limit the third operation.
  • the first position adjustment control is a control used to move the first icon to above the second icon
  • the second position adjustment control is a control used to swap the position of the icon, and when the first icon is moved above the second icon Later, if the third operation is received, the first icon can be cancelled to above the second icon, and the positions of the first icon and the second icon can be swapped.
  • the positions of the first icon and the second icon are swapped, the second icon is deleted at the position where the second icon is displayed, and the combination logo is displayed, or the Before the first icon is moved to the target position adjacent to the second icon, the second position adjustment control can be grayed out and cannot be operated. That is, the position of the first icon and the second icon cannot be adjusted. Undo the adjustment corresponding to the first position adjustment control.
  • the position adjustment operation of the icon can be cancelled, and the adjustment of the icon position follows the operation of the position adjustment control, and the user experience is better.
  • the receiving the first operation on the first icon and the second icon includes:
  • the display icon editing menu includes:
  • the icon editing menu is displayed.
  • the preset value may be 10%, 20%, 30%, and so on.
  • the electronic device may compare the position of the first icon with the positions of other icons.
  • an overlap mark may be displayed on the second icon to indicate where the first icon and the second icon can occur Adjust the relationship.
  • the overlap mark may be a colored stroke.
  • the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed, so that it can be accurate
  • the second icon is determined accurately to further avoid misoperation and improve the accuracy of icon position adjustment.
  • FIG. 14 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present invention.
  • the electronic device 200 includes:
  • the first receiving module 201 is configured to receive a first operation on the first icon and the second icon;
  • the display module 202 is configured to display an icon editing menu in response to the first operation, and the icon editing menu is provided with at least one position adjustment control;
  • the second receiving module 203 is configured to receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
  • the first adjustment module 204 is configured to adjust the positions of the first icon and the second icon corresponding to the first position adjustment control in response to the second operation.
  • the first adjustment module 204 is specifically used for any one of the following:
  • the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
  • the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
  • the first position adjustment control is a control for moving an icon
  • the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
  • multiple icons are displayed on the electronic device, the multiple icons include the first icon and the second icon, and the first receiving module 201 is specifically configured to:
  • the electronic device 200 further includes:
  • the third receiving module 205 is configured to receive a third operation for a second position adjustment control, where the second position adjustment control is a control in the at least one position adjustment control;
  • the second adjustment module 206 is configured to cancel the first adjustment action in response to the third operation, and adjust the positions of the first icon and the second icon corresponding to the second position adjustment control,
  • the first adjustment action is an action of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control.
  • the first receiving module 201 is specifically configured to:
  • the display module 202 is specifically used for:
  • the icon editing menu is displayed.
  • the electronic device can implement each process implemented by the electronic device in the method embodiment in FIG.
  • FIG. 16 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and Power supply 311 and other components.
  • a radio frequency unit 301 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and Power supply 311 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 16 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones
  • the user input unit 307 is configured to: receive a first operation on the first icon and the second icon;
  • the display unit 306 is configured to: in response to the first operation, display an icon editing menu, the icon editing menu is provided with at least one position adjustment control;
  • the user input unit 307 is further configured to: receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
  • the processor 310 is configured to: in response to the second operation, adjust the positions of the first icon and the second icon corresponding to the first position adjustment control.
  • the first operation for the first icon and the second icon is received; in response to the first operation, the icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control;
  • a second operation of the position adjustment control, the first position adjustment control is a control in the at least one position adjustment control; in response to the second operation, the positions of the first icon and the second icon are performed The adjustment corresponding to the first position adjustment control.
  • processor 310 is further used for any of the following:
  • the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
  • the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
  • the first position adjustment control is a control for moving an icon
  • the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
  • multiple icons are displayed on the electronic device, and the multiple icons include the first icon and the second icon, and the user input unit 307 is further configured to:
  • the user input unit 307 is further configured to: receive a third operation for a second position adjustment control, the second position adjustment control being a control in the at least one position adjustment control;
  • the processor 310 is further configured to: in response to the third operation, cancel the first adjustment action, and adjust the positions of the first icon and the second icon corresponding to the second position adjustment control, so
  • the first adjustment action is an action of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control.
  • the user input unit 307 is also used to:
  • the display unit 306 is also used for:
  • the icon editing menu is displayed.
  • the radio frequency unit 301 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 310; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 303 may convert the audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output it as sound. Moreover, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic device 300 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 304 is used to receive audio or video signals.
  • the input unit 304 may include a graphics processing unit (GPU) 3041 and a microphone 3042.
  • the graphics processor 3041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 306.
  • the image frame processed by the graphics processor 3041 may be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302.
  • the microphone 3042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 301 in the case of a telephone call mode for output.
  • the electronic device 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 3061 and the display panel 3061 when the electronic device 300 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 305 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 306 is used to display information input by the user or information provided to the user.
  • the display unit 306 may include a display panel 3061, and the display panel 3061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 307 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the electronic device.
  • the user input unit 307 includes a touch panel 3071 and other input devices 3072.
  • the touch panel 3071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 3071 or near the touch panel 3071. operate).
  • the touch panel 3071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 310, the command sent by the processor 310 is received and executed.
  • the touch panel 3071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 307 may also include other input devices 3072.
  • other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 3071 can be overlaid on the display panel 3061.
  • the touch panel 3071 detects a touch operation on or near it, it transmits it to the processor 310 to determine the type of touch event, and then the processor 310 determines the type of touch event according to the touch
  • the type of event provides corresponding visual output on the display panel 3061.
  • the touch panel 3071 and the display panel 3061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 308 is an interface for connecting an external device and the electronic device 300.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 308 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 300 or can be used to connect the electronic device 300 to an external device. Transfer data between devices.
  • the memory 309 can be used to store software programs and various data.
  • the memory 309 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 309 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 310 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 309, and calls the data stored in the memory 309 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 310.
  • the electronic device 300 may also include a power source 311 (such as a battery) for supplying power to various components.
  • a power source 311 such as a battery
  • the power source 311 may be logically connected to the processor 310 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 300 includes some functional modules not shown, which will not be repeated here.
  • An embodiment of the present invention also provides an electronic device, including a processor, a memory, and a program stored on the memory and running on the processor.
  • the program is executed by the processor, the above-mentioned icon position adjustment method in the embodiment is implemented.
  • Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the embodiment of the present invention also provides a computer program product, wherein the program product is executed by at least one processor to implement the steps in the aforementioned method for adjusting the position of the icon.
  • An embodiment of the present invention also provides an icon position adjustment device, wherein the device is configured to execute the steps in the icon position adjustment method described above.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

An icon position adjustment method and an electronic device. The method comprises: receiving a first operation for a first icon and a second icon (101); in response to the first operation, displaying an icon editing menu, the icon editing menu being provided with at least one position adjustment control (102); receiving a second operation for a first position adjustment control, the first position adjustment control being a control from among the at least one position adjustment control (103); and in response to the second operation, performing adjustment, corresponding to the first position adjustment control, on the positions of the first icon and the second icon (104).

Description

图标位置调整方法及电子设备Icon position adjustment method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年3月16日在中国提交的中国专利申请号No.202010181477.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010181477.X filed in China on March 16, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种图标位置调整方法及电子设备。The present invention relates to the field of communication technology, and in particular to an icon position adjustment method and electronic equipment.
背景技术Background technique
随着电子设备的普及,电子设备的功能越来越完善。电子设备上显示有各种图标,在使用电子设备时,可以移动电子设备上的图标对图标的位置进行调整,以图标为应用图标为例,可以通过移动应用图标对应用图标的位置进行调整。With the popularization of electronic devices, the functions of electronic devices are becoming more and more perfect. Various icons are displayed on the electronic device. When using the electronic device, the position of the icon can be adjusted by moving the icon on the electronic device. Taking the icon as an application icon as an example, the position of the application icon can be adjusted by moving the application icon.
目前,在调整图标位置时,通常将一个图标移动至另一个图标周围的位置,容易将图标移动到错误的位置,使得图标位置调整的准确率较低。At present, when adjusting the position of an icon, one icon is usually moved to a position around another icon, which is easy to move the icon to the wrong position, which makes the accuracy of the icon position adjustment low.
发明内容Summary of the invention
本发明实施例提供一种图标位置调整方法及电子设备,以解决现有技术中容易将图标移动到错误的位置,使得图标位置调整的准确率较低的问题。The embodiment of the present invention provides an icon position adjustment method and electronic device to solve the problem that the icon is easily moved to the wrong position in the prior art, so that the accuracy of the icon position adjustment is low.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种图标位置调整方法,应用于电子设备,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for adjusting the position of an icon, which is applied to an electronic device, and the method includes:
接收针对第一图标和第二图标的第一操作;Receiving the first operation on the first icon and the second icon;
响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;In response to the first operation, an icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control;
接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;Receiving a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所 述第一位置调整控件对应的调整。In response to the second operation, the positions of the first icon and the second icon are adjusted corresponding to the first position adjustment control.
第二方面,本发明实施例提供了一种电子设备,所述电子设备包括:In a second aspect, an embodiment of the present invention provides an electronic device, and the electronic device includes:
第一接收模块,用于接收针对第一图标和第二图标的第一操作;The first receiving module is configured to receive a first operation on the first icon and the second icon;
显示模块,用于响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;A display module, configured to display an icon editing menu in response to the first operation, and the icon editing menu is provided with at least one position adjustment control;
第二接收模块,用于接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;A second receiving module, configured to receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
第一调整模块,用于响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。The first adjustment module is configured to adjust the positions of the first icon and the second icon corresponding to the first position adjustment control in response to the second operation.
第三方面,本发明实施例提供了一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面所述的图标位置调整方法中的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a program stored on the memory and capable of running on the processor. When the program is executed by the processor, The steps in the method for adjusting the position of the icon as described in the first aspect are implemented.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的图标位置调整方法中的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the icon position as described in the first aspect is realized. Steps in the adjustment method.
第五方面,本发明实施例提供了一种计算机程序产品,其中,所述程序产品被至少一个处理器执行以实现如第一方面所述的图标位置调整方法中的步骤。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the program product is executed by at least one processor to implement the steps in the icon position adjustment method as described in the first aspect.
第六方面,本发明实施例提供了一种电子设备,其中,所述电子设备被配置成用于执行第一方面所述的图标位置调整方法中的步骤。In a sixth aspect, an embodiment of the present invention provides an electronic device, wherein the electronic device is configured to execute the steps in the icon position adjustment method described in the first aspect.
本发明实施例中,接收针对第一图标和第二图标的第一操作;响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。这样,通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,能够提高图标位置调整的准确率。In the embodiment of the present invention, the first operation for the first icon and the second icon is received; in response to the first operation, the icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control; A second operation of the position adjustment control, the first position adjustment control is a control in the at least one position adjustment control; in response to the second operation, the positions of the first icon and the second icon are performed The adjustment corresponding to the first position adjustment control. In this way, by adjusting the position of the icon through the position adjustment control set on the icon editing menu, the accuracy of the position adjustment of the icon can be improved.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明实施例提供的一种图标位置调整方法的流程图;FIG. 1 is a flowchart of a method for adjusting the position of an icon provided by an embodiment of the present invention;
图2是本发明实施例提供的电子设备的界面显示示意图之一;FIG. 2 is one of the schematic diagrams of the interface display of the electronic device provided by the embodiment of the present invention;
图3是本发明实施例提供的电子设备的界面显示示意图之二;3 is a second schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图4是本发明实施例提供的电子设备的界面显示示意图之三;4 is the third schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图5是本发明实施例提供的电子设备的界面显示示意图之四;5 is a fourth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图6是本发明实施例提供的电子设备的界面显示示意图之五;6 is the fifth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图7是本发明实施例提供的电子设备的界面显示示意图之六;FIG. 7 is a sixth schematic diagram of interface display of an electronic device provided by an embodiment of the present invention;
图8是本发明实施例提供的电子设备的界面显示示意图之七;8 is the seventh schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图9是本发明实施例提供的电子设备的界面显示示意图之八;9 is the eighth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图10是本发明实施例提供的电子设备的界面显示示意图之九;FIG. 10 is a ninth diagram of the interface display of an electronic device provided by an embodiment of the present invention;
图11是本发明实施例提供的电子设备的界面显示示意图之十;11 is a tenth schematic diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图12是本发明实施例提供的电子设备的界面显示示意图之十一;12 is the eleventh diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图13是本发明实施例提供的电子设备的界面显示示意图之十二;FIG. 13 is the twelfth diagram of the interface display of the electronic device provided by the embodiment of the present invention;
图14是本发明实施例提供的一种电子设备的结构示意图之一;FIG. 14 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention;
图15是本发明实施例提供的一种电子设备的结构示意图之二;15 is a second structural diagram of an electronic device provided by an embodiment of the present invention;
图16是本发明实施例提供的一种电子设备的结构示意图之三。FIG. 16 is a third structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
参见图1,图1是本发明实施例提供的一种图标位置调整方法的流程图, 所述方法应用于电子设备,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of an icon position adjustment method provided by an embodiment of the present invention. The method is applied to an electronic device, as shown in FIG. 1, and includes the following steps:
步骤101、接收针对第一图标和第二图标的第一操作。Step 101: Receive a first operation on the first icon and the second icon.
其中,所述第一图标和所述第二图标均可以为用于标识应用的图标,例如,显示在电子设备的桌面的应用图标;或者,还可以为用于标识文件的图标,凡是可以进行位置调整的标识均可以作为所述第一图标和第二图标。所述电子设备的桌面可以保持待机状态,以电子设备为手机为例,如图2所示,可以保持手机的桌面处于解锁状态,手机桌面上的应用图标可以处于能响应移动、点击及长按等操作的状态。Wherein, the first icon and the second icon may both be icons for identifying applications, for example, an application icon displayed on the desktop of an electronic device; or, they may also be icons for identifying files. Both the position adjustment marks can be used as the first icon and the second icon. The desktop of the electronic device can be kept in a standby state. Taking the electronic device as a mobile phone as an example, as shown in Figure 2, the desktop of the mobile phone can be kept in an unlocked state, and the application icons on the mobile phone desktop can be in a state that can respond to movement, click, and long press. Waiting for the status of the operation.
另外,所述电子设备上可以显示有多个图标,所述多个图标可以包括第一图标和第二图标,在接收针对第一图标和第二图标的第一操作之前,可以接收长按所述多个图标中任意一个图标的操作,如图3所示,可以控制所述多个图标均处于可编辑状态,拖动图标可以实现移动图标。若图标为应用图标,可以在每个图标的右上角显示卸载标识,如图3所示,显示叉号,若用户点击卸载标识可以卸载该图标标识的应用程序。In addition, a plurality of icons may be displayed on the electronic device, and the plurality of icons may include a first icon and a second icon. Before receiving the first operation on the first icon and the second icon, the The operation of any one of the plurality of icons, as shown in FIG. 3, can control the plurality of icons to be in an editable state, and drag the icon to realize the movement of the icon. If the icon is an application icon, an uninstallation logo can be displayed in the upper right corner of each icon, as shown in Figure 3, a cross is displayed. If the user clicks the uninstallation logo, the application identified by the icon can be uninstalled.
进一步的,所述接收针对第一图标和第二图标的第一操作,可以是,接收向所述第二图标所在的位置移动所述第一图标的操作;或者,还可以是,接收用户按压所述第一图标向所述第二图标所在的位置移动的操作;或者,还可以是,点击第一图标并点击第二图标的操作,等等,本发明实施例对此不进行限定。Further, the receiving the first operation on the first icon and the second icon may be receiving the operation of moving the first icon to the position where the second icon is located; or, it may also be receiving the user pressing The operation of moving the first icon to the position of the second icon; or, it may also be the operation of clicking the first icon and clicking the second icon, etc., which is not limited in the embodiment of the present invention.
步骤102、响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件。Step 102: In response to the first operation, display an icon editing menu, and the icon editing menu is provided with at least one position adjustment control.
其中,可以是在所述第二图标的上方显示图标编辑菜单,或者,可以是在其他区域显示图标编辑菜单。所述位置调整控件用于对图标的位置进行调整,所述位置调整控件可以包括用于对换图标位置的控件,例如“对换”控件;还可以包括用于组合图标的控件,例如“组合”控件;还可以包括用于移动图标的控件,例如,“上”、“下”、“左”及“右”四个控件;所述位置调整控件还可以包括用于撤销图标位置调整的控件,例如“撤销”控件;等等。在实际应用中,可以点击所述用于撤销图标位置调整的控件,对上一次的图标位置调整操作进行撤销。Wherein, the icon editing menu may be displayed above the second icon, or the icon editing menu may be displayed in other areas. The position adjustment control is used to adjust the position of the icon. The position adjustment control may include a control for swapping the position of the icon, such as a "swap" control; it may also include a control for combining icons, such as "combination". "Controls; may also include controls for moving icons, for example, "up", "down", "left" and "right" four controls; the position adjustment controls may also include controls for canceling icon position adjustments , Such as the "Undo" control; etc. In practical applications, you can click on the control used to undo the icon position adjustment to undo the last icon position adjustment operation.
另外,所述接收针对第一图标和第二图标的第一操作,可以包括:接收向所述第二图标所在的位置移动所述第一图标的操作;所述显示图标编辑菜单,可以包括:在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,显示图标编辑菜单。In addition, the receiving the first operation on the first icon and the second icon may include: receiving an operation of moving the first icon to the position where the second icon is located; and the displaying the icon editing menu may include: In a case where the overlapping area of the first icon and the second icon is greater than a preset value, an icon editing menu is displayed.
步骤103、接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件。Step 103: Receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control.
其中,所述第二操作可以为单击所述第一位置调整控件的操作,或者可以为双击所述第一位置调整控件的操作,或者,还可以为长按所述第一位置调整控件的操作,等等,本发明实施例对所述第二操作不作具体限定。Wherein, the second operation may be an operation of clicking the first position adjustment control, or may be an operation of double-clicking the first position adjustment control, or may also be an operation of long-pressing the first position adjustment control Operation, etc., the embodiment of the present invention does not specifically limit the second operation.
步骤104、响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。Step 104: In response to the second operation, adjust the positions of the first icon and the second icon corresponding to the first position adjustment control.
其中,在所述第一位置调整控件为用于对换图标位置的控件的情况下,可以将所述第一图标与所述第二图标的位置进行对换;在所述第一位置调整控件为用于组合图标的控件的情况下,可以将所述第一图标与所述第二图标组合显示;在所述第一位置调整控件为用于移动图标的控件的情况下,可以将所述第一图标移动至所述第二图标相邻的目标位置,所述目标位置基于所述第一位置调整控件确定;在所述第一位置调整控件为用于撤销图标位置调整的控件的情况下,可以对上一次的图标位置调整操作进行撤销。Wherein, in the case that the first position adjustment control is a control for swapping the position of an icon, the positions of the first icon and the second icon may be swapped; the control is adjusted at the first position In the case of a control for combining icons, the first icon and the second icon may be combined and displayed; when the first position adjustment control is a control for moving icons, the The first icon moves to a target position adjacent to the second icon, and the target position is determined based on the first position adjustment control; in the case that the first position adjustment control is a control for canceling icon position adjustment , You can undo the last icon position adjustment operation.
在实际应用中,电子设备,例如手机,通常都会安装许多第三方应用APP,每个应用都会在电子设备的待机桌面生成一个快捷入口,即应用图标,用户可以通过点击应用图标快速启动该应用程序。电子设备的待机桌面显示有大量的应用图标。可以通过移动应用图标调整应用图标的位置对应用图标进行管理。现有技术中,图标A只能移动至图标B的前方或者后方,或者,将图标A和图标B组合,在对图标的位置调整时,通常拖拽图标A至图标B的前方或后方,拖拽过程中极易失误,即使将图标A成功拖拽至图标B附近也很难顺利完成插入图标B前方或者后方,容易导致误操作,造成用户在使用时的诸多不便。本发明实施例通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,能够提高图标位置调整的准确率。In actual applications, electronic devices, such as mobile phones, usually install many third-party applications APP, and each application will generate a shortcut entry on the standby desktop of the electronic device, that is, the application icon. The user can quickly start the application by clicking the application icon . A large number of application icons are displayed on the standby desktop of the electronic device. The application icon can be managed by adjusting the position of the application icon by moving the application icon. In the prior art, the icon A can only be moved to the front or back of the icon B, or the icon A and the icon B are combined. When the position of the icon is adjusted, the icon A is usually dragged to the front or back of the icon B. It is very easy to make mistakes in the drag process. Even if the icon A is successfully dragged to the vicinity of the icon B, it is difficult to successfully insert the icon B in front or behind the icon B, which may easily lead to misoperation and cause many inconveniences for the user during use. The embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, which can improve the accuracy of the position adjustment of the icon.
现有技术中,在调整图标位置时图标之间定位关系复杂,用户在调整图标位置时,通常拖拽图标A移动至图标B某位置,图标A跟图标B定位关系复杂,使得用户很难判断将图标A移动至图标B某个区域才能精准触发某项操作。例如,移动图标A至图标B的中上部分很难区分是将图标A和图标B组合,还是将图标A放置在图标B的顶部。图标A放在图标B的不同区域会触发多种不同的操作结果。用户往往是摸索性的操作,直至达到预期移动效果,中间可能经历多次不友好的探索性操作,使得调整图标位置的用户体验较差。本发明实施例通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,使图标位置调整变得更加灵活,能够提高图标位置调整的用户体验。In the prior art, when adjusting the position of the icon, the positioning relationship between icons is complicated. When adjusting the position of the icon, the user usually drags icon A to a certain position of icon B. The positioning relationship between icon A and icon B is complicated, making it difficult for the user to judge. Move icon A to a certain area of icon B to trigger an operation accurately. For example, it is difficult to distinguish whether to combine icon A and icon B or place icon A on top of icon B when moving icon A to the upper middle part of icon B. Putting icon A in different areas of icon B will trigger a variety of different operation results. The user is often a groping operation until the expected moving effect is achieved, and many unfriendly exploratory operations may be experienced in the middle, which makes the user experience of adjusting the position of the icon poor. The embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, so that the adjustment of the position of the icon becomes more flexible, and the user experience of the position adjustment of the icon can be improved.
现有技术中,图标位置调整过程中缺少清晰的视觉指引,在图标位置调整过程中没有提供给用户清晰的视觉引导指示,当用户拖动图标A放置在图标B的某区域,没有任何视觉提示告知用户将图标A放置在图标B当前区域将触发某个精准操作。缺少清晰的视觉指引使得图标位置调整的准确性较低。本发明实施例通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,可实现精准的图标位置调整,使得图标位置调整过程更加清晰,提升了易用性,并能够提高图标位置调整的准确性。In the prior art, there is a lack of clear visual guidance during the adjustment of the icon position, and no clear visual guidance is provided to the user during the adjustment of the icon position. When the user drags the icon A and places it in a certain area of the icon B, there is no visual prompt. Inform the user that placing icon A in the current area of icon B will trigger a precise operation. The lack of clear visual guidance makes the accuracy of icon position adjustment low. The embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, which can realize precise icon position adjustment, so that the icon position adjustment process is clearer, the ease of use is improved, and the icon position adjustment can be improved. accuracy.
现有技术中,图标位置调整过程中容易发生误操作且发生误操作后的恢复成本较大,例如,用户需要将图标A移动至图标B的左边,拖拽图标A移动至图标B左边的区域时容易触发将图标A和图标B组合的操作,若已触发将图标A和图标B组合的操作,需要继续拖拽图标A移动至组合文件夹以外的区域,并重新尝试将图标A移动至图标B的左边。若已经执行了将图标A和图标B组合的误操作,则需要执行撤销将图标A和图标B组合的操作,需要找到组合文件夹,点击组合文件夹,并长按图标A将其移出组合文件夹,并重新尝试将图标A移动至图标B的左边,从而使得调整图标位置的操作较为繁琐。本发明实施例通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,提高图标位置调整的精准性,极大程度的减少误操作,并能够快捷地实现图标位置的调整,实现高效便捷地管理图标。In the prior art, misoperation is prone to occur during the adjustment of the icon position and the recovery cost after the misoperation occurs is high. For example, the user needs to move the icon A to the left of the icon B, and drag the icon A to the area on the left of the icon B. It is easy to trigger the operation of combining icon A and icon B. If the operation of combining icon A and icon B has been triggered, you need to continue dragging icon A to the area outside the combined folder, and try to move icon A to icon again To the left of B. If you have performed the wrong operation of combining icon A and icon B, you need to perform the operation of undoing the combination of icon A and icon B. You need to find the combined folder, click the combined folder, and long press icon A to move it out of the combined file Folder, and try to move icon A to the left of icon B again, which makes the operation of adjusting the position of the icon more cumbersome. The embodiment of the present invention adjusts the position of the icon through the position adjustment control set on the icon editing menu, improves the accuracy of the icon position adjustment, greatly reduces misoperation, and can quickly adjust the icon position, achieving high efficiency and convenience Management icon.
本发明实施例中,接收针对第一图标和第二图标的第一操作;响应于所 述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。这样,通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,能够提高图标位置调整的准确率。In the embodiment of the present invention, the first operation for the first icon and the second icon is received; in response to the first operation, the icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control; A second operation of the position adjustment control, the first position adjustment control is a control in the at least one position adjustment control; in response to the second operation, the positions of the first icon and the second icon are performed The adjustment corresponding to the first position adjustment control. In this way, by adjusting the position of the icon through the position adjustment control set on the icon editing menu, the accuracy of the position adjustment of the icon can be improved.
可选的,所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整,包括如下任一项:Optionally, the adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control includes any one of the following:
在所述第一位置调整控件为用于对换图标位置的控件的情况下,将所述第一图标与所述第二图标的位置进行对换;In a case where the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
在所述第一位置调整控件为用于组合图标的控件的情况下,在显示所述第二图标所在的位置删除所述第二图标,并显示组合标识,其中,所述组合标识对应的区域内显示有所述第一图标和所述第二图标;In the case that the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
在所述第一位置调整控件为用于移动图标的控件的情况下,将所述第一图标移动至所述第二图标相邻的目标位置,所述目标位置基于所述第一位置调整控件确定。In the case that the first position adjustment control is a control for moving an icon, the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
其中,所述组合标识可以为文件夹,或者可以为实线框,或者还可以为虚线框等等。所述组合标识对应的区域可以是所述组合标识的显示区域,例如,所述组合标识在电子设备桌面上的显示区域;或者,还可以是,点击组合标识后,显示组合标识的应用界面,可以将组合标识的应用界面的显示区域作为所述组合标识对应的区域,例如,所述组合标识为文件夹,在点击文件夹后,将文件夹的应用界面作为所述文件夹对应的区域。所述用于移动图标的控件可以包括“上”、“下”、“左”及“右”四个控件,该四个控件可以分别用于移动第一图标至第二图标的上方,用于移动第一图标至第二图标的下方,用于移动第一图标至第二图标的左方,及用于移动第一图标至第二图标的右方。Wherein, the combination identifier may be a folder, or may be a solid line frame, or may also be a dashed line frame, or the like. The area corresponding to the combination logo may be the display area of the combination logo, for example, the display area of the combination logo on the desktop of the electronic device; or, after clicking the combination logo, the application interface of the combination logo is displayed, The display area of the application interface of the combination logo can be used as the area corresponding to the combination logo, for example, the combination logo is a folder, and after clicking the folder, the application interface of the folder is taken as the area corresponding to the folder. The controls used to move the icons may include four controls, "up", "down", "left" and "right". The four controls can be used to move the first icon to the top of the second icon. Moving the first icon to the bottom of the second icon is used to move the first icon to the left of the second icon and used to move the first icon to the right of the second icon.
在实际应用中,如图4所示,在图标A移动时,图标A的初始位置可以显示虚边框,并且继续占位。当拖动图标A移动至图标B上时,如图5所示,可以触发图标B显示描边,可以是带颜色的描边。如图6所示,当停止按压 图标A后,图标A可以覆盖在图标B上,并且不显示图标B上的卸载标识。如图7所示,停止按压图标A后还可以触发图标编辑菜单。可以在图标编辑菜单上显示“上”“下”“左”“右”“组合”“对换”六项控件,可以分别对应“将图标A置于图标B上方”、“将图标A置于图标B下方”、“将图标A置于图标B左边”、“将图标A置于图标B右边”、“将图标A与图标B组合成文件夹”及“将图标A与图标B对换位置”六项精准操作。用户可以根据位置调整需求点击图标编辑菜单中的位置调整控件,可以实现精准无误的图标位置调整操作。如图8所示,可以在点击位置调整控件后,图标位置进行变更,所有图标右上角的卸载标识消失,可以将桌面恢复成正常待机状态。In practical applications, as shown in FIG. 4, when icon A moves, the initial position of icon A can display a virtual border and continue to occupy space. When icon A is dragged to move to icon B, as shown in Figure 5, icon B can be triggered to display a stroke, which can be a colored stroke. As shown in Fig. 6, when icon A is stopped, icon A can be overlaid on icon B, and the uninstallation mark on icon B is not displayed. As shown in Figure 7, after stopping pressing icon A, the icon editing menu can also be triggered. The six controls of "up", "down", "left", "right", "combination" and "swap" can be displayed on the icon editing menu, which can correspond to "place icon A above icon B" and "place icon A on Below icon B", "Place icon A on the left of icon B", "Place icon A on the right of icon B", "Combine icon A and icon B into a folder", and "Swap icon A and icon B." "Six precision operations. The user can click the position adjustment control in the icon edit menu according to the position adjustment needs, which can realize accurate and error-free icon position adjustment operations. As shown in Figure 8, after clicking the position adjustment control, the position of the icon can be changed, the uninstallation logo in the upper right corner of all icons disappears, and the desktop can be restored to a normal standby state.
另外,在第一位置调整控件为用于移动第一图标至第二图标的上方的控件时,为避免将第一图标和第二图标的位置发生错位,可以将第一图标和与第二图标相邻且位于所述第二图标上方的图标的位置进行对换,如图9所示,以第一图标为图标A,第二图标为图标B为例,可以将图标A与图标B上方的图标进行位置对换;在第一位置调整控件为用于移动第一图标至第二图标的下方的控件时,可以将第一图标和与第二图标相邻且位于所述第二图标下方的图标的位置进行对换。In addition, when the first position adjustment control is used to move the first icon to the upper side of the second icon, in order to avoid misalignment of the positions of the first icon and the second icon, the first icon and the second icon can be The positions of the icons adjacent to and above the second icon are swapped. As shown in Figure 9, taking the first icon as icon A and the second icon as icon B as an example, icon A and icon B above Icon position swap; when the first position adjustment control is used to move the first icon to the control below the second icon, the first icon and the second icon adjacent to and located below the second icon can be placed The position of the icon is swapped.
进一步的,在第一位置调整控件为用于移动第一图标至第二图标的左方的控件时,可以将第一图标插入第二图标和与第二图标相邻且位于所述第二图标左方的图标之间。如图10所示,以第一图标为图标A,第二图标为图标B为例,可以将图标A插入图标B的左边,图标B及其他图标可以按顺序逐个往后退一个图标位置,补齐图标A的空位。如图10所示,当图标A位于图标B的后方时,图标B及其他后方图标可以按顺序逐个往后退一个图标位置,补齐图标A的空位;如图11所示,当图标A位于图标B的前方时,图标B的位置不变,图标A插入图标B的左边,与图标B相邻且位于图标B左方的图标及其他前方图标可以按顺序逐个往前移一个图标位置,补齐图标A的空位。在第一位置调整控件为用于移动第一图标至第二图标的右方的控件时,可以将第一图标插入第二图标和与第二图标相邻且位于所述第二图标右方的图标之间。可以按顺序逐个往后退一个图标位置或者按顺序逐个往前移一个图标位置,补齐图标A的空位。Further, when the first position adjustment control is a control used to move the first icon to the left of the second icon, the first icon can be inserted into the second icon and adjacent to the second icon and located at the second icon Between the icons on the left. As shown in Figure 10, taking the first icon as icon A and the second icon as icon B as an example, icon A can be inserted to the left of icon B, icon B and other icons can be moved back one icon position in order, and complete Vacancy of icon A. As shown in Figure 10, when icon A is located behind icon B, icon B and other rear icons can go back one icon position one by one in order to fill in the space of icon A; as shown in Figure 11, when icon A is located at icon When it is in front of B, the position of icon B remains unchanged, and icon A is inserted to the left of icon B. The icons adjacent to icon B and to the left of icon B and other front icons can be moved forward one icon position one by one in order to fill in. Vacancy of icon A. When the first position adjustment control is a control used to move the first icon to the right of the second icon, the first icon can be inserted into the second icon and adjacent to the second icon and located to the right of the second icon Between icons. You can move backward one icon position one by one in order or move forward one icon position one by one in order to fill in the empty space of icon A.
另外,在所述第一位置调整控件为用于组合图标的控件的情况下,可以按顺序逐个往后退一个图标位置或者按顺序逐个往前移一个图标位置,补齐第一图标的空位。如图12所示,若图标A位于图标B的后方,可以将图标A初始位置后方的图标按顺序逐个往前移一个图标位置,补齐图标A的空位;若图标A位于图标B的前方,可以将图标A初始位置前方的图标按顺序逐个往后退一个图标位置,补齐图标A的空位。In addition, in the case where the first position adjustment control is a control for combining icons, one icon position can be moved backward one by one in order or one icon position forward one by one in order to fill in the empty space of the first icon. As shown in Figure 12, if icon A is located behind icon B, the icons behind the initial position of icon A can be moved forward one icon position one by one in order to fill in the space of icon A; if icon A is located in front of icon B, The icons in front of the initial position of icon A can be moved back one icon position one by one in order to fill in the space of icon A.
进一步的,若第二图标位于一列图标的最上方,则可以控制用于移动第一图标至第二图标的上方的控件不可操作;若第二图标位于一列图标的最下方,则可以控制用于移动第一图标至第二图标的下方的控件不可操作;若第二图标位于一行图标的最左方,则可以控制用于移动第一图标至第二图标的左方的控件不可操作;若第二图标位于一列图标的最右方,则可以控制用于移动第一图标至第二图标的右方的控件不可操作。如图13所示,若图标B处于最右侧,图标A将无法移动至图标的右侧,可以控制显示为“右”的控件灰显。Further, if the second icon is located at the top of a list of icons, the control used to move the first icon to the top of the second icon can be controlled to be inoperable; if the second icon is located at the bottom of the list of icons, it can be controlled to The control that moves the first icon to the bottom of the second icon is inoperable; if the second icon is located at the far left of a row of icons, you can control the control used to move the first icon to the left of the second icon to be inoperable; If the second icon is located at the far right of a column of icons, the control used to move the first icon to the right of the second icon can be controlled to be inoperable. As shown in Figure 13, if icon B is on the far right side, icon A cannot be moved to the right side of the icon, and the control displayed as "right" is grayed out.
在实际应用中,以图标为应用图标为例,在应用图标处于可编辑状态时,电子设备可以自动识别各应用图标的位置情况。用户按压第一图标移动,在用户停止按压第一图标时,若第一图标处于空白位置,则可以直接将第一图标放置在该空白位置,不触发图标编辑菜单。在用户停止按压第一图标时,若第一图标与第二图标的重叠面积大于预设值,则可以触发图标编辑菜单。在通过第一位置调整控件将所述第一图标移动至所述第二图标相邻的目标位置时,若所述第二图标相邻的目标位置不存在图标,则可以直接将第一图标放置在所述第二图标相邻的目标位置。例如,若点击图标编辑菜单中的位置调整控件“左”,而第二图标相邻的左方不存在图标,则可以将第一图标放置在第二图标的左方。若所述第二图标相邻的目标位置存在图标,则可以将第一图标插入第二图标和与第二图标相邻的目标位置显示的图标之间。In actual applications, taking the icon as an application icon as an example, when the application icon is in an editable state, the electronic device can automatically recognize the position of each application icon. The user presses the first icon to move. When the user stops pressing the first icon, if the first icon is in a blank position, the first icon can be directly placed in the blank position without triggering the icon editing menu. When the user stops pressing the first icon, if the overlapping area of the first icon and the second icon is greater than the preset value, the icon editing menu can be triggered. When the first icon is moved to the target position adjacent to the second icon through the first position adjustment control, if there is no icon in the target position adjacent to the second icon, the first icon can be directly placed At the target location adjacent to the second icon. For example, if you click the position adjustment control "Left" in the icon edit menu, and there is no icon on the adjacent left of the second icon, you can place the first icon on the left of the second icon. If there is an icon at the target position adjacent to the second icon, the first icon may be inserted between the second icon and the icon displayed at the target position adjacent to the second icon.
该实施方式中,通过位置调整控件可以实现对换图标位置、组合图标以及移动图标,能够实现图标快捷且高效的管理,用户体验较好。In this embodiment, the position adjustment control can be used to exchange icon positions, combine icons, and move icons, which can realize fast and efficient management of icons, and has a better user experience.
可选的,所述电子设备上显示有多个图标,所述多个图标包括所述第一图标和所述第二图标,所述接收针对第一图标和第二图标的第一操作,包括:Optionally, a plurality of icons are displayed on the electronic device, the plurality of icons include the first icon and the second icon, and the receiving of the first operation on the first icon and the second icon includes :
接收向所述第二图标所在的位置移动所述第一图标的操作;其中,在移动所述第一图标的过程中,保持所述多个图标中除所述第一图标以外的图标的位置不变。Receiving an operation of moving the first icon to the position where the second icon is located; wherein, in the process of moving the first icon, the positions of the icons other than the first icon among the plurality of icons are maintained constant.
其中,用户可以拖曳所述第一图标,使得所述第一图标向所述第二图标所在的位置移动。在移动所述第一图标的过程中,各图标互不干扰,可以每次只能移动一个图标,在所述第一图标移动时,第一图标的初始位置可以显示虚边框,并且继续占位,第一图标以外的图标的位置不变,第一图标可以悬浮于其他图标的上层。Wherein, the user can drag the first icon to make the first icon move to the position where the second icon is located. In the process of moving the first icon, the icons do not interfere with each other, and only one icon can be moved at a time. When the first icon moves, the initial position of the first icon can display a dashed frame and continue to occupy space , The position of icons other than the first icon remains unchanged, and the first icon can be suspended on top of other icons.
现有技术中,在调整图标位置的过程中,移动第一图标会影响到其他图标的位置,当移动第一图标经过其他图标上层时,其他图标会让出其上下左右的位置,在移动第一图标到达预期位置前可能经过数个图标区域,电子设备需要不断判断两个图标的位置关系,一直在消耗后台进程。本发明实施方式中,保持所述多个图标中所述第一图标以外的图标的位置不变,能够减小图标移动过程中后台进程的消耗。In the prior art, in the process of adjusting the position of the icon, moving the first icon will affect the positions of other icons. When the first icon is moved past the upper layer of other icons, the other icons will let out their up, down, left, and right positions. An icon may pass through several icon areas before reaching the expected position. The electronic device needs to continuously determine the positional relationship between the two icons, and it has been consuming background processes. In the embodiment of the present invention, keeping the positions of icons other than the first icon in the plurality of icons unchanged can reduce the consumption of background processes in the process of icon movement.
该实施方式中,在移动所述第一图标的过程中,保持所述多个图标中所述第一图标以外的图标的位置不变,这样,仅允许移动一个图标,在移动第一图标时其他图标保持静止状态,不受干扰,能够减小图标移动过程中后台进程的消耗,并且能够减小移动第一图标过程中的干扰。In this embodiment, during the process of moving the first icon, the positions of icons other than the first icon in the plurality of icons are kept unchanged, so that only one icon is allowed to be moved. When the first icon is moved The other icons remain static and undisturbed, which can reduce the consumption of the background process during the movement of the icon, and can reduce the interference in the process of moving the first icon.
可选的,所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整之后,所述方法还包括:Optionally, after the positions of the first icon and the second icon are adjusted corresponding to the first position adjustment control, the method further includes:
接收针对第二位置调整控件的第三操作,所述第二位置调整控件为所述至少一个位置调整控件中的控件;Receiving a third operation for a second position adjustment control, where the second position adjustment control is a control in the at least one position adjustment control;
响应于所述第三操作,撤销第一调整动作,并将所述第一图标和所述第二图标的位置进行与所述第二位置调整控件对应的调整,所述第一调整动作为所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整的动作。In response to the third operation, the first adjustment action is cancelled, and the positions of the first icon and the second icon are adjusted corresponding to the second position adjustment control, and the first adjustment action is The operation of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control is described.
其中,所述第三操作可以为单击所述第二位置调整控件的操作,或者可以为双击所述第二位置调整控件的操作,或者,还可以为长按所述第二位置调整控件的操作,等等,本发明实施例对所述第三操作不作具体限定。例如, 若第一位置调整控件为用于移动第一图标至第二图标的上方的控件,第二位置调整控件为用于对换图标位置的控件,在将第一图标至第二图标的上方后,若接收到第三操作,则可以撤销将第一图标至第二图标的上方,并将第一图标和第二图标的位置进行对换。Wherein, the third operation may be an operation of clicking the second position adjustment control, or may be an operation of double-clicking the second position adjustment control, or may also be an operation of long-pressing the second position adjustment control Operation, etc., the embodiment of the present invention does not specifically limit the third operation. For example, if the first position adjustment control is a control used to move the first icon to above the second icon, the second position adjustment control is a control used to swap the position of the icon, and when the first icon is moved above the second icon Later, if the third operation is received, the first icon can be cancelled to above the second icon, and the positions of the first icon and the second icon can be swapped.
需要说明的是,在将所述第一图标与所述第二图标的位置进行对换、在显示所述第二图标所在的位置删除所述第二图标,并显示组合标识,或将所述第一图标移动至所述第二图标相邻的目标位置之前,可将第二位置调整控件进行置灰显示,不可操作,即在未对第一图标与第二图标的位置进行调整前,不可撤销第一位置调整控件对应的调整。It should be noted that the positions of the first icon and the second icon are swapped, the second icon is deleted at the position where the second icon is displayed, and the combination logo is displayed, or the Before the first icon is moved to the target position adjacent to the second icon, the second position adjustment control can be grayed out and cannot be operated. That is, the position of the first icon and the second icon cannot be adjusted. Undo the adjustment corresponding to the first position adjustment control.
该实施方式中,通过操作不同的位置调整控件,能够撤销图标的位置调整操作,并实现图标位置的调整跟随位置调整控件的操作,用户体验较好。In this embodiment, by operating different position adjustment controls, the position adjustment operation of the icon can be cancelled, and the adjustment of the icon position follows the operation of the position adjustment control, and the user experience is better.
可选的,所述接收针对第一图标和第二图标的第一操作,包括:Optionally, the receiving the first operation on the first icon and the second icon includes:
接收用户按压所述第一图标向所述第二图标所在的位置移动的操作;Receiving an operation of the user pressing the first icon to move to the position where the second icon is located;
所述显示图标编辑菜单,包括:The display icon editing menu includes:
在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,若用户停止按压所述第一图标,则显示所述图标编辑菜单。In the case that the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed.
其中,所述预设值可以为10%,20%或者30%等等。第一图标在移动过程中,电子设备可以将第一图标的位置与其他图标的位置进行比对。在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,可以在第二图标上显示重叠标识,用于表示所述第一图标与所述第二图标可以发生位置调整关系,例如,所述重叠标识可以为带颜色的描边。Wherein, the preset value may be 10%, 20%, 30%, and so on. During the movement of the first icon, the electronic device may compare the position of the first icon with the positions of other icons. In the case where the overlap area of the first icon and the second icon is greater than the preset value, an overlap mark may be displayed on the second icon to indicate where the first icon and the second icon can occur Adjust the relationship. For example, the overlap mark may be a colored stroke.
该实施方式中,在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,若用户停止按压所述第一图标,则显示所述图标编辑菜单,这样,能够准确地确定第二图标,进一步避免误操作,提高图标位置调整的准确率。In this embodiment, when the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed, so that it can be accurate The second icon is determined accurately to further avoid misoperation and improve the accuracy of icon position adjustment.
参见图14,图14是本发明实施例提供的一种电子设备的结构示意图之一,如图14所示,电子设备200包括:Referring to FIG. 14, FIG. 14 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present invention. As shown in FIG. 14, the electronic device 200 includes:
第一接收模块201,用于接收针对第一图标和第二图标的第一操作;The first receiving module 201 is configured to receive a first operation on the first icon and the second icon;
显示模块202,用于响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;The display module 202 is configured to display an icon editing menu in response to the first operation, and the icon editing menu is provided with at least one position adjustment control;
第二接收模块203,用于接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;The second receiving module 203 is configured to receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
第一调整模块204,用于响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。The first adjustment module 204 is configured to adjust the positions of the first icon and the second icon corresponding to the first position adjustment control in response to the second operation.
可选的,所述第一调整模块204具体用于如下任一项:Optionally, the first adjustment module 204 is specifically used for any one of the following:
在所述第一位置调整控件为用于对换图标位置的控件的情况下,将所述第一图标与所述第二图标的位置进行对换;In a case where the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
在所述第一位置调整控件为用于组合图标的控件的情况下,在显示所述第二图标所在的位置删除所述第二图标,并显示组合标识,其中,所述组合标识对应的区域内显示有所述第一图标和所述第二图标;In the case that the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
在所述第一位置调整控件为用于移动图标的控件的情况下,将所述第一图标移动至所述第二图标相邻的目标位置,所述目标位置基于所述第一位置调整控件确定。In the case that the first position adjustment control is a control for moving an icon, the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
可选的,所述电子设备上显示有多个图标,所述多个图标包括所述第一图标和所述第二图标,所述第一接收模块201具体用于:Optionally, multiple icons are displayed on the electronic device, the multiple icons include the first icon and the second icon, and the first receiving module 201 is specifically configured to:
接收向所述第二图标所在的位置移动所述第一图标的操作;其中,在移动所述第一图标的过程中,保持所述多个图标中除所述第一图标以外的图标的位置不变。Receiving an operation of moving the first icon to the position where the second icon is located; wherein, in the process of moving the first icon, the positions of the icons other than the first icon among the plurality of icons are maintained constant.
可选的,如图15所示,所述电子设备200还包括:Optionally, as shown in FIG. 15, the electronic device 200 further includes:
第三接收模块205,用于接收针对第二位置调整控件的第三操作,所述第二位置调整控件为所述至少一个位置调整控件中的控件;The third receiving module 205 is configured to receive a third operation for a second position adjustment control, where the second position adjustment control is a control in the at least one position adjustment control;
第二调整模块206,用于响应于所述第三操作,撤销第一调整动作,并将所述第一图标和所述第二图标的位置进行与所述第二位置调整控件对应的调整,所述第一调整动作为所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整的动作。The second adjustment module 206 is configured to cancel the first adjustment action in response to the third operation, and adjust the positions of the first icon and the second icon corresponding to the second position adjustment control, The first adjustment action is an action of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control.
可选的,所述第一接收模块201具体用于:Optionally, the first receiving module 201 is specifically configured to:
接收用户按压所述第一图标向所述第二图标所在的位置移动的操作;Receiving an operation of the user pressing the first icon to move to the position where the second icon is located;
所述显示模块202具体用于:The display module 202 is specifically used for:
响应于所述第一操作,在所述第一图标与所述第二图标的重叠面积大于 预设值的情况下,若用户停止按压所述第一图标,则显示所述图标编辑菜单。In response to the first operation, in a case where the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed.
电子设备能够实现图1的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device can implement each process implemented by the electronic device in the method embodiment in FIG.
图16为实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 16 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
该电子设备300包括但不限于:射频单元301、网络模块302、音频输出单元303、输入单元304、传感器305、显示单元306、用户输入单元307、接口单元308、存储器309、处理器310、以及电源311等部件。本领域技术人员可以理解,图16中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、机器人、可穿戴设备、以及计步器等。The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and Power supply 311 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 16 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, robots, wearable devices, and pedometers.
其中,用户输入单元307用于:接收针对第一图标和第二图标的第一操作;Wherein, the user input unit 307 is configured to: receive a first operation on the first icon and the second icon;
显示单元306用于:响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;The display unit 306 is configured to: in response to the first operation, display an icon editing menu, the icon editing menu is provided with at least one position adjustment control;
用户输入单元307还用于:接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;The user input unit 307 is further configured to: receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
处理器310用于:响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。The processor 310 is configured to: in response to the second operation, adjust the positions of the first icon and the second icon corresponding to the first position adjustment control.
本发明实施例中,接收针对第一图标和第二图标的第一操作;响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。这样,通过图标编辑菜单上设置的位置调整控件对图标的位置进行调整,能够提高图标位置调整的准确率。In the embodiment of the present invention, the first operation for the first icon and the second icon is received; in response to the first operation, the icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control; A second operation of the position adjustment control, the first position adjustment control is a control in the at least one position adjustment control; in response to the second operation, the positions of the first icon and the second icon are performed The adjustment corresponding to the first position adjustment control. In this way, by adjusting the position of the icon through the position adjustment control set on the icon editing menu, the accuracy of the position adjustment of the icon can be improved.
可选的,处理器310还用于如下任一项:Optionally, the processor 310 is further used for any of the following:
在所述第一位置调整控件为用于对换图标位置的控件的情况下,将所述第一图标与所述第二图标的位置进行对换;In a case where the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
在所述第一位置调整控件为用于组合图标的控件的情况下,在显示所述第二图标所在的位置删除所述第二图标,并显示组合标识,其中,所述组合标识对应的区域内显示有所述第一图标和所述第二图标;In the case that the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
在所述第一位置调整控件为用于移动图标的控件的情况下,将所述第一图标移动至所述第二图标相邻的目标位置,所述目标位置基于所述第一位置调整控件确定。In the case that the first position adjustment control is a control for moving an icon, the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
可选的,所述电子设备上显示有多个图标,所述多个图标包括所述第一图标和所述第二图标,用户输入单元307还用于:Optionally, multiple icons are displayed on the electronic device, and the multiple icons include the first icon and the second icon, and the user input unit 307 is further configured to:
接收向所述第二图标所在的位置移动所述第一图标的操作;其中,在移动所述第一图标的过程中,保持所述多个图标中除所述第一图标以外的图标的位置不变。Receiving an operation of moving the first icon to the position where the second icon is located; wherein, in the process of moving the first icon, the positions of the icons other than the first icon among the plurality of icons are maintained constant.
可选的,用户输入单元307还用于:接收针对第二位置调整控件的第三操作,所述第二位置调整控件为所述至少一个位置调整控件中的控件;Optionally, the user input unit 307 is further configured to: receive a third operation for a second position adjustment control, the second position adjustment control being a control in the at least one position adjustment control;
处理器310还用于:响应于所述第三操作,撤销第一调整动作,并将所述第一图标和所述第二图标的位置进行与所述第二位置调整控件对应的调整,所述第一调整动作为所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整的动作。The processor 310 is further configured to: in response to the third operation, cancel the first adjustment action, and adjust the positions of the first icon and the second icon corresponding to the second position adjustment control, so The first adjustment action is an action of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control.
可选的,用户输入单元307还用于:Optionally, the user input unit 307 is also used to:
接收用户按压所述第一图标向所述第二图标所在的位置移动的操作;Receiving an operation of the user pressing the first icon to move to the position where the second icon is located;
显示单元306还用于:The display unit 306 is also used for:
在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,若用户停止按压所述第一图标,则显示所述图标编辑菜单。In the case that the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed.
应理解的是,本发明实施例中,射频单元301可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器310处理;另外,将上行的数据发送给基站。通常,射频单元301包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元301还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 310; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块302为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元303可以将射频单元301或网络模块302接收的或者在存储器309中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元303还可以提供与电子设备300执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元303包括扬声器、蜂鸣器以及受话器等。The audio output unit 303 may convert the audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output it as sound. Moreover, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic device 300 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
输入单元304用于接收音频或视频信号。输入单元304可以包括图形处理器(Graphics Processing Unit,GPU)3041和麦克风3042,图形处理器3041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元306上。经图形处理器3041处理后的图像帧可以存储在存储器309(或其它存储介质)中或者经由射频单元301或网络模块302进行发送。麦克风3042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元301发送到移动通信基站的格式输出。The input unit 304 is used to receive audio or video signals. The input unit 304 may include a graphics processing unit (GPU) 3041 and a microphone 3042. The graphics processor 3041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed. The processed image frame may be displayed on the display unit 306. The image frame processed by the graphics processor 3041 may be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302. The microphone 3042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 301 in the case of a telephone call mode for output.
电子设备300还包括至少一种传感器305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板3061的亮度,接近传感器可在电子设备300移动到耳边时,关闭显示面板3061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器305还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light. The proximity sensor can close the display panel 3061 and the display panel 3061 when the electronic device 300 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 305 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元306用于显示由用户输入的信息或提供给用户的信息。显示单元306可包括显示面板3061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板3061。The display unit 306 is used to display information input by the user or information provided to the user. The display unit 306 may include a display panel 3061, and the display panel 3061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元307可用于接收输入的数字或字符信息,以及产生与电子 设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元307包括触控面板3071以及其他输入设备3072。触控面板3071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板3071上或在触控面板3071附近的操作)。触控面板3071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器310,接收处理器310发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板3071。除了触控面板3071,用户输入单元307还可以包括其他输入设备3072。具体地,其他输入设备3072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 307 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 3071 or near the touch panel 3071. operate). The touch panel 3071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 310, the command sent by the processor 310 is received and executed. In addition, the touch panel 3071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 3071, the user input unit 307 may also include other input devices 3072. Specifically, other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板3071可覆盖在显示面板3061上,当触控面板3071检测到在其上或附近的触摸操作后,传送给处理器310以确定触摸事件的类型,随后处理器310根据触摸事件的类型在显示面板3061上提供相应的视觉输出。虽然在图16中,触控面板3071与显示面板3061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板3071与显示面板3061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 3071 can be overlaid on the display panel 3061. When the touch panel 3071 detects a touch operation on or near it, it transmits it to the processor 310 to determine the type of touch event, and then the processor 310 determines the type of touch event according to the touch The type of event provides corresponding visual output on the display panel 3061. Although in FIG. 16, the touch panel 3071 and the display panel 3061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元308为外部装置与电子设备300连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元308可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备300内的一个或多个元件或者可以用于在电子设备300和外部装置之间传输数据。The interface unit 308 is an interface for connecting an external device and the electronic device 300. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 308 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 300 or can be used to connect the electronic device 300 to an external device. Transfer data between devices.
存储器309可用于存储软件程序以及各种数据。存储器309可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区 可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器309可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 309 can be used to store software programs and various data. The memory 309 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 309 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器310是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器309内的软件程序和/或模块,以及调用存储在存储器309内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器310可包括一个或多个处理单元;优选的,处理器310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器310中。The processor 310 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 309, and calls the data stored in the memory 309 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 310.
电子设备300还可以包括给各个部件供电的电源311(比如电池),优选的,电源311可以通过电源管理系统与处理器310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 300 may also include a power source 311 (such as a battery) for supplying power to various components. Preferably, the power source 311 may be logically connected to the processor 310 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备300包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 300 includes some functional modules not shown, which will not be repeated here.
本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序,该程序被处理器执行时实现上述图标位置调整方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention also provides an electronic device, including a processor, a memory, and a program stored on the memory and running on the processor. When the program is executed by the processor, the above-mentioned icon position adjustment method in the embodiment is implemented. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图标位置调整方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. In order to avoid repetition, I won’t repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
本发明实施例还提供了一种计算机程序产品,其中,所述程序产品被至少一个处理器执行以实现上述图标位置调整方法中的步骤。The embodiment of the present invention also provides a computer program product, wherein the program product is executed by at least one processor to implement the steps in the aforementioned method for adjusting the position of the icon.
本发明实施例还提供了一种图标位置调整装置,其中,所述装置被配置成用于执行上述图标位置调整方法中的步骤。An embodiment of the present invention also provides an icon position adjustment device, wherein the device is configured to execute the steps in the icon position adjustment method described above.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者 装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (14)

  1. 一种图标位置调整方法,应用于电子设备,包括:A method for adjusting the position of an icon, applied to an electronic device, includes:
    接收针对第一图标和第二图标的第一操作;Receiving the first operation on the first icon and the second icon;
    响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;In response to the first operation, an icon editing menu is displayed, and the icon editing menu is provided with at least one position adjustment control;
    接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;Receiving a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
    响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。In response to the second operation, the positions of the first icon and the second icon are adjusted corresponding to the first position adjustment control.
  2. 根据权利要求1所述的方法,其中,所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整,包括如下任一项:The method according to claim 1, wherein the adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control comprises any one of the following:
    在所述第一位置调整控件为用于对换图标位置的控件的情况下,将所述第一图标与所述第二图标的位置进行对换;In a case where the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
    在所述第一位置调整控件为用于组合图标的控件的情况下,在显示所述第二图标所在的位置删除所述第二图标,并显示组合标识,其中,所述组合标识对应的区域内显示有所述第一图标和所述第二图标;In the case that the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
    在所述第一位置调整控件为用于移动图标的控件的情况下,将所述第一图标移动至所述第二图标相邻的目标位置,所述目标位置基于所述第一位置调整控件确定。In the case that the first position adjustment control is a control for moving an icon, the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
  3. 根据权利要求1所述的方法,其中,所述电子设备上显示有多个图标,所述多个图标包括所述第一图标和所述第二图标,所述接收针对第一图标和第二图标的第一操作,包括:The method according to claim 1, wherein a plurality of icons are displayed on the electronic device, the plurality of icons include the first icon and the second icon, and the receiving is directed to the first icon and the second icon. The first operation of the icon includes:
    接收向所述第二图标所在的位置移动所述第一图标的操作;其中,在移动所述第一图标的过程中,保持所述多个图标中除所述第一图标以外的图标的位置不变。Receiving an operation of moving the first icon to the position where the second icon is located; wherein, in the process of moving the first icon, the positions of the icons other than the first icon among the plurality of icons are maintained constant.
  4. 根据权利要求1所述的方法,其中,所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整之后,所述方法还包括:The method according to claim 1, wherein after the adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control, the method further comprises:
    接收针对第二位置调整控件的第三操作,所述第二位置调整控件为所述 至少一个位置调整控件中的控件;Receiving a third operation for a second position adjustment control, where the second position adjustment control is a control in the at least one position adjustment control;
    响应于所述第三操作,撤销第一调整动作,并将所述第一图标和所述第二图标的位置进行与所述第二位置调整控件对应的调整,所述第一调整动作为所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整的动作。In response to the third operation, the first adjustment action is cancelled, and the positions of the first icon and the second icon are adjusted corresponding to the second position adjustment control, and the first adjustment action is The operation of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control is described.
  5. 根据权利要求1所述的方法,其中,所述接收针对第一图标和第二图标的第一操作,包括:The method according to claim 1, wherein the receiving the first operation for the first icon and the second icon comprises:
    接收用户按压所述第一图标向所述第二图标所在的位置移动的操作;Receiving an operation of the user pressing the first icon to move to the position where the second icon is located;
    所述显示图标编辑菜单,包括:The display icon editing menu includes:
    在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,若用户停止按压所述第一图标,则显示所述图标编辑菜单。In the case that the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed.
  6. 一种电子设备,包括:An electronic device including:
    第一接收模块,用于接收针对第一图标和第二图标的第一操作;The first receiving module is configured to receive a first operation on the first icon and the second icon;
    显示模块,用于响应于所述第一操作,显示图标编辑菜单,所述图标编辑菜单设置有至少一个位置调整控件;A display module, configured to display an icon editing menu in response to the first operation, and the icon editing menu is provided with at least one position adjustment control;
    第二接收模块,用于接收针对第一位置调整控件的第二操作,所述第一位置调整控件为所述至少一个位置调整控件中的控件;A second receiving module, configured to receive a second operation for a first position adjustment control, where the first position adjustment control is a control in the at least one position adjustment control;
    第一调整模块,用于响应于所述第二操作,将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整。The first adjustment module is configured to adjust the positions of the first icon and the second icon corresponding to the first position adjustment control in response to the second operation.
  7. 根据权利要求6所述的电子设备,其中,所述第一调整模块具体用于如下任一项:The electronic device according to claim 6, wherein the first adjustment module is specifically used for any one of the following:
    在所述第一位置调整控件为用于对换图标位置的控件的情况下,将所述第一图标与所述第二图标的位置进行对换;In a case where the first position adjustment control is a control for swapping the positions of icons, swapping the positions of the first icon and the second icon;
    在所述第一位置调整控件为用于组合图标的控件的情况下,在显示所述第二图标所在的位置删除所述第二图标,并显示组合标识,其中,所述组合标识对应的区域内显示有所述第一图标和所述第二图标;In the case that the first position adjustment control is a control for combining icons, delete the second icon at the position where the second icon is displayed, and display a combination identifier, wherein the area corresponding to the combination identifier The first icon and the second icon are displayed inside;
    在所述第一位置调整控件为用于移动图标的控件的情况下,将所述第一图标移动至所述第二图标相邻的目标位置,所述目标位置基于所述第一位置调整控件确定。In the case that the first position adjustment control is a control for moving an icon, the first icon is moved to a target position adjacent to the second icon, and the target position is based on the first position adjustment control Sure.
  8. 根据权利要求6所述的电子设备,其中,所述电子设备上显示有多个图标,所述多个图标包括所述第一图标和所述第二图标,所述第一接收模块具体用于:The electronic device according to claim 6, wherein a plurality of icons are displayed on the electronic device, the plurality of icons include the first icon and the second icon, and the first receiving module is specifically configured to :
    接收向所述第二图标所在的位置移动所述第一图标的操作;其中,在移动所述第一图标的过程中,保持所述多个图标中除所述第一图标以外的图标的位置不变。Receiving an operation of moving the first icon to the position where the second icon is located; wherein, in the process of moving the first icon, the positions of the icons other than the first icon among the plurality of icons are maintained constant.
  9. 根据权利要求6所述的电子设备,还包括:The electronic device according to claim 6, further comprising:
    第三接收模块,用于接收针对第二位置调整控件的第三操作,所述第二位置调整控件为所述至少一个位置调整控件中的控件;A third receiving module, configured to receive a third operation for a second position adjustment control, where the second position adjustment control is a control in the at least one position adjustment control;
    第二调整模块,用于响应于所述第三操作,撤销第一调整动作,并将所述第一图标和所述第二图标的位置进行与所述第二位置调整控件对应的调整,所述第一调整动作为所述将所述第一图标和所述第二图标的位置进行与所述第一位置调整控件对应的调整的动作。The second adjustment module is configured to cancel the first adjustment action in response to the third operation, and adjust the positions of the first icon and the second icon corresponding to the second position adjustment control, so The first adjustment action is an action of adjusting the positions of the first icon and the second icon corresponding to the first position adjustment control.
  10. 根据权利要求6所述的电子设备,其中,所述第一接收模块具体用于:The electronic device according to claim 6, wherein the first receiving module is specifically configured to:
    接收用户按压所述第一图标向所述第二图标所在的位置移动的操作;Receiving an operation of the user pressing the first icon to move to the position where the second icon is located;
    所述显示模块具体用于:The display module is specifically used for:
    响应于所述第一操作,在所述第一图标与所述第二图标的重叠面积大于预设值的情况下,若用户停止按压所述第一图标,则显示所述图标编辑菜单。In response to the first operation, in a case where the overlapping area of the first icon and the second icon is greater than a preset value, if the user stops pressing the first icon, the icon editing menu is displayed.
  11. 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至5中任一项所述的图标位置调整方法中的步骤。An electronic device, comprising: a memory, a processor, and a program stored on the memory and capable of running on the processor, and the program is executed by the processor to implement any one of claims 1 to 5 The steps in the method for adjusting the position of the icon described in the item.
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-5任一项所述图标位置调整方法中的步骤。A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in the icon position adjustment method according to any one of claims 1 to 5 when the computer program is executed by a processor.
  13. 一种计算机程序产品,其中,所述程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述图标位置调整方法中的步骤。A computer program product, wherein the program product is executed by at least one processor to implement the steps in the icon position adjustment method according to any one of claims 1-5.
  14. 一种电子设备,其中,所述电子设备被配置成用于执行如权利要求1-5任一项所述图标位置调整方法中的步骤。An electronic device, wherein the electronic device is configured to execute the steps in the icon position adjustment method according to any one of claims 1-5.
PCT/CN2021/079655 2020-03-16 2021-03-09 Icon position adjustment method and electronic device WO2021185116A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010181477.XA CN111399716A (en) 2020-03-16 2020-03-16 Icon position adjusting method and electronic equipment
CN202010181477.X 2020-03-16

Publications (1)

Publication Number Publication Date
WO2021185116A1 true WO2021185116A1 (en) 2021-09-23

Family

ID=71436332

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/079655 WO2021185116A1 (en) 2020-03-16 2021-03-09 Icon position adjustment method and electronic device

Country Status (2)

Country Link
CN (1) CN111399716A (en)
WO (1) WO2021185116A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399716A (en) * 2020-03-16 2020-07-10 维沃移动通信有限公司 Icon position adjusting method and electronic equipment
CN112148168B (en) * 2020-09-29 2022-07-08 维沃移动通信有限公司 Icon moving method and device and electronic equipment
CN112466069A (en) * 2020-12-02 2021-03-09 无锡朝阳供应链科技股份有限公司 Method for setting commodity panel of cash register and weighing integrated machine
CN113535019A (en) * 2021-07-14 2021-10-22 Vidaa美国公司 Display device and display method of application icons
CN113535027A (en) * 2021-07-29 2021-10-22 维沃移动通信有限公司 Icon control method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110225549A1 (en) * 2010-03-12 2011-09-15 Nari Kim Content controlapparatus and method thereof
CN104238877A (en) * 2014-09-04 2014-12-24 华为技术有限公司 Icon control method and terminal
CN106155472A (en) * 2015-04-28 2016-11-23 东莞酷派软件技术有限公司 A kind of operation application drawing calibration method, device and mobile terminal
CN109189286A (en) * 2018-08-23 2019-01-11 维沃移动通信有限公司 A kind of operating method and terminal of desktop application
CN111399716A (en) * 2020-03-16 2020-07-10 维沃移动通信有限公司 Icon position adjusting method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126040B (en) * 2016-06-30 2020-06-16 北京安云世纪科技有限公司 Batch processing method and device of icons and mobile terminal
CN106775782A (en) * 2017-02-17 2017-05-31 广东小天才科技有限公司 Application icon moving method and device
CN106873856B (en) * 2017-02-17 2020-01-03 广东小天才科技有限公司 Application icon classification method and device
CN108491125B (en) * 2018-03-12 2021-05-25 维沃移动通信有限公司 Operation control method of application store and mobile terminal
CN108595070B (en) * 2018-03-30 2020-06-30 维沃移动通信有限公司 Icon display control method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110225549A1 (en) * 2010-03-12 2011-09-15 Nari Kim Content controlapparatus and method thereof
CN104238877A (en) * 2014-09-04 2014-12-24 华为技术有限公司 Icon control method and terminal
CN106155472A (en) * 2015-04-28 2016-11-23 东莞酷派软件技术有限公司 A kind of operation application drawing calibration method, device and mobile terminal
CN109189286A (en) * 2018-08-23 2019-01-11 维沃移动通信有限公司 A kind of operating method and terminal of desktop application
CN111399716A (en) * 2020-03-16 2020-07-10 维沃移动通信有限公司 Icon position adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN111399716A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
EP4047940A1 (en) Screencast control method and electronic device
WO2021185116A1 (en) Icon position adjustment method and electronic device
WO2020181942A1 (en) Icon control method and terminal device
WO2021115373A1 (en) Application icon position adjusting method and electronic device
US20220300302A1 (en) Application sharing method and electronic device
WO2020151519A1 (en) Information input method, terminal device, and computer-readable storage medium
WO2021082716A1 (en) Information processing method and electronic device
WO2020238497A1 (en) Icon moving method and terminal device
US11354017B2 (en) Display method and mobile terminal
WO2021004426A1 (en) Content selection method, and terminal
WO2021129536A1 (en) Icon moving method and electronic device
WO2021104163A1 (en) Icon arrangement method and electronic device
WO2021004327A1 (en) Method for setting application permission, and terminal device
WO2021012908A1 (en) Message sending method and mobile terminal
WO2020199988A1 (en) Content copying method and terminal
WO2021036553A1 (en) Icon display method and electronic device
WO2021083112A1 (en) Information sharing method and electronic device
WO2020199783A1 (en) Interface display method and terminal device
WO2021063292A1 (en) Display control method and electronic device
WO2020215969A1 (en) Content input method and terminal device
CN108446156B (en) Application program control method and terminal
WO2021088706A1 (en) Method for controlling application program and electronic device
WO2021238719A1 (en) Information display method and electronic device
WO2021238788A1 (en) Icon arrangement method, electronic device, and storage medium
WO2021057301A1 (en) File control method and electronic device

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: 21770820

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21770820

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21770820

Country of ref document: EP

Kind code of ref document: A1