CN116302256A - Desktop icon sorting method and device, storage medium and terminal - Google Patents

Desktop icon sorting method and device, storage medium and terminal Download PDF

Info

Publication number
CN116302256A
CN116302256A CN202310156552.0A CN202310156552A CN116302256A CN 116302256 A CN116302256 A CN 116302256A CN 202310156552 A CN202310156552 A CN 202310156552A CN 116302256 A CN116302256 A CN 116302256A
Authority
CN
China
Prior art keywords
desktop
icon
terminal
page
pages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310156552.0A
Other languages
Chinese (zh)
Inventor
闭增枝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kaihong Digital Industry Development Co Ltd
Original Assignee
Shenzhen Kaihong Digital Industry Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kaihong Digital Industry Development Co Ltd filed Critical Shenzhen Kaihong Digital Industry Development Co Ltd
Priority to CN202310156552.0A priority Critical patent/CN116302256A/en
Publication of CN116302256A publication Critical patent/CN116302256A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The embodiment of the application provides a desktop icon arranging method, a desktop icon arranging device, a storage medium and a terminal, wherein the method is applied to the terminal and comprises the following steps: when a first operation of a user is detected, starting a desktop icon management application, acquiring the number of desktop pages of the terminal, and enabling the terminal to be in an icon arrangement mode at the moment; generating desktop icon management windows according to the number of the desktop pages, wherein the desktop icon management windows contain thumbnails of each desktop page of the terminal; determining a first target thumbnail selected by a user in a desktop icon management window, and judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop; if not, switching the desktop page currently displayed by the terminal desktop into a first desktop page; determining a second target thumbnail selected by a user in a desktop icon management window and a target icon selected on a first desktop page; and moving the target icon to a second desktop page corresponding to the second target thumbnail.

Description

Desktop icon sorting method and device, storage medium and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a desktop icon sorting method, a device, a storage medium, and a terminal.
Background
With the popularization and wider application of smart phones, the demand of mobile phone software is also becoming stronger. Smartphones often have a large amount of applications installed thereon, with icons of the applications being stacked on the desktop of the phone in large amounts, and the screen size of the phone being limited, requiring multiple desktop pages to hold the icons, and therefore it is becoming increasingly important to manage icons of the applications of the phone.
At present, the mobile phone desktop is very troublesome in arranging icons, if a user wants to drag an icon on one page of the mobile phone desktop to another page, the user needs to click on the icon, then drag the icon to a target page all the way to the left and right edges, the whole operation process is complex, and the efficiency is low.
Accordingly, the prior art has drawbacks and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a desktop icon sorting method, a desktop icon sorting device, a storage medium and a terminal, which can improve efficiency of dragging a desktop icon from a certain page to another page.
The embodiment of the application provides a desktop icon sorting method, which is applied to a terminal, and comprises the following steps:
when a first operation of a user is detected, starting a desktop icon management application, and acquiring the number of desktop pages of the terminal, wherein the terminal is in an icon arrangement mode at the moment;
generating desktop icon management windows according to the number of the desktop pages, wherein the desktop icon management windows contain thumbnails of each desktop page of the terminal;
determining a first target thumbnail selected by a user in the desktop icon management window, and judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop or not;
if not, switching the desktop page currently displayed by the terminal desktop into the first desktop page;
determining a second target thumbnail selected by a user in the desktop icon management window and a target icon selected on the first desktop page;
and moving the target icon to a second desktop page corresponding to the second target thumbnail.
In the desktop icon sorting method, the first operation includes long pressing any one icon on the terminal desktop to a first preset duration, or dragging any one icon on the terminal desktop to move left and right along a first direction.
In the desktop icon arranging method of the embodiment of the present application, generating a desktop icon management window according to the number of desktop pages includes:
reducing each desktop page according to a preset proportion, and generating a thumbnail of each desktop page;
comparing the number of the desktop pages with the number of preset desktop pages, and determining the form of the desktop icon management window according to a comparison result;
generating the desktop icon management window containing thumbnails of all the desktop pages based on the desktop icon management window form.
In the desktop icon sorting method according to the embodiment of the present application, the determining, according to the comparison result, the form of the desktop icon management window includes:
if the number of the desktop pages is larger than the preset number of the desktop pages, determining that the desktop icon management window is in a form comprising a desktop page rolling button;
and if the number of the desktop pages is smaller than or equal to the preset number of the desktop pages, determining that the desktop icon management window is in a form which does not comprise the desktop page rolling button.
In the desktop icon sorting method according to the embodiment of the present application, the desktop page scroll button includes a forward scroll button and a backward scroll button, the forward scroll button and the backward scroll button are indicated to be usable when the forward scroll button and the backward scroll button are displayed in a highlight state, and the forward scroll button and the backward scroll button are indicated to be unusable when the forward scroll button and the backward scroll button are displayed in a dark state.
In the desktop icon sorting method of the embodiment of the present application, the determining the first target thumbnail selected by the user in the desktop icon management window includes:
when a double-click operation of a user in the desktop icon management window is detected, the thumbnail that is double-clicked is determined as the first target thumbnail.
In the desktop icon sorting method of the embodiment of the present application, after the target icon is moved to the second desktop page corresponding to the second target thumbnail, the method further includes:
and when detecting that the user closes the desktop icon management window, exiting the icon arrangement mode.
The embodiment of the application also provides a desktop icon arranging device, which comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is used for executing the desktop icon arranging method according to any embodiment by calling the computer program stored in the memory.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, when the computer program runs on a computer, the computer is caused to execute the desktop icon arranging method described in any embodiment above.
The embodiment of the application also provides a terminal, which comprises the desktop icon sorting device.
According to the desktop icon arranging method, when the first operation of a user is detected, a desktop icon management application is started, an icon arranging mode is entered, the number of desktop pages of a terminal is obtained, and a desktop icon management window containing thumbnails of each desktop page of the terminal is generated according to the number of the desktop pages; then determining a first target thumbnail selected by a user in a desktop icon management window, judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop, and if not, switching the desktop page currently displayed by the terminal desktop into the first desktop page; and then determining a second target thumbnail selected by the user in the desktop icon management window and a target icon selected on the first desktop page, and then moving the target icon to the second desktop page corresponding to the second target thumbnail, so that the efficiency of dragging the desktop icon from one page to another page can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a desktop icon sorting method according to an embodiment of the present application.
Fig. 2 is a diagram of one form of a desktop icon management window according to an embodiment of the present application.
Fig. 3 is another form of a desktop icon management window according to an embodiment of the present application.
Fig. 4 is a state diagram of one form of a desktop icon management window according to an embodiment of the present application.
Fig. 5 is another state diagram of one form of a desktop icon management window according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a desktop icon arranging device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments herein.
The embodiment of the application provides a desktop icon arranging method, which can be applied to a terminal. The terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 1, fig. 1 is a flowchart illustrating a desktop icon sorting method according to an embodiment of the present application. The desktop icon sorting method is applied to a terminal, and can comprise the following steps:
step 101, when a first operation of a user is detected, starting a desktop icon management application, and acquiring the number of desktop pages of the terminal, wherein the terminal is in an icon arrangement mode at the moment;
when the first operation of the user is detected, the user is required to sort the desktop icons, so that the desktop icon management application is started at the moment, and an icon sorting mode is entered.
In some embodiments, the first operation includes long pressing any one icon on the terminal desktop for a first preset duration, or dragging any one icon on the terminal desktop to move left and right along a first direction.
For example, if the first preset duration is 3 seconds, the first operation is to press any icon on the desktop of the terminal for 3 seconds. The first preset duration may be set by those skilled in the art according to actual situations, and is not specifically limited herein.
For another example, the first direction is the width direction of the terminal screen, and the first operation is dragging any icon on the terminal desktop to move left and right along the width direction of the terminal screen. The first direction may be set by those skilled in the art according to actual situations, and is not specifically limited herein.
And 102, generating a desktop icon management window according to the number of the desktop pages, wherein the desktop icon management window comprises a thumbnail of each desktop page of the terminal.
For example, if the terminal has 5 desktop pages containing application icons, the desktop icon management window contains thumbnails of the 5 desktop pages.
The desktop icon management window comprises a thumbnail of each desktop page of the terminal, so that a user can know how many desktop pages the terminal shares and which applications are managed by each desktop page through the desktop icon management window.
In some embodiments, the generating a desktop icon management window according to the number of desktop pages includes:
reducing each desktop page according to a preset proportion, and generating a thumbnail of each desktop page;
comparing the number of the desktop pages with the number of preset desktop pages, and determining the form of the desktop icon management window according to a comparison result;
generating the desktop icon management window containing thumbnails of all the desktop pages based on the desktop icon management window form.
The person skilled in the art may set a preset proportion according to the actual situation, and reduce the generated thumbnail of the desktop page according to the preset proportion, so long as the user is ensured to clearly see each application icon in the graph, and the method is not specifically limited herein.
The number of the preset desktop pages may be 2, but is not limited to 2, and a person skilled in the art may set the number of the preset desktop pages according to actual situations, which is not limited herein.
In some embodiments, the determining the form of the desktop icon management window according to the comparison result includes:
if the number of the desktop pages is larger than the preset number of the desktop pages, determining that the desktop icon management window is in a form comprising a desktop page rolling button;
and if the number of the desktop pages is smaller than or equal to the preset number of the desktop pages, determining that the desktop icon management window is in a form which does not comprise the desktop page rolling button.
For example, as shown in fig. 2, the number of desktop pages is 2, and the number of preset desktop pages is 3, so the number of desktop pages is smaller than the number of preset desktop pages, and at this time, the desktop icon management window is in a form that does not include a desktop page scroll button. As shown in fig. 3, the number of desktop pages is 4, and the number of preset desktop pages is 3, so that the number of desktop pages is greater than the number of preset desktop pages, and at this time, the desktop icon management window is in the form of including desktop page scroll buttons "> >" and "<". The "desktop 1", "desktop 2", "desktop 3" and "desktop 4" respectively represent a thumbnail corresponding to the desktop page 1, a thumbnail corresponding to the desktop page 2, a thumbnail corresponding to the desktop page 3 and a thumbnail corresponding to the desktop page 4, and the thumbnails can intuitively display an icon currently managed by the corresponding desktop page. The "desktop 4" is not displayed in the desktop icon management window at this time, because the desktop icon management window is set to only simultaneously display thumbnails corresponding to 3 desktop pages at the same time, and if the desktop icon management window is set to simultaneously display thumbnails corresponding to 4 desktop pages at the same time, the "desktop 4" is displayed in the desktop icon management window as the "desktop 1", "desktop 2" and "desktop 3".
In some embodiments, the desktop page scroll buttons include a forward scroll button and a backward scroll button, the forward scroll button and the backward scroll button indicating that the forward scroll button and the backward scroll button are available for use when displayed in a highlighted state, and the forward scroll button and the backward scroll button indicating that the forward scroll button and the backward scroll button are not available for use when displayed in a darkened state.
For example, as shown in fig. 3 and 4, the desktop icon management window includes a forward scroll button "> >" and a backward scroll button "<". As shown in fig. 3, when the number of desktop pages is 5 and the desktop icon management windows are currently displayed as desktop 1, desktop 2 and desktop 3, the backward scroll button "<" is in a dark state, and is unavailable, the forward scroll button "> >" is in a highlight state, and is available, and at this time, the desktop icon management windows can be currently displayed from desktop 1, desktop 2 and desktop 3 to desktop 2, desktop 3 and desktop 4 by clicking the forward scroll button "> >", and the changing effect is changed from the state shown in fig. 3 to the state shown in fig. 4. And it can be seen that the forward scroll button "> >" and the backward scroll button "<" in fig. 4 are both in a highlighted state at this time. The method comprises the steps of carrying out a first treatment on the surface of the As shown in fig. 4, when the number of desktop pages is 5 and the desktop icon management windows are currently displayed as desktop 3, desktop 4 and desktop 5, the forward scroll button ">" is in a dark state and unavailable, the backward scroll button "<" is in a highlight state and available, and at this time, the desktop icon management windows can be currently displayed from desktop 3, desktop 4 and desktop 5 to desktop 2, desktop 3 and desktop 4 by clicking the backward scroll button "<" once, and the changing effect is changed to the state of fig. 5 as shown in fig. 4. And it can be seen that the forward scroll button "> >" and the backward scroll button "<" in fig. 5 are both in a highlighted state at this time.
In some embodiments, the desktop icon management window further includes an add desktop page button.
The desktop page adding button is used for adding a new desktop page, and a user can add the new desktop page only by clicking the button. For example, as shown in fig. 2 to 5, "+" in the desktop icon management window is a button for adding a desktop page, and a new desktop page can be added by clicking the button.
In some embodiments, the desktop icon management window further includes a close desktop icon management window button.
The desktop icon management window closing button is used for closing the desktop icon management window, and a user can close the desktop icon management window and exit the icon arrangement mode only by clicking the button. For example, as shown in fig. 2 to 5, the "X" in the desktop icon management window is a button for closing the desktop icon management window, and clicking the button can close the desktop icon management window.
Step 103, determining a first target thumbnail selected by a user in the desktop icon management window, and judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop.
In some embodiments, the determining the first target thumbnail selected by the user in the desktop icon management window includes:
when a double-click operation of a user in the desktop icon management window is detected, the thumbnail that is double-clicked is determined as the first target thumbnail.
For example, as shown in fig. 3, 3 thumbnails in the desktop icon management window are displayed, namely, desktop 1, desktop 2 and desktop 3, and when detecting that the user double-clicks the thumbnail of desktop 1 in the desktop icon management window, it is determined that desktop 1 is the first target thumbnail.
Step 104, if not, switching the desktop page currently displayed by the terminal desktop to the first desktop page.
In some embodiments, after determining whether the first target desktop page corresponding to the first target thumbnail is the desktop page currently displayed by the terminal desktop, the method further includes:
if yes, not switching the desktop page currently displayed by the terminal desktop.
Step 105, determining a second target thumbnail selected by the user in the desktop icon management window and a target icon selected on the first desktop page.
The desktop page currently displayed on the terminal desktop is switched to the first desktop page in the previous step, so that the first desktop page at the moment covers the whole screen of the terminal, and the terminal screen is relatively large, so that the target icon can be conveniently selected.
The user can select only one target icon or multiple target icons on the first desktop page. The selection manner may be to click the target icon or double click the target icon, which is not limited herein.
Wherein the second target thumbnail may be determined by detecting a single-click or double-click operation of the user in the desktop icon management window, i.e., the thumbnail that is single-or double-clicked is determined as the second target thumbnail.
And 106, moving the target icon to a second desktop page corresponding to the second target thumbnail.
In some embodiments, after the moving the target icon to the second desktop page corresponding to the second target thumbnail, the method further includes:
and when detecting that the user closes the desktop icon management window, exiting the icon arrangement mode.
For example, as shown in fig. 2 to 5, when it is detected that the user clicks a close desktop icon management window button "X" in the desktop icon management window, the icon arrangement mode is exited.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
In particular, the present application is not limited by the order of execution of the steps described, and certain steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, in the desktop icon arrangement method provided by the embodiment of the present application, when the first operation of the user is detected, a desktop icon management application is started, an icon arrangement mode is entered, the number of desktop pages of the terminal is obtained, and a desktop icon management window including a thumbnail of each desktop page of the terminal is generated according to the number of desktop pages; then determining a first target thumbnail selected by a user in a desktop icon management window, judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop, and if not, switching the desktop page currently displayed by the terminal desktop into the first desktop page; and then determining a second target thumbnail selected by the user in the desktop icon management window and a target icon selected on the first desktop page, and then moving the target icon to the second desktop page corresponding to the second target thumbnail, so that the efficiency of dragging the desktop icon from one page to another page can be improved.
The embodiment of the application also provides a desktop icon arranging device, which can be integrated in the terminal. The terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a desktop icon arranging device according to an embodiment of the present application. The desktop icon arrangement 30 includes a memory 120, one or more processors 180, and one or more applications, wherein the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; memory 120 may be used to store applications and data. The memory 120 stores application programs including executable code. Applications may constitute various functional modules. The processor 180 executes various functional applications and data processing by running application programs stored in the memory 120. In addition, memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 120 may also include a memory controller to provide access to the memory 120 by the processor 180.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the device and processes data by running or executing application programs stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the device. Optionally, 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 primarily processes an operating system, user interfaces, application programs, and the like.
In particular, in the present embodiment, the memory 120 stores a computer program, and the processor 180 executes the desktop icon arranging method according to any of the above embodiments by calling the computer program stored in the memory 120.
Referring to fig. 7, fig. 7 shows a schematic structural diagram of a terminal provided in an embodiment of the present application, and the terminal may be used to implement the desktop icon arranging method provided in the foregoing embodiment. The terminal 1200 may be a smart phone, a tablet computer, or the like.
As shown in fig. 7, the terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one is shown in the figure), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one is shown in the figure), a power supply 190, and the like. It will be appreciated by those skilled in the art that the configuration of terminal 1200 shown in fig. 7 is not limiting of terminal 1200 and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 110 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices. RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The RF circuitry 110 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the desktop icon sorting method in the above embodiment, and the processor 180 may execute various functional applications and data processing by running the software programs and modules stored in the memory 120, so as to improve the efficiency of dragging the desktop icon from one page to another page. Memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory remotely located relative to the processor 180, which may be connected to the electronic device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may comprise a touch sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 131 or thereabout by using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 180, and can receive commands from the processor 180 and execute them. In addition, the touch-sensitive surface 131 may be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. In addition to the touch-sensitive surface 131, the input unit 130 may also comprise other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 140 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal 1200, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and alternatively, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may overlay the display panel 141, and upon detection of a touch operation thereon or thereabout by the touch-sensitive surface 131, the touch-sensitive surface is transferred to the processor 180 to determine the type of touch event, and the processor 180 then provides a corresponding visual output on the display panel 141 based on the type of touch event. Although in fig. 7 the touch-sensitive surface 131 and the display panel 141 are implemented as two separate components for input and output functions, in some embodiments the touch-sensitive surface 131 may be integrated with the display panel 141 to implement the input and output functions.
Terminal 1200 can also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 1200 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the device is stationary, and the device can be used for applications of recognizing the gesture of a terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the terminal 1200 are not described in detail herein.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and terminal 1200. The audio circuit 160 may transmit the received electrical signal converted from audio data to the speaker 161, and the electrical signal is converted into a sound signal by the speaker 161 to be output; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, receives the electrical signal from the audio circuit 160, converts the electrical signal into audio data, outputs the audio data to the processor 180 for processing, transmits the audio data to, for example, another terminal via the RF circuit 110, or outputs the audio data to the memory 120 for further processing. Audio circuitry 160 may also include an ear bud jack to provide communication of a peripheral ear bud with terminal 1200.
Terminal 1200 may facilitate user email, web browsing, streaming media access, etc. via a transmission module 170 (e.g., wi-Fi module) that provides wireless broadband internet access to the user. Although fig. 7 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the terminal 1200, and may be omitted entirely as needed within the scope of not changing the essence of the invention.
The processor 180 is a control center of the terminal 1200, connects various parts of the entire terminal 1200 using various interfaces and lines, and performs various functions of the terminal 1200 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the human body. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Terminal 1200 also includes a power supply 190 (e.g., a battery) that provides power to the various components, and in some embodiments, may be logically coupled to processor 180 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The power supply 190 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 1200 may further include a camera (e.g., front camera, rear camera), a bluetooth module, etc., which will not be described herein. In particular, in the present embodiment, the display unit 140 of the terminal 1200 is a touch screen display, the terminal 1200 further includes a memory 120, and one or more programs, wherein the one or more programs are stored in the memory 120 and configured to be executed by the one or more processors 180, the one or more programs include instructions for:
when a first operation of a user is detected, starting a desktop icon management application, and acquiring the number of desktop pages of the terminal, wherein the terminal is in an icon arrangement mode at the moment;
generating desktop icon management windows according to the number of the desktop pages, wherein the desktop icon management windows contain thumbnails of each desktop page of the terminal;
determining a first target thumbnail selected by a user in the desktop icon management window, and judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop or not;
if not, switching the desktop page currently displayed by the terminal desktop into the first desktop page;
determining a second target thumbnail selected by a user in the desktop icon management window and a target icon selected on the first desktop page;
and moving the target icon to a second desktop page corresponding to the second target thumbnail.
In some embodiments, the processor 180 is configured to reduce each desktop page according to a preset ratio, and generate a thumbnail of each desktop page; comparing the number of the desktop pages with the number of preset desktop pages, and determining the form of the desktop icon management window according to a comparison result; generating the desktop icon management window containing thumbnails of all the desktop pages based on the desktop icon management window form.
In some embodiments, the processor 180 is configured to determine that the desktop icon management window is in a form including a desktop page scroll button if the number of desktop pages is greater than the preset number of desktop pages; and if the number of the desktop pages is smaller than or equal to the preset number of the desktop pages, determining that the desktop icon management window is in a form which does not comprise the desktop page rolling button.
In some embodiments, the processor 180 is configured to determine the thumbnail that is double-clicked as the first target thumbnail when a double-click operation of the user in the desktop icon management window is detected.
In some embodiments, the processor 180 is configured to exit the icon arrangement mode when detecting a user operation to close the desktop icon management window.
As can be seen from the above, the embodiments of the present application provide a terminal 1200, where the terminal 1200 performs the following steps: when a first operation of a user is detected, starting a desktop icon management application, and acquiring the number of desktop pages of the terminal, wherein the terminal is in an icon arrangement mode at the moment; generating desktop icon management windows according to the number of the desktop pages, wherein the desktop icon management windows contain thumbnails of each desktop page of the terminal; determining a first target thumbnail selected by a user in the desktop icon management window, and judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop or not; if not, switching the desktop page currently displayed by the terminal desktop into the first desktop page; determining a second target thumbnail selected by a user in the desktop icon management window and a target icon selected on the first desktop page; and moving the target icon to a second desktop page corresponding to the second target thumbnail. Through the steps, the method and the device can improve efficiency of dragging the desktop icon from one page to another page.
The embodiment of the application also provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer executes the desktop icon arranging method according to any one of the embodiments.
It should be noted that, for the desktop icon arranging method described in the present application, it will be understood by those skilled in the art that all or part of the process of implementing the desktop icon arranging method described in the embodiments of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and the execution process may include the process of implementing the embodiment of the desktop icon arranging method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), or the like.
The desktop icon sorting method, the desktop icon sorting device, the desktop icon sorting storage medium and the desktop icon sorting terminal provided by the embodiment of the application are described in detail. The principles and embodiments of the present application are described herein with specific examples, the above examples being provided only to assist in understanding the methods of the present application and their core ideas; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. The desktop icon sorting method is characterized by being applied to a terminal, and comprises the following steps:
when a first operation of a user is detected, starting a desktop icon management application, and acquiring the number of desktop pages of the terminal, wherein the terminal is in an icon arrangement mode at the moment;
generating desktop icon management windows according to the number of the desktop pages, wherein the desktop icon management windows contain thumbnails of each desktop page of the terminal;
determining a first target thumbnail selected by a user in the desktop icon management window, and judging whether a first target desktop page corresponding to the first target thumbnail is a desktop page currently displayed by a terminal desktop or not;
if not, switching the desktop page currently displayed by the terminal desktop into the first desktop page;
determining a second target thumbnail selected by a user in the desktop icon management window and a target icon selected on the first desktop page;
and moving the target icon to a second desktop page corresponding to the second target thumbnail.
2. The desktop icon sorting method according to claim 1, wherein the first operation includes long pressing any one icon on the terminal desktop for a first preset duration, or dragging any one icon on the terminal desktop to move left and right along a first direction.
3. The desktop icon sorting method of claim 1, wherein the generating a desktop icon management window according to the number of desktop pages includes:
reducing each desktop page according to a preset proportion, and generating a thumbnail of each desktop page;
comparing the number of the desktop pages with the number of preset desktop pages, and determining the form of the desktop icon management window according to a comparison result;
generating the desktop icon management window containing thumbnails of all the desktop pages based on the desktop icon management window form.
4. The desktop icon sorting method of claim 3, wherein the determining the form of the desktop icon management window based on the comparison result includes:
if the number of the desktop pages is larger than the preset number of the desktop pages, determining that the desktop icon management window is in a form comprising a desktop page rolling button;
and if the number of the desktop pages is smaller than or equal to the preset number of the desktop pages, determining that the desktop icon management window is in a form which does not comprise the desktop page rolling button.
5. The desktop icon sorting method of claim 4, wherein the desktop page scroll button includes a forward scroll button and a backward scroll button, the forward scroll button and the backward scroll button being indicated as being available when displayed in a highlighted state, the forward scroll button and the backward scroll button being indicated as being unavailable when displayed in a darkened state.
6. The desktop icon sorting method of claim 1, wherein the determining the first target thumbnail selected by the user in the desktop icon management window includes:
when a double-click operation of a user in the desktop icon management window is detected, the thumbnail that is double-clicked is determined as the first target thumbnail.
7. The desktop icon sorting method of claim 1, further comprising, after the target icon is moved to the second desktop page corresponding to the second target thumbnail:
and when detecting that the user closes the desktop icon management window, exiting the icon arrangement mode.
8. A desktop icon arranging apparatus comprising a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the desktop icon arranging method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when run on a computer, causes the computer to perform the desktop icon arrangement method of any one of claims 1 to 7.
10. A terminal comprising the desktop icon arranging apparatus of claim 8.
CN202310156552.0A 2023-02-14 2023-02-14 Desktop icon sorting method and device, storage medium and terminal Pending CN116302256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310156552.0A CN116302256A (en) 2023-02-14 2023-02-14 Desktop icon sorting method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310156552.0A CN116302256A (en) 2023-02-14 2023-02-14 Desktop icon sorting method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN116302256A true CN116302256A (en) 2023-06-23

Family

ID=86819736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310156552.0A Pending CN116302256A (en) 2023-02-14 2023-02-14 Desktop icon sorting method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN116302256A (en)

Similar Documents

Publication Publication Date Title
CN108701001B (en) Method for displaying graphical user interface and electronic equipment
CN106775420B (en) Application switching method and device and graphical user interface
CN111149086B (en) Method for editing main screen, graphical user interface and electronic equipment
CN108446058B (en) Mobile terminal operation method and mobile terminal
WO2020007147A1 (en) Application switching method and apparatus for split screen, storage medium, and electronic device
CN110502163B (en) Terminal device control method and terminal device
CN110007996B (en) Application program management method and terminal
CN109804339B (en) Method and device for identifying operation and mobile terminal
CN105975190B (en) Graphical interface processing method, device and system
CN110879680B (en) Icon management method and electronic equipment
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
CN109407949B (en) Display control method and terminal
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
CN108170329B (en) Display control method and terminal equipment
CN116257836B (en) Fingerprint unlocking method and terminal
CN106951143B (en) Method and device for hiding application icons
CN110795189A (en) Application starting method and electronic equipment
CN109165033B (en) Application updating method and mobile terminal
CN111078108A (en) Screen display method and device, storage medium and mobile terminal
CN109165075A (en) Application display method, device, electronic equipment and storage medium
CN110703972A (en) File control method and electronic equipment
CN110647277A (en) Control method and terminal equipment
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN111158542A (en) Message viewing method and electronic equipment
CN111027406B (en) Picture identification method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination