CN111026313B - Visual list sorting method and device - Google Patents

Visual list sorting method and device Download PDF

Info

Publication number
CN111026313B
CN111026313B CN201911296022.6A CN201911296022A CN111026313B CN 111026313 B CN111026313 B CN 111026313B CN 201911296022 A CN201911296022 A CN 201911296022A CN 111026313 B CN111026313 B CN 111026313B
Authority
CN
China
Prior art keywords
moved
moving
movement
cursor control
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911296022.6A
Other languages
Chinese (zh)
Other versions
CN111026313A (en
Inventor
刘蓣蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jiezi yuntu Space Technology Co.,Ltd.
Original Assignee
Shenzhen Jiezi Yuntu Space Technology 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 Shenzhen Jiezi Yuntu Space Technology Co ltd filed Critical Shenzhen Jiezi Yuntu Space Technology Co ltd
Priority to CN201911296022.6A priority Critical patent/CN111026313B/en
Publication of CN111026313A publication Critical patent/CN111026313A/en
Application granted granted Critical
Publication of CN111026313B publication Critical patent/CN111026313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

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 application discloses a visual list sorting method and a visual list sorting device, wherein after a PC receives a list sorting adjustment instruction triggered by cursor control equipment, a list sorting display object is switched to a first display state; acquiring a to-be-moved table item selected by cursor control equipment, and switching the to-be-moved table item to a first table item display state; after a first movement instruction triggered by the cursor control equipment is obtained, the table item to be moved is moved according to the first movement instruction, and after a stop instruction triggered by the cursor control equipment is obtained, the table item to be moved is stopped to be moved; and after receiving a list sorting stop instruction triggered by cursor control equipment, switching the list item to be moved to a second list item display state, and switching the list sorting display object to the second display state. Therefore, the change of the list sequencing caused by misoperation can be avoided, the safety of the list sequencing adjustment is ensured, and the accuracy of the list sequencing adjustment is improved.

Description

Visual list sorting method and device
Technical Field
The application relates to the technical field of computers, in particular to a visual list sorting method and device.
Background
With the development of Personal Computers (PCs), PCs have become common devices for users to entertain or work. The PC may be configured to sort some lists (e.g., a music list, a buddy list, a session list, a mail list, a to-do list, etc.) so that the user can quickly find a target entry (the target entry is an entry that the user wants to find) by using the sorted lists. However, how to accurately adjust the list ordering is still a technical problem to be solved.
Disclosure of Invention
In order to solve the technical problems in the prior art, the application provides a visual list ordering method and device, which can accurately adjust the list ordering.
In order to achieve the above purpose, the technical solutions provided in the embodiments of the present application are as follows:
the embodiment of the application provides a visual list sorting method, which is applied to a Personal Computer (PC), and comprises the following steps:
after a list sorting adjustment instruction triggered by cursor control equipment is received, switching the display state of a list sorting display object to a first display state;
acquiring a to-be-moved table item selected by cursor control equipment, and switching the display state of the to-be-moved table item to a first table item display state;
after a first movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction, and after a stop instruction triggered by the cursor control equipment is acquired, stopping moving the table item to be moved;
after a list sorting stop instruction triggered by cursor control equipment is received, the display state of the list item to be moved is switched to a second list item display state, and the display state of the list sorting display object is switched to the second display state.
Optionally, when the number of the to-be-moved table entries is at least two, before moving the to-be-moved table entry according to the first moving instruction, the method further includes:
and moving each table item to be moved to a target position, so that a preset distance is formed between adjacent table items to be moved in each table item to be moved.
Optionally, the moving the entry to be moved according to the first move instruction includes:
determining the moving speed of the table entry to be moved according to the first moving instruction; and/or determining the moving mode of the table entry to be moved according to the first moving instruction;
and moving the table entry to be moved according to the moving speed of the table entry to be moved and/or the moving mode of the table entry to be moved.
Optionally, the determining the moving speed of the entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control device;
and/or the presence of a gas in the gas,
the determining the moving mode of the table entry to be moved according to the first moving instruction includes: and determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction.
Optionally, the determining the moving speed of the to-be-moved table entry according to the sliding speed of the first moving instruction triggered by the cursor control device includes:
when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item;
when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed.
Optionally, the determining the movement mode of the to-be-moved entry according to the trigger position of the cursor control device triggering the first movement instruction includes:
when the trigger position of the cursor control device for triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is M1The grid is used as a moving unit to move downwards; wherein M is1Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is M2The grid is used as a moving unit to move upwards; wherein M is2Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item is M3Taking the grid as a moving unit; wherein M is3Is a positive integer.
Optionally, after the table entry to be moved stops moving, the method further includes:
and after a second movement instruction triggered by the cursor control equipment is acquired, moving the table item to be moved according to the second movement instruction.
Optionally, the method further includes:
after a first movement instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a first cursor display state;
and/or the presence of a gas in the gas,
and after a stop instruction triggered by the cursor control equipment is acquired, switching the display state of the cursor to a second cursor display state.
Optionally, when the first move instruction is a shortcut move instruction, the method further includes:
displaying the shortcut movement candidate item;
acquiring a target movement candidate item selected by cursor control equipment from the quick movement candidate items;
the moving the table entry to be moved according to the first moving instruction specifically includes:
and moving the table item to be moved according to the target movement candidate item.
Optionally, the shortcut movement candidate includes at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
The embodiment of the present application further provides a visual list sorting apparatus, including:
the first switching unit is used for switching the display state of the list sequencing display object to a first display state after receiving a list sequencing adjustment instruction triggered by the cursor control equipment;
the second switching unit is used for acquiring the to-be-moved table item selected by the cursor control equipment and switching the display state of the to-be-moved table item to the display state of the first table item;
the first sequencing unit is used for moving the to-be-moved table item according to a first movement instruction after the first movement instruction triggered by the cursor control device is obtained, and stopping moving the to-be-moved table item after a stopping instruction triggered by the cursor control device is obtained;
and the third switching unit is used for switching the display state of the to-be-moved table entry to the display state of the second table entry after receiving a list sorting stop instruction triggered by cursor control equipment, and switching the display state of the list sorting display object to the second display state.
An embodiment of the present application further provides an apparatus, where the apparatus includes a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to execute any implementation manner of the visual list sorting method provided by the embodiment of the application according to the computer program.
Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is used to execute any implementation manner of the visual list sorting method provided in the embodiments of the present application.
Compared with the prior art, the embodiment of the application has at least the following advantages:
in the visual list ordering method provided by the embodiment of the application, after a PC receives a list ordering adjustment instruction triggered by cursor control equipment, the display state of a list ordering display object is switched to a first display state, and after a to-be-moved list item selected by the cursor control equipment is obtained, the display state of the to-be-moved list item is switched to the first list item display state; after a first movement instruction triggered by the cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction so as to stop moving the table item to be moved after a stop instruction triggered by the cursor control equipment is acquired; and finally, after receiving a list sorting stop instruction triggered by cursor control equipment, switching the display state of the list item to be moved to a second list item display state, and switching the display state of the list sorting display object to the second display state.
The display state of the selected to-be-moved table entry in the list is different from the display state of the unselected table entry, so that the user can determine the selected table entry on the list page displayed by the mobile terminal according to the display state of the table entry, and the user can continue to add a new to-be-moved table entry or delete the existing to-be-moved table entry by means of cursor control equipment according to the user's will, so that the convenience and the accuracy of selecting the to-be-moved table entry by the user are improved, and the convenience and the accuracy of sorting and adjusting the list are improved. In addition, the selected to-be-moved table entry can be moved according to a movement instruction triggered by the user through the cursor control device, so that the user can adjust the sorting position of the to-be-moved table entry according to the sorting requirement of the user, and the convenience of list sorting is improved. In addition, the user can perform sorting adjustment on the list by means of the cursor control device only when the display state of the list sorting display object is in the first display state, so that the list sorting adjustment can only be performed in a special state, the change of the list sorting caused by misoperation (for example, the user unconsciously touches the cursor control device) can be avoided, the safety of the list sorting adjustment is ensured, and the accuracy of the list sorting adjustment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a visual list sorting method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a display page of the mobile terminal before a user triggers a list sorting adjustment instruction according to an embodiment of the present application;
fig. 3 is a schematic diagram of a display page of the mobile terminal after a user triggers a list sorting adjustment instruction according to an embodiment of the present application;
fig. 4 is a schematic diagram of a display page of the mobile terminal after a user selects an entry to be moved according to an embodiment of the present application;
fig. 5 is a flowchart of a first implementation manner of moving a table entry to be moved according to an embodiment of the present application;
fig. 6 is a flowchart of a second implementation manner of moving a table entry to be moved according to an embodiment of the present application;
fig. 7 is a flowchart of a third implementation manner of moving a table entry to be moved according to an embodiment of the present application;
fig. 8 is a schematic diagram of a display page of a mobile terminal after a user moves a to-be-moved entry according to an embodiment of the present application;
fig. 9 is a schematic diagram of a display page of the mobile terminal after a user triggers a list sorting stop instruction according to an embodiment of the present application;
fig. 10 is a flowchart of another implementation of a visualization list sorting method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a target location provided by an embodiment of the present application;
FIG. 12 is a schematic diagram of a list page after aggregation of multiple to-be-moved entries according to an embodiment of the present application;
fig. 13 is a schematic moving diagram of a plurality of aggregated entries to be moved according to an embodiment of the present application;
fig. 14 is a flowchart of yet another implementation manner of a visualization list sorting method according to an embodiment of the present application;
fig. 15 is a schematic diagram of a first cursor display state according to an embodiment of the present application;
fig. 16 is a schematic diagram of a shortcut movement candidate provided in an embodiment of the present application;
fig. 17 is a schematic diagram of target movement candidates according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a visual list sorting apparatus according to an embodiment of the present application.
Detailed Description
In order to solve the technical problem in the background art, an embodiment of the present application provides a visual list sorting method applied to a mobile terminal, where the method includes: after a list sorting adjustment instruction triggered by cursor control equipment is received, switching the display state of a list sorting display object to a first display state; acquiring a to-be-moved table item selected by cursor control equipment, and switching the display state of the to-be-moved table item to a first table item display state; after a first movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction, and after a stop instruction triggered by the cursor control equipment is acquired, stopping moving the table item to be moved; after a list sorting stop instruction triggered by cursor control equipment is received, the display state of the list item to be moved is switched to a second list item display state, and the display state of the list sorting display object is switched to the second display state.
The display state of the selected to-be-moved table entry in the list is different from the display state of the unselected table entry, so that the user can determine the selected table entry on the list page displayed by the mobile terminal according to the display state of the table entry, and the user can continue to add a new to-be-moved table entry or delete the existing to-be-moved table entry by means of cursor control equipment according to the user's will, so that the convenience and the accuracy of selecting the to-be-moved table entry by the user are improved, and the convenience and the accuracy of sorting and adjusting the list are improved. In addition, the selected to-be-moved table entry can be moved according to a movement instruction triggered by the user through the cursor control device, so that the user can adjust the sorting position of the to-be-moved table entry according to the sorting requirement of the user, and the convenience of list sorting is improved. In addition, the user can perform sorting adjustment on the list by means of the cursor control device only when the display state of the list sorting display object is in the first display state, so that the list sorting adjustment can only be performed in a special state, the change of the list sorting caused by misoperation (for example, the user unconsciously touches the cursor control device) can be avoided, the safety of the list sorting adjustment is ensured, and the accuracy of the list sorting adjustment is improved.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
Method embodiment one
Referring to fig. 1, the figure is a flowchart of a visual list sorting method provided in an embodiment of the present application.
The visual list sorting method provided by the embodiment of the application comprises the following steps of S1-S5:
s1: after receiving a list sorting adjustment instruction triggered by cursor control equipment, the PC switches the display state of a list sorting display object to a first display state.
The cursor control device refers to a device for controlling a cursor on a PC, and the embodiments of the present application do not limit the cursor control device, for example, the cursor control device includes a mouse, a touch pad, a keyboard, or other control devices capable of controlling a cursor.
The list ordering adjustment instruction refers to an instruction triggered by means of cursor control equipment on the PC when a user wants to adjust the list ordering; furthermore, the user can adjust the list ordering only after triggering a list ordering adjustment instruction by means of the cursor control device. It should be noted that the embodiment of the present application does not limit the manner in which the cursor control device triggers the list sorting adjustment instruction, for example, as shown in fig. 2, the cursor control device may trigger the list sorting adjustment instruction by clicking a list sorting display object on a list page of a PC.
The list sorting display object is a display object used for controlling whether to perform list sorting adjustment on a list page; furthermore, the embodiment of the present application does not limit the position of the list ordering display object on the list page (for example, the position is located in the upper right corner of the list page), the shape or the color of the list ordering display object, and other display information. In addition, the display form of the list sorting display object is not limited in the embodiments of the present application, for example, the list sorting display object may be displayed in a "button" form.
The first display state refers to a display state that the list sorting display object presents when the list sorting can be adjusted by the cursor control device. It should be noted that, in the embodiment of the present application, the cursor control device can adjust the list sorting only when the display state of the list sorting display object is in the first display state.
The first display state is not limited in the embodiment of the present application, and for example, as shown in fig. 3, the first display state may include that the display shape of the display object is rectangular, the display style of the display object is "stop", and the display color of the display object is dark gray. It should be noted that the embodiment of the present application does not limit the specific content of the display state (for example, the display state of the list sorting display object, the display state of the entry, or the display state of the cursor), and for example, the display state may include a display shape, a display color, a display typeface, and a display effect (for example, a bump and the like).
Based on the above, for ease of understanding and explanation of S1, the following description is made in conjunction with fig. 2 and 3.
Assume that the list page shown in fig. 2 is a PC display page before the cursor control device triggers the list sorting adjustment instruction, and the list page shown in fig. 3 is a PC display page after the cursor control device triggers the list sorting adjustment instruction. Based on this assumption, S1 may specifically be: when a user wants to sort the list pages shown in fig. 2 by using the cursor control device, the cursor control device may click the list sorting display object shown in fig. 2, so as to trigger the list sorting adjustment instruction. At this time, the PC receives a list sorting adjustment instruction triggered by the cursor control device, and switches the display state of the list sorting display object from the display state shown in fig. 2 to the display state shown in fig. 3, so as to inform the user that sorting adjustment can be performed on each entry in the list page shown in fig. 3 by means of the cursor control device.
S2: the method comprises the steps that a PC obtains a to-be-moved table item selected by cursor control equipment, and the display state of the to-be-moved table item is switched to a first table item display state.
The list item to be moved refers to the list item which is selected by the user through the cursor control device and needs to be subjected to sequencing position adjustment. For example, as shown in fig. 4, since the third entry, the fifth entry and the seventh entry are all selected by the cursor control device, the third entry, the fifth entry and the seventh entry are all entries to be moved.
In addition, the embodiment of the present application does not limit the selection manner of the to-be-moved entry, for example, the cursor control device may select the to-be-moved entry by clicking the entry.
The first list item display state refers to the display state presented by the selected list item in the list; also, the first entry display state is not limited in the embodiment of the present application, for example, as shown in the third entry, the fifth entry and the seventh entry in fig. 4, the first entry display state may include a convex state and a light gray display color.
Based on the above, for ease of understanding and explanation of S2, the following description is made in conjunction with fig. 3 and 4.
Assume that the list page shown in fig. 3 is a PC display page after the cursor control device triggers the list ordering adjustment instruction and before the cursor control device does not select the entry to be moved, and the first entry display state includes a convex state and a light gray display color. Based on this assumption, S2 may specifically be: when the user clicks the third entry on the list page shown in fig. 3 by means of the cursor control device, the PC acquires the third entry selected by the cursor control device and switches the third entry to the first entry display state shown in fig. 4; when the user clicks the fifth entry on the list page shown in fig. 3 by means of the cursor control device, the PC acquires the fifth entry selected by the cursor control device and switches the fifth entry to the first entry display state shown in fig. 4; when the user clicks the seventh entry on the list page shown in fig. 3 by means of the cursor control device, the PC acquires the seventh entry selected by the cursor control device and switches the seventh entry to the first entry display state shown in fig. 4.
Based on the above, in the embodiment of the present application, the display state of the to-be-moved entry selected by the cursor control device is switched to the first entry display state, so that the display state of the selected to-be-moved entry is different from the display state of the unselected entry in the list, and thus, the user can clearly and intuitively know the to-be-moved entry selected by the user from the list page, so that the user can continue to add a new to-be-moved entry or delete an existing to-be-moved entry by using the cursor control device according to the user's own intention, and thus, the convenience of list sorting can be improved.
S3: after acquiring a first movement instruction triggered by cursor control equipment, the PC moves the table item to be moved according to the first movement instruction.
The first moving instruction is an instruction triggered by the cursor control device for adjusting the sequencing position of the table item to be moved; in addition, the embodiment of the present application does not limit the triggering manner of the first movement instruction (for example, the triggering manner of the first movement instruction may be that the user presses the left button of the mouse to slide).
In the embodiment of the application, after the PC acquires the to-be-moved table item selected by the user through the cursor control device, the PC can detect whether the cursor control device triggers the movement instruction in real time, so that the to-be-moved table item is moved according to the first movement instruction after the PC acquires the first movement instruction triggered by the cursor control device. Therefore, the list items to be moved can be adjusted in the sorting position according to the self intention of the user, and the convenience of list sorting is improved.
In addition, the embodiment of the present application further provides a specific implementation manner of moving the entry to be moved (that is, performing an action "move the entry to be moved according to the first movement instruction"), and the following description is made with reference to three implementation manners.
As a first embodiment, as shown in fig. 5, the action of executing "move the entry to be moved according to the first movement instruction" may specifically include S3a1-S3a 2:
S3A 1: and determining the moving speed of the table entry to be moved according to the first moving instruction.
The moving speed is used for representing the change speed of the sorting position of the table entry to be moved.
In addition, the embodiment of the present application does not limit the basis for determining the moving speed of the entry to be moved, for example, the basis for determining is the sliding speed at which the cursor control device triggers the first instruction. Based on this, the present application example also provides an implementation manner of S3a1, in this implementation manner, S3a1 may specifically be: and determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control equipment.
In the embodiment of the application, when a user wants to quickly adjust the sorting position of the to-be-moved table entry, the user can control the cursor control device to quickly slide when the first movement instruction is triggered (for example, when the cursor control device is a mouse, the user can press a left mouse button to quickly move the mouse or quickly slide a mouse wheel), so that the sliding speed when the first movement instruction is triggered is high. Based on this, the sliding speed of the cursor control device triggering the first movement instruction is positively correlated with the movement speed of the table entry to be moved. Therefore, after the PC acquires the first movement instruction, the PC can determine the movement speed of the to-be-moved table item according to the sliding speed of the first movement instruction triggered by the cursor control device, so that the determined movement speed of the to-be-moved table item and the sliding speed of the first movement instruction triggered by the cursor control device are in a positive correlation relationship.
It should be noted that, the embodiment of the present application does not limit a positive correlation between the moving speed of the entry to be moved and the sliding speed at which the cursor control device triggers the first movement instruction. For example, the moving speed of the table entry to be moved is equal to a preset proportionality coefficient × the sliding speed at which the cursor control device triggers the first movement instruction.
In addition, the moving speed of the table entry to be moved can also be increased in a step manner along with the increase of the sliding speed of the cursor control device triggering the first moving instruction. For example, when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item; when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed. The preset speed threshold value can be set according to an application scene, and particularly can be set by a user according to the requirement of the user.
S3A 2: and moving the table entry to be moved according to the moving speed of the table entry to be moved.
In the first implementation manner of the execution action "move the entry to be moved according to the first movement instruction" provided in the embodiment of the present application, in this implementation manner, after the PC acquires the first movement instruction triggered by the cursor control device, the PC may determine the movement speed of the entry to be moved according to the first movement instruction, so that the PC can control the entry to be moved to move on the list page according to the movement speed of the entry to be moved. Therefore, the user can adjust the moving speed of the list items to be moved according to own will, and the convenience of the user in adjusting the list ordering is improved.
As a second embodiment, as shown in fig. 6, the action of "moving the entry to be moved according to the first movement instruction" may specifically include S3B1-S3B 2:
S3B 1: and determining the moving mode of the table entry to be moved according to the first moving instruction.
The moving mode is used for representing a change mode according to which the sorting position of the table items to be moved is changed; moreover, the movement pattern is not limited in the embodiments of the present application, for example, the movement pattern may include at least one of a table entry movement unit, a receiving parameter (e.g., a receiving distance or a receiving effect) between two adjacent movements, a display effect (e.g., a color change, a shape change, or a frame change) during the movement of the table entry, and the like.
When the movement pattern includes a table entry movement unit, an embodiment of the present application provides an implementation manner of S3B1, in this implementation manner, S3B1 may specifically be: and determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction.
The trigger position is the position used by the cursor control device to trigger the first movement instruction. The trigger position is not limited in the embodiment of the application, for example, the trigger position may be a "↓" key or a "↓" key on a keyboard, or a left key position, a right key position or a mouse wheel position on a mouse.
In this embodiment, after the PC acquires the first movement instruction triggered by the cursor control device, the PC may determine the movement mode of the to-be-moved entry according to a trigger position where the cursor control device triggers the first movement instruction, which may specifically include (1) to (3):
(1) when the trigger position of the cursor control device for triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is M1The grid is used as a moving unit to move downwards; wherein M is1Is a positive integer.
The first target position is not limited in the embodiment of the application, for example, the first target position may be "×" key on the keyboard. In addition, the embodiment of the present application is not limited to M1E.g. M1=1。
Based on the above, assume that the first target position is "↓" key on the keyboard, and M is equal to the "×" key on the keyboard11. Based on this assumption, the steps are specifically: when a user clicks the "×" key on the keyboard to trigger a first movement instruction, the table entry to be moved can be controlled to move upwards grid by grid. It should be noted that, in the embodiment of the present application, 1 grid refers to a distance of one table entry width.
(2) When the trigger position of the cursor control device for triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is M2The grid is used as a moving unit to move upwards; wherein M is2Is a positive integer.
The second target position is not limited in the embodiment of the application, for example, the second target position may be a key of "↓" on the keyboard. In addition, the embodiment of the present application is not limited to M2E.g. M2=1。
Based on the above, assume that the second target position is "↓" key on the keyboard, and M is21. Based on this assumption, the steps are specifically: when a user triggers a first movement instruction by clicking a key of "↓" on the keyboard, the table entry to be moved can be controlled to move downwards lattice by lattice.
(3) When the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item is M3Taking the grid as a moving unit; wherein M is3Is a positive integer.
The third target position is not limited in the embodiments of the present application, for example, the third target position may be a mouse wheel. In addition, the embodiment of the present application is not limited to M3E.g. M3=2。
Based on the above, assume that the third target position is a mouse wheel, and M is32. Based on this assumption, the steps are specifically: when a user triggers a first movement instruction by rolling a mouse wheel, the table item to be moved can be controlled to move downwards (or upwards) by taking two grids as a movement unit.
S3B 2: and moving the table entry to be moved according to the moving mode of the table entry to be moved.
In the second implementation manner of the execution action "move the entry to be moved according to the first movement instruction" provided in the embodiment of the present application, in this implementation manner, after the PC acquires the first movement instruction triggered by the cursor control device, the PC may determine the movement mode of the entry to be moved according to the first movement instruction, so that the PC can control the entry to be moved to move on the list page according to the movement mode. Therefore, the user can adjust the moving mode of the table items to be moved according to own will, and the convenience of the user in adjusting the list ordering is improved.
As a third embodiment, as shown in fig. 7, the step of executing the action "moving the entry to be moved according to the first movement instruction" may specifically include S3C1-S3C 3:
S3C 1: and determining the moving speed of the table entry to be moved according to the first moving instruction.
Note that the content of S3C1 is the same as that of S3a1, and please refer to S3a1 for technical details.
S3C 2: and determining the moving mode of the table entry to be moved according to the first moving instruction.
Note that the content of S3C2 is the same as that of S3B1, and please refer to S3B1 for technical details.
S3C 3: and moving the table entry to be moved according to the moving speed of the table entry to be moved and the moving mode of the table entry to be moved.
It should be noted that the execution order of S3C1 and S3C2 is not limited in the embodiments of the present application.
In the third implementation manner of the execution action "move the entry to be moved according to the first movement instruction" provided in the embodiment of the present application, in this implementation manner, after the PC acquires the first movement instruction triggered by the cursor control device, the PC may determine the movement speed and the movement mode of the entry to be moved according to the first movement instruction, so that the PC can control the entry to be moved to move on the list page according to the movement speed and the movement mode of the entry to be moved. Therefore, the user can adjust the moving speed and the moving mode of the list items to be moved according to own will, and the convenience of the user in adjusting the list ordering is improved.
S4: and after the PC acquires a stop instruction triggered by the cursor control equipment, stopping moving the table item to be moved.
The stop instruction refers to an instruction triggered by the cursor control device to stop adjusting the table entry to be moved; furthermore, the embodiment of the present application does not limit the triggering manner of the stop instruction (for example, the triggering manner of the stop instruction may be that the triggering position of the first movement instruction on the cursor control device is no longer pressed).
In the embodiment of the application, after the PC acquires a first movement instruction triggered by the cursor control device, the PC controls the to-be-moved table item to move according to the first movement instruction, so that after the PC acquires a stop instruction triggered by the user through the cursor control device, the PC controls the to-be-moved table item to stop moving according to the stop instruction triggered by the cursor control device. Therefore, the table items to be moved can be stopped from moving according to the intention of the user, and the control force of the user on the list sequencing is improved.
S5: after receiving a list sorting stop instruction triggered by cursor control equipment, the PC switches the display state of the list item to be moved to a second list item display state, and switches the display state of the list sorting display object to the second display state.
The list sorting stop instruction is an instruction triggered by means of cursor control equipment on the PC when the user does not want to continuously adjust the list sorting; moreover, after the cursor control device triggers the list sorting stop instruction, the user cannot adjust the list sorting by means of the cursor control device. It should be noted that the embodiment of the present application does not limit the manner of triggering the list sorting stop instruction triggered by the cursor control device, for example, as shown in fig. 8, the cursor control device may trigger the list sorting stop instruction by clicking a list sorting display object on a list page of the PC.
The second list item display state is the display state presented when the list item in the list can not move; also, the embodiment of the present application does not limit the second entry display state (for example, it may be the display states shown in the first entry to the eighth entry in fig. 9).
The second display state refers to a display state that the list sort display object appears when the list sort may not be adjusted by the cursor control device. It should be noted that, in the embodiment of the present application, when the display state of the list sorting display object is in the second display state, the cursor control device cannot adjust the list sorting.
The second display state is not limited in the embodiment of the application, for example, as shown in fig. 9, the second display state may include that the display shape of the display object is a rounded rectangle, the display typeface of the display object is "sort", and the display color of the display object is light gray.
Based on the above, for the convenience of understanding and explanation of S5, the following description is made in conjunction with fig. 8 and 9.
Assume that the list page shown in fig. 8 is a PC display page after the cursor control device moves the to-be-moved entry, the list page shown in fig. 9 is a PC display page after the cursor control device triggers the list sorting stop instruction, and the to-be-moved entry includes a third entry, a fifth entry, and a seventh entry. Based on this assumption, S5 may specifically be: after the cursor control device moves the third, fifth and seventh entries to the first entry, the user no longer presses the trigger position (e.g., the mouse wheel position) of the first movement instruction on the cursor control device to trigger the list sorting stop instruction, so that after receiving the list sorting stop instruction triggered by the cursor control device, the PC switches the display state of the third entry, the display state of the fifth entry and the display state of the seventh entry from the first entry display state shown in fig. 8 to the second entry display state shown in fig. 9; further, the display state of the list sort display object is also switched from the first display state shown in fig. 8 to the second display state shown in fig. 9.
It should be noted that, in the embodiment of the present application, an execution sequence of "switching the display state of the to-be-moved entry to the second entry display state" and "switching the display state of the list sorting display object to the second display state" is not limited.
In this embodiment, after the PC receives a list sorting adjustment instruction triggered by the cursor control device, the display state of the list sorting display object is first switched to the first display state, and after the to-be-moved list item selected by the cursor control device is obtained, the display state of the to-be-moved list item is switched to the first list item display state; after a first movement instruction triggered by the cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction so as to stop moving the table item to be moved after a stop instruction triggered by the cursor control equipment is acquired; and finally, after receiving a list sorting stop instruction triggered by cursor control equipment, switching the display state of the list item to be moved to a second list item display state, and switching the display state of the list sorting display object to the second display state.
The display state of the selected to-be-moved table entry in the list is different from the display state of the unselected table entry, so that the user can determine the selected table entry on the list page displayed by the mobile terminal according to the display state of the table entry, and the user can continue to add a new to-be-moved table entry or delete the existing to-be-moved table entry by means of cursor control equipment according to the user's will, so that the convenience and the accuracy of selecting the to-be-moved table entry by the user are improved, and the convenience and the accuracy of sorting and adjusting the list are improved. In addition, the selected to-be-moved table entry can be moved according to a movement instruction triggered by the user through the cursor control device, so that the user can adjust the sorting position of the to-be-moved table entry according to the sorting requirement of the user, and the convenience of list sorting is improved. In addition, the user can perform sorting adjustment on the list by means of the cursor control device only when the display state of the list sorting display object is in the first display state, so that the list sorting adjustment can only be performed in a special state, the change of the list sorting caused by misoperation (for example, the user unconsciously touches the cursor control device) can be avoided, the safety of the list sorting adjustment is ensured, and the accuracy of the list sorting adjustment is improved.
Method embodiment two
In addition, another implementation of the visual list sorting method is provided in the embodiments of the present application, as shown in fig. 10, in this implementation, the visual list sorting method further includes, in addition to steps S1-S5, S6:
s6: when the number of the items to be moved is at least two, the PC moves each item to be moved to the target position, so that the adjacent items to be moved in each item to be moved are separated by a preset distance.
The target position refers to a moving reference position when the items to be moved are gathered; moreover, the target position is not limited in the embodiment of the present application, for example, the target position may be a position where a middle table entry in the multiple table entries to be moved is located (for example, a position where a fifth table entry in fig. 11 is located), and at this time, other moving table entries are all moved to the middle table entry (for example, as shown in fig. 11, a third table entry and a seventh table entry are all moved to the fifth table entry).
The preset distance refers to the spacing distance between adjacent to-be-moved table items after the plurality of to-be-moved table items are gathered; the preset distance is not limited, and can be set according to an application scene, particularly according to the requirements of a user. For example, as shown in fig. 12, the preset distance is 0, at this time, after aggregation, the distance between the third entry and the fifth entry is 0, and the distance between the fifth entry and the seventh entry is 0.
Based on the above, after the PC obtains the to-be-moved entries selected by the cursor control device, if the number of the to-be-moved entries is at least two, the PC may first aggregate the to-be-moved entries before moving the to-be-moved entries according to the movement instruction triggered by the cursor control device, so that the aggregated to-be-moved entries may be controlled to move uniformly in the subsequent moving process. For example, after the PC obtains the third, fifth and seventh entries (as shown in fig. 4) selected by the cursor control device, the PC first moves the third and seventh entries to the position where the fifth entry is located (as shown in fig. 11), so that the third, fifth and seventh entries are finally gathered together (as shown in fig. 12), so that the subsequent PC can control the gathered third, fifth and seventh entries to move upward or downward together (as shown in fig. 13).
It should be noted that the embodiment of the present application is not limited to the execution time of S6, and S6 may be executed after "acquiring the to-be-moved entry selected by the cursor control device" is executed and before "moving the to-be-moved entry according to the first movement instruction" is executed, for example, as shown in fig. 10, S6 may be executed between S2 and S3.
In another implementation manner of the visual list ordering method provided in this embodiment of the present application, in this implementation manner, before the PC moves the entry to be moved according to the first move instruction, the PC may first aggregate a plurality of entries to be moved, so that the aggregated plurality of entries to be moved may be subsequently controlled to move together. Therefore, the purpose that the user simultaneously controls the plurality of table items to move according to own will is achieved, and convenience of the user in list sequencing is improved.
In addition, in some cases, since the cursor control device cannot move the entry to be moved to the destination by one-time moving operation, the cursor control device may move the entry to be moved to the destination by a plurality of moving operations. Based on this, the present application embodiment also provides another implementation manner of the visual list sorting method, as shown in fig. 14, in this implementation manner, the visual list sorting method further includes, in addition to S1-S5 or S1-S6, S7:
s7: after acquiring a second movement instruction triggered by the cursor control device, the PC moves the table item to be moved according to the second movement instruction.
The second movement instruction is an instruction which is triggered by the cursor control device for continuously adjusting the item to be moved after the cursor control device has adjusted the item to be moved at least once; in addition, the embodiment of the present application does not limit the triggering manner of the second movement instruction (for example, the triggering manner of the first movement instruction may be that the user presses the left button of the mouse to slide). In the embodiment of the present application, the relationship between the first movement command and the second movement command is not limited, and the first movement command and the second movement command may be the same or different.
It should be noted that S7 may adopt the specific implementation manner in S3, and only the "first movement command" in S3 needs to be replaced by the "second movement command", and please refer to S3 for technical details.
It should be noted that S7 can be used not only to execute the adjustment process of the cursor control device for adjusting the to-be-moved table entry for the second time, but also to execute the adjustment process of the cursor control device for adjusting the to-be-moved table entry for the nth time, where N ≧ 2.
In this embodiment, after the PC has performed at least one adjustment of the sorting position on the to-be-moved table entry according to the movement instruction triggered by the cursor control device, the PC may further continue to perform the adjustment of the sorting position on the to-be-moved table entry according to the movement instruction triggered by the cursor control device again, until the user determines that the to-be-moved table entry moves to the destination, the user no longer triggers the movement instruction with the help of the cursor control device, so that the PC no longer detects the movement instruction, and thus the PC no longer adjusts the sorting position of the to-be-moved table entry. Therefore, the purpose that the user adjusts the sequencing position of the list item to be moved by triggering the moving instruction for multiple times can be achieved, and the convenience of the user in adjusting the sequencing of the list is improved.
In addition, in some cases, in order to facilitate the user to accurately know that the item to be moved is in the process of moving, the cursor may be controlled to be in a special display state while the item to be moved is in the process. Based on this, an embodiment of the present application further provides another implementation of a visual list sorting method, in this implementation, the visual list sorting method may further include, in addition to the above steps: after a first movement instruction triggered by the cursor control device is acquired, the display state of the cursor is switched to a first cursor display state, and after a stop instruction triggered by the cursor control device is acquired, the display state of the cursor is switched to a second cursor display state.
The first cursor display state is a display state presented by the cursor when the table item to be moved is in the moving state; also, the present embodiment does not limit the first cursor display state, and for example, the first cursor display state may be a display state of a cursor shown in fig. 15.
The second cursor display state is the display state presented by the cursor when the table item to be moved is in the static state; also, the present embodiment does not limit the second cursor display state, and for example, the second cursor display state may be a display state of a cursor shown in fig. 4.
Based on the above, in another implementation manner of the visual list sorting method provided in the embodiment of the present application, after a first movement instruction triggered by the cursor control device is obtained, the cursor on the PC may be switched to a first cursor display state (such as the cursor display state shown in fig. 15), so that the display state of the cursor when the to-be-moved entry is in the movement state is different from the display state of the cursor when the to-be-moved entry is in the non-movement state, and thus, the user can know whether the to-be-moved entry is in the movement state through the display state of the cursor, which is beneficial to improving convenience of adjusting list sorting by the user.
In addition, in some cases, in order to improve the efficiency of list sorting, the user may directly set the position information of the to-be-moved table entry, based on which, the embodiment of the present application further provides another implementation manner of the visual list sorting method, and in this implementation manner, the visual list sorting method may further include, in addition to the above steps: when the first moving instruction is a quick moving instruction, displaying quick moving candidate items; and acquiring a target movement candidate selected by the cursor control device from the shortcut movement candidates.
The quick moving instruction refers to a control instruction for controlling the quick movement of the table entry to be moved by the PC; moreover, the embodiment of the application does not limit the triggering manner of the shortcut movement instruction (for example, the shortcut movement instruction may be triggered by a user clicking a right mouse button).
The quick movement candidate item refers to an item capable of controlling the item to be moved to move quickly; also, the shortcut movement candidate is not limited in the embodiments of the present application, and for example, the shortcut movement candidate may include at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
It should be noted that, the embodiment of the present application does not limit the obtaining manner of the target location, and may be input by a user or selected from alternative location options by the user. The target lattice number is not limited in the embodiment of the application, and the target lattice number can be input by a user or selected from alternative mobile lattice number options by the user.
In addition, the embodiment of the present application does not limit the manner of representing the shortcut movement candidate, for example, as shown in fig. 16, the shortcut movement candidate may be displayed in a list form.
The target movement candidate refers to a candidate selected by the user from the quick movement candidates by means of the cursor control device. For example, as shown in fig. 17, when the user selects "set bottom", the target movement candidate is "set bottom".
Based on the above, after the user selects the item to be moved by means of the cursor control device, the user may trigger the shortcut movement instruction by means of the cursor control device, and the shortcut movement candidate is displayed on the PC (as shown in fig. 16), so that after the user selects the target movement candidate by means of the cursor control device (as shown in fig. 17), the PC controls the item to be moved to the destination (for example, "bottom of list") rapidly according to the target movement candidate. Based on this, in this embodiment, the action "moving the entry to be moved according to the first movement instruction" may specifically be: and moving the table item to be moved according to the target movement candidate item.
In the above still another implementation manner of the visual list sorting method provided by the embodiment of the present application, because the shortcut movement candidate item exists on the PC, the user can quickly move the to-be-moved list item by selecting the shortcut movement candidate item, so that the moving speed of the to-be-moved list item can be increased, which is beneficial to improving the convenience of the user in adjusting the list sorting.
Based on any implementation manner of the visual list sorting method provided by the above method embodiment, an embodiment of the present application further provides a visual list sorting device, which is explained and explained below with reference to the accompanying drawings.
Device embodiment
For technical details of the visual list sorting apparatus provided in the apparatus embodiment, please refer to the method embodiment.
Referring to fig. 18, the view is a schematic structural diagram of a visual list sorting apparatus provided in an embodiment of the present application.
The visual list sorting device 180 provided in the embodiment of the present application includes:
a first switching unit 151, configured to switch a display state of a list sorting display object to a first display state after receiving a list sorting adjustment instruction triggered by a cursor control device;
a second switching unit 152, configured to obtain a to-be-moved entry selected by a cursor control device, and switch a display state of the to-be-moved entry to a first entry display state;
the first sequencing unit 153 is configured to, after a first movement instruction triggered by the cursor control device is obtained, move the to-be-moved table item according to the first movement instruction, and after a stop instruction triggered by the cursor control device is obtained, stop moving the to-be-moved table item;
the third switching unit 154 is configured to switch the display state of the to-be-moved entry to the second entry display state after receiving a list sorting stop instruction triggered by the cursor control device, and switch the display state of the list sorting display object to the second display state.
In a possible embodiment, to improve convenience of list sorting, the apparatus 150 further includes:
and the selected table item aggregation unit is used for moving each table item to be moved to the target position when the number of the table items to be moved is at least two, so that a preset distance is formed between adjacent table items to be moved in each table item to be moved.
As a possible implementation manner, in order to improve convenience of list sorting, the first sorting unit 153 includes:
the moving speed determining subunit is configured to determine, according to the first moving instruction, a moving speed of the entry to be moved;
and/or the presence of a gas in the gas,
a moving mode determining subunit, configured to determine a moving mode of the to-be-moved table entry according to the first moving instruction;
and the selected table item moving subunit is used for moving the table item to be moved according to the moving speed of the table item to be moved and/or the moving mode of the table item to be moved.
As a possible implementation manner, in order to improve convenience of list sorting, the moving speed determining subunit is specifically configured to: determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control device;
and/or the presence of a gas in the gas,
the movement pattern determining subunit is specifically configured to: and determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction.
As a possible implementation manner, in order to improve convenience of list sorting, the moving speed determining subunit is specifically configured to:
when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item;
when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed.
As a possible implementation manner, in order to improve convenience of list sorting, the moving pattern determining subunit is specifically configured to:
when the trigger position of the cursor control device for triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is M1The grid is used as a moving unit to move downwards; wherein M is1Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is M2The grid is used as a moving unit to move upwards; wherein M is2Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item is M3Taking the grid as a moving unit; wherein M is3Is a positive integer.
In a possible embodiment, in order to improve convenience of list sorting, the apparatus 150 further includes:
and the second sequencing unit is used for moving the table item to be moved according to a second movement instruction after the second movement instruction triggered by the cursor control device is acquired.
In a possible embodiment, in order to improve convenience of list sorting, the apparatus 150 further includes:
the fourth switching unit is used for switching the display state of the cursor to the first cursor display state after the first movement instruction triggered by the cursor control equipment is acquired;
and the fifth switching unit is used for switching the display state of the cursor to the second cursor display state after the stop instruction triggered by the cursor control device is acquired.
In a possible embodiment, in order to improve convenience of list sorting, the apparatus 150 further includes:
the shortcut item display unit is used for displaying shortcut movement candidate items when the first movement instruction is a shortcut movement instruction;
a shortcut item selection unit for acquiring a target movement candidate item selected by a cursor control device from the shortcut movement candidate items;
the first sorting unit 153 includes: and the quick moving subunit is used for moving the table entry to be moved according to the target movement candidate item.
In one possible embodiment, to improve the convenience of sorting the list, the shortcut movement candidate includes at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
In this embodiment, after receiving a list sorting adjustment instruction triggered by the cursor control device, the display state of the list sorting display object is first switched to the first display state, and after obtaining the to-be-moved list item selected by the cursor control device, the display state of the to-be-moved list item is switched to the first list item display state; after a first movement instruction triggered by the cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction so as to stop moving the table item to be moved after a stop instruction triggered by the cursor control equipment is acquired; and finally, after receiving a list sorting stop instruction triggered by cursor control equipment, switching the display state of the list item to be moved to a second list item display state, and switching the display state of the list sorting display object to the second display state.
The display state of the selected to-be-moved table entry in the list is different from the display state of the unselected table entry, so that the user can determine the selected table entry on the list page displayed by the mobile terminal according to the display state of the table entry, and the user can continue to add a new to-be-moved table entry or delete the existing to-be-moved table entry by means of cursor control equipment according to the user's will, so that the convenience and the accuracy of selecting the to-be-moved table entry by the user are improved, and the convenience and the accuracy of sorting and adjusting the list are improved. In addition, the selected to-be-moved table entry can be moved according to a movement instruction triggered by the user through the cursor control device, so that the user can adjust the sorting position of the to-be-moved table entry according to the sorting requirement of the user, and the convenience of list sorting is improved. In addition, the user can perform sorting adjustment on the list by means of the cursor control device only when the display state of the list sorting display object is in the first display state, so that the list sorting adjustment can only be performed in a special state, the change of the list sorting caused by misoperation (for example, the user unconsciously touches the cursor control device) can be avoided, the safety of the list sorting adjustment is ensured, and the accuracy of the list sorting adjustment is improved.
In addition, an embodiment of the present application further provides an apparatus, where the apparatus includes a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to execute any implementation of the visual list sorting method provided by the foregoing method embodiment according to the computer program, and may specifically be configured to execute the following steps:
after a list sorting adjustment instruction triggered by cursor control equipment is received, switching the display state of a list sorting display object to a first display state;
acquiring a to-be-moved table item selected by cursor control equipment, and switching the display state of the to-be-moved table item to a first table item display state;
after a first movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction, and after a stop instruction triggered by the cursor control equipment is acquired, stopping moving the table item to be moved;
after a list sorting stop instruction triggered by cursor control equipment is received, the display state of the list item to be moved is switched to a second list item display state, and the display state of the list sorting display object is switched to the second display state.
Optionally, when the number of the to-be-moved table entries is at least two, before moving the to-be-moved table entry according to the first moving instruction, the method further includes:
and moving each table item to be moved to a target position, so that a preset distance is formed between adjacent table items to be moved in each table item to be moved.
Optionally, the moving the entry to be moved according to the first move instruction includes:
determining the moving speed of the table entry to be moved according to the first moving instruction; and/or determining the moving mode of the table entry to be moved according to the first moving instruction;
and moving the table entry to be moved according to the moving speed of the table entry to be moved and/or the moving mode of the table entry to be moved.
Optionally, the determining the moving speed of the entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control device;
and/or the presence of a gas in the gas,
the determining the moving mode of the table entry to be moved according to the first moving instruction includes: and determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction.
Optionally, the determining the moving speed of the to-be-moved table entry according to the sliding speed of the first moving instruction triggered by the cursor control device includes:
when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item;
when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed.
Optionally, the determining the movement mode of the to-be-moved entry according to the trigger position of the cursor control device triggering the first movement instruction includes:
when the trigger position of the cursor control device for triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is M1The grid is used as a moving unit to move downwards; wherein M is1Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is M2The grid is used as a moving unit to move upwards; wherein M is2Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item is M3Taking the grid as a moving unit; wherein M is3Is a positive integer.
Optionally, after the table entry to be moved stops moving, the method further includes:
and after a second movement instruction triggered by the cursor control equipment is acquired, moving the table item to be moved according to the second movement instruction.
Optionally, the method further includes:
after a first movement instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a first cursor display state;
and/or the presence of a gas in the gas,
and after a stop instruction triggered by the cursor control equipment is acquired, switching the display state of the cursor to a second cursor display state.
Optionally, when the first move instruction is a shortcut move instruction, the method further includes:
displaying the shortcut movement candidate item;
acquiring a target movement candidate item selected by cursor control equipment from the quick movement candidate items;
the moving the table entry to be moved according to the first moving instruction specifically includes:
and moving the table item to be moved according to the target movement candidate item.
Optionally, the shortcut movement candidate includes at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is used to execute any implementation of the visual list sorting method provided in the foregoing method embodiment, and may specifically be used to execute the following steps:
after a list sorting adjustment instruction triggered by cursor control equipment is received, switching the display state of a list sorting display object to a first display state;
acquiring a to-be-moved table item selected by cursor control equipment, and switching the display state of the to-be-moved table item to a first table item display state;
after a first movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction, and after a stop instruction triggered by the cursor control equipment is acquired, stopping moving the table item to be moved;
after a list sorting stop instruction triggered by cursor control equipment is received, the display state of the list item to be moved is switched to a second list item display state, and the display state of the list sorting display object is switched to the second display state.
Optionally, when the number of the to-be-moved table entries is at least two, before moving the to-be-moved table entry according to the first moving instruction, the method further includes:
and moving each table item to be moved to a target position, so that a preset distance is formed between adjacent table items to be moved in each table item to be moved.
Optionally, the moving the entry to be moved according to the first move instruction includes:
determining the moving speed of the table entry to be moved according to the first moving instruction; and/or determining the moving mode of the table entry to be moved according to the first moving instruction;
and moving the table entry to be moved according to the moving speed of the table entry to be moved and/or the moving mode of the table entry to be moved.
Optionally, the determining the moving speed of the entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control device;
and/or the presence of a gas in the gas,
the determining the moving mode of the table entry to be moved according to the first moving instruction includes: and determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction.
Optionally, the determining the moving speed of the to-be-moved table entry according to the sliding speed of the first moving instruction triggered by the cursor control device includes:
when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item;
when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed.
Optionally, the determining the movement mode of the to-be-moved entry according to the trigger position of the cursor control device triggering the first movement instruction includes:
when the trigger position of the cursor control device for triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is M1The grid is used as a moving unit to move downwards; wherein M is1Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is M2The grid is used as a moving unit to move upwards; wherein M is2Is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item is M3Taking the grid as a moving unit; wherein M is3Is a positive integer.
Optionally, after the table entry to be moved stops moving, the method further includes:
and after a second movement instruction triggered by the cursor control equipment is acquired, moving the table item to be moved according to the second movement instruction.
Optionally, the method further includes:
after a first movement instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a first cursor display state;
and/or the presence of a gas in the gas,
and after a stop instruction triggered by the cursor control equipment is acquired, switching the display state of the cursor to a second cursor display state.
Optionally, when the first move instruction is a shortcut move instruction, the method further includes:
displaying the shortcut movement candidate item;
acquiring a target movement candidate item selected by cursor control equipment from the quick movement candidate items;
the moving the table entry to be moved according to the first moving instruction specifically includes:
and moving the table item to be moved according to the target movement candidate item.
Optionally, the shortcut movement candidate includes at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner. Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Those skilled in the art can make numerous possible variations and modifications to the present teachings, or modify equivalent embodiments to equivalent variations, without departing from the scope of the present teachings, using the methods and techniques disclosed above. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (4)

1. A visual list sorting method applied to a personal computer PC, the method comprising:
after a list sorting adjustment instruction triggered by cursor control equipment is received, switching the display state of a list sorting display object to a first display state;
acquiring a to-be-moved table item selected by cursor control equipment, and switching the display state of the to-be-moved table item to a first table item display state;
after a first movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the first movement instruction, and after a stop instruction triggered by the cursor control equipment is acquired, stopping moving the table item to be moved;
after a list sorting stop instruction triggered by cursor control equipment is received, switching the display state of the list item to be moved to a second list item display state, and switching the display state of the list sorting display object to the second display state;
the moving the table entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the first moving instruction; and/or determining the moving mode of the table entry to be moved according to the first moving instruction; moving the table entry to be moved according to the moving speed of the table entry to be moved and/or the moving mode of the table entry to be moved;
the determining the moving speed of the table entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control device; and/or, the determining the moving mode of the table entry to be moved according to the first moving instruction includes: determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction;
the determining the moving speed of the to-be-moved table entry according to the sliding speed of the first moving instruction triggered by the cursor control device includes:
when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item; when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed;
the determining the movement mode of the to-be-moved table entry according to the trigger position of the cursor control device triggering the first movement instruction includes:
when the trigger position of the cursor control device triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is downward movement by taking M1 grids as a movement unit; wherein M1 is a positive integer;
when the trigger position of the cursor control device triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is to move upwards by taking M2 grids as a movement unit; wherein M2 is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item takes M3 grids as a movement unit; wherein M3 is a positive integer;
when the first move instruction is a shortcut move instruction, the method further comprises: displaying the shortcut movement candidate item; acquiring a target movement candidate item selected by cursor control equipment from the quick movement candidate items; the moving the table entry to be moved according to the first moving instruction specifically includes: moving the table item to be moved according to the target movement candidate item;
when the number of the to-be-moved table entries is at least two, before moving the to-be-moved table entry according to the first moving instruction, the method further includes: moving each table entry to be moved to a target position, so that a preset distance is formed between adjacent table entries to be moved in each table entry to be moved;
after the table entry to be moved stops moving, the method further includes: after a second movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the second movement instruction;
after a first movement instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a first cursor display state;
after a stop instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a second cursor display state;
the shortcut movement candidate item includes at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
2. A visual list sorting apparatus, comprising:
the first switching unit is used for switching the display state of the list sequencing display object to a first display state after receiving a list sequencing adjustment instruction triggered by the cursor control equipment;
the second switching unit is used for acquiring the to-be-moved table item selected by the cursor control equipment and switching the display state of the to-be-moved table item to the display state of the first table item;
the first sequencing unit is used for moving the to-be-moved table item according to a first movement instruction after the first movement instruction triggered by the cursor control device is obtained, and stopping moving the to-be-moved table item after a stopping instruction triggered by the cursor control device is obtained;
the third switching unit is used for switching the display state of the list item to be moved to the display state of the second list item and switching the display state of the list sequencing display object to the second display state after receiving a list sequencing stop instruction triggered by cursor control equipment;
the moving the table entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the first moving instruction; and/or determining the moving mode of the table entry to be moved according to the first moving instruction; moving the table entry to be moved according to the moving speed of the table entry to be moved and/or the moving mode of the table entry to be moved;
the determining the moving speed of the table entry to be moved according to the first moving instruction includes: determining the moving speed of the table entry to be moved according to the sliding speed of the first moving instruction triggered by the cursor control device; and/or, the determining the moving mode of the table entry to be moved according to the first moving instruction includes: determining the movement mode of the table entry to be moved according to the trigger position of the cursor control device for triggering the first movement instruction;
the determining the moving speed of the to-be-moved table entry according to the sliding speed of the first moving instruction triggered by the cursor control device includes:
when the sliding speed of the first movement instruction triggered by the cursor control device exceeds a preset speed threshold, taking the first speed as the movement speed of the to-be-moved table item; when the sliding speed of the first movement instruction triggered by the cursor control device does not exceed a preset speed threshold, taking a second speed as the movement speed of the item to be moved; wherein the first speed is greater than the second speed;
the determining the movement mode of the to-be-moved table entry according to the trigger position of the cursor control device triggering the first movement instruction includes:
when the trigger position of the cursor control device triggering the first movement instruction is a first target position, determining that the movement mode of the to-be-moved table item is downward movement by taking M1 grids as a movement unit; wherein M1 is a positive integer;
when the trigger position of the cursor control device triggering the first movement instruction is a second target position, determining that the movement mode of the to-be-moved table item is to move upwards by taking M2 grids as a movement unit; wherein M2 is a positive integer;
when the trigger position of the cursor control device for triggering the first movement instruction is a third target position, determining that the movement mode of the to-be-moved table item takes M3 grids as a movement unit; wherein M3 is a positive integer;
the shortcut item display unit is used for displaying shortcut movement candidate items when the first movement instruction is a shortcut movement instruction; a shortcut item selection unit for acquiring a target movement candidate item selected by a cursor control device from the shortcut movement candidate items;
a first sequencing unit comprising: the quick moving subunit is used for moving the table entry to be moved according to the target movement candidate item;
when the number of the to-be-moved table entries is at least two, before moving the to-be-moved table entry according to the first moving instruction, the method further includes: moving each table entry to be moved to a target position, so that a preset distance is formed between adjacent table entries to be moved in each table entry to be moved;
after the table entry to be moved stops moving, the method further includes: after a second movement instruction triggered by cursor control equipment is acquired, moving the table item to be moved according to the second movement instruction;
after a first movement instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a first cursor display state;
after a stop instruction triggered by cursor control equipment is acquired, switching the display state of a cursor to a second cursor display state;
the shortcut movement candidate item includes at least one of moving to the top of the list, moving to the bottom of the list, moving to a target position in the list, moving up to a target lattice number, and moving down to the target lattice number.
3. An apparatus, comprising a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to perform the method of claim 1 in accordance with the computer program.
4. A computer-readable storage medium for storing a computer program for performing the method of claim 1.
CN201911296022.6A 2019-12-16 2019-12-16 Visual list sorting method and device Active CN111026313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911296022.6A CN111026313B (en) 2019-12-16 2019-12-16 Visual list sorting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911296022.6A CN111026313B (en) 2019-12-16 2019-12-16 Visual list sorting method and device

Publications (2)

Publication Number Publication Date
CN111026313A CN111026313A (en) 2020-04-17
CN111026313B true CN111026313B (en) 2021-01-22

Family

ID=70210950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911296022.6A Active CN111026313B (en) 2019-12-16 2019-12-16 Visual list sorting method and device

Country Status (1)

Country Link
CN (1) CN111026313B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008779A (en) * 2022-04-29 2023-11-07 北京有竹居网络技术有限公司 Interface layout adjustment method, device, equipment, storage medium and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135879A (en) * 2010-01-21 2011-07-27 深圳市华普电子技术有限公司 Method for intelligently modifying electronic device operating interface
CN102314297A (en) * 2010-07-07 2012-01-11 腾讯科技(深圳)有限公司 Window object inertia displacement method and realizing device
CN102375665A (en) * 2010-08-20 2012-03-14 中国移动通信集团公司 Icon moving method and device
CN102510420A (en) * 2011-09-30 2012-06-20 北京风灵创景科技有限公司 Method for quickly performing unified operation on multiple desktop elements in mobile terminal
CN102549931A (en) * 2009-10-06 2012-07-04 三星电子株式会社 List-editing method and mobile device adapted thereto
CN105677136A (en) * 2014-11-20 2016-06-15 珠海金山办公软件有限公司 Icon sorting method and device
CN107924249A (en) * 2015-08-10 2018-04-17 苹果公司 For content navigation and the equipment, method and the graphic user interface that manipulate
CN107943376A (en) * 2017-10-31 2018-04-20 浙江慧脑信息科技有限公司 A kind of message object list display method
CN109240500A (en) * 2016-09-06 2019-01-18 苹果公司 For providing the equipment, method and graphic user interface of touch feedback

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294348A (en) * 2013-06-27 2013-09-11 深圳Tcl新技术有限公司 List type menu display control method and device and television
CN106412205B (en) * 2016-11-28 2019-04-23 北京小米移动软件有限公司 Contact sequencing method and device, terminal device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549931A (en) * 2009-10-06 2012-07-04 三星电子株式会社 List-editing method and mobile device adapted thereto
CN102135879A (en) * 2010-01-21 2011-07-27 深圳市华普电子技术有限公司 Method for intelligently modifying electronic device operating interface
CN102314297A (en) * 2010-07-07 2012-01-11 腾讯科技(深圳)有限公司 Window object inertia displacement method and realizing device
CN102375665A (en) * 2010-08-20 2012-03-14 中国移动通信集团公司 Icon moving method and device
CN102510420A (en) * 2011-09-30 2012-06-20 北京风灵创景科技有限公司 Method for quickly performing unified operation on multiple desktop elements in mobile terminal
CN105677136A (en) * 2014-11-20 2016-06-15 珠海金山办公软件有限公司 Icon sorting method and device
CN107924249A (en) * 2015-08-10 2018-04-17 苹果公司 For content navigation and the equipment, method and the graphic user interface that manipulate
CN109240500A (en) * 2016-09-06 2019-01-18 苹果公司 For providing the equipment, method and graphic user interface of touch feedback
CN107943376A (en) * 2017-10-31 2018-04-20 浙江慧脑信息科技有限公司 A kind of message object list display method

Also Published As

Publication number Publication date
CN111026313A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
US10649651B2 (en) Information processing apparatus, program, and operation control method
CN102722334B (en) The control method of touch screen and device
CN103914260B (en) Control method and device for operation object based on touch screen
EP4016273A1 (en) Side toolbar display method and device, terminal, and storage medium
KR20080073869A (en) Terminal and method for displaying menu
KR20140136500A (en) Touch screen hover input handling
CN105378635A (en) Multi-region touchpad
JP6022807B2 (en) Information processing program, information processing apparatus, information processing system, and information processing control method
CN104850660A (en) Picture displaying method, picture displaying device and mobile terminal
US20160162149A1 (en) Mobile electronic device, method for displaying user interface, and recording medium thereof
CN104364734A (en) Remote session control using multi-touch inputs
WO2014056338A1 (en) Method and device for interaction of list data of mobile terminal
CN107066176A (en) A kind of control method and device of the singlehanded pattern of terminal
US9244564B2 (en) Information processing apparatus touch panel display and control method therefor
CN106095227A (en) Desktop wallpaper changing method and device
CN111026313B (en) Visual list sorting method and device
KR101459447B1 (en) Method for selecting items using a touch screen and system thereof
WO2013101371A1 (en) Apparatus and method for automatically controlling display screen density
JP2015148857A (en) Information browsing device, object selection control program, and object selection control method
CN111083287B (en) Visual list sorting method and device
CN104951293B (en) The key response method and mobile terminal of a kind of mobile terminal
CN105892897A (en) Terminal operation method and equipment
KR102438823B1 (en) Method and Apparatus for executing function for plural items on list
CN109976652B (en) Information processing method and electronic equipment
JP6863918B2 (en) Control programs, control methods and information processing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TA01 Transfer of patent application right

Effective date of registration: 20210112

Address after: 518052 26f2602, cable information transmission building, 3369 Binhai Avenue, Haizhu community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Jiezi yuntu Space Technology Co.,Ltd.

Address before: No.103, no.1003, Nanxin Road, Nanshan community, Nanshan street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Jizhi Digital Technology Co.,Ltd.

TA01 Transfer of patent application right