CN110968243A - Object arrangement method and electronic equipment - Google Patents

Object arrangement method and electronic equipment Download PDF

Info

Publication number
CN110968243A
CN110968243A CN201911201914.3A CN201911201914A CN110968243A CN 110968243 A CN110968243 A CN 110968243A CN 201911201914 A CN201911201914 A CN 201911201914A CN 110968243 A CN110968243 A CN 110968243A
Authority
CN
China
Prior art keywords
input
target
icon
connecting line
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911201914.3A
Other languages
Chinese (zh)
Inventor
周家兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911201914.3A priority Critical patent/CN110968243A/en
Publication of CN110968243A publication Critical patent/CN110968243A/en
Pending legal-status Critical Current

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses an object arrangement method and electronic equipment. The object arrangement method comprises the following steps: receiving a first input of a user; responding to the first input, displaying a target connecting line, wherein a first end of the target connecting line is connected with a first target object, and a second end of the target connecting line is connected with a second target object; receiving a second input of the user; in response to the second input, the first target object is moved to a target position associated with the second target object. The embodiment of the invention can solve the problem of lower accuracy of object movement in the prior art.

Description

Object arrangement method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an object arrangement method and electronic equipment.
Background
In order to keep the display interface beautiful and neat, a user needs to regularly sort objects displayed within the display interface.
When a user sorts objects displayed in a display interface by using an existing method, each object to be sorted needs to be dragged to a desired display position. Under the condition that a plurality of objects are displayed in the display interface, the objects needing to be sorted are often dragged to the wrong display positions, so that the accuracy of object movement is low.
Disclosure of Invention
The embodiment of the invention provides an object arrangement method and electronic equipment, and aims to solve the problem that the accuracy of object movement is low in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an object arrangement method, which is applied to an electronic device, and includes:
receiving a first input of a user;
responding to the first input, displaying a target connecting line, wherein a first end of the target connecting line is connected with a first target object, and a second end of the target connecting line is connected with a second target object;
receiving a second input of the user;
in response to the second input, the first target object is moved to a target position associated with the second target object.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the first input receiving module is used for receiving a first input of a user;
the target connecting line display module is used for responding to the first input and displaying a target connecting line, wherein a first end of the target connecting line is connected with a first target object, and a second end of the target connecting line is connected with a second target object;
the second input receiving module is used for receiving a second input of the user;
and the target object moving module is used for responding to the second input and moving the first target object to the target position associated with the second target object.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the object arrangement method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the object arrangement method according to the first aspect.
In an embodiment of the invention, the electronic device is capable of, after receiving the first input by the user, in response to the first input by the user, displaying a target connecting line between the first target object and the second target object, enabling a first end of the target connecting line to be connected with the first target object and a second end of the target connecting line to be connected with the second target object, thereby, the user can determine the object to be moved and the position to which the object is to be moved through the target connecting line, the object arrangement process is visualized, the user can perform the second input after determining that the selected object and the position are correct according to the target connecting line, causing the electronic device to move the first target object to a target location associated with the second target object in response to the second input after receiving the second input by the user, therefore, the accuracy of object movement is improved, the operation is more convenient and fast, and the object sorting efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of an object arrangement method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an icon moving operation according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating the effect of object movement in the embodiment of FIG. 2;
FIG. 4 is a diagram illustrating a target link cancellation operation according to the embodiment shown in FIG. 2;
FIG. 5 is a diagram illustrating the operation of deselecting an icon in the embodiment of FIG. 4;
fig. 6 is a second schematic diagram illustrating an icon moving operation according to the embodiment of the present invention;
fig. 7 is a third schematic diagram illustrating an icon moving operation according to an embodiment of the present invention;
FIG. 8 is a diagram of the effect of object movement of the embodiment shown in FIG. 7;
FIG. 9 is a fourth schematic diagram illustrating an icon moving operation according to an embodiment of the present invention;
FIG. 10 is a diagram of the effect of object movement of the embodiment shown in FIG. 9;
FIG. 11 is a fifth diagram illustrating an icon moving operation according to an embodiment of the present invention;
FIG. 12 is a diagram of the effect of object movement of the embodiment shown in FIG. 11;
FIG. 13 is a sixth schematic view illustrating an icon frame selection operation according to an embodiment of the present invention;
FIG. 14 is a diagram illustrating an operation of increasing the frame selection range according to the embodiment shown in FIG. 13;
FIG. 15 is a diagram illustrating one example of an icon moving operation of the embodiment shown in FIG. 13;
FIG. 16 is a diagram illustrating a unchecked operation of the embodiment of FIG. 13;
FIG. 17 is a diagram illustrating another example of an icon moving operation of the embodiment shown in FIG. 13;
FIG. 18 is a diagram of the effect of object movement of the embodiment shown in FIG. 17;
FIG. 19 is a schematic diagram of yet another example of an icon moving operation of the embodiment shown in FIG. 13;
FIG. 20 is a diagram of the effect of object movement of the embodiment shown in FIG. 19;
FIG. 21 is a seventh illustration of a state retraction operation in accordance with an embodiment of the present invention;
FIG. 22 is an eighth schematic diagram illustrating a display interface switching operation according to an embodiment of the present invention;
fig. 23 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 24 is a schematic hardware configuration diagram of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem of the prior art, embodiments of the present invention provide an object arrangement method, an electronic device, and a medium. The following first introduces an object arrangement method provided by an embodiment of the present invention.
Fig. 1 shows a schematic flow chart of an object arrangement method provided in an embodiment of the present invention. The object arrangement method shown in fig. 1 may be executed by an electronic device, which includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
As shown in fig. 1, the object arrangement method may include:
step 110, receiving a first input of a user;
step 120, responding to the first input, displaying a target connecting line, wherein a first end of the target connecting line is connected with a first target object, and a second end of the target connecting line is connected with a second target object;
step 130, receiving a second input of the user;
step 140, in response to the second input, moving the first target object to the target position associated with the second target object.
In an embodiment of the invention, the electronic device is capable of, after receiving the first input by the user, in response to the first input by the user, displaying a target connecting line between the first target object and the second target object, enabling a first end of the target connecting line to be connected with the first target object and a second end of the target connecting line to be connected with the second target object, thereby, the user can determine the object to be moved and the position to which the object is to be moved through the target connecting line, the object arrangement process is visualized, the user can perform the second input after determining that the selected object and the position are correct according to the target connecting line, causing the electronic device to move the first target object to a target location associated with the second target object in response to the second input after receiving the second input by the user, therefore, the accuracy of object movement is improved, the operation is more convenient and fast, and the object sorting efficiency is improved.
In the embodiment of the present invention, the sorted objects may be icons, images, preview windows, and the like displayed in the display interface. The preview window can be a preview window of an image, a video and an application interface.
In the embodiment of the present invention, the user may first input an object sorting trigger input to enable the electronic device to enter an object sorting mode, and then perform the object sorting process in steps 110 to 140.
The object arrangement method according to the embodiment of the present invention will be described in detail below by taking the arranged objects as icons.
In some embodiments of the present invention, the first target object and the second target object may be two objects selected in advance, the first target object may be an icon, and the second target object may be an icon or a free position between two adjacent icons.
Alternatively, the first input received in step 110 may be an input to an arbitrary position between the first target object and the second target object, and specifically, the first input may be a click input, a long press input, a double click input, or the like to an arbitrary position between the first target object and the second target object.
Optionally, in step 120, the electronic device may display a target link between the pre-selected first target object and the second target object in response to an input of an arbitrary position between the first target object and the second target object.
Alternatively, the second input received in step 130 may be a trigger input for triggering the first target object to move, for example, a click input to a trigger object move button, or the like.
Optionally, in step 140, the electronic device may move the first target object to a target location associated with the second target object in response to a trigger input for triggering movement of the first target object.
In the case where the second target object is an icon, the first target object may be directly moved to the display position of the icon. In the case where the second target object is an idle position between two adjacent icons, the first target object may be moved to a display position adjacent to the idle position, for example, a display position on the right side of the idle position in the width direction of the display interface.
In other embodiments of the present invention, the first target object and the second target object may be identified in the object selected by the first input.
Fig. 2 is a schematic diagram illustrating an icon moving operation according to an embodiment of the present invention.
In the embodiment shown in FIG. 2, the first input received in step 110 may include at least two first sub-inputs to the at least two objects, such that the at least two objects that are selected are in a selected state.
The first sub-input may be a selection input, the selection input may be a click input, a long-press input, or a double-click input, and the first sub-input may constitute a sequential selection input at least two times.
With continued reference to fig. 2, the first sub-input may be a click input, and in the process of selecting at least two icons through the sequential selection input, the icon J clicked for the first time may be lit at a first brightness value to represent that the icon J is a start icon, and the icon E clicked for the second time, the icon B clicked for the third time, and the icon G clicked for the fourth time may be lit at a second brightness value to represent that the icon E, the icon B, and the icon G are icons that need to be moved. The icon is lighted to indicate that the icon is in a selected state, and the first brightness value can be higher than the second brightness value so as to distinguish the starting icon.
In some embodiments of the present invention, the specific method of step 120 may include:
responding to at least two times of first sub-input, taking a previously selected object of every two successively and continuously selected objects as a first target object, and taking a later selected object of every two successively and continuously selected objects as a second target object;
and respectively displaying a target connecting line between every two successively and continuously selected objects.
Specifically, in the process of selecting at least two icons by the sequential selection input, starting from a second selected icon, in the case of each selection of a new icon, a last selected icon before the newly selected icon is taken as a first target object, the newly selected icon is taken as a second target object, and a target link line is displayed between the last selected icon before the newly selected icon and the newly selected icon.
Continuing with FIG. 2, taking the newly selected icon as icon E as an example, since the icon J is selected before the icon E, the icon J is taken as a first target object, the icon E is taken as a second target object, and a target connecting line 201 is displayed between the icon J and the icon E. Similarly, when the user selects icon B, a target link 202 is displayed between icon B and icon E, and when the user selects icon G, a target link 203 is displayed between icon G and icon B.
Because the target connecting line is respectively displayed between every two successively and continuously selected objects, the object arrangement process is visualized, the object selection accuracy is improved, and the object movement accuracy is improved.
It should be noted that, in some embodiments of the present invention, the target link may be a directional link, such as an arrow, where a starting end of the directional link is a first end of the target link, and a terminating end of the directional link is a second end of the target link. As shown in fig. 2, the first clicked icon J is the start end of the arrow, i.e. the first end of the target link 201, and the second clicked icon E is the end of the arrow, i.e. the second end of the target link 201, so that the user can know the moving direction of the icon more intuitively. In other embodiments of the present invention, the target connection line may also be a straight line, so that the display interface is simpler.
In these embodiments, the second input received in step 130 may optionally be an input to the first object, the first object being the first selected object of the first input.
The second input may be a movement trigger input, for example, the movement trigger input may be a long press input, a click input, or a double click input to the first selected object of the first input.
Continuing with fig. 2, after four clicks are made to select icon J, icon E, icon B, and icon G, a long press input may be made to icon J, i.e., the start icon is pressed for a long time, thereby triggering movement of the selected icon.
In these embodiments, optionally, the specific method of step 140 may include:
in response to the second input, taking the object selected last by the first input as a first target object and taking the first object as a second target object;
displaying a target connecting line between the first object and the object selected at the last time of the first input;
and for each target connecting line, moving the object connected with the first end of the target connecting line to the display position of the object connected with the second end of the target connecting line.
With continued reference to fig. 2, after the user presses the icon J for a long time, the fourth clicked icon G is taken as the first target object, the icon J is taken as the second object, and a target connecting line 204, i.e., an arrow, is displayed between the icon G and the icon J. At this time, an arrow is displayed between every two icons in the order of icon J, icon E, icon B, icon G, and icon J, and then the icon at the start end of each arrow is moved to the display position of the icon at the end of the arrow.
Fig. 3 illustrates an object movement effect diagram of the embodiment illustrated in fig. 2. As shown in fig. 3, the icon J moves to the display position of the icon E, the icon E moves to the display position of the icon B, and so on, and the movement of all the selected icons is completed according to the direction of the arrow in fig. 2.
With continued reference to fig. 3, before receiving a new input from the user, the electronic device may light up the icon J, the icon E, the icon B, and the icon G that are moved at the third brightness value to prompt the user that the icons are moved, further improving the visibility of the object arrangement process.
Fig. 4 is a schematic diagram illustrating the operation of canceling the target link according to the embodiment shown in fig. 2.
As shown in fig. 4, in some embodiments of the present invention, before step 130, the object arrangement method may further include:
receiving a fifth input of the user on the target connecting line;
deleting the selected target connecting line in response to a fifth input;
and the objects at the two ends of the deleted target connecting line are in a deselected state.
In some embodiments of the present invention, the fifth input may be a click input, a long press input, or a double click input.
Continuing with fig. 3, after four clicks, icon J, icon E, icon B, and icon G are in a selected state, and the user can cancel any displayed target connection line. Referring to fig. 4, the fifth input may be a click input, and the user may click on a target link 202 between the icon E and the icon B, and after receiving the click input, the electronic device may delete the target links connected to all clicked icons behind the icon E, that is, delete the target link 202 between the icon E and the icon B and the target link 203 between the icon B and the icon G.
Fig. 5 is a diagram illustrating an operation of deselecting an icon according to the embodiment shown in fig. 4. As shown in fig. 5, after the user clicks the target connection line 202 between the icon E and the icon B in fig. 4, the user may further continue to click the icon B, so as to determine that the object set in the deselected state is the icon B, and after receiving a click input to the icon B, the electronic device may take the icon E as the first target object, take the icon G as the second target object, and display the target connection line 205 between the icon E and the icon G, indicating that the icon G is still in the selected state. In the embodiment shown in fig. 5, after the user presses the icon J for a long time, the display positions of the icon J, the icon E, and the icon G are sequentially replaced according to the indication direction of the target connection line, which is not described herein again.
Therefore, the first embodiment of the present invention may sequentially replace the positions of the selected objects according to the selection order based on the sequential selection input of the user, thereby implementing the rapid movement of the plurality of objects.
Fig. 6 is a second schematic diagram illustrating an icon moving operation according to an embodiment of the present invention.
In the embodiment shown in fig. 6, the first input received in step 110 may include a slide sub-input, and specifically, the slide sub-input may be a slide input in either direction.
Referring to fig. 6, the first input may be a slide input to the upper right.
In some embodiments of the present invention, the specific method of step 120 may include:
acquiring the sliding direction and the sliding distance input by the sliding sub;
determining at least two objects selected by the input of the slider in the sliding direction according to the sliding distance;
taking a first object selected in advance of every two successively and continuously selected objects as a first target object, and taking a second object selected in the later of every two successively and continuously selected objects as a second target object;
and respectively displaying a target connecting line between every two successively and continuously selected objects.
In some embodiments, all objects passed by the sliding input may be used as at least two objects selected by the sliding sub-input according to the actual sliding distance of the sliding input. In other embodiments, a corresponding relationship between the sliding distance and the selected distance may be preset, the selected distance corresponding to the actual sliding distance is determined according to the actual sliding distance and the corresponding relationship, and all objects passed by the selected distance are the at least two objects selected by the slider input.
Continuing with fig. 6, the sliding input may be that the icon J is clicked and then quickly slides to the gesture end position in fig. 6, the actual sliding distance may be the distance between the icon clicked and the gesture end position, and according to the corresponding relationship between the sliding distance and the selected distance, the selected distance may be determined to be the distance from the icon J to the icon D, and therefore, the icon J, the icon G, and the icon D are selected by the sliding input. In the process of sliding input of the selected icon, the icon J passing first may be lit at a first brightness value to represent the icon J as a start icon, and the icon G and the icon D passing subsequently may be lit at a second brightness value to represent the icon G and the icon D as icons to be moved. The icon is lighted to indicate that the icon is in a selected state, and the first brightness value can be higher than the second brightness value so as to distinguish the starting icon.
Starting from the second selected icon, in the case of each selection of a new icon, the last selected icon before the newly selected icon is taken as a first target object, the newly selected icon is taken as a second target object, and a target connection line is displayed between the last selected icon before the newly selected icon and the newly selected icon.
Continuing with FIG. 6, taking the newly selected icon as icon G for example, because the icon J was selected immediately before icon G, the target connection 206 is displayed between icon J and icon G with icon J as the first target object and icon G as the second target object.
In these embodiments, the second input received in step 130 may optionally be an input to the first object, the first object being the first selected object of the first input.
In these embodiments, optionally, the specific method of step 140 may include:
in response to the second input, taking the object selected last by the first input as a first target object and taking the first object as a second target object;
displaying a target connecting line between the first object and the object selected at the last time of the first input;
and for each target connecting line, moving the object connected with the first end of the target connecting line to the display position of the object connected with the second end of the target connecting line.
In some embodiments of the present invention, before step 130, the object arrangement method may further include:
receiving a fifth input of the user on the target connecting line;
deleting the selected target connecting line in response to a fifth input;
and the objects at the two ends of the deleted target connecting line are in a deselected state.
In some embodiments of the present invention, the fifth input may be a click input, a long press input, or a double click input.
Specifically, the specific method for moving the object in response to the second input and deleting the target connection line is similar to that of the first embodiment of the present invention, and is not described herein again.
Therefore, the first embodiment of the present invention may sequentially replace the positions of the selected multiple objects according to the selection order based on the sliding input by the user, thereby implementing the rapid movement of the multiple objects.
Fig. 7 is a third schematic diagram illustrating an icon moving operation according to an embodiment of the present invention.
In the embodiment shown in fig. 7, the first input received in step 110 includes a second sub-input to the second object and at least one third sub-input to at least one third object.
The second sub-input may be a long-press input, and the third sub-input may be a click input.
Continuing with fig. 7, icon J may be pressed long first until it is lit at a fourth brightness value, indicating that icon J is an icon to be merged. And then clicking the icon A, the icon F and the icon D which need to be combined in sequence to enable the icon A, the icon F and the icon D to be lightened at a fifth brightness value. Wherein the fourth brightness value may be higher than the fifth brightness value to distinguish the icon to be merged.
In some embodiments of the present invention, the specific method of step 120 may include:
in response to the second sub-input and at least one third sub-input, respectively taking each third object as a first target object and taking the second object as a second target object;
and respectively displaying target connecting lines between the second object and each third object.
Specifically, in the process of performing at least one third sub-input on at least one third object, after each pair of new third objects performs one third sub-input, the newly selected third object is used as the first target object, the second object is used as the second target object, and a target connection line is displayed between the newly selected third object and the second object.
Continuing with fig. 7, taking the newly selected second object as the icon D as an example, after clicking the icon D, the icon D may be taken as the first target object, the icon J may be taken as the second target object, and a target connecting line 207 may be displayed between the icon D and the icon J.
Because the target connecting line is displayed between the object to be merged and the merged object, the object sorting process is visualized, the accuracy of object selection is improved, and the accuracy of object movement is improved.
It should be noted that, in some embodiments of the present invention, the target link may be a directional link, such as an arrow, where a starting end of the directional link is a first end of the target link, and a terminating end of the directional link is a second end of the target link. As shown in fig. 7, continuing with the icon D as an example, the icon D is a start end of an arrow, i.e. a first end of the target link 207, and the icon J is a stop end of the arrow, i.e. a second end of the target link 207, so that the user can more intuitively know the merging direction of the icons. In other embodiments of the present invention, the target connection line may also be a straight line, so that the display interface is simpler.
In these embodiments, optionally, the second input received in step 130 is an input to the target link.
The second input may be a movement trigger input, for example, the movement trigger input may be a long press input, a click input, or a double click input to the first selected object of the first input.
With continued reference to fig. 7, after icon J, icon a, icon F, and icon D are selected, a long press input may be made to any one of the target links, thereby triggering the merging of the selected icons.
In these embodiments, optionally, the specific method of step 140 may include:
and responding to the second input, displaying the first folder at the display position of the object selected first by the first input, and displaying all objects connected with the target connecting line in the first folder.
With continued reference to fig. 7, after the user connects the lines by long pressing any item, a first folder may be displayed at the display position of the icon J, and the icon J, the icon a, the icon F, and the icon D may be displayed in the first folder, so that the icon J, the icon a, the icon F, and the icon D may be merged.
Fig. 8 illustrates an object movement effect diagram of the embodiment illustrated in fig. 7. As shown in fig. 8, after the gaps of the icon a, the icon F, and the icon D are filled, the first folder is displayed at the display position of the icon J.
In some embodiments of the present invention, before step 130, the object arrangement method may further include:
receiving a fifth input of the user on the target connecting line;
deleting the selected target connecting line in response to a fifth input;
and the objects at the two ends of the deleted target connecting line are in a deselected state.
In some embodiments of the present invention, the fifth input may be a click input, a long press input, or a double click input.
Specifically, the specific method for deleting the target connection is similar to that of the first embodiment of the present invention, and is not described herein again.
Therefore, the first embodiment of the invention can quickly merge a plurality of selected objects based on the input of the user, thereby improving the efficiency of object merging.
Fig. 9 is a fourth schematic diagram illustrating an icon moving operation according to an embodiment of the present invention.
In the embodiment shown in fig. 9, the first input received in step 110 may be a slide input in either direction.
Referring to fig. 9, the first input may be a slide input to the right.
Specifically, the method for determining the object selected by the sliding input is similar to that in the second embodiment of the present invention, and is not described herein again.
Continuing with fig. 9, the sliding input may be that the icon I is clicked and then quickly slides to the gesture end position in fig. 9, the actual sliding distance may be the distance between the icon I and the gesture end position, and the selection distance may be determined to be the distance from the icon I to the icon L according to the corresponding relationship between the sliding distance and the selection distance, so that the icon I, the icon J, the icon K, and the icon L are selected by the sliding input. In the sliding input of the selected icon, the icon I passing first may be lit at a fourth brightness value to represent that the icon I is an icon to be merged, and the icon J, the icon K, and the icon L passing next may be lit at a fifth brightness value to represent that the icon J, the icon K, and the icon L are merged.
In some embodiments of the present invention, the specific method of step 120 may include:
acquiring the sliding direction and the sliding distance of the sliding input;
determining at least two objects selected by the sliding input in the sliding direction according to the sliding distance;
taking a later selected object of every two successively and continuously selected objects as a first target object, and taking a previous selected object of every two successively and continuously selected objects as a second target object;
and respectively displaying a target connecting line between every two successively and continuously selected objects.
Starting from the second selected icon, in the case of each selection of a new icon, the last selected icon before the newly selected icon is taken as the second target object, the newly selected icon is taken as the first target object, and a target connection line is displayed between the last selected icon before the newly selected icon and the newly selected icon.
Continuing with fig. 9, taking the newly selected icon as the icon L as an example, since the icon K is selected before the icon L, the icon L is taken as the first target object, the icon K is taken as the second target object, and the target connecting line 208 is displayed between the icon L and the icon K.
In these embodiments, optionally, the second input received in step 130 is an input to the target link.
The second input may be a movement trigger input, for example, the movement trigger input may be a long press input, a click input, or a double click input to the first selected object of the first input.
With continued reference to fig. 9, after the icon I, the icon J, the icon K, and the icon L are selected, a long press input may be performed on any one of the target links, thereby triggering the merging of the selected icons.
In these embodiments, optionally, the specific method of step 140 may include:
and responding to the second input, displaying the first folder at the display position of the object selected first by the first input, and displaying all objects connected with the target connecting line in the first folder.
Specifically, the objects selected last may be merged sequentially to the display position of the next selected object, until the objects are merged to the display position of the first selected object, and the first folder is displayed at the display position of the first selected object, and all the objects connected by the target connection line are displayed in the first folder.
With continued reference to fig. 9, after the user connects the lines by long pressing any item mark, a first folder may be displayed at the display position of the icon I, and the icon I, the icon J, the icon K, and the icon L may be displayed in the first folder, so that the icon I, the icon J, the icon K, and the icon L are merged.
Fig. 10 illustrates an object movement effect diagram of the embodiment illustrated in fig. 9. As shown in fig. 10, after the gap of the icon is filled, the first folder is displayed at the display position of the icon I.
In some embodiments of the present invention, before step 130, the object arrangement method may further include:
receiving a fifth input of the user on the target connecting line;
deleting the selected target connecting line in response to a fifth input;
and the objects at the two ends of the deleted target connecting line are in a deselected state.
In some embodiments of the present invention, the fifth input may be a click input, a long press input, or a double click input.
Specifically, the specific method for deleting the target connection is similar to that of the first embodiment of the present invention, and is not described herein again.
In this embodiment of the present invention, optionally, before step 130, the object sorting method may further include:
receiving click input of a first input first selected object by a user;
in response to a click input to the first input first selected object, all target links are deleted, and all objects connected by the target links are set to an object deselected state.
Therefore, the first embodiment of the present invention can quickly select a plurality of objects based on the sliding input of the user, and quickly merge the selected plurality of objects, thereby improving the efficiency of object merging.
Fig. 11 shows a fifth schematic diagram of the icon moving operation provided by the embodiment of the present invention.
In the embodiment shown in fig. 11, the first input received in step 110 may include a fourth sub-input to a fourth object and a fifth sub-input to the first free location.
The fourth sub-input and the fifth sub-input may be selection inputs respectively, and the selection inputs may be click inputs, long-press inputs, double-click inputs, or the like.
With continued reference to FIG. 11, the fourth sub-input may be a click input and the fifth sub-input may also be a click input. The user may first click on the to-be-inserted icon J, cause the icon J to be lit at a sixth brightness value, identify the icon J as the to-be-inserted icon, and wait for insertion. The user may then click on the first free location between icon B and icon C, i.e., the gap between icon B and icon C.
In some embodiments of the present invention, the specific method of step 120 may include:
in response to the fourth sub-input and the fifth sub-input, regarding the fourth object as the first target object and regarding the first free position as the second target object;
and displaying a target connecting line between the fourth object and the first idle position.
With continued reference to fig. 11, an icon J may be treated as a first target object, a gap between the icon B and the icon C may be treated as a second target object, and a target link 209 may be displayed between the icon J and the gap, and a second end of the target link 209 may be displayed as a bold dot 210.
In these embodiments, optionally, the second input received in step 130 is an input to a second end of the target link.
The second input may be a movement trigger input, for example, the movement trigger input may be a click input, a long-press input, or a double-click input.
In these embodiments, optionally, the specific method of step 140 may include:
in response to the second input, the object connected to the first end of the target link is moved to a display position adjacent to the second end of the target link.
Specifically, the display position adjacent to the second end of the target connection line may be, without limitation, a display position located above, below, on the left side, or on the right side of the idle position in the width direction of the display interface.
With continued reference to fig. 11, the second input may be a click input to the second end of the target link, and after the user clicks the second end of the target link, the icon J may be directly moved to the display position of the icon C, and the other icons may be sequentially moved in turn.
Optionally, before step 130, the object arrangement method may further include:
receiving a third input of the user to the second end of the target connecting line, wherein the third input is a sliding input, the starting point of a sliding track of the sliding input is the display position of the second end of the target connecting line, and the end point of the sliding track of the sliding input is a second idle position;
in response to a third input, moving a second end of the target link to a second idle position.
The sliding input may be that the second end of the target connection line is clicked first, and then sliding is performed to drag the second end of the target connection line to move.
Referring to fig. 11, the second end of the target connection line is a thickened dot, and the user may drag the thickened dot 210 to perform a sliding input, so that the thickened dot 210 moves to a second idle position between the icon C and the icon D, i.e., a gap between the icon C and the icon D, and the target connection line 209 is changed to be displayed between the icon J and the gap between the icon C and the icon D.
Fig. 12 illustrates an object movement effect diagram of the embodiment illustrated in fig. 11. As shown in fig. 12, at this time, after the user clicks and inputs the second end of the target connection line after moving the position, the icon J may be directly moved to the display position on the right side of the icon C, and the other icons may be sequentially moved in sequence.
Optionally, in addition to the third input to the second end of the target connection line described in this embodiment, the second end of the target connection line may be moved to the second idle position by directly clicking a second idle position other than the first idle position.
Fig. 13 shows a sixth schematic diagram of icon frame selection operations provided by the embodiment of the present invention.
In some embodiments of the present invention, before step 110, the object arrangement method may further include:
receiving a fourth input of the user to the third idle position;
in response to a fourth input, a closed curve is displayed, the closed curve including at least two objects adjacent to the third idle position within the closed curve.
The fourth input may be a long press input or a double-click input, etc.
Referring to fig. 13, the fourth input may be a long press input, and the user may long press a third idle position between the icon a and the icon B, i.e., a gap between the icon a and the icon B, cause the icon a and the icon B to be lit at a seventh brightness value, and display a closed curve enclosing the icon a and the icon B outside the icon a and the icon B.
Optionally, the user may also press any one side of the closed curve or press a gap close to any one side of the closed curve to increase the frame selection range of the closed curve, so that the closed curve may further include an object adjacent to the side or the gap.
FIG. 14 is a diagram illustrating the operation of increasing the frame selection range of the embodiment shown in FIG. 13. As shown in fig. 14, the user may press the bottom side of the closed curve for a long time to light up the icon E and the icon F adjacent to the bottom side at a seventh brightness value, and increase the frame selection range of the closed curve shown in fig. 13 to include the icon a, the icon B, the icon E, and the icon F shown in fig. 14.
Therefore, the user can quickly select the plurality of objects through the fourth input of the idle position so as to arrange the plurality of objects, and the object arrangement efficiency is improved.
Fig. 15 is a diagram showing one example of the icon moving operation of the embodiment shown in fig. 13.
In the embodiment shown in fig. 15, the first input received in step 110 includes a sixth sub-input to the first closed curve and a seventh sub-input to the second closed curve, and the arrangement and number of the objects in the first closed curve and the second closed curve are the same.
The sixth sub-input and the seventh sub-input may be selection inputs respectively, and the selection inputs may be click inputs, long-press inputs, double-click inputs, or the like.
With continued reference to fig. 15, the sixth sub-input and the seventh sub-input may be click inputs to any position within the closed curve, respectively, after the user first clicks the first closed curve, the icon a, the icon B, the icon E, and the icon F within the first closed curve are lit at an eighth brightness value, and after the user then clicks the second closed curve, the icon G, the icon H, the icon K, and the icon L within the second closed curve are lit at a ninth brightness value. Wherein the icon is illuminated to indicate that the icon is in the selected state, and the eighth brightness value may be higher than or equal to the ninth brightness value.
In some embodiments of the present invention, the specific method of step 120 may include:
in response to the sixth sub-input and the seventh sub-input, treating the first closed curve as a first target object and the second closed curve as a second target object;
and displaying a target connecting line between the first closed curve and the second closed curve.
With continued reference to fig. 15, a first closed curve of the box icon a, the icon B, the icon E, and the icon F may be taken as a first target object, a second closed curve of the box icon G, the icon H, the icon K, and the icon L may be taken as a second target object, and a target link 211 may be displayed between the first closed curve and the second closed curve.
In these embodiments, the second input received in step 130 may optionally be an input to the target connection.
The second input may be a movement trigger input, for example, the movement trigger input may be a long press input, a click input, or a double click input to a target link.
With continued reference to fig. 15, the second input may be a long press of the target link 211 to trigger movement of the icons within the first closed curve and the second closed curve.
In these embodiments, optionally, the specific method of step 140 may include:
for the ith object in the first closed curve and the jth object in the second closed curve, exchanging the display positions of the ith object and the jth object;
wherein i is j, i is a positive integer and i is less than or equal to the number of objects in the first closed curve.
With continued reference to fig. 15, after the user presses the target connection line for a long time, the display positions of the icon a and the icon G may be exchanged, the display positions of the icon B and the icon H may be exchanged, and so on, to complete the movement of the icons in the first closed curve and the second closed curve.
Therefore, the embodiment of the invention can realize the rapid exchange of the display positions of the two groups of objects and improve the object sorting efficiency.
FIG. 16 is a diagram illustrating a deckle operation of the embodiment of FIG. 13. As shown in fig. 15, when the user clicks on the closed curve, the closed curve may be deleted, and the icons a, B, E, and F are unlighted to be in an unchecked state.
Fig. 17 is a diagram showing another example of the icon moving operation of the embodiment shown in fig. 13.
In the embodiment shown in fig. 17, the first input received in step 110 comprises an eighth sub-input to a fifth object within the closed curve.
Referring to fig. 17, the eighth sub-input may be a long press input to the icon a. After the user long-presses the icon a, the icon a is lit at a tenth brightness value, indicating that the icon a is an icon to be merged into. Icon B, icon E, and icon F are lit at an eleventh brightness value, indicating that they are icons that need to be merged. Wherein the tenth brightness value may be higher than the eleventh brightness value to distinguish the icon to be merged.
In some embodiments of the present invention, the specific method of step 120 may include:
in response to the eighth sub-input, regarding an object other than the fifth object within the closed curve as the first target object, and regarding the fifth object as the second target object;
and respectively displaying target connecting lines between the fifth objects and objects except for each fifth object.
Continuing with fig. 17, icon a may be read and written as a second target, icon B, icon E, and icon F may be respectively used as first target objects, and target links 212 may be respectively displayed between icon B, icon E, icon F, and icon a.
It should be noted that, in some embodiments of the present invention, the target link may be a directional link, such as an arrow, where a starting end of the directional link is a first end of the target link, and a terminating end of the directional link is a second end of the target link. As shown in fig. 17, continuing with the icon F as an example, the icon F is a start end of an arrow, i.e., a first end of the target link 212, and the icon a is a stop end of the arrow, i.e., a second end of the target link 212, so that the user can more intuitively know the merging direction of the icons. In other embodiments of the present invention, the target connection line may also be a straight line, so that the display interface is simpler.
In these embodiments, the second input received in step 130 may optionally be an input to the object selected by the first input.
With continued reference to fig. 17, the second input may be a long press input to icon a.
In these embodiments, optionally, the specific method of step 140 may include:
and responding to the second input, displaying the second folder at the display position of the object selected by the first input, and displaying all the objects connected with the target connecting line in the second folder.
Fig. 18 illustrates an object movement effect diagram of the embodiment illustrated in fig. 17. As shown in fig. 18, a second folder is displayed at the display position of the icon a, the icon B, the icon E, and the icon F are displayed in the second folder, and other icons automatically fill the blank space.
Fig. 19 is a diagram showing still another example of the icon moving operation of the embodiment shown in fig. 13.
In the embodiment shown in fig. 19, the first input received in step 110 comprises a ninth sub-input to a sixth object outside the closed curve.
Referring to fig. 19, the ninth sub-input may be a long press input to the icon K. After the user long-presses the icon K, the icon a is lit at a twelfth brightness value, indicating that the icon K is an icon to be merged into. Icon J and icon M in the closed curve are lit at a thirteenth brightness value, indicating that they are icons that need to be merged. Wherein the twelfth brightness value may be higher than the thirteenth brightness value to distinguish the icon to be merged.
In some embodiments of the present invention, the specific method of step 120 may include:
in response to the ninth sub-input, regarding an object within the closed curve as a first target object, and regarding a sixth object as a second target object;
and respectively displaying target connecting lines between the sixth object and the objects in each closed curve.
With continued reference to fig. 19, the icon J and the icon M within the closed curve may be respectively regarded as a first target object, the icon K as a second target object, and target links 213 may be respectively displayed between the icon J and the icon M and the icon K.
It should be noted that, in some embodiments of the present invention, the target link may be a directional link, such as an arrow, where a starting end of the directional link is a first end of the target link, and a terminating end of the directional link is a second end of the target link. As shown in fig. 19, continuing to use the icon J as an example, the icon J is a start end of an arrow, i.e. a first end of the target link, and the icon K is an end of the arrow, i.e. a second end of the target link, so that the user can more intuitively know the merging direction of the icons. In other embodiments of the present invention, the target connection line may also be a straight line, so that the display interface is simpler.
In these embodiments, optionally, the second input received in step 130 is an input to an object selected by the first input.
With continued reference to fig. 19, the second input may be a long press input to icon a.
In these embodiments, optionally, the specific method of step 140 may include:
and responding to the second input, displaying the second folder at the display position of the object selected by the first input, and displaying all the objects connected with the target connecting line in the second folder.
Fig. 20 illustrates an object movement effect diagram of the embodiment illustrated in fig. 19. As shown in fig. 20, a second folder is displayed at the display position of the icon K, the icon J, and the icon M are displayed in the second folder, and other icons automatically fill the blank space.
In the embodiment shown in fig. 11-20, before step 130, the object arrangement method may further include:
receiving a fifth input of the user on the target connecting line;
deleting the selected target connecting line in response to a fifth input;
and the objects at the two ends of the deleted target connecting line are in a deselected state.
Specifically, the specific method for deleting the target connection is similar to that of the first embodiment of the present invention, and is not described herein again.
In the embodiment of the present invention, optionally, when the user performs each step of operation, the electronic device records the display state corresponding to the operation, and if an error operation occurs or the display state does not meet the requirement after sorting, the user may perform a retraction operation based on the display state recorded by the electronic device.
In the embodiment of the present invention, optionally, the object arrangement method may further include
Receiving a sixth input of the user;
in response to a sixth input, displaying at least one historical operation record, wherein each historical operation record corresponds to a display state, and the display state comprises at least one of the following items: a selected state of the at least one object, a moving state of the at least one object;
receiving a seventh input of a target historical operation record in the at least one historical operation record from the user;
and responding to a seventh input, and returning at least one third target object corresponding to the target historical operation record to a target display state corresponding to the target historical operation record.
FIG. 21 shows a seventh schematic diagram of a state-retracting operation of an embodiment of the present invention. As shown in fig. 21, the sixth input may be a long-press input to a retraction button at the upper right corner of the display interface, so that an operation record list is displayed below the retraction button, at least one historical operation record is displayed in the operation record list, and a user may click any historical operation record and retract to a display state corresponding to the historical operation record. After the user clicks any historical operation record, all the historical operation records after the historical operation record are changed into grey so as to prompt the user that the display states corresponding to the historical operation records are not displayed. And when the user performs new operation based on the display state corresponding to the returned historical operation record, removing all historical operation records after the historical operation record.
In addition, the user can click and input a return button at the upper right corner of the display interface to gradually return.
And when the user performs new operation based on the display state corresponding to the returned historical operation record, automatically hiding the operation record list.
If the icons before the return are deleted or added relative to the icons in the history operation record of the return, the electronic equipment can automatically update the icons, the newly added icons fill the deleted icon positions preferentially, the redundant newly added icons are sequentially added behind all the icons, and if the newly added icons are insufficient, the icons behind the newly added icons move forwards to be filled.
In the embodiment of the invention, according to the use habit of the user, when the icon is not changed for a long time (such as one week), the display state of the icon is automatically recorded, and the unused historical operation record (such as three months) before a certain time is automatically deleted. The user can also click a record key in the object sorting mode to manually backup the display state of the icon.
In the object arrangement mode, a user can also slide the display interface up and down quickly to switch the display interface, when switching, a new display interface is gradually pulled in from the edge corresponding to the starting end of sliding, the current display interface gradually exits from the edge opposite to the starting end, and the faster the sliding is and the longer the distance is, the faster the display interface is switched, and the more times the switching is.
Fig. 22 shows an eighth schematic diagram of a display interface switching operation according to the embodiment of the present invention. As shown in fig. 22, when the user slides down the display interface, the new display interface will slide in from above the display screen of the electronic device, and the current display interface will slide out from below the display screen of the electronic device.
In the switching process, the interface number of the switched display interface is displayed, meanwhile, any position of the display interface can be pressed at any time, the switching process is stopped, and the size of the display area of the two displayed display interfaces is adjusted through sliding.
In summary, the embodiment of the present invention provides a fast object arrangement method, which combines two methods, namely displaying a target connection line and displaying a closed curve, to implement fast exchange, insertion, and merging of objects. In addition, the embodiment of the invention has the functions of canceling operation and backup operation, can effectively avoid misoperation of a user, can quickly and accurately restore the display state of the designated icon, and can also quickly switch the display interface by sliding, so that the object arrangement is more convenient and quicker.
Fig. 23 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device shown in fig. 23 may include, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
As shown in fig. 23, the electronic device may include:
a first input receiving module 310, configured to receive a first input of a user;
a target connection line display module 320, configured to display a target connection line in response to the first input, where a first end of the target connection line is connected to the first target object and a second end of the target connection line is connected to the second target object;
a second input receiving module 330, configured to receive a second input of the user;
and the target object moving module 340 is configured to move the first target object to a target position associated with the second target object in response to the second input.
In an embodiment of the invention, the electronic device is capable of, after receiving the first input by the user, in response to the first input by the user, displaying a target connecting line between the first target object and the second target object, enabling a first end of the target connecting line to be connected with the first target object and a second end of the target connecting line to be connected with the second target object, thereby, the user can determine the object to be moved and the position to which the object is to be moved through the target connecting line, the object arrangement process is visualized, the user can perform the second input after determining that the selected object and the position are correct according to the target connecting line, causing the electronic device to move the first target object to a target location associated with the second target object in response to the second input after receiving the second input by the user, therefore, the accuracy of object movement is improved, the operation is more convenient and fast, and the object sorting efficiency is improved.
In the embodiment of the present invention, the sorted objects may be icons, images, preview windows, and the like displayed in the display interface. The preview window can be a preview window of an image, a video and an application interface.
In some embodiments of the present invention, the first input received by the first input receiving module 310 may include at least two first sub-inputs to at least two objects.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
responding to at least two times of first sub-input, taking a previously selected object of every two successively and continuously selected objects as a first target object, and taking a later selected object of every two successively and continuously selected objects as a second target object;
and respectively displaying a target connecting line between every two successively and continuously selected objects.
In other embodiments of the present invention, the first input received by the first input receiving module 310 may include a sliding sub-input.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
acquiring the sliding direction and the sliding distance input by the sliding sub;
determining at least two objects selected by the input of the slider in the sliding direction according to the sliding distance;
taking a first object selected in advance of every two successively and continuously selected objects as a first target object, and taking a second object selected in the later of every two successively and continuously selected objects as a second target object;
and respectively displaying a target connecting line between every two successively and continuously selected objects.
In the above embodiment, optionally, the second input received by the second input receiving module 330 may be an input to a first object, where the first object is a first selected object of the first input.
In these embodiments, optionally, the target object moving module 340 may be specifically configured to:
in response to the second input, taking the object selected last by the first input as a first target object and taking the first object as a second target object;
displaying a target connecting line between the first object and the object selected at the last time of the first input;
and for each target connecting line, moving the object connected with the first end of the target connecting line to the display position of the object connected with the second end of the target connecting line.
Therefore, the first embodiment of the present invention can sequentially replace the positions of the selected multiple objects according to the selection order, thereby realizing the rapid movement of the multiple objects.
In some embodiments of the present invention, the first input received by the first input receiving module 310 may include a second sub-input to the second object and at least one third sub-input to at least one third object.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
in response to the second sub-input and at least one third sub-input, respectively taking each third object as a first target object and taking the second object as a second target object;
and respectively displaying target connecting lines between the second object and each third object.
In these embodiments, optionally, the second input received by the second input receiving module 330 is an input to the target link.
In these embodiments, optionally, the target object moving module 340 may be specifically configured to:
and responding to the second input, displaying the first folder at the display position of the object selected first by the first input, and displaying all objects connected with the target connecting line in the first folder.
Therefore, the first embodiment of the invention can quickly merge a plurality of selected objects based on the input of the user, thereby improving the efficiency of object merging.
In some embodiments of the present invention, the first input received by the first input receiving module 310 may include a fourth sub-input to the fourth object and a fifth sub-input to the first idle position, and the second input received by the second input receiving module 330 is an input to the second end of the target link.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
in response to the fourth sub-input and the fifth sub-input, regarding the fourth object as the first target object and regarding the first free position as the second target object;
and displaying a target connecting line between the fourth object and the first idle position.
In these embodiments, optionally, the target object moving module 340 may be specifically configured to:
in response to the second input, the object connected to the first end of the target link is moved to a display position adjacent to the second end of the target link.
In these embodiments, optionally, the electronic device may further include:
the third input receiving module is used for receiving a third input of the user to the second end of the target connecting line, the third input is a sliding input, the starting point of a sliding track of the sliding input is the display position of the second end of the target connecting line, and the end point of the sliding track of the sliding input is a second idle position;
and the target connecting line moving module is used for responding to a third input and moving a second end of the target connecting line to a second idle position.
In some embodiments of the present invention, the electronic device may further include:
the fourth input receiving module is used for receiving fourth input of the user to the third idle position;
and a closed curve display module for displaying a closed curve in response to a fourth input, the closed curve including at least two objects adjacent to the third idle position.
Therefore, the user can quickly select the plurality of objects through the fourth input of the idle position so as to arrange the plurality of objects, and the object arrangement efficiency is improved.
In some embodiments, optionally, the first input received by the first input receiving module 310 includes a sixth sub-input to the first closed curve and a seventh sub-input to the second closed curve, and the arrangement manner and the number of the objects in the first closed curve and the second closed curve are the same. The second input received by the second input receiving module 330 is an input to the target connection.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
in response to the sixth sub-input and the seventh sub-input, treating the first closed curve as a first target object and the second closed curve as a second target object;
and displaying a target connecting line between the first closed curve and the second closed curve.
In these embodiments, optionally, the target object moving module 340 may be specifically configured to:
for the ith object in the first closed curve and the jth object in the second closed curve, exchanging the display positions of the ith object and the jth object;
wherein i is j, i is a positive integer and i is less than or equal to the number of objects in the first closed curve.
Therefore, the embodiment of the invention can realize the rapid exchange of the display positions of the two groups of objects and improve the object sorting efficiency.
In other embodiments, optionally, the first input received by the first input receiving module 310 comprises an eighth sub-input to a fifth object within the closed curve.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
in response to the eighth sub-input, regarding an object other than the fifth object within the closed curve as the first target object, and regarding the fifth object as the second target object;
and respectively displaying target connecting lines between the fifth objects and objects except for each fifth object.
In still other embodiments, optionally, the first input receiving module 310 first input comprises a ninth sub-input to a sixth object outside the closed curve.
In these embodiments, optionally, the target connection line displaying module 320 may be specifically configured to:
in response to the ninth sub-input, regarding an object within the closed curve as a first target object, and regarding a sixth object as a second target object;
and respectively displaying target connecting lines between the sixth object and the objects in each closed curve.
In the above embodiment, optionally, the second input received by the second input receiving module 330 is an input to the object selected by the first input.
In these embodiments, optionally, the target object moving module 340 may be specifically configured to:
and responding to the second input, displaying the second folder at the display position of the object selected by the first input, and displaying all the objects connected with the target connecting line in the second folder.
In some embodiments of the present invention, the electronic device may further include:
the fifth input receiving module is used for receiving fifth input of a target connecting line from a user;
a target connecting line deleting module, configured to delete the selected target connecting line in response to a fifth input;
and the objects at the two ends of the deleted target connecting line are in a deselected state.
In some embodiments of the invention, the electronic device further comprises:
in some embodiments of the present invention, the electronic device may further include:
the sixth input receiving module is used for receiving sixth input of the user;
the history record display module is used for responding to a sixth input and displaying at least one history operation record, wherein each history operation record corresponds to a display state, and the display state comprises at least one of the following items: a selected state of the at least one object, a moving state of the at least one object;
the seventh input receiving module is used for receiving seventh input of a target historical operation record in the at least one historical operation record by a user;
and the target state display module is used for responding to the seventh input and returning at least one third target object corresponding to the target historical operation record to a target display state corresponding to the target historical operation record.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 22, and details are not described here to avoid repetition.
Fig. 24 is a schematic hardware configuration diagram of an electronic device implementing various embodiments of the present invention. As shown in fig. 24, the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 24 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the input unit 404 is used for receiving a first input of a user and receiving a second input of the user 410; a processor 410, configured to respond to the first input, to display a target connection line, where a first end of the target connection line is connected to the first target object, and a second end of the target connection line is connected to the second target object; the display unit 406 is configured to move the first target object to a target position associated with the second target object in response to a second input.
In an embodiment of the invention, the electronic device is capable of, after receiving the first input by the user, in response to the first input by the user, displaying a target connecting line between the first target object and the second target object, enabling a first end of the target connecting line to be connected with the first target object and a second end of the target connecting line to be connected with the second target object, thereby, the user can determine the object to be moved and the position to which the object is to be moved through the target connecting line, the object arrangement process is visualized, the user can perform the second input after determining that the selected object and the position are correct according to the target connecting line, causing the electronic device to move the first target object to a target location associated with the second target object in response to the second input after receiving the second input by the user, therefore, the accuracy of object movement is improved, the operation is more convenient and fast, and the object sorting efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input 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 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 24, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned embodiment of the object arrangement method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above object arrangement method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. An object arrangement method applied to electronic equipment is characterized by comprising the following steps:
receiving a first input of a user;
responding to the first input, displaying a target connecting line, wherein a first end of the target connecting line is connected with a first target object, and a second end of the target connecting line is connected with a second target object;
receiving a second input of the user;
in response to the second input, moving the first target object to a target position associated with the second target object.
2. The method of claim 1, wherein the first input comprises at least two first sub-inputs to at least two objects;
wherein said displaying a target link in response to said first input comprises:
in response to the at least two times of first sub-inputs, taking a previously selected object of every two successively and continuously selected objects as the first target object, and taking a later selected object of every two successively and continuously selected objects as the second target object;
and respectively displaying the target connecting line between every two successively and continuously selected objects.
3. The method of claim 1, wherein the first input comprises a slide sub-input;
wherein said displaying a target link in response to said first input comprises:
acquiring the sliding direction and the sliding distance input by the sliding sub;
determining at least two objects selected by the sliding sub-input in the sliding direction according to the sliding distance;
taking a first selected object of every two successively and continuously selected objects as the first target object, and taking a second selected object of every two successively and continuously selected objects as the second target object;
and respectively displaying the target connecting line between every two successively and continuously selected objects.
4. The method of claim 2 or 3, wherein the second input is an input to a first object, the first object being the first selected object of the first input;
wherein said moving the first target object to the target location associated with the second target object in response to the second input comprises:
in response to the second input, taking the object last selected by the first input as the first target object and the first object as the second target object;
displaying the target connecting line between the first object and the object selected by the first input last time;
and for each target connecting line, moving the object connected with the first end of the target connecting line to the display position of the object connected with the second end of the target connecting line.
5. The method of claim 1, wherein the first input comprises a second sub-input to a second object and at least one third sub-input to at least one third object;
wherein said displaying a target link in response to said first input comprises:
in response to the second sub-input and the at least one third sub-input, respectively taking each third object as the first target object and taking the second object as the second target object;
and respectively displaying the target connecting line between the second object and each third object.
6. The method of claim 5, wherein the second input is an input to the target link;
wherein said moving the first target object to the target location associated with the second target object in response to the second input comprises:
and responding to the second input, displaying a first folder at the display position of the object selected by the first input, and displaying all objects connected with the target connecting line in the first folder.
7. The method of claim 1, wherein the first input comprises a fourth sub-input to a fourth object and a fifth sub-input to a first idle location, and wherein the second input is an input to a second end of the target connection;
wherein said displaying a target link in response to said first input comprises:
in response to the fourth sub-input and the fifth sub-input, treating the fourth object as the first target object and the first free location as the second target object;
displaying the target connecting line between the fourth object and the first idle position;
the moving the first target object to the target location associated with the second target object in response to the second input comprises:
in response to the second input, moving an object connected to a first end of the target link to a display position adjacent to a second end of the target link.
8. The method of claim 7, prior to said receiving a second input from a user, further comprising:
receiving a third input of a user to the second end of the target connecting line, wherein the third input is a sliding input, the starting point of a sliding track of the sliding input is the display position of the second end of the target connecting line, and the end point of the sliding track of the sliding input is a second idle position;
moving a second end of the target link to the second idle position in response to the third input.
9. The method of claim 1, wherein prior to receiving the first input from the user, further comprising:
receiving a fourth input of the user to the third idle position;
in response to the fourth input, displaying a closed curve including at least two objects within the closed curve that are adjacent to the third idle position.
10. The method of claim 9, wherein the first input comprises a sixth sub-input to a first closed curve and a seventh sub-input to a second closed curve, and the arrangement of objects and the number of objects within the first closed curve and the second closed curve are the same; the second input is input to the target connecting line;
wherein said displaying a target link in response to said first input comprises:
in response to the sixth sub-input and the seventh sub-input, treating the first closed curve as the first target object and the second closed curve as the second target object;
displaying the target connecting line between the first closed curve and the second closed curve;
the moving the first target object to the target location associated with the second target object in response to the second input comprises:
for the ith object in the first closed curve and the jth object in the second closed curve, exchanging the display positions of the ith object and the jth object;
wherein i is a positive integer and i is less than or equal to the number of objects in the first closed curve.
11. The method of claim 9, wherein the first input comprises an eighth sub-input to a fifth object within the closed curve;
wherein said displaying a target link in response to said first input comprises:
in response to the eighth sub-input, treating an object other than the fifth object within the closed curve as the first target object, and treating the fifth object as the second target object;
and respectively displaying the target connecting line between the fifth object and each object except the fifth object.
12. The method of claim 9, wherein the first input comprises a ninth sub-input to a sixth object outside the closed curve;
wherein said displaying a target link in response to said first input comprises:
in response to the ninth sub-input, treating an object within the closed curve as the first target object and treating the sixth object as the second target object;
and respectively displaying the target connecting line between the sixth object and the object in each closed curve.
13. The method according to claim 11 or 12, wherein the second input is an input to an object selected by the first input;
wherein said moving the first target object to the target location associated with the second target object in response to the second input comprises:
and responding to the second input, displaying a second folder at the display position of the object selected by the first input, and displaying all objects connected with the target connecting line in the second folder.
14. The method of claim 1, prior to said receiving a second input from a user, further comprising:
receiving a fifth input of the user to the target connecting line;
deleting the selected target connection line in response to the fifth input;
and the deleted objects at the two ends of the target connecting line are in a deselected state.
15. The method of claim 1, further comprising:
receiving a sixth input of the user;
in response to the sixth input, displaying at least one historical operation record, wherein each historical operation record corresponds to a display state, and the display state comprises at least one of the following items: a selected state of the at least one object, a moving state of the at least one object;
receiving a seventh input of a target historical operation record in the at least one historical operation record from a user;
and responding to the seventh input, and returning at least one third target object corresponding to the target historical operation record to a target display state corresponding to the target historical operation record.
16. An electronic device, comprising:
the first input receiving module is used for receiving a first input of a user;
a target connecting line display module, configured to respond to the first input and display a target connecting line, where a first end of the target connecting line is connected to a first target object and a second end of the target connecting line is connected to a second target object;
the second input receiving module is used for receiving a second input of the user;
a target object movement module to move the first target object to a target position associated with the second target object in response to the second input.
CN201911201914.3A 2019-11-29 2019-11-29 Object arrangement method and electronic equipment Pending CN110968243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911201914.3A CN110968243A (en) 2019-11-29 2019-11-29 Object arrangement method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911201914.3A CN110968243A (en) 2019-11-29 2019-11-29 Object arrangement method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110968243A true CN110968243A (en) 2020-04-07

Family

ID=70032146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911201914.3A Pending CN110968243A (en) 2019-11-29 2019-11-29 Object arrangement method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110968243A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113311970A (en) * 2021-05-27 2021-08-27 维沃移动通信有限公司 Content display method, device, equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324414A (en) * 2013-06-20 2013-09-25 广东欧珀移动通信有限公司 Method and mobile terminal for adjusting icon positions
US20150277692A1 (en) * 2013-01-23 2015-10-01 Dongguan Goldex Communication Technology Co., Ltd. Method for moving icon on terminal and terminal
CN105630288A (en) * 2015-11-09 2016-06-01 深圳市慧动创想科技有限公司 Management method and device of application icon
CN106095250A (en) * 2016-07-29 2016-11-09 维沃移动通信有限公司 The method of application icon layout and mobile terminal
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface
CN107463302A (en) * 2017-07-01 2017-12-12 珠海格力电器股份有限公司 A kind of icon layout method of adjustment and its device
CN108696642A (en) * 2018-05-15 2018-10-23 维沃移动通信有限公司 Arrange figure calibration method and mobile terminal
CN109164961A (en) * 2018-08-10 2019-01-08 珠海格力电器股份有限公司 A kind of method and device of mobile application icon
CN109213396A (en) * 2018-07-12 2019-01-15 维沃移动通信有限公司 A kind of object control method and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277692A1 (en) * 2013-01-23 2015-10-01 Dongguan Goldex Communication Technology Co., Ltd. Method for moving icon on terminal and terminal
CN103324414A (en) * 2013-06-20 2013-09-25 广东欧珀移动通信有限公司 Method and mobile terminal for adjusting icon positions
CN105630288A (en) * 2015-11-09 2016-06-01 深圳市慧动创想科技有限公司 Management method and device of application icon
CN106095250A (en) * 2016-07-29 2016-11-09 维沃移动通信有限公司 The method of application icon layout and mobile terminal
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface
CN107463302A (en) * 2017-07-01 2017-12-12 珠海格力电器股份有限公司 A kind of icon layout method of adjustment and its device
CN108696642A (en) * 2018-05-15 2018-10-23 维沃移动通信有限公司 Arrange figure calibration method and mobile terminal
CN109213396A (en) * 2018-07-12 2019-01-15 维沃移动通信有限公司 A kind of object control method and terminal
CN109164961A (en) * 2018-08-10 2019-01-08 珠海格力电器股份有限公司 A kind of method and device of mobile application icon

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113311970A (en) * 2021-05-27 2021-08-27 维沃移动通信有限公司 Content display method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN111142747B (en) Group management method and electronic equipment
CN110196667B (en) Notification message processing method and terminal
CN108509122B (en) Image sharing method and terminal
CN110618969B (en) Icon display method and electronic equipment
CN110968228B (en) Display method of application program icon and electronic equipment
EP3731077A1 (en) Method for editing text, and mobile device
CN110989881B (en) Icon arrangement method and electronic equipment
CN108763540B (en) File browsing method and terminal
CN109683802B (en) Icon moving method and terminal
CN110502309B (en) Display control method and electronic equipment
CN111610904B (en) Icon arrangement method, electronic device and storage medium
CN110442279B (en) Message sending method and mobile terminal
CN109710155B (en) Information processing method and terminal equipment
CN109725789B (en) Application icon archiving method and terminal equipment
CN110795189A (en) Application starting method and electronic equipment
CN111399716A (en) Icon position adjusting method and electronic equipment
CN111142734B (en) Application icon processing method and electronic equipment
CN111352892B (en) Operation processing method and electronic equipment
CN110221741B (en) Icon management method and terminal equipment
CN109542307B (en) Image processing method, device and computer readable storage medium
CN108696642B (en) Method for arranging icons and mobile terminal
CN111459313B (en) Object control method, touch pen and electronic equipment
CN110531905B (en) Icon control method and terminal
CN110007821B (en) Operation method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200407