Patent ID: 9671926
Date: 2017-06-06
CPC Classifications: G06F

Claim:
1. A method for displaying a dynamic icon in a terminal device, comprising: detecting an icon display instruction, the icon display instruction being generated by an operating system that will automatically return to a home screen with a plurality of icons upon a multimedia player application finishing the playing of some multimedia contents; obtaining a dynamic icon resource pack corresponding to an icon to be displayed based on the icon display instruction, wherein the dynamic icon resource pack is originally stored in the terminal device and does not include animation files or video files generated in advance; analyzing the dynamic icon resource pack to obtain icon resource information and dynamic description information, the icon resource information comprising various resource files and the dynamic description information decribing display content and display effect of the icon resource information; obtaining refresh rate information of the dynamic icon based on the dynamic description information; obtaining icon data information based on the dynamic description information, wherein the icon data information comprises: processing the icon resource information and the icon data information based on the dynamic description information; generating a dynamic icon based on the icon resource information and the dynamic description information in real time; and displaying the dynamic icon, detecting whether the dynamic icon is within a current display region; refreshing the dynamic icon if the dynamic icon is within the current display region; and stopping refreshing the dynamic icon if the dynamic icon is not within the current display region; wherein both the icon resource information and the dynamic description information are upgraded when a user downloads a new icon resource pack from Internet to substitute the originally stored dynamic icon resource pack.