CN114721761A - Terminal device, application icon management method and storage medium - Google Patents

Terminal device, application icon management method and storage medium Download PDF

Info

Publication number
CN114721761A
CN114721761A CN202210398402.6A CN202210398402A CN114721761A CN 114721761 A CN114721761 A CN 114721761A CN 202210398402 A CN202210398402 A CN 202210398402A CN 114721761 A CN114721761 A CN 114721761A
Authority
CN
China
Prior art keywords
card
application
icon
terminal device
user
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.)
Granted
Application number
CN202210398402.6A
Other languages
Chinese (zh)
Other versions
CN114721761B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202210398402.6A priority Critical patent/CN114721761B/en
Publication of CN114721761A publication Critical patent/CN114721761A/en
Application granted granted Critical
Publication of CN114721761B publication Critical patent/CN114721761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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 application provides a terminal device, an application icon management method and a storage medium, and relates to the technical field of computers. According to the application, the suspension display card can be generated through editing, the user can open the application interface of any other application through the suspension display card displayed on the application interface running at present, the operation is simple, the application programs are conveniently and quickly switched, the complicated process of finding the application programs and then opening the application programs by returning to the display desktop is avoided, and the time of the user can be saved.

Description

Terminal device, application icon management method and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a terminal device, an application icon management method, and a storage medium.
Background
With the development of science and technology, mobile phones have more and more functions. At present, icons of a plurality of application programs can be gathered together in a desktop folder mode, but the step of opening the application programs by the desktop folder is complicated.
Exemplarily, in an application interface running currently, if a user wants to open another application program, the user needs to return to the desktop first, open the desktop folder, find the corresponding application program in the application program icons contained in the desktop folder, and click the application program icon to open the application program, which is complicated and complicated in operation process and wastes a lot of time for the user.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present application provide a terminal device, an application icon management method, and a storage medium, which may be simpler and facilitate fast switching between applications, not only may remove a cumbersome switching operation procedure, but also may help a user to save time.
In a first aspect, an embodiment of the present application provides a terminal device, including: a display, a memory, and a processor;
the display is configured to display an interface of the terminal device during operation;
the memory is configured to store programs or data used by the terminal device to run;
the processor is configured to generate a floating display card based on application icons of various applications contained in an icon card in response to a floating display operation input by a user for the icon card in a desktop of a terminal device; if the first application is started, the suspension display card is displayed on the upper layer of the running interface of the first application in a suspension manner; and responding to the triggering operation of a user for a second application in the floating display card, starting the second application and displaying a running interface of the second application.
The terminal equipment that this application embodiment provided can generate the suspension through the editor and show the card, and the user can open the application interface of any other application through showing the suspension on the application interface of current operation and showing the card, and its easy operation conveniently switches fast between each application, has removed from to get back to the loaded down with trivial details flow that the display desktop looked for the application and reopen, can save user's time.
In one possible embodiment, the treatment appliance is configured to:
in response to an exit operation input by a user for the floating display card, generating the icon card based on application icons of all applications contained in the floating display card;
and placing the icon card in a desktop of the terminal equipment based on the size of the icon card.
In one possible embodiment, the treatment appliance is configured to:
responding to the touch operation of the user on the icon card, and acquiring the sliding distance of a touch sliding event input by the user based on the touch operation;
and adjusting the card size of the icon card according to the sliding distance.
The terminal equipment provided by the embodiment of the application can respond to the touch operation of a user, adjust the card size of the icon card, and adjust the card size to a degree that the user can conveniently and directly click to open the application and the application is attractive.
In one possible embodiment, the treatment appliance is configured to:
responding to the touch operation of the user for the icon card, and acquiring the coordinates of a touch starting point;
receiving a touch sliding event input by a user based on the touch operation, and determining the coordinate of a touch end point;
determining a start-stop point distance based on the coordinates of the touch start point and the coordinates of the touch end point;
and if the distance between the starting point and the stopping point is larger than a preset value, taking the distance between the starting point and the stopping point as the sliding distance.
In a possible implementation manner, a plurality of grids are included in the icon card, the grids of the grids are the same in size, and each grid is used for displaying one application icon.
In one possible embodiment, the treatment appliance is configured to: and adjusting the number of grids displayed in the icon card according to the adjusted card size of the icon card and the grid size of the grids.
The terminal equipment that this application embodiment provided, according to the card size of the icon card after the adjustment and the grid size of net, guarantee that the grid size of net is unchangeable, the net number of demonstration in the adjustment card can guarantee that the grid size of net is the size of user-defined all the time, convenience of customers uses.
In one possible embodiment, the treatment appliance is configured to: and adjusting the grid size of each grid displayed in the icon card according to the adjusted aspect ratio of the icon card and the grid number displayed in the icon card.
The terminal equipment that this application embodiment provided, according to the aspect ratio of the icon card after the adjustment and the net number that shows in the icon card, guarantee under the unchangeable prerequisite of net quantity, the net size of every net that shows in the adjustment icon card can be guaranteed in the first page display interface of picture card, each application that contains in the icon card that makes the user can see, conveniently operates the application.
In one possible embodiment, the treatment appliance is configured to: responding to an operation of adding an application icon of a third application into the icon card by a user, if application icons exist in all grids currently displayed in the icon card, turning pages or rolling the icon card until a free grid is displayed in the icon card, and adding the application icon of the third application into the free grid; the free grid refers to a grid to which an application icon has not been added.
In one possible embodiment, the treatment appliance is configured to: responding to an operation of adding an application icon of a third application to the icon card by a user, if application icons exist in all grids currently displayed in the icon card, increasing the number of grids displayed in the icon card, and adding the application icon of the third application to a newly added idle grid.
The terminal device provided by the embodiment of the application can increase the number of grids displayed in the icon card and add the application icon of the third application to the newly added idle grid if the application icon is fully paved in the icon card when the user adds the application icon of the third application to the icon card. By the method, the application icons initially existing in the picture card and the application icons added later can be displayed in the display interface of the picture card, so that a user can directly operate the interface aiming at the application icons, and the use by the user is facilitated.
In one possible embodiment, the treatment appliance is configured to:
increasing the number of lines and/or columns of the grids displayed in the icon card to obtain an updated grid number;
and adjusting the grid size of each grid displayed in the icon card based on the updated grid number and the card size of the icon card.
In a second aspect, an embodiment of the present application provides an application icon management method, where the method includes:
in response to a floating display operation input by a user for an icon card in a desktop of a terminal device, generating a floating display card based on application icons of various applications contained in the icon card;
if the first application is started, the suspension display card is displayed on the upper layer of the running interface of the first application in a suspension manner;
and responding to the triggering operation of a user for a second application in the floating display card, starting the second application and displaying a running interface of the second application.
In one possible embodiment, the method further comprises:
in response to an exit operation input by a user for the floating display card, generating the icon card based on application icons of all applications contained in the floating display card;
and placing the icon card in a desktop of the terminal equipment based on the size of the icon card.
In one possible embodiment, the method further comprises:
responding to the touch operation of the user on the icon card, and acquiring the sliding distance of a touch sliding event input by the user based on the touch operation;
and adjusting the card size of the icon card according to the sliding distance.
In a possible implementation manner, the obtaining, in response to a touch operation of a user on the icon card, a sliding distance of the received touch sliding event includes:
responding to the touch operation of a user for the icon card, and acquiring coordinates of a touch starting point;
receiving a touch sliding event input by a user based on the touch operation, and determining the coordinate of a touch end point;
determining a start-stop point distance based on the coordinates of the touch start point and the coordinates of the touch end point;
and if the distance between the starting point and the stopping point is larger than a preset value, taking the distance between the starting point and the stopping point as the sliding distance.
In a possible implementation manner, a plurality of grids are included in the icon card, the grids of the grids are the same in size, and each grid is used for displaying one application icon.
In a possible embodiment, after the adjusting the card size of the icon card according to the sliding distance, the method further includes:
and adjusting the number of grids displayed in the icon card according to the adjusted card size of the icon card and the grid size of the grids.
In a possible embodiment, after the adjusting the card size of the icon card according to the sliding distance, the method further includes:
and adjusting the grid size of each grid displayed in the icon card according to the adjusted aspect ratio of the icon card and the number of the grids displayed in the icon card.
In one possible embodiment, the method further comprises:
responding to an operation of adding an application icon of a third application into the icon card by a user, if application icons exist in all grids currently displayed in the icon card, turning pages or rolling the icon card until a free grid is displayed in the icon card, and adding the application icon of the third application into the free grid; the free grid refers to a grid to which an application icon has not been added.
In one possible embodiment, the method further comprises:
responding to an operation of adding an application icon of a third application into the icon card by a user, if application icons exist in all grids currently displayed in the icon card, increasing the number of grids displayed in the icon card, and adding the application icon of the third application into a newly added idle grid.
In a possible implementation, the increasing the number of grids displayed in the icon card includes:
increasing the number of rows and/or columns of the grids displayed in the icon card to obtain the updated number of the grids;
and adjusting the grid size of each grid displayed in the icon card based on the updated grid number and the card size of the icon card.
In a third aspect, an embodiment of the present application provides an application icon management apparatus, including:
the suspension unit is used for responding to suspension display operation input by a user aiming at an icon card in a desktop of the terminal equipment, and generating a suspension display card based on application icons of all applications contained in the icon card;
the display unit is used for displaying the suspension display card on the upper layer of the running interface of the first application in a suspension manner if the first application is started;
and the starting unit responds to the triggering operation of a user for the second application in the floating display card, starts the second application and displays the running interface of the second application.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method in the second aspect or any possible implementation manner of the second aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program or instructions which, when executed by a processor, implement the method of the second aspect or any possible implementation of the second aspect.
For technical effects brought by any one implementation manner of the second aspect to the fifth aspect, reference may be made to technical effects brought by a corresponding implementation manner of the first aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 2 is a block diagram of a software structure of a terminal device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an application icon management method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an icon card provided in an embodiment of the present application;
fig. 5 is a schematic diagram of an operation of generating a floating display card according to an embodiment of the present application;
fig. 6 is a schematic display diagram of a floating display card after an operation interface of a first application is started according to an embodiment of the present application;
fig. 7 is an operation diagram of an operation interface for starting a second application on a floating display card according to an embodiment of the present application;
fig. 8 is an operation diagram illustrating switching of a floating display card to an icon card according to an embodiment of the present disclosure;
fig. 9 is an operation diagram illustrating another embodiment of switching a floating display card to an icon card;
fig. 10 is an operation diagram illustrating an operation of adjusting a card size of an icon card according to an embodiment of the present application;
fig. 11 is an operation diagram illustrating a page turning operation performed based on an icon card according to an embodiment of the present application;
fig. 12 is an operation diagram illustrating a sliding operation performed based on an icon card according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating a process of adjusting a card size of an icon card according to an embodiment of the present application;
FIG. 14 is a schematic view of another operation of adjusting the card size of an icon card according to an embodiment of the present application;
fig. 15 is an operation diagram illustrating an operation of adding an application icon to an icon card according to an embodiment of the present application;
fig. 16 is a schematic flowchart illustrating adding an application icon to an icon card according to an embodiment of the present application;
fig. 17 is another operation diagram illustrating an application icon being added to an icon card according to an embodiment of the present application;
fig. 18 is a schematic flowchart of another process for adding an application icon to an icon card according to an embodiment of the present application;
fig. 19 is an operation diagram of deleting an application icon from an icon card according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of an application icon management apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the following application scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions in the embodiments of the present application, and do not constitute limitations on the technical solutions provided in the embodiments of the present application, and it is obvious to a person skilled in the art that the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems with the occurrence of new application scenarios.
Currently, in order to save the desktop space of the terminal device, a plurality of application icons may be collected together through a desktop folder. However, when an application is being used, if a user wants to open other applications in the desktop folder in the application interface of the application, the user needs to go back to the desktop to open the desktop folder first and then open the application interfaces of the other applications. The operation mode needs to switch the interface repeatedly, and the operation is complicated.
Based on this, the embodiment of the present application provides a terminal device, where the terminal device generates a floating display card based on application icons of applications included in an icon card in response to a floating display operation input by a user for the icon card in a desktop of the terminal device, and if a first application is started, the floating display card is floating displayed on an upper layer of a running interface of the first application, and a second application is started and a running interface of the second application is displayed in response to a trigger operation of the user for the second application in the floating display card.
The terminal equipment that this application embodiment provided can generate the suspension through the editor and show the card, and the user can open the application interface of any other application through showing the suspension on the application interface of current operation and showing the card, and its easy operation conveniently switches fast between each application, has removed from to get back to the loaded down with trivial details flow that the display desktop looked for the application and reopen, can save user's time.
The terminal equipment provided by the embodiment of the application can be portable equipment such as a mobile phone, wearable equipment and a tablet personal computer. Fig. 1 is a block diagram illustrating a hardware configuration of a terminal device according to an embodiment of the present application. It should be understood that the terminal device 100 shown in fig. 1 is only an example, and the terminal device 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 1, the terminal device 100 includes: communication component 110, processor 120, memory 130, display 140, input component 150, audio circuitry 160, SIM card interface 170, and sensor 180.
The communication component 110 is configured to receive or send a call request, receive and send a signal during a call, connect to a server, and upload or download data. The communication component 110 may include an RF (radio frequency) circuit 111, and a Wi-Fi (Wireless Fidelity) module 112.
The RF circuit 111 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 120 for processing; the uplink data may be transmitted to the base station. In general, RF circuit 111 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. The RF circuit 111 may receive electromagnetic waves from the antenna, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The RF circuit 111 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves via the antenna for radiation. In some embodiments, at least some of the functional blocks of the RF circuitry 111 may be disposed in the processor 120. In some embodiments, at least some of the functional blocks of the RF circuitry 111 may be provided in the same device as at least some of the blocks of the processor 120. The RF circuitry 111 and antenna of the terminal device 100 are coupled so that the terminal device 100 can communicate with networks and other devices through wireless communication techniques.
Wi-Fi belongs to short-distance wireless transmission technology, and the terminal device 100 can help a user send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 112, and provides wireless broadband Internet access for the user. The Wi-Fi module 112 may be connected to a router through which an external network is connected. The Wi-Fi module 112 may also connect to a server to upload or download data.
The memory 130 may be used to store data or program codes used when the terminal device is running. The processor 120 performs various functions of the terminal device 100 and data processing by executing data or program codes stored in the memory 130. The memory 130 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. The memory 130 stores an operating system that enables the terminal device 100 to operate.
The display 140 is used for displaying information input by or provided to the user and a Graphical User Interface (GUI) of various menus of the terminal apparatus 100. Specifically, the display 140 may include a display disposed on a front surface of the terminal device 100. The display may be configured in the form of a liquid crystal display, light emitting diodes, or the like. Display 140 may be used to display an interface during operation of the terminal device.
The input module 150 may be used to receive numeric or character information input by a user, and various operations input by the user, etc., and generate signal inputs related to user settings and function control of the terminal device 100. In particular, the input component 150 may include keys and a touch screen, which may be disposed on the front side of the terminal device 100 and may collect touch operations by the user on or near the touch screen, such as clicking a button, dragging a scroll box, and the like.
In some embodiments, the touch screen and the display may be integrated to realize the input and output functions of the terminal device 100, and the integration may be referred to as a touch display for short.
The terminal device 100 may further include a positioning module, such as a satellite positioning module or a mobile communication network positioning module, which may determine the geographic location of the terminal device 100 in real time.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal device 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 111 to be transmitted to, for example, another terminal or outputs the audio data to the memory 130 for further processing.
The SIM card interface 170 is used to connect a SIM card. The SIM card can be attached to and detached from the terminal device 100 by being inserted into the SIM card interface 170 or being pulled out of the SIM card interface 170. The terminal device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 170 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface at the same time. The types of the plurality of cards may be the same or different. The SIM card interface may also be compatible with different types of SIM cards. The SIM card interface may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the terminal device 100 employs eSIM, namely: an embedded SIM card. The eSIM card may be embedded in the terminal device 100 and cannot be separated from the terminal device 100. The SIM card is used to identify the mobile phone number of the user.
The terminal device 100 may include a USB (universal serial bus) interface or the like in addition to the SIM card interface 170. The USB interface is used for connecting a charging line or other peripherals. For example, the terminal device 100 may connect a charging line through a USB interface. The respective components or modules in the terminal device 100 are connected by a bus.
The terminal device 100 may further comprise at least one sensor 180, such as an acceleration sensor 181, a distance sensor 182, a fingerprint sensor 183, a temperature sensor 184. The terminal device 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like. For example, the fingerprint sensor 183 may be used to sense that the user clicks on an icon of the operation interface of the terminal device 100.
The terminal device 100 may further include a camera for capturing still images or video. The number of the cameras can be one or more. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to a processor 120 for conversion into digital image signals.
The processor 120 is a control center of the terminal device 100, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs stored in the memory 130 and calling data stored in the memory 130. In some embodiments, processor 120 may include one or more processing units. In the present application, the processor 120 may run an operating system, an application program, a user interface display, a touch response, and the application icon management method according to the embodiment of the present application. The processor 120 performs a specific process of the application icon management method, which will be described in detail below.
Fig. 2 is a block diagram of a software configuration of the terminal device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, clock, bluetooth, music, video, short message, etc. The user can set an alarm clock in the clock application. The application layer may also include third party applications installed on the terminal device.
The Application framework layer provides an Application Programming Interface (API) and a Programming framework for the Application program of the Application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include alarm clock data, video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The telephone manager is used for providing a communication function of the terminal equipment. Such as management of call status (including on, off, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal vibrates, an indicator light flashes, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like. Wherein, the three-dimensional graphic processing library and the 2D graphic engine both belong to a common camera resource.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application. The method can be executed in the order of the embodiments or the method shown in the drawings or executed in an actual process or device.
Fig. 3 shows a flowchart of an application icon management method provided in an embodiment of the present application. The method may be applied to the terminal device shown in fig. 1, which may include, but is not limited to, a mobile phone. As shown in fig. 3, the method may include the steps of:
step S301: in response to a floating display operation input by a user for an icon card in a desktop of the terminal device, the floating display card is generated based on application icons of various applications contained in the icon card.
Fig. 4 is a schematic diagram illustrating a desktop of a terminal device, and as shown in fig. 4, application icons of a plurality of applications are displayed on the desktop of the terminal device, and a user can open a corresponding application by clicking any one of the application icons. The desktop of the terminal device is also provided with an icon card, the icon card is a card-type application icon set and comprises a plurality of grids, the grid sizes of the grids are the same, each grid is used for displaying an application icon of one application, each application corresponds to a respective application starting interface, and the application starting interfaces are used for responding to touch operation input by a user and starting running interfaces corresponding to the application icons. Therefore, the terminal device can respond to the touch operation of the user on the application icon in the icon card and directly open the corresponding application program.
The card size of the icon card can be a set value. The grid size may also be a set value. The width and height of the grid are s, the width of the icon card is W, and the height of the icon card is H. The maximum line number of the grid which can be accommodated in the icon card is r-H/s, the maximum column number is c-W/s, and both r and c are integers. The number of grids is the maximum number of grids that can be accommodated in one page of the icon card, and is N ═ r × c.
As shown in fig. 5, when a user inputs a touch operation for an icon card, the terminal device may generate a floating display card in response to a floating display operation input by the user in the icon card of the desktop, and load a small view corresponding to an application icon in the floating display card, thereby completing a process of generating the floating display card. After the floating display card is generated, the terminal device can also delete the icon card on the desktop, update the database of the terminal device, and store the related data of the floating display card and the related data of the icon card in the database.
Specifically, as shown in fig. 5 (a), the user presses the icon card on the desktop of the terminal device for a long time, and the terminal device receives a touch operation input by the user for the icon card, such as pressing the icon card for a long time, so as to enable the icon card to enter an editing state. As shown in fig. 5 (b), after the icon card enters the editing state, a switching menu of the word "floating display" may pop up above the icon card, and the user may click the switching menu to switch the icon card to the floating display state. Specifically, the terminal device receives an operation of clicking a 'floating display' switching menu by a user, determines the card size of an icon card, generates a floating display card with the width and height being the same as the card size of the icon card, and loads application icons of various applications in the floating display card. As shown in fig. 5 (c), the terminal device displays the generated floating display card on the desktop, and the floating display card floats above other application icons in the terminal device.
Step S302: and if the first application is started, the suspension display card is displayed on the upper layer of the running interface of the first application in a suspension manner.
The floating display card can be displayed above any display interface in a floating manner. Illustratively, assuming that the first application is a social application, the user may launch the social application by clicking on an icon of the social application displayed on the desktop, or clicking on an icon of the social application displayed in the hover display card. And the terminal equipment receives the operation that the user clicks the icon of the social application, starts the social application and displays the operation interface of the social application. As shown in fig. 6, a running interface of the social application is displayed on a display screen of the terminal device, and the floating display card is displayed above the running interface of the social application in a floating manner.
Step S303: and responding to the triggering operation of the user for the second application in the floating display card, starting the second application and displaying a running interface of the second application.
The terminal device may start the second application in response to an operation of the user for the second application. The user can directly operate the application icon in the floating display card displayed on the upper layer of the running interface of the first application without returning to a desktop, and the operation of clicking the second application can be realized, and the second application is directly started.
Fig. 7 is a schematic diagram illustrating an operation of starting a second application based on a floating display card, where the second application may be any one of the floating display cards, as shown in fig. 7 (a), and a user may perform a touch operation on the floating display card for the second application, such as clicking an application icon of the second application. The terminal device starts the second application and displays the running interface of the second application in response to the operation of clicking the application icon of the second application by the user, and after the second application is started, the floating display card is still floating displayed above the running interface of the second application and is presented to the user as the interface shown in (b) in fig. 7.
In the suspension display card, a user can directly click an application icon of the second application in the suspension display card, so that the function of directly opening the running interface of the second application is realized.
It should be noted that, when the floating display card provided in the embodiment of the present application is displayed in a floating manner, the floating display card may be displayed in a floating manner on a current display interface in a desktop, and the current display interface may be any one display interface, for example, an operation interface of a first application or an operation interface of a second application.
The method provided by the embodiment of the application can generate the suspension display card, so that a user can open another application through the suspension display card displayed on any application interface, the operation is simple, the application programs can be rapidly switched and used conveniently, and the complicated process of finding the application programs and then opening the application programs by returning to the display desktop is avoided.
In some embodiments, the terminal device further provides a function of closing the floating display card, and the terminal device may generate an icon card based on application icons of respective applications included in the floating display card in response to an exit operation input by a user for the floating display card, and place the icon card in a desktop of the terminal device based on a size of the icon card.
The specific process of generating the icon card based on the suspension display card comprises the following steps: the data of the floating display card, including the application icons and the starting interfaces of the applications, and the card size of the floating display card are stored in the database of the terminal device. Receiving the exit operation input by the user aiming at the suspension display card, generating the icon card with the same size by the terminal equipment according to the card size of the suspension display card, inquiring the position with enough space for accommodating the icon card on the desktop, and placing the icon card on the desktop of the terminal equipment. Then, views of application icons of the respective applications are loaded in the icon cards. After the icon card is generated based on the suspension display card, the terminal equipment updates the database again, deletes the suspension display card and adds related information of the icon card; for example, the icon card may be reloaded in its original position by default.
As shown in fig. 8, the upper right corner of the floating display card generated in the above step may display an "x" button. As shown in fig. 8 (a), the user may click "x" displayed on the floating display card, and in response to the user clicking "x", the terminal device may generate an icon card based on the floating display card, and display an interface as shown in fig. 8 (b). The card size of the generated icon card is the same as that of the floating display card, and the application icons of the applications included in the card are also the same. The process corresponding to fig. 8 may be referred to as switching from the hover mode to the normal mode.
Fig. 9 is a schematic diagram showing an operation of the floating display card exiting from the floating display when there is another application icon at the initial position of the icon card. As shown in fig. 9 (a), when the user clicks "x", the terminal device generates an icon card in response to the operation clicked by the user, and since the application icon exists at the initial position of the icon card, the terminal device cannot accommodate the icon card generated based on the floating display card, and therefore, the terminal device loads the icon card at another position where the icon card can be accommodated based on the card size of the icon card, as shown in fig. 9 (b).
The floating display card also has a function of adjusting the size of the floating display card itself, adding an application to the floating display card, or deleting an application from the floating display card. Therefore, the card size of the generated icon card and the application icons of the respective applications included therein are the size of the floating display card and the application icons of the respective applications included therein when the "x" is clicked.
It should be noted that the floating display card and the icon card in the above process have the same function. The icon card and the floating display card provided by the embodiment of the application are both a set of application icons, and a user can directly trigger the operation aiming at the application on the desktop of the terminal equipment. The user does not need to open the folder like a desktop folder before carrying out operation aiming at the application on the icon card and the floating display card.
In one possible embodiment, the terminal device further provides a function of adjusting the card size of the icon card. The terminal equipment can respond to the touch operation of the user on the icon card, acquire the sliding distance of the received touch sliding event, and adjust the card size of the icon card according to the sliding distance.
Fig. 10 shows a schematic flow chart of adjusting the card size of an icon card, which includes the following steps:
step S1001: and responding to the touch operation of the user on the icon card, enabling the icon card to enter an editing state, and acquiring the coordinates of the touch starting point.
Step S1002: and receiving a touch sliding event input by a user based on the touch operation, and determining the coordinate of the touch end point.
Step S1003: and determining the distance between the start point and the stop point based on the coordinates of the touch starting point and the coordinates of the touch end point.
Step S1004: and taking the distance between the starting point and the stopping point as a sliding distance, and adjusting the card size of the icon card according to the sliding distance.
Illustratively, a user presses an icon card on a desktop of the terminal device for a long time, the icon card enters an editing state, a frame of the icon card is displayed in an adjustable state, a touch sliding event input by the user can be understood as a dragging operation performed by the user for the frame, and at the starting time when the terminal device receives the touch sliding event of the user, a touch position of the user on the desktop of the terminal device is determined, where the touch position is a coordinate of a touch starting point.
Assuming that the width of the border of the icon card is b, the width of the icon card is W, and the height of the icon card is H, if the coordinates of the touch start point are (x, y), it can be determined which position of the border of the icon card the touch start point is located at based on the coordinates of the touch start point.
When x is greater than 0, x is less than b, y is greater than 0, and y is less than H, the touch starting point is located on the left frame of the icon card; when x is larger than W-b, x is smaller than W, y is larger than 0, and y is smaller than H, the touch starting point is positioned on the right frame of the icon card; when x is greater than 0, x is less than W, y is greater than 0, and y is less than b, the touch starting point is located on the upper border of the icon card; when x >0 and x < W and y > H-b and y < H, the touch starting point is located on the lower border of the icon card.
After determining the frame on which the touch starting point is located, the terminal device takes the frame as an initial frame, and adjusts the card size of the icon card based on the dragging action of the user on the initial frame. Specifically, the terminal device may determine coordinates of a touch end point based on a touch slide event triggered by a user, and determine a start-stop point distance based on the coordinates of the touch start point and the coordinates of the touch end point. The starting point and the ending point distance refer to the distance from a touch starting point to a touch ending point on the icon card frame, namely the distance moved by the frame when the user drags the frame. And the terminal equipment takes the distance between the starting point and the stopping point as a sliding distance, and determines the card size of the adjusted icon card based on the sliding distance.
Step S1005: and if the distance between the starting point and the stopping point is larger than the preset value, adjusting the number of grids displayed in the icon card according to the adjusted card size of the icon card and the grid size of the grids.
If the distance between the starting point and the stopping point is smaller than the preset value, the sliding distance of the initial frame is very small, and the number of grids displayed in the icon card does not need to be adjusted. If the distance between the starting point and the stopping point is larger than the preset value, the sliding distance of the initial frame is larger, the number of grids displayed in the icon card needs to be adjusted, and the application icons in the icon card are rearranged.
Step S1006: judging the relationship between the number of the application icons included in the icon card and the new grid number, and if the number of the application icons included in the icon card is less than the new grid number, executing step S1008; if the number of application icons included in the icon card is greater than the new grid number, step S1007 is performed.
Step S1007: and turning pages or rolling the icon cards by using the rolling control and the page turning control in the icon cards, and arranging the application icons.
Step S1008: and arranging the application icons.
If the number of the application icons included in the icon card is smaller than the new grid number, the grid number does not need to be adjusted, and the application icons are arranged.
After the sliding distance is determined, the card size of the icon card is already determined, the application icons are rearranged based on the card size of the icon card, and the specific method for rearranging the application icons is as follows:
the first mode is as follows: the grid size is unchanged and the number of grids is changed. And adjusting the number of grids displayed in the icon card according to the adjusted card size of the icon card and the grid size of the grids.
Illustratively, the width and the height of the application icon are unchanged, the number of grids is re-determined based on the height H 'and the width W' of the new icon card and the grid size s, and the arrangement mode of the grids in the icon card is refreshed.
It should be noted that, when the arrangement manner of the grids inside the icon card is refreshed, if the card size of the icon card is reduced from large to small, the number of the application icons inside the icon card may be greater than the number of the grids. Based on this, when adjusting the card size, need judge whether the grid quantity of icon card can hold whole application icon quantity, if can hold, then refresh the process that the card size can be accomplished to the mode of arranging of the inside grid of icon card. If the application icons cannot be accommodated, the number of the application icons included in the icon card is larger than the number of the new grids, the icon card can be turned or rolled by using the rolling control and the page turning control, and the application icons are arranged.
Specifically, when the up-down scroll control is used, the manner of determining the adjustable height of the scroll control is as follows: the total line number of the application icons in the icon card is obtained by dividing the total number of the application icons in the icon card by the number of the application icons which can be contained in each line of the icon card, and then the total line number of the application icons is multiplied by the height of the application icons. When the left and right scroll control is used, the mode of determining the adjustable width of the scroll control is as follows: the total number of the application icons in the icon card is obtained by dividing the total number of the application icons in the icon card by the number of the application icons which can be contained in each column of the icon card, and then the total number of the columns of the application icons is multiplied by the width of the application icons. When the scroll control is used, the specific length of the scroll or slide can be selected by the user.
When the page turning control is used, the total page number of the icon card is equal to the total number of the application icons/the maximum accommodating number N of a single page. In the process of using the page turning control, each page turning operation is a page turning, and the application icons contained in the next page are presented to the user in the display interface of the icon card.
The specific process of adjusting the card size of the icon card and rearranging the application icons in the icon card is as follows:
in one embodiment, as shown in fig. 11 (a), the user inputs a touch operation on the icon card, and may press the icon card for a long time to make the icon card enter an editing state. As shown in fig. 11 (b), after the icon card enters the editing state, the user performs a drag operation on the right frame of the icon card and slides the right frame of the icon card to the left. After the user finishes sliding the right frame of the icon card to the left, the terminal device readjusts the card size of the icon card and the arrangement of the application icons in the icon card, as shown in (c) of fig. 11, the card size of the icon card becomes smaller, and after readjustment, as the size of the application icons in the icon card is guaranteed to be unchanged, the number of the application icons that can be contained in one page of the icon card is changed from 16 in 4 rows and 4 columns to 12 in 4 rows and 3 columns, so the page turning control rearranges the application icons, and page breaks can be displayed in the icon card.
FIG. 12 illustrates a schematic diagram of arranging application icons using a page flip control. The user can turn pages based on the adjusted icon card, and a left-right page turning mode is taken as an example. As shown in fig. 12 (a), after the page break indicates the first page and the user performs the page turning operation in the icon card, as shown in fig. 12 (b), the page break indicates the second page and the application icon displayed in the icon card is the application icon of the second page.
In addition to the above manner of arranging the application icons by using the page turning control, an embodiment of the present application also provides a manner of arranging the application icons by using the scrolling control, as shown in fig. 13. The user can scroll based on the adjusted icon card, taking the manner of sliding upwards as an example. The application icons are arranged by using the scroll control, all the application icons are positioned in one page, and the upward sliding distance can be determined by the user or preset. For example, as shown in fig. 13 (a), after sliding upward for a distance of 1.5s, the interface displayed is shown in fig. 13 (b).
The second mode is as follows: the grid size is changed and the grid number is unchanged. And adjusting the grid size of each grid displayed in the icon card according to the adjusted aspect ratio of the icon card and the grid number displayed in the icon card.
The specific process is as follows: and fixing the grid number, and changing the grid size in the icon card when adjusting the card size of the icon card. In this process, the aspect ratio of the icon card may be maintained, if the aspect ratio is W/H before the icon card is adjusted, and the width and height are all changed during the adjustment of the card size of the icon card, and based on the aspect ratio, the width W 'of the adjusted icon card may be taken as an example, and the height may be W'. After the card size of the icon card is determined, the grid number is guaranteed to be unchanged, and the grid size is calculated, wherein the grid size can be the width s × W'/W.
Illustratively, as shown in fig. 14 (a), the user presses the icon card for a long time to bring the icon card into an edit state. As shown in (b) in fig. 14, after the icon card enters the editing state, the user performs a drag operation on the right frame of the icon card and slides the right frame of the icon card to the left. After the user slides the right frame of the icon card to the left, the terminal device readjusts the card size of the icon card and the arrangement of the application icons in the icon card. Since the aspect ratio of the icon card is kept unchanged in the whole process, and the number of grids that can be displayed on one page in the icon card is ensured to be unchanged, the size of the application icon is reduced in the same proportion based on the width and height of the card before adjustment and the width and height of the card after adjustment, and the finally displayed interface is as shown in (c) of fig. 14.
The content is two usable modes of adjusting the card size of the icon card, and the first mode can ensure that the grid size in the icon card is unchanged, so that a user can always see application icons with the same size when using the icon card. The second mode can ensure that the application that the user wants to see can be always seen in the first page display interface of the picture card by adjusting the grid size of each grid displayed in the icon card on the premise of ensuring that the grid number is not changed, and the application is operated, so that the user can use the picture card conveniently. Both modes are convenient for users to use through different angles.
In a possible implementation manner, the terminal device provided in the embodiment of the present application further has a function of adding a new application icon to the icon card and deleting an application icon from the chart card. Specifically, two embodiments of adding an application icon to an icon card are as follows:
the first mode is as follows: responding to the operation of adding the application icon of the third application into the icon card by the user, if the application icons exist in the currently displayed grids in the icon card, turning pages or rolling the icon card until the idle grids are displayed in the icon card, and adding the application icon of the third application into the idle grids.
Wherein, the idle grid refers to a grid to which the application icon is not added.
FIG. 15 is a schematic flow chart illustrating the steps of adding an application icon to an icon card, including:
step S1501: and adding an application icon of the third application to the icon card in response to the operation of the user.
Step S1502: and judging the relationship between the number of the application icons in the icon card and the number of the grids after the application icon of the third application is added. If the number of the application icons in the icon card is less than the number of the grids, executing step S1503; if the number of application icons in the icon card is greater than the number of grids, step S1504 is executed.
Step S1503: displaying the application icons on a display interface of the icon card, and arranging the application icons.
Step S1504: and turning pages or rolling the icon cards by using the rolling control and the page turning control in the icon cards, and arranging the icons.
Taking the width and height of the grid size as s as an example, the width of the icon card is W as an example, and the height of the icon card is H as an example. The number of grids that can be accommodated by the current icon card is N, that is, the number of application icons that can be accommodated in one display interface of the icon card at most is N.
In response to an operation of adding an application icon of a third application to the icon card by a user, after the application icon of the third application is added to the icon card, if the number of the application icons included in the icon card is more than or equal to N, the icon card can be scrolled by using a scroll control, and the application icons of the third application are sequentially added to the idle grid; or the icon card can be turned by using the page turning control, and the application icons of the third application are sequentially added to the idle grid.
Specifically, a process of adding the application icon is shown in fig. 16, as shown in (a) of fig. 16, a user adds the application icon of the third application to the icon card in a dragging manner, at this time, the icon card includes 16 application icons, the first page of the icon card is just filled, after the application icon of the third application is added to the icon card, the icon card can be turned over by using a page turning control, and the application icons of the third application are sequentially added to the idle grid. As the interface shown in (b) in fig. 16, the application icon of the third application that has been added to the icon card can be seen in the second page.
The second mode is as follows: responding to the operation of adding the application icon of the third application into the icon card by the user, if the application icons exist in the grids currently displayed in the icon card, increasing the number of the grids displayed in the icon card, and adding the application icon of the third application into the newly-added idle grid.
FIG. 17 shows another flow diagram for adding application icons to an icon card.
Step S1701: and adding an application icon of the third application to the icon card in response to the operation of the user.
Step 1702: and judging the relationship between the number of the application icons in the icon card and the number of the grids after the application icon of the third application is added. If the number of the application icons in the icon card is less than the number of the grids, executing step S1703; if the number of application icons in the icon card is greater than the grid number, step S1704 is executed.
Step S1703: and adding the application icons of the third application to the icon card in sequence, and arranging the application icons.
Step S1704: and increasing the number of grids displayed in the icon card, and adding the application of the third application to the newly increased idle grids in sequence.
For example, assuming that the width and height of each grid are s, the width of an icon card is W, and the height of the icon card is H, assuming that the number of grids that can be accommodated by the current icon card is N, that is, the number of application icons that can be accommodated in one display interface of the icon card at most is N. At this time, the maximum number of rows in the grid is r and the maximum number of columns is c.
And responding to the operation of adding the application icon of the third application into the icon card by the user, if the total number of the application icons in the icon card is judged to be N, namely the application icons exist in the currently displayed grids in the icon card, increasing the number of the grids displayed in the icon card, and adding the application icon of the third application into the newly added idle grid.
Illustratively, the specific implementation of increasing the number of grids displayed within the icon card is as follows: and increasing the number of lines and/or columns of the grids displayed in the icon card to obtain the updated grid number, and adjusting the grid size of each grid displayed in the icon card based on the updated grid number and the card size of the icon card.
The number of rows of the grid displayed in the icon card may be increased by one row and the number of columns of the grid may be increased by one column. That is, the total number of rows of application icons is added to 1, the total number of columns of application icons is added to 1, and after the number of rows and columns is increased, the maximum number of rows in the grid is r +1, and the maximum number of columns is c + 1. And under the condition of ensuring that the card size of the icon card is not changed, readjusting the grid size of each grid displayed in the icon card, wherein the width of the new grid size is W/c +1, and the height of the new grid size is H/r + 1.
It should be noted that, if a new application icon is added to the icon card all the time, the size of the grid in the icon card may reach a minimum value, and when the size of the grid reaches the minimum value, no more application icons can be accommodated in the icon card, and thus no application icon can be continuously added to the icon card.
If the total number of the application icons in the icon card is less than N, the application icons of the third application can be directly added into the icon card, the grid size is unchanged, and the grid number is unchanged.
As shown in fig. 18, the second way adds an application icon to the icon card. As shown in fig. 18 (a), after the user adds the application icon of the third application to the icon card by dragging, and adds the application icon of the third application to the icon card, as it is desired to ensure that all the application icons can be displayed in one page of the icon card, the grid size is adjusted, the application icons are rearranged, and the interface shown in fig. 18 (b) is presented to the user after the application icons are rearranged.
The above-described process is a process of adding an application icon to an icon card, and the following two embodiments are processes of deleting an application icon from an icon card.
In the following two modes, the width and height of the grid size in the initial icon card are s, the width of the icon card is W, the height of the icon card is H, the number of grids that can be accommodated by the current icon card is N, the maximum number of rows of the grid is r, and the maximum number of columns is c.
The first mode is as follows: responding to the operation that a user deletes the application icon of the fourth application from the icon card, if the number of the application icons remaining in the icon card is smaller than or equal to N, deleting the application icon of the fourth application, and updating the database; and if the number of the application icons remaining in the icon card is larger than N, deleting the application icons of the fourth application, turning pages or rolling the icon card by using the page turning control and the rolling control, arranging the remaining application icons in the icon card, and updating the database.
Based on the above manner, no matter the first manner of adding the application icon or the first manner of deleting the application icon, page turning or scrolling is mainly performed on the icon card by using a page turning control and a scrolling control in the icon card, and after the operation, the remaining application icons in the icon card are arranged and displayed.
The second mode is as follows: responding to the operation that the user deletes the application icon of the fourth application from the icon card, if the number of the application icons remaining in the icon card is larger than (r-1) x (c-1), the grid size is unchanged, the grid number is unchanged, the application icons remaining in the icon card are sequentially arranged, and the database is updated.
If the number of the remaining application icons in the icon card is equal to (r-1) x (c-1), subtracting 1 from the grid line number, subtracting 1 from the grid column number, recalculating the grid size, wherein the width of the new grid size is W/c-1, the height of the new grid size is H/r-1, sequentially arranging the remaining application icons, and updating the database.
It should be noted that, when the application icon is deleted from the icon card in the second manner, the size of the grid in the icon card may reach a maximum value, and when the size of the grid reaches the maximum value, the application icon is continuously deleted, and the size of the grid does not change.
Based on the above manner, no matter the second manner of adding the application icon or the second manner of deleting the application icon, in fact, in the using process, the adjustment is performed only based on one display interface of the icon card, and controls such as a scroll control or a page turning control are not involved. The maximum value of the number of grids which can be contained in the icon card is enlarged/reduced by adjusting the grid size, and the rest application icons are arranged and displayed.
Fig. 19 shows an operation diagram for deleting an application icon from an icon card. As shown in fig. 19 (a), the user deletes the application icon of the fourth application from the icon card by dragging, at this time, after the terminal device responds to the operation of the user and detects that the application icon of the fourth application is deleted from the icon card, the remaining application icons just occupy three rows of grids, the application icons are rearranged based on the remaining application icons, and the interface shown in fig. 19 (b) is finally presented to the user.
Based on the same inventive concept, an application icon management apparatus is further provided in the embodiments of the present application, as shown in fig. 20, the application icon management apparatus includes:
a floating unit 2001, configured to generate a floating display card based on application icons of respective applications included in an icon card in response to a floating display operation input by a user for the icon card in a desktop of a terminal device;
the display unit 2002 is configured to, if the first application is started, display the floating display card on an upper layer of an operation interface of the first application in a floating manner;
the starting unit 2003 starts the second application and displays a running interface of the second application in response to a trigger operation of a user for the second application in the floating display card.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A terminal device, comprising: a display, a memory, and a processor;
the display is configured to display an interface of the terminal device during operation;
the memory is configured to store programs or data used by the terminal device to run;
the processor is configured to:
in response to a floating display operation input by a user for an icon card in a desktop of a terminal device, generating a floating display card based on application icons of various applications contained in the icon card;
if the first application is started, the suspension display card is displayed on the upper layer of the running interface of the first application in a suspension manner;
and responding to the triggering operation of a user for a second application in the floating display card, starting the second application and displaying a running interface of the second application.
2. The terminal device of claim 1, wherein the processor is configured to:
responding to an exit operation input by a user for the floating display card, and generating the icon card based on application icons of all applications contained in the floating display card;
and placing the icon card in a desktop of the terminal equipment based on the size of the icon card.
3. The terminal device of claim 1, wherein the processor is configured to:
responding to the touch operation of the user on the icon card, and acquiring the sliding distance of a touch sliding event input by the user based on the touch operation;
and adjusting the card size of the icon card according to the sliding distance.
4. The terminal device of claim 3, wherein the processor is further configured to:
responding to the touch operation of a user for the icon card, and acquiring coordinates of a touch starting point;
receiving a touch sliding event input by a user based on the touch operation, and determining the coordinate of a touch end point;
determining a start-stop point distance based on the coordinates of the touch start point and the coordinates of the touch end point;
and if the distance between the starting point and the stopping point is larger than a preset value, taking the distance between the starting point and the stopping point as the sliding distance.
5. The terminal device according to claim 4, wherein the icon card comprises a plurality of grids, the grids are the same in size, and each grid is used for displaying an application icon.
6. The terminal device of claim 5, wherein the processor is further configured to:
and adjusting the number of grids displayed in the icon card according to the adjusted card size of the icon card and the grid size of the grids.
7. The terminal device of claim 5, wherein the processor is further configured to:
and adjusting the grid size of each grid displayed in the icon card according to the adjusted aspect ratio of the icon card and the number of the grids displayed in the icon card.
8. The terminal device of claim 1, wherein the processor is further configured to:
responding to an operation of adding an application icon of a third application into the icon card by a user, if application icons exist in all grids currently displayed in the icon card, turning pages or rolling the icon card until a free grid is displayed in the icon card, and adding the application icon of the third application into the free grid; the free grid refers to a grid to which an application icon has not been added.
9. The terminal device of claim 1, wherein the processor is further configured to:
responding to an operation of adding an application icon of a third application to the icon card by a user, if application icons exist in all grids currently displayed in the icon card, increasing the number of grids displayed in the icon card, and adding the application icon of the third application to a newly added idle grid.
10. The terminal device of claim 9, wherein the processor is further configured to:
increasing the number of lines and/or columns of the grids displayed in the icon card to obtain an updated grid number;
and adjusting the grid size of each grid displayed in the icon card based on the updated grid number and the card size of the icon card.
CN202210398402.6A 2022-04-15 2022-04-15 Terminal equipment, application icon management method and storage medium Active CN114721761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210398402.6A CN114721761B (en) 2022-04-15 2022-04-15 Terminal equipment, application icon management method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210398402.6A CN114721761B (en) 2022-04-15 2022-04-15 Terminal equipment, application icon management method and storage medium

Publications (2)

Publication Number Publication Date
CN114721761A true CN114721761A (en) 2022-07-08
CN114721761B CN114721761B (en) 2023-09-19

Family

ID=82244517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210398402.6A Active CN114721761B (en) 2022-04-15 2022-04-15 Terminal equipment, application icon management method and storage medium

Country Status (1)

Country Link
CN (1) CN114721761B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968018A (en) * 2022-07-26 2022-08-30 荣耀终端有限公司 Card display method and terminal equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052637A1 (en) * 2006-07-26 2008-02-28 Aol Llc, A Delaware Limited Liability Company Window resizing in a graphical user interface
US20140165006A1 (en) * 2010-04-07 2014-06-12 Apple Inc. Device, Method, and Graphical User Interface for Managing Folders with Multiple Pages
CN104094210A (en) * 2013-12-20 2014-10-08 华为技术有限公司 File opening method in folder and terminal
CN104598104A (en) * 2014-12-31 2015-05-06 小米科技有限责任公司 Widget processing method and device
CN105786485A (en) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 Mobile terminal and background display method for applications thereof
CN105808230A (en) * 2014-12-31 2016-07-27 深圳Tcl新技术有限公司 Method and device for moving suspension icon
CN106681719A (en) * 2016-12-22 2017-05-17 复旦大学 Android-based method for file icon display
WO2019047129A1 (en) * 2017-09-07 2019-03-14 华为技术有限公司 Method for moving application icons, and terminal
CN109960446A (en) * 2017-12-25 2019-07-02 华为终端有限公司 It is a kind of to control the method and terminal device that selected object is shown in application interface
US20210286510A1 (en) * 2020-03-10 2021-09-16 Apple Inc. Devices, Methods, and Graphical User Interfaces for Interacting with User Interface Objects Corresponding to Applications
CN113508360A (en) * 2020-02-11 2021-10-15 荣耀终端有限公司 Card display method, electronic device and computer readable storage medium
WO2022068773A1 (en) * 2020-09-29 2022-04-07 维沃移动通信有限公司 Desktop element adjustment method and apparatus, and electronic device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052637A1 (en) * 2006-07-26 2008-02-28 Aol Llc, A Delaware Limited Liability Company Window resizing in a graphical user interface
US20140165006A1 (en) * 2010-04-07 2014-06-12 Apple Inc. Device, Method, and Graphical User Interface for Managing Folders with Multiple Pages
CN104094210A (en) * 2013-12-20 2014-10-08 华为技术有限公司 File opening method in folder and terminal
CN104598104A (en) * 2014-12-31 2015-05-06 小米科技有限责任公司 Widget processing method and device
CN105808230A (en) * 2014-12-31 2016-07-27 深圳Tcl新技术有限公司 Method and device for moving suspension icon
CN105786485A (en) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 Mobile terminal and background display method for applications thereof
CN106681719A (en) * 2016-12-22 2017-05-17 复旦大学 Android-based method for file icon display
WO2019047129A1 (en) * 2017-09-07 2019-03-14 华为技术有限公司 Method for moving application icons, and terminal
CN110023894A (en) * 2017-09-07 2019-07-16 华为技术有限公司 A kind of mobile application figure calibration method and terminal
CN109960446A (en) * 2017-12-25 2019-07-02 华为终端有限公司 It is a kind of to control the method and terminal device that selected object is shown in application interface
CN113508360A (en) * 2020-02-11 2021-10-15 荣耀终端有限公司 Card display method, electronic device and computer readable storage medium
US20210286510A1 (en) * 2020-03-10 2021-09-16 Apple Inc. Devices, Methods, and Graphical User Interfaces for Interacting with User Interface Objects Corresponding to Applications
WO2022068773A1 (en) * 2020-09-29 2022-04-07 维沃移动通信有限公司 Desktop element adjustment method and apparatus, and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114968018A (en) * 2022-07-26 2022-08-30 荣耀终端有限公司 Card display method and terminal equipment

Also Published As

Publication number Publication date
CN114721761B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
KR101640460B1 (en) Operation Method of Split Window And Portable Device supporting the same
CN111597000B (en) Small window management method and terminal
CN110633032B (en) Icon display method and device for terminal equipment
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111367456A (en) Communication terminal and display method in multi-window mode
CN110990075A (en) Starting method, device and equipment of fast application and storage medium
CN110865837B (en) Method and terminal for system upgrade
CN113835571A (en) Terminal device, information display method and storage medium
CN111857531A (en) Mobile terminal and file display method thereof
US9336242B2 (en) Mobile terminal and displaying method thereof
CN111506237A (en) Terminal and method for starting operation function in application
CN111176766A (en) Communication terminal and component display method
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN114721761B (en) Terminal equipment, application icon management method and storage medium
CN112835472B (en) Communication terminal and display method
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN114020379A (en) Terminal device, information feedback method and storage medium
CN114546219A (en) Picture list processing method and related device
CN114675786A (en) Large-capacity storage mounting method, device, terminal and medium
CN114035870A (en) Terminal device, application resource control method and storage medium
CN113642010A (en) Method for acquiring data of extended storage device and mobile terminal
CN114020381B (en) Terminal equipment, plug-in deployment method and storage medium
CN114356477B (en) Terminal equipment and application program calling method
CN114911394A (en) Terminal device and one-hand operation method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant