WO2021147396A1 - 图标管理方法及智能终端 - Google Patents

图标管理方法及智能终端 Download PDF

Info

Publication number
WO2021147396A1
WO2021147396A1 PCT/CN2020/121907 CN2020121907W WO2021147396A1 WO 2021147396 A1 WO2021147396 A1 WO 2021147396A1 CN 2020121907 W CN2020121907 W CN 2020121907W WO 2021147396 A1 WO2021147396 A1 WO 2021147396A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
cumulative
time
icon
application
Prior art date
Application number
PCT/CN2020/121907
Other languages
English (en)
French (fr)
Inventor
李鑫
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021147396A1 publication Critical patent/WO2021147396A1/zh

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

Definitions

  • This application relates to the field of smart terminals, and in particular to icon management methods and smart terminals.
  • Various smart terminals represented by smart phones can provide users with corresponding services through their deployed applications to meet various business needs of users.
  • the smart terminal can display the icons corresponding to the respective deployed applications to the user through several desktops.
  • the icon corresponding to the application can be triggered on the corresponding desktop, so that the smart terminal runs the application and displays the graphical user interface (GUI) of the application.
  • GUI graphical user interface
  • the user can also manually adjust the display effect of the icon corresponding to each application program according to their own habits of using the smart terminal. For example, adjust the position of an icon corresponding to an application on the desktop; another example is to create a classification file on the desktop, and drag the icon corresponding to one or more applications to the classification file.
  • the embodiments of the present application provide an icon management method and an intelligent terminal, which can automatically make decisions and adjust the display effect of each icon more efficiently and quickly.
  • an icon management method which is applied to a smart terminal with a display screen, and the smart terminal has a number of application programs deployed.
  • the smart terminal can obtain the cumulative frequency and cumulative time of each application using the display screen within a preset time; and according to the cumulative frequency and cumulative time of each application using the display screen, obtain the use degree index of each application, The usage index can be used to measure the user's preference for the corresponding application within a preset time. Then, the smart terminal automatically decides and updates the attribute information of the icon corresponding to each application according to the usage index of each application, so as to realize automatic decision and update the display effect of each icon.
  • the smart terminal can automatically make decisions and adjust the display effect of each icon more efficiently and quickly according to the user's usage of each application within a preset time.
  • the user does not need to spend a lot of time and energy to manually adjust the display effect of each icon, which improves the intelligence of icon management.
  • the smart terminal sorts each cumulative frequency according to the size of each cumulative frequency to obtain the first sequence; and according to the size of each cumulative time, sorts each cumulative time to obtain the second sequence ; Then for each application, according to the application’s cumulative frequency of using the display within the preset time in the first sequence in the first sequence, and the application’s cumulative use of the display within the preset time in the first sequence
  • the second order bit in the second sequence determines the usage index of the application. In this way, it can be avoided that the accumulated frequency/accumulated time difference of different applications using the display screen is too large, and the usage index of different applications cannot more accurately express the user's preference for different applications.
  • the smart terminal may also select a preset number of cumulative frequencies from each cumulative frequency in descending order, and calculate the first variance of each selected cumulative frequency; and, In descending order, select a preset number of cumulative times from each cumulative time, and calculate the second variance of each selected cumulative time; then determine the first order according to the first variance and the second variance
  • the smart terminal can arrange each cumulative frequency in the first sequence in descending order, and each cumulative time in the second sequence in descending order.
  • the weighted summation of the first order bit and the second order bit corresponding to the application program is performed to obtain the usage degree index of the application program.
  • the difference between the usage index of any two application programs can more accurately express the difference between the user's preference degree for any two application programs.
  • the attribute information includes: the number of the desktop where the icon is located and the position of the icon on the desktop.
  • the attribute information further includes: one or more of the transparency, brightness, color saturation, and border effect of the icon.
  • the attribute information further includes: one or more of the font, font size, and rendering effect of the name of the application program corresponding to the icon.
  • the smart terminal may also obtain the first screen usage event when the current application starts to use the display screen in each application, and calculate the cumulative amount of the current application's use of the display screen within the preset time. Frequency plus 1; among them, the first screen use event includes the identifier of the current application, the event type used to indicate the first screen use event is the first parameter to start using the display screen, and the first screen use event for the current application to start using the display screen. The moment it happened.
  • the smart terminal can also obtain the second screen use event when the current application program ends the use of the display screen, and determine the single use time of the current application program using the display screen; where the second screen use event includes the current application
  • the identification of the program, the event type used to indicate the second screen use event is the second parameter of the end of the use of the display screen, and the second occurrence time when the current application ends using the display screen; the single use time is the second occurrence time and the first occurrence time. The time difference between the moments of occurrence.
  • the smart terminal can learn the cumulative frequency of each application using the display screen within the preset time, and learn the corresponding use time each time each application uses the display screen.
  • the smart terminal can determine the cumulative frequency of each application using the display screen within a preset time; and, according to the single use of each application within the preset time. Time, calculate the cumulative time of each application using the display screen within the preset time.
  • an intelligent terminal in a second aspect, includes at least a processor and a display screen, the intelligent terminal deploys a number of application programs, and the processor is used to execute: obtain that each application program uses the display screen within a preset time The cumulative frequency and cumulative time of each application; determine the use degree index of each application according to the cumulative frequency and cumulative time of each application’s use of the display within the preset time; update each application separately according to the use degree index of each application The attribute information of the corresponding icon, which is used to limit the display effect of the corresponding icon.
  • the processor is specifically configured to sort each cumulative frequency according to the size of each cumulative frequency to obtain the first sequence; and, according to the size of each cumulative time, sort each cumulative time In order to obtain the second sequence; for each application, according to the application’s cumulative frequency of using the display within the preset time in the first sequence in the first sequence, and the application’s use of the display within the preset time
  • the cumulative time is in the second order in the second sequence, and determines the usage index of the application.
  • the processor is further configured to select a preset number of cumulative frequencies from each cumulative frequency in descending order, and calculate the first variance of each selected cumulative frequency ; And, in descending order, select a preset number of cumulative times from each cumulative time, and calculate the second variance of each selected cumulative time; determine the first variance and the second variance according to the first variance and the second variance A first weight coefficient corresponding to a sequence bit and a second weight coefficient corresponding to the second sequence bit, the first weight coefficient is positively correlated with the first variance, and the second weight coefficient is positively correlated with the second variance.
  • the processor is specifically configured to arrange each cumulative frequency in the first sequence in descending order, and the cumulative time in the second sequence, in descending order, For each application program, according to the first weight coefficient and the second weight coefficient, a weighted summation of the first order bit and the second order bit corresponding to the application program is performed to obtain the usage degree index of the application program.
  • the attribute information includes but is not limited to the number of the desktop where the icon is located and the position of the icon on the desktop.
  • the attribute information further includes: one or more of the transparency, brightness, color saturation, and border effect of the icon.
  • the attribute information further includes: one or more of the font, font size, and rendering effect of the name of the application program corresponding to the icon.
  • the processor is further configured to, when the current application in each application program starts to use the display screen, obtain the first screen use event, and use the current application program to use the display screen within a preset time.
  • the cumulative frequency of the screen is increased by 1; the first screen use event includes the current application identifier, the event type used to indicate the first screen use event is the first parameter to start using the display, and the current application starts to use the display The first moment of occurrence.
  • the processor ends the use of the display screen, obtain the second screen use event, and determine the single use time of the current application program using the display screen; where the second screen use event includes the current application’s logo and use time.
  • the event type indicating the second screen usage event is the second parameter of the end of using the display screen, and the second occurrence time when the current application ends using the display screen; the single use time is between the second occurrence time and the first occurrence time Time difference.
  • the processor is specifically configured to determine the cumulative frequency of each application using the display screen within a preset time; and, according to each application's use of the display screen within the preset time. Single use time, calculate the cumulative time of each application using the display screen within the preset time.
  • a computer-readable storage medium for storing instructions, and when the instructions are executed by a processor of a smart terminal, the smart terminal realizes the method provided in any one of the first aspects.
  • an intelligent terminal in a fourth aspect, includes a processor, a memory, and a display screen.
  • the memory stores executable code.
  • the processor executes the executable code, any item in the first aspect is implemented. Provided method.
  • a computer program product containing instructions is provided.
  • the computer program product runs on an electronic device (or smart terminal), it can enable the electronic device (or smart terminal) to implement any one provided in the first aspect. method.
  • FIG. 1 is a schematic structural diagram of a mobile phone provided in an embodiment of this application.
  • Fig. 2 is a schematic structural diagram of a software system adopted by a mobile phone provided in an embodiment of the application.
  • FIG. 3 is a schematic diagram of the interaction relationship between various software modules and hardware modules of the smart terminal when the smart terminal provided in the embodiment of the application displays the desktop.
  • FIG. 4 is a schematic flowchart of an icon management method provided in an embodiment of the application.
  • Fig. 5 is a schematic diagram of a process of cooperation between an activity manager and a display policy service in an embodiment of the application.
  • FIG. 6A is one of the schematic diagrams of a desktop configured by an exemplary mobile phone in an embodiment of the application.
  • FIG. 6B is the second schematic diagram of the desktop configured by the exemplary mobile phone in the embodiment of the application.
  • Fig. 7 is a schematic structural diagram of an icon management apparatus provided in an embodiment of the application.
  • the embodiments of the present application provide at least one icon management method and device, and the method and device can be applied to various smart terminals with display screens.
  • it can be applied to mobile phones, tablet computers, notebook computers, ultra-mobile personal computers (UMPC), personal digital assistants (personal digital assistants, PDAs), wearable devices, virtual reality devices and other devices with display screens.
  • UMPC ultra-mobile personal computers
  • PDA personal digital assistants
  • wearable devices virtual reality devices and other devices with display screens.
  • smart terminals there are no restrictions on this in the embodiments of this application.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, Power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191 , Indicator 192, camera 193, display screen 194, subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and environment Light sensor 180L and bone conduction sensor 180M, etc.
  • the structure of the mobile phone 100 exemplarily described in the embodiments of the present application does not constitute a limitation on the specific structure of the mobile phone or other smart terminals.
  • a mobile phone or other smart terminal it can include more or less components such as the mobile phone 100 shown in FIG. 1, and some components in the mobile phone 100 shown in FIG. It is shown that some components in the mobile phone 100 are further divided. As shown in FIG. 1, the various components in the mobile phone 100 may also have other connection relationships.
  • the processor 110 may include one or more processing units, such as an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), and a control Processor, video codec, digital signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU).
  • processing units such as an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), and a control Processor, video codec, digital signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU).
  • AP application processor
  • modem e.g., a graphics processing unit
  • ISP image signal processor
  • control Processor e.g., video codec
  • DSP digital signal processor
  • baseband processor eural-network processing unit
  • NPU neural-network processing unit
  • different processing units may be independent devices, or may be integrated in one or
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, the processor 110 can directly call it from the memory. Repeated access to data is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, and pulse code modulation (PCM). Interface, universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, user identification module (subscriber identity module, SIM) card interface and/or universal serial bus (universal serial bus, USB) interface.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses, and respectively couple the touch sensor 180K, charger, flash, camera 193 and other components through different I2C buses, so that the mobile phone 100 can implement corresponding functions.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface, thereby implementing the touch function of the mobile phone 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses, and respectively couple components such as the audio module 170 and the wireless communication module 160 through different I2S buses.
  • the processor 110 may send an audio signal to the wireless communication module 160 through an I2S interface, so as to realize the function of the mobile phone 100 to answer a call through a wireless headset.
  • the PCM interface can be used for audio communication, and specifically for sampling, quantizing, and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM interface, so that the audio module 170 may send audio signals to the wireless communication module 160 through the PCM interface, thereby implementing the function of the mobile phone 100 to answer calls through a wireless headset.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the UART interface may be a two-way communication bus, which converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 is connected to a Bluetooth module included in the wireless communication module 160 through a UART interface, so that the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so that the mobile phone 100 can play music through a Bluetooth headset.
  • the MIPI interface can be used to connect components such as the camera 193 and the display screen 194 to the processor 110.
  • the MIPI interface may include a camera serial interface (camera serial interface, CSI) and a display serial interface (display serial interface, DSI).
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the mobile phone 100; the processor 110 and the display screen 194 communicate through a DSI interface to implement the display function of the mobile phone 100.
  • the GPIO interface can be configured through software and configured to transmit control signals or data signals.
  • the GPIO interface may be used to connect components such as the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, and the sensor module 180 to the processor 110.
  • the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, or an MIPI interface.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, or a USB Type C interface.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices, for example, to connect an augmented reality (AR) device to transmit corresponding data to the AR device.
  • AR augmented reality
  • the interface connection relationship between the components described in the embodiments of the present application exemplarily does not constitute a structural limitation on mobile phones or other smart terminals.
  • the mobile phone 100 may also adopt different interface connection modes or a combination of multiple interface connection modes in the above exemplary description.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the charging input of the wireless charger through the wireless charging coil of the mobile phone 100.
  • the charging management module 140 can charge the battery 142 according to the charging input it receives, and at the same time supply power to other components in the mobile phone 100 through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to components such as the processor 110, the internal memory 121, the screen camera 193, the display screen 194, and the wireless communication module 160.
  • the power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (such as leakage and impedance).
  • the power management module 141 may be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may be provided in the same device.
  • the wireless communication function of the mobile phone 100 can be realized by the cooperation of the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem, and the baseband processor.
  • the antenna 1 and the antenna 2 are each used to transmit and receive electromagnetic wave signals.
  • the antenna 1 and the antenna 2 can each cover a single or multiple communication frequency bands, and different antennas can also be multiplexed to improve the utilization rate of the antennas.
  • antenna 1 may be multiplexed as a diversity antenna of the wireless local area network.
  • the mobile communication module 150 is used to support solutions of wireless communication technologies such as 2G, 3G, 4G, and 5G applied on the mobile phone 100.
  • the mobile communication module 150 may include functional modules such as filters, switches, power amplifiers, and low noise amplifiers (LNA).
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send the processed signals to the modem for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem, and convert the amplified signal through the antenna 1 into electromagnetic waves for radiation.
  • part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • part of the functional modules of the mobile communication module 150 may be integrated with part of the functional modules of the processor 110 and arranged in the same device.
  • the modem may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and sent to the application processor.
  • the application processor outputs sound signals through audio equipment (including but not limited to the speaker 170A and the receiver 170B), or displays images or videos through the display screen 194.
  • the modem may be a stand-alone device.
  • the modem may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other components.
  • the wireless communication module 160 is used to support wireless local area networks (WLAN), bluetooth (BT), global navigation satellite system (GNSS), and frequency modulation (FM) applied to the mobile phone 100. ), wireless communication technology solutions such as near field communication (NFC) and infrared technology (infrared, IR).
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 may receive electromagnetic waves through the antenna 2, perform frequency modulation and filtering processing on the received electromagnetic wave signals, and send the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation and amplification processing on it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with other devices through wireless communication technology.
  • wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM and IR technology, etc.
  • GNSS includes but is not limited to global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi-zenith satellite system, QZSS) and satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the mobile phone 100 cooperates with components such as a GPU, a display screen 194, and an application processor to realize a display function.
  • the GPU is a microprocessor for image processing and can be connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images and videos.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the mobile phone 100 may include one or more display screens 194.
  • the mobile phone 100 may cooperate with components such as an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor to realize a shooting function.
  • components such as an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor to realize a shooting function.
  • the camera 193 is used to collect images or videos. For example, when an image or video is taken by the camera 193, the light is transmitted to the photosensitive element of the camera through the lens of the camera, and the light signal is converted into an electric signal on the photosensitive element, and the electric signal is transmitted to the ISP. The electrical signal is processed to obtain an image visible to the human eye.
  • the photosensitive element of the camera 193 may include a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. After the photosensitive element converts the optical signal into an electrical signal, the electrical signal is transferred to the ISP and converted into a digital image signal. ISP can output digital image signals to DSP for processing.
  • the mobile phone 100 may include one or more cameras 193.
  • the ISP is used to process the data fed back from the camera 193. For example, it is used to process the electrical signal from the camera 193 to obtain an image visible to the human eye, or to process the electrical signal from the camera 193 to obtain a digital image signal, and transmit the digital image signal to the DSP.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize parameters such as exposure and color temperature of the shooting scene.
  • the ISP may be integrated in the camera 193.
  • DSP is used to convert digital image signals from ISP into standard RGB or YUV format image signals.
  • the DSP may also be used to process other forms of digital signals; for example, when the mobile phone 100 is performing frequency point selection, the DSP may perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital video.
  • the mobile phone 100 can support one or more video codecs, so that the mobile phone 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, and MPEG4. Format.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, and MPEG4. Format.
  • NPU is a neural network (neural-network, NN) computing processor. By drawing on the structure of biological neural network, it can quickly process input information, and it can also continuously self-learn.
  • the NPU can be used to support applications such as intelligent cognition of the mobile phone 100, for example, to support image recognition, face recognition, voice recognition, and text semantic analysis.
  • the controller can be used as the nerve center and command center of the mobile phone 100, and is used to generate operation control signals according to instruction operation codes and timing signals to complete the control of obtaining instructions and executing instructions.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the mobile phone 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store the operating system and application programs corresponding to various functions of the mobile phone 100 (such as a sound playback function, an image playback function, etc.).
  • the data storage area can store data (such as audio data) created by the mobile phone 100 during use.
  • the internal memory 121 may include high-speed random access memory and non-volatile memory, such as disk memory, flash memory, and universal flash storage (UFS).
  • the processor 110 implements various functions and data processing procedures of the mobile phone 100 by running instructions stored in the internal memory 121 and/or running instructions stored in a memory provided in the processor.
  • an embodiment of the present application also provides a computer-readable storage medium for storing instructions.
  • the smart terminal When the instructions are executed by the processor of the smart terminal, the smart terminal enables the smart terminal to implement any implementation of the present application.
  • the computer-readable storage medium may be the internal memory of the smart terminal, or may be an external memory connected to the smart terminal through a corresponding external memory interface.
  • an embodiment of the present application also provides an intelligent terminal, which includes at least a memory, a processor, and a display screen.
  • the memory stores executable codes and/or instructions.
  • the processor executes the executable
  • the smart terminal implements the icon management method provided in any one of the embodiments of the present application.
  • the mobile phone 100 may cooperate with components such as the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor to realize the audio function. For example, recording or playing music.
  • the audio module 170 is used to convert the digital audio signal from the application processor into an analog audio signal, and is also used to convert the analog audio signal from the microphone into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A may also be referred to as a “speaker” for converting audio signals from the audio module 170 into sound signals.
  • the mobile phone 100 can play music or make a hands-free call through the speaker 170A.
  • the receiver 170B may also be referred to as a "earpiece", and is used to convert the audio signal from the audio module 170 into a sound signal.
  • the user can answer calls or voice messages by bringing the receiver 170B close to the human ear.
  • the microphone 170C may also be referred to as a "microphone” or a “microphone” for converting sound signals into electrical signals.
  • the user can put the microphone 170C close to the mouth and make a sound, and the microphone 170 can receive the corresponding sound signal and convert it into an electric signal.
  • one or more microphones 170C may be provided in the mobile phone 100, so as to realize the noise reduction of the sound signal and the identification of the source of the sound signal while collecting the sound signal.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D can be a USB interface 130, a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) Standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals and convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be a resistive pressure sensor, an inductive pressure sensor, or a capacitive pressure sensor.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials. When there is pressure acting on the pressure sensor 180A, the capacitance between the parallel plates changes, and the processor 110 may determine the pressure according to the change in capacitance. strength.
  • the pressure sensor 180A may be disposed on the display screen 194; when a touch operation acts on the display screen 194, the processor 110 may detect the touch intensity of the touch operation according to the pressure sensor 180A.
  • the processor 110 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch intensities can correspond to different operation instructions; for example, when a touch operation with a touch intensity less than a preset pressure threshold is applied to the icon corresponding to the SMS application , The processor executes the operation instruction corresponding to checking the short message. When a touch operation with a touch operation intensity greater than or equal to the preset pressure threshold acts on the icon corresponding to the short message application, the operation instruction corresponding to the new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyroscope sensor 180B can be used to detect the shake angle of the mobile phone 100, and calculate the distance to be compensated for the lens of the camera 193 based on the angle, so that the lens can counteract the shake of the mobile phone 100 through reverse movement, and realize anti-shake shooting.
  • the gyroscope sensor 180B can also be used to support the mobile phone to realize its navigation function, and to support the user to play somatosensory games through the mobile phone 100.
  • the air pressure sensor 180C is used to measure air pressure.
  • the processor 110 may calculate the altitude according to the air pressure value measured by the air pressure sensor 180C, so as to support the mobile phone 100 to implement auxiliary positioning and navigation functions.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone 100 can detect the opening and closing state of the leather case sleeved on the mobile phone 100 through the magnetic sensor 180D.
  • the mobile phone 100 can detect the opening and closing state of the flip according to the magnetic sensor 180D.
  • the mobile phone 100 can realize the function of automatically unlocking or locking the display screen 194 according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover.
  • the acceleration sensor 180E can detect the acceleration of the mobile phone 100 in various directions. It can also be used to support the step-counting function of the mobile phone 100 and the horizontal and vertical screen switching of the graphical user interface on the display 194.
  • the distance sensor 180F is used to measure distance.
  • the mobile phone 100 can measure the distance between the target and the mobile phone 100 by transmitting and receiving infrared light or infrared laser.
  • the mobile phone 100 may use the distance sensor 180F to measure the distance between the subject and the camera 193 to achieve rapid focusing.
  • the proximity light sensor 180G includes, but is not limited to, a light emitting diode (LED) and a light detector.
  • the light emitting diode may be an infrared light emitting diode.
  • the light detector may be a photodiode.
  • the mobile phone 100 emits infrared light to the outside through the light emitting diode.
  • the mobile phone 100 can detect the infrared light reflected by the target through a photodiode. When the photodiode detects infrared light that meets certain conditions, it can be determined that there is a target near the mobile phone 100.
  • the mobile phone 100 can use the proximity light sensor 180G to detect whether the mobile phone is close to the human ear when the user holds the mobile phone 100 for a call, so that the display screen is automatically turned off after the mobile phone is close to the human ear to save power.
  • the proximity light sensor 180G can also be used to support the mobile phone 100 to realize its leather case mode and pocket mode.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the processor 110 may adaptively adjust the brightness of the display screen 194 according to the brightness of the ambient light sensed by the ambient light sensor 180L.
  • the ambient light sensor 180L can also be used to support the mobile phone 100 to automatically adjust the white balance when taking pictures or videos through the camera 193.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to support the mobile phone 100 to detect whether the mobile phone 100 is in the pocket and avoid touching the display screen by mistake.
  • the fingerprint sensor 180H is used to collect the fingerprint of the user's finger. In this way, the mobile phone 100 realizes fingerprint unlocking, access to the application lock, fingerprint photographing and fingerprint answering calls based on the fingerprint collected by the mobile phone 100.
  • the temperature sensor 180J is used to detect temperature.
  • the mobile phone 100 uses the ambient temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the mobile phone 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the mobile phone 100 heats the battery 142 to avoid abnormal shutdown of the mobile phone 100 due to low temperature.
  • the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K may also be referred to as a “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on itself or a nearby area.
  • the touch sensor 180K may transmit the detected touch operation to the application processor, so that the application processor can determine the touch event type corresponding to the touch operation.
  • the mobile phone 100 may provide visual output related to touch operations through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100, and is independent of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also be in contact with a specific part of the human body to collect the pulse signal and blood pressure signal of the human body.
  • the bone conduction sensor 180M may be disposed in the earphone to form a bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor may parse the heart rate information based on the blood pressure signal obtained by the bone conduction sensor 180M to realize the heart rate detection function.
  • the button 190 includes, but is not limited to, a power-on button and a volume button.
  • the button 190 may be a mechanical button or a touch button.
  • the user can generate input signals/commands related to the user settings and function control of the mobile phone 100 by triggering the button 190.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • the user's touch operation on the respective icons corresponding to different applications can correspond to different vibration feedback effects; the user acts on different types of applications
  • the touch operation of programs can correspond to different vibration feedback effects; different application scenarios (such as receiving application notification information and games) can also correspond to different The vibration feedback effect. It can be understood that the touch vibration feedback can be set by the user in combination with his actual business needs.
  • the indicator 192 may be an indicator light, used to indicate the charging status of the mobile phone 100, and may also be used to indicate whether the mobile phone 100 has missed calls, whether there are unchecked information or notifications.
  • the display screen 194 is used to display the graphical user interface of each application program located in the application program layer.
  • the mobile phone 100 may include one or more display screens 194.
  • the mobile phone 100 may only include a display screen 194 but the display screen can be divided into multiple display areas under the control of the user; for example, the mobile phone 100 may only include a foldable flexible display screen, but the display screen can be It is folded under the control of the user and divided into two display screens (that is, divided into two display areas) along the corresponding folding line.
  • the multiple display screens 194 of the same mobile phone 100 may independently display different graphical user interfaces, or may respectively display partial areas of the same graphical user interface, and cooperate with each other to complete the display of a complete graphical user interface.
  • the SIM card interface 195 is used to connect to a SIM card, so that the mobile phone 100 can exchange information with a wireless network or corresponding equipment through the SIM card, thereby implementing functions such as call and data communication.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195, so that the SIM card can be contacted and separated from the mobile phone 100; or, the SIM card can be an embedded SIM card that cannot be separated from the SIM card.
  • the mobile phone 100 may include one or more SIM card interfaces, and each SIM card interface 195 may be connected to a different SIM card; or, one SIM card interface 195 of the mobile phone 100 may be connected to multiple SIM cards at the same time.
  • the software system deployed in the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, or a cloud architecture.
  • the software system deployed by the smart terminal adopts an Android system with a layered architecture as an example to illustrate the software structure adopted by the mobile phone 100 by way of example.
  • FIG. 2 is a schematic diagram of the structure of the software system adopted by the mobile phone 100.
  • the Android system can be divided into four layers, from top to bottom, the application layer, application framework layer, system library, Android runtime, and kernel layer. Each layer has a clear The role and division of labor, communication between layers through software interfaces.
  • the application layer includes a series of applications deployed on the mobile phone 100.
  • the application layer may include, but is not limited to, a desktop launcher (Launcher), a setting module, a calendar module, a camera module, a photo module, a call module, and a short message module.
  • a desktop launcher Launcher
  • the application layer may include, but is not limited to, a desktop launcher (Launcher), a setting module, a calendar module, a camera module, a photo module, a call module, and a short message module.
  • the application framework layer can provide an application programming interface (application programming interface, API) and a programming framework for each application in the application layer.
  • the application framework layer can include some predefined functional modules/services.
  • the application framework layer may include, but is not limited to, Window manager, Activity manager, Package manager, Resource manager, and Power manager ( Power manager).
  • the activity manager is used to manage the life cycle of each application and implement the navigation rollback function of each application. Specifically, the activity manager may be responsible for the creation of an activity (Activity) process and the maintenance of the entire life cycle of the created Activity process.
  • Activity activity
  • the window manager is used to manage window programs. It can be understood that the graphical user interface of each application located in the application layer is usually composed of one or more activities, and the activity is composed of one or more views.
  • the window manager can be used to set the graphical user interface that needs to be displayed.
  • the included View is added to the display screen 194 or used to remove the View from the graphical user interface displayed on the display screen 194.
  • the window manager can also obtain the size of the display screen 194, determine whether there is a status bar in the graphical user interface displayed on the display screen 194, and support the realization of locking the display screen 194 and intercepting the display screen 194. GUI.
  • the package manager can manage the data packages corresponding to each application program, for example, for decompressing, verifying, installing, and upgrading each data package. More specifically, the package manager can at least maintain the respective icons of each application and the names of the respective data packages.
  • the resource manager can provide access to various non-code resources for each application located in the application layer, such as local strings, graphics, and layout files.
  • the power manager is the core service of the power management of the Android system, which is mainly used to perform computing tasks related to the power management in the Android system. Downward decision-making controls the underlying system of the Android system to turn on or off the display, start or stop hardware devices such as distance sensors and proximity light sensors. Provide the corresponding operation interface upwards, so that each application of the application layer can call it, so as to achieve specific business purposes; for example, the display screen 194 of the mobile phone 100 is continuously processed when the mobile phone 100 plays audio through the application "Music"
  • the lighting state is another example of each application lighting the display screen 194 of the mobile phone 100 when receiving a notification.
  • the application framework layer may also include a display policy service.
  • the display strategy service can cooperate with Activity manager to obtain the cumulative frequency and cumulative time of each application using the display within the preset time; and according to the cumulative frequency and cumulative time of each application using the display within the preset time Accumulated time, independent or in cooperation with other functional modules, complete the adjustment of the display effect of each icon.
  • the display policy service can be deployed as an independent functional module at the application framework layer.
  • a display policy service module can be added to the application framework layer, so that the mobile phone 100 can implement the icon management method provided in any embodiment of the present application.
  • the display policy service can be embedded in Activity manager and/or Window manager.
  • the capabilities of the Activity manager and/or Window manager can be enhanced, so that the mobile phone 100 can implement the icon management method provided in any embodiment of the present application.
  • the icon management device provided in the embodiments of the present application may be fully or partially included in the display strategy service, and the display strategy service can cooperate with other functional modules in the Android system to realize the provision in any embodiment of the present application. Icon management method.
  • the system library, Android runtime, and kernel layer below the application framework layer can be called the bottom system.
  • the bottom system includes the bottom display system for providing display services.
  • the bottom display system can include but is not limited to the surface of the system library. The surface manager and the display driver at the kernel layer.
  • the Android runtime is responsible for the scheduling and management of the Android system, including core libraries and virtual machines.
  • the computer programs of the application layer and the application framework layer run in a virtual machine. More specifically, the virtual machine can execute the java files in the application layer and the application framework layer as binary files; the virtual machine can also be used to implement object life cycle management, stack management, thread management, security management, and garbage collection, etc. Function.
  • system library may also include multiple functional modules other than the surface manager.
  • it may also include status monitoring services, Media Libraries, 3D graphics engines (for example, OpenGL for Embedded Systems), and 2D graphics engines.
  • the surface manager can provide a combination of two-dimensional graphics and three-dimensional graphics for each application.
  • the status monitoring service can receive data reported by each driver at the kernel layer.
  • the media library can support the playback and collection of images/audio/video in a variety of common formats.
  • the 3D graphics engine is used to realize the drawing, rendering and synthesis of 3D images.
  • the two-dimensional graphics engine is used to realize the drawing and rendering of two-dimensional images.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes several hardware drivers.
  • the kernel layer may include a display driver, a camera driver, an audio driver, and a touch driver; each driver can collect the information collected by the corresponding hardware, and report the corresponding information to the status monitoring service or other functional modules in the system library. Monitoring data.
  • the Power manager when the mobile phone 100 is started or awakened under a user's operation, the Power manager, the Surface manager, and the display driver cooperate to light up the display screen.
  • the Launcher can obtain the icons corresponding to each application and the identification of each application from the package manager, and call the Activity manager.
  • the user can activate the mobile phone 100 by pressing a button.
  • the user can touch a display screen of the mobile phone 100 with his finger or other parts to wake up the mobile phone 100.
  • the user touches a display screen of the mobile phone 100, so that the touch sensor can perceive the user's touch operation on the display screen, and the corresponding hardware interrupt is sent to the kernel layer by the touch sensor.
  • the touch driver or other functional modules of the kernel layer can get the input event according to the hardware interrupt.
  • the input event indicates the display screen to be lit, that is, the display screen being touched; then the input event is reported to the application framework layer
  • the input event is reported to the display strategy service in the application framework layer through the status monitoring service in the system library.
  • the Powermanager of the application framework layer can learn the display to be lit through the display policy service or other functional modules, and then cooperate with the Surface manager and the display driver to light the display that it knows to be lit.
  • the Activity manager is called by the Launcher, independently or in cooperation with the Window manager, to realize that for each icon obtained by the Launcher, according to the attribute information of each icon recorded by the Launcher, it regulates the lit display screen to display the desktop.
  • attribute information of each icon is used to limit the display effect of each icon when it is displayed on the display screen on the desktop.
  • the mobile phone 100 may be configured with multiple desktops, and a desktop displayed on the illuminated display screen may include all or part of the icons and names corresponding to each application program located in the application program layer.
  • the multiple desktops may have different desktop numbers.
  • the attribute information of an icon may include the desktop number of the desktop where the icon is located.
  • the mobile phone 100 may be configured with a certain number of commonly used icons, and these commonly used icons may be displayed in the form of windows in the same area on each desktop configured by the mobile phone 100, such as a dock area.
  • these commonly used icons may be displayed in the form of windows in the same area on each desktop configured by the mobile phone 100, such as a dock area.
  • multiple icons are usually arranged in rows and columns, and the rows of icons on the desktop are numbered in order from top to bottom, and the rows of icons on the desktop are numbered from left to right.
  • the columns of icons on the desktop are numbered sequentially; then the row number and column number corresponding to an icon can be used to uniquely identify the position of the icon on the desktop.
  • the attribute information of an icon may also include the row number and column number corresponding to the icon on the corresponding desktop.
  • the mobile phone 100 can update the attribute information of each icon recorded in the Launcher, so as to adjust the display effect of each icon, and realize the management of the icon of each application program. For example, update the desktop number, row number and/or column number in the attribute information corresponding to a certain icon, thereby changing the desktop where the icon is located and/or the position of the icon on the corresponding desktop.
  • the number of icons that can be displayed on a single desktop is relatively small, and the number of applications located in the application layer is relatively large, which makes it difficult for users to quickly find and trigger what they need to use from a large number of icons on multiple desktops
  • the icon corresponding to the application is that the user manually adjusts the display effect of each icon according to his habits of using the smart terminal. Due to the large number of applications and the differences in user preferences for each application in different time periods, this solution has limitations such as more time-consuming and lower efficiency in the manual adjustment process.
  • At least one icon management method and device applied to a smart terminal are provided in the embodiments of the present application.
  • the usage degree index corresponding to each application can be obtained.
  • the usage index corresponding to each application program can more accurately express the user's preference for each application program within a preset time. Therefore, the attribute information of each icon corresponding to each application can be updated according to the usage index of each application, so as to realize automatic decision-making and adjust the display effect of each icon more efficiently and quickly. Therefore, the user does not need to manually adjust the display effect of each icon, and the operation efficiency of icon adjustment is improved.
  • the attribute information of an icon is also It may include one or more of the transparency, brightness, color saturation, size, and border effect of the icon when the icon is displayed on the display screen on the corresponding desktop.
  • the attribute information of an icon is also It can include the name of the application corresponding to the icon when it is displayed on the screen on the corresponding desktop, the font, font size, and rendering effect of the name (such as whether to bold the font, whether to display italics, whether to underline or whether it is shaded ) One or more of them.
  • the user can touch the display screen with his finger and slide his finger in a certain direction, or operate the smart device in other ways, so that the other desktop configured by the smart device is displayed on the On the display.
  • the application layer provides a method for performing various functions of the mobile phone.
  • Functional modules for management For example, after a display screen of the smart device is lit and the desktop is displayed, the user can trigger the icon corresponding to the functional module used to manage the various functions of the mobile phone (for example, the corresponding display name is "Settings" The icon corresponding to the application program), and then perform further operations on the graphical user interface of the functional module to turn on or turn off the icon management function provided by the smart device.
  • FIG. 4 is a schematic flowchart of an icon management method provided in an embodiment of the application.
  • the smart terminal can implement its icon management function by executing the following steps 41 to 45. It can be understood that after the user chooses to enable the icon management function of the smart terminal, the smart terminal may execute the icon management method shown in FIG. 4 with a preset time period as a period.
  • step 41 the cumulative frequency and cumulative time of each application using the display screen within a preset time are obtained.
  • the preset time may be an empirical value or a reference value set by the user, such as 1 day, 7 days, or others.
  • At least the activity manager can cooperate with the display strategy service to obtain the cumulative frequency and cumulative time of each application in the application layer using the display screen within a preset time.
  • step 51 after the user turns on the icon management function provided by the smart terminal at time t0, if the user touches an icon corresponding to an application program (such as APP1) on the desktop displayed on the display screen of the smart terminal, APP1 can Activity manager makes the call.
  • an application program such as APP1
  • the user can also initiate the use of the application by triggering the notification of the application, triggering the "Recent" navigation, or corresponding gesture operations, so that APP1 can call the Activity manager.
  • the Activity manager may be called by APP1, independently or in cooperation with Window manager, to load the graphical user interface of APP1 to the display screen. That is, APP1 starts to use the display screen.
  • step 53 the Activity manager can provide the corresponding screen usage event A to the display policy service.
  • the screen use event A includes the identifier of APP1, the time t1 at which APP1 calls the Activity manager, and includes the first parameter used to indicate that the event type of the screen use event A is "start using the display screen”.
  • the display policy service may add 1 to the cumulative frequency of using the display screen of APP1 after time t0 when it receives the screen use event A from the Activity manager.
  • step 55 when APP1 ends the use of the display screen, the Activity manager can provide a screen use event B to the display policy service.
  • the screen use event B includes the identification of APP1, the occurrence time t2 when APP1 ends using the display screen, and includes a second parameter used to indicate that the event type of the screen use event B is "end use of the display screen".
  • APP1 when the smart terminal displays the graphical user interface of APP1, if APP1 is closed under the user's operation, APP1 runs in the background because other applications need to use the display screen, or the display screen is not lit, APP1 can be ended. Use of the display.
  • the smart terminal when the smart terminal displays the graphical user interface of APP1 and receives a notification from another application (such as APP2 or APP3), the notification may be displayed in the form of a window on the graphical user interface of APP1 displayed on the display screen. .
  • the smart terminal can detect the user's operation on the notification. If the smart terminal detects that the operation is viewing the notification at t2, the Activity manager ends the Activity process corresponding to the graphical user interface of APP1 displayed on the display screen, so that APP1 is on the smart terminal Up to the background to run, and provide screen use event B to the display strategy service. Correspondingly, the smart terminal can start APP2 or APP3, so that APP2 or APP3 can call the Activity manager.
  • the display policy service can calculate the time difference between the occurrence time t2 carried by the screen usage event B and the occurrence time t1 carried by the screen usage event A when the screen usage event B is received, to obtain the APP1 The time of single use of the display.
  • the display strategy service can query the recorded applications at time t3 when the time difference between t0 and t0 is the preset time (that is, the time period from t0 to t3).
  • the cumulative frequency of using the display screen of the smart terminal and according to the recorded single use time of each application within the preset time each time the display is used, calculate each application to use the display within the preset time The accumulated time. In this way, the cumulative frequency and cumulative time of each application deployed on the smart terminal using the display screen within the preset time can be obtained.
  • the Activity manager may be called repeatedly by APP1, and the Activity manager may provide the corresponding screen to the display policy service every time it is called by APP1.
  • Activity manager can be called by APP1 at time t1 and provide the corresponding screen usage event A to the display policy service, and then no longer provide the corresponding screen usage event to the display policy service every time it is called by APP1 in order to reduce the display strategy
  • the interaction between the service and the Activity manager saves resources.
  • the use degree index of each application program is determined according to the cumulative frequency and cumulative time of each application program using the display screen within a preset time. It can be understood that the usage degree index of each application program may indicate the user's preference for each application program within a preset time.
  • the smart terminal may perform a weighted summation of the cumulative frequency and cumulative time of the application’s use of the display screen within a preset time to obtain the corresponding usage index of the application. ;
  • the weight coefficients corresponding to the cumulative frequency and the cumulative time can be empirical values.
  • the smart terminal can sort the cumulative frequencies according to the cumulative frequency of each application using the display screen within a preset time to form a cumulative frequency sequence; Use the size of the cumulative time of the display screen to sort each cumulative time to form a cumulative time sequence within the time. Then, the smart terminal can use the cumulative frequency of each application within the preset time in the cumulative frequency sequence according to the order of the cumulative frequency of each application within the preset time, and the cumulative time of each application using the display within the preset time is in the cumulative time sequence.
  • the order of the bits determines the degree of usage index of each application. In this way, it can be avoided that when the cumulative frequency/accumulated time of different applications using the display screen is too large, the determined usage index of different applications cannot more accurately express the user's preference for different applications.
  • the cumulative frequencies can be sorted in ascending order to form a first sequence composed of the cumulative frequencies; and the cumulative times can be sorted in descending order, To form a second sequence composed of each accumulated time.
  • At least the following formula 1 can be used to calculate the usage index of each application.
  • P i is the i-th degree using the application index
  • x i is the i th display applications used within a preset time cumulative frequency of the first order bit in the first sequence
  • y i is the i
  • the cumulative time of an application using the display screen within a preset time is in the second sequence in the second sequence
  • a and b are the determined first weighting coefficient and the second weighting coefficient, respectively.
  • the smart terminal can also select N (N is an empirical value, such as 10) cumulative frequencies from each cumulative frequency in descending order, and calculate the selected N cumulative frequencies The first variance of the frequency; select N cumulative times from each cumulative time in descending order, and calculate the second variance of the selected N cumulative times. Then, a and b are determined based on the first variance and the second variance.
  • N is an empirical value, such as 10.
  • a is positively correlated with the first variance
  • b is positively correlated with the second variance.
  • a is positively correlated with the first variance
  • b is positively correlated with the second variance
  • the sum of a and b is a preset value (for example, 1).
  • the smart terminal can also sort the cumulative frequencies in descending order to form a third sequence consisting of the cumulative frequencies; sort the cumulative times in descending order to form the The fourth sequence composed of each accumulated time. And through a method similar to the aforementioned method of obtaining the usage degree index of each application program according to the first sequence and the second sequence, the usage degree index of each application program is obtained according to the third sequence and the fourth sequence.
  • step 45 according to the usage index of each application program, the attribute information of the icon corresponding to each application program is updated. It can be understood that the attribute information of each icon is used to limit the display effect of each icon.
  • the smart terminal can update the number of the desktop where the icon corresponding to each application is located according to the usage index of each application, and/or update the icon corresponding to each application in the corresponding The location on the desktop.
  • the smart terminal may also update one or more of the transparency, brightness, color saturation, and border effect of the icon corresponding to each application according to the usage index of each application.
  • the smart terminal may also update one or more of the font, font size, and rendering effect of the name of each application according to the usage index of each application.
  • the Launcher can call the Activity manager again, and the Activity manager can be called by the Launcher independently or in cooperation with the Window manager. For each icon obtained by the manager, according to the updated attribute information of each icon recorded by the Launcher, it controls the lit display screen to display the corresponding desktop.
  • the user can also adjust the display effect of each icon again based on the intelligent terminal has automatically decided and adjusted the display effect of each icon, and further combined with its own business needs, so as to take into account the operability and intelligence of icon management. Further improve the user experience.
  • each application uses the cumulative frequency and cumulative time of the display screen within the preset time, which fully covers the user triggering the application icon, triggering the notification of the application, triggering the "Recent" navigation or Corresponding gesture operation and other ways to initiate the use of the application.
  • the cumulative frequency and cumulative time of each application using the display screen within a preset time are used as a data indicator for the user to measure the user's use of each application within the preset time period, which is extremely representative And reliability; the use degree index of each application can more accurately express the user's use of each application within the preset time. In this way, the attribute information of each icon corresponding to each application can be automatically determined and adjusted according to the usage index of each application.
  • the display effect of each icon can be automatically adjusted more efficiently and quickly, and the icon management can be improved.
  • the user turns on the icon management function of the smart terminal.
  • the mobile phone 100 can be configured with exemplary desktop 1 and desktop 2, and icons 10, 11, 12, and 13 on desktop 1 and desktop 2 are commonly used icons. These commonly used icons may be in the form of windows. It is displayed on the side adjacent to the microphone of the mobile phone 100 on the desktop. For each unusual icon on Desktop 1 and Desktop 2, it is possible to record in the Launcher the attribute information including but not limited to the following table 1.
  • the recorded attribute information of the icon corresponding to each application includes but is not limited to the attribute information shown in Table 1 above; then, the smart terminal When the desktop is displayed according to the attribute information of each icon recorded in the Launcher, the desktop 1 or the desktop 2 as shown in FIG. 6A may be displayed.
  • the smart terminal determines the cumulative frequency and cumulative time of each application using the display screen of the smart terminal during the time period t0 to t3.
  • the smart terminal may sort the cumulative frequencies in ascending order to form a first sequence, and sort the cumulative times in ascending order to form a second sequence. And determine that the cumulative frequency of each application using the display in the time period t0 ⁇ t3 is the first sequence in the first sequence, and determine that the cumulative time of each application using the display in the time period t0 ⁇ t3 is in the second sequence The second order bit in the.
  • the cumulative frequency of using the display screen of the smart terminal is C 1 , C 2 , C 3 , C 4 , C 5 , C 6 , C 7 , C 8 , C 9 , C 15 , C 16 , in the time period t0 ⁇ t3
  • the cumulative time of using the display screen of the smart terminal in each of them is T 1 , T 2 , T 3 , T 4 , T 5 , T 6 , T 7 , T 8 , T 9 , T 15 , T 16 .
  • the second sequence is [T 3 , T 2 , T 1 , T 4 , T 15 , T 5 , T 7 , T 8 , T 9 , T 15 , T 6 ]. Then, for the application corresponding to "icon 5", it can be determined that the cumulative frequency C of using the display screen during the time period from t0 to t3 is 11 in the first sequence, and the application is in The second sequence bit of the cumulative time T 5 of using the display screen in the time period t0 ⁇ t3 is 6 in the second sequence.
  • the smart terminal can select N cumulative frequencies in descending order, and select N cumulative times in descending order; calculate the first variance E1 of the selected N cumulative frequencies, and calculate the selected N The second variance E2 of a cumulative time; and determine the weight coefficient a of each cumulative frequency and the weight coefficient b of each cumulative time according to E1 and E2.
  • the intelligent terminal can be calculated using an index of the degree of each application P i of the above equation.
  • the smart terminal can update the attribute information of the icon corresponding to each application program according to the usage degree index of each application program.
  • M is an empirical value, such as 8.
  • icon 1, icon 2, icon 3, icon 4, icon 5, icon 6, icon 7, icon 8, icon 9, icon 15, and icon 16 respectively correspond to the usage index of the application, which are P 1 , P 2 , P 3 , P 4 , P 5 , P 6 , P 7 , P 8 , P 9 , P 15 , P 16 ; and arrange the usage index of each application program in descending order, the sequence obtained is [ P 1 , P 5 , P 3 , P 16 , P 2 , P 6 , P 7 , P 8 , P 9 , P 15 , P 4 ].
  • the attribute information of each icon shown in Table 1 above can be updated, and the attribute information of each icon after the update includes but is not limited to the attribute information shown in Table 2 below.
  • the Activity manager can once again be independent or cooperate with the Window manager to achieve at least the attribute information corresponding to each icon shown in Table 2 recorded in the Launcher.
  • the desktop 1 or desktop 2 as shown in FIG. 6B is displayed on the display screen of the terminal.
  • the smart terminal can also provide the user with the cumulative frequency and cumulative time of each application using the display screen within a preset time, so that the user can use each application within the preset time period. The status of the program is clear at a glance.
  • an icon management device is also provided in the embodiment of the present application. As shown in Fig. 7, the icon management device may at least include:
  • the obtaining unit 71 is configured to obtain the cumulative frequency and cumulative time of each of the application programs using the display screen within a preset time;
  • the determining unit 73 is configured to determine the usage degree index of each application program according to the cumulative frequency and cumulative time of each application program using the display screen within a preset time;
  • the updating unit 75 is configured to update the attribute information of the icon corresponding to each application according to the usage index of each application, and the attribute information is used to limit the display effect of the corresponding icon.
  • the determining unit 73 is specifically configured to sort each cumulative frequency according to the size of each cumulative frequency to obtain the first sequence; and, according to the cumulative time The second sequence is obtained by sorting each cumulative time; for each of the application programs, the cumulative frequency of using the display screen within a preset time by the application program is the second in the first sequence A sequence bit, and the second sequence bit in the second sequence of the accumulated time of the application program using the display screen within a preset time, determine the usage degree index of the application program.
  • the icon management apparatus further includes:
  • the weight determination unit is configured to select a preset number of accumulated frequencies from each of the accumulated frequencies in descending order, and calculate the first variance of each of the selected accumulated frequencies; In descending order, a preset number of accumulated times are selected from each of the accumulated times, and the second variance of each of the selected accumulated times is calculated. According to the first variance and the second variance, a first weight coefficient corresponding to the first order position and a second weight coefficient corresponding to the second order position are determined. The first variance is positively correlated, and the second weight coefficient is positively correlated with the second variance.
  • the determining unit 73 is specifically configured to arrange each of the accumulated frequencies in the first sequence in descending order, and each of the accumulated times in the second sequence in descending order. In the case of sequential arrangement, according to the first weight coefficient and the second weight coefficient, perform a weighted summation on the first order bit and the second order bit corresponding to the application program to obtain the An index of the degree of usage of the application.
  • the attribute information includes: the number of the desktop where the icon is located and the position of the icon on the desktop.
  • the attribute information further includes: one or more of the transparency, brightness, color saturation, and border effect of the icon.
  • the attribute information further includes: one or more of the font, font size, and rendering effect of the name of the application program corresponding to the icon.
  • the acquiring unit 71 is further configured to acquire a first screen use event when the current application in each of the application programs starts to use the display screen, and use the current application program within the preset time The cumulative frequency of the display screen is increased by 1; wherein, the first screen use event includes the identifier of the current application, and the event type used to indicate the first screen use event is the first parameter for starting to use the display screen , And the first moment when the current application program starts to use the display screen.
  • a second screen use event is acquired, and the single use time of the current application program using the display screen this time is determined; wherein, the second screen
  • the usage event includes the identifier of the current application program, the event type used to indicate that the second screen usage event is the second parameter for ending the use of the display screen, and the second occurrence time when the current application program ends the use of the display screen;
  • the single use time is the time difference between the second occurrence time and the first occurrence time.
  • the acquiring unit 71 is specifically configured to determine the cumulative frequency of each of the application programs using the display screen within the preset time; The single use time of each use of the display screen in the preset time is calculated, and the cumulative time of each application program using the display screen in the preset time is calculated.
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and it is not applicable to this application.
  • the implementation process of the embodiment constitutes any limitation.
  • the device embodiments described above are illustrative, for example, the division of the modules/units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be It can be combined or integrated into another system, or some features can be ignored or not implemented.

Abstract

本申请涉及智能终端领域,提供了一种图标管理方法及智能终端。该智能终端根据其部署的各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间,得到各个应用程序的使用程度指数;各个使用程度指数能够指示用户在预设时间内对各个应用程序的偏好程度。然后,该智能终端根据各个应用程序的使用程度指数,自动决策并更新各个应用程序分别对应的图标的属性信息,从而实现对各个图标的显示效果进行调整。通过本申请的方案,智能终端可以根据用户对各个应用程序的使用情况,自动决策并更加高效、快捷的调整各个图标的显示效果;用户因此无需花费大量的时间和精力对各个图标的显示效果进行手动调整,提高了图标管理的智能性。

Description

图标管理方法及智能终端
本申请要求于2020年01月22日提交中国专利局、申请号为202010075226.3、申请名称为“图标管理方法及智能终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能终端领域,尤其涉及图标管理方法及智能终端。
背景技术
以智能手机为代表的各种智能终端,可以通过其部署的应用程序,向用户提供相应的服务以满足用户的各种业务需求。其中,智能终端可通过若干桌面,向用户显示其部署的各个应用程序分别对应的图标。当用户需要使用某个应用程序时,可在相应的桌面上触发该应用程序所对应的图标,使得智能终端运行该应用程序并显示该应用程序的图形用户界面(graphical user interface,GUI)。
通常的,用户还可以根据其自身对智能终端的使用习惯,手动调整各个应用程序分别对应的图标的显示效果。比如,调整某个应用程序对应的图标在桌面上的位置;又如,在桌面上创建分类文件,将一个或多个应用程序各自对应的图标拖动至分类文件中。
智能终端部署的应用程序的数量相对较大时,用户需要花费大量的时间调整各个图标的显示效果;用户在不同时间段内对各个应用程序的使用偏好存在较大差异时,用户需要频繁调整各个图标的显示效果。如此,导致手动调整图标的显示效果效率低。
发明内容
本申请实施例中提供了一种图标管理方法及智能终端,可以自动决策并更加高效、快捷的调整各个图标的显示效果。
第一方面,提供了一种图标管理方法,应用于具有显示屏的智能终端,所述智能终端部署了若干应用程序。智能终端可以获取各个应用程序在预设时间内分别使用该显示屏的累计频次和累计时间;并根据各个应用程序分别使用该显示屏的累计频次和累计时间,得到各个应用程序的使用程度指数,使用程度指数能够用于度量用户在预设时间内对相应的应用程序的偏好程度。然后,该智能终端根据各个应用程序的使用程度指数,自动决策并更新各个应用程序分别对应的图标的属性信息,从而实现自动决策并更新各个图标的显示效果。
总而言之,智能终端可以根据用户在预设时间内对各个应用程序的使用情况,自动决策并更加高效、快捷的调整各个图标的显示效果。相应的,用户无需花费大量的时间和精力对各个图标的显示效果进行手动调整,提高了图标管理的智能性。
在一种可能的实施方式中,该智能终端根据各个累计频次的大小,对各个累计频次进行排序以得到第一序列;以及根据各个累计时间的大小,对各个累计时间进行排序以得到第二序列;然后针对各个应用程序,根据该应用程序在预设时间内使用显示 屏的累计频次在第一序列中的第一顺序位,以及该应用程序在预设时间内使用显示屏的累计时间在第二序列中的第二顺序位,确定该应用程序的使用程度指数。如此,可避免因不同应用程序分别使用显示屏的累计频次/累计时间的差异过大,导致不同应用程序的使用程度指数无法较为准确的表达用户对不同应用程序的使用偏好。
在一种可能的实施方式中,智能终端还可以按照由大到小的顺序,从各个累计频次中选择预设数量的累计频次,并计算被选择的各个累计频次的第一方差;以及,按照由大到小的顺序,从各个累计时间中选择预设数量的累计时间,并计算被选择的各个累计时间的第二方差;然后根据第一方差和第二方差,确定该第一顺序位对应的第一权重系数以及该第二顺序位对应的第二权重系数,该第一权重系数与该第一方差正相关,该第二权重系数与该第二方差正相关。相应的,对于一个应用程序,该智能终端可以在各个累计频次在第一序列中按照由小到大的顺序依次排列,并且各个累计时间在第二序列中按照由小到大的顺序依次排列的情况下,根据第一权重系数和第二权重系数,对该应用程序对应的第一顺序位和第二顺序位进行加权求和,得到该应用程序的使用程度指数。如此,使得任意两个应用程序的使用程度指数之间的差异,能够更为准确的表达用户对该任意两个应用程序的偏好程度之间的差异。
在一种可能的实施方式中,所述属性信息包括:图标所在的桌面的编号以及所述图标在所述桌面上的位置。
在一种可能的实施方式中,所述属性信息还包括:所述图标的透明度、亮度、色彩饱和度和边框效果中的一项或多项。
在一种可能的实施方式中,所述属性信息还包括:所述图标所对应的应用程序的名称的字体、字号及渲染效果中的一项或多项。
在一种可能的实施方式中,智能终端还可以在各个应用程序中存在当前应用程序开始使用显示屏时,获取第一屏幕使用事件,并将当前应用程序在预设时间内使用显示屏的累计频次加1;其中,第一屏幕使用事件包括当前应用程序的标识、用于指示第一屏幕使用事件的事件类型为开始使用显示屏的第一参数,以及当前应用程序开始使用显示屏的第一发生时刻。该智能终端还可以在当前应用程序结束对显示屏的使用时,获取第二屏幕使用事件,并确定当前应用程序本次使用显示屏的单次使用时间;其中,第二屏幕使用事件包括当前应用程序的标识、用于指示第二屏幕使用事件的事件类型为结束使用显示屏的第二参数,以及当前应用程序结束使用显示屏的第二发生时刻;单次使用时间为第二发生时刻与第一发生时刻之间的时间差。如此,智能终端可以得知各个应用程序在预设时间内分别使用显示屏的累计频次,以及得知各个应用程序每次使用显示屏时分别对应的使用时间。
在一种可能的实施方式中,该智能终端可以确定各个应用程序在预设时间内分别使用显示屏的累计频次;以及,根据各个应用程序在预设时间内每次使用显示屏的单次使用时间,计算各个应用程序在预设时间内分别使用显示屏的累计时间。
第二方面,提供了一种智能终端,该智能终端至少包括处理器和显示屏,该智能终端部署了若干应用程序,该处理器用于执行:获取各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间;根据各个应用程序在预设时间内分别使用显示屏 的累计频次和累计时间,确定各个应用程序的使用程度指数;根据各个应用程序的使用程度指数,更新各个应用程序分别对应的图标的属性信息,该属性信息用于限定其对应的图标的显示效果。
在一种可能的实施方式中,该处理器,具体用于根据各个累计频次的大小,对各个累计频次进行排序以得到第一序列;以及,根据各个累计时间的大小,对各个累计时间进行排序以得到第二序列;针对各个应用程序,根据该应用程序在预设时间内使用显示屏的累计频次在第一序列中的第一顺序位,以及该应用程序在预设时间内使用显示屏的累计时间在第二序列中的第二顺序位,确定该应用程序的使用程度指数。
在一种可能的实施方式中,该处理器,还用于按照由大到小的顺序,从各个累计频次中选择预设数量的累计频次,并计算被选择的各个累计频次的第一方差;以及,按照由大到小的顺序,从各个累计时间中选择预设数量的累计时间,并计算被选择的各个累计时间的第二方差;根据第一方差和第二方差,确定该第一顺序位对应的第一权重系数以及该第二顺序位对应的第二权重系数,第一权重系数与第一方差正相关,第二权重系数与第二方差正相关。以及,该处理器,具体用于在各个累计频次在第一序列中按照由小到大的顺序依次排列,并且各个累计时间在第二序列中按照由小到大的顺序依次排列的情况下,针对各个应用程序,根据第一权重系数和第二权重系数,对该应用程序对应的第一顺序位和第二顺序位进行加权求和,得到该应用程序的使用程度指数。
在一种可能的实施方式中,该属性信息包括但不限于图标所在的桌面的编号以及该图标在该桌面上的位置。
在一种可能的实施方式中,该属性信息还包括:该图标的透明度、亮度、色彩饱和度和边框效果中的一项或多项。
在一种可能的实施方式中,该属性信息还包括:该图标所对应的应用程序的名称的字体、字号及渲染效果中的一项或多项。
在一种可能的实施方式中,该处理器还用于,当各个应用程序中存在当前应用程序开始使用显示屏时,获取第一屏幕使用事件,并将当前应用程序在预设时间内使用显示屏的累计频次加1;其中,第一屏幕使用事件包括当前应用程序的标识、用于指示第一屏幕使用事件的事件类型为开始使用显示屏的第一参数,以及当前应用程序开始使用显示屏的第一发生时刻。在当前应用程序结束对显示屏的使用时,获取第二屏幕使用事件,并确定当前应用程序本次使用显示屏的单次使用时间;其中,第二屏幕使用事件包括当前应用程序的标识、用于指示第二屏幕使用事件的事件类型为结束使用显示屏的第二参数,以及当前应用程序结束使用显示屏的第二发生时刻;单次使用时间为第二发生时刻与第一发生时刻之间的时间差。
在一种可能的实施方式中,该处理器,具体用于确定各个应用程序在预设时间内分别使用显示屏的累计频次;以及,根据各个应用程序在预设时间内每次使用显示屏的单次使用时间,计算各个应用程序在预设时间内分别使用显示屏的累计时间。
第三方面,提供了一种计算机可读存储介质,用于存储指令,当该指令被智能终端的处理器执行时,使得该智能终端实现第一方面中任一项提供的方法。
第四方面,提供了一种智能终端,该智能终端包括处理器、存储器和显示屏,该 存储器中存储有可执行代码,该处理器执行该可执行代码时,实现第一方面中任一项提供的方法。
第五方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在电子设备(或智能终端)上运行时,能使得电子设备(或智能终端)实现第一方面中任一项提供的方法。
附图说明
图1为本申请实施例中提供的一种手机的结构示意图。
图2为本申请实施例中提供的一种手机所采用软件系统的结构示意图。
图3为本申请实施例中提供的智能终端在显示桌面时,该智能终端的各个软件模块和硬件模块之间的交互关系示意图。
图4为本申请实施例中提供的一种图标管理方法的流程示意图。
图5为本申请实施例中活动管理器与显示策略服务相协作的过程示意图。
图6A为本申请实施例中示例性的手机所配置的桌面的示意图之一。
图6B为本申请实施例中示例性的手机所配置的桌面的示意图之二。
图7为本申请实施例中提供的图标管理装置的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
本申请实施例中至少提供了一种图标管理方法及装置,该方法及装置可以应用于各种具有显示屏的智能终端。比如,可以应用于手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、个人数字助理(personal digital assistant,PDA)、可穿戴设备、虚拟现实设备等具有显示屏的智能终端,本申请实施例中对此不做任何限制。
以智能终端是手机为例,如图1所示,手机100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、按键190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中,传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L以及骨传导传感器180M等。
需要说明的是,本申请实施例中示例性描述的手机100的结构,并不构成对手机或者其它智能终端的具体结构的限定。实际上,对于手机或其它智能终端,可以包括比如图1所示手机100更多或更少的部件,还可以组合如图1所示手机100中的某些部件,还可以将如图1所示手机100中的某些部件进行进一步的拆分,如图1所示手机100中的各个部件还可以具有其它连接关系。
处理器110可以包括一个或多个处理单元,比如包括应用处理器(application processor,AP)、调制解调器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器和/或神经网络处理器(neural-network processing unit,NPU)。其中,不同的处理单元可以是相互独立的器件,也可以集成在一个或多个器件中。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,该处理器110则可从该存储器中直接调用。避免了重复存取数据,减少了处理器110的等待时间,提高了系统的效率。
处理器110可以包括一个或多个接口,比如包括集成电路(inter-integrated circuit,I2C)接口、集成电路内置音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、通用输入输出(general-purpose input/output,GPIO)接口、用户识别模块(subscriber identity module,SIM)卡接口和/或通用串行总线(universal serial bus,USB)接口。
其中,I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包括多组I2C总线,并通过不同的I2C总线分别耦合触摸传感器180K、充电器、闪光灯、摄像头193等部件,使得手机100能够实现相应的功能。比如,处理器110可以通过I2C接口耦合触摸传感器180K,使得处理器110与触摸传感器180K通过I2C总线接口通信,从而实现手机100的触摸功能。
其中,I2S接口可以用于音频通信。在一些实施例中,处理器110可以包括多组I2S总线,并通过不同的I2S总线分别耦合音频模块170和无线通信模块160等部件。比如,处理器110可以通过I2S接口向无线通信模块160发送音频信号,从而实现手机100通过无线耳机接听电话的功能。
其中,PCM接口可以用于音频通信,并具体用于对模拟信号抽样、量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM接口耦合,使得音频模块170可以通过PCM接口向无线通信模块160发送音频信号,从而实现手机100通过无线耳机接听电话的功能。
其中,UART接口是一种通用串行数据总线,用于异步通信。具体地,UART接口可以为双向通信总线,将待传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。比如,处理器110通过UART接口与无线通信模块160所包括的蓝牙模块连接,使得音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现手机100通过蓝牙耳机播放音乐的功能。
其中,MIPI接口可以用于将摄像头193和显示屏194等部件连接到处理器110。 具体地,MIPI接口可以包括摄像头串行接口(camera serial interface,CSI)和显示屏串行接口(display serial interface,DSI)。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现手机100的拍摄功能;处理器110和显示屏194通过DSI接口通信,实现手机100的显示功能。
其中,GPIO接口可以通过软件配置,被配置为用于传输控制信号或数据信号。在一些实施例中,GPIO接口可以用于将摄像头193、显示屏194、无线通信模块160、音频模块170和传感器模块180等部件连接到处理器110。具体地,GPIO接口还可以被配置为I2C接口、I2S接口、UART接口或者MIPI接口。
其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口或者USB Type C接口。USB接口130可以用于连接充电器为手机100充电,还可以用于手机100与外围设备之间传输数据,比如用于连接增强现实(augmented reality,AR)设备以向AR设备传输相应的数据。
需要说明的是,本申请实施例中示例性描述的各部件间的接口连接关系,并不构成对手机或其他智能终端的结构限定。在一些实施例中,手机100也可以采用上述示例性描述中不同的接口连接方式或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电器的充电输入。其中,充电管理模块140可以在根据其接收的充电输入为电池142充电的同时,通过电源管理模块141为手机100中的其它部件供电。
电源管理模块141用于连接电池142、充电管理模块140和处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、屏摄像头193、显示屏194以及无线通信模块160等部件供电。在一些实施例中,电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(比如漏电和阻抗)等参数。在一些实施例中,电源管理模块141可以设置于处理器110中。在一些实施例中,电源管理模块141和充电管理模块140可以设置于同一个器件中。
手机100的无线通信功能,可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调器以及基带处理器等部件相协作以实现。
天线1和天线2各自用于发射和接收电磁波信号。天线1和天线2可以各自于覆盖单个或多个通信频带,而且还可以对不同的天线进行复用以提高天线的利用率。在一些实施例中,可以将天线1复用为无线局域网的分集天线。
移动通信模块150用于支持应用在手机100上的2G、3G、4G和5G等无线通信技术的解决方案。移动通信模块150可以包括滤波器、开关、功率放大器和低噪声放大器(low noise amplifier,LNA)等功能模块。移动通信模块150可以通过天线1接收电磁波,对接收的电磁波进行滤波及放大处理,并将处理后的信号发送至调制解调器进行解调。移动通信模块150还可以对经调制解调器调制后的信号放大处理,并将放大处理后的信号通过天线1转换为电磁波辐射出去。在一些实施例中,移动通信模块150的部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的 部分功能模块可以与处理器110的部分功能模块集成设置在同一个器件中。
调制解调器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器进行处理。低频基带信号经基带处理器处理后,被发送给应用处理器。应用处理器通过音频设备(包括不限于扬声器170A和受话器170B)输出声音信号,或者通过显示屏194显示图像或视频。在一些实施例中,调制解调器可以是独立的器件。在一些实施例中,调制解调器可以独立于处理器110,与移动通信模块150或其他部件设置在同一个器件中。
无线通信模块160用于支持应用在手机100上的无线局域网(wireless local area networks,WLAN)、蓝牙(bluetooth,BT)、全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)和红外技术(infrared,IR)等无线通信技术的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160可以通过天线2接收电磁波,对接收的电磁波信号进行调频及滤波处理,并将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频和放大处理,并通过天线2转换为电磁波辐射出去。
手机100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机100可以通过无线通信技术与其他设备通信。可以理解,无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址接入(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、时分码分多址(time-division code division multiple access,TD-SCDMA)、长期演进(long term evolution,LTE)、BT、GNSS、WLAN、NFC、FM及IR技术等。其中,GNSS包括但不限于全球卫星定位系统(global positioning system,GPS)、全球导航卫星系统(global navigation satellite system,GLONASS)、北斗卫星导航系统(beidou navigation satellite system,BDS)、准天顶卫星系统(quasi-zenith satellite system,QZSS)和星基增强系统(satellite based augmentation systems,SBAS)。
手机100通过GPU、显示屏194以及应用处理器等部件相协作以实现显示功能。
GPU为图像处理的微处理器,可以连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可以包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像和视频。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、Mini-led、Micro-led或者量子点发光二极管(quantum dot light emitting diodes,QLED)。在一些实施例中,手机100可以包括一个或多个显示屏194。
手机100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等部件相协作以实现拍摄功能。
摄像头193用于采集图像或视频。比如,在通过摄像头193拍摄图像或视频时,光线通过摄像头的镜头被传递到摄像头的感光元件上,光信号在感光元件上被转换为电信号,并将该电信号传递给ISP,ISP可以对该电信号进行处理以得到人眼可见的图像。摄像头193的感光元件可以包括电荷耦合器件(charge coupled device,CCD)或者互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号之后,将电信号传递给ISP转换成数字图像信号。ISP可以将数字图像信号输出到DSP加工处理。在一些实施例中,手机100可以包括一个或多个摄像头193。
ISP用于处理摄像头193反馈的数据。比如,用于对来自摄像头193的电信号进行处理以得到人眼可见的图像,或者用于对来自摄像头193的电信号进行处理以得到数字图像信号,并将数字图像信号传递给DSP。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光及色温等参数进行优化。在一些实施例中,ISP可以集成设置在摄像头193中。
DSP用于将来自ISP的数字图像信号转换成标准的RGB或者YUV格式的图像信号。在一些实施例中,DSP还可以用于处理其他形式的数字信号;比如手机100在进行频点选择时,DSP可以对频点能量进行傅里叶变换。
视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器,使得手机100可以播放或录制多种编码格式的视频,比如动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3以及MPEG4等编码格式。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,对输入信息快速处理,同时还可以不断的自学习。NPU可以用于支持手机100的智能认知等应用,比如用于支持图像识别、人脸识别、语音识别以及文本语义分析。
控制器可以作为手机100的神经中枢和指挥中心,用于根据指令操作码和时序信号产生操作控制信号,完成获取指令和执行指令的控制。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统以及手机100所具有的各项功能(比如声音播放功能,图像播放功能等)各自对应的应用程序。存储数据区可存储手机100在使用过程中所创建的数据(比如音频数据)。此外,内部存储器121可以包括高速随机存取存储器和非易失性存储器,比如包括磁盘存储器、闪存器以及通用闪存存储器(universal flash storage,UFS)等。其中,处理器110通过运行存储在内部存储器121的指令,和/或运行存储在设置于处理器的存储器中的指令,实现手机100的各种功能及数据处理过程。
相应的,本申请实施例中还提供了一种计算机可读存储介质,用于存储指令,当所述指令被所述智能终端的处理器执行时,使得所述智能终端实现本申请任意一个实施例中提供的图标管理方法。其中,该计算机可读存储介质可以是智能终端的内部存储器,还可以是通过相应的外部存储器接口连接到智能终端的外部存储器。
相应的,本申请实施例中还提供了一种智能终端,至少包括存储器、处理器和显示屏,所述存储器中存储有可执行代码和/或指令,当所述处理器执行所述可执行代码时,所述智能终端实现本申请任意一个实施例中提供的图标管理方法。
手机100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D以及应用处理器等部件相协作以实现音频功能。比如录音或者播放音乐等。
音频模块170用于将来自应用处理器的数字音频信号转换成模拟音频信号,也用于将来自麦克风的模拟音频信号转换成数字音频信号。音频模块170还可以用于对音频信号进行编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或者,音频模块170的部分功能模块可以设置于处理器110中。
扬声器170A也可称为“喇叭”,用于将来自音频模块170的音频信号转换为声音信号。手机100可以通过扬声器170A实现播放音乐或免提通话。
受话器170B也可称为“听筒”,用于将来自音频模块170的音频信号转换成声音信号。用户可以通过将受话器170B靠近人耳接听电话或语音信息。
麦克风170C也可称为“话筒”或“传声器”,用于将声音信号转换成电信号。当用户通过手机100拨打电话或发送语音信息时,用户可以通过将麦克风170C靠近人嘴并发出声音,麦克风170即可接收相应的声音信号并转换成电信号。在一些实施例中,手机100中可以设置一个或多个麦克风170C,以便实现在采集声音信号的同时,对声音信号进行降噪以及识别声音信号的来源。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,还可以是美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感知压力信号,将压力信号转换成电信号。压力传感器180A的种类很多,比如压力传感器180A可以是电阻式压力传感器、电感式压力传感器或者电容式压力传感器。其中,电容式压力传感器可以是包括至少两个具有导电材料的平行板,当存在作用于压力传感器180A的压力时,平行板之间的电容发生改变,处理器110可以根据电容的变化确定压力的强度。在一些实施例中,压力传感器180A可以设置于显示屏194上;当有触摸操作作用于显示屏194时,处理器110可以根据压力传感器180A检测该触摸操作的触摸强度。处理器110还可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同的触摸位置但具有不同触摸强度的触摸操作,可以对应不同的操作指令;比如,当有触摸强度小于预设压力阈值的触摸操作作用于短信应用对应的图标时,处理器执行对应于查看短信的操作指令。当有触摸操作强度大于或等于预设压力阈值的触摸操作作用于短信应用对应的图标时,执行对应于新建短信的操作指令。
陀螺仪传感器180B可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定手机100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,陀螺仪传感器180B可以用于检测手机100抖动的角度,根据该角度计算出摄像头193的镜头需要补偿的距离,从而使得镜头通 过反向运动抵消手机100的抖动,实现拍摄防抖。在一些实施例中,陀螺仪传感器180B还可以用于支持手机实现其导航功能,以及用于支持用户通过手机100进行体感游戏。
气压传感器180C用于测量气压。在一些实施例中,处理器110可以根据气压传感器180C测量的气压值计算海拔高度,以便支持手机100实现辅助定位和导航功能。
磁传感器180D包括霍尔传感器。手机100可以通过磁传感器180D检测套接在手机100上的皮套的开合状态。在一些实施例中,当手机100的类型是翻盖机时,手机100可以根据磁传感器180D检测其翻盖的开合状态。相应的,手机100可以根据其检测的皮套的开合状态或翻盖的开合状态,实现自动解锁或锁定显示屏194的功能。
加速度传感器180E可以检测手机100在各个方向上的加速度。还可以用于支持手机100的计步功能和图形用户界面在显示屏194上的横竖屏切换。
距离传感器180F用于测量距离。手机100可以通过收发红外光或红外激光以测量目标物与手机100之间的距离。在一些实施例中,手机100可以利用距离传感器180F测量被拍摄对象与摄像头193之间距离以实现快速对焦。
接近光传感器180G包括但不限于发光二极管(LED)和光检测器。发光二极管可以是红外发光二极管。光检测器可以是光电二极管。手机100通过发光二极管向外发射红外光。手机100可以通过光电二极管检测由目标物反射的红外光。在光电二极管检测到满足一定条件的红外光时,可以确定手机100附近存在目标物。手机100可以利用接近光传感器180G检测用户手持手机100进行通话时,手机是否靠近人耳,以便在手机靠近人耳之后自动熄灭显示屏以达到省电的目的。接近光传感器180G还可以用于支持手机100实现其皮套模式和口袋模式。
环境光传感器180L用于感知环境光亮度。处理器110可以根据环境光传感器180L感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L还可以用于支持手机100通过摄像头193拍摄图片或视频时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G相协作,支持手机100实现检测手机100是否位于口袋内,避免误触显示屏。
指纹传感器180H用于采集用户手指的指纹。以便手机100根据其采集的指纹实现指纹解锁、访问应用锁、指纹拍照和指纹接听来电。
温度传感器180J用于检测温度。在一些实施例中,手机100利用温度传感器180J检测的环境温度,执行温度处理策略。比如,当温度传感器180J上报的温度超过一个阈值时,手机100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在一些实施例中,当温度传感器180J上报的温度低于另一阈值时,手机100对电池142加热,避免低温导致手机100异常关机。在一些实施例中,当温度传感器180J上报的温度低于又一阈值时,手机100对电池142的输出电压执行升压,避免低温导致的异常关机。
触摸传感器180K也可称为“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其自身或附近区域的触摸操作。触摸传感器180K可以将检测到的触摸操作传递给应用处理器,以便应用处理器确定该触摸操作对应的触摸事件类型。在一些实施例中,手机100可以通过显示屏194提供与触摸操作相关的视觉输出。在一些实 施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194相互独立。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以与人体的特定部位相接触以采集人体脉搏信号和血压信号。在一些实施例中,骨传导传感器180M可以设置于耳机中,形成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。在一些实施例中,应用处理器可以基于骨传导传感器180M获取的血压信号解析心率信息,实现心率检测功能。
按键190包括但不限于开机键和音量键。按键190可以是机械按键或者触摸式按键。用户可以通过触发按键190,生成与手机100的用户设置以及功能控制相关的输入信号/指令。
马达191可以用于来电振动提示,也可以用于触摸振动反馈。具体地,用户作用于不同的应用程序各自对应的图标(比如相机对应的图标、日历对应的图标和信息对应的图标)的触摸操作,可以对应不同的振动反馈效果;用户作用于不同类型的应用程序(比如即时通信类应用程序、音频类应用程序以及视频类应用程序)的触摸操作,可以对应不同的振动反馈效果;不同的应用场景(比如接收应用程序的通知信息及游戏)也可以对应不同的振动反馈效果。可以理解,触摸振动反馈可以由用户结合其实际业务需求进行设置。
指示器192可以是指示灯,用于指示手机100的充电状态,也可以用于指示手机100是否存在未接来电、是否存在未被查看的信息或通知。
显示屏194用于显示位于应用程序层的各个应用程序的图形用户界面。可以理解,手机100可以包括一个或多个显示屏194。或者,手机100可以只包含一个显示屏194但该显示屏能够在用户的调控下被划分为多个显示区域;比如,手机100可以仅包括一个可折叠的柔性显示屏,但该显示屏可以在用户的调控下被折叠并且沿着相应的折叠线划分为两个显示屏(即划分为两个显示区域)。其中,同一手机100的多个显示屏194可以相互独立的显示不同的图形用户界面,也可以各自显示同一个图形用户界面的部分区域,相互协作以共同完成显示一个完整的图形用户界面。
SIM卡接口195用于连接SIM卡,使得手机100可以通过SIM卡与无线网络或相应的设备进行信息交互,从而实现通话和数据通信等功能。其中,SIM卡可以通过插入SIM卡接口195或者从SIM卡接口195拔出,使得SIM卡与手机100的接触和分离;或者,SIM卡可以是无法与SIM卡进行分离的嵌入式SIM卡。可以理解,手机100可以包括一个或多个SIM卡接口,各个SIM卡接口195可以各自连接不同的SIM卡;或者,手机100的一个SIM卡接口195可以同时连接多个SIM卡。
手机100中部署的软件系统可以采用分层架构、事件驱动架构、微核架构或云架构。本申请实施例中,以智能终端部署的软件系统采用分层架构的安卓(Android)系统为例,示例性说明手机100采用的软件结构。
图2为手机100所采用的软件系统的结构示意图。如图2所示,可以将Android系统分为四层,从上至下依次为应用程序层、应用程序框架层、系统库和安卓运行时 (Android runtime)、内核层,每一层都有清晰的角色和分工,层与层之间通过软件接口进行通信。
应用程序层包括部署在手机100上的一系列应用程序。示例性的,应用程序层中可以包括但不限于桌面启动器(Launcher)、设置模块、日历模块、相机模块、照片模块、通话模块和短信模块。
应用程序框架层可以为应用程序层中的各个应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的功能模块/服务。示例性的,应用程序框架层中可以包括但不限于窗口管理器(Window manager)、活动管理器(Activity manager)、包管理器(Package manager)、资源管理器(Resource manager)和电源管理器(Power manager)。
活动管理器用于管理各个应用程序的生命周期,以及实现各个应用程序的导航回退功能。具体地,活动管理器可以负责活动(Activity)进程的创建及其创建的Activity进程的整个生命周期的维护。
窗口管理器用于管理窗口程序。可以理解,位于应用程序层的各个应用程序的图形用户界面通常由一个或多个Activity组成,而Activity又由一个或多个视图View组成,窗口管理器可以用于将需要显示的图形用户界面所包括的View添加到显示屏194上,或者用于从显示屏194上显示的图形用户界面中移除View。在一些实施例中,窗口管理器还可以获取显示屏194的大小,确定显示屏194所显示图形用户界面中是否有状态栏,以及用于支持实现锁定显示屏194和截取显示屏194所显示的图形用户界面。
包管理器可以管理各个应用程序各自对应的数据包,比如用于对各个数据包进行解压、验证、安装以及升级处理。更具体的说,包管理器至少可以维护各个应用程序各自对应的图标以及各自对应的数据包的名称。
资源管理器可以为位于应用程序层的各个应用程序,提供各种非代码资源的访问,比如本地字符串、图形和布局文件。
电源管理器是Android系统电源管理的核心服务,主要用于执行Android系统中与电源管理相关的计算任务。向下决策控制Android系统的底层系统点亮或熄灭显示屏、启动或停止距离传感器以及接近光传感器等硬件设备。向上提供相应的操作接口,使得应用程序层的各应用程序能够对其进行调用,从而实现特定的业务目的;比如在手机100通过应用程序“音乐”播放音频时持续保持手机100的显示屏194处理点亮状态,又如各应用程序在接收到通知时点亮手机100的显示屏194。
本申请实施例中,应用程序框架层中还可以包括显示策略服务。其中,显示策略服务可与Activity manager相协作,得到各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间;并根据各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间,独立的或者与其它功能模块相协作,完成对各个图标的显示效果进行调整。
在一种可能的实施方式中,显示策略服务可以作为独立的功能模块部署在应用程序框架层。也就是说,可以在应用程序框架层中新增显示策略服务模块,使得手机100能够实现本申请任意一个实施例中提供的图标管理方法。
在一种可能的实施方式中,显示策略服务可以嵌入Activity manager和/或Window manager中。也就是说,可以对Activity manager和/或Window manager的能力进行增强,使得手机100能够实现本申请任意一个实施例中提供的图标管理方法。
换而言之,本申请实施例中提供的图标管理装置,可以全部或者部分包含于显示策略服务,通过显示策略服务和Android系统中的其它功能模块相协作,实现本申请任意一个实施例中提供的图标管理方法。
位于应用程序框架层以下的系统库和安卓运行时、内核层等可称为底层系统,底层系统中包括用于提供显示服务的底层显示系统,底层显示系统可以包括但不限于位于系统库的表面管理器(surface manager)以及位于内核层的显示驱动。
可以理解,安卓运行时负责安卓系统的调度和管理,包括核心库和虚拟机。应用程序层和应用程序框架层的计算机程序运行在虚拟机中。更具体地说,虚拟机可以将应用程序层和应用程序框架层的java文件执行为二进制文件;虚拟机还可以用于实现对象生命周期的管理、堆栈管理、线程管理、安全管理以及垃圾回收等功能。
可以理解,系统库还可以包括除表面管理器以外的多个功能模块。比如还可以包括状态监测服务、媒体库(Media Libraries)、三维图形引擎(比如,OpenGL for Embedded Systems)和二维图形引擎。
其中,表面管理器可以为各个应用程序提供了二维图形和三维图形的融合。
其中,状态监测服务可以接收位于内核层的各个驱动程序上报的数据。
其中,媒体库可以支持多种常用格式的图像/音频/视频的回放和采集。
其中,三维图形引擎用于实现三维图像的绘制、渲染及合成。
其中,二维图形引擎用于实现二维图像的绘制及渲染。
内核层是硬件和软件之间的层,内核层中包括若干硬件的驱动程序。示例性的,内核层可以包括显示驱动、摄像头驱动、音频驱动以及触控驱动;各个驱动程序可以各自搜集相应的硬件所采集的信息,并向系统库中的状态监测服务或其它功能模块上报相应的监测数据。
下面结合图3,示例性描述手机100配置的桌面被显示于显示屏的过程中,手机100内部各软件模块及硬件模块的交互关系。
首先,手机100启动或在用户的操作下被唤醒时,Power manager、Surface manager和显示驱动相协作以点亮显示屏。同时,Launcher可以从package manager获取各个应用程序分别对应的图标以及各个应用程序的标识,并对Activity manager进行调用。
在一个较为具体的示例中,用户可通过对按键进行按压操作以启动手机100。
在一个较为具体的示例中,用户可通过其手指或其它部位,触摸手机100的一个显示屏以唤醒手机100。其中,用户触摸手机100的一个显示屏,可以使触摸传感器感知到用户对该显示屏的触摸操作,相应的硬件中断被触摸传感器发送到内核层。内核层的触控驱动或者其它功能模块可以根据该硬件中断得到输入事件,该输入事件指示了待点亮的显示屏,即指示了被触摸的显示屏;然后向应用程序框架层上报该输入事件,比如通过系统库中的状态监测服务向应用程序框架层中的显示策略服务上报该输入事件。之后,应用程序框架层的Power manager可以通过显示策略服务或者其它 功能模块得知待点亮的显示屏,进而与Surface manager和显示驱动相协作,点亮其得知的待点亮的显示屏。
接着,Activity manager在Launcher的调用下,独立的或者与Window manager相协作,实现针对Launcher获取的各个图标,根据Launcher记录的各个图标的属性信息,调控被点亮的显示屏显示桌面。
可以理解,各个图标的属性信息用于限定各个图标在桌面上显示于显示屏时的显示效果。
可以理解,手机100可以配置多个桌面,在被点亮的显示屏所显示的一个桌面上,可以包括全部或者部分位于应用程序层的各个应用程序分别对应的图标和名称。
可以理解,在手机100配置多个桌面的情况下,多个桌面可以具有不同的桌面编号。也就是说,一个图标的属性信息可以包括该图标所在桌面的桌面编号。
可以理解,手机100可以配置一定数量的常用图标,这些常用图标可能以窗口的形式,显示于手机100配置的每个桌面上的相同区域,例如dock区。在各个桌面上除了常用图标所在区域以外的其它区域,通常采用行列排布的方式排列多个图标,以从上到下的顺序对该桌面上的各行图标进行编号,并且以从左到右的顺序对该桌面上的各列图标进行编号;那么一个图标所对应的行编号和列编号,则能够用于唯一标识该图标在该桌面上的位置。也就是说,一个图标的属性信息还可以包括该图标在相应的桌面上对应的行编号和列编号。
可以理解,手机100可以对Launcher中记录的各个图标的属性信息进行更新,从而调整各个图标的显示效果,实现对各个应用程序的图标进行管理。比如更新某个图标所对应的属性信息中的桌面编号、行编号和/或列编号,从而改变该图标所在的桌面和/或该图标在相应的桌面上的位置。
单个桌面上能够显示的图标的数量相对较少,位于应用程序层的各个应用程序的数量相对较多,这就导致用户不易从多个桌面上的大量的图标中快速查找并触发其需要使用的应用程序所对应的图标。一种解决方案为,用户根据其对智能终端的使用习惯,手动调整各个图标的显示效果。该方案因应用程序的数量较大和用户在不同时间段内对各个应用程序的使用偏好存在差异,导致手动调整的过程中存在耗时较多、效率较低等局限性。
为了进一步提高用户体验,本申请实施例中至少提供了一种应用于智能终端的图标管理方法及装置。可以根据各个应用程序在预设时间内使用显示屏的累计频次和累计时间,得到各个应用程序分别对应的使用程度指数。各个应用程序各自对应的使用程度指数,能够较为准确的表达用户在预设时间内对各个应用程序的偏好程度。因此,可以根据各个应用程序的使用程度指数,对各个应用程序各自对应的图标的属性信息进行更新,从而实现自动决策并更加高效、快捷的调整各个图标的显示效果。用户因此无需对各个图标的显示效果进行过多的手动调整,提高了图标调整的操作效率。
为了增大不同的图标各自对应的显示效果之间的差异,以便用户更加方便快捷的查找到其需要使用的应用程序所对应的图标,在一种可能的实施方式中,一个图标的属性信息还可以包括该图标在相应的桌面上被显示于显示屏时,该图标的透明度、亮 度、色彩饱和度、尺寸以及边框效果中的一项或多项。
为了增大不同的图标各自对应的显示效果之间的差异,以便用户更加方便快捷的查找到其需要使用的应用程序所对应的图标,在一种可能的实施方式中,一个图标的属性信息还可以包括该图标对应的应用程序的名称在相应的桌面上被显示于显示屏时,该名称对应的字体、字号及渲染效果(比如是否加粗字体、是否显示斜体、是否带下划线或是否带阴影)中的一项或多项。
可以理解,智能终端的显示屏显示其中一个桌面时,用户可通过其手指触摸显示屏并朝向某个方向滑动手指,或者通过其它方式操作智能设备,使得智能设备配置的另一个桌面被显示于该显示屏上。
可以理解,为了方便用户结合其对智能设备所具有的各项功能的偏好,调整(比如开启或关闭)智能设备所具有的各项功能,应用层中提供了用于对手机的各项功能进行管理的功能模块。相应的,在智能设备的一个显示屏被点亮并显示桌面之后,用户可以触发用于对手机的各项功能进行管理的功能模块所对应的图标(比如,对应显示的名称为“设置”的应用程序所对应的图标),然后在该功能模块的图形用户界面上进行进一步的操作,从而开启或关闭智能设备提供的图标管理功能。
接下来,针对智能终端实现图标管理方法的具体过程进行示例性描述。
图4为本申请实施例中提供的一种图标管理方法的流程示意图。如图4所示,用户在t0时刻选择开启智能终端所提供的图标管理功能之后,智能终端可通过执行如下步骤41至步骤45以实现其图标管理功能。可以理解,在用户选择开启智能终端所具有的图标管理功能之后,智能终端可以以预设时间为周期,执行如图4所示的图标管理方法。
在步骤41,获取各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间。
可以理解,预设时间可以为经验值或用户设置的参考值,比如为1天,7天或其他。
这里,至少可以通过Activity manager与显示策略服务相协作,得到位于应用程序层的各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间。
下面结合图5示例性描述Activity manager与显示策略服务相协作的过程。
首先,在步骤51,当用户在t0时刻开启智能终端提供的图标管理功能之后,如果用户在智能终端的显示屏所显示的桌面上触摸一个应用程序(比如APP1)对应的图标,则APP1可对Activity manager进行调用。
需要说明的是,用户还可以通过对应用程序的通知进行触发、对“Recent”导航进行触发或者相应的手势操作,发起的对应用程序的使用,从而使得APP1对Activity manager进行调用。
接着,在步骤52,Activity manager可以在APP1的调用下,独立的或者与Window manager相协作,将APP1的图形用户界面加载到显示屏。即APP1开始使用显示屏。
接着,在步骤53,Activity manager可以给显示策略服务提供相应的屏幕使用事件A。
其中,该屏幕使用事件A包括APP1的标识、APP1调用Activity manager的发生时刻t1,以及包括用于指示该屏幕使用事件A的事件类型为“开始使用显示屏”的第一参数。
相应的,在步骤54,显示策略服务可以在接收到来自Activity manager的屏幕使用事件A的情况下,将其记录的APP1在t0时刻之后使用显示屏的累计频次加1。
之后,在步骤55,APP1结束对显示屏的使用时,Activity manager则可以给显示策略服务提供屏幕使用事件B。
其中,屏幕使用事件B包括APP1的标识、APP1结束使用显示屏的发生时刻t2,以及包括用于指示该屏幕使用事件B的事件类型为“结束使用显示屏”的第二参数。
可以理解,智能终端显示APP1的图形用户界面时,如果APP1在用户的操作下被关闭、APP1因其它应用程序需要使用显示屏而转为后台运行或者显示屏未被点亮,均可使APP1结束对显示屏的使用。
示例性的,智能终端显示APP1的图形用户界面,并且接收到另一个应用程序(比如APP2或APP3)的通知时,该通知可能以窗口的形式显示在显示屏所显示的APP1的图形用户界面上。智能终端可以检测用户对该通知的操作,如果智能终端在t2时刻检测到该操作为查看该通知,Activity manager结束显示屏所显示的APP1的图形用户界面所对应的Activity进程,使得APP1在智能终端上转为后台运行,并且给显示策略服务提供屏幕使用事件B。相应的,智能终端可启动APP2或APP3,使得APP2或APP3对Activity manager进行调用。
相应的,在步骤56,显示策略服务可以在接收到屏幕使用事件B的情况下,计算屏幕使用事件B携带的发生时刻t2与屏幕使用事件A携带的发生时刻t1之间的时间差,得到APP1本次使用显示屏的单次使用时间。
相应的,在一种可能的实施方式中,显示策略服务可以在与t0之间的时间差为预设时间的时刻t3,查询其记录的各个应用程序在预设时间内(即t0~t3时间段内)分别使用智能终端的显示屏的累计频次;并根据其记录的各个应用程序在预设时间内每次使用显示屏的单次使用时间,计算各个应用程序在预设时间内分别使用显示屏的累计时间。如此,即可得到部署于智能终端上的各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间。
需要说明的是,APP1持续使用显示屏的过程中(即t1~t2时间段内),Activity manager可能被APP1反复调用,Activity manager可以在每次被APP1调用时均给显示策略服务提供对应的屏幕使用事件,以便显示策略服务完整监听APP1对Activity manager的实际调用情况。或者,Activity manager可以在t1时刻被APP1调用且给显示策略服务提供对应的屏幕使用事件A之后,后续每次被APP1调用时均不再给显示策略服务提供相应的屏幕使用事件,以便减少显示策略服务和Activity manager之间的交互,节约资源。
回到图4,在步骤43,根据各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间,确定各个应用程序的使用程度指数。可以理解,各个应用程序的使用程度指数,可以指示用户在预设时间内对各个应用程序的偏好程度。
在一种可能的实施方式中,对于每个应用程序,智能终端可以对该应用程序在预 设时间内使用显示屏的累计频次和累计时间进行加权求和,得到该应用程序对应的使用程度指数;其中,累计频次和累计时间各自对应的权重系数可以是经验值。
在一种可能实施的方式中,智能终端可以根据各个应用程序在预设时间内分别使用显示屏的累计频次的大小,对各个累计频次进行排序以形成累计频次序列;根据各个应用程序在预设时间内分别使用显示屏的累计时间的大小,对各个累计时间进行排序以形成累计时间序列。然后,智能终端可以根据各个应用程序在预设时间内分别使用显示屏的累计频次在累计频次序列中的顺序位、各个应用程序在预设时间内分别使用显示屏的累计时间在累计时间序列中的顺序位,确定各个应用程序的使用程度指数。如此,可避免在不同应用程序分别使用显示屏的累计频次/累计时间的差异过大的情况下,所确定的不同应用程序的使用程度指数无法较为准确的表达用户对不同应用程序的偏好程度。
在一个较为具体的示例中,可以按照由小到大的顺序对各个累计频次进行排序,以形成由各个累计频次组成的第一序列;并且按照由小到大的顺序对各个累计时间进行排序,以形成由各个累计时间组成的第二序列。
在该示例的基础上,至少可以通过如下公式1计算各个应用程序的使用程度指数。
P i=a*x i+by i        (1)
其中,P i为第i个应用程序的使用程度指数,x i为第i个应用程序在预设时间内使用显示屏的累计频次在第一序列中的第一顺序位,y i为第i个应用程序在预设时间内使用显示屏的累计时间在第二序列中的第二顺序位,a和b分别为确定的第一权重系数和第二权重系数。
在一个更为具体的示例中,智能终端还可以按照由大到小的顺序从各个累计频次中依次选择N(N为经验值,比如为10)个累计频次,并计算被选择的N个累计频次的第一方差;按照由大到小的顺序从各个累计时间中依次选择N个累计时间,并计算被选择的N个累计时间的第二方差。然后,根据第一方差和第二方差确定a和b。
在一个示例中,a与第一方差正相关,b与第二方差正相关。如此,使得任意两个应用程序的使用程度指数之间的差异,能够更为准确的表达用户对该任意两个应用程序的偏好程度之间的差异。
在一个示例中,a与第一方差正相关,b与第二方差正相关,且a与b的和为预设值(比如为1)。如此,通过对a与b的和的取值进行限定,可以实现对各个应用程序的使用程度指数的取值范围进行限定,避免计算过程中因数值过大而浪费资源。
可以理解,智能终端还可以按照由大到小的顺序对各个累计频次进行排序,以形成由各个累计频次组成的第三序列;按照由大到小的顺序对各个累计时间进行排序,以形成由各个累计时间组成的第四序列。并通过与前述根据第一序列和第二序列得到各个应用程序的使用程度指数相似的方法,根据第三序列和第四序列得到各个应用程序的使用程度指数。
接着,在步骤45,根据各个应用程序的使用程度指数,更新各个应用程序分别对应的图标的属性信息。可以理解,各个图标的属性信息,用于限定各个图标的显示效果。
在一种可能的实施方式中,智能终端可以根据各个应用程序的使用程度指数,更 新各个应用程序分别对应的图标所在的桌面的编号,和/或,更新各个应用程序分别对应的图标在相应的桌面上的位置。
在一种可能的实施方式中,智能终端还可以根据各个应用程序的使用程度指数,更新各个应用程序分别对应的图标的透明度、亮度、色彩饱和度以及边框效果中的一项或多项。
在一种可能的实施方式中,智能终端还可以根据各个应用程序的使用程度指数,更新各个应用程序的名称的字体、字号及渲染效果中的一项或多项。
可以理解,根据各个应用程序的使用程度指数,更新各个应用程序分别对应的图标的属性信息的具体规则,可以结合实际业务需求进行配置,这里不再对该具体规则进行赘述。
可以理解,在智能终端完成更新各个应用程序分别对应的图标的属性信息之后,Launcher可以重新调用Activity manager,Activity manager可以在Launcher的调用下,独立的或者与Window manager相协作,实现针对Launcher从package manager获取的各个图标,根据Launcher记录的更新后的各个图标的属性信息,调控被点亮的显示屏显示相应的桌面。
可以理解,用户还可以在智能终端已经自动决策并调整各个图标的显示效果的基础上,进一步结合其自身业务需求,再次调整各个图标的显示效果,从而兼顾图标管理的可操作性和智能性,进一步提高用户体验。
总而言之,各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间,全面覆盖了用户通过对应用程序的图标进行触发、对应用程序的通知进行触发、对“Recent”导航进行触发或者相应的手势操作等各种方式发起的对应用程序的使用。相应的,各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间,作为用户度量用户在预设时间段内对各个应用程序的使用程度指数的数据指标,具有极高的代表性和可靠性的;各个应用程序的使用程度指数则能够更为准确的表达用户在预设时间内对各个应用程序的使用情况。如此,根据各个应用程序的使用程度指数自动决策并调整各个应用程序分别对应的图标的属性信息,一方面,可以更为高效、快捷的实现对各个图标的显示效果进行自动调节,提高图标管理的智能性和人机交互的智能性;另一方面,调整后的各个图标的显示效果,能够更加符合用户对各个图标的使用习惯,从而提高用户体验。
下面进一步结合图6A和图6B示例性描述智能终端实现图标管理的过程。
首先,用户开启智能终端所具有的图标管理功能。
请参考图6A,假设手机100可以配置示例性的桌面1和桌面2,桌面1和桌面2上的图标10、图标11、图标12和图标13为常用图标,这些常用图标可能以窗口的形式,显示于桌面上与手机100的麦克风相邻的一侧。对于桌面1和桌面2上的各个非常用图标,则可能在Launcher中记录包括但不限于如下表1所示的属性信息。
表1
图标 桌面编号 行编号 列编号 名称
图标1 1 1 1 名称1
图标2 1 1 2 名称2
图标3 1 1 3 名称3
图标4 1 1 4 名称4
图标5 1 2 1 名称5
图标6 1 2 2 名称6
图标7 1 2 3 名称7
图标8 1 2 4 名称8
图标9 1 3 1 名称9
图标15 2 1 1 名称15
图标16 2 1 2 名称16
换而言之,如果智能终端的Launcher在用户开启图标管理功能的时刻t0,记录的各个应用程序分别对应的图标的属性信息包括但不限于如上表1中所示的属性信息;那么,智能终端根据Launcher中记录的各个图标的属性信息显示桌面时,可能显示如图6A所示的桌面1或桌面2。
然后,智能终端在距离t0的时间差为预设时间的时刻t3,确定各个应用程序在t0~t3时间段内分别使用智能终端的显示屏的累计频次和累计时间。
接着,智能终端可以按照由小到大的顺序对各个累计频次进行排序以形成第一序列,按照由小到大的顺序对各个累计时间进行排序以形成第二序列。并且确定各个应用程序在t0~t3时间段内使用显示屏的累计频次在第一序列中的第一顺序位,确定个应用程序在t0~t3时间段内使用显示屏的累计时间在第二序列中的第二顺序位。
示例性的,图标1、图标2、图标3、图标4、图标5、图标6、图标7、图标8、图标9、图标15、图标16分别对应的应用程序,在t0~t3时间段内分别使用智能终端的显示屏的累计频次依次是C 1、C 2、C 3、C 4、C 5、C 6、C 7、C 8、C 9、C 15、C 16,在t0~t3时间段内分别使用智能终端的显示屏的累计时间依次是T 1、T 2、T 3、T 4、T 5、T 6、T 7、T 8、T 9、T 15、T 16。如果第一序列是[C 1、C 3、C 15、C 16、C 2、C 6、C 7、C 8、C 9、C 4、C 5],第二序列是[T 3、T 2、T 1、T 4、T 15、T 5、T 7、T 8、T 9、T 15、T 6]。那么,对于“图标5”所对应的应用程序,可以确定出该应用程序在t0~t3时间段内使用显示屏的累计频次C在第一序列中的第一顺序位是11,该应用程序在t0~t3时间段内使用显示屏的累计时间T 5在第二序列中的第二顺序位是6。
进一步的,智能终端可以按照由大到小的顺序选择N个累计频次,按照由大到小的顺序选择N个累计时间;计算选择的N个累计频次的第一方差E1,计算选择的N个累计时间的第二方差E2;并根据E1和E2确定各个累计频次的权重系数a以及各个累计时间的权重系数b。
相应的,智能终端可以根据上述公式1计算各个应用程序的使用程度指数P i
之后,智能终端可以根据各个应用程序的使用程度指数,更新各个应用程序分别对应的图标的属性信息。
示例性的,如需确保编号为1的桌面上仅显示使用程度指数较大的M个应用程序分别对应的图标和名称,且编号为1的桌面上的各个图标分别对应的图标和名称按照从左至右、从上至下的顺序依次排列。其中,M为经验值,比如为8。假设图标1、图 标2、图标3、图标4、图标5、图标6、图标7、图标8、图标9、图标15、图标16分别对应的应用程序的使用程度指数,依次是P 1、P 2、P 3、P 4、P 5、P 6、P 7、P 8、P 9、P 15、P 16;并且按照由大到小的顺序排列各个应用程序的使用程度指数,得到的序列是[P 1、P 5、P 3、P 16、P 2、P 6、P 7、P 8、P 9、P 15、P 4]。那么,即可对如上表1所示的各个图标的属性信息进行更新,更新后的各个图标的属性信息包括但不限于如下表2中所示的属性信息。
表2
图标 桌面编号 行编号 列编号 名称
图标1 1 1 1 名称1
图标2 1 2 1 名称2
图标3 1 1 3 名称3
图标4 2 1 3 名称4
图标5 1 1 2 名称5
图标6 1 2 2 名称6
图标7 1 2 3 名称7
图标8 1 2 4 名称8
图标9 2 1 1 名称9
图标15 2 1 2 名称15
图标16 1 1 4 名称16
相应的,在Launcher重新调用Activity manager时,Activity manager即可再一次独立的或者与Window manager相协作,以实现至少根据Launcher中记录的如上表2所示的各个图标分别对应的属性信息,在智能终端的显示屏上显示如图6B中所示的桌面1或桌面2。
如此,可方便用户及时定位其在预设时间内经常使用的各个应用程序分别对应的图标,从而提高人机交互的智能性以及人际交互的效率。同时,用户也可以根据各个图标的显示效果,得知其自身在预设时间内对各个应用程序的使用情况。
在一种可能的实施方式中,智能终端还可以向用户提供各个应用程序在预设时间内分别使用显示屏的累计频次和累计时间,使得用户可以对其自身在预设时间段内使用各个应用程序的情况一目了然。
基于与前述方法实施例相同的构思,本申请实施例中还提供了一种图标管理装置。如图7所示,图标管理装置至少可以包括:
获取单元71,配置为获取各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间;
确定单元73,配置为根据各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间,确定各个所述应用程序的使用程度指数;
更新单元75,配置为根据各个所述应用程序的使用程度指数,更新各个所述应用程序分别对应的图标的属性信息,所述属性信息用于限定其对应的图标的显示效果。
在一种可能的实施方式中,所述确定单元73,具体配置为根据各个所述累计频次的大小,对各个所述累计频次进行排序,得到第一序列;以及,根据各个所述累计时 间的大小,对各个所述累计时间进行排序,得到第二序列;针对各个所述应用程序,根据所述应用程序在预设时间内使用所述显示屏的累计频次在所述第一序列中的第一顺序位,以及所述应用程序在预设时间内使用所述显示屏的累计时间在所述第二序列中的第二顺序位,确定所述应用程序的使用程度指数。
在一种可能的实施方式中,所述图标管理装置还包括:
权重确定单元,配置为按照由大到小的顺序,从各个所述累计频次中选择预设数量的累计频次,并计算被选择的各个所述累计频次的第一方差;以及,按照由大到小的顺序,从各个所述累计时间中选择预设数量的累计时间,并计算被选择的各个所述累计时间的第二方差。根据所述第一方差和所述第二方差,确定所述第一顺序位对应的第一权重系数以及所述第二顺序位对应的第二权重系数,所述第一权重系数与所述第一方差正相关,所述第二权重系数与所述第二方差正相关。
所述确定单元73,具体配置为在各个所述累计频次在所述第一序列中按照由小到大的顺序依次排列,并且各个所述累计时间在所述第二序列中按照由小到大的顺序依次排列的情况下,根据所述第一权重系数和所述第二权重系数,对所述应用程序对应的所述第一顺序位和所述第二顺序位进行加权求和,得到所述应用程序的使用程度指数。
在一种可能的实施方式中,所述属性信息包括:图标所在的桌面的编号以及所述图标在所述桌面上的位置。
在一种可能的实施方式中,所述属性信息还包括:所述图标的透明度、亮度、色彩饱和度和边框效果中的一项或多项。
在一种可能的实施方式中,所述属性信息还包括:所述图标所对应的应用程序的名称的字体、字号及渲染效果中的一项或多项。
所述获取单元71,还用于当各个所述应用程序中存在当前应用程序开始使用所述显示屏时,获取第一屏幕使用事件,并将所述当前应用程序在所述预设时间内使用所述显示屏的累计频次加1;其中,所述第一屏幕使用事件包括所述当前应用程序的标识、用于指示所述第一屏幕使用事件的事件类型为开始使用显示屏的第一参数,以及所述当前应用程序开始使用显示屏的第一发生时刻。当所述当前应用程序结束对所述显示屏的使用时,获取第二屏幕使用事件,并确定所述当前应用程序本次使用所述显示屏的单次使用时间;其中,所述第二屏幕使用事件包括所述当前应用程序的标识、用于指示所述第二屏幕使用事件的事件类型为结束使用显示屏的第二参数,以及所述当前应用程序结束使用显示屏的第二发生时刻;所述单次使用时间为所述第二发生时刻与所述第一发生时刻之间的时间差。
在一种可能的实施方式中,所述获取单元71,具体配置为确定各个所述应用程序在所述预设时间内分别使用所述显示屏的累计频次;以及,根据各个所述应用程序在所述预设时间内每次使用所述显示屏的单次使用时间,计算各个所述应用程序在所述预设时间内分别使用所述显示屏的累计时间。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专 业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
应当理解,在本申请实施例的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述图标管理装置或者部署了上述图标管理装置的智能终端的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
可以理解,以上所描述的装置实施例是示意性的,例如,所述模块/单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。
以上仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请实施例的保护范围之内
最后需要说明的是,以上实施例仅用以说明本申请的技术方案,而未对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解,依然可以对前述各个实施例中所提供的技术方案进行修改,或者对其中部分技术特征进行等同替换,而这些修改或替换,并不使相应技术方案的本质脱离本申请各个实施例中所提供技术方案的精神和范围。

Claims (18)

  1. 一种图标管理方法,其特征在于,应用于具有显示屏的智能终端,所述智能终端部署了若干应用程序,所述方法包括:
    获取各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间;
    根据各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间,确定各个所述应用程序的使用程度指数;
    根据各个所述应用程序的使用程度指数,更新各个所述应用程序分别对应的图标的属性信息,所述属性信息用于限定其对应的图标的显示效果。
  2. 根据权利要求1所述的方法,其特征在于,所述根据各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间,确定各个所述应用程序的使用程度指数,包括:
    根据各个所述累计频次的大小,对各个所述累计频次进行排序,得到第一序列;以及,根据各个所述累计时间的大小,对各个所述累计时间进行排序,得到第二序列;
    针对各个所述应用程序,根据所述应用程序在预设时间内使用所述显示屏的累计频次在所述第一序列中的第一顺序位,以及所述应用程序在预设时间内使用所述显示屏的累计时间在所述第二序列中的第二顺序位,确定所述应用程序的使用程度指数。
  3. 根据权利要求2所述的智能终端,其特征在于,所述方法还包括:
    按照由大到小的顺序,从各个所述累计频次中选择预设数量的累计频次,并计算被选择的各个所述累计频次的第一方差;以及,按照由大到小的顺序,从各个所述累计时间中选择预设数量的累计时间,并计算被选择的各个所述累计时间的第二方差;
    根据所述第一方差和所述第二方差,确定所述第一顺序位对应的第一权重系数以及所述第二顺序位对应的第二权重系数,所述第一权重系数与所述第一方差正相关,所述第二权重系数与所述第二方差正相关;
    所述确定所述应用程序的使用程度指数,包括:在各个所述累计频次在所述第一序列中按照由小到大的顺序依次排列,并且各个所述累计时间在所述第二序列中按照由小到大的顺序依次排列的情况下,根据所述第一权重系数和所述第二权重系数,对所述应用程序对应的所述第一顺序位和所述第二顺序位进行加权求和,得到所述应用程序的使用程度指数。
  4. 根据权利要求1所述的方法,其特征在于,所述属性信息包括:图标所在的桌面的编号以及所述图标在所述桌面上的位置。
  5. 根据权利要求4所述的方法,其特征在于,所述属性信息还包括:所述图标的透明度、亮度、色彩饱和度和边框效果中的一项或多项。
  6. 根据权利要求4所述的方法,其特征在于,所述属性信息还包括:所述图标所对应的应用程序的名称的字体、字号及渲染效果中的一项或多项。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,在所述获取各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间之前,所述方法还包括:
    当各个所述应用程序中存在当前应用程序开始使用所述显示屏时,获取第一屏幕使用事件,并将所述当前应用程序在所述预设时间内使用所述显示屏的累计频次加1; 其中,所述第一屏幕使用事件包括所述当前应用程序的标识、用于指示所述第一屏幕使用事件的事件类型为开始使用显示屏的第一参数,以及所述当前应用程序开始使用显示屏的第一发生时刻
    当所述当前应用程序结束对所述显示屏的使用时,获取第二屏幕使用事件,并确定所述当前应用程序本次使用所述显示屏的单次使用时间;其中,所述第二屏幕使用事件包括所述当前应用程序的标识、用于指示所述第二屏幕使用事件的事件类型为结束使用显示屏的第二参数,以及所述当前应用程序结束使用显示屏的第二发生时刻;所述单次使用时间为所述第二发生时刻与所述第一发生时刻之间的时间差。
  8. 根据权利要求7所述的方法,其特征在于,所述获取各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间,包括:
    确定各个所述应用程序在所述预设时间内分别使用所述显示屏的累计频次;以及,根据各个所述应用程序在所述预设时间内每次使用所述显示屏的单次使用时间,计算各个所述应用程序在所述预设时间内分别使用所述显示屏的累计时间。
  9. 一种智能终端,其特征在于,所述智能终端包括处理器和显示屏,所述智能终端部署了若干应用程序,所述处理器用于执行:
    获取各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间;
    根据各个所述应用程序在预设时间内分别使用所述显示屏的累计频次和累计时间,确定各个所述应用程序的使用程度指数;
    根据各个所述应用程序的使用程度指数,更新各个所述应用程序分别对应的图标的属性信息,所述属性信息用于限定其对应的图标的显示效果。
  10. 根据权利要求9所述的智能终端,其特征在于,
    所述处理器具体用于,
    根据各个所述累计频次的大小,对各个所述累计频次进行排序,得到第一序列;以及,根据各个所述累计时间的大小,对各个所述累计时间进行排序,得到第二序列;
    针对各个所述应用程序,根据所述应用程序在预设时间内使用所述显示屏的累计频次在所述第一序列中的第一顺序位,以及所述应用程序在预设时间内使用所述显示屏的累计时间在所述第二序列中的第二顺序位,确定所述应用程序的使用程度指数。
  11. 根据权利要求10所述的智能终端,其特征在于,
    所述处理器还用于,按照由大到小的顺序,从各个所述累计频次中选择预设数量的累计频次,并计算被选择的各个所述累计频次的第一方差;以及,按照由大到小的顺序,从各个所述累计时间中选择预设数量的累计时间,并计算被选择的各个所述累计时间的第二方差;根据所述第一方差和所述第二方差,确定所述第一顺序位对应的第一权重系数以及所述第二顺序位对应的第二权重系数,所述第一权重系数与所述第一方差正相关,所述第二权重系数与所述第二方差正相关;以及,
    所述处理器,具体用于在各个所述累计频次在所述第一序列中按照由小到大的顺序依次排列,并且各个所述累计时间在所述第二序列中按照由小到大的顺序依次排列的情况下,根据所述第一权重系数和所述第二权重系数,对所述应用程序对应的所述第一顺序位和所述第二顺序位进行加权求和,得到所述应用程序的使用程度指数。
  12. 根据权利要求9所述的智能终端,其特征在于,所述属性信息包括:图标所在的桌面的编号以及所述图标在所述桌面上的位置。
  13. 根据权利要求12所述的智能终端,其特征在于,所述属性信息还包括:所述图标的透明度、亮度、色彩饱和度和边框效果中的一项或多项。
  14. 根据权利要求12所述的智能终端,其特征在于,所述属性信息还包括:所述图标所对应的应用程序的名称的字体、字号及渲染效果中的一项或多项。
  15. 根据权利要求8至14中任一项所述的智能终端,其特征在于,
    所述处理器还用于,
    当各个所述应用程序中存在当前应用程序开始使用所述显示屏时,获取第一屏幕使用事件,并将所述当前应用程序在所述预设时间内使用所述显示屏的累计频次加1;其中,所述第一屏幕使用事件包括所述当前应用程序的标识、用于指示所述第一屏幕使用事件的事件类型为开始使用显示屏的第一参数,以及所述当前应用程序开始使用显示屏的第一发生时刻
    当所述当前应用程序结束对所述显示屏的使用时,获取第二屏幕使用事件,并确定所述当前应用程序本次使用所述显示屏的单次使用时间;其中,所述第二屏幕使用事件包括所述当前应用程序的标识、用于指示所述第二屏幕使用事件的事件类型为结束使用显示屏的第二参数,以及所述当前应用程序结束使用显示屏的第二发生时刻;所述单次使用时间为所述第二发生时刻与所述第一发生时刻之间的时间差。
  16. 根据权利要求15所述的智能终端,其特征在于,
    所述处理器,具体用于确定各个所述应用程序在所述预设时间内分别使用所述显示屏的累计频次;以及,根据各个所述应用程序在所述预设时间内每次使用所述显示屏的单次使用时间,计算各个所述应用程序在所述预设时间内分别使用所述显示屏的累计时间。
  17. 一种计算机可读存储介质,用于存储指令,当所述指令被智能终端的处理器执行时,使得所述智能终端实现权利要求1至8中任一项所述的方法。
  18. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1-8中任一项所述的方法。
PCT/CN2020/121907 2020-01-22 2020-10-19 图标管理方法及智能终端 WO2021147396A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010075226.3A CN111258700B (zh) 2020-01-22 2020-01-22 图标管理方法及智能终端
CN202010075226.3 2020-01-22

Publications (1)

Publication Number Publication Date
WO2021147396A1 true WO2021147396A1 (zh) 2021-07-29

Family

ID=70952677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/121907 WO2021147396A1 (zh) 2020-01-22 2020-10-19 图标管理方法及智能终端

Country Status (2)

Country Link
CN (1) CN111258700B (zh)
WO (1) WO2021147396A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258700B (zh) * 2020-01-22 2021-09-07 华为技术有限公司 图标管理方法及智能终端
CN114201101A (zh) * 2020-09-02 2022-03-18 普源精电科技股份有限公司 显示控制方法及装置、电子设备和可读存储介质
CN112346613A (zh) * 2020-10-29 2021-02-09 深圳Tcl新技术有限公司 图标显示效果的控制方法、终端及计算机可读存储介质
CN113157163A (zh) * 2021-04-28 2021-07-23 维沃移动通信有限公司 图标管理方法、图标管理装置和电子设备
CN113242351B (zh) * 2021-04-30 2023-07-04 深圳市中诺通讯有限公司 一种控制数码产品的方法
CN114647471A (zh) * 2022-03-25 2022-06-21 重庆长安汽车股份有限公司 一种车载终端界面Dock显示的更新系统及方法
CN116339899B (zh) * 2023-05-29 2023-08-01 内江师范学院 一种基于人工智能的桌面图标的管理方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1125784A2 (en) * 1999-12-21 2001-08-22 Visteon Global Technologies, Inc. Reconfigurable display architecture with spontaneous reconfiguration
CN106357887A (zh) * 2016-08-25 2017-01-25 乐视控股(北京)有限公司 图标显示方法、装置和终端设备
CN106484238A (zh) * 2016-10-18 2017-03-08 江西博瑞彤芸科技有限公司 应用图标显示顺序的动态调整方法
CN108156320A (zh) * 2017-12-27 2018-06-12 奇酷互联网络科技(深圳)有限公司 图标自动排列方法、图标自动排列装置和终端设备
CN109597543A (zh) * 2018-11-08 2019-04-09 上海闻泰信息技术有限公司 应用程序图标的显示方法、系统及终端
CN111258700A (zh) * 2020-01-22 2020-06-09 华为技术有限公司 图标管理方法及智能终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9628805B2 (en) * 2014-05-20 2017-04-18 AVAST Software s.r.o. Tunable multi-part perceptual image hashing
CN106951223A (zh) * 2017-02-10 2017-07-14 广东欧珀移动通信有限公司 一种桌面显示的方法及终端
CN109521925A (zh) * 2018-11-27 2019-03-26 努比亚技术有限公司 图标排列方法、移动终端及计算机可读存储介质
CN110069320B (zh) * 2019-04-29 2023-06-30 努比亚技术有限公司 一种应用程序的分类校正方法、终端、系统及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1125784A2 (en) * 1999-12-21 2001-08-22 Visteon Global Technologies, Inc. Reconfigurable display architecture with spontaneous reconfiguration
CN106357887A (zh) * 2016-08-25 2017-01-25 乐视控股(北京)有限公司 图标显示方法、装置和终端设备
CN106484238A (zh) * 2016-10-18 2017-03-08 江西博瑞彤芸科技有限公司 应用图标显示顺序的动态调整方法
CN108156320A (zh) * 2017-12-27 2018-06-12 奇酷互联网络科技(深圳)有限公司 图标自动排列方法、图标自动排列装置和终端设备
CN109597543A (zh) * 2018-11-08 2019-04-09 上海闻泰信息技术有限公司 应用程序图标的显示方法、系统及终端
CN111258700A (zh) * 2020-01-22 2020-06-09 华为技术有限公司 图标管理方法及智能终端

Also Published As

Publication number Publication date
CN111258700B (zh) 2021-09-07
CN111258700A (zh) 2020-06-09

Similar Documents

Publication Publication Date Title
WO2021147396A1 (zh) 图标管理方法及智能终端
CN109766036B (zh) 消息处理方法及电子设备
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
US11930130B2 (en) Screenshot generating method, control method, and electronic device
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2021169337A1 (zh) 屏下指纹显示方法及电子设备
WO2020077540A1 (zh) 一种信息处理方法及电子设备
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
WO2021082564A1 (zh) 一种操作提示的方法和电子设备
CN111913750B (zh) 一种应用程序管理方法、装置及设备
WO2020056778A1 (zh) 一种屏蔽触摸事件的方法及电子设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
EP4231147A1 (en) Drawing command processing method and related device therefor
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2020155875A1 (zh) 电子设备的显示方法、图形用户界面及电子设备
EP4152782A1 (en) Message pushing method and apparatus
US20230195309A1 (en) Method and apparatus for adjusting memory configuration parameter
CN113805797B (zh) 网络资源的处理方法、电子设备及计算机可读存储介质
EP4181498A1 (en) Photographing method and electronic device
US20230105934A1 (en) Cross-Device Allocation Method for Service Element, Terminal Device, and Storage Medium
WO2023241209A9 (zh) 桌面壁纸配置方法、装置、电子设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20914817

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20914817

Country of ref document: EP

Kind code of ref document: A1