CN109375846B - Method and device for displaying breathing icon, mobile terminal and readable storage medium - Google Patents

Method and device for displaying breathing icon, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN109375846B
CN109375846B CN201811134785.6A CN201811134785A CN109375846B CN 109375846 B CN109375846 B CN 109375846B CN 201811134785 A CN201811134785 A CN 201811134785A CN 109375846 B CN109375846 B CN 109375846B
Authority
CN
China
Prior art keywords
icon
breathing
target
mobile terminal
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811134785.6A
Other languages
Chinese (zh)
Other versions
CN109375846A (en
Inventor
王秀琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811134785.6A priority Critical patent/CN109375846B/en
Publication of CN109375846A publication Critical patent/CN109375846A/en
Application granted granted Critical
Publication of CN109375846B publication Critical patent/CN109375846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a method and a device for displaying a breathing icon, a mobile terminal and a readable storage medium, wherein the method comprises the following steps: when a switching instruction for replacing the screen desktop theme of the mobile terminal is detected, acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment; acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction; extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme; and according to the icon description information, placing each target breathing icon in an interface of the target desktop theme. The technical problem that a breathing icon cannot be compatible with multiple sets of theme applications in the prior art is solved.

Description

Method and device for displaying breathing icon, mobile terminal and readable storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for displaying a breathing icon, a mobile terminal and a readable storage medium.
Background
With the rapid development of communication technology, mobile terminals such as mobile phones and tablet computers have become an indispensable communication product for people. At present, when a terminal such as a mobile phone or a tablet computer receives a message, corresponding message reminding is usually performed to remind a user to check the message in time and process a corresponding event.
In the prior art, a terminal can perform message reminding through a breathing icon, but because the current desktop breathing icon implementation mode is that picture resources required by the breathing icon on a default theme are directly integrated in desktop engineering codes, the breathing icon cannot be compatible with multiple sets of themes, because the picture style, the icon size and the like of each set of theme are different, the breathing icon can be provided only on the default theme, and because the icon styles of the themes are different, and the corresponding breathing icon resources and coordinates are also different, the breathing icon cannot be applied to any theme on the desktop.
Disclosure of Invention
The invention mainly aims to provide a method and a device for displaying a breathing icon, a mobile terminal and a readable storage medium, and aims to solve the technical problem that the breathing icon cannot be compatible with multiple sets of subject applications in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a method for displaying a breathing icon, where the method for displaying the breathing icon includes:
when a switching instruction for replacing the screen desktop theme of the mobile terminal is detected, acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment;
acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction;
extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme;
and according to the icon description information, placing each target breathing icon in an interface of the target desktop theme.
Optionally, the step of extracting the target breathing icon corresponding to the icon description information from the icon library of the target desktop theme includes:
acquiring a target subject resource package corresponding to the target desktop subject, and acquiring a corresponding icon library from the target subject resource package;
and determining the corresponding icon category according to the icon description information in the icon library, and acquiring the corresponding target breathing icon.
Optionally, the icon description information includes icon position information,
the step of placing each of the target breathing icons in the interface of the target desktop theme according to the icon description information includes:
determining whether the placement position of the target breathing icon needs to be adjusted;
if the target breathing icon needs to be adjusted, adjusting the placing position based on the icon position information, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted placing position.
Optionally, the icon description information includes icon size information,
the step of placing each of the target breathing icons in the interface of the target desktop theme according to the icon description information further includes:
determining whether an icon size of the target breath icon needs to be adjusted;
if the target desktop theme is needed to be adjusted, adjusting the icon size of the target breathing icon based on the icon size information, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted icon size.
Optionally, after the step of placing each target breathing icon in the interface of the target desktop theme according to the icon description information, the method includes:
acquiring the current available electric quantity of the mobile terminal, and determining whether the available electric quantity is lower than a preset threshold value;
and if the number of the target breathing icons is smaller than a preset threshold value, acquiring a first breathing icon in the target breathing icons, and displaying the first breathing icon on a screen of the mobile terminal.
Optionally, if the value is lower than a preset threshold, the step of obtaining a first breathing icon in the target breathing icon and displaying the first breathing icon on a screen of a mobile terminal includes:
acquiring the use frequency of each target breathing icon, and determining the display grade of each target breathing icon based on the use frequency, wherein the target breathing icon with the use frequency greater than the preset frequency is set as a first breathing icon, and the target breathing icon with the use frequency less than or equal to the preset frequency is set as a second breathing icon;
and if the available electric quantity is lower than the preset threshold value, displaying a first breathing icon on a screen of the mobile terminal based on the display grade, and converting a second breathing icon into a common icon for displaying.
Optionally, after the step of displaying the first breathing icon on the screen of the mobile terminal based on the display grade and converting the second breathing icon into a common icon for displaying if the available electric quantity is lower than the preset threshold, the method includes:
if a replacing instruction for replacing the breathing icon is received, replacing the breathing icon on the screen of the mobile terminal according to the replacing instruction;
and acquiring icon information of the replaced breathing icon, and adding the icon information into a theme resource package corresponding to the current desktop theme.
In addition, to achieve the above object, the present invention provides a display device of a breathing icon, including:
the first acquisition module is used for acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment when a switching instruction for replacing the screen desktop theme of the mobile terminal is detected;
the second acquisition module is used for acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction;
the extraction module is used for extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme;
and the placing module is used for placing each target breathing icon in the interface of the target desktop theme according to the icon description information.
In addition, to achieve the above object, the present invention also provides a display device of a breathing icon;
the display device of the breathing icon comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program, when being executed by the processor, realizes the steps of the method of displaying a breathing icon as described above.
In addition, to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of displaying a breathing icon as described above.
According to the method and the device for displaying the breathing icons, the mobile terminal and the readable storage medium, provided by the embodiment of the invention, when a switching instruction for replacing a screen desktop theme of the mobile terminal is detected, icon description information of each breathing icon displayed on a screen desktop of the mobile terminal at the current moment is acquired; acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction; extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme; and according to the icon description information, placing each target breathing icon in an interface of the target desktop theme. According to the method and the device, when the instruction information needing to switch the current screen desktop theme is detected, when the target desktop theme information is obtained, the breathing icon information corresponding to the target desktop theme is continuously obtained until the breathing icons corresponding to all applications of the mobile terminal application are obtained, and then the breathing icon needing to be displayed on the target desktop theme screen is selected from the breathing icon information, so that the problem that picture resources needed by the breathing icon on the default theme are directly integrated in desktop engineering codes is avoided, waste of memory space is caused, the stability of a mobile terminal system is guaranteed, the breathing icon can not only support one set of theme any more, the breathing icon which is correspondingly well adapted can be displayed on each set of theme is solved, and the technical problem that the breathing icon can not be compatible with multiple sets of theme applications in the prior art is solved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal according to an embodiment of the present invention;
FIG. 2 is a diagram of a wireless communication device of the mobile terminal of FIG. 1;
FIG. 3 is a flowchart illustrating a method for displaying a breathing icon according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for displaying a breathing icon according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for displaying a breathing icon according to a third embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for displaying a breathing icon according to a third embodiment of the present invention;
FIG. 7 is a functional block diagram of an embodiment of a breath icon display device according to the present invention;
FIG. 8 is a diagram illustrating an application scenario of a method for displaying a breathing icon according to the present invention;
fig. 9 is a scene diagram illustrating a mobile terminal applying a breathing icon pattern change according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs and various data, and the memory 109 may be a computer storage medium, and the memory 109 stores the message alert program of the present invention. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Such as processor 110, executes a message alert program stored in memory 109 to implement the steps of various embodiments of the message alert method of the present invention.
Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The invention provides a method for displaying a breathing icon, which is mainly applied to a mobile terminal and comprises the following steps:
when a switching instruction for replacing the screen desktop theme of the mobile terminal is detected, acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment; acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction; extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme; and according to the icon description information, placing each target breathing icon in an interface of the target desktop theme.
Specifically, in a first embodiment of a method for displaying a breathing icon according to the present invention, referring to fig. 3, the method for displaying a breathing icon includes:
step S10, when a switching instruction for changing the screen desktop theme of the mobile terminal is detected, acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment;
in this embodiment, the triggering manner of the switching instruction includes:
1) the method comprises the following steps of firstly, inputting preset touch operation in an interface of a currently running screen desktop theme, such as: a first sliding track sliding upwards through the bottom of the current interface; or pressing a preset key in a current interface menu bar for a long time; or a switching instruction of the screen desktop theme is triggered by pressing a key in a keyboard preset by the terminal.
2) Mode two, when the voice command is input in the interface of the screen desktop theme that is currently running, if press preset voice button in the current interface preset area, then input voice command (if voice broadcast: switching screen desktop themes); or pressing a preset key of the terminal, and then inputting a voice instruction (such as voice broadcasting: switching a screen desktop theme) to trigger the switching instruction of the screen desktop theme.
3) And thirdly, when a preset password is input in the interface of the currently running screen desktop theme, if a preset password button is pressed in the preset area of the current interface, then the terminal displays an unlocking interface in the preset area, the terminal acquires unlocking information input by the user based on the unlocking interface, compares the unlocking information with the password preset by the terminal, and if the unlocking information is matched with the password preset by the terminal, the unlocking is successful, and a switching instruction of the screen desktop theme is triggered.
The above listed triggering manners of the three switching instructions are only exemplary, and those skilled in the art may utilize the technical idea of the present invention, and other triggering manners of various switching instructions proposed according to their specific requirements are within the protection scope of the present invention, and are not exhaustive herein.
In the mobile terminal, when it is detected that a switching instruction message which is sent by a user on a screen of the mobile terminal and needs to switch a current screen desktop theme is detected, icon description information of each breathing icon displayed on the screen desktop of the mobile terminal needs to be preferentially acquired at the current moment, namely, the breathing icons need to be firstly judged to be displayed on the screen desktop in the mobile terminal, and then icon description information of the breathing icons is acquired according to a judged result, wherein the icon description information comprises the position, the size, the picture switching speed and the like of the breathing icons displayed on the screen desktop.
Step S20, acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction;
after receiving a switching instruction for replacing a screen desktop theme of a mobile terminal input by a user, the mobile terminal needs to acquire a target desktop theme according to the received switching instruction, wherein the manner of acquiring the target desktop theme may be to search all desktop theme information stored in the mobile terminal at the current moment from the mobile terminal, match all the searched desktop theme information with the instruction information acquired by the mobile terminal after successfully searching all the desktop theme information stored in the mobile terminal at the current moment, if the matching is not successful, continue to match according to a certain sequence rule until the matching is successful, and if the matching is successful, acquire the target desktop theme information corresponding to the instruction information.
For example, when a user needs to change a screen desktop theme displayed at the current moment on the mobile terminal to a required target desktop theme based on a preference requirement, the user may send instruction information for changing the screen desktop theme to the mobile terminal by clicking a screen desktop theme change key in a menu function on a screen of the mobile terminal, or send instruction information for changing the screen desktop theme to the mobile terminal by clicking a shortcut key on the screen of the mobile terminal, and the mobile terminal may display all desktop theme information stored in the mobile terminal on the screen of the mobile terminal based on the received instruction information, so that the user may select the required target desktop theme, obtain target desktop theme information selected by the user, and display all target desktop themes on the screen of the mobile terminal.
Step S30, extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme;
after a target desktop theme required by a user is acquired, an icon library corresponding to the target desktop theme is acquired based on the acquired target desktop theme, then a required target breathing icon is searched in the icon library according to icon description information acquired in advance, and after the required target breathing icon is found, the target breathing icon is extracted from the icon library, for example, the breathing icons displayed on a screen desktop in a mobile terminal are respectively breathing icons corresponding to a WeChat application, a QQ application and a music application.
And step S40, placing each target breathing icon in the interface of the target desktop theme according to the icon description information.
After a target desktop theme and a target breathing icon required by a user are acquired, the arrangement sequence of the breathing icons needs to be determined according to icon description information acquired in advance, the acquired target breathing icons are sequentially placed on an interface of the target desktop theme based on the arrangement sequence, wherein before the acquired breathing icons are sequentially placed on a display interface of the target desktop theme, the arrangement sequence of the breathing icons corresponding to applications on the screen desktop theme interface of an unchanged mobile terminal, namely icon description information, needs to be acquired, then the breathing icons of the applications are sequentially placed on the display interface of the target desktop theme according to the acquired arrangement sequence of the breathing icons corresponding to the applications on the screen desktop theme interface of the unchanged mobile terminal, namely only the screen desktop theme is replaced in the mobile terminal, and the arrangement mode of the breathing icons of the applications is not changed, how to arrange originally, after changing the theme of the screen desktop, how to arrange.
For example, as shown in fig. 8, when a mobile terminal switches from one screen desktop theme to another screen desktop theme, it is necessary to acquire the arrangement information of the initial breathing icon of the mobile terminal, and adjust the breathing icons of the screen of the mobile terminal based on the arrangement information of the initial breathing icon of the mobile terminal and the previously acquired breathing icons corresponding to the another screen desktop theme.
In this embodiment, when a switching instruction for changing a screen desktop theme of a mobile terminal is detected, icon description information of each breathing icon displayed on a screen desktop of the mobile terminal at the current moment is acquired; acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction; extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme; and according to the icon description information, placing each target breathing icon in an interface of the target desktop theme. The invention needs to acquire target desktop theme information firstly after detecting instruction information needing to switch the current screen desktop theme, continuously detects and acquires the breathing icons corresponding to the applications installed on the mobile terminal screen based on the acquired desktop theme information, and judges and acquires each breathing icon needing to be displayed on the target desktop theme display interface, namely when the screen desktop theme is not changed, the breathing icons corresponding to the applications displayed on the mobile terminal and the arrangement mode thereof are firstly acquired, and then each breathing icon is displayed on the target desktop theme display interface based on the breathing icons, thereby ensuring that the requirements of users are not influenced, and the acquired breathing icons are an icon library dynamically loading the corresponding theme, acquiring the breathing icon image resources and the corresponding position coordinate data of the corresponding theme, and acquiring the corresponding image and coordinate without directly fixing codes, therefore, the technical effect that the breathing icon can not only support one set of subjects any more, and each set of subjects has the breathing icon with good adaptation can be achieved, and the technical problem that the breathing icon can not be compatible with multiple sets of subjects in the prior art is solved.
Further, a second embodiment of the method for displaying a breathing icon according to the present invention is proposed on the basis of the first embodiment of the present invention, which is a refinement of step S30 in the first embodiment of the present invention, and referring to fig. 4, the method for displaying a breathing icon includes:
step S31, acquiring a target subject resource package corresponding to the target desktop subject, and acquiring a corresponding icon library from the target subject resource package;
after a target desktop theme required by a user is acquired, acquiring target theme resource packages corresponding to the target desktop theme based on the acquired target desktop theme, namely firstly determining how many screen desktop themes exist in the mobile terminal, establishing each theme resource package corresponding to the screen desktop theme based on the acquired number of the screen desktop themes, namely the number of the theme resource packages is the same as that of the screen desktop themes, searching and matching the target theme resource packages corresponding to the target desktop theme in the theme resource packages, if the matching is not successful, continuing the matching according to a certain sequence rule until the matching is successful, if the matching is successful, acquiring the target theme resource packages corresponding to the target desktop theme, and after the target theme resource packages are acquired, acquiring an icon library corresponding to the target desktop theme, the manner of obtaining the corresponding icon library may be the same as the manner of obtaining the target theme resource package, and is not described here.
And step S32, determining the corresponding icon category according to the icon description information in the icon library, and acquiring the corresponding target breathing icon.
After the icon library corresponding to the target desktop theme is obtained, the icon category of the required target breathing icon needs to be determined in the icon library according to the icon category obtained in advance, namely, the icon description information of each breathing icon obtained in advance is compared and judged with each icon information in the icon library, so that the required target breathing icon is determined, and then each target breathing icon is obtained from the icon library.
In this embodiment, the breathing icons corresponding to all applications in the mobile terminal are acquired through the acquired target desktop theme information, and then the breathing icons that need to be displayed on the screen are determined according to the application information that needs to be displayed on the screen of the mobile terminal, that is, the breathing icons that need to be displayed on the screen of the mobile terminal are determined through twice screening, so that missing selection of a certain breathing icon is avoided, the technical effect that each set of themes has a correspondingly adapted breathing icon is realized, and the technical problem that the breathing icons in the prior art can not be compatible with multiple sets of theme applications is solved.
Further, in addition to any one of the first to second embodiments of the present invention, a third embodiment of the method for displaying a breathing icon of the present invention is proposed, and this embodiment is a refinement of step S40 of the first embodiment of the present invention, and referring to fig. 5, the method for displaying a breathing icon includes:
step S41, determining whether the placement position of the target breathing icon needs to be adjusted;
step S42, if the adjustment is needed, adjusting the placement position based on the icon position information, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted placement position.
It should be noted that, in this embodiment, the icon description information includes icon position information.
After icon description information of each application breathing icon corresponding to the target desktop theme is acquired, whether the position of the breathing icon placed on the target desktop theme interface needs to be adjusted or not needs to be judged according to icon position information in the icon description information, that is, whether the icon position information of the breathing icon placed on the target desktop theme interface needs to be dynamically adjusted or not is determined by judging whether the placement position information corresponding to each breathing icon placed on the target desktop theme interface is the same as the icon position information or not.
If the corresponding placement position information and icon position information of each breathing icon placed on the target desktop theme interface are found to be different through judgment, the placement position information and icon position information of which breathing icons are different need to be obtained first, when the placement position information of which breathing icons is determined to be different from the corresponding preset icon position information in the mobile terminal, the placement position information of the breathing icons needs to be adjusted, namely, the icon position information of the breathing icons placed on the target desktop theme interface is dynamically loaded and adjusted, and the target breathing icons are placed on the target desktop theme interface according to the adjusted placement positions of the breathing icons.
And if the position parameter information and the icon position information which correspond to each breathing icon and are placed on the target desktop theme interface are the same through judgment, the icon position of the target breathing icon is not changed.
In the embodiment, whether the position of the breathing icon needs to be adjusted is determined by judging whether the placement position information of the breathing icon is the same as the icon position information in the icon description information, so that the mobile terminal can stably operate when different desktop theme interfaces are replaced, and the technical problem that the breathing icon cannot be compatible with multiple sets of theme applications in the prior art is solved.
Further, the step of placing each of the target breathing icons in the interface of the target desktop theme according to the icon description information further includes:
step S43, determining whether the icon size of the target breathing icon needs to be adjusted;
step S44, if the adjustment is needed, adjusting the icon size of the target breathing icon based on the icon size information, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted icon size.
It should be noted that, in this embodiment, the icon description information includes icon size information.
After icon description information of each application breathing icon corresponding to the target desktop theme is acquired, whether the size of the icon of the breathing icon placed on the target desktop theme interface needs to be adjusted or not needs to be judged according to icon size information in the icon description information, that is, whether the size of the icon of the breathing icon placed on the target desktop theme interface needs to be dynamically adjusted or not is judged by judging whether the size of the icon corresponding to each target breathing icon placed on the target desktop theme interface is the same as the size of the corresponding icon acquired in advance or not.
If the icon size corresponding to each target breathing icon placed on the target desktop theme interface is found to be different from the corresponding icon size obtained in advance through judgment, icon size information of which target breathing icons are different from corresponding preset icon size information needs to be obtained first, when it is determined in the mobile terminal that the icon size information of which breathing icons is different from the corresponding icon size information obtained in advance, the icon size information of the icons needs to be adjusted, namely, the icon size of the target breathing icon placed on the target desktop theme interface is dynamically loaded and adjusted, and the target breathing icon is placed in the target desktop theme interface according to the adjusted icon size.
In the embodiment, whether the icon size of the breathing icon needs to be adjusted is determined by judging whether the icon size of the breathing icon is the same as the icon size obtained in advance, so that the attractiveness of the mobile terminal for replacing different desktop theme interfaces is ensured, the requirements of a user are met, and the technical problem that the breathing icon cannot be compatible with multiple sets of theme applications in the prior art is solved.
Further, in addition to any one of the first to third embodiments of the present invention, a fourth embodiment of the method for displaying a breathing icon according to the present invention is provided, and in this embodiment, after step S40 of the first embodiment of the present invention, with reference to fig. 6, the method for displaying a breathing icon includes:
step S50, acquiring the current available electric quantity of the mobile terminal, and determining whether the available electric quantity is lower than a preset threshold value;
after the step of placing each target breathing icon in the interface of the target desktop theme according to the icon description information, the available electric quantity of the mobile terminal at the current moment is required to be acquired, the acquired available electric quantity is required to be compared with a preset threshold value set in the mobile terminal by a user in advance, and whether the current available electric quantity is lower than the preset threshold value is judged, wherein the preset threshold value is a limit threshold value set in the mobile terminal by the user in advance for the available electric quantity.
And step S60, if the value is lower than a preset threshold value, acquiring a first breathing icon in the target breathing icon, and displaying the first breathing icon on a screen of the mobile terminal.
When the available electric quantity in the mobile terminal is lower than a preset threshold value through judgment, a first breathing icon of a target breathing icon needs to be acquired in the mobile terminal, and the first breathing icon is displayed on a screen of the mobile terminal after the first breathing icon is acquired, wherein the first breathing icon can be set in the mobile terminal by a user in advance, or the first breathing icon can be automatically selected and generated by the mobile terminal according to the frequency of the breathing icon used by the user at ordinary times.
Specifically, if the value is lower than a preset threshold value, the step of obtaining a first breathing icon in the target breathing icon and displaying the first breathing icon on a screen of a mobile terminal includes:
step S61, obtaining the use frequency of each target breathing icon, and determining the display grade of each target breathing icon based on the use frequency, wherein the target breathing icon with the use frequency greater than the preset frequency is set as a first breathing icon, and the target breathing icon with the use frequency less than or equal to the preset frequency is set as a second breathing icon;
in the mobile terminal, the use frequency of each target breathing icon displayed on the screen needs to be acquired, namely the use frequency of a user on the breathing icon displayed on the screen of the mobile terminal is acquired, the target breathing icons are sequenced according to the acquired use frequency, the display grade of each target breathing icon is determined, the display grade of each target breathing icon needs to acquire the preset frequency set in advance by the user, the use frequency of each target breathing icon is compared and judged with the preset frequency, the target breathing icon with the use frequency greater than the preset frequency is set as a first breathing icon, and the target breathing icon with the use frequency less than or equal to the preset frequency is set as a second breathing icon.
And step S62, if the available electric quantity is lower than the preset threshold value, displaying a first breathing icon on a screen of the mobile terminal based on the display grade, and converting a second breathing icon into a common icon for displaying.
If the available electric quantity of the mobile terminal is lower than the preset threshold value through judgment, the first breathing icon is displayed on the screen of the mobile terminal in the mobile terminal according to the display grade of each target breathing icon obtained in advance, and other target breathing icons are subjected to fixed processing, namely, the second breathing icon is converted into a common icon to be displayed, namely, the second breathing icon is displayed on the screen of the mobile terminal and is not a dynamic picture but a static picture.
In the embodiment, whether breathing icons corresponding to some less important applications need to be continuously displayed on the screen of the mobile terminal or not is intelligently judged by acquiring the available electric quantity of the mobile terminal, and when the available electric quantity is insufficient, the opening of some breathing icons can be intelligently reduced, so that the service time of the mobile terminal is prolonged, and the experience of a user is improved.
Further, after the step of displaying the first breathing icon on the screen of the mobile terminal based on the display grade and converting the second breathing icon into a common icon for displaying if the available electric quantity is lower than the preset threshold value, the method includes:
step S70, if a replacing instruction for replacing the breathing icon is received, replacing the breathing icon on the screen of the mobile terminal according to the replacing instruction;
and step S80, acquiring the icon information of the replaced breathing icon, and adding the icon information into the theme resource package corresponding to the current desktop theme.
If a breathing icon replacing instruction input by a user based on a mobile terminal screen after the screen desktop theme is replaced is received in the mobile terminal, the mobile terminal can replace the breathing icon on the mobile terminal screen according to the received replacing instruction, wherein the breathing icon replacing instruction can be a breathing icon pattern replacing instruction, a breathing icon position replacing instruction and the like, for example, when the breathing icon replacing instruction is the breathing icon pattern replacing instruction, namely in the mobile terminal, the breathing icon pattern replacing instruction input by the user based on the mobile terminal screen after the screen desktop theme is replaced is received, namely the user is unsatisfied with the breathing icon displayed on the mobile terminal screen, the pattern icon of the breathing icon can be selectively replaced, and the pattern icon of the breathing icon selected and replaced by the user can be searched from a map library based on the favorite requirement of the user, the breathing icon information can be searched on the internet, the mobile terminal replaces the pattern content of the breathing icon needing to be replaced on the screen of the mobile terminal based on the received breathing icon replacement instruction, and the replaced breathing icon information is added to the theme resource package corresponding to the current screen of the mobile terminal. For example, as shown in fig. 9, if a user wants to change a short message application breathing icon pattern on a screen of the mobile terminal, a breathing icon pattern replacement instruction is sent to the mobile terminal, and the mobile terminal replaces the breathing icon pattern of the short message application on the screen of the mobile terminal based on the received breathing icon replacement instruction.
Further, the user can input a breath icon position changing instruction on the screen of the mobile terminal, and the working principle of the breath icon position changing instruction is the same as that of the breath icon pattern changing instruction, which is not described herein.
In this embodiment, when a user is not satisfied with each breathing icon on the target desktop theme interface, the adjustment can be performed at any time, and the mobile terminal can preferentially execute instruction information sent by the user, so that the experience of the user is improved under the condition that the requirements of the user are ensured, and the technical problem that the breathing icons cannot be compatible with multiple sets of theme applications in the prior art is also solved.
In addition, referring to fig. 7, an embodiment of the present invention further provides a display apparatus for a breathing icon, where the display apparatus for a breathing icon includes:
the first acquisition module is used for acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment when a switching instruction for replacing the screen desktop theme of the mobile terminal is detected;
the second acquisition module is used for acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction;
the extraction module is used for extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme;
and the placing module is used for placing each target breathing icon in the interface of the target desktop theme according to the icon description information.
Optionally, the extraction module includes:
the icon library unit is used for acquiring a target subject resource package corresponding to the target desktop subject and acquiring a corresponding icon library from the target subject resource package;
and the acquisition unit is used for determining the corresponding icon type according to the icon description information in the icon library and acquiring the corresponding target breathing icon.
Optionally, the icon description information includes icon position information,
the placement module includes:
the position judgment unit is used for determining whether the placement position of the target breathing icon needs to be adjusted or not;
and the position adjusting unit is used for adjusting the placing position based on the icon position information if the adjustment is needed, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted placing position.
Optionally, the icon description information includes icon size information,
the placement module further comprises:
the icon size judging unit is used for determining whether the icon size of the target breathing icon needs to be adjusted or not;
and if the size of the target breathing icon needs to be adjusted, the size of the icon of the target breathing icon is adjusted based on the icon size information, and the target breathing icon is placed in the interface of the target desktop theme according to the adjusted size of the icon.
Optionally, after the placing the module, the method includes:
judging an available electric quantity unit, acquiring the current available electric quantity of the mobile terminal, and determining whether the available electric quantity is lower than a preset threshold value;
and if the value is lower than a preset threshold value, a first display unit acquires a first breathing icon in the target breathing icons and displays the first breathing icon on a screen of the mobile terminal.
Optionally, the display unit includes:
the display grade unit is used for acquiring the use frequency of each target breathing icon and determining the display grade of each target breathing icon based on the use frequency, wherein the target breathing icon with the use frequency greater than the preset frequency is set as a first breathing icon, and the target breathing icon with the use frequency less than or equal to the preset frequency is set as a second breathing icon;
and the second display unit displays the first breathing icon on the screen of the mobile terminal based on the display grade and converts the second breathing icon into a common icon for display if the available electric quantity is lower than the preset threshold value.
Optionally, after the second display unit, the method includes:
the receiving unit is used for replacing the breathing icon on the screen of the mobile terminal according to a replacing instruction if the replacing instruction for replacing the breathing icon is received;
and the adding unit is used for acquiring the icon information of the replaced breathing icon and adding the icon information into the theme resource package corresponding to the current desktop theme.
The steps implemented by the functional modules of the device for displaying a breathing icon may refer to the embodiments of the method for displaying a breathing icon of the present invention, and are not described herein again.
The present invention also provides a terminal, including: a memory, a processor, a communication bus, and a display program of breathing icons stored on the memory:
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the display program of the breathing icon to realize the steps of the embodiments of the display method of the breathing icon.
The present invention also provides a computer readable storage medium storing one or more programs, which are also executable by one or more processors for implementing the steps of the above-described embodiments of the method for displaying a breathing icon.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the method for displaying a breathing icon, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A method for displaying a breathing icon, the method comprising:
when a switching instruction for replacing a screen desktop theme of the mobile terminal is detected, acquiring icon description information of each breathing icon displayed on the screen desktop of the mobile terminal at the current moment, wherein the breathing icons are dynamic pictures;
acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction;
extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme;
placing each target breathing icon in an interface of the target desktop theme according to the icon description information;
acquiring the current available electric quantity of the mobile terminal, and determining whether the available electric quantity is lower than a preset threshold value;
if the number of the target breathing icons is lower than a preset threshold value, acquiring a first breathing icon in the target breathing icons, and displaying the first breathing icon on a screen of a mobile terminal;
if the value is lower than a preset threshold value, acquiring a first breathing icon in the target breathing icon, and displaying the first breathing icon on a screen of a mobile terminal, wherein the steps comprise:
acquiring the use frequency of each target breathing icon, and determining the display grade of each target breathing icon based on the use frequency, wherein the target breathing icon with the use frequency greater than the preset frequency is set as a first breathing icon, and the target breathing icon with the use frequency less than or equal to the preset frequency is set as a second breathing icon;
and if the current available power consumption of the mobile terminal is lower than a preset threshold value, displaying a first breathing icon on a screen of the mobile terminal based on the display grade, and converting a second breathing icon into a common icon for displaying.
2. The method for displaying the breathing icon according to claim 1, wherein the step of extracting the target breathing icon corresponding to the icon description information from the icon library of the target desktop theme comprises:
acquiring a target subject resource package corresponding to the target desktop subject, and acquiring a corresponding icon library from the target subject resource package;
and determining the corresponding icon category according to the icon description information in the icon library, and acquiring the corresponding target breathing icon.
3. The method of displaying a breathing icon of claim 1, wherein the icon descriptive information includes icon position information,
the step of placing each of the target breathing icons in the interface of the target desktop theme according to the icon description information includes:
determining whether the placement position of the target breathing icon needs to be adjusted;
if the target breathing icon needs to be adjusted, adjusting the placing position based on the icon position information, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted placing position.
4. The method of displaying a breathing icon of claim 3 wherein the icon descriptive information includes icon size information,
the step of placing each of the target breathing icons in the interface of the target desktop theme according to the icon description information further includes:
determining whether an icon size of the target breath icon needs to be adjusted;
if the target desktop theme is needed to be adjusted, adjusting the icon size of the target breathing icon based on the icon size information, and placing the target breathing icon in the interface of the target desktop theme according to the adjusted icon size.
5. The method for displaying the breathing icon according to claim 1, wherein after the step of displaying the first breathing icon on the screen of the mobile terminal based on the display grade and converting the second breathing icon into a common icon for displaying if the current available power consumption of the mobile terminal is lower than a preset threshold, the method comprises:
if a replacing instruction for replacing the breathing icon is received, replacing the breathing icon on the screen of the mobile terminal according to the replacing instruction;
and acquiring icon information of the replaced breathing icon, and adding the icon information into a theme resource package corresponding to the current desktop theme.
6. A display device of a breathing icon, characterized in that the display device of the breathing icon comprises:
the mobile terminal comprises a first acquisition module, a second acquisition module and a switching module, wherein the first acquisition module is used for acquiring icon description information of each breathing icon displayed on a screen desktop of the mobile terminal at the current moment when a switching instruction for replacing the screen desktop theme of the mobile terminal is detected;
the second acquisition module is used for acquiring a target desktop theme to be switched of the screen desktop based on the switching instruction;
the extraction module is used for extracting a target breathing icon corresponding to the icon description information from an icon library of a target desktop theme;
the placement module is used for placing each target breathing icon in an interface of the target desktop theme according to the icon description information;
acquiring the current available electric quantity of the mobile terminal, and determining whether the available electric quantity is lower than a preset threshold value;
if the number of the target breathing icons is lower than a preset threshold value, acquiring a first breathing icon in the target breathing icons, and displaying the first breathing icon on a screen of a mobile terminal;
if the value is lower than a preset threshold value, acquiring a first breathing icon in the target breathing icon, and displaying the first breathing icon on a screen of a mobile terminal, wherein the steps comprise:
acquiring the use frequency of each target breathing icon, and determining the display grade of each target breathing icon based on the use frequency, wherein the target breathing icon with the use frequency greater than the preset frequency is set as a first breathing icon, and the target breathing icon with the use frequency less than or equal to the preset frequency is set as a second breathing icon;
and if the current available power consumption of the mobile terminal is lower than a preset threshold value, displaying a first breathing icon on a screen of the mobile terminal based on the display grade, and converting a second breathing icon into a common icon for displaying.
7. A mobile terminal, characterized in that the mobile terminal comprises: memory, a processor and a display program of breathing icons stored on the memory and executable on the processor, the display program of breathing icons, when executed by the processor, implementing the steps of the method of displaying breathing icons according to any one of claims 1 to 5.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon a display program of a breathing icon, which when executed by a processor implements the steps of the display method of a breathing icon according to any one of claims 1 to 5.
CN201811134785.6A 2018-09-26 2018-09-26 Method and device for displaying breathing icon, mobile terminal and readable storage medium Active CN109375846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811134785.6A CN109375846B (en) 2018-09-26 2018-09-26 Method and device for displaying breathing icon, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811134785.6A CN109375846B (en) 2018-09-26 2018-09-26 Method and device for displaying breathing icon, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109375846A CN109375846A (en) 2019-02-22
CN109375846B true CN109375846B (en) 2021-10-29

Family

ID=65402716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811134785.6A Active CN109375846B (en) 2018-09-26 2018-09-26 Method and device for displaying breathing icon, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109375846B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647269A (en) * 2019-09-25 2020-01-03 深圳市闪联信息技术有限公司 Method and system for dynamically updating application icons based on large screen
CN112379962B (en) * 2020-11-25 2024-07-26 Oppo(重庆)智能科技有限公司 Desktop theme adjusting method, mobile terminal, server and storage medium
CN112732145B (en) * 2021-02-23 2024-02-02 酷赛通信科技股份有限公司 Dynamic switching method, system, equipment and storage medium for desktop theme
CN116088726B (en) * 2022-08-05 2023-11-21 荣耀终端有限公司 Application icon display method and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714714A (en) * 2013-12-11 2015-06-17 酷吧时代科技(北京)有限公司 Mobile terminal desktop control method and device and mobile terminal
CN105808306A (en) * 2016-03-31 2016-07-27 广东欧珀移动通信有限公司 Display method and display device for icons and terminal
CN106686236A (en) * 2016-12-29 2017-05-17 努比亚技术有限公司 Application-icon displaying device and method based on application states
CN107423034A (en) * 2016-05-23 2017-12-01 刘�文 The showing of virtual key theme, self-defined and switching mode
CN108572855A (en) * 2017-03-08 2018-09-25 上海传英信息技术有限公司 A kind of mobile terminal desktop thematic system and switching method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9872369B2 (en) * 2016-06-01 2018-01-16 Xkglow Inc. Lighting control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714714A (en) * 2013-12-11 2015-06-17 酷吧时代科技(北京)有限公司 Mobile terminal desktop control method and device and mobile terminal
CN105808306A (en) * 2016-03-31 2016-07-27 广东欧珀移动通信有限公司 Display method and display device for icons and terminal
CN107423034A (en) * 2016-05-23 2017-12-01 刘�文 The showing of virtual key theme, self-defined and switching mode
CN106686236A (en) * 2016-12-29 2017-05-17 努比亚技术有限公司 Application-icon displaying device and method based on application states
CN108572855A (en) * 2017-03-08 2018-09-25 上海传英信息技术有限公司 A kind of mobile terminal desktop thematic system and switching method

Also Published As

Publication number Publication date
CN109375846A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN107329682B (en) Edge interaction method and mobile terminal
CN109701266B (en) Game vibration method, device, mobile terminal and computer readable storage medium
CN107592416B (en) Voice message transmitting method, terminal and computer readable storage medium
CN109375846B (en) Method and device for displaying breathing icon, mobile terminal and readable storage medium
CN107506163B (en) Method for adjusting screen display, terminal and computer readable storage medium
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN108459803B (en) Picture sending method based on double-sided screen, mobile terminal and readable storage medium
CN107656743B (en) Application unloading method, terminal and readable storage medium
CN107741802B (en) Application starting method, terminal and computer readable storage medium
CN107682540B (en) Picture processing method, terminal and computer readable storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN110278481B (en) Picture-in-picture implementation method, terminal and computer readable storage medium
CN109725819B (en) Interface display method and device, double-screen double-system terminal and readable storage medium
CN109309762B (en) Message processing method, device, mobile terminal and storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN108038362B (en) Unread information display method and device and computer readable storage medium
CN107809527B (en) Method for presenting shortcut operation and electronic equipment
CN107678622B (en) Application icon display method, terminal and storage medium

Legal Events

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