WO2025007615A1 - 桌面图标整理方法、装置、介质及设备 - Google Patents
桌面图标整理方法、装置、介质及设备 Download PDFInfo
- Publication number
- WO2025007615A1 WO2025007615A1 PCT/CN2024/087549 CN2024087549W WO2025007615A1 WO 2025007615 A1 WO2025007615 A1 WO 2025007615A1 CN 2024087549 W CN2024087549 W CN 2024087549W WO 2025007615 A1 WO2025007615 A1 WO 2025007615A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target icon
- icon
- target
- desktop
- operation interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application relates to a desktop icon organization method, device, medium and equipment.
- the second target icon is reset.
- the method further includes:
- the second target icon is controlled to perform at least one boundary rebound action and then move to the position of the first target icon for merging.
- the step of moving the second target icon to the position of the first target icon for merging based on the moving path includes:
- the second target icon is moved to a position at a distance value from the second target icon and merged with the first target icon.
- the step of moving the second target icon to the position of the first target icon for merging based on the moving path includes:
- the second target icon is moved at the dragging speed to a position at a distance from the second target icon and merged with the first target icon.
- the method further includes:
- the drag speed is replaced by the maximum preset speed or the minimum preset speed that is closest to the drag speed.
- the method before responding to the first touch operation on the first target icon on the operation interface, the method further includes:
- a confirmation control is popped up to indicate whether to convert the current icon from an initial state to a receiving state
- the current icon is used as the first target icon.
- the method after responding to the first touch operation on the first target icon on the operation interface, the method further includes:
- the current page is switched to another page without moving the first target icon.
- FIG. 1 Another aspect of the embodiment of the present application further provides a desktop icon arrangement device, the desktop icon arrangement device comprising:
- a first response module configured to record a first position coordinate of a first target icon on the operation interface in response to a first touch operation on the first target icon on the operation interface;
- a second response module configured to respond to a second touch operation on any second target icon other than the first target icon on the operation interface, and record a second position coordinate of the second target icon when the second touch operation is completed on the operation interface;
- a path creation module configured to create a moving path between the first target icon and the second target icon according to the first position coordinates and the second position coordinates;
- An icon merging module is used to move the second target icon to the position of the first target icon for merging based on the moving path.
- another aspect of the embodiment of the present application further provides a storage medium, wherein the storage medium stores a plurality of instructions, wherein the instructions are suitable for a processor to load to execute the desktop icon organization method as described above.
- an embodiment of the present application further provides a terminal device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the desktop icon organization method as described above.
- the present invention provides a method, device, medium and equipment for organizing desktop icons.
- a first touch operation on a first target icon on an operation interface the first position coordinates of the first target icon on the operation interface are recorded; in response to a second touch operation on any second target icon other than the first target icon on the operation interface, the second position coordinates of the second target icon when the second touch operation is completed on the operation interface are recorded; a moving path between the first target icon and the second target icon is created according to the first position coordinates and the second position coordinates; based on the moving path, the second target icon is moved to the position of the first target icon for merging.
- the second target icon can be automatically merged with the first target icon by only sending a touch operation to the second target icon.
- the user does not need to press the icon with his finger and move it on the operation interface, and ensures that the finger is always placed on the icon without leaving the operation interface. It is not only convenient to operate, but also can avoid the situation where the icon merging fails when the finger is accidentally removed or the target range moved to deviates.
- FIG. 1 is a schematic diagram of an application scenario of a desktop icon organization method provided in an embodiment of the present application.
- FIG. 2 is a flow chart of a method for organizing desktop icons according to an embodiment of the present application.
- FIG. 3 is a schematic diagram of the structure of a desktop icon organizing device provided in an embodiment of the present application.
- FIG. 4 is another schematic diagram of the structure of the desktop icon organizing device provided in an embodiment of the present application.
- FIG5 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
- the embodiment of the present application provides a desktop icon arrangement method, by successively determining a first target icon to be merged and a second target icon to be actively merged, and only needing to issue a touch operation to the second target icon to arrange the desktop icons.
- the second target icon is automatically merged with the first target icon.
- the user does not need to press the icon with his finger and move it on the operation interface, and the finger is kept on the icon without leaving the operation interface. It is not only convenient to operate but also can avoid the situation where the icon merging fails when the finger is accidentally moved away or the target range moved to deviates. The following are detailed descriptions.
- a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
- the character "/" in this application generally indicates that the associated objects before and after are in an "or" relationship.
- the naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time/logical sequence indicated by the naming or numbering.
- the process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
- the division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application.
- the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.
- FIG. 1 The application scenario of the embodiment of the present application is shown in Figure 1, which includes: a sending end 101 and a receiving end 102.
- the receiving end 102 and the sending end 101 can communicate with each other through a network connection.
- the purpose of creating a moving path between the first target icon and the second target icon is to automatically control the second target icon to merge with the first target icon, replacing the manual dragging method.
- the distance the user drags the second target icon can be calculated based on the initial position coordinates of the second target icon and the second position coordinates when the second touch operation is completed, and the dragging time of the second target icon can be automatically obtained, so the dragging speed of the second target icon during the dragging operation can be directly calculated.
- the user only needs to determine the dragging direction and then drag the second target icon a certain distance to trigger the second touch operation.
- the user may temporarily want to abandon the operation while dragging the second target icon, so a temporary cancellation function needs to be introduced.
- the second touch operation can be triggered only when the second target icon is aligned with the position of the first target icon, while allowing a certain deviation range.
- the terminal device detects that the second target icon deviates from the preset deviation range, it is determined that the second touch operation is invalid. Based on this design, when the user wants to temporarily give up while dragging the second target icon, he only needs to drag the second target icon in the direction deviating from the first target icon.
- the terminal device first determines the first straight line formed based on the specified direction, and the first target icon and the second target icon in the initial state. a second straight line formed by connecting the first straight line and the second straight line; determining whether the angle formed between the first straight line and the second straight line exceeds a preset threshold; if the angle exceeds the preset threshold, determining that the second touch operation is invalid, and resetting the second target icon.
- the moving path between the first target icon and the second target icon can be set as a curved moving route in addition to being set as a straight line animation path.
- the specific adjustment can be based on user preferences and device type.
- the execution of the moving path can be adjusted using a Bezier curve algorithm to increase the fun of the movement.
- the present solution is optimized for the second touch operation, allowing the user to align the second target icon with the boundary of the operation interface and release it, so that the second target icon collides with the specified boundary after release and performs at least one boundary bounce action based on the incident angle before moving to the position of the first target icon for merging, turning desktop icon arrangement into an interesting collision game.
- the terminal device first detects whether the angle formed between the first straight line and the second straight line exceeds the preset threshold.
- the second target icon is controlled to move in the specified direction after the dragging operation is completed, and the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface is obtained.
- the second target icon is controlled to perform at least one boundary rebound action and then move to the position of the first target icon for merging.
- the second target icon needs to be dragged in the opposite direction of its launching direction, similar to the charging action before shooting a bow and arrow.
- the present application is not limited by the execution order of the various steps described. If no conflict occurs, some steps can be performed in other orders or simultaneously.
- the desktop icon arrangement method records the first position coordinates of the first target icon on the operation interface in response to a first touch operation on a first target icon on the operation interface; and records the first position coordinates of the first target icon on the operation interface in response to a first touch operation on any second target icon other than the first target icon on the operation interface.
- the second touch operation of the icon records the second position coordinates of the second target icon when the second touch operation is completed on the operation interface; creates a moving path between the first target icon and the second target icon according to the first position coordinates and the second position coordinates; based on the moving path, moves the second target icon to the position of the first target icon for merging.
- the desktop icon organization method provided in the embodiment of the present application, by successively determining the first target icon to be merged and the second target icon to be actively merged, it is only necessary to issue a touch operation to the second target icon to automatically merge the second target icon with the first target icon.
- the user does not need to press the icon with his finger and move it on the operation interface, and ensure that the finger is always placed on the icon without leaving the operation interface. It is not only convenient to operate but also can avoid the situation where the icon merging fails when the finger is accidentally removed or the target range moved to deviates. The following are detailed descriptions.
- the embodiment of the present application also provides a desktop icon organization device, which can be integrated in a terminal device.
- FIG3 is a schematic diagram of the structure of a desktop icon arrangement device provided in an embodiment of the present application.
- the desktop icon arrangement device 30 may include:
- a first response module 31 configured to record a first position coordinate of a first target icon on the operation interface in response to a first touch operation on the first target icon on the operation interface;
- a second response module 32 configured to respond to a second touch operation on any second target icon other than the first target icon on the operation interface, and record a second position coordinate of the second target icon when the second touch operation is completed on the operation interface;
- a path creation module 33 used to create a moving path between the first target icon and the second target icon according to the first position coordinates and the second position coordinates;
- the icon merging module 34 is used to move the second target icon to the position of the first target icon for merging based on the moving path.
- the second touch operation is specifically a click operation on the second target icon.
- the second touch operation specifically includes: performing a first long press operation on the second target icon so that the second target icon is granted dragging authority; and dragging the second target icon granted dragging authority in a specified direction.
- the device further includes a first determination module for determining the specified direction.
- a first straight line is formed, and a second straight line is formed by connecting the first target icon and the second target icon in the initial state; determining whether the angle formed between the first straight line and the second straight line exceeds a preset threshold; if the angle exceeds the preset threshold, resetting the second target icon.
- the device also includes a second judgment module, which is used to release the second target icon after completing the drag operation to make it move in a specified direction if the angle exceeds the preset threshold; obtain the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface; and control the second target icon to perform at least one boundary rebound action according to the incident angle and then move to the position of the first target icon for merging.
- a second judgment module which is used to release the second target icon after completing the drag operation to make it move in a specified direction if the angle exceeds the preset threshold; obtain the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface; and control the second target icon to perform at least one boundary rebound action according to the incident angle and then move to the position of the first target icon for merging.
- the icon merging module 34 is used to calculate the distance value between the first position coordinates and the second position coordinates; based on the moving path, move the second target icon to a position away from the distance value and merge it with the first target icon.
- the icon merging module 34 is used to calculate the distance value between the first position coordinates and the second position coordinates; based on the moving path, move the second target icon to a position away from the distance value and merge it with the first target icon.
- the device further includes a detection module for detecting whether the drag speed falls within a preset value range. If the drag speed does not fall within the preset value range, the drag speed is replaced by a maximum preset speed or a minimum preset speed that is closest to the drag speed.
- the device further includes a third response module, which is used to respond to a second long press operation on any icon on the operation interface, pop up a confirmation control for indicating whether to convert the current icon from the initial state to the receiving state; when it is detected that the confirmation control is triggered, the current icon is used as the first target icon.
- the second long press operation specifically refers to the continuous pressing time of the icon being greater than the third preset value.
- any at least two of the first preset value, the second preset value, and the third preset value may be the same or different.
- the device also includes a fourth response module, which is used to place the first target icon in the topmost layer of the operation interface; in response to a page switching operation on the operation interface, the current page is switched to another page without moving the first target icon.
- a fourth response module which is used to place the first target icon in the topmost layer of the operation interface; in response to a page switching operation on the operation interface, the current page is switched to another page without moving the first target icon.
- the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.
- the desktop icon arrangement device 30 provided in the embodiment of the present application, wherein the first response mode Block 31 is used to respond to a first touch operation on a first target icon on the operation interface, and record the first position coordinates of the first target icon on the operation interface; the second response module 32 is used to respond to a second touch operation on any second target icon other than the first target icon on the operation interface, and record the second position coordinates of the second target icon when the second touch operation is completed on the operation interface; the path creation module 33 is used to create a moving path between the first target icon and the second target icon according to the first position coordinates and the second position coordinates; the icon merging module 34 is used to move the second target icon to the position of the first target icon for merging based on the moving path.
- FIG. 4 is another structural diagram of a desktop icon arrangement device provided in an embodiment of the present application.
- the desktop icon arrangement device 30 includes a memory 120, one or more processors 180, and one or more application programs, wherein the one or more application programs are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a first response module 31, a second response module 32, a path creation module 33, and an icon merging module 34.
- the structure and connection relationship of the above components may be as follows:
- the memory 120 can be used to store applications and data.
- the applications stored in the memory 120 include executable codes.
- the applications can be composed of various functional modules.
- the processor 180 executes various functional applications and data processing by running the applications stored in the memory 120.
- the memory 120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
- the processor 180 is the control center of the device, and uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the device and processes data by running or executing applications stored in the memory 120, and calling data stored in the memory 120, so as to monitor the device as a whole.
- the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs.
- the processor 180 will load the executable code corresponding to the process of one or more applications into the memory 120 according to the following instructions, and the processor 180 will run the application stored in the memory 120 to implement various functions:
- the first response instruction is used to respond to the first touch operation on the first target icon on the operation interface. recording the first position coordinates of the first target icon on the operation interface;
- a second response instruction for responding to a second touch operation on any second target icon other than the first target icon on the operation interface, and recording a second position coordinate of the second target icon when the second touch operation is completed on the operation interface;
- a path creation instruction used to create a moving path between the first target icon and the second target icon according to the first position coordinates and the second position coordinates;
- An icon merging instruction is used to move the second target icon to the position of the first target icon for merging based on the moving path.
- the second touch operation is specifically a click operation on the second target icon.
- the second touch operation specifically includes: performing a first long press operation on the second target icon so that the second target icon is granted dragging authority; and dragging the second target icon granted dragging authority in a specified direction.
- the program also includes a first judgment instruction, used to determine a first straight line formed by the specified direction, and a second straight line formed by connecting the first target icon and the second target icon in the initial state; to determine whether an angle formed between the first straight line and the second straight line exceeds a preset threshold; if the angle exceeds the preset threshold, resetting the second target icon.
- a first judgment instruction used to determine a first straight line formed by the specified direction, and a second straight line formed by connecting the first target icon and the second target icon in the initial state; to determine whether an angle formed between the first straight line and the second straight line exceeds a preset threshold; if the angle exceeds the preset threshold, resetting the second target icon.
- the program also includes a second judgment instruction, which is used to release the second target icon after completing the drag operation to move it in a specified direction if the angle exceeds the preset threshold; obtain the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface; and control the second target icon to perform at least one boundary bounce action according to the incident angle and then move to the position of the first target icon for merging.
- a second judgment instruction which is used to release the second target icon after completing the drag operation to move it in a specified direction if the angle exceeds the preset threshold; obtain the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface; and control the second target icon to perform at least one boundary bounce action according to the incident angle and then move to the position of the first target icon for merging.
- the icon merging instruction is used to calculate the distance value between the first position coordinates and the second position coordinates; based on the moving path, the second target icon is moved to a position away from the distance value and merged with the first target icon.
- the icon merging instruction is used to calculate the distance value between the first position coordinates and the second position coordinates; based on the moving path, the second target icon is moved to a position away from the distance value and merged with the first target icon.
- the program further includes a detection instruction for detecting whether the dragging speed is If the dragging speed does not fall within the preset value range, the dragging speed is replaced by a maximum preset speed or a minimum preset speed that is closest to the dragging speed.
- the program also includes a third response instruction, which is used to pop up a confirmation control indicating whether to convert the current icon from an initial state to a receiving state in response to a second long press operation on any icon on the operation interface; when it is detected that the confirmation control is triggered, the current icon is used as the first target icon.
- the program also includes a fourth response instruction for placing the first target icon in the topmost layer of the operation interface; in response to a page switching operation on the operation interface, switching the current page to another page without moving the first target icon.
- the embodiment of the present application also provides a terminal device, which can be a server, a smart phone, a computer, a tablet computer, or other device.
- a terminal device which can be a server, a smart phone, a computer, a tablet computer, or other device.
- the memory 120 can be used to store software programs and modules, such as program instructions/modules corresponding to the desktop icon arrangement method in the above embodiment.
- the processor 180 executes the software stored in the memory 120.
- Programs and modules can be used to perform various functional applications and data processing.
- the vibration reminder mode can be automatically selected to organize the desktop icons, which can not only ensure that scenes such as meetings are not disturbed, but also ensure that users can perceive incoming calls, thereby improving the intelligence of the terminal device.
- the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
- the memory 120 may further include a memory remotely arranged relative to the processor 180, and these remote memories may be connected to the terminal device 1200 via a network.
- a network examples include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the input unit 130 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the input unit 130 may include a touch-sensitive surface 131 and other input devices 132.
- the touch-sensitive surface 131 also known as a touch display screen or a touch pad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface 131 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program.
- the touch-sensitive surface 131 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 180, and can receive and execute commands sent by the processor 180.
- the touch-sensitive surface 131 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
- the input unit 130 may further include other input devices 132.
- the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.
- a function key such as a volume control key, a switch key, etc.
- a trackball such as a mouse, a joystick, and the like.
- the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal device 1200. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof.
- the display unit 140 may include a display panel 141.
- the display panel 141 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
- the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event, and then the processor 180 determines the type of touch event according to the touch.
- the type of control event provides a corresponding visual output on the display panel 141.
- the touch-sensitive surface 131 and the display panel 141 are implemented as two independent components to implement input and output functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to implement input and output functions.
- the terminal device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and/or the backlight when the terminal device 1200 is moved to the ear.
- the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the terminal device 1200, they will not be repeated here.
- the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal device 1200.
- the audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180 for processing, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing.
- the audio circuit 160 may also include an earplug jack to provide communication between an external headset and the terminal device 1200.
- the terminal device 1200 can help users to send and receive emails, browse web pages and access streaming media through the transmission module 170 (such as a Wi-Fi module), which provides users with wireless broadband Internet access.
- the transmission module 170 such as a Wi-Fi module
- FIG. 5 shows the transmission module 170, it is understandable that it is not a necessary component of the terminal device 1200 and can be omitted as needed without changing the essence of the invention.
- the processor 180 is the control center of the terminal device 1200. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, it executes various functions of the terminal device 1200 and processes data, thereby monitoring the mobile phone as a whole.
- the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor.
- the application processor mainly processes the operating system, the user interface and the application program, and the modem processor mainly processes the wireless communication. It is understandable that the modem processor may not be integrated into the processor 180.
- the terminal device 1200 also includes a power supply 190 for supplying power to various components.
- the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can realize functions such as managing discharge and power consumption.
- the power supply 190 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
- the terminal device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described in detail here.
- the display unit 140 of the terminal device 1200 is a touch screen display, and the terminal device 1200 also includes a memory 120, and one or more programs, wherein one or more programs are stored in the memory 120, and are configured to be executed by one or more processors 180.
- One or more programs include instructions for performing the following operations:
- a first response instruction for responding to a first touch operation on a first target icon on the operation interface, recording a first position coordinate of the first target icon on the operation interface;
- a second response instruction for responding to a second touch operation on any second target icon other than the first target icon on the operation interface, and recording a second position coordinate of the second target icon when the second touch operation is completed on the operation interface;
- a path creation instruction used to create a moving path between the first target icon and the second target icon according to the first position coordinates and the second position coordinates;
- An icon merging instruction is used to move the second target icon to the position of the first target icon for merging based on the moving path.
- the second touch operation is specifically a click operation on the second target icon.
- the second touch operation specifically includes: performing a first long press operation on the second target icon so that the second target icon is granted dragging authority; and dragging the second target icon granted dragging authority in a specified direction.
- the program further includes a first judgment instruction for determining the specified direction A first straight line is formed, and a second straight line is formed by connecting the first target icon and the second target icon in the initial state; determining whether the angle formed between the first straight line and the second straight line exceeds a preset threshold; if the angle exceeds the preset threshold, resetting the second target icon.
- the program also includes a second judgment instruction, which is used to release the second target icon after completing the drag operation to move it in a specified direction if the angle exceeds the preset threshold; obtain the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface; and control the second target icon to perform at least one boundary bounce action according to the incident angle and then move to the position of the first target icon for merging.
- a second judgment instruction which is used to release the second target icon after completing the drag operation to move it in a specified direction if the angle exceeds the preset threshold; obtain the incident angle between the second target icon and the boundary when a boundary collision occurs on the operation interface; and control the second target icon to perform at least one boundary bounce action according to the incident angle and then move to the position of the first target icon for merging.
- the icon merging instruction is used to calculate the distance value between the first position coordinates and the second position coordinates; based on the moving path, the second target icon is moved to a position away from the distance value and merged with the first target icon.
- the icon merging instruction is used to calculate the distance value between the first position coordinates and the second position coordinates; based on the moving path, the second target icon is moved to a position away from the distance value and merged with the first target icon.
- the program also includes a detection instruction for detecting whether the drag speed falls within a preset value range. If the drag speed does not fall within the preset value range, the drag speed is replaced by a maximum preset speed or a minimum preset speed that is closest to the drag speed.
- the program also includes a third response instruction, which is used to pop up a confirmation control indicating whether to convert the current icon from an initial state to a receiving state in response to a second long press operation on any icon on the operation interface; when it is detected that the confirmation control is triggered, the current icon is used as the first target icon.
- the program also includes a fourth response instruction for placing the first target icon in the topmost layer of the operation interface; in response to a page switching operation on the operation interface, switching the current page to another page without moving the first target icon.
- the embodiment of the present application also provides a terminal device, which can be a smart phone, a computer, or other device.
- the embodiment of the present application provides a terminal device 1200, and the terminal device 1200 performs the following steps:
- the second target icon is moved to the position where the first target icon is located for merging.
- An embodiment of the present application further provides a storage medium, wherein a computer program is stored in the storage medium.
- the computer program When the computer program is executed on a computer, the computer executes the desktop icon organization method described in any of the above embodiments.
- the desktop icon arrangement method described in the present application ordinary testers in the field can understand that the implementation of all or part of the process of the desktop icon arrangement method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as stored in the memory of a terminal device, and executed by at least one processor in the terminal device, and the execution process may include the process of the embodiment of the desktop icon arrangement method.
- the storage medium can be a disk, an optical disk, a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), etc.
- each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module.
- the above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
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
本申请提供一种桌面图标整理方法、装置、介质及设备,该方法包括:记录第一目标图标的第一位置坐标,及第二目标图标在完成第二触控操作时的第二位置坐标;根据第一位置坐标及第二位置坐标创建第一目标图标与第二目标图标之间的移动路径;将第二目标图标与第一目标图标进行合并。本申请的图标合并方式更加方便和不易出错。
Description
本申请要求于2023年07月04日提交中国专利局、申请号为202310814681.4、发明名称为“桌面图标整理方法、装置、介质及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及一种桌面图标整理方法、装置、介质及设备。
在合并应用图标时,通常是通过长按应用图标,使当前操作界面处于可编辑状态,再将被长按的应用图标移动到指定位置与另一应用图标自动聚合成一个文件夹,或移动至另一文件夹上,自动合并入该文件夹内。但是该方式需要用户用手指按住图标并在操作界面上进行移动,并保证手指一直放置在图标上不离开操作界面,不仅操作麻烦且当出现意外移开手指或者移动到的目标范围出现偏差便会出现图标合并失败的情况。
申请内容
本申请实施例提供一种桌面图标整理方法、装置、介质及设备。利用本申请实施例提供的桌面图标整理方法,能够避免当出现意外移开手指或者移动到的目标范围出现偏差便会出现图标合并失败的情况发生。
本申请实施例一方面提供了一种桌面图标整理方法,所述桌面图标整理方法包括:
响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;
响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;
根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;
基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
在本申请实施例所述的桌面图标整理方法中,所述第二触控操作具体为针
对所述第二目标图标的点击操作。
在本申请实施例所述的桌面图标整理方法中,所述第二触控操作具体包括:
对所述第二目标图标进行第一长按操作,以使所述第二目标图标被赋予拖动权限;及
朝指定方向对所述被赋予拖动权限的第二目标图标进行拖动操作。
在本申请实施例所述的桌面图标整理方法中,所述方法还包括:
确定所述指定方向形成的第一直线,及所述第一目标图标与初始状态下的第二目标图标之间相连形成的第二直线;
判断所述第一直线与第二直线之间形成的夹角是否超过预设阈值;
若所述夹角超过所述预设阈值,则复位所述第二目标图标。
在本申请实施例所述的桌面图标整理方法中,所述方法还包括:
若所述夹角超过所述预设阈值,则在完成所述拖动操作后释放所述第二目标图标使其沿指定方向移动;
获取所述第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角;
根据所述入射夹角控制所述第二目标图标进行至少一次边界反弹动作后移动至所述第一目标图标所处位置进行合并。
在本申请实施例所述的桌面图标整理方法中,所述基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并,包括:
计算所述第一位置坐标与第二位置坐标之间的距离值;
基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在本申请实施例所述的桌面图标整理方法中,所述基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并,包括:
计算所述第二目标图标在进行拖动操作过程中的拖动速度;
基于所述移动路径,将所述第二目标图标以所述拖动速度移动至距离其所述距离值的位置与第一目标图标进行合并。
在本申请实施例所述的桌面图标整理方法中,所述方法还包括:
检测所述拖动速度是否落入预设取值范围内,若所述拖动速度未落入所述
预设取值范围内,则以最接近所述拖动速度的最大预设速度或最小预设速度替换所述拖动速度。
在本申请实施例所述的桌面图标整理方法中,在所述响应于针对操作界面上第一目标图标的第一触控操作之前,所述方法还包括:
响应于针对所述操作界面上任一图标的第二长按操作,弹出用于指示是否将当前图标从初始状态转换成接收状态的确认控件;
当检测到所述确认控件被触发时,将所述当前图标作为第一目标图标。
在本申请实施例所述的桌面图标整理方法中,在所述响应于针对操作界面上第一目标图标的第一触控操作之后,所述方法还包括:
将所述第一目标图标置于所述操作界面的最顶层图层;
响应于针对所述操作界面的页面切换操作,在所述第一目标图标不移动的情况下将当前页面切换为其他页面。
相应的,本申请实施例另一方面还提供了一种桌面图标整理装置,所述桌面图标整理装置包括:
第一响应模块,用于响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;
第二响应模块,用于响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;
路径创建模块,用于根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;
图标合并模块,用于基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
相应的,本申请实施例另一方面还提供了一种存储介质,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行如上所述的桌面图标整理方法。
相应的,本申请实施例另一方面还提供了一种终端设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述指令以执行如上所述的桌面图标整理方法。
本申请实施例提供了一种桌面图标整理方法、装置、介质及设备,该方法
通过响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。利用本申请实施例提供的桌面图标整理方法,通过先后确定被合并的第一目标图标和主动合并的第二目标图标,只需要向第二目标图标发出触控操作便可将第二目标图标自动和第一目标图标进行合并,相较于现有的图标合并方式,不需要用户用手指按住图标并在操作界面上进行移动,并保证手指一直放置在图标上不离开操作界面,不仅操作方便且能够避免当出现意外移开手指或者移动到的目标范围出现偏差便会出现图标合并失败的情况。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的桌面图标整理方法的应用场景示意图。
图2为本申请实施例提供的桌面图标整理方法的流程示意图。
图3为本申请实施例提供的桌面图标整理装置的结构示意图。
图4为本申请实施例提供的桌面图标整理装置的另一结构示意图。
图5为本申请实施例提供的终端设备的结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。
本申请实施例提供一种桌面图标整理方法,通过先后确定被合并的第一目标图标和主动合并的第二目标图标,只需要向第二目标图标发出触控操作便可
将第二目标图标自动和第一目标图标进行合并,相较于现有的图标合并方式,不需要用户用手指按住图标并在操作界面上进行移动,并保证手指一直放置在图标上不离开操作界面,不仅操作方便且能够避免当出现意外移开手指或者移动到的目标范围出现偏差便会出现图标合并失败的情况。以下分别进行详细说明。
本申请中出现的术语“和/或”,可以是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本申请中字符“/”,一般表示前后关联对象是一种“或”的关系。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。在本申请中出现的对步骤进行的命名或者编号,并不意味着必须按照命名或者编号所指示的时间/逻辑先后顺序执行方法流程中的步骤,已经命名或者编号的流程步骤可以根据要实现的技术目的变更执行次序,只要能达到相同或者相类似的技术效果即可。本申请中所出现的模块的划分,是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块之间的间接耦合或通信连接可以是电性或其他类似的形式,本申请中均不作限定。并且,作为分离部件说明的模块或子模块可以是也可以不是物理上的分离,可以是也可以不是物理模块,或者可以分布到多个电路模块中,可以根据实际的需要选择其中的部分或全部模块来实现本申请方案的目的。
本申请实施例的应用场景如图1所示,其中包括:发送端101和接收端102。接收端102和发送端101之间可以通过网络连接的方式实现通信。
示例性地,发送端101可以是电脑、服务器等,在此不做限定。可选地,服务器可以是独立的物理服务器,或者是多个物理服务器构成的服务器集群或者分布式系统,或者是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器,在此不做限定。
接收端102可以是电视、智能手机、平板电脑、笔记本电脑、台式计算机、智能音箱、智能手表、智能语音交互设备、智能家电及车载终端等,在此不做限定。
为了便于理解,下面对本申请实施例中的具体流程进行描述,请参阅图2。
图2为本申请实施例提供的桌面图标整理方法的一实施例流程示意图。
在图2所示的实施例中,所述方法可以包括以下步骤:
步骤201,响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标。
需要说明的是,在此方案中所指的图标整理主要是将多个存在关联的图标合并在一个文件夹中,或者基于用户喜好将多个任意图标合并在一个文件夹中。在本实施例中,以被动合并的图标或文件夹作为第一目标图标,当用户希望在运行桌面图标整理方法的终端设备上进行图标整理操作时,需要先确定被动合并的目标图标或目标文件夹,将其作为第一目标图标。并对第一目标图标进行第一触控操作,以使第一目标图标具有主动接收其他待合并图标的功能,同时记录第一目标图标在操作界面上的第一位置坐标,用于后续合并图标。
在一示例中,可以通过长按第一目标图标触发第一触控操作。具体的,长按第一目标图标具体是指持续按压该第一目标图标的时间超过第一预置值。在实际操作中,还可以在用户长按第一目标图标后自动将第一目标图标放大以区分其他未进行操作的图标。在一些可选的示例中,也可以通过连续N次点击第一目标图标触发第一触控操作,N为大于1的整数。在一些可选的示例中,还可以是通过对第一目标图标采取画圈、勾选等方式,触发第一触控操作。本申请对于触发第一触控操作的方式不做限定,具体可以基于用户的使用习惯进行设置。
步骤202,响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标。
在确定好第一目标图标以及完成对第一目标图标的第一触控操作后,接下来需要用户从操作界面上除第一目标图标外的任一图标中确定待合并的目标图标,为了与第一目标图标区分将其作为第二目标图标。并通过对第二目标图标进行第二触控操作,以触发第二目标图标自动与第一目标图标进行合并的前提条件,同时记录第二目标图标在操作界面上完成第二触控操作时的第二位置坐标,用于后续合并图标。
在一示例中,第二触控操作具体为针对第二目标图标的点击操作,点击次数为M次,即只需要通过点击第二目标图标即可。为了防误触,还可以将点击次数M限定在至少两次。
在另一可选的示例中,第二触控操作具体包括:
对第二目标图标进行第一长按操作,以使第二目标图标被赋予拖动权限。具体的,第一长按操作具体是指持续按压该第二目标图标的时间超过第二预置值。对第二目标图标进行第一长按操作以使得用户能够长按第二目标图标以任意方向和距离拖动;及朝指定方向对被赋予拖动权限的第二目标图标进行拖动操作。需要说明的是,用户只需要确定好拖动方向然后将第二目标图标拖动一定的距离即可触发第二触控操作,不需要像传统的图标整理方式必须将第二目标图标拖动到与第一目标图标发生接触才行。相对来说本申请提供的桌图标整理方法更加方便且不易出错。
步骤203,根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径。
需要解释的是,在第一目标图标与第二目标图标之间创建移动路径的目的在于自动控制第二目标图标与第一目标图标进行合并,取代手动拖动的方式。
步骤204,基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
为了实现第二目标图标能够自动且准确地靠近第一目标图标,在本实施例中,通过计算第一位置坐标与第二位置坐标之间的距离值,基于移动路径,将
第二目标图标移动至距离其距离值的位置与第一目标图标进行合并。
在另一实施例中,还可以计算出第二目标图标在进行拖动操作过程中的拖动速度,基于移动路径,将第二目标图标以拖动速度移动至距离其距离值的位置与第一目标图标进行合并,使用户能够感受到采用不同的拖动速度能够改变第二目标图标与第一目标图标合并的移动速度。
需要说明的是,基于第二目标图标的初始位置坐标及完成第二触控操作时的第二位置坐标即可求得用户拖动第二目标图标的距离,并且第二目标图标的拖动时间可以自动获取,因此可以直接求得第二目标图标在进行拖动操作过程中的拖动速度。
综上所述,由于在合并应用图标时,通常是通过长按应用图标,使当前操作界面处于可编辑状态,再将被长按的应用图标移动到指定位置与另一应用图标自动聚合成一个文件夹,或移动至另一文件夹上,自动合并入该文件夹内。但是该方式需要用户用手指按住图标并在操作界面上进行移动,并保证手指一直放置在图标上不离开操作界面,不仅操作麻烦且当出现意外移开手指或者移动到的目标范围出现偏差便会出现图标合并失败的情况。为了解决这个问题,本方案通过先后确定被合并的第一目标图标和主动合并的第二目标图标,只需要向第二目标图标发出触控操作便可将第二目标图标自动和第一目标图标进行合并,相较于现有的图标合并方式,本申请提供的桌图标整理方法更加方便且不易出错。
在一些实施例中,上述提到利用本申请提供的桌面图标整理方法,用户只需要确定好拖动方向然后将第二目标图标拖动一定的距离即可触发第二触控操作。但是在实际操作中,用户可能在拖动第二目标图标的过程中临时要放弃该操作,因此需要引入临时取消功能。具体可通过限定第二目标图标只有在对准第一目标图标所处位置才能够触发第二触控操作,同时允许存在一定的偏离范围,当终端设备检测到第二目标图标偏离预设的偏离范围时则判定第二触控操作失效。基于此设计当用户在拖动第二目标图标的过程中想要临时放弃时,只需要将第二目标图标朝偏离第一目标图标的方向拖动即可。
若从终端设备针对上述操作的处理逻辑进行描述,则首先由终端设备确定基于指定方向形成的第一直线,及第一目标图标与初始状态下的第二目标图标
之间相连形成的第二直线;判断第一直线与第二直线之间形成的夹角是否超过预设阈值;若夹角超过预设阈值,则判定第二触控操作失效,并复位第二目标图标。
在一些实施例中,第一目标图标与第二目标图标之间的移动路径除了可以被设置为直线动画路径,还可以设置为曲线移动路线,具体可以基于用户偏好及设备类型进行调整,例如可以利用贝塞尔曲线算法调整移动路径的执行,以增加移动的趣味性效果。
在一些实施例中,为了让用户在整理图标过程中体验感进一步得到提升,本方案针对第二触控操作进行优化,使用户能够将第二目标图标对准操作界面的边界释放,使第二目标图标在释放后与指定边界发生碰撞并基于入射夹角进行至少一次边界反弹动作后移动至第一目标图标所处位置进行合并,使桌面图标整理变成一种有趣的碰撞游戏。
若从终端设备针对上述操作的处理逻辑进行描述,则首先由终端设备检测第一直线与第二直线之间形成的夹角是否超过预设阈值,在夹角超过预设阈值时,控制完成拖动操作后的第二目标图标沿指定方向移动,并获取第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角,根据入射夹角控制第二目标图标进行至少一次边界反弹动作后移动至第一目标图标所处位置进行合并。
需要说明的是,为了避免提升第二触控操作趣味性的实施例与临时取消第二触控操作的实施例发生冲突,可以限定在进行提升第二触控操作趣味性的实施例之前,需要先将第二目标图标朝其发射方向的相反方向拖动,类似弓箭发射前的蓄力动作。
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。
具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。
由上可知,本申请实施例提供的桌面图标整理方法通过响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;响应于针对于操作界面上除所述第一目标图标外的任一第二目标
图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。利用本申请实施例提供的桌面图标整理方法,通过先后确定被合并的第一目标图标和主动合并的第二目标图标,只需要向第二目标图标发出触控操作便可将第二目标图标自动和第一目标图标进行合并,相较于现有的图标合并方式,不需要用户用手指按住图标并在操作界面上进行移动,并保证手指一直放置在图标上不离开操作界面,不仅操作方便且能够避免当出现意外移开手指或者移动到的目标范围出现偏差便会出现图标合并失败的情况。以下分别进行详细说明。
本申请实施例还提供一种桌面图标整理装置,所述桌面图标整理装置可以集成在终端设备中。
请参阅图3,图3为本申请实施例提供的桌面图标整理装置的结构示意图。桌面图标整理装置30可以包括:
第一响应模块31,用于响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;
第二响应模块32,用于响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;
路径创建模块33,用于根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;
图标合并模块34,用于基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
在一些实施例中,所述第二触控操作具体为针对所述第二目标图标的点击操作。
在一些实施例中,所述第二触控操作具体包括:对所述第二目标图标进行第一长按操作,以使所述第二目标图标被赋予拖动权限;及朝指定方向对所述被赋予拖动权限的第二目标图标进行拖动操作。
在一些实施例中,所述装置还包括第一判断模块,用于确定所述指定方向
形成的第一直线,及所述第一目标图标与初始状态下的第二目标图标之间相连形成的第二直线;判断所述第一直线与第二直线之间形成的夹角是否超过预设阈值;若所述夹角超过所述预设阈值,则复位所述第二目标图标。
在一些实施例中,所述装置还包括第二判断模块,用于若所述夹角超过所述预设阈值,则在完成所述拖动操作后释放所述第二目标图标使其沿指定方向移动;获取所述第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角;根据所述入射夹角控制所述第二目标图标进行至少一次边界反弹动作后移动至所述第一目标图标所处位置进行合并。
在一些实施例中,所述图标合并模块34,用于计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在一些实施例中,所述图标合并模块34,用于计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在一些实施例中,所述装置还包括检测模块,用于检测所述拖动速度是否落入预设取值范围内,若所述拖动速度未落入所述预设取值范围内,则以最接近所述拖动速度的最大预设速度或最小预设速度替换所述拖动速度。
在一些实施例中,所述装置还包括第三响应模块,用于响应于针对所述操作界面上任一图标的第二长按操作,弹出用于指示是否将当前图标从初始状态转换成接收状态的确认控件;当检测到所述确认控件被触发时,将所述当前图标作为第一目标图标。第二长按操作具体指对图标持续按压的时间大于第三预置值,本申请中,第一预置值、第二预置值、第三预置值任意至少两个之间可以相同,也可以不相同。
在一些实施例中,所述装置还包括第四响应模块,用于将所述第一目标图标置于所述操作界面的最顶层图层;响应于针对所述操作界面的页面切换操作,在所述第一目标图标不移动的情况下将当前页面切换为其他页面。
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现。
由上可知,本申请实施例提供的桌面图标整理装置30,其中第一响应模
块31用于响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;第二响应模块32用于响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;路径创建模块33用于根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;图标合并模块34用于基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
请参阅图4,图4为本申请实施例提供的桌面图标整理装置的另一结构示意图,桌面图标整理装置30包括存储器120、一个或多个处理器180、以及一个或多个应用程序,其中该一个或多个应用程序被存储于该存储器120中,并配置为由该处理器180执行;该处理器180可以包括第一响应模块31、第二响应模块32、路径创建模块33以及图标合并模块34。例如,以上各个部件的结构和连接关系可以如下:
存储器120可用于存储应用程序和数据。存储器120存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器180通过运行存储在存储器120的应用程序,从而执行各种功能应用以及数据处理。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180对存储器120的访问。
处理器180是装置的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的应用程序,以及调用存储在存储器120内的数据,执行装置的各种功能和处理数据,从而对装置进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等。
具体在本实施例中,处理器180会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器120中,并由处理器180来运行存储在存储器120中的应用程序,从而实现各种功能:
第一响应指令,用于响应于针对操作界面上第一目标图标的第一触控操
作,记录所述第一目标图标在操作界面上的第一位置坐标;
第二响应指令,用于响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;
路径创建指令,用于根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;
图标合并指令,用于基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
在一些实施例中,所述第二触控操作具体为针对所述第二目标图标的点击操作。
在一些实施例中,所述第二触控操作具体包括:对所述第二目标图标进行第一长按操作,以使所述第二目标图标被赋予拖动权限;及朝指定方向对所述被赋予拖动权限的第二目标图标进行拖动操作。
在一些实施例中,所述程序还包括第一判断指令,用于确定所述指定方向形成的第一直线,及所述第一目标图标与初始状态下的第二目标图标之间相连形成的第二直线;判断所述第一直线与第二直线之间形成的夹角是否超过预设阈值;若所述夹角超过所述预设阈值,则复位所述第二目标图标。
在一些实施例中,所述程序还包括第二判断指令,用于若所述夹角超过所述预设阈值,则在完成所述拖动操作后释放所述第二目标图标使其沿指定方向移动;获取所述第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角;根据所述入射夹角控制所述第二目标图标进行至少一次边界反弹动作后移动至所述第一目标图标所处位置进行合并。
在一些实施例中,所述图标合并指令,用于计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在一些实施例中,所述图标合并指令,用于计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在一些实施例中,所述程序还包括检测指令,用于检测所述拖动速度是否
落入预设取值范围内,若所述拖动速度未落入所述预设取值范围内,则以最接近所述拖动速度的最大预设速度或最小预设速度替换所述拖动速度。
在一些实施例中,所述程序还包括第三响应指令,用于响应于针对所述操作界面上任一图标的第二长按操作,弹出用于指示是否将当前图标从初始状态转换成接收状态的确认控件;当检测到所述确认控件被触发时,将所述当前图标作为第一目标图标。
在一些实施例中,所述程序还包括第四响应指令,用于将所述第一目标图标置于所述操作界面的最顶层图层;响应于针对所述操作界面的页面切换操作,在所述第一目标图标不移动的情况下将当前页面切换为其他页面。
本申请实施例还提供一种终端设备。所述终端设备可以是服务器、智能手机、电脑、平板电脑等设备。
请参阅图5,图5示出了本申请实施例提供的终端设备的结构示意图,该终端设备可以用于实施上述实施例中提供的桌面图标整理方法。该终端设备1200可以为电视机或智能手机或平板电脑。
如图5所示,终端设备1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图5中示出的终端设备1200结构并不构成对终端设备1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。
存储器120可用于存储软件程序以及模块,如上述实施例中桌面图标整理方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件
程序以及模块,从而执行各种功能应用以及数据处理,可以根据终端设备所处的当前场景来自动选择振动提醒模式来进行桌面图标整理,既能够保证会议等场景不被打扰,又能保证用户可以感知来电,提升了终端设备的智能性。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至终端设备1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触控显示屏或者触控板,可收集用户在其上或附近的触控操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触控检测装置和触控控制器两个部分。其中,触控检测装置检测用户的触控方位,并检测触控操作带来的信号,将信号传送给触控控制器;触控控制器从触控检测装置上接收触控信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端设备1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触控操作后,传送给处理器180以确定触控事件的类型,随后处理器180根据触
控事件的类型在显示面板141上提供相应的视觉输出。虽然在图5中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
终端设备1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端设备1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端设备1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端设备1200的通信。
终端设备1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了传输模块170,但是可以理解的是,其并不属于终端设备1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是终端设备1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其
中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端设备1200还包括给各个部件供电的电源190,在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端设备1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,终端设备1200的显示单元140是触控屏显示器,终端设备1200还包括有存储器120,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器120中,且经配置以由一个或者一个以上处理器180执行一个或者一个以上程序包含用于进行以下操作的指令:
第一响应指令,用于响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;
第二响应指令,用于响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;
路径创建指令,用于根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;
图标合并指令,用于基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
在一些实施例中,所述第二触控操作具体为针对所述第二目标图标的点击操作。
在一些实施例中,所述第二触控操作具体包括:对所述第二目标图标进行第一长按操作,以使所述第二目标图标被赋予拖动权限;及朝指定方向对所述被赋予拖动权限的第二目标图标进行拖动操作。
在一些实施例中,所述程序还包括第一判断指令,用于确定所述指定方向
形成的第一直线,及所述第一目标图标与初始状态下的第二目标图标之间相连形成的第二直线;判断所述第一直线与第二直线之间形成的夹角是否超过预设阈值;若所述夹角超过所述预设阈值,则复位所述第二目标图标。
在一些实施例中,所述程序还包括第二判断指令,用于若所述夹角超过所述预设阈值,则在完成所述拖动操作后释放所述第二目标图标使其沿指定方向移动;获取所述第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角;根据所述入射夹角控制所述第二目标图标进行至少一次边界反弹动作后移动至所述第一目标图标所处位置进行合并。
在一些实施例中,所述图标合并指令,用于计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在一些实施例中,所述图标合并指令,用于计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
在一些实施例中,所述程序还包括检测指令,用于检测所述拖动速度是否落入预设取值范围内,若所述拖动速度未落入所述预设取值范围内,则以最接近所述拖动速度的最大预设速度或最小预设速度替换所述拖动速度。
在一些实施例中,所述程序还包括第三响应指令,用于响应于针对所述操作界面上任一图标的第二长按操作,弹出用于指示是否将当前图标从初始状态转换成接收状态的确认控件;当检测到所述确认控件被触发时,将所述当前图标作为第一目标图标。
在一些实施例中,所述程序还包括第四响应指令,用于将所述第一目标图标置于所述操作界面的最顶层图层;响应于针对所述操作界面的页面切换操作,在所述第一目标图标不移动的情况下将当前页面切换为其他页面。
本申请实施例还提供一种终端设备。所述终端设备可以是智能手机、电脑等设备。
由上可知,本申请实施例提供了一种终端设备1200,所述终端设备1200执行以下步骤:
响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标
图标在操作界面上的第一位置坐标;
响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;
根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;
基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述任一实施例所述的桌面图标整理方法。
需要说明的是,对本申请所述桌面图标整理方法而言,本领域普通测试人员可以理解实现本申请实施例所述桌面图标整理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读存储介质中,如存储在终端设备的存储器中,并被该终端设备内的至少一个处理器执行,在执行过程中可包括如所述桌面图标整理方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。
对本申请实施例的所述桌面图标整理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的桌面图标整理方法、装置、介质及设备进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
Claims (20)
- 一种桌面图标整理方法,其中,包括:响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
- 如权利要求1所述的桌面图标整理方法,其中,所述第一触控操作通过持续按压所述第一目标图标的时长超过第一预置值而触发。
- 如权利要求1所述的桌面图标整理方法,其中,所述第一触控操作通过连续N次点击所述第一目标图标而触发,N为大于1的整数。
- 如权利要求1所述的桌面图标整理方法,其中,所述第一触控操作通过对所述第一目标图标进行画圈操作或勾选操作而触发。
- 如权利要求1所述的桌面图标整理方法,其中,所述第二触控操作具体为针对所述第二目标图标的点击操作。
- 如权利要求5所述的桌面图标整理方法,其中,所述点击操作对应的次数为至少两次。
- 如权利要求1所述的桌面图标整理方法,其中,所述第二触控操作具体包括:对所述第二目标图标进行第一长按操作,以使所述第二目标图标被赋予拖动权限;及朝指定方向对所述被赋予拖动权限的第二目标图标进行拖动操作。
- 如权利要求7所述的桌面图标整理方法,其中,所述方法还包括:确定所述指定方向形成的第一直线,及所述第一目标图标与初始状态下的第二目标图标之间相连形成的第二直线;判断所述第一直线与第二直线之间形成的夹角是否超过预设阈值;若所述夹角超过所述预设阈值,则复位所述第二目标图标。
- 如权利要求8所述的桌面图标整理方法,其中,所述方法还包括:若所述夹角超过所述预设阈值,则在完成所述拖动操作后释放所述第二目标图标使其沿指定方向移动;获取所述第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角;根据所述入射夹角控制所述第二目标图标进行至少一次边界反弹动作后移动至所述第一目标图标所处位置进行合并。
- 如权利要求7所述的桌面图标整理方法,其中,所述基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并,包括:计算所述第一位置坐标与第二位置坐标之间的距离值;基于所述移动路径,将所述第二目标图标移动至距离其所述距离值的位置与第一目标图标进行合并。
- 如权利要求10所述的桌面图标整理方法,其中,所述基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并,包括:计算所述第二目标图标在进行拖动操作过程中的拖动速度;基于所述移动路径,将所述第二目标图标以所述拖动速度移动至距离其所述距离值的位置与第一目标图标进行合并。
- 如权利要求10所述的桌面图标整理方法,其中,所述方法还包括:检测所述拖动速度是否落入预设取值范围内,若所述拖动速度未落入所述预设取值范围内,则以最接近所述拖动速度的最大预设速度或最小预设速度替换所述拖动速度。
- 如权利要求1所述的桌面图标整理方法,其中,在所述响应于针对操作界面上第一目标图标的第一触控操作之前,所述方法还包括:响应于针对所述操作界面上任一图标的第二长按操作,弹出用于指示是否将当前图标从初始状态转换成接收状态的确认控件;当检测到所述确认控件被触发时,将所述当前图标作为第一目标图标。
- 如权利要求1所述的桌面图标整理方法,其中,在所述响应于针对操作界面上第一目标图标的第一触控操作之后,所述方法还包括:将所述第一目标图标置于所述操作界面的最顶层图层;响应于针对所述操作界面的页面切换操作,在所述第一目标图标不移动的情况下将当前页面切换为其他页面。
- 一种桌面图标整理装置,其中,所述桌面图标整理装置包括:第一响应模块,用于响应于针对操作界面上第一目标图标的第一触控操作,记录所述第一目标图标在操作界面上的第一位置坐标;第二响应模块,用于响应于针对于操作界面上除所述第一目标图标外的任一第二目标图标的第二触控操作,记录所述第二目标图标在操作界面上完成所述第二触控操作时的第二位置坐标;路径创建模块,用于根据所述第一位置坐标及第二位置坐标创建所述第一目标图标与第二目标图标之间的移动路径;图标合并模块,用于基于所述移动路径,将所述第二目标图标移动至所述第一目标图标所处位置进行合并。
- 如权利要求15所述的桌面图标整理装置,其中,所述装置还包括第一判断模块,用于确定所述指定方向形成的第一直线,及所述第一目标图标与初始状态下的第二目标图标之间相连形成的第二直线;判断所述第一直线与第二直线之间形成的夹角是否超过预设阈值;若所述夹角超过所述预设阈值,则复位所述第二目标图标。
- 如权利要求15所述的桌面图标整理装置,其中,所述装置还包括第二判断模块,用于若所述夹角超过所述预设阈值,则在完成所述拖动操作后释放所述第二目标图标使其沿指定方向移动;获取所述第二目标图标在操作界面上发生边界碰撞时与边界之间的入射夹角;根据所述入射夹角控制所述第二目标图标进行至少一次边界反弹动作后移动至所述第一目标图标所处位置进行合并。
- 如权利要求15所述的桌面图标整理装置,其中,所述装置还包括第三响应模块,用于响应于针对所述操作界面上任一图标的第二长按操作,弹出用于指示是否将当前图标从初始状态转换成接收状态的确认控件;当检测到所述确认控件被触发时,将所述当前图标作为第一目标图标。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1-14任一项所述的桌面图标整理方法。
- 一种终端设备,其中,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述指令以执行权利要求1-14任一项所述的桌面图标整理方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310814681.4A CN117406882A (zh) | 2023-07-04 | 2023-07-04 | 桌面图标整理方法、装置、介质及设备 |
| CN202310814681.4 | 2023-07-04 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025007615A1 true WO2025007615A1 (zh) | 2025-01-09 |
Family
ID=89487671
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/087549 Ceased WO2025007615A1 (zh) | 2023-07-04 | 2024-04-12 | 桌面图标整理方法、装置、介质及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117406882A (zh) |
| WO (1) | WO2025007615A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117406882A (zh) * | 2023-07-04 | 2024-01-16 | 深圳Tcl新技术有限公司 | 桌面图标整理方法、装置、介质及设备 |
| CN118781231B (zh) * | 2024-09-10 | 2024-11-29 | 海看网络科技(山东)股份有限公司 | 一种基于贝塞尔曲线的组件位移方法、系统、设备及介质 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103116440A (zh) * | 2013-01-23 | 2013-05-22 | 深圳市金立通信设备有限公司 | 一种在终端上移动图标的方法及终端 |
| CN108073405A (zh) * | 2017-12-29 | 2018-05-25 | 维沃移动通信有限公司 | 一种应用程序卸载方法及移动终端 |
| CN110413168A (zh) * | 2019-07-23 | 2019-11-05 | 维沃移动通信有限公司 | 一种图标管理方法及终端 |
| CN110990344A (zh) * | 2019-11-27 | 2020-04-10 | 维沃移动通信有限公司 | 一种对象整理方法及电子设备 |
| CN115048002A (zh) * | 2022-05-05 | 2022-09-13 | 维沃移动通信有限公司 | 一种管理应用程序图标的方法、装置、电子设备及存储介质 |
| CN115858069A (zh) * | 2022-12-09 | 2023-03-28 | 上海哔哩哔哩科技有限公司 | 页面动画显示方法及装置 |
| CN116610239A (zh) * | 2023-01-13 | 2023-08-18 | 深圳传音控股股份有限公司 | 图标处理方法、智能终端及存储介质 |
| CN117406882A (zh) * | 2023-07-04 | 2024-01-16 | 深圳Tcl新技术有限公司 | 桌面图标整理方法、装置、介质及设备 |
-
2023
- 2023-07-04 CN CN202310814681.4A patent/CN117406882A/zh active Pending
-
2024
- 2024-04-12 WO PCT/CN2024/087549 patent/WO2025007615A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103116440A (zh) * | 2013-01-23 | 2013-05-22 | 深圳市金立通信设备有限公司 | 一种在终端上移动图标的方法及终端 |
| CN108073405A (zh) * | 2017-12-29 | 2018-05-25 | 维沃移动通信有限公司 | 一种应用程序卸载方法及移动终端 |
| CN110413168A (zh) * | 2019-07-23 | 2019-11-05 | 维沃移动通信有限公司 | 一种图标管理方法及终端 |
| CN110990344A (zh) * | 2019-11-27 | 2020-04-10 | 维沃移动通信有限公司 | 一种对象整理方法及电子设备 |
| CN115048002A (zh) * | 2022-05-05 | 2022-09-13 | 维沃移动通信有限公司 | 一种管理应用程序图标的方法、装置、电子设备及存储介质 |
| CN115858069A (zh) * | 2022-12-09 | 2023-03-28 | 上海哔哩哔哩科技有限公司 | 页面动画显示方法及装置 |
| CN116610239A (zh) * | 2023-01-13 | 2023-08-18 | 深圳传音控股股份有限公司 | 图标处理方法、智能终端及存储介质 |
| CN117406882A (zh) * | 2023-07-04 | 2024-01-16 | 深圳Tcl新技术有限公司 | 桌面图标整理方法、装置、介质及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117406882A (zh) | 2024-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108200289A (zh) | 一种未读消息处理方法及移动终端 | |
| WO2025007615A1 (zh) | 桌面图标整理方法、装置、介质及设备 | |
| WO2022104952A1 (zh) | 屏幕状态控制方法、装置及存储介质 | |
| CN111026482B (zh) | 一种应用程序控制方法及电子设备 | |
| CN111124223A (zh) | 一种应用界面切换方法及电子设备 | |
| CN110673770B (zh) | 消息展示方法及终端设备 | |
| CN110007835A (zh) | 一种对象管理方法及移动终端 | |
| WO2021057301A1 (zh) | 文件控制方法及电子设备 | |
| CN109358784A (zh) | 一种整理图标的方法、终端设备及存储介质 | |
| CN108762606B (zh) | 一种屏幕解锁方法及终端设备 | |
| WO2020088268A1 (zh) | 桌面图标的整理方法及终端 | |
| CN110752981A (zh) | 一种信息控制方法及电子设备 | |
| CN110879680A (zh) | 一种图标管理方法及电子设备 | |
| CN111610904B (zh) | 图标整理方法、电子设备及存储介质 | |
| CN108681427B (zh) | 一种访问权限控制的方法及终端设备 | |
| CN108073405B (zh) | 一种应用程序卸载方法及移动终端 | |
| CN111324257A (zh) | 一种应用程序图标排列方法及移动终端 | |
| WO2025011179A1 (zh) | 数据传输方法、装置、介质及设备 | |
| CN111459358A (zh) | 一种应用程序控制方法及电子设备 | |
| CN108388400B (zh) | 一种操作处理方法及移动终端 | |
| CN111522613A (zh) | 截屏方法及电子设备 | |
| CN110750318A (zh) | 一种消息回复方法、装置及移动终端 | |
| CN110531905A (zh) | 一种图标控制方法及终端 | |
| CN111443860B (zh) | 触控方法和电子设备 | |
| CN110703962B (zh) | 一种创建快捷方式的方法及终端 |
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: 24835100 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |