CN115344160A - Terminal device, desktop display method and storage medium - Google Patents

Terminal device, desktop display method and storage medium Download PDF

Info

Publication number
CN115344160A
CN115344160A CN202211033768.XA CN202211033768A CN115344160A CN 115344160 A CN115344160 A CN 115344160A CN 202211033768 A CN202211033768 A CN 202211033768A CN 115344160 A CN115344160 A CN 115344160A
Authority
CN
China
Prior art keywords
application
icon
terminal device
target
applications
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211033768.XA
Other languages
Chinese (zh)
Inventor
赵杨晨
宋轶凡
刘焕斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202211033768.XA priority Critical patent/CN115344160A/en
Publication of CN115344160A publication Critical patent/CN115344160A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The application provides a terminal device, a desktop display method and a storage medium, relates to the technical field of computers, and can acquire application icons of a plurality of applications contained in a desktop of the terminal device; if the plurality of applications comprise the target application, labeling an application icon of the target application; the target application refers to an application of which the application icon is a transparent icon. By the method, the application with the transparent application icon can be labeled, so that a user can be helped to quickly identify the labeled application, the application can be processed in time, and personal information of the user can be protected.

Description

Terminal device, desktop display method and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a terminal device, a desktop display method, and a storage medium.
Background
With the development of science and technology, various application software in terminal equipment such as mobile phones and the like can bring more and more help to people, and great convenience is brought to life and work of people. For example, people may communicate with family and friends through a social application, view materials through a search application, view routes through a mapping application, and so forth.
However, there are various risks in the process of using the mobile phone by the user, for example, some insecure applications may be installed in the terminal device under misoperation of the user, personal information of the user is stolen, and application icons of such insecure applications are transparent and therefore are not visually displayed on the desktop of the terminal device, so that the user is not easy to find.
Disclosure of Invention
In order to solve the above problems in the prior art, embodiments of the present application provide a terminal device, a desktop display method, and a storage medium, which can help a user to quickly identify an unsafe application in which an application icon is a transparent icon.
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: displaying an interface of the terminal equipment during operation;
the memory is configured to: storing programs or data used by the terminal equipment to run;
the processor is configured to:
acquiring application icons of a plurality of applications contained in a desktop of the terminal equipment, and if the plurality of applications contain target applications, marking the application icons of the target applications; the target application refers to an application of which the application icon is a transparent icon.
In one possible implementation, the processor is further configured to:
determining the target application by:
determining the color value of each pixel point contained in an application icon of a first application;
and if the color values of all the pixel points in the application icon of the first application are set color values, determining the first application as a target application.
In one possible implementation, the processor is further configured to:
acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment in the following modes:
determining application information of the plurality of applications respectively;
and respectively acquiring application icons of the plurality of applications from the application information of the plurality of applications.
In one possible implementation, the processor is further configured to:
after the application icon of the target application is labeled, responding to the triggering operation of a user aiming at the application icon of the target application, and displaying prompt information; the prompt information is used for prompting the user that the target application is an unsafe application.
In one possible embodiment, the treatment appliance is configured to:
highlighting an application icon of the target application displayed on a display.
In one possible implementation, the processor is further configured to:
and after the application icon of the target application is labeled, setting the application name of the target application as a preset application name.
In one possible implementation, the processor is further configured to:
and after the application icon of the target application is labeled, responding to the deletion operation of the application icon of the target application by a user, and unloading the target application from the terminal equipment.
In one possible implementation manner, in response to a starting operation of a user for a desktop application, application icons of a plurality of applications included in a desktop of the terminal device are acquired; or,
and when detecting that the application installed in the terminal equipment is updated, acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment.
In a second aspect, an embodiment of the present application provides a desktop display method, which is applied to a terminal device, and the method includes:
acquiring application icons of a plurality of applications contained in a desktop of the terminal equipment;
if the plurality of applications comprise target applications, marking application icons of the target applications; the target application refers to an application of which the application icon is a transparent icon.
In a third aspect, an embodiment of the present application provides a desktop display apparatus, where the apparatus includes:
the terminal equipment desktop comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring application icons of a plurality of applications contained in the terminal equipment desktop;
if the plurality of applications comprise target applications, the labeling unit labels application icons of the target applications; the target application refers to an application of which the application icon is a transparent icon.
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 is executed by the processor to implement the method of the second aspect.
The terminal device, the desktop display method and the storage medium provided by the embodiment of the application can acquire application icons of a plurality of applications contained in a desktop of the terminal device; if the plurality of applications comprise the target application, labeling an application icon of the target application; the target application refers to an application of which the application icon is a transparent icon. By the method, the application with the transparent application icon can be labeled, so that a user can be helped to quickly identify the labeled application, the application can be processed in time, and personal information of the user can be protected.
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 block diagram of a hardware configuration of a terminal device in the related art;
fig. 2 is a block diagram of a software configuration of a terminal device in the related art;
fig. 3 is a flowchart of a desktop display method according to an embodiment of the present application;
fig. 4 is a diagram of a mobile phone shell according to an embodiment of the present application;
fig. 5 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
fig. 6 is a flowchart of a method for acquiring an application icon according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a method for determining a target application according to an embodiment of the present application;
fig. 8 is a flowchart of a method for determining a pixel point included in a current application icon according to an embodiment of the present disclosure;
fig. 9 is an application diagram illustration provided in an embodiment of the present application;
fig. 10 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
fig. 11 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
fig. 12 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
fig. 13 is a schematic view of a prompt message interface according to an embodiment of the present application;
fig. 14 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
FIG. 15 is a schematic diagram of a setup list provided in an embodiment of the present application;
FIG. 16 is a schematic view of an uninstallation confirmation interface according to an embodiment of the present application;
fig. 17 is a schematic diagram of a desktop of a mobile phone according to an embodiment of the present application;
fig. 18 is a block diagram of a desktop display device according to an embodiment of the present application;
fig. 19 is a block diagram of another desktop display device according to an embodiment of the present disclosure;
fig. 20 is a block diagram of another desktop display device according to an embodiment of the present disclosure.
Detailed Description
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 should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the 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.
With the development of science and technology, various application software in terminal equipment such as mobile phones and the like can bring more and more help to people, and great convenience is brought to life and work of people. However, there are various risks in using the mobile phone, for example, some insecure applications may be automatically installed on the terminal device without user's consent, and personal information of the user is stolen, and application icons of such insecure applications are transparent and therefore are not visually displayed on the desktop of the terminal device, which makes the user not easy to find.
Based on this, the terminal device, the desktop display method and the storage medium provided by the embodiment of the application can obtain application icons of a plurality of applications contained in the desktop of the terminal device; if the plurality of applications comprise the target application, labeling an application icon of the target application; the target application refers to an application of which the application icon is a transparent icon. By the method, the application with the transparent application icon can be labeled, so that a user can be helped to quickly identify the labeled application, the application can be processed in time, and personal information of the user can be protected.
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 one example, and the terminal device 100 may have more or less components than 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 used for receiving or sending a call request, receiving and sending a signal during a call, connecting to a server, and uploading or downloading 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 an antenna, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to a 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 a network and other devices via 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 for storing 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 numerical or character information input by a user, various operations input by the user, and the like, and generate signal inputs related to user settings and function control of the terminal device 100. In particular, the input component 150 may include a control and a touch screen, which may be disposed on the front surface of the terminal device 100 and may collect touch operations of the user thereon or nearby, 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 integrated touch screen 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 a 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 wire or other peripheral equipment. 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 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 optical 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 using various interfaces and lines, 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 a desktop display method according to the embodiments of the present application. The processor 120 performs a specific process of acquiring a desktop display 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 (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 answered, browsing history and bookmarks, phone books, and the like.
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. The virtual machine executes java files of the application layer and the application framework layer as binary files. 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 fusion of 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, etc.
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 method operation steps as shown in the following embodiments or figures, more or fewer operation steps may be included in the methods based on conventional or non-inventive efforts. 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 a desktop display 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, obtaining application icons of a plurality of applications contained in the terminal device desktop.
Specifically, in an optional implementation manner, the terminal device may obtain application icons of multiple applications included on a desktop of the terminal device in response to an operation of a user to open the desktop of the terminal device.
For example, as shown in fig. 4, a user may perform a triggering operation on a power-on key 401 on a side of the mobile phone, and the mobile phone starts a desktop application in response to the triggering operation on the power-on key 401 by the user, and displays a desktop of the mobile phone as shown in fig. 5.
After the mobile phone desktop is displayed, the mobile phone may obtain application icons of a plurality of applications included in the mobile phone desktop by referring to the method shown in fig. 6, as shown in fig. 6, the method includes:
step S601, respectively determining application information of a plurality of applications displayed on a desktop of the mobile phone;
specifically, in the process of determining application information of a plurality of applications displayed on a desktop of a mobile phone, the mobile phone may transmit an intent () with a Launcher attribute in a queryientactiveasseser () method of a PackageManager, where the intent with the Launcher attribute represents an application that can be displayed on the desktop of a terminal device, after the transmission is completed, an information set resolveinfol of each application that is installed in the mobile phone and displayed on the desktop of the mobile phone may be obtained, and after the information set resolveinfol is obtained, the information set resolveinfol may be circularly traversed, so as to determine resolveinfol information of each application included in the information set resolveinfol, where the resolveinfol information is optional application information.
In the embodiment of the present application, in the process of establishing an intent with a Launcher attribute, a CATEGORY _ Launcher class may be added to an intent.
Step S602, application icons of a plurality of applications are acquired from application information of the plurality of applications.
After the resolveInfo information of each application displayed on the desktop of the terminal device is obtained in step S601, each application may be sequentially used as a current application, and an application icon of the current application is obtained by a loadinconon () method included in the resolveInfo information of the current application.
In another optional implementation manner, when detecting that the application software installed in the terminal device is updated, the terminal device may obtain application icons of a plurality of applications included on a desktop of the terminal device.
For example, in some embodiments, when the terminal device detects that new application software is added to the terminal device, the terminal device may also acquire application icons of multiple applications included in a desktop of the mobile phone by referring to the method shown in fig. 6.
Step S302, if the plurality of applications include the target application, labeling an application icon of the target application.
The target application refers to an application of which the application icon is a transparent icon.
In an optional implementation manner, after obtaining application icons of multiple applications included in a desktop of a terminal device in step S301, each application may be sequentially used as a current application, and the application icon of the current application is used as a current application icon, and with reference to the method shown in fig. 7, it is determined whether the current application is a target application, as shown in fig. 7, the method includes:
step S701, determining a color value of each pixel point included in the current application icon.
In this embodiment of the application, the color value is an output value of a getPixel function, and specifically, the getPixel function may output the color value corresponding to a pixel point according to an abscissa value and an ordinate value of the pixel point, where the getPixel function is a function of the android system itself.
Specifically, each pixel point included in the current application icon may be obtained by referring to the method shown in fig. 8, and as shown in fig. 8, the method includes:
step S801, using a pixel point located at the origin of coordinates as a first pixel point.
For example, in some embodiments, in the process of determining the first pixel point, an XOY coordinate axis may be established for the current application icon in the manner shown in fig. 9, where 901 is the current application icon. After the establishment is completed, a pixel point located at the origin of coordinates (O point) may be used as the first pixel point.
Step S802, the first pixel point is taken as the current pixel point.
Step S803, traversal is performed along the Y-axis direction, and coordinate information of all pixels that are consistent with the abscissa of the current pixel is determined.
Specifically, after the current pixel point is determined in step S802, the abscissa of the current pixel point may be kept unchanged, and coordinate information of all pixel points that are consistent with the abscissa of the current pixel point is determined and stored along the Y-axis direction.
Illustratively, in one embodiment, assume that the current pixel point is A 0 (X 0 ,Y 0 ) The abscissa (X) of the current pixel point can be maintained 0 ) Unchangeably, traverse along Y axle direction, determine m and the consistent pixel of the abscissa of current pixel, m pixel can be expressed as: a. The 1 (X 0 ,Y 1 ),A 2 (X 0 ,Y 2 ),A 3 (X 0 ,Y 3 )……A m (X 0 ,Y height ) Wherein Y is height And expressing the longitudinal coordinate value of the mth pixel point, wherein the longitudinal coordinate value is consistent with the height value of the current application icon. After all the pixel points (i.e., the m pixel points) consistent with the abscissa of the current pixel point are determined, all the pixel points consistent with the abscissa of the current pixel point and the coordinate information of the current pixel point can be stored.
Step S804, an adjacent pixel point whose ordinate is the same as the ordinate of the current pixel point and whose abscissa is greater than the abscissa of the current pixel point is taken as the current pixel point.
Exemplarily, assume that the current pixel point is a 0 (X 0 ,Y 0 ) The ordinate (Y) of the first pixel point can be determined 0 ) Consistent, and the abscissa is larger than the current pixel point A 0 (X 0 ,Y 0 ) Adjacent pixel point B of 0 (X 1 ,Y 0 ) And the current pixel point is used as the current pixel point.
Step S805, whether the abscissa of the current pixel point is larger than the width of the current application icon or not; if yes, go to step S806; if not, go to step S803;
specifically, the width of the current application icon may be determined through a getWidth function, where the width of the current application icon corresponds to the number of pixels included on the same ordinate, that is, the ordinate is assumed to be Y 0 And when there are 100 pixel points consistent with the ordinate, the width of the current application icon is also 100, so that the value of the abscissa of the current pixel point can be compared with the value of the width of the current application icon to determine whether the abscissa of the current pixel point is greater than the width of the current application icon.
Step S806, using each determined pixel point as a pixel point included in the current application icon.
In this embodiment of the application, when determining the pixel point included in the current application icon, the current application icon may be traversed longitudinally first and then transversely (i.e., in the manner shown in fig. 8), or traversed transversely first and then longitudinally, which is not limited in this application.
Step S702, judging whether the color value of each pixel point contained in the current application icon is equal to a set color value or not; if yes, go to step S703; if not, go to step S704.
In the embodiment of the application, the set color value can be set to 0, and when the color value of any pixel point is equal to the set color value, the pixel point is indicated to be a transparent pixel point; and when the color value of each pixel point contained in any application icon is equal to the set color value, indicating that the application icon is a transparent icon.
And step S703, taking the current application as the target application.
Step S704, the current application is regarded as a non-target application.
Specifically, after each pixel point included in the current application icon is determined in the manner shown in fig. 8, the X coordinate value and the Y coordinate value of each pixel point may be sequentially transmitted into a getPixel function, and the color value of each pixel point included in the current application icon is determined, if the color value of each pixel point included in the current application icon is equal to the set color value, it is indicated that the current application icon is a transparent icon, and the current application is the target application.
In this embodiment of the application, when determining the color value of each pixel point included in the current application icon, the determining may include, but is not limited to, determining the color value of each pixel point included in the current application icon through a getPixel function.
After the target application is determined by the method, the application icon of the target application can be marked.
Specifically, in an optional implementation, in the process of labeling the application icon of the target application, a setbackground () function may be called to highlight the application icon of the target application. Illustratively, as shown in FIG. 10, assuming 1001 is the target application, the application icon of the target application may be set to gray through the setbackground () function.
In this embodiment of the application, when the application icon of the target application is highlighted, the application icon of the target application may be set to red, or the application icon of the target application may be set to green, which is not limited in this application.
In an optional implementation manner, after the application icon of the target application is labeled, the application name of the target application may also be set as the preset application name.
Specifically, after the current application is determined to be the target application, the application name of the current application can be obtained through a loadLabel () function contained in the resolveInfo information of the current application, and the application name of the current application is set as the preset application name.
For example, in an embodiment, as shown in fig. 11, after the application icon of the target application 1001 is set to grey through the setbackground () function, assuming that the preset application name is "unsafe software", the application name of the target application 1001 may also be obtained through the loadLabel () function included in the resolveInfo information, and then the application name of the target application 1001 is set to "unsafe software" and displayed on the desktop of the mobile phone.
In an optional implementation manner, after the application icon of the target application is labeled, the terminal device may respond to a trigger operation of a user for the application icon of the target application, and display a prompt message; wherein the prompting information is used for prompting the user that the target application is an unsafe application.
For example, a user may click on an application icon of the insecure software on a desktop of the mobile phone, as shown in fig. 12, the mobile phone may display a prompt information interface as shown in fig. 13 in response to the click operation of the user on the application icon of the insecure software, where the interface may include a prompt information box 1301, a continuous entry control 1302 and an exit control 1303, and after seeing the prompt information included in the prompt information box 1301, the user may click the exit control 1303, and the mobile phone may return to the desktop of the mobile phone in response to the click operation of the user on the exit control 1303.
In an optional implementation manner, after the application icon of the target application is labeled, the terminal device may further uninstall the target application from the terminal device in response to a deletion operation of the user for the application icon of the target application.
Illustratively, in one embodiment, as shown in fig. 14, assuming that 1401 and 1402 are both target applications, after setting the application icons of the target applications 1401 and 1402 to gray through the setbackground () function and setting the application names of the target applications 1401 and 1402 to preset application names (unsafe software), the user may perform a long-press operation on the application icon of the target application 1401, and the handset displays the setting list 1501 of the target application 1401 in response to the long-press operation of the user on the application icon of the target application 1401, as shown in fig. 15, in which various setting controls related to the target application 1401 are included, for example: uninstall controls, notify controls, edit controls, and the like. The user can click the uninstalling control, the mobile phone responds to the click operation of the user on the uninstalling control, and an uninstalling confirmation interface 1601 is displayed, as shown in fig. 16, the user can click the confirmation control in the uninstalling confirmation interface, and the mobile phone responds to the click operation of the user on the confirmation control, deletes the application icon of the target application 1401 from the desktop of the mobile phone, and uninstalls the target application 1401 from the mobile phone, as shown in fig. 17.
By the method, the application with the transparent application icon can be labeled, so that the user can be helped to quickly identify the labeled application, the application can be processed in time, and personal information of the user can be protected.
Based on the same inventive concept, an embodiment of the present application further provides a desktop display device, as shown in fig. 18, the desktop display device includes:
an obtaining unit 1801, configured to obtain application icons of multiple applications included in a desktop of the terminal device;
an annotation unit 1802 annotating an application icon of a target application if the plurality of applications include the target application; the target application refers to an application of which the application icon is a transparent icon.
In a possible implementation, the obtaining unit 1801 may be further configured to:
determining the target application by:
determining the color value of each pixel point contained in an application icon of the first application;
and if the color values of all the pixel points in the application icon of the first application are set color values, determining the first application as a target application.
In a possible implementation, the obtaining unit 1801 may be further configured to:
acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment in the following modes:
determining application information of the plurality of applications respectively;
and respectively acquiring application icons of the plurality of applications from the application information of the plurality of applications.
In a possible implementation manner, after the labeling unit 1802, the apparatus further includes a prompting unit 1901, as shown in fig. 19, where the prompting unit 1901 is specifically configured to:
responding to the triggering operation of the user aiming at the application icon of the target application, and displaying prompt information; the prompt message is used for prompting the user that the target application is an unsafe application.
In a possible implementation, the labeling unit 1802 is specifically configured to:
highlighting an application icon of the target application displayed on a display.
In a possible implementation, the labeling unit 1802 can be further configured to:
and after the application icon of the target application is labeled, setting the application name of the target application as a preset application name.
In a possible implementation manner, after the labeling unit 1802, the apparatus further includes an unloading unit 2001, as shown in fig. 20, where the prompting unit 2001 is specifically configured to:
and in response to the deletion operation of the application icon of the target application by the user, uninstalling the target application from the terminal equipment.
In a possible implementation manner, the obtaining unit 1801 is specifically configured to:
responding to the starting operation of a user for desktop application, and acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment; or,
and when detecting that the application installed in the terminal equipment is updated, acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment.
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: displaying an interface of the terminal equipment during operation;
the memory is configured to: storing programs or data used by the terminal equipment to run;
the processor is configured to:
acquiring application icons of a plurality of applications contained in a desktop of the terminal equipment, and if the plurality of applications contain target applications, marking the application icons of the target applications; the target application refers to an application of which the application icon is a transparent icon.
2. The terminal device of claim 1, wherein the processor is further configured to:
determining the target application by:
determining the color value of each pixel point contained in an application icon of the first application;
and if the color values of all the pixel points in the application icon of the first application are set color values, determining the first application as a target application.
3. The terminal device of claim 1, wherein the processor is further configured to:
acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment in the following modes:
determining application information of the plurality of applications respectively;
and respectively acquiring application icons of the plurality of applications from the application information of the plurality of applications.
4. The terminal device of claim 1, wherein the processor is further configured to:
after the application icon of the target application is labeled, responding to the triggering operation of a user aiming at the application icon of the target application, and displaying prompt information; the prompt information is used for prompting the user that the target application is an unsafe application.
5. The terminal device of claim 1, wherein the processor is configured to:
highlighting an application icon of the target application displayed on a display.
6. The terminal device of claim 1, wherein the processor is further configured to:
and after the application icon of the target application is labeled, setting the application name of the target application as a preset application name.
7. The terminal device of claim 1, wherein the processor is further configured to:
and after the application icon of the target application is labeled, responding to the deletion operation of the application icon of the target application by a user, and unloading the target application from the terminal equipment.
8. The terminal device of claim 1, wherein the processor is configured to:
responding to the starting operation of a user for desktop application, and acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment; or,
and when detecting that the application installed in the terminal equipment is updated, acquiring application icons of a plurality of applications contained in the desktop of the terminal equipment.
9. A desktop display method is applied to a terminal device, and the method comprises the following steps:
acquiring application icons of a plurality of applications contained in a desktop of the terminal equipment;
if the plurality of applications comprise the target application, labeling an application icon of the target application; the target application refers to an application of which the application icon is a transparent icon.
10. A computer-readable storage medium having a computer program stored therein, the computer program characterized by: which when executed by a processor implements the method of claim 9.
CN202211033768.XA 2022-08-26 2022-08-26 Terminal device, desktop display method and storage medium Pending CN115344160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211033768.XA CN115344160A (en) 2022-08-26 2022-08-26 Terminal device, desktop display method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211033768.XA CN115344160A (en) 2022-08-26 2022-08-26 Terminal device, desktop display method and storage medium

Publications (1)

Publication Number Publication Date
CN115344160A true CN115344160A (en) 2022-11-15

Family

ID=83953146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211033768.XA Pending CN115344160A (en) 2022-08-26 2022-08-26 Terminal device, desktop display method and storage medium

Country Status (1)

Country Link
CN (1) CN115344160A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5982597B1 (en) * 2016-03-10 2016-08-31 株式会社Ffri Information processing apparatus, information processing method, program, and computer-readable recording medium recording the program
US20180144130A1 (en) * 2016-11-21 2018-05-24 Cylance Inc. Icon based malware detection
CN108304107A (en) * 2018-01-17 2018-07-20 深圳市金立通信设备有限公司 A kind of display application drawing calibration method, terminal and computer readable storage medium
CN114896208A (en) * 2022-05-07 2022-08-12 珠海格力电器股份有限公司 Application icon retrieval method and device, storage medium and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5982597B1 (en) * 2016-03-10 2016-08-31 株式会社Ffri Information processing apparatus, information processing method, program, and computer-readable recording medium recording the program
US20180144130A1 (en) * 2016-11-21 2018-05-24 Cylance Inc. Icon based malware detection
CN108304107A (en) * 2018-01-17 2018-07-20 深圳市金立通信设备有限公司 A kind of display application drawing calibration method, terminal and computer readable storage medium
CN114896208A (en) * 2022-05-07 2022-08-12 珠海格力电器股份有限公司 Application icon retrieval method and device, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN110865837B (en) Method and terminal for system upgrade
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN113835571A (en) Terminal device, information display method and storage medium
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN111176766A (en) Communication terminal and component display method
CN111158735B (en) Hot patch file processing method and communication terminal
CN114489429B (en) Terminal equipment, long screen capturing method and storage medium
CN114371895B (en) Terminal equipment, mail marking method and storage medium
CN114035870A (en) Terminal device, application resource control method and storage medium
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114675786A (en) Large-capacity storage mounting method, device, terminal and medium
CN113900740A (en) Method and device for loading multiple list data
CN115344160A (en) Terminal device, desktop display method and storage medium
CN113934340A (en) Terminal device and progress bar display method
CN114020379B (en) Terminal equipment, information feedback method and storage medium
CN112929858B (en) Method and terminal for simulating access control card
CN114020379A (en) Terminal device, information feedback method and storage medium
CN114020381B (en) Terminal equipment, plug-in deployment method and storage medium
CN115146257A (en) Terminal device, function screening method and storage medium
CN113691568A (en) Terminal and method for acquiring file information
CN115168689A (en) Terminal device, search content display method and storage medium
CN114968013A (en) Terminal device, function setting method and storage medium
CN113407096A (en) Terminal device and picture processing method
CN114675762A (en) Terminal device, function searching method and storage medium

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