WO2023045927A1 - Object moving method and electronic device - Google Patents

Object moving method and electronic device Download PDF

Info

Publication number
WO2023045927A1
WO2023045927A1 PCT/CN2022/119918 CN2022119918W WO2023045927A1 WO 2023045927 A1 WO2023045927 A1 WO 2023045927A1 CN 2022119918 W CN2022119918 W CN 2022119918W WO 2023045927 A1 WO2023045927 A1 WO 2023045927A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
input
interface
height
desktop
Prior art date
Application number
PCT/CN2022/119918
Other languages
French (fr)
Chinese (zh)
Inventor
肖瑶
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023045927A1 publication Critical patent/WO2023045927A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application belongs to the field of display technology, and in particular relates to an object moving method and electronic equipment.
  • terminal desktops are becoming more and more diverse, and moving objects (for example, application icons, widgets, etc.) to designated locations or folders on the desktop is a basic interactive function of the desktop.
  • objects for example, application icons, widgets, etc.
  • the desktop generally includes multiple pages that can be switched and displayed for placing the objects of the terminal.
  • you want to move to the target position On the same page of the desktop that is different from the location of the target object, you need to swipe the screen left and right to find the target object first, and then perform a moving operation to move across pages to the target location. This will easily lead to poor efficiency in moving the target object to the target location.
  • the purpose of the embodiments of the present application is to provide an object moving method and an electronic device, which can solve the problem of poor object moving efficiency.
  • the embodiment of the present application provides a method for moving an object, the method comprising:
  • the embodiment of the present application provides an object moving device, the device includes:
  • a first display module configured to display a first control on the desktop
  • a second display module configured to receive a first input to the first control, and display a target interface on the desktop, where the target interface includes a plurality of objects;
  • a first receiving module configured to receive a second input of a target object in the plurality of objects
  • a moving module configured to move the target object to a target position corresponding to the second input in response to the second input.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an electronic device configured to execute the steps of the method described in the first aspect.
  • the object moving method of this embodiment there is no need to switch pages on the desktop to search for the object to be moved and then move it.
  • the first control is displayed on the desktop, and the target interface can be displayed by performing a first input on the first control. , performing a second input on the target object that needs to be moved in the target interface, the target object can be moved to the target position corresponding to the second input, thus, the efficiency of object movement can be improved.
  • Fig. 1 is one of the flowcharts of the object moving method provided by the embodiment of the present application.
  • FIG. 2 is one of the interface diagrams of the terminal provided by the embodiment of the present application.
  • FIG. 3 is the second interface diagram of the terminal provided by the embodiment of the present application.
  • Fig. 4 is the third interface diagram of the terminal provided by the embodiment of the present application.
  • FIG. 5 is the fourth interface diagram of the terminal provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of an object moving device provided by an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • the present application provides an object moving method of an embodiment, the method includes:
  • Step 101 Display the first control on the desktop.
  • the method for moving an object in the embodiments of the present application may be executed by a terminal, and a first control may be displayed on a desktop of the terminal.
  • the first control may be an add library button or the like.
  • an eighth input to the desktop may be received, and in response to the eighth input, the desktop is adjusted to an editing state, and the first widget is displayed on the desktop.
  • the eighth input is not limited in this implementation, for example, it may be a long-press input on a blank area of the desktop, or a two-finger pinch input on the desktop.
  • Step 102 Receive a first input to the first control, and display a target interface on the desktop, where the target interface includes multiple objects.
  • the first input is not limited in this implementation, for example, it may be a click input or the like.
  • Displaying the target interface on the desktop can be understood as superimposing and displaying a target interface on the desktop.
  • the area of the target interface is smaller than the area of the desktop.
  • the object in this embodiment may be at least one of an application icon and a widget, that is, multiple objects may include at least one application icon and/or at least one widget.
  • the above multiple objects may be objects contained in a database, for example, the database may be understood as an add library, that is, the objects therein are objects that can be added to the desktop.
  • Step 103 Receive a second input of a target object among the multiple objects
  • the target object may be a target application icon or a target widget
  • the second input is not limited in this embodiment, for example, the second input may be a drag input on the target object, and the like.
  • Step 104 In response to the second input, move the target object to a target position corresponding to the second input.
  • the target position may be the end position of the second input, etc.
  • the target object may be moved to the target position on the desktop in response to the second input to realize the movement of the target object.
  • the target location corresponding to the second input is not in the target interface, but is a certain location on the desktop or a certain location in a certain folder on the desktop.
  • the object moving method of this embodiment there is no need to switch pages on the desktop to search for the object to be moved and then move it.
  • the first control is displayed on the desktop, and the target interface can be displayed by performing a first input on the first control. , performing a second input on the target object to be moved in the target interface, the target object can be moved to the target position corresponding to the second input, thus, the efficiency of object movement can be improved.
  • the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction
  • the target sliding distance of is to increase the height of the target interface in the first direction by the target sliding distance
  • the first sliding distance is the sliding distance of the third input on the screen of the terminal
  • the third input is used to increase the height of the target interface in the first direction
  • the damping coefficient is greater than 0 and less than 1.
  • the height of the target interface displayed on the desktop in the first direction of the desktop is smaller than the height of the desktop in the first direction, so that the target interface will not completely block the desktop, so that the target object Move to desktop.
  • the height of the display interface can be adjusted through the third input. If the height of the target interface in the first direction is greater than the first preset height, it means that the height of the target interface blocking the desktop is relatively large. In this case, if the target interface is received
  • the third input of the interface height can increase the damping effect, which makes the user feel more strenuous during the sliding process.
  • the result of multiplying the first sliding distance of the third input by the damping coefficient can be determined as the target sliding distance of the third input , the height of the target interface in the first direction is increased by the target sliding distance, that is, the actual sliding distance of the user on the screen is the first sliding distance, and the height of the target interface is no longer increased by the first sliding distance, but increased
  • the target sliding distance after the first sliding distance is multiplied by the damping coefficient makes the increased height inconsistent with the actual sliding distance of the user to achieve a damping effect.
  • the first preset height may be a preset coefficient times the height of the screen of the terminal in the first direction, and the preset coefficient is greater than 0 and less than 1, for example, may be 2/5.
  • the height of the target interface in the first direction is greater than the first preset height
  • the height of the target interface is increased by the first sliding distance multiplied by the damping
  • the target sliding distance after the coefficient makes the user feel the resistance increase when sliding, so as to remind the user that the height adjustment of the current sliding to the target interface is blocked.
  • the damping coefficient is reduced by a preset value
  • each of the multiple height ranges corresponds to a value
  • the preset value is the value corresponding to the height range where the second preset height is located.
  • Each height range corresponds to a damping coefficient value. If the height of the target interface in the first direction is increased by the second preset height relative to the first preset height, the The damping coefficient is reduced to a value corresponding to the height range where the first preset height is located, so as to realize dynamic adjustment of the damping coefficient. It should be noted that the higher the height of the height range, the smaller the corresponding damping coefficient value.
  • the damping effect is maintained, but as the height of the target interface continues to increase, the damping effect is enhanced, and the damping coefficient can be dynamically adjusted to make the target interface actually move The distance between the height of the screen and the actual sliding distance of the user on the screen is greater, thereby enhancing the damping effect.
  • the target interface after the target interface is displayed on the desktop, it further includes:
  • the fourth input includes any of the following:
  • a drag input to the target interface where the drag input is used to reduce the height of the target interface in the first direction to less than or equal to a third preset height
  • the target interface can be closed by dragging the target interface, performing target input on the desktop, or performing input to the second control.
  • the target input to the desktop is not limited in this embodiment, for example, it may be a click on a blank space on the desktop, etc.
  • the input to the second control is not limited in this embodiment, for example, it may be a click on the return key of the terminal wait.
  • any one of the above three inputs can be used to close the target interface, thereby increasing the flexibility of closing the target interface.
  • the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects
  • the target interface includes a first interface and a second interface
  • the first interface includes a plurality of first-type objects
  • the second interface Including multiple second-class objects
  • the first input to the first control is received, and the first interface or the second interface is displayed on the desktop.
  • the first type of objects can be understood as application icons
  • the second type of objects can be understood as widgets, that is, in this implementation, different types of first type objects and second type objects are placed on different interfaces
  • the first interface or the second interface can be displayed by default, and the first interface and the second interface can be switched and displayed.
  • Switch display with the second interface or display the label of the first type of object and the label of the second type of object in the first interface or the second interface, and switch the display by clicking the corresponding label.
  • the current display of the first interface you can click the label of the second type of object in the first interface to switch to display the second interface. If the second interface is currently displayed, you can click the label of the first type of formation in the second interface to switch to display the first interface to realize the second interface.
  • the switching display of the first interface and the second interface are examples of the first interface and the second interface.
  • first-type objects and second-type objects are placed in different interfaces, so that the user can select the target object to be moved and make a second input, thereby improving the efficiency of object movement.
  • the second interface includes N object areas, a plurality of second-type objects are divided into N types, N is a positive integer, N object areas correspond to N types, and the target area is used to place objects of the corresponding target class. object, and display any object in the object of the target class on the target area, and the target area is any area in the N object areas.
  • a plurality of objects of the second type can be divided into N types, one object area corresponds to one class, and the classes corresponding to the N object areas are all different, and the target area among the N object areas of the second interface can only display the objects of the target class
  • An object among the objects enables a plurality of objects of the second type to be categorized and placed in corresponding object areas in the second interface, so as to facilitate viewing by the user.
  • receiving the first input to the first control, after displaying the target interface on the desktop includes:
  • a preview interface is displayed, and the preview interface includes a type of object corresponding to the target object area.
  • a fifth input can be performed on the target object area.
  • the fifth input is not limited in this embodiment, for example, it can be a click input.
  • a preview interface may be displayed, and the preview interface includes all objects of a class corresponding to the target object area, so that the user can view all objects of a class corresponding to the target object area by viewing the preview interface, so that for moving objects within it.
  • the method further includes:
  • the target interface When the target interface is displayed, if the sixth input to the target object is received, the target object is deleted from the target position, wherein the end position of the sixth input is located in the target interface.
  • a sixth input may be performed on the target object at the target position.
  • the sixth input is not limited in this embodiment, for example, may be a drag input.
  • the target object may be deleted from the target location.
  • the method may further include: outputting target prompt information for prompting that the target object has been moved from the desktop back to the target interface or database.
  • the target object can be deleted from the target position in response to the sixth input, and the operation is convenient, and the deletion of the target object is facilitated.
  • the method further includes:
  • the check box on the target object is adjusted to a target display state, and the target display state is used to prompt that the target object is selected.
  • the target object to be moved can be selected in the target interface first, and the display state of the check box on the target object is changed to prompt the user that the target object has been selected for easy viewing.
  • the seventh input for example, it may be a click input or the like.
  • the target display state may include, but not limited to, displaying a preset symbol in a candidate box, highlighting a check box, and the like.
  • the method further includes:
  • the height of the target interface displayed on the desktop is greater than the first preset height by default, and after the target object is moved to the target position corresponding to the second input, the target interface can be moved in the first direction
  • the height is adjusted to the fourth preset height, so as to reduce the occlusion of the desktop by the target interface and facilitate viewing of the desktop.
  • the fourth preset height is less than the first preset height and greater than the third preset height.
  • the fourth preset height may be 1/5 of the height of the terminal screen in the first direction to 1/5 of the height of the terminal screen in the first direction. 2/5 the height of the range of height.
  • the window includes the first control 211.
  • the first control 211 can be understood as an add library button. Click the add library button to open the target interface, which can include objects included in the added library.
  • the height of the target interface cannot be expanded to a full screen, that is, there is a preview area of the desktop 210 from the top of the desktop 210 .
  • a prompt saying "long press the icon or the widget can be dragged to the desktop 210" can be displayed.
  • the expanded state of the target interface can be full height, half height or closed, and the target interface can be dragged up and down (you can move along the direction from the top of the desktop 210 to the bottom of the desktop 210 or on the desktop 210 bottom to the direction of the top of the desktop 210), and according to the position where the drag is released, the height of the target interface is finally determined.
  • the specific instructions are as follows:
  • the height of the target interface (along the direction from the bottom of the terminal screen to the top of the screen, that is, the distance between the first edge of the target interface and the bottom of the screen, and the second edge of the target interface may be parallel to the bottom of the screen and closest to the bottom of the screen Edge, the first edge is parallel to the second edge) is higher than 2/5 of the screen height, it is the full height state. At this time, if you need to continue to drag to the top, you can increase the damping effect;
  • the target interface When the height of the target interface is lower than 1/5 of the screen height, it is closed. At this time, the target interface will be closed directly, and the third preset height can be 1/5 of the screen height.
  • the target interface can be in a full-height state by default.
  • the above-mentioned first preset height can be 2/5 of the screen height.
  • the second interface 222 includes all the widgets of the terminal, the user can choose between these two interfaces, and can drag application icons or widgets from the two interfaces to the desktop 210, and the two interfaces can be switched and displayed. For example, switch between the two interfaces by sliding left or right or clicking.
  • the application icons in the first interface 221 are arranged and displayed in the order of the initial letters a-z of the application names, and an alphabetical index table is displayed on the edge of the first interface 221, which can support quick positioning of the target application icon.
  • a check box is displayed on the icon to indicate whether the application icon is selected. If there is a preset symbol (for example, ⁇ symbol, etc.) in the check box or the check box is highlighted, it means that the application icon is selected. Yes is selected, as shown in Figure 4.
  • the second interface 222 supports multiple levels of display.
  • the widgets of the same type in the second type of objects can be classified into one category, just like the widgets of an application are classified into the same category.
  • the display areas of different objects in the second interface 222 are used for Place different types of widgets, select a widget in a category to display in the corresponding object display area, click an object display area, you can jump to the corresponding preview interface, and all widgets of the corresponding category can be displayed in the preview interface.
  • the N types of objects of the second type in the first interface 221 can be sorted by category, and can be sorted by the first letter of the package name of the application corresponding to the widget, as shown in FIG. 5 .
  • the first interface 221 select the target application icon that needs to be dragged into the desktop 210.
  • the check box on the target application icon is highlighted, as shown in FIG. 4, and then dragged into the target position of the desktop 210.
  • the first interface 221 is automatically reduced from the full-height state to the half-height state, that is, the height of the first interface 221 can be reduced to a preset height range, and the preset height range can be a height range corresponding to the half-height state.
  • the prompt "cancel" is displayed on the top, and the operation of adding the desktop 210 can be canceled by dragging to this area.
  • the application icons in the first interface 221 support batch operations, that is, the application icons can be selected in batches and dragged to a designated target location on the desktop 210, and placed in sequence according to the selected order.
  • the second interface 222 select the target widget that needs to be dragged into the desktop 210 , and then drag it into the specified target position on the desktop 210 .
  • the operation process is similar to that of the drag application, and will not be repeated here.
  • the target application icon can be dragged from the desktop 210 to the first interface 221 or the target widget can be dragged into the second interface 222.
  • the corresponding target application icon or target widget on the desktop 210 is removed.
  • the target prompt information can also be output, which is used to prompt that the target object has been moved from the desktop 210 back to the target interface, and after dragging and letting go, it will return to the original position in the target interface.
  • the user in the target interface, the user can quickly locate the application icon or widget that needs to be operated, and supports batch dragging of the application icon or widget to the desktop 210, dragging the application icon or widget from the desktop 210 to the target interface, you can The application icon or widget corresponding to the desktop 210 is removed.
  • an object moving device 600 of an embodiment is provided, and the device 600 includes:
  • the second display module 602 is configured to receive a first input to the first control, and display a target interface on the desktop, where the target interface includes multiple objects;
  • a first receiving module 603, configured to receive a second input of a target object among the multiple objects
  • the moving module 604 is configured to move the target object to a target position corresponding to the second input in response to the second input.
  • the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction
  • the device also includes:
  • the adjustment module is used for the second display module to display the target interface on the desktop, if the height of the target interface in the first direction is greater than the first preset height, if the third input to the target interface is received, the second The result of multiplying the first sliding distance of the three inputs by the damping coefficient is determined as the target sliding distance of the third input, and the height of the target interface in the first direction is increased by the target sliding distance, and the first sliding distance is the third input on the screen of the terminal
  • the sliding distance of , the third input is used to increase the height of the target interface in the first direction, and the damping coefficient is greater than 0 and less than 1.
  • the device also includes:
  • a coefficient adjustment module configured to reduce the damping coefficient to a preset value if the height of the target interface in the first direction increases by a second preset height when the height of the target interface in the first direction is greater than the first preset height , wherein, each of the multiple height ranges corresponds to a value, and the preset value is the value corresponding to the height range where the second preset height is located.
  • the device also includes:
  • the second receiving module is used for the second display module to close the target interface in the case of receiving the fourth input after the target interface is displayed on the desktop;
  • the fourth input includes any of the following:
  • a drag input to the target interface where the drag input is used to reduce the height of the target interface in the first direction to less than or equal to a third preset height
  • the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects
  • the target interface includes a first interface and a second interface
  • the first interface includes a plurality of first-type objects
  • the second interface Including multiple second-class objects
  • the first input to the first control is received, and the first interface or the second interface is displayed on the desktop.
  • the second interface includes N object areas, a plurality of second-type objects are divided into N types, N is a positive integer, N object areas correspond to N types, and the target area is used to place objects of the corresponding target class. object, and display any object in the object of the target class on the target area, and the target area is any area in the N object areas.
  • the device also includes:
  • the third receiving module is used for the second display module to receive the first input to the first control, and after displaying the target interface on the desktop, receive the fifth input to the target object area in the N object areas;
  • the third display module is configured to display a preview interface in response to the fifth input, and the preview interface includes a type of object corresponding to the target object area.
  • the device also includes:
  • the deletion module is used for the movement module to respond to the second input, and after the target object is moved to the target position corresponding to the second input, in the case of displaying the target interface, if the sixth input to the target object is received, the target object Delete from the target position, wherein the end position of the sixth input is within the target interface.
  • the device also includes:
  • the fourth receiving module is used to receive the seventh input of the target object on the target interface before receiving the second input of the target object in the plurality of objects after the target interface is displayed on the desktop;
  • the state adjustment module is configured to adjust the check box on the target object to a target display state in response to the seventh input, and the target display state is used to prompt that the target object is selected.
  • the device also includes:
  • the height adjustment module is used for the moving module 604 to reduce the height of the target interface in the first direction to a fourth preset height after moving the target object to the target position corresponding to the second input in response to the second input.
  • the object moving device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant).
  • non-mobile electronic equipment can be network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., the embodiment of the present application Not specifically limited.
  • the object moving device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the object moving device provided in the embodiment of the present application can realize various processes realized in the above-mentioned object moving method embodiment, for example, can realize various processes realized in the method embodiment in FIG.
  • the embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and operable on the processor 701.
  • the program Or, when the instruction is executed by the processor 701, each process of the above-mentioned object moving method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, etc. part.
  • the electronic device 800 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 810 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the display unit 806 is used for:
  • a user input unit 807 configured to receive a second input on a target object in the plurality of objects
  • the processor 810 is configured to, in response to the second input, move the target object to a target position corresponding to the second input.
  • the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction
  • the processor 810 is also used for the display unit 806 to display the target interface on the desktop, if the height of the target interface in the first direction is greater than the first preset height, if the third input to the target interface is received, the second The result of multiplying the first sliding distance of the three inputs by the damping coefficient is determined as the target sliding distance of the third input, and the height of the target interface in the first direction is increased by the target sliding distance, and the first sliding distance is the third input on the screen of the terminal The sliding distance of , the third input is used to increase the height of the target interface in the first direction.
  • the processor 810 is further configured to: if the height of the target interface in the first direction is greater than the first preset height, if the height of the target interface in the first direction increases by the second preset height, then The damping coefficient is reduced to a preset value, wherein each height range in the plurality of height ranges corresponds to a value, and the preset value is a value corresponding to the height range where the second preset height is located.
  • the processor 810 is further used for the display unit 806 to close the target interface when the fourth input is received after the target interface is displayed on the desktop;
  • the fourth input includes any of the following:
  • a drag input to the target interface where the drag input is used to reduce the height of the target interface in the first direction to less than or equal to a third preset height
  • the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects
  • the target interface includes a first interface and a second interface
  • the first interface includes a plurality of first-type objects
  • the second interface Including multiple second-class objects
  • the first input to the first control is received, and the first interface or the second interface is displayed on the desktop.
  • the second interface includes N object areas, a plurality of second-type objects are divided into N types, N is a positive integer, N object areas correspond to N types, and the target area is used to place objects of the corresponding target class. object, and display any object in the object of the target class on the target area, and the target area is any area in the N object areas.
  • the user input unit 807 is also used for the display unit 806 to receive the first input to the first control, and after displaying the target interface on the desktop, receive the fifth input to the target object area in the N object areas ;
  • the display unit 806 is further configured to display a preview interface in response to the fifth input, where the preview interface includes a type of object corresponding to the target object area.
  • the processor 810 is further configured to respond to the second input, and after the target object is moved to the target position corresponding to the second input, in the case of displaying the target interface, if the second input to the target object is received Six inputs are used to delete the target object from the target position, wherein the end position of the sixth input is located in the target interface.
  • the user input unit 807 is further configured to receive a seventh input to the target object on the target interface before receiving the second input to the target object among the plurality of objects after the target interface is displayed on the desktop;
  • the processor 810 is further configured to, in response to the seventh input, adjust the check box on the target object to a target display state, where the target display state is used to prompt that the target object is selected.
  • the processor 810 is further configured to: in response to the second input, after the processor 810 moves the target object to the target position corresponding to the second input, reduce the height of the target interface in the first direction to a fourth predetermined value. set height.
  • the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072 .
  • the touch panel 8071 is also called a touch screen.
  • the touch panel 8071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 809 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 810 .
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium stores programs or instructions.
  • the program or instructions are executed by the processor, the various processes of the above-mentioned object moving method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above object moving method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above object moving method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

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

Abstract

The present application belongs to the technical field of display. Disclosed are an object moving method and an electronic device. The method comprises: displaying a first control on a desktop; receiving a first input for the first control, and displaying a target interface on the desktop, wherein the target interface comprises a plurality of objects; receiving a second input for a target object among the plurality of objects; and in response to the second input, moving the target object to a target position corresponding to the second input.

Description

对象移动方法和电子设备Object moving method and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年09月24日在中国提交的中国专利申请No.202111120199.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111120199.8 filed in China on September 24, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于显示技术领域,具体涉及一种对象移动方法和电子设备。The present application belongs to the field of display technology, and in particular relates to an object moving method and electronic equipment.
背景技术Background technique
目前终端桌面越来越多样化,移动对象(例如,应用图标、挂件等)到桌面指定的位置或文件夹中是桌面的一个基本交互功能。At present, terminal desktops are becoming more and more diverse, and moving objects (for example, application icons, widgets, etc.) to designated locations or folders on the desktop is a basic interactive function of the desktop.
由于终端上的对象数量较多,桌面一般可包括多个可切换显示的页面,用于放置终端的对象,然而,在对终端桌面的目标对象进行移动过程中,如果想要移动到的目标位置与目标对象所在的位置不同桌面的同一页面,需要左右滑动屏幕先找到目标对象,然后进行移动操作,跨页面移动至目标位置,如此,容易导致将目标对象移动于目标位置的效率较差。Due to the large number of objects on the terminal, the desktop generally includes multiple pages that can be switched and displayed for placing the objects of the terminal. However, in the process of moving the target object on the terminal desktop, if you want to move to the target position On the same page of the desktop that is different from the location of the target object, you need to swipe the screen left and right to find the target object first, and then perform a moving operation to move across pages to the target location. This will easily lead to poor efficiency in moving the target object to the target location.
发明内容Contents of the invention
本申请实施例的目的是提供一种对象移动方法和电子设备,能够解决对象移动的效率较差的问题。The purpose of the embodiments of the present application is to provide an object moving method and an electronic device, which can solve the problem of poor object moving efficiency.
第一方面,本申请实施例提供了一种对象移动方法,所述方法包括:In the first aspect, the embodiment of the present application provides a method for moving an object, the method comprising:
在桌面上显示第一控件;display the first control on the desktop;
接收对所述第一控件的第一输入,在所述桌面上显示目标界面,所述目标界面中包括多个对象;receiving a first input to the first control, and displaying a target interface on the desktop, where the target interface includes a plurality of objects;
接收对所述多个对象中目标对象的第二输入;receiving a second input of a target object of the plurality of objects;
响应于所述第二输入,将所述目标对象移动至所述第二输入对应的目标位置。In response to the second input, moving the target object to a target position corresponding to the second input.
第二方面,本申请实施例提供了一种对象移动装置,所述装置包括:In the second aspect, the embodiment of the present application provides an object moving device, the device includes:
第一显示模块,用于在桌面上显示第一控件;a first display module, configured to display a first control on the desktop;
第二显示模块,用于接收对所述第一控件的第一输入,在所述桌面上显示目标界面,所述目标界面中包括多个对象;A second display module, configured to receive a first input to the first control, and display a target interface on the desktop, where the target interface includes a plurality of objects;
第一接收模块,用于接收对所述多个对象中目标对象的第二输入;A first receiving module, configured to receive a second input of a target object in the plurality of objects;
移动模块,用于响应于所述第二输入,将所述目标对象移动至所述第二输入对应的目标位置。A moving module, configured to move the target object to a target position corresponding to the second input in response to the second input.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,提供了一种电子设备,被配置为执行如第一方面所述的方法的步骤。In a sixth aspect, there is provided an electronic device configured to execute the steps of the method described in the first aspect.
在本实施例的对象移动方法中,无需对桌面进行页面切换查找需要移动的对象再对其进行移动,而是在桌面上显示第一控件,对第一控件进行第一输入即可显示目标界面,在目标界面中对需要移动的目标对象进行第二输入,即可将目标对象移动至第二输入对应的目标位置,这样,可提高对象移动的效率。In the object moving method of this embodiment, there is no need to switch pages on the desktop to search for the object to be moved and then move it. Instead, the first control is displayed on the desktop, and the target interface can be displayed by performing a first input on the first control. , performing a second input on the target object that needs to be moved in the target interface, the target object can be moved to the target position corresponding to the second input, thus, the efficiency of object movement can be improved.
附图说明Description of drawings
图1是本申请实施例提供的对象移动方法的流程图之一;Fig. 1 is one of the flowcharts of the object moving method provided by the embodiment of the present application;
图2是本申请实施例提供的终端的界面图之一;FIG. 2 is one of the interface diagrams of the terminal provided by the embodiment of the present application;
图3是本申请实施例提供的终端的界面图之二;FIG. 3 is the second interface diagram of the terminal provided by the embodiment of the present application;
图4是是本申请实施例提供的终端的界面图之三;Fig. 4 is the third interface diagram of the terminal provided by the embodiment of the present application;
图5是本申请实施例提供的终端的界面图之四;FIG. 5 is the fourth interface diagram of the terminal provided by the embodiment of the present application;
图6是本申请实施例提供的对象移动装置的示意图;FIG. 6 is a schematic diagram of an object moving device provided by an embodiment of the present application;
图7是本申请实施例提供的电子设备的结构示意图Fig. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application
图8是本申请实施例提供的电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如目标对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are usually of one type, and the number of objects is not limited. For example, there may be one or more target objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的对象移动方法进行详细地说明。The method for moving an object provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请提供一种实施例的对象移动方法,该方法包括:As shown in Figure 1, the present application provides an object moving method of an embodiment, the method includes:
步骤101:在桌面上显示第一控件。Step 101: Display the first control on the desktop.
本申请中实施例的对象移动方法可由终端执行,可在终端的桌面显示第一控件,第一控件在一个示例中可以是添加库按钮等。作为一个示例,在终端的桌面上显示第一控件的过程中,可接收对桌面的第八输入,响应于第八输入,将桌面调整为编辑状态,并在桌面上显示第一控件。其中,第八输入 在本实施中不作限定,例如,可以为在桌面的空白区域的长按输入,也可以为在桌面的双指捏合输入等。The method for moving an object in the embodiments of the present application may be executed by a terminal, and a first control may be displayed on a desktop of the terminal. In an example, the first control may be an add library button or the like. As an example, during the process of displaying the first widget on the desktop of the terminal, an eighth input to the desktop may be received, and in response to the eighth input, the desktop is adjusted to an editing state, and the first widget is displayed on the desktop. Wherein, the eighth input is not limited in this implementation, for example, it may be a long-press input on a blank area of the desktop, or a two-finger pinch input on the desktop.
步骤102:接收对第一控件的第一输入,在桌面上显示目标界面,目标界面中包括多个对象。Step 102: Receive a first input to the first control, and display a target interface on the desktop, where the target interface includes multiple objects.
第一输入在本实施中不作限定,例如,可以为点击输入等。在桌面上显示目标界面可以理解为在桌面上叠加显示一个目标界面,作为一个示例,目标界面的面积小于桌面的面积。需要说明的是,本实施例中的对象,可以是应用图标和挂件中的至少一项,也即是,多个对象可以包括至少一个应用图标和/或至少一个挂件。作为一个示例,上述多个对象可以是数据库中包括的对象,例如,该数据库可以理解为添加库,即其中的对象为可添加至桌面的对象。The first input is not limited in this implementation, for example, it may be a click input or the like. Displaying the target interface on the desktop can be understood as superimposing and displaying a target interface on the desktop. As an example, the area of the target interface is smaller than the area of the desktop. It should be noted that the object in this embodiment may be at least one of an application icon and a widget, that is, multiple objects may include at least one application icon and/or at least one widget. As an example, the above multiple objects may be objects contained in a database, for example, the database may be understood as an add library, that is, the objects therein are objects that can be added to the desktop.
步骤103:接收对多个对象中目标对象的第二输入;Step 103: Receive a second input of a target object among the multiple objects;
即目标对象可以是目标应用图标或目标挂件,第二输入在本实施例中不作限定,例如,第二输入可以是对目标对象的拖动输入等。That is, the target object may be a target application icon or a target widget, and the second input is not limited in this embodiment, for example, the second input may be a drag input on the target object, and the like.
步骤104:响应于第二输入,将目标对象移动至第二输入对应的目标位置。Step 104: In response to the second input, move the target object to a target position corresponding to the second input.
目标位置可以是第二输入的结束位置等,在接收到对目标对象的第二输入的情况下,可响应于第二输入,将目标对象移动到桌面的目标位置,实现目标对象的移动。需要说明的是,第二输入对应的目标位置不在目标界面中,是桌面中的某个位置或桌面某个文件夹中的某个位置。The target position may be the end position of the second input, etc. When the second input to the target object is received, the target object may be moved to the target position on the desktop in response to the second input to realize the movement of the target object. It should be noted that the target location corresponding to the second input is not in the target interface, but is a certain location on the desktop or a certain location in a certain folder on the desktop.
在本实施例的对象移动方法中,无需对桌面进行页面切换查找需要移动的对象再对其进行移动,而是在桌面上显示第一控件,对第一控件进行第一输入即可显示目标界面,在目标界面中对需要移动的目标对象进行第二输入,即可将目标对象移动至的第二输入对应的目标位置,这样,可提高对象移动的效率。In the object moving method of this embodiment, there is no need to switch pages on the desktop to search for the object to be moved and then move it. Instead, the first control is displayed on the desktop, and the target interface can be displayed by performing a first input on the first control. , performing a second input on the target object to be moved in the target interface, the target object can be moved to the target position corresponding to the second input, thus, the efficiency of object movement can be improved.
在一个实施例中,目标界面在桌面的第一方向的高度小于桌面在第一方向的高度;In one embodiment, the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction;
在桌面上显示目标界面之后,还包括:After displaying the target interface on the desktop, also include:
在目标界面在第一方向的高度大于第一预设高度的情况下,若接收到对目标界面的第三输入,将第三输入的第一滑动距离乘以阻尼系数的结果确定为第三输入的目标滑动距离,将目标界面在第一方向的高度增加目标滑动距离,第一滑动距离为第三输入在终端的屏幕上的滑动距离,第三输入用于增加目标界面在第一方向的高度,阻尼系数大于0且小于1。When the height of the target interface in the first direction is greater than the first preset height, if a third input to the target interface is received, the result of multiplying the first sliding distance of the third input by the damping coefficient is determined as the third input The target sliding distance of is to increase the height of the target interface in the first direction by the target sliding distance, the first sliding distance is the sliding distance of the third input on the screen of the terminal, and the third input is used to increase the height of the target interface in the first direction , the damping coefficient is greater than 0 and less than 1.
需要说明的是,响应于第一输入在桌面上显示的目标界面在桌面的第一方向的高度小于桌面在第一方向的高度,如此,目标界面不会对桌面全部遮挡,以便于将目标对象移动至桌面。后续可通过第三输入对显示界面的高度进行调整,若目标界面在第一方向的高度大于第一预设高度,表示目标界面遮挡桌面的高度较大,这种情况下,若收到增加目标界面高度的第三输入,可增加阻尼效果,这样使用户在滑动过程中感觉比较费力,具体可通过将第三输入的第一滑动距离乘以阻尼系数的结果确定为第三输入的目标滑动距离,将目标界面在第一方向的高度增加目标滑动距离实现,也即是用户在屏幕上的实际滑动距离为第一滑动距离,而将目标界面的高度不再增加第一滑动距离,而是增加第一滑动距离乘以阻尼系数后的目标滑动距离,使增加的高度与用户实际滑动的距离不符,实现阻尼效果。作为一个示例,第一预设高度可以是终端的屏幕的在第一方向上的高度的预设系数倍,预设系数大于0且小于1,例如可以是2/5等。It should be noted that, in response to the first input, the height of the target interface displayed on the desktop in the first direction of the desktop is smaller than the height of the desktop in the first direction, so that the target interface will not completely block the desktop, so that the target object Move to desktop. Subsequently, the height of the display interface can be adjusted through the third input. If the height of the target interface in the first direction is greater than the first preset height, it means that the height of the target interface blocking the desktop is relatively large. In this case, if the target interface is received The third input of the interface height can increase the damping effect, which makes the user feel more strenuous during the sliding process. Specifically, the result of multiplying the first sliding distance of the third input by the damping coefficient can be determined as the target sliding distance of the third input , the height of the target interface in the first direction is increased by the target sliding distance, that is, the actual sliding distance of the user on the screen is the first sliding distance, and the height of the target interface is no longer increased by the first sliding distance, but increased The target sliding distance after the first sliding distance is multiplied by the damping coefficient makes the increased height inconsistent with the actual sliding distance of the user to achieve a damping effect. As an example, the first preset height may be a preset coefficient times the height of the screen of the terminal in the first direction, and the preset coefficient is greater than 0 and less than 1, for example, may be 2/5.
在本实施例中,在目标界面在第一方向的高度大于第一预设高度的情况下,若接收到对目标界面的第三输入,是将目标界面的高度增加第一滑动距离乘以阻尼系数后的目标滑动距离,使用户感觉滑动时的阻力增加,以便提醒用户当前滑对目标界面的高度调整受阻。In this embodiment, when the height of the target interface in the first direction is greater than the first preset height, if the third input to the target interface is received, the height of the target interface is increased by the first sliding distance multiplied by the damping The target sliding distance after the coefficient makes the user feel the resistance increase when sliding, so as to remind the user that the height adjustment of the current sliding to the target interface is blocked.
在一个实施例中,在目标界面在第一方向的高度大于第一预设高度的情况下,若目标界面在第一方向的高度增加第二预设高度,则将阻尼系数降低预设值,其中,多个高度范围中每个高度范围分别对应一个值,预设值为第二预设高度所在的高度范围对应的值。In one embodiment, when the height of the target interface in the first direction is greater than the first preset height, if the height of the target interface in the first direction increases by the second preset height, the damping coefficient is reduced by a preset value, Wherein, each of the multiple height ranges corresponds to a value, and the preset value is the value corresponding to the height range where the second preset height is located.
多个高度范围可根据实际情况预先设置的多个范围,每个高度范围对应一个阻尼系数值,若目标界面在第一方向的高度相对第一预设高度增加第二预设高度,即可将阻尼系数降低至第一预设高度所在的高度范围对应的值,实现阻尼系数的动态调整。需要说明的是,高度范围的高度越高,则对应的阻尼系数值越小。Multiple height ranges can be preset according to the actual situation. Each height range corresponds to a damping coefficient value. If the height of the target interface in the first direction is increased by the second preset height relative to the first preset height, the The damping coefficient is reduced to a value corresponding to the height range where the first preset height is located, so as to realize dynamic adjustment of the damping coefficient. It should be noted that the higher the height of the height range, the smaller the corresponding damping coefficient value.
在目标界面在第一方向的高度大于第一预设高度的情况下,保持阻尼效果,但随着目标界面的高度继续增加,阻尼效果增强,即可动态调小阻尼系数,使目标界面实际移动的高度与用户实际在屏幕上滑动的距离差距更大,从而增强阻尼效果。When the height of the target interface in the first direction is greater than the first preset height, the damping effect is maintained, but as the height of the target interface continues to increase, the damping effect is enhanced, and the damping coefficient can be dynamically adjusted to make the target interface actually move The distance between the height of the screen and the actual sliding distance of the user on the screen is greater, thereby enhancing the damping effect.
在一个实施例中,在桌面上显示目标界面之后,还包括:In one embodiment, after the target interface is displayed on the desktop, it further includes:
在接收第四输入的情况下,将目标界面关闭;In the case of receiving the fourth input, closing the target interface;
其中,第四输入包括以下任一项:Wherein, the fourth input includes any of the following:
对目标界面的拖动输入,拖动输入用于将目标界面在第一方向的高度减少至小于或等于第三预设高度;A drag input to the target interface, where the drag input is used to reduce the height of the target interface in the first direction to less than or equal to a third preset height;
对桌面的目标输入;target input to the desktop;
对第二控件的输入。Input to the second control.
也即是在本实施中,可通过拖动目标界面、在桌面上进行目标输入或对第二控件进行输入来实现对目标界面的关闭。对桌面的目标输入在本实施例中不作限定,例如,可以是在桌面空白处的点击等,对第二控件的输入在本实施例中不作限定,例如,可以是对终端的返回键的点击等。That is, in this implementation, the target interface can be closed by dragging the target interface, performing target input on the desktop, or performing input to the second control. The target input to the desktop is not limited in this embodiment, for example, it may be a click on a blank space on the desktop, etc. The input to the second control is not limited in this embodiment, for example, it may be a click on the return key of the terminal wait.
在本实施例中,可通过上述三种输入中的任一项输入,实现目标界面的关闭,提高对目标界面关闭的灵活性。In this embodiment, any one of the above three inputs can be used to close the target interface, thereby increasing the flexibility of closing the target interface.
在一个实施例中,多个对象包括多个第一类对象和多个第二类对象,目标界面包括第一界面和第二界面,第一界面中包括多个第一类对象,第二界面中包括多个第二类对象;In one embodiment, the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects, the target interface includes a first interface and a second interface, the first interface includes a plurality of first-type objects, and the second interface Including multiple second-class objects;
接收对第一控件的第一输入,在桌面上显示目标界面,包括:receiving the first input to the first control, and displaying the target interface on the desktop, including:
接收对第一控件的第一输入,在桌面上显示第一界面或第二界面。The first input to the first control is received, and the first interface or the second interface is displayed on the desktop.
需要说明的是,第一类对象可以理解为应用图标,第二类对象可以理解为挂件,也即是在本实施中,不同类型的第一类对象和第二类对象分别放置在不同的界面中,在响应于第一输入在桌面显示目标界面的过程中,可默认显示第一界面或第二界面,第一界面和第二界面可切换显示,例如,可通过用户滑动操作对第一界面和第二界面进行切换显示,也可以在第一界面或第二界面中显示第一类对象的标签和第二类对象的标签,可通过点击对应的标签进行切换显示,例如,当前显示第一界面,可点击第一界面中的第二类对象的标签切换显示第二界面,若当前显示第二界面,可点击第二界面中第一类队形的标签,切换显示第一界面,实现第一界面和第二界面的切换显示。It should be noted that the first type of objects can be understood as application icons, and the second type of objects can be understood as widgets, that is, in this implementation, different types of first type objects and second type objects are placed on different interfaces In the process of displaying the target interface on the desktop in response to the first input, the first interface or the second interface can be displayed by default, and the first interface and the second interface can be switched and displayed. Switch display with the second interface, or display the label of the first type of object and the label of the second type of object in the first interface or the second interface, and switch the display by clicking the corresponding label. For example, the current display of the first interface, you can click the label of the second type of object in the first interface to switch to display the second interface. If the second interface is currently displayed, you can click the label of the first type of formation in the second interface to switch to display the first interface to realize the second interface. The switching display of the first interface and the second interface.
在本实施例中,不同类型的第一类对象和第二类对象分别放置在不同的界面中,以便于用户对需要移动的目标对象的选择,并进行第二输入,提高对象移动的效率。In this embodiment, different types of first-type objects and second-type objects are placed in different interfaces, so that the user can select the target object to be moved and make a second input, thereby improving the efficiency of object movement.
在一个实施例中,第二界面中包括N个对象区域,多个第二类对象分成N类,N为正整数,N个对象区域与N类对应,目标区域用于放置对应的目标类的对象,且在目标区域上显示目标类的对象中任一对象,目标区域为N个对象区域中任一区域。In one embodiment, the second interface includes N object areas, a plurality of second-type objects are divided into N types, N is a positive integer, N object areas correspond to N types, and the target area is used to place objects of the corresponding target class. object, and display any object in the object of the target class on the target area, and the target area is any area in the N object areas.
即多个第二类对象还可分成N类,一个对象区域与一类对应,N个对象区域对应的类均不同,在第二界面的N个对象区域中的目标区域可以只显示目标类的对象中的一个对象,使在第二界面中多个第二类对象分类放置与对应的对象区域,以便于用户查看。That is to say, a plurality of objects of the second type can be divided into N types, one object area corresponds to one class, and the classes corresponding to the N object areas are all different, and the target area among the N object areas of the second interface can only display the objects of the target class An object among the objects enables a plurality of objects of the second type to be categorized and placed in corresponding object areas in the second interface, so as to facilitate viewing by the user.
在一个实施例中,接收对第一控件的第一输入,在桌面上显示目标界面之后,包括:In one embodiment, receiving the first input to the first control, after displaying the target interface on the desktop, includes:
接收对N个对象区域中目标对象区域的第五输入;receiving a fifth input of a target object area among the N object areas;
响应于第五输入,显示预览界面,预览界面中包括目标对象区域对应的一类对象。In response to the fifth input, a preview interface is displayed, and the preview interface includes a type of object corresponding to the target object area.
若需要查看第二界面中目标对象区域中放置的对象,可对目标对象区域进行第五输入,第五输入在本实施例中不作限定,例如,可以是点击输入等。 响应于第五输入,可显示预览界面,预览界面中包括目标对象区域对应的一类的所有对象,如此,用户通过查看预览界面,即可查看到目标对象区域对应的一类的所有对象,以便于对其中的对象的移动。If it is necessary to view the objects placed in the target object area in the second interface, a fifth input can be performed on the target object area. The fifth input is not limited in this embodiment, for example, it can be a click input. In response to the fifth input, a preview interface may be displayed, and the preview interface includes all objects of a class corresponding to the target object area, so that the user can view all objects of a class corresponding to the target object area by viewing the preview interface, so that for moving objects within it.
在一个实施例中,响应于第二输入,将目标对象移动至第二输入对应的目标位置之后,还包括:In one embodiment, after moving the target object to the target position corresponding to the second input in response to the second input, the method further includes:
在显示目标界面的情况下,若接收到对目标对象的第六输入,将目标对象从目标位置删除,其中,第六输入的结束位置位于目标界面内。When the target interface is displayed, if the sixth input to the target object is received, the target object is deleted from the target position, wherein the end position of the sixth input is located in the target interface.
需要说明的是,将目标界面中的目标对象移动至目标位置的情况下,目标界面中的目标对象仍保持,不作删除处理,数据库中的目标对象也仍保持,不作删除处理。若需要移除目标位置的目标对象,可对目标位置的目标对象进行第六输入,第六输入在本实施例中不作限定,例如,可以是拖动输入等。响应于第六输入,可将目标对象从目标位置删除。作为一个示例,将目标对象从目标位置删除之后,还可包括:输出目标提示信息,用于提示目标对象已从桌面移回目标界面或数据库。It should be noted that, when the target object in the target interface is moved to the target position, the target object in the target interface is still kept and not deleted, and the target object in the database is also kept and not deleted. If the target object at the target position needs to be removed, a sixth input may be performed on the target object at the target position. The sixth input is not limited in this embodiment, for example, may be a drag input. In response to the sixth input, the target object may be deleted from the target location. As an example, after the target object is deleted from the target location, the method may further include: outputting target prompt information for prompting that the target object has been moved from the desktop back to the target interface or database.
在本实施例中,通过对目标对象的第六输入,响应于第六输入,即可将目标对象从目标位置删除,操作便利,便于对目标对象的删除。In this embodiment, through the sixth input of the target object, the target object can be deleted from the target position in response to the sixth input, and the operation is convenient, and the deletion of the target object is facilitated.
在一个实施例中,在桌面上显示目标界面之后,接收对多个对象中目标对象的第二输入之前,还包括:In one embodiment, after displaying the target interface on the desktop and before receiving the second input of the target object in the plurality of objects, the method further includes:
接收在目标界面对目标对象的第七输入;receiving a seventh input to the target object on the target interface;
响应于第七输入,将目标对象上的勾选框调整为目标显示状态,目标显示状态用于提示目标对象被选中。In response to the seventh input, the check box on the target object is adjusted to a target display state, and the target display state is used to prompt that the target object is selected.
也即是,在本实施例中,可先对要移动的目标对象在目标界面中选中,通过改变目标对象上的勾选框的显示状态,以提示用户已选中,以便于查看。在本实施例中,对第七输入不作限定,例如可以是点击输入等。目标显示状态可以包括但不限于在候选框中显示预设符号和勾选框高亮显示等。That is, in this embodiment, the target object to be moved can be selected in the target interface first, and the display state of the check box on the target object is changed to prompt the user that the target object has been selected for easy viewing. In this embodiment, there is no limitation on the seventh input, for example, it may be a click input or the like. The target display state may include, but not limited to, displaying a preset symbol in a candidate box, highlighting a check box, and the like.
在一个实施例中,响应于第二输入,将目标对象移动至第二输入对应的目标位置之后,还包括:In one embodiment, after moving the target object to the target position corresponding to the second input in response to the second input, the method further includes:
将目标界面在第一方向的高度减少至第四预设高度。reducing the height of the target interface in the first direction to a fourth preset height.
需要说明的是,响应于第一输入,在桌面显示的目标界面的高度默认为大于第一预设高度,将目标对象移动至第二输入对应的目标位置之后,可将目标界面在第一方向的高度调整至第四预设高度,以减少目标界面对桌面的遮挡,便于对桌面的查看等。第四预设高度小于第一预设高度,且大于第三预设高度,例如,第四预设高度可以是在终端屏幕在第一方向的高度的1/5到终端屏幕在第一方向的高度的2/5范围的高度。It should be noted that, in response to the first input, the height of the target interface displayed on the desktop is greater than the first preset height by default, and after the target object is moved to the target position corresponding to the second input, the target interface can be moved in the first direction The height is adjusted to the fourth preset height, so as to reduce the occlusion of the desktop by the target interface and facilitate viewing of the desktop. The fourth preset height is less than the first preset height and greater than the third preset height. For example, the fourth preset height may be 1/5 of the height of the terminal screen in the first direction to 1/5 of the height of the terminal screen in the first direction. 2/5 the height of the range of height.
下面以一个具体实施例对上述对象移动方法的过程加以具体说明。本实施例的对象移动方法流程如下:The process of the above-mentioned object moving method will be described in detail below with a specific embodiment. The process flow of the object moving method in this embodiment is as follows:
首先,长按桌面210空白区域或在桌面210双指捏合进入桌面编辑状态,在进入桌面编辑状态后,桌面210底部区域显示一个窗口,如图2所示,该窗口中包括第一控件211,该第一控件211可以理解为添加库按钮。点击添加库按钮,打开目标界面,目标界面中可包括添加库中包括的对象。为了便于从目标界面中拖入应用图标或者挂件到桌面210,目标界面展开高度不能全屏,即距离桌面210顶部有一个桌面210预览区域。在桌面210顶部区域,可显示”长按图标或者挂件可拖动至桌面210”提示语。First, long press the blank area of the desktop 210 or pinch two fingers on the desktop 210 to enter the desktop editing state. After entering the desktop editing state, a window is displayed at the bottom area of the desktop 210, as shown in FIG. 2 , the window includes the first control 211, The first control 211 can be understood as an add library button. Click the add library button to open the target interface, which can include objects included in the added library. In order to facilitate dragging application icons or widgets from the target interface to the desktop 210 , the height of the target interface cannot be expanded to a full screen, that is, there is a preview area of the desktop 210 from the top of the desktop 210 . In the area at the top of the desktop 210, a prompt saying "long press the icon or the widget can be dragged to the desktop 210" can be displayed.
目标界面的展示区域位置说明:根据目标界面展开的高度,目标界面的展开状态可为全高、半高或关闭状态,目标界面可以上下拖动(可以沿桌面210顶部到桌面210底部的方向或桌面210底部到桌面210顶部的方向拖动),根据拖动松手的位置,最终决定目标界面的高度。如图3所示。具体说明如下:Description of the location of the display area of the target interface: According to the height of the target interface, the expanded state of the target interface can be full height, half height or closed, and the target interface can be dragged up and down (you can move along the direction from the top of the desktop 210 to the bottom of the desktop 210 or on the desktop 210 bottom to the direction of the top of the desktop 210), and according to the position where the drag is released, the height of the target interface is finally determined. As shown in Figure 3. The specific instructions are as follows:
目标界面的高度(沿终端的屏幕的底部到屏幕的顶部的方向,即目标界面的第一边缘距离屏幕的底部的距离,目标界面的第二边缘可以是平行于屏幕底部且与屏幕底部最近的边缘,第一边缘与第二边缘平行)高于2/5的屏幕高度时,为全高状态。此时若是需要继续向顶部拖动时,可以增加阻尼效果;The height of the target interface (along the direction from the bottom of the terminal screen to the top of the screen, that is, the distance between the first edge of the target interface and the bottom of the screen, and the second edge of the target interface may be parallel to the bottom of the screen and closest to the bottom of the screen Edge, the first edge is parallel to the second edge) is higher than 2/5 of the screen height, it is the full height state. At this time, if you need to continue to drag to the top, you can increase the damping effect;
目标界面的高度处于1/5(包含)-2/5(包含)的屏幕高度范围时,为半高 状态;When the height of the target interface is within the screen height range of 1/5 (inclusive) - 2/5 (inclusive), it is in the half-height state;
目标界面的高度低于1/5屏幕高度时,为关闭状态。此时目标界面会直接关闭,第三预设高度可以为1/5屏幕高度。When the height of the target interface is lower than 1/5 of the screen height, it is closed. At this time, the target interface will be closed directly, and the third preset height can be 1/5 of the screen height.
在本实施例中,点击添加库按钮,打开目标界面,此时目标界面可默认处于全高状态,例如,上述第一预设高度可以是屏幕高度的2/5等。In this embodiment, click the add library button to open the target interface. At this time, the target interface can be in a full-height state by default. For example, the above-mentioned first preset height can be 2/5 of the screen height.
然后,在打开的目标界面中选择需要操作的界面,如图4和图5所示,目标界面包括第一界面221和第二界面222,第一界面221中包括了终端安装的所有的应用的图标,第二界面222中包括了终端的所有的挂件,用户可在这两个界面中进行选择,可以从这两个界面拖入应用图标或者挂件到桌面210,两个界面可以互相切换显示,如通过左右滑动或点击进行两个界面的切换。Then, select the interface that needs to be operated in the opened target interface. As shown in FIGS. Icons, the second interface 222 includes all the widgets of the terminal, the user can choose between these two interfaces, and can drag application icons or widgets from the two interfaces to the desktop 210, and the two interfaces can be switched and displayed. For example, switch between the two interfaces by sliding left or right or clicking.
其中,第一界面221中的应用图标按照应用名称的首字母a-z的顺序排列显示,且在第一界面221的边缘位置显示字母索引表,可支持快速定位目标应用图标,第一界面221中应用图标上显示一个勾选框,用于表示该应用图标是否被选中,若勾选框中有预设符号(例如,√符号等)或勾选框高亮显示,表示该应用图标被选中,是处于选中状态,如图4所示。Among them, the application icons in the first interface 221 are arranged and displayed in the order of the initial letters a-z of the application names, and an alphabetical index table is displayed on the edge of the first interface 221, which can support quick positioning of the target application icon. A check box is displayed on the icon to indicate whether the application icon is selected. If there is a preset symbol (for example, √ symbol, etc.) in the check box or the check box is highlighted, it means that the application icon is selected. Yes is selected, as shown in Figure 4.
第二界面222中支持多个层级展示,第二类对象中相同类别的挂件可以归为一类,如同一个应用的挂件归为同一个类别等,第二界面222中的不同对象显示区域用于放置不同类的挂件,选择一个类别中的一个挂件显示于对应的对象显示区域,点击一个对象显示区域,即可跳转到对应的预览界面,预览界面中可显示对应类别的所有挂件。第一界面221中多个第二类对象的N类,可按照类别排序,可以根据挂件对应的应用的包名的首字母排序,如图5所示。The second interface 222 supports multiple levels of display. The widgets of the same type in the second type of objects can be classified into one category, just like the widgets of an application are classified into the same category. The display areas of different objects in the second interface 222 are used for Place different types of widgets, select a widget in a category to display in the corresponding object display area, click an object display area, you can jump to the corresponding preview interface, and all widgets of the corresponding category can be displayed in the preview interface. The N types of objects of the second type in the first interface 221 can be sorted by category, and can be sorted by the first letter of the package name of the application corresponding to the widget, as shown in FIG. 5 .
其次,在目标界面中拖动目标应用图标或者目标挂件到桌面210指定位置或文件夹中。Secondly, drag the target application icon or the target widget to the designated location or folder on the desktop 210 in the target interface.
在第一界面221中选中需要拖入到桌面210的目标应用图标,此时目标应用图标上的勾选框被高亮显示,如图4所示,然后拖入桌面210的目标位 置。此时,第一界面221由全高状态自动缩小为半高状态,即可将第一界面221的高度缩小至预设高度范围内,预设高度范围可以为半高状态对应得到高度范围。从第一界面221中拖动的目标图标在未松手时,顶部显示”取消”提示语,拖动到此区域可取消添加桌面210的操作。In the first interface 221, select the target application icon that needs to be dragged into the desktop 210. At this time, the check box on the target application icon is highlighted, as shown in FIG. 4, and then dragged into the target position of the desktop 210. At this time, the first interface 221 is automatically reduced from the full-height state to the half-height state, that is, the height of the first interface 221 can be reduced to a preset height range, and the preset height range can be a height range corresponding to the half-height state. When the target icon dragged from the first interface 221 is not released, the prompt "cancel" is displayed on the top, and the operation of adding the desktop 210 can be canceled by dragging to this area.
第一界面221中应用图标支持批量操作,即可以批量选中应用图标拖入到桌面210指定目标位置,并根据选择的顺序依次摆放。The application icons in the first interface 221 support batch operations, that is, the application icons can be selected in batches and dragged to a designated target location on the desktop 210, and placed in sequence according to the selected order.
若是拖入目标应用图标放置到桌面210不成功时返回第一界面221,且第一界面221中对应的目标应用图标还是被标记为选中状态,即目标应用图标上的勾选框仍被高亮显示。反之,放置成功,第一界面221中目标应用图标标记为初始状态,即未被选中状态。If dragging in the target application icon and placing it on the desktop 210 fails, return to the first interface 221, and the corresponding target application icon in the first interface 221 is still marked as selected, that is, the check box on the target application icon is still highlighted show. On the contrary, if the placing is successful, the icon of the target application in the first interface 221 is marked as an initial state, that is, an unselected state.
在第二界面222中,选择需要拖入桌面210的目标挂件,然后拖入桌面210的指定目标位置。操作过程与拖动应用类似,在此不再赘述。In the second interface 222 , select the target widget that needs to be dragged into the desktop 210 , and then drag it into the specified target position on the desktop 210 . The operation process is similar to that of the drag application, and will not be repeated here.
再者,在桌面210中还显示第一界面221或第二界面222的情况下,可从桌面210拖入目标应用图标至第一界面221或者拖入目标挂件到地第二界面222,即可移除桌面210上对应的目标应用图标或目标者挂件。还可输出目标提示信息,用于提示目标对象已从桌面210移回目标界面,拖动松手后,会返回在目标界面中原来的位置。Furthermore, in the case where the first interface 221 or the second interface 222 is displayed on the desktop 210, the target application icon can be dragged from the desktop 210 to the first interface 221 or the target widget can be dragged into the second interface 222. The corresponding target application icon or target widget on the desktop 210 is removed. The target prompt information can also be output, which is used to prompt that the target object has been moved from the desktop 210 back to the target interface, and after dragging and letting go, it will return to the original position in the target interface.
另外,可向屏幕底部拖动目标界面或者点击桌面210空白处或点击返回键,接口关闭目标界面,并点击桌面210任何空白处或者在桌面210双指向外捏合,退出桌面编辑状态。In addition, you can drag the target interface to the bottom of the screen or click on a blank space on the desktop 210 or click the return key, the interface closes the target interface, and click on any blank space on the desktop 210 or pinch outward with two fingers on the desktop 210 to exit the desktop editing state.
本申请实施,在目标界面中,用户可以快速定位所需要操作的应用图标或者挂件,而且支持批量拖动应用图标或挂件到桌面210,从桌面210拖动应用图标或挂件到目标界面中,可以移除桌面210对应的应用图标或者挂件。In the implementation of this application, in the target interface, the user can quickly locate the application icon or widget that needs to be operated, and supports batch dragging of the application icon or widget to the desktop 210, dragging the application icon or widget from the desktop 210 to the target interface, you can The application icon or widget corresponding to the desktop 210 is removed.
如图6所示,提供一种实施例的对象移动装置600,装置600包括:As shown in FIG. 6, an object moving device 600 of an embodiment is provided, and the device 600 includes:
第一显示模块601,用于在桌面上显示第一控件;A first display module 601, configured to display a first control on the desktop;
第二显示模块602,用于接收对第一控件的第一输入,在桌面上显示目标界面,目标界面中包括多个对象;The second display module 602 is configured to receive a first input to the first control, and display a target interface on the desktop, where the target interface includes multiple objects;
第一接收模块603,用于接收对多个对象中目标对象的第二输入;A first receiving module 603, configured to receive a second input of a target object among the multiple objects;
移动模块604,用于响应于第二输入,将目标对象移动至第二输入对应的目标位置。The moving module 604 is configured to move the target object to a target position corresponding to the second input in response to the second input.
在一个实施例中,目标界面在桌面的第一方向的高度小于桌面在第一方向的高度;In one embodiment, the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction;
装置还包括:The device also includes:
调整模块,用于第二显示模块执行在桌面上显示目标界面之后,在目标界面在第一方向的高度大于第一预设高度的情况下,若接收到对目标界面的第三输入,将第三输入的第一滑动距离乘以阻尼系数的结果确定为第三输入的目标滑动距离,将目标界面在第一方向的高度增加目标滑动距离,第一滑动距离为第三输入在终端的屏幕上的滑动距离,第三输入用于增加目标界面在第一方向的高度,阻尼系数大于0且小于1。The adjustment module is used for the second display module to display the target interface on the desktop, if the height of the target interface in the first direction is greater than the first preset height, if the third input to the target interface is received, the second The result of multiplying the first sliding distance of the three inputs by the damping coefficient is determined as the target sliding distance of the third input, and the height of the target interface in the first direction is increased by the target sliding distance, and the first sliding distance is the third input on the screen of the terminal The sliding distance of , the third input is used to increase the height of the target interface in the first direction, and the damping coefficient is greater than 0 and less than 1.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
系数调整模块,用于在目标界面在第一方向的高度大于第一预设高度的情况下,若目标界面在第一方向的高度增加第二预设高度,则将阻尼系数降低为预设值,其中,多个高度范围中每个高度范围分别对应一个值,预设值为第二预设高度所在的高度范围对应的值。A coefficient adjustment module, configured to reduce the damping coefficient to a preset value if the height of the target interface in the first direction increases by a second preset height when the height of the target interface in the first direction is greater than the first preset height , wherein, each of the multiple height ranges corresponds to a value, and the preset value is the value corresponding to the height range where the second preset height is located.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
第二接收模块,用于第二显示模块执行在桌面上显示目标界面之后,在接收第四输入的情况下,将目标界面关闭;The second receiving module is used for the second display module to close the target interface in the case of receiving the fourth input after the target interface is displayed on the desktop;
其中,第四输入包括以下任一项:Wherein, the fourth input includes any of the following:
对目标界面的拖动输入,拖动输入用于将目标界面在第一方向的高度减少至小于或等于第三预设高度;A drag input to the target interface, where the drag input is used to reduce the height of the target interface in the first direction to less than or equal to a third preset height;
对桌面的目标输入;target input to the desktop;
对第二控件的输入。Input to the second control.
在一个实施例中,多个对象包括多个第一类对象和多个第二类对象,目标界面包括第一界面和第二界面,第一界面中包括多个第一类对象,第二界 面中包括多个第二类对象;In one embodiment, the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects, the target interface includes a first interface and a second interface, the first interface includes a plurality of first-type objects, and the second interface Including multiple second-class objects;
接收对第一控件的第一输入,在桌面上显示目标界面,包括:receiving the first input to the first control, and displaying the target interface on the desktop, including:
接收对第一控件的第一输入,在桌面上显示第一界面或第二界面。The first input to the first control is received, and the first interface or the second interface is displayed on the desktop.
在一个实施例中,第二界面中包括N个对象区域,多个第二类对象分成N类,N为正整数,N个对象区域与N类对应,目标区域用于放置对应的目标类的对象,且在目标区域上显示目标类的对象中任一对象,目标区域为N个对象区域中任一区域。In one embodiment, the second interface includes N object areas, a plurality of second-type objects are divided into N types, N is a positive integer, N object areas correspond to N types, and the target area is used to place objects of the corresponding target class. object, and display any object in the object of the target class on the target area, and the target area is any area in the N object areas.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
第三接收模块,用于第二显示模块执行接收对第一控件的第一输入,在桌面上显示目标界面之后,接收对N个对象区域中目标对象区域的第五输入;The third receiving module is used for the second display module to receive the first input to the first control, and after displaying the target interface on the desktop, receive the fifth input to the target object area in the N object areas;
第三显示模块,用于响应于第五输入,显示预览界面,预览界面中包括目标对象区域对应的一类对象。The third display module is configured to display a preview interface in response to the fifth input, and the preview interface includes a type of object corresponding to the target object area.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
删除模块,用于移动模块执行响应于第二输入,将目标对象移动至第二输入对应的目标位置之后,在显示目标界面的情况下,若接收到对目标对象的第六输入,将目标对象从目标位置删除,其中,第六输入的结束位置位于目标界面内。The deletion module is used for the movement module to respond to the second input, and after the target object is moved to the target position corresponding to the second input, in the case of displaying the target interface, if the sixth input to the target object is received, the target object Delete from the target position, wherein the end position of the sixth input is within the target interface.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
第四接收模块,用于在桌面上显示目标界面之后,接收对多个对象中目标对象的第二输入之前,接收在目标界面对目标对象的第七输入;The fourth receiving module is used to receive the seventh input of the target object on the target interface before receiving the second input of the target object in the plurality of objects after the target interface is displayed on the desktop;
状态调整模块,用于响应于第七输入,将目标对象上的勾选框调整为目标显示状态,目标显示状态用于提示目标对象被选中。The state adjustment module is configured to adjust the check box on the target object to a target display state in response to the seventh input, and the target display state is used to prompt that the target object is selected.
在一个实施例中,装置还包括:In one embodiment, the device also includes:
高度调整模块,用于移动模块604响应于第二输入,将目标对象移动至第二输入对应的目标位置之后,将目标界面在第一方向的高度减少至第四预设高度。The height adjustment module is used for the moving module 604 to reduce the height of the target interface in the first direction to a fourth preset height after moving the target object to the target position corresponding to the second input in response to the second input.
本申请实施例中的对象移动装置可以是装置,也可以是终端中的部件、 集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The object moving device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplary, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant). Assistant, PDA), etc., non-mobile electronic equipment can be network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., the embodiment of the present application Not specifically limited.
本申请实施例中的对象移动装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The object moving device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的对象移动装置能够实现上述对象移动方法实施例实现的各个过程,例如,能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The object moving device provided in the embodiment of the present application can realize various processes realized in the above-mentioned object moving method embodiment, for example, can realize various processes realized in the method embodiment in FIG.
可选地,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述对象移动方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 7 , the embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and operable on the processor 701. The program Or, when the instruction is executed by the processor 701, each process of the above-mentioned object moving method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, etc. part.
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多 或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 800 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 810 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,显示单元806,用于:Wherein, the display unit 806 is used for:
在桌面上显示第一控件;display the first control on the desktop;
接收对第一控件的第一输入,在桌面上显示目标界面,目标界面中包括多个对象;receiving a first input to the first control, and displaying a target interface on the desktop, where the target interface includes multiple objects;
用户输入单元807,用于接收对多个对象中目标对象的第二输入;a user input unit 807, configured to receive a second input on a target object in the plurality of objects;
处理器810,用于响应于第二输入,将目标对象移动至第二输入对应的目标位置。The processor 810 is configured to, in response to the second input, move the target object to a target position corresponding to the second input.
在一个实施例中,目标界面在桌面的第一方向的高度小于桌面在第一方向的高度;In one embodiment, the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction;
处理器810还用于显示单元806执行在桌面上显示目标界面之后,在目标界面在第一方向的高度大于第一预设高度的情况下,若接收到对目标界面的第三输入,将第三输入的第一滑动距离乘以阻尼系数的结果确定为第三输入的目标滑动距离,将目标界面在第一方向的高度增加目标滑动距离,第一滑动距离为第三输入在终端的屏幕上的滑动距离,第三输入用于增加目标界面在第一方向的高度。The processor 810 is also used for the display unit 806 to display the target interface on the desktop, if the height of the target interface in the first direction is greater than the first preset height, if the third input to the target interface is received, the second The result of multiplying the first sliding distance of the three inputs by the damping coefficient is determined as the target sliding distance of the third input, and the height of the target interface in the first direction is increased by the target sliding distance, and the first sliding distance is the third input on the screen of the terminal The sliding distance of , the third input is used to increase the height of the target interface in the first direction.
在一个实施例中,处理器810,还用于在目标界面在第一方向的高度大于第一预设高度的情况下,若目标界面在第一方向的高度增加第二预设高度,则将阻尼系数降低为预设值,其中,多个高度范围中每个高度范围分别对应一个值,预设值为第二预设高度所在的高度范围对应的值。In one embodiment, the processor 810 is further configured to: if the height of the target interface in the first direction is greater than the first preset height, if the height of the target interface in the first direction increases by the second preset height, then The damping coefficient is reduced to a preset value, wherein each height range in the plurality of height ranges corresponds to a value, and the preset value is a value corresponding to the height range where the second preset height is located.
在一个实施例中,处理器810,还用于显示单元806执行在桌面上显示目标界面之后,在接收第四输入的情况下,将目标界面关闭;In one embodiment, the processor 810 is further used for the display unit 806 to close the target interface when the fourth input is received after the target interface is displayed on the desktop;
其中,第四输入包括以下任一项:Wherein, the fourth input includes any of the following:
对目标界面的拖动输入,拖动输入用于将目标界面在第一方向的高度减少至小于或等于第三预设高度;A drag input to the target interface, where the drag input is used to reduce the height of the target interface in the first direction to less than or equal to a third preset height;
对桌面的目标输入;target input to the desktop;
对第二控件的输入。Input to the second control.
在一个实施例中,多个对象包括多个第一类对象和多个第二类对象,目标界面包括第一界面和第二界面,第一界面中包括多个第一类对象,第二界面中包括多个第二类对象;In one embodiment, the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects, the target interface includes a first interface and a second interface, the first interface includes a plurality of first-type objects, and the second interface Including multiple second-class objects;
接收对第一控件的第一输入,在桌面上显示目标界面,包括:receiving the first input to the first control, and displaying the target interface on the desktop, including:
接收对第一控件的第一输入,在桌面上显示第一界面或第二界面。The first input to the first control is received, and the first interface or the second interface is displayed on the desktop.
在一个实施例中,第二界面中包括N个对象区域,多个第二类对象分成N类,N为正整数,N个对象区域与N类对应,目标区域用于放置对应的目标类的对象,且在目标区域上显示目标类的对象中任一对象,目标区域为N个对象区域中任一区域。In one embodiment, the second interface includes N object areas, a plurality of second-type objects are divided into N types, N is a positive integer, N object areas correspond to N types, and the target area is used to place objects of the corresponding target class. object, and display any object in the object of the target class on the target area, and the target area is any area in the N object areas.
在一个实施例中,用户输入单元807,还用于显示单元806执行接收对第一控件的第一输入,在桌面上显示目标界面之后,接收对N个对象区域中目标对象区域的第五输入;In one embodiment, the user input unit 807 is also used for the display unit 806 to receive the first input to the first control, and after displaying the target interface on the desktop, receive the fifth input to the target object area in the N object areas ;
显示单元806,还用于响应于第五输入,显示预览界面,预览界面中包括目标对象区域对应的一类对象。The display unit 806 is further configured to display a preview interface in response to the fifth input, where the preview interface includes a type of object corresponding to the target object area.
在一个实施例中,处理器810,还用于执行响应于第二输入,将目标对象移动至第二输入对应的目标位置之后,在显示目标界面的情况下,若接收到对目标对象的第六输入,将目标对象从目标位置删除,其中,第六输入的结束位置位于目标界面内。In one embodiment, the processor 810 is further configured to respond to the second input, and after the target object is moved to the target position corresponding to the second input, in the case of displaying the target interface, if the second input to the target object is received Six inputs are used to delete the target object from the target position, wherein the end position of the sixth input is located in the target interface.
在一个实施例中,用户输入单元807,还用于在桌面上显示目标界面之后,接收对多个对象中目标对象的第二输入之前,接收在目标界面对目标对象的第七输入;In one embodiment, the user input unit 807 is further configured to receive a seventh input to the target object on the target interface before receiving the second input to the target object among the plurality of objects after the target interface is displayed on the desktop;
处理器810,还用于响应于第七输入,将目标对象上的勾选框调整为目标显示状态,目标显示状态用于提示目标对象被选中。The processor 810 is further configured to, in response to the seventh input, adjust the check box on the target object to a target display state, where the target display state is used to prompt that the target object is selected.
在一个实施例中,处理器810,还用于处理器810响应于第二输入,将目标对象移动至第二输入对应的目标位置之后,将目标界面在第一方向的高度减少至第四预设高度。In one embodiment, the processor 810 is further configured to: in response to the second input, after the processor 810 moves the target object to the target position corresponding to the second input, reduce the height of the target interface in the first direction to a fourth predetermined value. set height.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器 (Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。It should be understood that, in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072 . The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 809 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 810 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述对象移动方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium stores programs or instructions. When the program or instructions are executed by the processor, the various processes of the above-mentioned object moving method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述对象移动方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above object moving method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体 意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种对象移动方法,所述方法包括:A method for moving an object, the method comprising:
    在桌面上显示第一控件;display the first control on the desktop;
    接收对所述第一控件的第一输入,在所述桌面上显示目标界面,所述目标界面中包括多个对象;receiving a first input to the first control, and displaying a target interface on the desktop, where the target interface includes a plurality of objects;
    接收对所述多个对象中目标对象的第二输入;receiving a second input of a target object of the plurality of objects;
    响应于所述第二输入,将所述目标对象移动至所述第二输入对应的目标位置。In response to the second input, moving the target object to a target position corresponding to the second input.
  2. 根据权利要求1所述的方法,其中,所述目标界面在所述桌面的第一方向的高度小于所述桌面在所述第一方向的高度;The method according to claim 1, wherein the height of the target interface in the first direction of the desktop is smaller than the height of the desktop in the first direction;
    所述在所述桌面上显示目标界面之后,还包括:After the target interface is displayed on the desktop, it also includes:
    在所述目标界面在所述第一方向的高度大于第一预设高度的情况下,若接收到对所述目标界面的第三输入,将所述第三输入的第一滑动距离乘以阻尼系数的结果确定为所述第三输入的目标滑动距离,将所述目标界面在所述第一方向的高度增加所述目标滑动距离,所述第一滑动距离为所述第三输入在终端的屏幕上的滑动距离,所述第三输入用于增加所述目标界面在所述第一方向的高度,所述阻尼系数大于0且小于1。In the case that the height of the target interface in the first direction is greater than the first preset height, if a third input to the target interface is received, multiply the first sliding distance of the third input by damping The result of the coefficient is determined as the target sliding distance of the third input, and the height of the target interface in the first direction is increased by the target sliding distance, and the first sliding distance is the third input in the terminal The sliding distance on the screen, the third input is used to increase the height of the target interface in the first direction, and the damping coefficient is greater than 0 and less than 1.
  3. 根据权利要求2所述的方法,其中,在所述目标界面在所述第一方向的高度大于所述第一预设高度的情况下,若所述目标界面在所述第一方向的高度增加第二预设高度,则将所述阻尼系数降低为预设值,其中,多个高度范围中每个高度范围分别对应一个值,所述预设值为所述第二预设高度所在的高度范围对应的值。The method according to claim 2, wherein, when the height of the target interface in the first direction is greater than the first preset height, if the height of the target interface in the first direction increases For the second preset height, reduce the damping coefficient to a preset value, wherein each height range in the plurality of height ranges corresponds to a value, and the preset value is the height where the second preset height is located The value corresponding to the range.
  4. 根据权利要求1所述的方法,其中,所述在所述桌面上显示目标界面之后,还包括:The method according to claim 1, wherein, after displaying the target interface on the desktop, further comprising:
    在接收第四输入的情况下,将所述目标界面关闭;In the case of receiving the fourth input, closing the target interface;
    其中,所述第四输入包括以下任一项:Wherein, the fourth input includes any of the following:
    对所述目标界面的拖动输入,所述拖动输入用于将所述目标界面在第一方向的高度减少至小于第三预设高度;a drag input to the target interface, the drag input is used to reduce the height of the target interface in the first direction to less than a third preset height;
    对所述桌面的目标输入;target input to said desktop;
    对第二控件的输入。Input to the second control.
  5. 根据权利要求1所述的方法,其中,所述多个对象包括多个第一类对象和多个第二类对象,所述目标界面包括第一界面和第二界面,所述第一界面中包括所述多个第一类对象,所述第二界面中包括所述多个第二类对象;The method according to claim 1, wherein the plurality of objects includes a plurality of first-type objects and a plurality of second-type objects, and the target interface includes a first interface and a second interface, and in the first interface including the plurality of first-type objects, and the second interface includes the plurality of second-type objects;
    所述接收对所述第一控件的第一输入,在所述桌面上显示目标界面,包括:The receiving a first input to the first control and displaying a target interface on the desktop includes:
    接收对所述第一控件的第一输入,在所述桌面上显示所述第一界面或所述第二界面。receiving a first input to the first control, and displaying the first interface or the second interface on the desktop.
  6. 根据权利要求5所述的方法,其中,所述第二界面中包括N个对象区域,所述多个第二类对象分成N类,N为正整数,所述N个对象区域与所述N类对应,目标区域用于放置对应的目标类的对象,且在所述目标区域上显示所述目标类的对象中任一对象,所述目标区域为所述N个对象区域中任一区域。The method according to claim 5, wherein the second interface includes N object areas, the plurality of objects of the second type are divided into N categories, N is a positive integer, and the N object areas and the N Class correspondence, the target area is used to place objects of the corresponding target class, and any object of the objects of the target class is displayed on the target area, and the target area is any area of the N object areas.
  7. 根据权利要求6所述的方法,其中,所述接收对所述第一控件的第一输入,在所述桌面上显示目标界面之后,包括:The method according to claim 6, wherein the receiving the first input to the first control, after displaying the target interface on the desktop, comprises:
    接收对所述N个对象区域中目标对象区域的第五输入;receiving a fifth input of a target object area among the N object areas;
    响应于所述第五输入,显示预览界面,所述预览界面中包括所述目标对象区域对应的一类对象。In response to the fifth input, a preview interface is displayed, and the preview interface includes a type of object corresponding to the target object area.
  8. 根据权利要求1所述的方法,其中,所述响应于所述第二输入,将所述目标对象移动至所述第二输入对应的目标位置之后,还包括:The method according to claim 1, wherein after the moving the target object to the target position corresponding to the second input in response to the second input, further comprising:
    在显示所述目标界面的情况下,若接收到对所述目标对象的第六输入,将所述目标对象从所述目标位置删除,其中,所述第六输入的结束位置位于所述目标界面内。When the target interface is displayed, if a sixth input to the target object is received, the target object is deleted from the target position, wherein the end position of the sixth input is located in the target interface Inside.
  9. 根据权利要求1所述的方法,其中,所述响应于所述第二输入,将所 述目标对象移动至所述第二输入对应的目标位置之后,还包括:The method according to claim 1, wherein, in response to the second input, after moving the target object to a target position corresponding to the second input, further comprising:
    将所述目标界面在第一方向的高度减少至第四预设高度。reducing the height of the target interface in the first direction to a fourth preset height.
  10. 一种对象移动装置,所述装置包括:An object moving device, the device comprising:
    第一显示模块,用于在桌面上显示第一控件;a first display module, configured to display a first control on the desktop;
    第二显示模块,用于接收对所述第一控件的第一输入,在所述桌面上显示目标界面,所述目标界面中包括多个对象;A second display module, configured to receive a first input to the first control, and display a target interface on the desktop, where the target interface includes a plurality of objects;
    第一接收模块,用于接收对所述多个对象中目标对象的第二输入;A first receiving module, configured to receive a second input of a target object in the plurality of objects;
    移动模块,用于响应于所述第二输入,将所述目标对象移动至所述第二输入对应的目标位置。A moving module, configured to move the target object to a target position corresponding to the second input in response to the second input.
  11. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-9任一项所述的对象移动方法的步骤。An electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, when the program or instruction is executed by the processor, the invention according to claim 1 is realized - the steps of the object moving method described in any one of 9.
  12. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-9任一项所述的对象移动方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the object moving method according to any one of claims 1-9 are realized.
  13. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-9中任一项所述的对象移动方法的步骤。A chip, comprising a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run a program or an instruction, and realize the method for moving an object according to any one of claims 1-9 step.
  14. 一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行时实现如权利要求1-9中任一项所述的对象移动方法的步骤。A computer program product, the computer program product is stored in a non-transitory storage medium, and when the computer program product is executed by at least one processor, the object movement according to any one of claims 1-9 is realized method steps.
  15. 一种电子设备,被配置为执行如权利要求1-9中任一项所述的对象移动方法的步骤。An electronic device configured to execute the steps of the method for moving an object according to any one of claims 1-9.
PCT/CN2022/119918 2021-09-24 2022-09-20 Object moving method and electronic device WO2023045927A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111120199.8 2021-09-24
CN202111120199.8A CN113805752A (en) 2021-09-24 2021-09-24 Object moving method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023045927A1 true WO2023045927A1 (en) 2023-03-30

Family

ID=78940113

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/119918 WO2023045927A1 (en) 2021-09-24 2022-09-20 Object moving method and electronic device

Country Status (2)

Country Link
CN (1) CN113805752A (en)
WO (1) WO2023045927A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113868702A (en) * 2021-09-24 2021-12-31 维沃移动通信有限公司 Object moving method and device
CN113805752A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Object moving method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912312A (en) * 2015-12-11 2016-08-31 乐视移动智能信息技术(北京)有限公司 Control sliding control method and device thereof
US9720566B1 (en) * 2013-11-13 2017-08-01 Inkling Systems, Inc. Management of user interface elements
CN110989881A (en) * 2019-11-25 2020-04-10 维沃移动通信有限公司 Icon arrangement method and electronic equipment
CN112101408A (en) * 2020-08-03 2020-12-18 联想(北京)有限公司 Classification method and classification device
CN112148170A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Desktop element adjusting method and device and electronic equipment
CN112148166A (en) * 2020-09-28 2020-12-29 维沃移动通信有限公司 Desktop component management method and device
CN113805752A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Object moving method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106855796A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of data processing method, device and intelligent terminal
CN107918510A (en) * 2017-10-30 2018-04-17 北京小米移动软件有限公司 Application icon moving method and device
CN111506243B (en) * 2019-01-31 2023-07-14 阿里巴巴(江西)有限公司 Page information processing method and device and electronic equipment
CN110221741B (en) * 2019-05-31 2021-01-08 维沃移动通信有限公司 Icon management method and terminal equipment
CN111368188B (en) * 2020-02-27 2023-09-05 维沃移动通信有限公司 Application processing method and electronic device
CN111596817B (en) * 2020-04-24 2021-12-14 维沃移动通信有限公司 Icon moving method and electronic equipment
CN112269501A (en) * 2020-10-14 2021-01-26 维沃移动通信有限公司 Icon moving method and device and electronic equipment
CN113111195A (en) * 2021-03-31 2021-07-13 北京达佳互联信息技术有限公司 Multimedia information editing method and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9720566B1 (en) * 2013-11-13 2017-08-01 Inkling Systems, Inc. Management of user interface elements
CN105912312A (en) * 2015-12-11 2016-08-31 乐视移动智能信息技术(北京)有限公司 Control sliding control method and device thereof
CN110989881A (en) * 2019-11-25 2020-04-10 维沃移动通信有限公司 Icon arrangement method and electronic equipment
CN112101408A (en) * 2020-08-03 2020-12-18 联想(北京)有限公司 Classification method and classification device
CN112148166A (en) * 2020-09-28 2020-12-29 维沃移动通信有限公司 Desktop component management method and device
CN112148170A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Desktop element adjusting method and device and electronic equipment
CN113805752A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Object moving method and electronic equipment

Also Published As

Publication number Publication date
CN113805752A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
WO2022068773A1 (en) Desktop element adjustment method and apparatus, and electronic device
CN108664201B (en) Text editing method and device and electronic equipment
WO2023045927A1 (en) Object moving method and electronic device
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112988006B (en) Display method, display device, electronic equipment and storage medium
CN112148170A (en) Desktop element adjusting method and device and electronic equipment
US20180181295A1 (en) Method for displaying information, and terminal equipment
WO2016107462A1 (en) Information input method and device, and smart terminal
US20070045961A1 (en) Method and system providing for navigation of a multi-resource user interface
WO2022199454A1 (en) Display method and electronic device
WO2023005828A1 (en) Message display method and apparatus, and electronic device
WO2023016463A1 (en) Display control method and apparatus, and electronic device and medium
WO2022156666A1 (en) Icon arrangement method and apparatus, and electronic device and readable storage medium
WO2024037418A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2022242542A1 (en) Application icon management method and electronic device
WO2023198064A1 (en) Application program starting method and apparatus, and electronic device and storage medium
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
CN113805996A (en) Information display method and device
WO2024088318A1 (en) Icon management method and apparatus
CN113821288A (en) Information display method and device, electronic equipment and storage medium
CN112765500A (en) Information searching method and device
US20170083212A1 (en) Application program preview interface and operation method thereof
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
WO2022247787A1 (en) Application classification method and apparatus, and electronic device
WO2023045919A1 (en) Text editing method and apparatus

Legal Events

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

Ref document number: 22871973

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE