Disclosure of Invention
The invention aims to provide a method and a device for realizing music desktop display, which realize the combination of music playing and desktop display of an intelligent terminal, enrich the desktop display of the intelligent terminal and provide convenience for user operation.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for realizing music desktop display comprises,
when music playing of the intelligent terminal is started, acquiring a music picture corresponding to the currently played music; the music pictures comprise pictures of albums to which currently played music belongs or preset local pictures;
and setting the music picture as the desktop background of the intelligent terminal, and displaying the desktop background.
After the music playing of the intelligent terminal is started, the lyrics of the currently played music are displayed in a vertical rolling manner on a desktop status bar, and the rhythm and the drumbeat state of the currently played music are displayed in the desktop in a water ripple or shaking dynamic effect;
when an operation signal for clicking the lyrics displayed in the desktop status bar in a vertical rolling manner is received, music playing is paused.
Wherein, set up this music picture for intelligent terminal's desktop background, after showing this desktop background, still include:
when the desktop status bar is unfolded, displaying a control interface for playing music and song information corresponding to the currently played music; the song information comprises the word maker, the singer, the name of the album to which the song belongs and the picture of the album to which the song belongs, wherein the music is played currently.
When the music of the intelligent terminal is started to play, acquiring a music picture corresponding to the currently played music, specifically:
when music playing of the intelligent terminal is started, acquiring a music picture corresponding to the currently played music which is stored locally in advance; or,
when music playing of the intelligent terminal is started, music pictures corresponding to currently played music are obtained from a corresponding server through a wireless network.
Wherein, the method also comprises the following steps,
after music playing of the intelligent terminal is started, if no touch screen operation is received within a preset time, controlling to enter a screen locking interface;
after entering a screen locking interface, if a preset touch screen operation signal is received, controlling to switch song information corresponding to currently played music; the song information comprises the word maker, the singer, the name of the album to which the song belongs and the picture of the album to which the song belongs, wherein the music is played currently.
When the music playing of the intelligent terminal is started, updating the attribute of the backlight of the display screen to be normally bright;
the setting of the music picture is the desktop background of the intelligent terminal, after the desktop background is displayed, the method further comprises the following steps:
if the time length of the music playing is paused reaches a preset time threshold, the desktop background is restored to default desktop wallpaper;
and if the operation signal for closing the music playing is received, the desktop background is restored to default desktop wallpaper, and the attribute of the backlight of the display screen is restored to a default value.
After music playing of the intelligent terminal is started, if an operation signal of a short volume key is received, the playing volume is correspondingly adjusted; and if an operation signal of pressing the volume key for a long time is received, correspondingly controlling song switching.
An apparatus for realizing music desktop display comprises,
the picture acquisition module is used for acquiring a music picture corresponding to the currently played music when the music playing of the intelligent terminal is started; the music pictures comprise pictures of albums to which currently played music belongs or preset local pictures;
and the desktop display module is used for setting the music picture as the desktop background of the intelligent terminal and displaying the desktop background.
The intelligent terminal is used for playing music on the desktop, displaying lyrics of the currently played music in a vertical rolling mode on the desktop status bar after the music playing of the intelligent terminal is started, and displaying the rhythm and the drumbeat state of the currently played music in the desktop in a water ripple or shaking mode; and when receiving an operation signal of clicking the lyrics displayed by scrolling up and down the desktop status bar, pausing the music playing.
The image acquisition module is specifically used for acquiring a music image corresponding to the current playing music which is pre-stored locally when the music playing of the intelligent terminal is started; or acquiring a music picture corresponding to the currently played music from a corresponding server through a wireless network;
the desktop display module is also used for updating the attribute of the backlight of the display screen to be normally bright when the music playing of the intelligent terminal is started; if the time length of the music playing is paused reaches a preset time threshold, the desktop background is restored to default desktop wallpaper, if an operation signal for closing the music playing is received, the desktop background is restored to default desktop wallpaper, and the attribute of the backlight of the display screen is restored to a default value; when the desktop status bar is unfolded, displaying a control interface for playing music and song information corresponding to the currently played music; the song information comprises a speaker, a singer, a name of an album to which the song belongs and a picture of the album to which the song belongs, wherein the speaker plays music currently;
the device also comprises a screen locking module, a screen locking module and a screen locking module, wherein the screen locking module is used for controlling to enter a screen locking interface if no touch screen operation is received within a preset time after the music playing of the intelligent terminal is started; after entering a screen locking interface, if a preset touch screen operation signal is received, controlling to switch song information corresponding to currently played music;
the playing control module is also used for pausing the music playing if an operation signal of clicking the lyrics dynamically displayed on the desktop status bar is received; if the operation signal of the short volume key is received, the volume of the playing is correspondingly adjusted; and if an operation signal of pressing the volume key for a long time is received, correspondingly controlling song switching.
The embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, the music playing and the desktop display of the intelligent terminal are combined, so that a new function is added to the intelligent terminal, and when the music is played, the information related to the currently played music is displayed on the desktop, so that a user can know the information related to the currently played music conveniently, the desktop display of the intelligent terminal is enriched, and the user experience is improved; meanwhile, the operation of switching the operation interface by the user when playing music is simplified, and convenience is provided for the user.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a method for implementing music desktop display according to an embodiment of the present invention includes the following steps S1-S2.
And step S1, when music playing of the intelligent terminal is started, acquiring a music picture corresponding to the currently played music. The music pictures of the embodiment of the invention comprise the pictures of the album to which the currently played music belongs or the preset local pictures, namely, a user can preset the local music pictures or the pictures of a selected album as the music pictures of the corresponding music, and the local corresponding relation between the local pictures and the played music is established; or the related pictures stored by the corresponding server can be used as music pictures corresponding to music, and the network corresponding relation between the server-side storage address and the music playing is established.
The step S1 of the present invention may be implemented as follows: when music playing of the intelligent terminal is started, if the local corresponding relation exists, the music picture corresponding to the currently played music stored in the local in advance is obtained, otherwise, the music picture corresponding to the currently played music is obtained from the corresponding server through a wireless network (a data network or wifi needs to be started).
And step S2, setting the music picture as the desktop background of the intelligent terminal, and displaying the desktop background.
The executing main body of the steps can be an intelligent terminal such as a mobile phone, a tablet personal computer and a vehicle-mounted host.
Through the embodiment of the invention, the intelligent terminal starts the music playing of the intelligent terminal, automatically sets the music picture as the desktop background after acquiring the music picture corresponding to the currently played music, and displays the picture of the album as the current desktop background of the intelligent terminal. If the current music playing is finished and another music playing is started, the desktop background correspondingly changes along with the change of the music playing, and therefore desktop display of the intelligent terminal is enriched. In addition, when the user needs to operate other application program interfaces, the user can acquire the related information of the currently played music without interface switching, and the user experience is improved without complicated interface switching operation.
Preferably, after the intelligent terminal starts the music playing of the intelligent terminal, the desktop background is automatically displayed as a music picture corresponding to the currently played music, and meanwhile, the attribute of the backlight of the display screen of the intelligent terminal is updated to be normally bright, that is, after the intelligent terminal starts the music playing of the intelligent terminal, the backlight of the display screen is kept in a normally bright state under the condition that the screen is not manually turned off. Of course, the user may also turn off the screen by turning off the key. In addition, in the music playing process, if the time length for pausing the music playing reaches a preset time threshold value, the desktop background is controlled to be restored to default desktop wallpaper, namely, the desktop background before the music playing is started is restored. The preset time threshold value can be 10 minutes or 15 minutes, and can be set by a user. If the time length of the music playing pause does not reach the preset time threshold, the desktop background is kept as the music picture corresponding to the currently played music. In addition, in the music playing process, if an operation signal for closing the music playing is received, the desktop background is restored to default desktop wallpaper, and meanwhile the attribute of the backlight of the display screen is restored to a default value. The default desktop wallpaper is a background picture displayed before music playing of the intelligent terminal is started, and the default value of the backlight attribute of the display screen is as follows: when no user operation is performed within a certain time (such as 10 seconds), the backlight of the display screen is controlled to be off, and when a home key operation signal or a shutdown key operation signal of the user is received, the backlight of the display screen is controlled to be on. Preferably, in this embodiment, when the time period for the user to pause the music playing is greater than or equal to 15 minutes, the music playing is automatically turned off.
Preferably, in the embodiment of the present invention, after the intelligent terminal starts the music playing of the intelligent terminal, the lyrics of the currently playing music are dynamically displayed in the desktop display area or the desktop status bar, for example, each line of lyrics of the currently playing music is displayed in the desktop status bar in an up-and-down rolling manner, the lyric display mode does not affect the normal interface interaction of the desktop, such as the function of the lower status bar, and the lyrics of the currently playing music can be conveniently viewed when the user operates the interface of another application program except for the immersive interface (e.g., the game interface in the full screen state). And simultaneously, the rhythm and the drumbeat state of the currently played music are displayed in the desktop display area by dynamic effects such as water ripples or shaking. If the user pulls down the desktop status bar, a control interface for playing music and song information corresponding to the currently played music are displayed in the unfolded desktop status bar; the song information in this embodiment includes information such as the word writer, singer, name of album to which the music is currently played, and picture of album to which the music belongs. In addition, when the intelligent terminal plays music, if a desktop touch signal is received, the dynamic effects such as water ripples or shaking are controlled to stop, and if no touch screen operation is performed within 2 seconds, the dynamic effects such as water ripples or shaking are recovered.
Furthermore, the intelligent terminal of the present invention starts the music playing of the intelligent terminal, after the lyrics of the currently played music are dynamically displayed in the desktop status bar, if an operation signal for clicking the lyrics dynamically displayed in the desktop status bar is received, the music playing is controlled to be paused, for example, a user can pause the music playing by clicking the lyrics displayed in an up-and-down rolling manner, and the user operation is simple. In addition, if an operation signal of a short-press volume key is received, the volume of the played volume is correspondingly adjusted; and if an operation signal of pressing the volume key for a long time is received, correspondingly controlling song switching. In this embodiment, the volume key is pressed for a period of 2 seconds or less, and the volume key is pressed for a period of 3 seconds or more. Besides, the playing volume adjustment and song switching control can be realized by the intelligent terminal which can move upwards/downwards at a certain speed (which can be set according to the actual situation, such as the speed which is more than 5m/s and less than 10 m/s) or lightly swinging the mobile phone to the left/right. In a preferred embodiment, if a gesture of lightly shaking the smart terminal such as a mobile phone up/down at a certain speed (for example, a speed greater than 5m/s and less than 10 m/s) by the user is detected, the volume is controlled to be increased/decreased, and if a gesture of lightly shaking the smart terminal such as a mobile phone left/right at a certain speed (for example, a speed greater than 5m/s and less than 10 m/s) by the user is detected, the control is switched to the playing of the previous/next music. The user operation is simplified, and the user experience is improved.
Further, the method for realizing music desktop display of the invention, when the intelligent terminal plays music, the desktop background is displayed as the music picture corresponding to the currently played music, and the related information of the currently played music is dynamically displayed on the desktop; and the desktop can be controlled to enter a screen locking interface so as to prevent other misoperation from occurring. The specific implementation method comprises the step of controlling the intelligent terminal to enter a screen locking interface if no touch screen signal is received within a preset time (for example, 30 seconds) or operation information of a user clicking a screen locking operation button in an expanded status bar is received. According to the screen locking interface, the backlight of the display screen cannot be turned off, the screen locking interface is a transparent interface, unlocking (for example, sliding unlocking) can be performed through specific touch screen operation after the screen locking interface is entered, and after the screen locking interface is entered, a user can switch the related information of the currently played music through preset touch screen operation (for example, left-right touch screen sliding operation), so that the user can browse various information of the currently played music on the screen locking interface conveniently. For example, the user can switch to browse information such as singers, lyrics and song lists (which can also be radio stations) of currently played music through a left-right sliding touch screen operation in the screen locking interface. The music playing atmosphere is created, the functions of the intelligent terminal are increased, the user operation is simplified, and the desktop background display is enriched.
By the method for realizing music desktop display in the embodiment of the invention, the music playing and desktop display of the intelligent terminal are combined, and when the intelligent terminal plays music, the information related to the currently played music is displayed on the desktop, so that a user can know the related information of the currently played music conveniently, the desktop display of the intelligent terminal is enriched, and the user experience is improved. Meanwhile, the operation of switching the operation interface by the user when playing music is simplified, and convenience is provided for the user.
Based on the method for implementing music desktop display in the foregoing embodiment, the present invention further provides a device capable of implementing music desktop display, and as shown in fig. 2, the device in the embodiment of the present invention includes a picture obtaining module 101 and a desktop display module 102.
The image obtaining module 101 is configured to obtain a music image corresponding to currently played music when music playing of the intelligent terminal is started; the music pictures comprise pictures of albums to which currently played music belongs or preset local pictures. The local music picture or the picture of the selected photo album can be preset as the music picture corresponding to the music, and the local corresponding relation between the local picture and the played music is established; and the related pictures stored by the corresponding server can be used as music pictures of the corresponding music, and the network corresponding relation between the server-side storage address and the music playing is established.
The image obtaining module 101 of this embodiment is specifically configured to, when music playing of the intelligent terminal is started, obtain a music image corresponding to currently playing music that is pre-stored locally; or acquiring a music picture corresponding to the currently played music from a corresponding server through a wireless network. As described in the above embodiments.
And the desktop display module 102 is configured to set the music picture as a desktop background of the intelligent terminal, and display the desktop background. Namely, when the music is played, the music picture corresponding to the currently played music is displayed as the current desktop background. If the current music playing is finished and another music playing is started, the desktop background of the corresponding ground changes along with the change of the music playing, desktop display of the intelligent terminal is enriched, in addition, when a user needs to operate other application program interfaces, related information of the current music playing can be obtained through the desktop background, complex interface switching operation is not needed, and user experience is improved. As described in the above embodiments.
Preferably, the desktop display module 102 is further configured to update the property of the backlight of the display screen to be normally bright when the music playing of the intelligent terminal is started, so that a user can conveniently view related information of currently played music. If the user receives the shutdown key operation signal, the backlight lamp of the display screen is controlled to be turned off; and if the time length of the music playing is paused reaches a preset time threshold, the desktop background is restored to default desktop wallpaper, if an operation signal for closing the music playing is received, the desktop background is restored to default desktop wallpaper, and the attribute of the backlight of the display screen is restored to a default value. The preset time threshold value can be 10 minutes or 15 minutes, and can be set by a user. The default desktop wallpaper is the desktop background displayed before music playing of the intelligent terminal is started, and the default value of the backlight attribute of the display screen is as follows: when no user operation is carried out within a certain time, the backlight of the display screen is turned off, and when a home key operation signal or a shutdown key operation signal of the user is received, the backlight of the display screen is controlled to be on. As described in the above embodiments.
Referring to fig. 2, the apparatus for implementing music desktop display of the present embodiment further includes a screen locking module 103 and a playing control module 104.
The screen locking module 103 is configured to control entry into a screen locking interface if no touch screen operation is received within a preset time after music playing of the intelligent terminal is started; and after entering a screen locking interface, if a preset touch screen operation signal is received, controlling to switch song information corresponding to the currently played music, wherein the song information of the embodiment comprises a speaker, a singer, a name of an album to which the currently played music belongs, and a picture of the album to which the currently played music belongs. As described in the above embodiments.
The playing control module 104 is configured to, after the music playing of the intelligent terminal is started, dynamically display (such as up-down scrolling display and horizontal scrolling display) lyrics of currently played music in a desktop status bar, and display a rhythm and a drumbeat state of the currently played music in the desktop with a dynamic effect of ripple or jitter; and if receiving an operation signal of clicking the lyrics displayed by the desktop status bar in a vertical rolling manner, pausing the music playing. The atmosphere of music playing is enhanced.
Preferably, the desktop display module 102 is further configured to display a control interface for playing music and song information corresponding to currently played music in the expansion area when the desktop status bar is expanded; the song information of this embodiment includes the word writer, singer, name of the album to which the music is currently played, and the picture of the album to which the music belongs.
Preferably, the playing control module 104 is further configured to control to stop the dynamic effects such as the water ripple and the jitter if a desktop touch signal is received during music playing, and then resume the dynamic effects such as the water ripple and the jitter of the desktop if no touch operation is performed within 2 seconds.
Further, the play control module 104 is further configured to control and adjust the play volume when receiving an operation signal of pressing a volume key for a short time; if an operation signal of pressing the volume key for a long time is received, song switching is controlled, the short-time pressing of the volume key is performed for 2 seconds or less, and the long-time pressing of the volume key is performed for 3 seconds or more. The playing control module 104 is further configured to, when music is played, if a gesture that a user lightly shakes a smart terminal such as a mobile phone at a certain speed (set according to an actual situation, for example, a speed greater than 5m/s and less than 10 m/s) up/down or left/right is detected, correspondingly control and adjust playing volume or song switching. In a preferred embodiment, if a gesture of lightly shaking the smart terminal such as a cell phone up/down at a certain speed (for example, a speed greater than 5m/s and less than 10 m/s) is detected, the volume of playing is controlled to be turned up/down, and if a gesture of lightly shaking the smart terminal such as a cell phone left/right at a certain speed (for example, a speed greater than 5m/s and less than 10 m/s) is detected, the control is switched to playing of the previous/next music. As described in the above embodiments.
By implementing the embodiment of the invention, the music playing and the desktop display of the intelligent terminal are combined, so that the intelligent terminal is added with a new function, and when the music is played, the information related to the currently played music is displayed on the desktop of the intelligent terminal, so that a user can conveniently know the related information of the currently played music, the desktop display of the intelligent terminal is enriched, and the user experience is improved; and the operation of switching the operation interface by the user when playing the music is simplified, and convenience is provided for the user.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, therefore, any modifications, equivalents and improvements made within the spirit and principle of the present invention are within the scope of the present invention.