CN105912262B - Desktop icon adjusting device, terminal and desktop icon adjusting method - Google Patents

Desktop icon adjusting device, terminal and desktop icon adjusting method Download PDF

Info

Publication number
CN105912262B
CN105912262B CN201610350048.4A CN201610350048A CN105912262B CN 105912262 B CN105912262 B CN 105912262B CN 201610350048 A CN201610350048 A CN 201610350048A CN 105912262 B CN105912262 B CN 105912262B
Authority
CN
China
Prior art keywords
icon
desktop
area
new
adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610350048.4A
Other languages
Chinese (zh)
Other versions
CN105912262A (en
Inventor
武志立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Xingchuang Information Technology Co., Ltd
Original Assignee
Shandong Xingchuang Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Xingchuang Information Technology Co Ltd filed Critical Shandong Xingchuang Information Technology Co Ltd
Priority to CN201610350048.4A priority Critical patent/CN105912262B/en
Publication of CN105912262A publication Critical patent/CN105912262A/en
Application granted granted Critical
Publication of CN105912262B publication Critical patent/CN105912262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a desktop icon adjusting device, a terminal and a desktop icon adjusting method, wherein the method comprises the following steps: monitoring a trigger event, wherein the trigger event is used for triggering the icon area of the current desktop to accommodate a new icon; and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area. According to the invention, the position of the existing icon in the icon area is adjusted to place the new icon, so that more application icons can be displayed on one desktop, the problem that the desktop icon is not clearly seen by a user due to the fact that the desktop icon is reduced in the prior art is solved, and the use experience of the user is enhanced.

Description

Desktop icon adjusting device, terminal and desktop icon adjusting method
Technical Field
The invention relates to the field of terminal display, in particular to a desktop icon adjusting device, a terminal and a desktop icon adjusting method.
Background
With the development of terminal technology, the storage space of a mobile terminal, such as a mobile phone, is rapidly increased from 8G to 16G, to 32G, to 64G, or even 128G, and based on the increase of the storage space, the number of applications installed in the terminal is increased, and correspondingly, the number of desktop icons is increased, and the number of desktop icons is increased, so that the desktop icons are increased, and the desktop icons are displayed in a split screen manner and selected icons which need to be slid by a user are increased.
In order to display as many icons as possible on one screen and reduce the number of operations of sliding left and right by a user for searching applications, the prior art increases the number of application icons for accommodating a single desktop by reducing the icons; however, zooming out on the icon may cause the user to become tired and unclear, which may affect the user experience.
Disclosure of Invention
The invention mainly aims to provide a desktop icon adjusting device, a terminal and a desktop icon adjusting method, and aims to solve the problem that a user cannot clearly see desktop icons due to reduction of the desktop icons.
In order to achieve the above object, the present invention provides a desktop icon adjusting device, including:
the monitoring module is used for monitoring a triggering event, and the triggering event is used for triggering the icon area of the current desktop to accommodate a new icon;
and the adjusting module is used for determining the accommodating space of the new icon, and when the icon area can not accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area.
In some embodiments, the adjusting module is configured to determine an accommodating space of the new icon and a placement position of the new icon in the icon area, and adjust an existing icon on the placement position to be out of the placement position.
In some embodiments, the adjusting module is configured to adjust a position of at least one existing icon in the icon area according to an adjustment rule; the adjustment rule includes selecting a minimum number of existing icons, and/or selecting existing icons in the icon area near the edge of the desktop, as the adjustment objects.
In some embodiments, the triggering event includes one or more of the terminal installing a new application, the icon area being pressed long, the adjustment icon function being turned on.
The invention also provides a terminal which comprises the desktop icon adjusting device provided by the embodiment of the invention.
The invention also provides a desktop icon adjusting method, which comprises the following steps:
monitoring a trigger event, wherein the trigger event is used for triggering the icon area of the current desktop to accommodate a new icon;
and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area.
In some embodiments, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area includes: and determining the accommodating space of the new icon and the placement position of the new icon in the icon area, and adjusting the existing icon on the placement position to be out of the placement position.
In some embodiments, adjusting the position of at least one existing icon in the icon area comprises: adjusting the position of at least one existing icon in the icon area according to the adjustment rule; the adjustment rule includes selecting a minimum number of existing icons, and/or selecting existing icons in the icon area near the edge of the desktop, as the adjustment objects.
In some embodiments, further comprising: if the position of the accommodating space in the icon area cannot be determined, the new icon is reduced in equal proportion, the new accommodating space of the reduced new icon is determined, the position of at least one existing icon in the icon area is adjusted, and the position of the new accommodating space in the icon area is determined.
In some embodiments, the triggering event includes one or more of the terminal installing a new application, the icon area being pressed long, the adjustment icon function being turned on.
According to the desktop icon adjusting method provided by the embodiment of the invention, the accommodating area required for accommodating a new icon is calculated, when the icon area can not accommodate the new icon, the position of the accommodating space of the new icon in the icon area is determined by adjusting the position of at least one existing icon in the icon area, the new icon is placed by adjusting the position of the existing icon in the icon area, instead of enabling the desktop to accommodate more application icons by reducing the desktop icon as in the prior art, the problem that the desktop icon is not clearly seen by a user due to the reduction of the desktop icon is solved while the desktop can display more application icons, and the use experience of the user is enhanced.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a schematic structural diagram of a desktop icon adjusting device according to the present invention;
fig. 4 is a schematic structural diagram of the terminal of the present invention;
FIG. 5 is a flowchart illustrating a method for adjusting desktop icons according to a first embodiment of the present invention;
FIG. 6 is a flowchart illustrating a desktop icon adjusting method according to a second embodiment of the present invention;
FIG. 7 is a schematic diagram of a desktop display before adjustment according to an embodiment of the invention;
FIG. 8 is a schematic diagram of desktop icon coordinates during an adjustment process according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a display of a desktop after successful adjustment according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another display of a desktop after successful adjustment according to an embodiment of the present invention;
FIG. 11 is another illustration of a desktop after the adjustment is successful according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, a user input unit 120, an output unit 130, a memory 140, a controller 150, and a power supply unit 160, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network to download applications and the like. For example, the wireless communication unit may include at least one of a mobile communication module 111 and a wireless internet module 112.
The mobile communication module 111 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 112 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The user input unit 120 may generate key input data to control various operations of the mobile terminal according to a command input by a user. The user input unit 120 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display module 131 in the form of a layer, a touch screen may be formed.
The output unit 130 may include a display module 131 and the like. The display module 131 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display module 131 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display module 131 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display module 131 and the touch panel are stacked on each other in the form of layers to form a touch screen, the display module 131 may function as an input device and an output device. The display module 131 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. The mobile terminal 100 may include two or more display modules (or other display devices) according to a particular desired implementation, for example, the mobile terminal may include an external display module (not shown) and an internal display module (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The memory 140 may store software programs and the like for processing and controlling operations performed by the controller 150, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or is to be output. Also, the memory 140 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 140 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and so on. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 140 through a network connection.
The controller 150 generally controls the overall operation of the mobile terminal. For example, the controller 150 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 150 may include a multimedia module 151 for reproducing (or playing back) multimedia data, and the multimedia module 151 may be constructed within the controller 150 or may be constructed separately from the controller 150. The controller 150 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. In the present invention, the controller 150 can implement the functions of the monitoring module 91 and the adjusting module 92.
The power supply unit 160 receives external power or internal power and provides appropriate power required to operate the respective elements and components under the control of the controller 150.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 150. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in memory 140 and executed by controller 150.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
As shown in fig. 3, based on the above-mentioned mobile terminal hardware structure and communication system, an embodiment of the desktop icon adjusting apparatus of the present invention is provided, where the desktop icon adjusting apparatus includes:
and the monitoring module 31 is configured to monitor a trigger event, where the trigger event is used to trigger the new icon to be accommodated in the icon area of the current desktop.
In practical applications, the trigger event includes one or more of an event that the terminal installs a new application, an event that the icon area is pressed for a long time, and an event that the icon function is turned on.
Specifically, the monitoring module 31 and the monitoring function thereof may be implemented by the controller 150, at this time, the monitoring trigger event may be triggered after the controller 150 monitors that the mobile terminal acquires a new application through the wireless communication unit 110 and installs the new application, or triggered when the controller 150 monitors that the display screen of the user input unit 120 detects that the user presses an icon for a long time or any position of an icon area, or the controller 150 monitors that the keyboard of the user input unit 120 or the like detects that the user opens an adjustment icon, and considers that the trigger event is detected.
And the adjusting module 32 is used for determining the accommodating space of the new icon, and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area.
In practical applications, the adjusting module 32 is configured to determine an accommodating space of a new icon and a placement position of the new icon in the icon area, and adjust an existing icon on the placement position to be out of the placement position.
In some embodiments of the present invention, in order to ensure a better adjustment effect, such as moving a minimum number of existing icons, the adjustment module is configured to adjust a position of at least one existing icon in the icon area according to an adjustment rule; the adjustment rule includes selecting a minimum number of existing icons, and/or selecting existing icons in the icon area near the edge of the desktop, as the adjustment objects.
In practical application, the adjusting module 32 is configured to calculate an accommodating area required for accommodating a new icon, adjust an existing icon position of the icon area if the icon area cannot accommodate the new icon according to a standard placement rule, form an accommodating position matched with the accommodating area, and place the new icon at the accommodating position.
The standard placement rule related to all embodiments of the present invention refers to a setting mode adopted when placing icons in the prior art: as shown in fig. 7, the gaps between icons are all set to be the same, and mainly includes that the first width of the gap between each row of icons is the same, the second width of the gap between each column of icons is the same, and the icons are uniformly placed in the icon area.
The accommodating area required by the new icon according to all the embodiments of the present invention is an area determined by parameters such as the size and shape of the space area required for placing the new icon, and this difference is required to keep a certain distance from other icons on the basis of the requirement of being able to place the new icon.
The accommodation position referred to in all embodiments of the present invention refers to a position for placing a new icon, and may be implemented by directly constituting a single gap between existing icons or constituting a plurality of gaps.
The placement position related to all embodiments of the present invention refers to a position of a new icon selected by a user, and the position may be set by a user clicking a corresponding position of the icon area, and at this time, the controller 150 may determine the position according to the user's pressing detected by the display screen of the user input unit 120; correspondingly, the controller 150 may select an optimal placement position according to the size and shape of the new icon, such as a circle icon placed in the center of the icon area, a bar icon placed at the edge of the desktop, etc.
In practical applications, the adjustment module 32 and the listening function thereof may be implemented by the controller 150. At this time, the controller 150 may perform different operations according to different scenes, implementing the same function.
For example, as shown in fig. 7, 9 icons are already displayed on the current desktop according to the standard placement rule (the desktop can only display 9 icons according to the standard placement rule), at this time, the monitoring module 31 monitors that an application is newly installed, the icon corresponding to the application is the icon 10, the icon 10 needs to be displayed on the current desktop, and according to the prior art, the current desktop can only be displayed on other desktops, or all icons on the current desktop are reduced in equal proportion to place the icon 10, which reduces the user experience to a certain extent.
The embodiment can adopt the following scheme, so that the problem that the desktop icons cannot be clearly seen by the user due to the fact that the desktop icons are reduced in the prior art is solved while more application icons can be displayed on one desktop, and the use experience of the user is enhanced. Specifically, the following describes the function implementation of the adjustment module 32 by taking the common square with the same size as the shape of all application icons and combining different scenes, where the following scenes are described in a scene where no existing icon exists in the placement position selected by the user, and when it is predicted that an existing icon exists in the placement position selected by the user, the corresponding existing icon needs to be moved to other positions, and the specific moving manner may refer to the processing mechanism of the new icon in the following scenes, and is not described in detail.
Scene 1:
assuming that the width of the gap is greater than the side length of the single icon, that is, the width of the gap between the icons and the gap between the icon and the edge of the desktop is greater than the side length of the single icon, at this time, the area of the single gap is greater than the area of the icon, the adjusting module 32 performs the operation of adjusting the icon position of the icon region, and the result of the operation of obtaining the containing position matched with the containing region is: the icon can be placed in the gap between the icon 5 and the icon 6 in the desktop directly by selecting one gap from all the gaps as an accommodating position without adjusting the position of the icon, and then placing a new icon in the selected gap, with the placing effect as shown in fig. 10.
Scene 2:
assuming that the width of the gap is smaller than the side length of the single icon and larger than half of the side length of the single icon, that is, the width of the gap between the icons and the width of the gap between the icon and the edge of the desktop are both smaller than the side length of the single icon and larger than half of the side length of the single icon, at this time, the area of the single gap is smaller than the area of the icon, the total area of the 4 gaps is larger than the area of the icon, the adjusting module 32 executes the icon position of the icon region to be adjusted, and the result of the operation of obtaining the accommodating position matched with the accommodating region: selecting an icon from the icon area as an adjustment object, calculating whether the accommodating area of a first gap area formed after the adjustment object is moved is larger than the accommodating area required by the new icon, if so, then the adjustment object is moved to form a first gap area, the first gap area is used as an accommodating position, a new icon is placed at the accommodating position, and for how to realize that whether the accommodating area of the first gap area formed after the adjustment object is moved is larger than the accommodating area required by the new icon or not, by acquiring the boundary coordinates of the moving object and the boundary coordinates of the adjacent desktop icon of the moving object, respectively calculating the length and width of the first gap area according to the boundary coordinates of the moving target and the boundary coordinates of the adjacent desktop icons to obtain the length and width of the new icon, and when the length and the width of the first gap area are simultaneously larger than those of the new icon, moving the adjusting object to form the first gap area. The specific placement effect is shown in fig. 9, the icon 5 is moved upward and leftward to be close to the icon 2 and the icon 4, at this time, the gap between the icon 5 and the icons 6 and 8 is a large gap formed by 4 small gaps, the area of the gap is larger than that of the icon, and the icon 10 can be placed in the large gap.
Scene 3:
assuming that the width of the gap is smaller than half of the side length of the single icon, that is, the width of the gap between the icons and the gap between the icon and the edge of the desktop is smaller than half of the side length of the single icon, at this time, the total area of 4 gaps is smaller than the area of the icon, and it is necessary to combine 9 or more gaps to generate the containing position conforming to the containing region, at this time, the adjusting module 32 performs the operation of adjusting the icon position of the icon region, and the result of the operation of obtaining the containing position matching with the containing region is: selecting two or more icons from the icon area as an adjustment object, moving the adjustment object to form a second gap area, taking the second gap area as an accommodating position, and placing a new icon at the accommodating position. The specific placement effect is shown in fig. 11, for example, 9 gaps can satisfy placement of the icon 10, the icon 2 is moved upwards to the left, the icon 2 is close to the icon 1 and the upper edge of the desktop, the icon 3 is moved upwards to the right, the icon 5 is moved downwards to the left, the icon 4 and the icon 8 are close to the icon 5, the icon 5 is moved downwards to the right, the icon 9 is close to the right edge of the desktop, gaps between the icon 2 and the icon 3 and between the icon 5 and the icon 6 are large gaps formed by 9 small gaps, the area of each gap is larger than that of each icon, and the icon 10 can be placed in the large gap.
In practical application, the icons are respectively applied icons and non-applied icons; the application icon refers to an icon of application software, such as a QQ icon, a short message icon and the like, and is frequently used by users; the non-application icons refer to control/plug-in icons, such as time control icons and the like, and the icons are frequently used and generally not used by users; the adjustment module 32 may preferentially select to move non-application icons when an icon is selected. Specifically, when the monitoring module 31 monitors a trigger event, one of the non-application icons is selected as a moving target; calculating the accommodating position after the moving target moves; judging whether a new icon can be accommodated or not, and outputting a judgment result; when the judgment result shows that the new application icon can be accommodated, the moving target is moved according to the preset rule to form an accommodating position, and the new icon is moved to the accommodating position, specifically, the following steps can be executed:
step 1, as shown in fig. 8, detecting position information of a control of a non-application icon 5, such as coordinates of an upper left corner (a1, a2) and a lower right corner (a3, a 4); the id of the control, or the height and width of the control can be obtained through the lunch module;
the distances of the surrounding and other controls are respectively calculated, and the coordinate information of the surrounding controls can be obtained. For example, a control icon 2 is arranged above a certain search control icon 5, and the position information of the control icon is as follows: coordinates of upper left corner (b1, b2) and lower right corner (b3, b 4); the lower side of the search control icon 5 is provided with a control icon 8, and the position information of the control icon is as follows: coordinates of upper left corner (c1, c2) and lower right corner (c3, c 4); to the left of this search control icon 5 is a control icon 4 whose position information is: coordinates of upper left corner (d1, d2) and lower right corner (d3, d 4); to the right of this search control icon 5, there is a control icon 6 whose position information is: coordinates of upper left corner (e1, e2) and lower right corner (e3, e 4).
Step 2, calculating the height and width of the application icon that can be accommodated in the accommodating position, for example, the space that can be formed by moving the icon 5 is: the height m1 of the control can be | a2-b4| + | c2-a4|, the width n1 of the space can be a1-d3| + | e1-a3|
Step 3, obtaining the size of the new icon; the id of the application icon 10 and the height and width of the icon may be obtained in the luncher module.
Step 4, judging whether the application icons can be accommodated or not; if the space (height m1, width n1) can accommodate the icon of the application just installed (height m2, width n2 of the application icon), the top non-application icon 5 is moved, if m1> -m2 and n1> -n2, the application icon can be accommodated;
and 5, placing the new icon in the space just vacated. Can be moved by: if (m1-m2) > (n1-n2), indicating a broader height, the non-application icons would want to move up or down; whereas (m1-m2) < (n1-n2) indicates a broader width, the non-application icons are intended to move left or right. And then, by calculating the position of the control of the current desktop, the user can know whether the current non-application icon control has good upward (left) moving effect or downward (right) moving effect, which is determined by later experience or personal preference.
In practical applications, the adjustment result of the adjustment module 32 can be displayed by the display module 131 in fig. 1, such as a display screen.
The desktop icon adjusting device provided by this embodiment may display a new icon by using any one of the effects shown in fig. 9 to 11, specifically, calculate an accommodation area required for accommodating the new icon, and determine a position of an accommodation space of the new icon in the icon area by adjusting a position of at least one existing icon in the icon area when the icon area cannot accommodate the new icon.
In an embodiment of the present invention, the controller 150 in fig. 1 may include the monitoring module 31 and the adjusting module 32 in the embodiment shown in fig. 3. In this case, the above embodiment may be:
first, the controller 150 monitors that the mobile terminal acquires a new application through the wireless communication unit 110 and installs the new application, or the controller 150 monitors that the display screen of the user input unit 120 detects that the user presses the icon for a long time, or the controller 150 monitors that the keyboard of the user input unit 120 detects that the user opens the adjustment icon, and the controller considers that a trigger event is detected.
Again, the controller 150 may determine the placement position of the new icon according to the user's pressing position detected by the display screen of the user input unit 120. For example, when the user clicks a middle position of the display screen, the controller 150 detects the current click through the display screen, and sets the middle position of the icon area corresponding to the click as the placement position of the new icon.
Thereafter, the controller 150 performs different operations according to the existing icons in the placement position, the gap width between the existing icons, and the new icon size:
if no icon exists in the placement position, the width of the gap is larger than the side length of the new icon, one gap is selected from all the gaps at will, and then the new icon is placed in the selected gap;
if no icon exists in the placement position, the gap width is smaller than the side length of a single icon and larger than half of the side length of the single icon, selecting an existing icon close to the placement position from the icon area as an adjustment object, moving to form a first gap area, and placing a new icon in the first gap area;
if no icon exists in the placement position, the width of the gap is smaller than half of the side length of a single icon, two or more icons are selected from the icon area as an adjustment object, the adjustment object is moved to form a second gap area, and a new icon is placed in the second gap area;
if an existing icon exists in the placement position, the corresponding existing icon needs to be moved to another position, and for the existing icon, the manner of determining the target position of the movement of the existing icon may be performed with reference to the description in the above scenarios 1-3, and is not described again.
In practical applications, the controller 150 may preferably select one from the non-application icons as the moving object; calculating the accommodating position after the moving target moves; judging whether a new icon can be accommodated or not, and outputting a judgment result; and when the judgment result shows that the new application icon can be accommodated, moving the moving target according to a preset rule to form an accommodating position, and moving the new icon to the accommodating position.
Then, the display module 131 may display the updated desktop through a display screen or the like.
The embodiment provides a terminal, the position of the accommodating space of a new icon in an icon area is determined by adjusting the position of at least one existing icon in the icon area, the new icon is placed by adjusting the position of the existing icon in the icon area, the problem that a user cannot see desktop icons clearly due to the fact that desktop icons are reduced in the prior art is solved while more application icons can be displayed on one desktop, and the use experience of the user is enhanced.
Fig. 4 is a schematic structural diagram of the terminal of the present invention, and as shown in fig. 4, the terminal provided in this embodiment at least includes: an Input Output (IO) bus 41, a processor 42, a RAM43, a memory 44, and a handwriting screen 45. Wherein the content of the first and second substances,
an input/output (IO) bus 41 is connected to other components (the processor 42, the memory 43, the memory 44, and the display device 45) of the terminal to which it belongs, and provides a transmission line for the other components.
The processor 42 typically controls the overall operation of the server to which it belongs. For example, processor 42 performs computations, validation, etc. The processor 42 may be a Central Processing Unit (CPU), among others. In this embodiment, the processor 42 at least needs to have the following functions: monitoring a trigger event, wherein the trigger event is used for triggering the icon area of the current desktop to accommodate a new icon, and the trigger event comprises one or more of installing a new application by a terminal, long-pressing the icon area and starting an icon function adjusting function; determining the accommodating space of a new icon, and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area; determining the accommodating space of the new icon and the placement position of the new icon in the icon area, and adjusting the existing icon on the placement position to be out of the placement position; and adjusting the position of at least one existing icon in the icon area according to an adjustment rule, wherein the adjustment rule comprises selecting the existing icon close to the edge of the desktop in the icon area as an adjustment object with the least number of the existing icons.
The RAM43 stores processor-readable, processor-executable software code containing instructions for controlling the processor 42 to perform the functions described herein (i.e., software execution functions). In the present embodiment, the RAM43 needs to store at least the programs necessary for implementing the functions described above by the processor 42.
In the desktop icon adjusting apparatus provided by the present invention, software codes for implementing the functions of the listening module 31 and the adjusting module 32 may be stored in the memory 43 and executed by the processor 42 or compiled and executed.
The memory 44, which is typically a semiconductor memory unit, includes Random Access Memory (RAM), Read Only Memory (ROM), and CACHE memory (CACHE), of which RAM is the most important. The memory 44 is one of the important components in the computer, and is a bridge for communicating with the CPU, and the operation of all programs in the computer is performed in the memory, and is used for temporarily storing the operation data in the CPU and the data exchanged with an external storage such as a hard disk, and the CPU transfers the data to be operated to the memory for operation as long as the computer is in operation, and the CPU transmits the result after the operation is completed, and the operation of the memory also determines the stable operation of the computer.
The handwriting screen 45, which typically includes one or more components, allows the processing results of the processor 42, such as the updated desktop, to be displayed, and also detects the user's clicking operations on the handwriting screen, and transmits the detection results to the processor 42.
On the basis of the terminal member shown in fig. 4, the terminal provided by the present embodiment can operate as follows:
the processor 42 monitors that the display screen of the user input unit 120 detects that the user presses the icon for a long time through the handwriting screen 45, and the icons of other desktops are regarded as new icons to be displayed on the desktop;
the processor 42 prompts the user via the handwriting screen 45 to select a placement location for the new icon;
the user clicks on the location on the handwriting screen 45 where the new icon is desired to be placed;
the processor 42 acquires the click position of the user through the handwriting screen 45, and takes the click position as the placement position of the new icon;
if the placement position has no existing icons, the processor 42 executes different operations according to the gap width between the existing icons of the current desktop and the size of the new icon: if the width of the gap is larger than the side length of the new icon, selecting one gap from all the gaps at will, and then placing the new icon in the selected gap; if the gap width is smaller than the side length of a single icon and larger than half of the side length of the single icon, selecting an existing icon close to the placement position from the icon area as an adjustment object, moving to form a first gap area, and placing a new icon in the first gap area; if the width of the gap is smaller than half of the side length of a single icon, selecting two or more icons from the icon area as an adjustment object, moving the adjustment object to form a second gap area, and placing a new icon in the second gap area;
if there is an existing icon in the placement location, the processor 42 needs to move the corresponding existing icon to another location, and for the existing icon, the method for determining the target location of the movement may be performed with reference to the description in scenes 1 to 3, which is not described again.
The updated desktop is then displayed on the handwriting screen 45, the adjustment effect is shown to the user, and if the user is not satisfied, the placement position of at least one icon is reselected, and the processor 42 repeats the above steps until the user is satisfied.
According to the terminal provided by the embodiment, the accommodating area required for accommodating the new icon is calculated, when the icon area cannot accommodate the new icon, the position of the accommodating space of the new icon in the icon area is determined by adjusting the position of at least one existing icon in the icon area, the method places the new icon by adjusting the position of the existing icon in the icon area instead of enabling the desktop to accommodate more application icons in a desktop icon reducing mode as in the prior art, the problem that the desktop icon cannot be seen clearly by a user due to desktop icon reduction is solved while the fact that the desktop can display more application icons is ensured, and the use experience of the user is enhanced.
As shown in fig. 5, a first embodiment of a desktop icon adjusting method according to the present invention is provided, in which a desktop display method includes the following steps:
s501: and monitoring a trigger event, wherein the trigger event is used for triggering the icon area of the current desktop to accommodate a new icon.
In actual application, the trigger event comprises one or more of an event that the terminal installs a new application, an event that the icon area is pressed for a long time, and an event that the function of the adjustment icon is turned on; specifically, the event may be an event that the mobile terminal acquires a new application through the wireless communication unit 110 and installs the new application, an event that the user presses an icon for a long time is detected through the display screen of the user input unit 120 shown in fig. 1, and an event that the user opens an adjustment icon may be detected through the keyboard of the user input unit 120 shown in fig. 1.
Specifically, the step may be triggered after the controller 150 monitors that the mobile terminal acquires a new application through the wireless communication unit 110 and installs the new application, may be triggered when the controller 150 monitors that the display screen of the user input unit 120 detects that the user presses an icon for a long time, and may also be considered as detecting that a trigger event is detected when the controller 150 monitors that the keyboard of the user input unit 120 or the like detects that the user opens the adjustment icon.
S502: and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area.
In practical applications, step S502 may include: determining the accommodating space of the new icon and the placement position of the new icon in the icon area, and adjusting the existing icon on the placement position to be out of the placement position; may also include: adjusting the position of at least one existing icon in the icon area according to the adjustment rule; the adjustment rule comprises that the least number of existing icons and/or the existing icons close to the edge of the desktop in the icon area are selected as adjustment objects; the method can also comprise the following steps: if the position of the accommodating space in the icon area cannot be determined, the new icon is reduced in equal proportion, the new accommodating space of the reduced new icon is determined, the position of at least one existing icon in the icon area is adjusted, and the position of the new accommodating space in the icon area is determined.
In practical applications, step S502 may be performed by controller 150 by calling a program in memory 140. At this time, the controller 150 may perform different operations according to different scenes, so as to implement the functions of adjusting the position of the existing icon and placing a new icon. For example, as shown in fig. 7, 9 icons are already displayed on the current desktop according to the standard placement rule (the desktop can only display 9 icons according to the standard placement rule), at this time, step S501 monitors the trigger event, and the icon 10 needs to be displayed on the desktop, and according to the prior art, the icon 10 can only be displayed on other desktops, or all icons on the current desktop are scaled down to place the icon 10, which reduces the user experience to a certain extent.
The embodiment can adopt the following scheme, so that the problem that the desktop icons cannot be clearly seen by the user due to the fact that the desktop icons are reduced in the prior art is solved while more application icons can be displayed on one desktop, and the use experience of the user is enhanced.
Specifically, if the width of the gap is greater than the side length of the single icon, that is, the width of the gap between the icons and the gap between the icon and the edge of the desktop is greater than the side length of the single icon, at this time, the area of the single gap is greater than the area of the icon, the controller 150 executes the icon position of the icon region to be adjusted, and the result of the operation of obtaining the containing position matched with the containing region is: the icon can be placed in the gap between the icon 5 and the icon 6 in the desktop directly by selecting one gap from all the gaps as an accommodating position without adjusting the position of the icon, and then placing a new icon in the selected gap, with the placing effect as shown in fig. 10.
If the width of the gap is smaller than the side length of the single icon and larger than half of the side length of the single icon, that is, the width of the gap between the icons and the width of the gap between the icon and the edge of the desktop are smaller than the side length of the single icon and larger than half of the side length of the single icon, at this time, the area of the single gap is smaller than the area of the icon, the total area of the 4 gaps is larger than the area of the icon, the controller 150 executes the icon position of the icon region to be adjusted, and the result of the operation of obtaining the containing position matched with the containing region is that: selecting an icon from the icon area as an adjustment object, moving the adjustment object to form a first gap area, taking the first gap area as an accommodating position, and placing a new icon at the accommodating position. The specific placement effect is shown in fig. 9, the icon 5 is moved upward and leftward to be close to the icon 2 and the icon 4, at this time, the gap between the icon 5 and the icons 6 and 8 is a large gap formed by 4 small gaps, the area of the gap is larger than that of the icon, and the icon 10 can be placed in the large gap.
If the width of the gap is smaller than half of the side length of the single icon, that is, the width of the gap between the icons and the gap between the icon and the edge of the desktop is smaller than half of the side length of the single icon, at this time, the total area of the 4 gaps is smaller than the area of the icons, and it is necessary to combine the 9 or more gaps to generate the containing position conforming to the containing area, at this time, the controller 150 executes the icon position of the icon area to be adjusted, and the result of the operation of obtaining the containing position matching with the containing area is that: selecting two or more icons from the icon area as an adjustment object, moving the adjustment object to form a second gap area, taking the second gap area as an accommodating position, and placing a new icon at the accommodating position. The specific placement effect is shown in fig. 11, for example, 9 gaps can satisfy placement of the icon 10, the icon 2 is moved upwards to the left, the icon 2 is close to the icon 1 and the upper edge of the desktop, the icon 3 is moved upwards to the right, the icon 5 is moved downwards to the left, the icon 4 and the icon 8 are close to the icon 5, the icon 5 is moved downwards to the right, the icon 9 is close to the right edge of the desktop, gaps between the icon 2 and the icon 3 and between the icon 5 and the icon 6 are large gaps formed by 9 small gaps, the area of each gap is larger than that of each icon, and the icon 10 can be placed in the large gap.
In practical application, the icons are respectively applied icons and non-applied icons; the application icon refers to an icon of application software, such as a QQ icon, a short message icon and the like, and is frequently used by users; the non-application icons refer to control/plug-in icons, such as time control icons and the like, and the icons are frequently used and generally not used by users; the controller 150 may preferentially select to move the non-application icon when the icon is selected. Specifically, in this step, preferably, one of the non-application icons is selected as the moving target; calculating the accommodating position after the moving target moves; judging whether a new icon can be accommodated or not, and outputting a judgment result; when the judgment result shows that the new application icon can be accommodated, the moving target is moved according to the preset rule to form an accommodating position, and the new icon is moved to the accommodating position
In order to avoid that the new icon is too large, and the matching accommodating position cannot be obtained no matter how the icon position is adjusted in step S502, in some embodiments, step S502 further includes: and if the icon position of the icon area is adjusted, and the containing position cannot be obtained, reducing the new icon in equal proportion, calculating a new containing area required for containing the reduced new icon, adjusting the icon position of the icon area, and obtaining the containing position matched with the new containing area. Specifically, the method may include: now, the new icon is adjusted to 90% of the original size, and then the icon is selected from the icon area as the moving object according to the adjustment rule according to the preset placement position of the new icon in the step S502, and the position of the moving object is moved to form the accommodating position; if not, the icon is adjusted to 80% of the original size, and step S502 is repeatedly executed until the accommodating position is found.
In practical applications, after step S502, the updated desktop can be displayed through the display module 131.
According to the method provided by the embodiment, the accommodating area required for accommodating the new icon is calculated, when the icon area cannot accommodate the new icon, the position of the accommodating space of the new icon in the icon area is determined by adjusting the position of at least one existing icon in the icon area, and the new icon is placed by adjusting the position of the existing icon in the icon area, so that the desktop can accommodate more application icons, instead of the desktop can accommodate more application icons by reducing the desktop icon in the prior art, the problem that the desktop icon cannot be clearly seen by a user due to the reduction of the desktop icon in the prior art is solved, and the use experience of the user is enhanced.
In practical application, more application icons are displayed by adjusting the desktop control, inconvenience caused by sliding the desktop left and right by a user is reduced, and user experience is enhanced. According to the embodiment of the invention, the number of the application icons is increased without reducing the icons, and the reduction of the icons causes the defects of eye fatigue, unclear reading and the like of the user. The method and the device only move the positions of the non-application icons and intelligently adjust the positions of the non-application icons, and a user does not need to manually move a control; the mode for adjusting the desktop icons provided by the invention is that the desktop time controls or other controls such as a search control occupy the space of the application icons, and after the application is installed or when the time controls or the controls such as the search control and other non-application icons are pressed for a long time, the positions, the shapes, the sizes and the like of the controls are tried to be adjusted so as to put down more desktop icons.
As shown in fig. 6, a second embodiment of the desktop icon adjusting method according to the present invention is provided, in this embodiment, the desktop displaying method includes the following steps:
s601: setting a triggering condition, a selection condition and a preset rule, wherein the triggering event is used for triggering the icon area of the current desktop to accommodate a new icon;
in practical applications, the user may set the trigger condition, the selection condition and the preset rule through the keyboard of the user input unit 120 shown in fig. 1. The triggering condition can be that after the application is installed, or the user presses a time control for a long time, or presses a control of a non-application icon such as search for a long time, or the user wants to adjust the desktop icon through a menu; the selection condition is used for selecting the moving target, and can be a time control, a space control, a search control and the like selected from the non-application icons, and the preset rule can be that the moving target has good upward (left) moving effect or downward (right) moving effect, which is determined by later experience or personal preference. Of course, this step may be set by the mobile terminal by default.
S602: detecting any one of the trigger events;
when detecting that a new application is installed, or a control which is not an application icon, such as a long-time press control, a long-time press search control, or the like, or a desktop icon is to be adjusted through a menu, or the like, when the operation of adjusting the desktop icon is considered to be needed, a trigger event is detected;
s603: selecting a moving target;
as shown in fig. 7, the desktop icons include icons 1-9, where icon 5 is an icon of a time control, i.e., a non-application icon, and is taken as a moving target;
s604: calculating the accommodating position formed by the moving target;
as shown in fig. 8, position information of a control other than the application icon 5, for example, coordinates of an upper left corner (a1, a2) and a lower right corner (a3, a4), an id of the control, or a height and a width of the control, may be obtained by the lunch module;
the distances of the surrounding and other controls are respectively calculated, and the coordinate information of the surrounding controls can be obtained. For example, a control icon 2 is arranged above a certain search control icon 5, and the position information of the control icon is as follows: coordinates of upper left corner (b1, b2) and lower right corner (b3, b 4); the lower side of the search control icon 5 is provided with a control icon 8, and the position information of the control icon is as follows: coordinates of upper left corner (c1, c2) and lower right corner (c3, c 4); to the left of this search control icon 5 is a control icon 4 whose position information is: coordinates of upper left corner (d1, d2) and lower right corner (d3, d 4); to the right of this search control icon 5, there is a control icon 6 whose position information is: coordinates of upper left corner (e1, e2) and lower right corner (e3, e 4).
Calculating the height and width of the application icon that can be accommodated by the accommodating position, for example, the space that can be formed by moving the icon 5 is: the height m1 of the control can be | a2-b4| + | c2-a4|, the width n1 of the space can be a1-d3| + | e1-a3|
S605: acquiring the size of an application icon to be adjusted;
the id of the application icon 10 and the height and width of the icon may be obtained in the luncher module.
S606: judging whether the application icon can be accommodated or not;
if the space (height m1, width n1) calculated in step S605 can accommodate the icon of the application just installed (height m2, width n2 of the application icon), the top non-application icon 5 is moved, and step S607 is performed; if m1> -m2 and n1> -n2, it is possible to accommodate the application icon; otherwise, executing step S608;
s607: adjusting the display position of an application icon of an application to be adjusted; displaying the adjusted desktop icon;
the newly installed application gets the icon to be placed in the space just vacated. Can be moved by: if (m1-m2) > (n1-n2), indicating a broader height, the non-application icons would want to move up or down; whereas (m1-m2) < (n1-n2) indicates a broader width, the non-application icons are intended to move left or right.
And then, by calculating the position of the control of the current desktop, the user can know whether the current non-application icon control has good upward (left) moving effect or downward (right) moving effect, which is determined by later experience or personal preference.
Specifically, as shown in fig. 9, the flow ends.
S608: judging whether other available moving targets exist or not;
if yes, reselecting the moving target, if icon 1 is selected, returning to execute step S603, otherwise, executing step S609;
s609: normally displaying a desktop icon;
in this step, it is necessary to directly remind that the adjustment fails, and the desktop icon is normally displayed, and if the icon 10 is placed on another desktop, the process is ended.
In practical application, if the desktop of the user is applied too much, the number of screens displaying the application is increased, the difficulty is increased for the user to select the desired application, the position of the desktop icon is moved, a space is reserved for the application icon, the complexity of finding the application icon by sliding the desktop by the user is reduced, the user experience is increased, compared with the prior art that the desktop can contain more application icons by reducing the desktop icon, the size of each desktop icon is not changed, the number of desktop icons in a single desktop is also increased, the problem that the desktop icons cannot be seen clearly by the user due to reduction of the desktop icons in the prior art is solved, and the user experience of the user is enhanced.
According to the desktop icon adjusting method, device and terminal, the accommodating area required for accommodating the new icon is calculated, when the icon area cannot accommodate the new icon, the position of the accommodating space of the new icon in the icon area is determined by adjusting the position of at least one existing icon in the icon area, the new icon is placed by adjusting the position of the existing icon in the icon area, the desktop can accommodate more application icons in a mode of reducing the desktop icon as in the prior art, the problem that the desktop icon cannot be clearly seen by a user due to the fact that the desktop icon is reduced in the prior art is solved while the desktop can display more application icons, and the use experience of the user is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A desktop icon adjusting apparatus, comprising:
the monitoring module is used for monitoring a triggering event, and the triggering event is used for triggering the new icon to be accommodated in the icon area of the current desktop;
the adjusting module is used for determining the accommodating space of the new icon, and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area;
if the position of the accommodating space in the icon area cannot be determined, the new icon is reduced in an equal proportion, the new accommodating space of the reduced new icon is determined, the position of at least one existing icon in the icon area is adjusted, and the position of the new accommodating space in the icon area is determined.
2. The desktop icon adjusting apparatus as claimed in claim 1, wherein the adjusting module is configured to determine an accommodating space of the new icon and a placement position of the new icon in the icon area, and adjust an existing icon on the placement position to be out of the placement position.
3. The desktop icon adjusting apparatus as claimed in claim 1, wherein the adjusting module is configured to adjust a position of at least one existing icon in the icon area according to an adjusting rule; the adjustment rule comprises that the minimum number of existing icons and/or the existing icons in the icon area close to the edge of the desktop are/is selected as the adjustment objects.
4. A desktop icon adjustment mechanism as claimed in any one of claims 1 to 3, wherein the triggering event includes one or more of a terminal installing a new application, an icon area being pressed for a long time, an adjustment icon function being turned on.
5. A terminal characterized by comprising the desktop icon adjusting apparatus according to any one of claims 1 to 4.
6. A desktop icon adjusting method is characterized by comprising the following steps:
monitoring a trigger event, wherein the trigger event is used for triggering the icon area of the current desktop to accommodate a new icon;
determining an accommodating space of the new icon, and when the icon area cannot accommodate the new icon, adjusting the position of at least one existing icon in the icon area, and determining the position of the accommodating space in the icon area;
if the position of the accommodating space in the icon area cannot be determined, the new icon is reduced in an equal proportion, the new accommodating space of the reduced new icon is determined, the position of at least one existing icon in the icon area is adjusted, and the position of the new accommodating space in the icon area is determined.
7. The method for adjusting desktop icons according to claim 6, wherein the adjusting of the position of at least one existing icon in the icon area and the determining of the position of the accommodating space in the icon area comprises: and determining the accommodating space of the new icon and the placement position of the new icon in the icon area, and adjusting the existing icons on the placement position to be out of the placement position.
8. The method for adjusting desktop icons according to claim 6, wherein adjusting the position of at least one existing icon in the icon area comprises: adjusting the position of at least one existing icon in the icon area according to an adjustment rule; the adjustment rule comprises that the minimum number of existing icons and/or the existing icons in the icon area close to the edge of the desktop are/is selected as the adjustment objects.
9. The desktop icon adjusting method as claimed in any one of claims 6 to 8, wherein the triggering event includes one or more of a terminal installing a new application, an icon area being pressed for a long time, an adjusting icon function being turned on.
CN201610350048.4A 2016-05-24 2016-05-24 Desktop icon adjusting device, terminal and desktop icon adjusting method Active CN105912262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610350048.4A CN105912262B (en) 2016-05-24 2016-05-24 Desktop icon adjusting device, terminal and desktop icon adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610350048.4A CN105912262B (en) 2016-05-24 2016-05-24 Desktop icon adjusting device, terminal and desktop icon adjusting method

Publications (2)

Publication Number Publication Date
CN105912262A CN105912262A (en) 2016-08-31
CN105912262B true CN105912262B (en) 2020-11-10

Family

ID=56742191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610350048.4A Active CN105912262B (en) 2016-05-24 2016-05-24 Desktop icon adjusting device, terminal and desktop icon adjusting method

Country Status (1)

Country Link
CN (1) CN105912262B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033393B (en) * 2018-07-31 2021-06-01 Oppo广东移动通信有限公司 Sticker processing method, device, storage medium and electronic equipment
CN112269501A (en) * 2020-10-14 2021-01-26 维沃移动通信有限公司 Icon moving method and device and electronic equipment
CN112379810B (en) * 2020-12-08 2022-09-09 四川酷赛科技有限公司 Method for dynamically adjusting size of desktop icon and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914211A (en) * 2014-04-04 2014-07-09 华为终端有限公司 Automatic interface element adjusting method and automatic interface element adjusting device
CN104156155A (en) * 2014-08-29 2014-11-19 广州视源电子科技股份有限公司 Desktop widget arranging method and device
CN105302447A (en) * 2015-12-02 2016-02-03 上海斐讯数据通信技术有限公司 Management method for APP application icons and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7954064B2 (en) * 2005-10-27 2011-05-31 Apple Inc. Multiple dashboards
US8930841B2 (en) * 2010-02-15 2015-01-06 Motorola Mobility Llc Methods and apparatus for a user interface configured to display event information
CN103279261B (en) * 2013-04-23 2016-06-29 惠州Tcl移动通信有限公司 The adding method of wireless telecommunications system and widget thereof
CN103955331B (en) * 2014-05-08 2018-04-03 广东欧珀移动通信有限公司 A kind of application program image target display processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914211A (en) * 2014-04-04 2014-07-09 华为终端有限公司 Automatic interface element adjusting method and automatic interface element adjusting device
CN104156155A (en) * 2014-08-29 2014-11-19 广州视源电子科技股份有限公司 Desktop widget arranging method and device
CN105302447A (en) * 2015-12-02 2016-02-03 上海斐讯数据通信技术有限公司 Management method for APP application icons and mobile terminal

Also Published As

Publication number Publication date
CN105912262A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN106775391B (en) Interface switching device and method
CN106445352B (en) Edge touch device and method of mobile terminal
CN106933489B (en) Method and device for preventing screen misoperation
CN106383647B (en) Terminal interface control device and method
US8171427B2 (en) Mobile terminal and controlling method thereof
CN105426097B (en) Real-time split screen size adjusting method and split screen device
CN104731480B (en) Image display method and device based on touch screen
CN106569709B (en) Apparatus and method for controlling mobile terminal
CN105468158B (en) Color adjustment method and mobile terminal
WO2016173414A1 (en) Mobile terminal and quick start method and device for application program thereof
CN106097952B (en) Terminal display screen resolution adjusting method and terminal
CN106293343B (en) Control method and device for shortcut operation function
CN105812244B (en) Message display method and terminal
CN106249989B (en) Method for arranging social application program icons during content sharing and mobile terminal
CN110928708B (en) Icon display method and device, electronic equipment and computer readable storage medium
CN106873887B (en) System and method for controlling application function based on gesture
CN109240579B (en) Touch operation method, equipment and computer storage medium
CN106372264B (en) Map data migration device and method
CN106250130B (en) Mobile terminal and method for responding key operation
CN105912262B (en) Desktop icon adjusting device, terminal and desktop icon adjusting method
CN107132967B (en) Application starting method and device, storage medium and terminal
CN106648324B (en) Hidden icon control method and device and terminal
CN105791541B (en) Screenshot method and mobile terminal
CN106066865B (en) Application recommendation device and method
CN106161790B (en) Mobile terminal and control method thereof

Legal Events

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

Effective date of registration: 20201015

Address after: Room 1101-1105, 11th floor, office building, No.7, Huajian 1st block, high tech Zone, Liaocheng City, Shandong Province 252000

Applicant after: Shandong Xingchuang Information Technology Co., Ltd

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant