Movatterモバイル変換


[0]ホーム

URL:


CN108089830A - Song information display methods, device and mobile terminal - Google Patents

Song information display methods, device and mobile terminal
Download PDF

Info

Publication number
CN108089830A
CN108089830ACN201711310963.1ACN201711310963ACN108089830ACN 108089830 ACN108089830 ACN 108089830ACN 201711310963 ACN201711310963 ACN 201711310963ACN 108089830 ACN108089830 ACN 108089830A
Authority
CN
China
Prior art keywords
area
song
information
lock screen
screen interface
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.)
Granted
Application number
CN201711310963.1A
Other languages
Chinese (zh)
Other versions
CN108089830B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201711310963.1ApriorityCriticalpatent/CN108089830B/en
Publication of CN108089830ApublicationCriticalpatent/CN108089830A/en
Application grantedgrantedCritical
Publication of CN108089830BpublicationCriticalpatent/CN108089830B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种歌曲信息显示方法、装置及移动终端,该方法包括:获取锁屏界面上当前显示的壁纸;确定该壁纸中预设类型的对象所在的区域;根据该预设类型的对象所在的区域,确定歌曲信息在锁屏界面中的显示区域,该歌曲信息包括至少一种:歌曲名称、歌手名字和歌词;将该歌曲信息显示在该显示区域内。本发明技术方案中,当处于锁屏状态下播放歌曲时,移动终端可以根据锁屏界面上显示的歌曲壁纸及该壁纸中预设类型的对象在锁屏界面上的位置,来动态地确定歌曲名称、歌手名字和歌词等这些歌曲信息在锁屏界面上的显示位置,之后将这些歌曲信息显示在所确定的显示位置上,从而实现将歌曲壁纸和歌曲信息这些与歌曲相关的信息合理地显示在锁屏界面上。

The invention discloses a song information display method, device and mobile terminal. The method includes: obtaining the wallpaper currently displayed on the lock screen interface; determining the area where a preset type of object in the wallpaper is located; The area where the song is located determines the display area of the song information in the lock screen interface. The song information includes at least one of: song title, artist name and lyrics; the song information is displayed in the display area. In the technical solution of the present invention, when the song is played in the lock screen state, the mobile terminal can dynamically determine the song according to the song wallpaper displayed on the lock screen interface and the position of the object of the preset type in the wallpaper on the lock screen interface. The display position of the song information such as name, singer name and lyrics on the lock screen interface, and then display the song information at the determined display position, so as to realize the rational display of song-related information such as song wallpaper and song information on the lock screen.

Description

Translated fromChinese
歌曲信息显示方法、装置及移动终端Song information display method, device and mobile terminal

技术领域technical field

本发明涉及信息处理技术领域,尤其涉及一种歌曲信息显示方法、装置及移动终端。The present invention relates to the technical field of information processing, in particular to a song information display method, device and mobile terminal.

背景技术Background technique

随着移动互联网技术的发展,移动终端在人们的生活中越来越重要,一方面,由于移动终端方便携带,用户可以随时与家人和朋友保持联系,另一方面,由于移动终端功能丰富,用户可以通过移动终端放松情绪,例如使用移动终端播放歌曲。With the development of mobile Internet technology, mobile terminals are becoming more and more important in people's lives. On the one hand, users can keep in touch with family and friends at any time due to the portability of mobile terminals. On the other hand, due to the rich functions of mobile terminals, users can Relax emotions through the mobile terminal, for example, use the mobile terminal to play songs.

为了节省电量和防误触,越来越多的用户选择在移动终端处于锁屏状态下播放歌曲。目前,移动终端在锁屏状态下播放歌曲时,会在锁屏界面上显示当前歌曲对应的壁纸,同时还会显示当前歌曲对应的歌词、歌曲名称、歌手名字等。如何将这些与歌曲相关的信息合理地显示在锁屏界面上,已成为本领域技术人员亟待解决的技术问题。In order to save power and prevent false touches, more and more users choose to play songs when the mobile terminal is in a locked screen state. At present, when a mobile terminal plays a song in a locked screen state, the wallpaper corresponding to the current song will be displayed on the lock screen interface, and the lyrics, song name, singer name, etc. corresponding to the current song will also be displayed at the same time. How to reasonably display the information related to the songs on the lock screen interface has become a technical problem to be solved urgently by those skilled in the art.

发明内容Contents of the invention

本发明实施例提供了一种歌曲信息显示方法、装置及移动终端,以解决现有技术中无法将与歌曲相关的信息合理地显示在锁屏界面上的技术问题。Embodiments of the present invention provide a song information display method, device, and mobile terminal to solve the technical problem in the prior art that song-related information cannot be reasonably displayed on a lock screen interface.

为解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:

第一方面,本发明实施例还提供了一种歌曲信息显示方法,所述方法包括:In the first aspect, the embodiment of the present invention also provides a method for displaying song information, the method comprising:

获取锁屏界面上当前显示的壁纸;Get the wallpaper currently displayed on the lock screen interface;

确定所述壁纸中预设类型的对象所在的区域;determining the area where objects of a preset type in the wallpaper are located;

根据所述预设类型的对象所在的区域,确定歌曲信息在所述锁屏界面中的显示区域,其中,所述歌曲信息包括下述至少一种:歌曲名称、歌手名字和歌词;According to the area where the object of the preset type is located, determine the display area of song information in the lock screen interface, wherein the song information includes at least one of the following: song name, singer name and lyrics;

将所述歌曲信息显示在所述显示区域内。The song information is displayed in the display area.

第二方面,本发明实施例还提供了一种歌曲信息显示装置,所述装置包括:In the second aspect, the embodiment of the present invention also provides a song information display device, the device comprising:

壁纸获取单元,用于获取锁屏界面上当前显示的壁纸;A wallpaper acquiring unit, configured to acquire the wallpaper currently displayed on the lock screen interface;

第一区域确定单元,用于确定所述壁纸中预设类型的对象所在的区域;a first area determining unit, configured to determine an area where objects of a preset type in the wallpaper are located;

第二区域确定单元,用于根据所述预设类型的对象所在的区域,确定歌曲信息在所述锁屏界面中的显示区域,其中,所述歌曲信息包括下述至少一种:歌曲名称、歌手名字和歌词;The second area determining unit is configured to determine a display area of song information in the lock screen interface according to the area where the object of the preset type is located, wherein the song information includes at least one of the following: song name, Artist name and lyrics;

显示单元,用于将所述歌曲信息显示在所述显示区域内。a display unit, configured to display the song information in the display area.

第三方面,本发明实施例还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的歌曲信息显示程序,所述歌曲信息显示程序被所述处理器执行时实现上述歌曲信息显示方法的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a song information display program stored in the memory and operable on the processor, and the song information display program is controlled by The processor implements the steps of the above method for displaying song information when executed.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储歌曲信息显示程序,所述歌曲信息显示程序被处理器执行时实现上述歌曲信息显示方法的步骤。In a fourth aspect, the embodiment of the present invention also provides a computer-readable storage medium, where a song information display program is stored on the computer-readable storage medium, and when the song information display program is executed by a processor, the above song information display method is realized. A step of.

本发明实施例中,当处于锁屏状态下播放歌曲时,移动终端可以根据锁屏界面上当前显示的歌曲壁纸及该壁纸中预设类型的对象在锁屏界面上的位置,来动态地确定歌曲名称、歌手名字和歌词等这些歌曲信息在锁屏界面上的显示位置,之后将这些歌曲信息显示在所确定的显示位置上,从而实现将歌曲壁纸和歌曲信息这些与歌曲相关的信息合理地显示在锁屏界面上。In the embodiment of the present invention, when playing a song in the lock screen state, the mobile terminal can dynamically determine the song wallpaper according to the currently displayed song wallpaper on the lock screen interface and the position of the object of the preset type in the wallpaper on the lock screen interface. The display position of the song information such as the song name, artist name and lyrics on the lock screen interface, and then display the song information on the determined display position, so as to realize the rationalization of the song wallpaper and song information, which are related to the song. Shown on the lock screen.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:

图1是本发明的一个实施例的歌曲信息显示方法的流程图;Fig. 1 is the flowchart of the song information display method of an embodiment of the present invention;

图2是本发明的另一个实施例的歌曲信息显示方法的流程图;Fig. 2 is the flowchart of the song information display method of another embodiment of the present invention;

图3-0是本发明的一个实施例的锁屏界面的区域划分实例图;Fig. 3-0 is an example diagram of area division of the lock screen interface according to an embodiment of the present invention;

图3-1是本发明的一个实施例的锁屏界面上显示歌曲信息的一个实例图;Fig. 3-1 is an example diagram of displaying song information on the lock screen interface of an embodiment of the present invention;

图3-2是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;Fig. 3-2 is another example diagram of displaying song information on the lock screen interface according to an embodiment of the present invention;

图3-3是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;Fig. 3-3 is another example diagram of displaying song information on the lock screen interface according to an embodiment of the present invention;

图3-4是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;Fig. 3-4 is another example diagram of displaying song information on the lock screen interface of an embodiment of the present invention;

图3-5是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;3-5 are another example diagrams of song information displayed on the lock screen interface according to an embodiment of the present invention;

图3-6是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;3-6 are another example diagrams of song information displayed on the lock screen interface according to an embodiment of the present invention;

图3-7是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;3-7 are another example diagrams of song information displayed on the lock screen interface according to an embodiment of the present invention;

图3-8是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;3-8 are another example diagrams of displaying song information on the lock screen interface according to an embodiment of the present invention;

图3-9是本发明的一个实施例的锁屏界面上显示歌曲信息的另一个实例图;3-9 are another example diagrams of displaying song information on the lock screen interface according to an embodiment of the present invention;

图4-1是本发明的另一个实施例的锁屏界面上显示歌曲信息的一个实例图;Fig. 4-1 is an example diagram of song information displayed on the lock screen interface according to another embodiment of the present invention;

图4-2是本发明的另一个实施例的锁屏界面上显示歌曲信息的另一个实例图;Fig. 4-2 is another example diagram of song information displayed on the lock screen interface according to another embodiment of the present invention;

图4-3是本发明的另一个实施例的锁屏界面上显示歌曲信息的另一个实例图;Fig. 4-3 is another example diagram showing song information on the lock screen interface according to another embodiment of the present invention;

图5是本发明的一个实施例的歌曲信息显示装置的结构示意图;Fig. 5 is a schematic structural diagram of a song information display device according to an embodiment of the present invention;

图6是实现本发明各个实施例的一种移动终端的硬件结构示意图。Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供了一种歌曲信息显示方法、装置及移动终端。Embodiments of the present invention provide a song information display method, device and mobile terminal.

下面首先对本发明实施例提供的一种歌曲信息显示方法进行介绍。A method for displaying song information provided by an embodiment of the present invention is firstly introduced below.

需要说明的是,本发明实施例提供的歌曲信息显示方法适用于移动终端,在实际应用中,该移动终端可以包括:智能手机、平板电脑、智能手表、或个人数字助理等等,本发明实施例对此不作限定。It should be noted that the song information display method provided by the embodiment of the present invention is suitable for mobile terminals. In practical applications, the mobile terminal may include: smart phones, tablet computers, smart watches, or personal digital assistants, etc. Examples are not limited to this.

图1是本发明的一个实施例的歌曲信息显示方法的流程图,如图1所示,该方法可以包括以下步骤:Fig. 1 is the flowchart of the song information display method of an embodiment of the present invention, as shown in Fig. 1, this method may comprise the following steps:

在步骤101中,获取锁屏界面上当前显示的壁纸。In step 101, the wallpaper currently displayed on the lock screen interface is acquired.

本发明实施例中,锁屏界面指的移动终端处于锁屏状态时,该移动终端屏幕上显示的界面。移动终端处于锁屏状态下播放歌曲时,锁屏界面上显示的是当前正在播放的歌曲对应的壁纸,即歌曲壁纸。此外,锁屏界面上还会显示歌曲名称、歌手名字和歌词等歌曲信息,播放按钮、暂停按钮、前进按钮、后退按钮和加入我喜欢等功能按钮,以及运营商信息(例如,中国移动、中国联通或中国电信等等)、网速信息(例如,数据流量或无线网络)、电量信息、时间信息、提醒模式信息(例如,响铃和/或震动)和闹钟信息等与歌曲无关的常规信息。In the embodiment of the present invention, the lock screen interface refers to the interface displayed on the screen of the mobile terminal when the mobile terminal is in the screen lock state. When the mobile terminal is playing a song in a locked screen state, the lock screen interface displays the wallpaper corresponding to the currently playing song, that is, the song wallpaper. In addition, song information such as song name, artist name, and lyrics, function buttons such as play button, pause button, forward button, back button, and add to my favorite, and operator information (such as China Mobile, China Mobile, etc.) will also be displayed on the lock screen. China Unicom or China Telecom, etc.), network speed information (for example, data traffic or wireless network), battery information, time information, reminder mode information (for example, ringing and/or vibrating) and alarm clock information and other general information not related to songs .

本发明实施例中,当移动终端处于锁屏状态下播放歌曲时,为了合理地将与歌曲相关的信息显示在锁屏界面上,会首先获取该移动终端的锁屏界面上当前显示的歌曲壁纸。In the embodiment of the present invention, when the mobile terminal is in the lock screen state to play a song, in order to reasonably display the information related to the song on the lock screen interface, the song wallpaper currently displayed on the lock screen interface of the mobile terminal will first be obtained. .

在步骤102中,确定该壁纸中预设类型的对象所在的区域。In step 102, the area where the object of the preset type in the wallpaper is located is determined.

可以理解的是,对于歌曲壁纸,用户感兴趣的部分通常为歌曲壁纸中的人脸图像或者风景图像,因此,本发明实施例中,预设类型的对象可以包括下述至少一种:人脸图像和风景图像。It can be understood that, for the song wallpaper, the part that the user is interested in is usually the face image or the landscape image in the song wallpaper. Therefore, in the embodiment of the present invention, the preset type of object may include at least one of the following: a human face images and landscape images.

本发明实施例中,当预设类型的对象为人脸图像时,需要确定锁屏界面上当前显示的歌曲壁纸中人脸图像所在区域,在实际应用中,可以通过相关技术中的任意一种人脸识别技术,识别出歌曲壁纸中的人脸图像及确定该人脸图像的所在区域。In the embodiment of the present invention, when the object of the preset type is a human face image, it is necessary to determine the area where the human face image is located in the song wallpaper currently displayed on the lock screen interface. Face recognition technology recognizes the face image in the song wallpaper and determines the area where the face image is located.

此外,本发明实施例中,预设类型的对象可以为完整的人脸图像,也可以为人脸图像的一部分,例如人眼图像。In addition, in the embodiment of the present invention, the object of the preset type may be a complete human face image, or a part of the human face image, such as a human eye image.

本发明实施例中,当预设类型的对象为风景图像时,需要确定锁屏界面上当前显示的歌曲壁纸中风景图像所在区域,在实际应用中,可以通过相关技术中的任意一种图像识别技术,识别出歌曲壁纸中的风景图像及确定该风景图像的所在区域。In the embodiment of the present invention, when the preset type of object is a landscape image, it is necessary to determine the area where the landscape image is located in the song wallpaper currently displayed on the lock screen interface. In practical applications, any image recognition method in related technologies can be used. The technology recognizes the landscape image in the song wallpaper and determines the area where the landscape image is located.

考虑到歌曲壁纸中的主要涉及到的歌手形象、且用户最为感兴趣的部分通常是该歌手的面部时,因此,本发明实施例中,后续主要以预设类型的对象为人脸图像为例进行介绍。Considering that the image of the singer is mainly involved in the song wallpaper, and the part that the user is most interested in is usually the face of the singer, therefore, in the embodiment of the present invention, the follow-up mainly takes the preset type of object as a face image as an example. introduce.

在步骤103中,根据该预设类型的对象所在的区域,确定歌曲信息在锁屏界面中的显示区域,该歌曲信息包括下述至少一种:歌曲名称、歌手名字和歌词。In step 103, the display area of song information on the lock screen interface is determined according to the area where the object of the preset type is located, and the song information includes at least one of the following: song name, singer name, and lyrics.

本发明实施例中,显示区域指的是锁屏界面中用于显示歌曲信息的区域。In the embodiment of the present invention, the display area refers to an area used to display song information in the lock screen interface.

本发明实施例中,预设类型的对象所在的区域,与歌曲信息的显示区域可以是互斥的,即预设类型的对象所在的区域,与歌曲信息的显示区域之间没有重叠;或者,预设类型的对象所在的区域,与歌曲信息的显示区域之间部分重叠;或者,与歌曲信息的显示区域处于预设类型的对象所在的区域内,本发明实施例对此不作限定。In the embodiment of the present invention, the area where the object of the preset type is located and the display area of the song information may be mutually exclusive, that is, there is no overlap between the area where the object of the preset type is located and the display area of the song information; or, The area where the preset type of object is located partially overlaps with the display area of the song information; or, it is within the area where the preset type of object is located, which is not limited in this embodiment of the present invention.

为了避免歌曲信息将用户感兴趣的预设类型的对象遮挡住,优选的,预设类型的对象所在的区域,与歌曲信息的显示区域可以是互斥的,即将预设类型的对象和歌曲信息进行分别显示。In order to prevent the song information from blocking the preset type of object that the user is interested in, preferably, the area where the preset type of object is located can be mutually exclusive with the display area of the song information, that is, the preset type of object and the song information displayed separately.

在步骤104中,将该歌曲信息显示在该显示区域内。In step 104, the song information is displayed in the display area.

本发明实施例中,当歌曲信息中只包含一种信息时,例如歌曲信息中只包含歌词,该歌曲信息可以展示在该显示区域中的任意位置;当歌曲信息中包含至少两种信息时,该至少两种信息可以展示在该显示区域中的两个不同位置。In the embodiment of the present invention, when the song information contains only one kind of information, for example, the song information only contains lyrics, the song information can be displayed at any position in the display area; when the song information contains at least two kinds of information, The at least two kinds of information can be displayed in two different positions in the display area.

由上述实施例可见,该实施例中,当处于锁屏状态下播放歌曲时,移动终端可以根据锁屏界面上显示的歌曲壁纸及该壁纸中预设类型的对象在锁屏界面上的位置,来动态地确定歌曲名称、歌手名字和歌词等这些歌曲信息在锁屏界面上的显示位置,之后将这些歌曲信息显示在所确定的显示位置上,从而实现将歌曲壁纸和歌曲信息这些与歌曲相关的信息合理地显示在锁屏界面上。It can be seen from the above-mentioned embodiment that in this embodiment, when playing a song in the lock screen state, the mobile terminal can, according to the song wallpaper displayed on the lock screen interface and the position of the object of the preset type in the wallpaper on the lock screen interface, To dynamically determine the display position of the song information such as the song name, artist name and lyrics on the lock screen interface, and then display the song information on the determined display position, so as to achieve the song wallpaper and song information related to the song The information is reasonably displayed on the lock screen interface.

考虑到如果歌曲名称、歌手名字及歌词这些歌曲信息出现在锁屏界面上所使用的字体颜色,与显示区域内的壁纸颜色相同或相近(例如,歌词是白色的,显示区域内歌曲壁纸的颜色也是白色的),用户将难以从显示区域中辨别出歌曲信息,导致用户体验较差。为了解决这一问题,本发明提供的另一个实施例中,该实施例可以在图1所示实施例的基础上,在上述步骤104之前,还可以增加以下步骤:步骤105和步骤106,其中,Considering that if the song information such as song name, artist name and lyrics appear on the lock screen, the font color used is the same or similar to the color of the wallpaper in the display area (for example, the lyrics are white, and the color of the song wallpaper in the display area is also white), it will be difficult for the user to discern the song information from the display area, resulting in a poor user experience. In order to solve this problem, in another embodiment provided by the present invention, this embodiment can be based on the embodiment shown in Figure 1, before the above step 104, the following steps can also be added: step 105 and step 106, wherein ,

在步骤105中,获取用于确定歌曲信息的字体颜色的目标特征,其中,该目标特征包括下述至少一种:用户的情绪特征和显示区域内壁纸的图像特征,该图像特征包括下述至少一种:颜色特征和风格特征。In step 105, the target feature used to determine the font color of the song information is acquired, wherein the target feature includes at least one of the following: the user's emotional feature and the image feature of the wallpaper in the display area, and the image feature includes at least the following One: color features and style features.

本发明实施例中,用户的情绪特征可以包括:高兴、愤怒、难过和欢喜等等。可选的,可以采集用户的语音,使用语音信号情感识别技术对用户的语音进行分析,得到该用户的情绪特征。可选的,也可以获取用户在应用程序中发布的心情签名,使用文字情感识别技术对用户的心情签名进行分析,得到该用户的情绪特征。可选的,也可以提示用户输入此时的情绪特征,从而直接获得该用户的情绪特征,本发明实施例对此不作限定。In the embodiment of the present invention, the user's emotional characteristics may include: happiness, anger, sadness, joy and so on. Optionally, the user's voice may be collected, and the voice signal emotion recognition technology may be used to analyze the user's voice to obtain the user's emotional characteristics. Optionally, the mood signature published by the user in the application program may also be obtained, and the text emotion recognition technology is used to analyze the user's mood signature to obtain the user's emotional characteristics. Optionally, the user may also be prompted to input the emotional characteristics at this time, so as to directly obtain the user's emotional characteristics, which is not limited in this embodiment of the present invention.

本发明实施例中,颜色特征指的是壁纸的颜色,风格特征指的是壁纸的风格,风格特征可以包括:可爱、简约、哀伤等等。In the embodiment of the present invention, the color feature refers to the color of the wallpaper, and the style feature refers to the style of the wallpaper, and the style feature may include: cute, simple, sad, and so on.

本发明实施例中,可以通过相关技术中的任一种图像识别技术,来获取该显示区域内壁纸的颜色特征和风格特征。In the embodiment of the present invention, the color feature and style feature of the wallpaper in the display area can be acquired by any image recognition technology in the related art.

可选的,本发明实施例中,可以只获取用户的情绪特征,此时,目标特征为用户的情绪特征。Optionally, in this embodiment of the present invention, only the user's emotional features may be obtained, and in this case, the target feature is the user's emotional features.

可选的,本发明实施例中,可以只获取显示区域内壁纸的颜色特征,此时,目标特征为显示区域内壁纸的颜色特征。Optionally, in this embodiment of the present invention, only the color features of the wallpaper in the display area may be obtained. In this case, the target feature is the color feature of the wallpaper in the display area.

可选的,本发明实施例中,可以只获取显示区域内壁纸的风格特征,此时,目标特征为显示区域内壁纸的风格特征。Optionally, in this embodiment of the present invention, only the style features of the wallpaper in the display area may be obtained. In this case, the target feature is the style feature of the wallpaper in the display area.

考虑到在确定字体颜色时所参考的特征越多,所确定出的字体颜色越合理,优选的,本发明实施例中,获取用户的情绪特征,同时获取显示区域内壁纸的颜色特征和风格特征,此时,目标特征包括:用户的情绪特征、显示区域内壁纸的颜色特征和风格特征。Considering that the more features are referred to when determining the font color, the more reasonable the determined font color is, preferably, in the embodiment of the present invention, the emotional characteristics of the user are obtained, and the color characteristics and style characteristics of the wallpaper in the display area are obtained at the same time , at this time, the target features include: the user's emotional feature, the color feature and the style feature of the wallpaper in the display area.

在步骤106中,根据该目标特征,确定该歌曲信息的字体颜色。In step 106, the font color of the song information is determined according to the target feature.

本发明实施例中,可以根据显示区域内壁纸和/或用户的情绪,来设置歌曲信息在显示时所使用的字体颜色。In the embodiment of the present invention, the font color used for displaying song information can be set according to the wallpaper in the display area and/or the mood of the user.

可选的,本发明实施例中,可以根据用户的情绪特征,来设置歌曲信息在显示时所使用的字体颜色。Optionally, in this embodiment of the present invention, the font color used for displaying song information may be set according to the user's emotional characteristics.

可选的,本发明实施例中,可以根据显示区域内壁纸的颜色特征,来设置歌曲信息在显示时所使用的字体颜色。Optionally, in this embodiment of the present invention, the font color used when displaying song information may be set according to the color characteristics of the wallpaper in the display area.

可选的,本发明实施例中,可以根据显示区域内壁纸的风格特征,来设置歌曲信息在显示时所使用的字体颜色。Optionally, in this embodiment of the present invention, the font color used for displaying song information may be set according to the style characteristics of the wallpaper in the display area.

考虑到在确定字体颜色时所参考的特征越多,所确定出的字体颜色越合理,优选的,本发明一个实施方式中,可以根据用户的情绪特征、颜色特征和风格特征,来设置歌曲信息在显示时所使用的字体颜色。此时,上述步骤106可以包括以下步骤:步骤1061、步骤1062、步骤1063和步骤1064,其中,Considering that the more features that are referred to when determining the font color, the more reasonable the determined font color is, preferably, in one embodiment of the present invention, the song information can be set according to the user's emotional characteristics, color characteristics and style characteristics The font color to use when displaying. At this time, the above step 106 may include the following steps: step 1061, step 1062, step 1063 and step 1064, wherein,

在步骤1061中,根据预设第一关系表,分别确定用户的情绪特征对应的特征值x、显示区域内壁纸的颜色特征对应的特征值y和显示区域内壁纸的风格特征对应的特征值z,其中,该预设第一关系表中记录有用户的情绪特征、颜色特征、风格特征与特征值的对应关系。In step 1061, according to the preset first relational table, respectively determine the feature value x corresponding to the user's emotional feature, the feature value y corresponding to the color feature of the wallpaper in the display area, and the feature value z corresponding to the style feature of the wallpaper in the display area , wherein, the preset first relationship table records the corresponding relationship between the user's emotional features, color features, style features and feature values.

本发明实施例中,可以通过预设第一关系表,将目标特征进行量化。第一关系表中记录的对应关系,可以由用户进行设定或修改,也可以由移动终端通过自我学习进行设定,本发明实施例对此不作限定。In the embodiment of the present invention, the target feature can be quantified by presetting the first relational table. The corresponding relationship recorded in the first relationship table may be set or modified by the user, or may be set by the mobile terminal through self-learning, which is not limited in this embodiment of the present invention.

在步骤1062中,根据所确定的特征值x、y、z,以及预设计算公式M=Ax+By+Cz+D,计算综合匹配度,其中,M为综合匹配度,A、B和C均为权重系数,D为修正系数。In step 1062, according to the determined characteristic values x, y, z, and the preset calculation formula M=Ax+By+Cz+D, the comprehensive matching degree is calculated, wherein, M is the comprehensive matching degree, A, B and C Both are weight coefficients, and D is the correction coefficient.

本发明实施例中,A、B、C和D的取值可以由用户自行设定,也可以由移动终端通过自我学习进行设定,本发明实施例对此不作限定。In the embodiment of the present invention, the values of A, B, C and D can be set by the user, or can be set by the mobile terminal through self-learning, which is not limited in the embodiment of the present invention.

作为一个例子,A=0.3,B=0.5,C=0.2,D=0,此时,M=x*0.3+y*0.5+z*0.2。As an example, A=0.3, B=0.5, C=0.2, D=0, at this time, M=x*0.3+y*0.5+z*0.2.

在步骤1063中,根据预设第二关系表,确定该综合匹配度对应的目标字体颜色,其中,该第二关系表中记录有综合匹配度与字体颜色的对应关系。In step 1063, the target font color corresponding to the comprehensive matching degree is determined according to the preset second relational table, wherein the second relational table records the correspondence between the comprehensive matching degree and the font color.

本发明实施例中,可以通过预设第二关系表,将字体颜色量化。第二关系表中记录的对应关系,可以由用户进行设定或修改,也可以由移动终端通过自我学习进行设定,本发明实施例对此不作限定。In the embodiment of the present invention, the font color can be quantized by presetting the second relational table. The corresponding relationship recorded in the second relationship table may be set or modified by the user, or set by the mobile terminal through self-learning, which is not limited in this embodiment of the present invention.

本发明实施例中,为了提供多种可能的备选,可以依据综合匹配度确定出多个字体颜色。In the embodiment of the present invention, in order to provide multiple possible alternatives, multiple font colors may be determined according to the comprehensive matching degree.

可以理解的是,在听歌时,用户通常处于相对比较平静的状态,因此,本发明实施例中,在选择字体颜色的时候,可以将视觉冲击力特别强的颜色(例如黑色、蓝色等)排除掉,即使该种颜色的综合匹配度最高,可以选择综合匹配度第二的字体颜色,此时,将综合匹配度第二的字体颜色作为目标字体颜色。It can be understood that when listening to a song, the user is usually in a relatively calm state. Therefore, in the embodiment of the present invention, when selecting a font color, a color with a particularly strong visual impact (such as black, blue, etc.) can be selected. ) is excluded, even if the comprehensive matching degree of this color is the highest, the font color with the second comprehensive matching degree can be selected, and at this time, the font color with the second comprehensive matching degree is used as the target font color.

此外,有些情况下匹配出的字体颜色,比如黄色、绿色等,对于色弱或者色盲用户来说,并不是很友好。此时,可以将视觉冲击力比较强的颜色(例如,蓝色、黑色、红色等)作为目标字体颜色。在此情况下,可以为用户提供用于自主选择是否选择视觉冲击力比较强字体颜色的按钮,供用户选择,并给出温馨提醒,说明该种方式比较适合视力情况比较弱的用户。In addition, in some cases, the matched font colors, such as yellow, green, etc., are not very friendly to color-weak or color-blind users. At this time, a color with relatively strong visual impact (for example, blue, black, red, etc.) may be used as the target font color. In this case, the user can be provided with a button for independently choosing whether to choose a font color with strong visual impact for the user to choose, and a warm reminder is given to explain that this method is more suitable for users with weak eyesight.

在步骤1064中,将该目标字体颜色确定为用于显示歌曲信息的字体颜色。In step 1064, the target font color is determined as the font color for displaying song information.

由上述实施方式可见,考虑到在确定字体颜色时所参考的特征越多,所确定出的字体颜色越合理,该实施方式中,可以同时结合锁屏界面上壁纸的颜色、风格和用户的情绪特征来确定歌曲信息的字体颜色,从而确保所确定出的字体颜色更为合理。It can be seen from the above embodiments that considering that the more features are referred to when determining the font color, the more reasonable the determined font color is. In this embodiment, the color and style of the wallpaper on the lock screen interface and the user's emotion can be combined Features are used to determine the font color of the song information, thereby ensuring that the determined font color is more reasonable.

此时,上述步骤104可以包括:At this point, the above step 104 may include:

按照所确定的字体颜色,将该歌曲信息显示在该显示区域内。According to the determined font color, the song information is displayed in the display area.

本发明实施例中,按照步骤1064中所确定的显示歌曲信息的字体颜色,将歌曲信息显示在该显示区域内。In the embodiment of the present invention, the song information is displayed in the display area according to the font color for displaying the song information determined in step 1064 .

由上述实施例可见,该实施例中,可以根据显示区域内壁纸的颜色、风格和/或用户的情绪特征,来调整出现在该显示区域内歌曲信息的字体颜色,从而实现将歌曲信息与显示区域内歌曲壁纸区分开来,达到与歌曲壁纸相得益彰的效果。It can be seen from the above-mentioned embodiment that in this embodiment, the font color of the song information appearing in the display area can be adjusted according to the color, style and/or user's emotional characteristics of the wallpaper in the display area, so as to realize the integration of the song information and the display area. The song wallpaper in the area is distinguished to achieve the effect of complementing the song wallpaper.

图2是本发明的另一个实施例的歌曲信息显示方法的流程图,本发明实施例中,预设类型的对象为人脸图像,此时,如图2所示,该方法可以包括以下步骤:Fig. 2 is the flow chart of the song information display method of another embodiment of the present invention, in the embodiment of the present invention, the object of preset type is face image, at this moment, as shown in Fig. 2, this method can comprise the following steps:

在步骤201中,获取锁屏界面上当前显示的壁纸。In step 201, the wallpaper currently displayed on the lock screen interface is acquired.

本发明实施例中的步骤201与图1所示实施例中的步骤101类似,在此不再赘述,详情请见图1所示实施例中的内容。Step 201 in the embodiment of the present invention is similar to step 101 in the embodiment shown in FIG. 1 , and will not be repeated here. For details, please refer to the content in the embodiment shown in FIG. 1 .

在步骤202中,确定该壁纸中的人脸图像。In step 202, the face images in the wallpaper are determined.

移动终端在锁屏状态下播放歌曲时,该移动终端的锁屏界面上通常显示当前正在播放的歌曲对应的壁纸,即歌曲壁纸,而歌曲壁纸通常都会以歌手海报的形式出现。When a mobile terminal plays a song in a locked screen state, the lock screen interface of the mobile terminal usually displays the wallpaper corresponding to the currently playing song, that is, the song wallpaper, and the song wallpaper usually appears in the form of a singer poster.

本发明实施例中,为了避免歌手的脸被文字挡住,会识别歌曲壁纸中出现的人脸图像。In the embodiment of the present invention, in order to avoid the singer's face being blocked by the text, the face image appearing in the song wallpaper will be recognized.

本发明实施例中,可以通过相关技术中的任意一种人脸识别技术,识别出歌曲壁纸中的人脸图像及确定该人脸图像的所在区域。In the embodiment of the present invention, any face recognition technology in the related art can be used to identify the face image in the song wallpaper and determine the area where the face image is located.

在步骤203中,计算该人脸图像在锁屏界面中所占的比值。In step 203, the proportion of the face image in the lock screen interface is calculated.

本发明实施例中,当确定歌曲壁纸中有单个人脸时,计算单个人脸在锁屏界面中所占的比例;当确定歌曲壁纸中有多个人脸时,计算多个人脸在锁屏界面中所占的比例。In the embodiment of the present invention, when it is determined that there is a single human face in the song wallpaper, calculate the proportion of a single human face in the lock screen interface; proportion of the .

在步骤204中,当该比值低于或等于预设阈值时,确定该人脸图像所在的区域;之后执行步骤205。In step 204, when the ratio is lower than or equal to the preset threshold, the area where the face image is located is determined; then step 205 is performed.

本发明实施例中,可以通过对海量歌曲壁纸的分析,得到预设阈值,也可以依据经验,对预设阈值进行设定。通常情况下,结合对海量歌曲壁纸的分析及经验,将预设阈值设定为1/3。In the embodiment of the present invention, the preset threshold can be obtained by analyzing a large number of song wallpapers, and the preset threshold can also be set based on experience. Under normal circumstances, combined with the analysis and experience of massive song wallpapers, the preset threshold is set to 1/3.

本发明实施例中,可以在人脸图像在锁屏界面中所占的比值低于或等于预设阈值时,确定人脸图像所在的区域,之后依据人脸图像所在的区域,来确定歌曲信息的显示区域,以避免整个人脸图像被歌曲信息遮挡。In the embodiment of the present invention, when the ratio of the face image in the lock screen interface is lower than or equal to the preset threshold, the area where the face image is located can be determined, and then the song information can be determined according to the area where the face image is located. display area to avoid the entire face image being blocked by song information.

为了便于理解,以预设阈值为1/3为例对本发明实施例进行描述。For ease of understanding, the embodiment of the present invention is described by taking the preset threshold value of 1/3 as an example.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,进一步确定人脸图像所在的区域,即人脸图像在锁屏界面上所占的区域。In the embodiment of the present invention, when the ratio of the face image in the lock screen interface is lower than or equal to 1/3, the area where the face image is located is further determined, that is, the area occupied by the face image on the lock screen interface .

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,若按照人脸图像所在的区域,将锁屏界面中功能按钮之外的区域进行划分,可以得到9个区域,如图3-0中所示的三行三列的区域。通常情况下,步骤204中确定出的人脸图像所在的区域为图3-0所示9个区域中任意一个。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, if the area where the face image is located, the area other than the function buttons in the lock screen interface is divided , you can get 9 areas, such as the area with three rows and three columns as shown in Figure 3-0. Usually, the area where the face image determined in step 204 is located is any one of the nine areas shown in FIG. 3-0.

在步骤205中,将锁屏界面中该人脸图像所在的区域之外的区域,确定为歌曲信息在锁屏界面中的显示区域。In step 205, an area other than the area where the face image is located in the lock screen interface is determined as the display area of the song information in the lock screen interface.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于预设阈值时,将锁屏界面中该人脸图像所在的区域之外的区域,确定为歌曲信息的显示区域。具体的,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-1所示,如果人脸图像所在的区域位于图3-1的第一行第一列,则将图3-1中第二行第三列的区域确定为歌曲名字和歌手名字的显示区域,将图3-1中第三行的区域确定为歌词的显示区域。此外,也可以将图3-1中的第二行第一列或第二行第二列确定为歌曲名字和歌手名字的显示区域,也可以将图3-1中第二行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-1中第二行第三列的区域确定为歌曲名字和歌手名字的显示区域,将图3-1中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to the preset threshold, the area in the lock screen interface other than the area where the face image is located is determined as the song information. Display area. Specifically, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-1, if the area where the face image is located is located in the first row of Figure 3-1 One column, the area in the second row and third column in Figure 3-1 is determined as the display area for the song name and singer name, and the area in the third row in Figure 3-1 is determined as the display area for lyrics. In addition, the first column of the second row or the second column of the second row in Figure 3-1 can also be determined as the display area of the song name and singer name, or the area of the second row in Figure 3-1 can be determined as The display area of the lyrics, but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area in the second row and third column in Figure 3-1 is determined as the display area of the song name and singer name, and the The area in the third row in Figure 3-1 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-2所示,如果人脸图像所在的区域位于图3-2的第一行第二列,则将图3-2中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-2中第三行的区域确定为歌词的显示区域。此外,也可以将图3-2中的第二行第二列或第二行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图3-2中第二行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-2中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-2中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-2, if the area where the face image is located is located at the first For the second column of one row, the area of the second row and the first column in Figure 3-2 is determined as the display area of song name and singer name, and the area of the third row in Figure 3-2 is determined as the display area of lyrics. In addition, the second row and the second column or the second row and the third column in Figure 3-2 can also be determined as the display area of the song name and singer name, and the area of the second row in Figure 3-2 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area in the second row and the first column in Figure 3-2 is determined as the display area of the song name and singer name, and the The area in the third line in Figure 3-2 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-3所示,如果人脸图像所在的区域位于图3-3的第一行第三列,则将图3-3中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-3中第三行的区域确定为歌词的显示区域。此外,也可以将图3-3中的第二行第二列或第二行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图3-3中第二行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-3中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-3中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-3, if the area where the face image is located is located at the first For the third column in one row, the area in the second row and the first column in Figure 3-3 is determined as the display area for the song name and singer name, and the area in the third row in Figure 3-3 is determined as the display area for lyrics. In addition, the second row and the second column or the second row and the third column in Fig. 3-3 can also be determined as the display area of the song name and singer name, and the region of the second row in Fig. 3-3 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the user's visual characteristics, preferably, the area in the second row and the first column in Figure 3-3 is determined as the display area of the song name and singer name, and the The area in the third line in Figure 3-3 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-4所示,如果人脸图像所在的区域位于图3-4的第二行第一列,则将图3-4中第一行第三列的区域确定为歌曲名字和歌手名字的显示区域,将图3-4中第三行的区域确定为歌词的显示区域。此外,也可以将图3-4中的第一行第一列或第一行第二列确定为歌曲名字和歌手名字的显示区域,也可以将图3-4中第一行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-4中第一行第三列的区域确定为歌曲名字和歌手名字的显示区域,将图3-4中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-4, if the area where the face image is located is located at the first In the first column of the second row, the area of the first row and the third column in Figure 3-4 is determined as the display area of the song name and singer name, and the area of the third row in Figure 3-4 is determined as the display area of the lyrics. In addition, the first row and the first column or the first row and the second column in Fig. 3-4 can also be determined as the display area of the song name and singer name, and the region of the first row in Fig. 3-4 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area in the first row and the third column in Figure 3-4 is determined as the display area of the song name and the singer's name. The area in the third line in Figure 3-4 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-5所示,如果人脸图像所在的区域位于图3-5的第二行第二列,则将图3-5中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-5中第三行的区域确定为歌词的显示区域。此外,也可以将图3-5中的第一行第二列或第一行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图3-5中第一行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-5中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-5中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-5, if the area where the face image is located is located at the first For the second row and the second column, the area of the first row and the first column in Figure 3-5 is determined as the display area of the song name and singer name, and the area of the third row in Figure 3-5 is determined as the display area of the lyrics. In addition, the second column of the first row or the third column of the first row in Figure 3-5 can also be determined as the display area of the song name and singer name, and the area of the first row in Figure 3-5 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the user's visual characteristics, preferably, the area of the first row and the first column in Figure 3-5 is determined as the display area of the song name and the singer's name, and the The area in the third line in Figure 3-5 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-6所示,如果人脸图像所在的区域位于图3-6的第二行第三列,则将图3-6中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-6中第三行的区域确定为歌词的显示区域。此外,也可以将图3-6中的第一行第二列或第一行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图3-6中第一行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-6中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-6中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-6, if the area where the face image is located is located on the first screen in Figure 3-6 In the second row and the third column, the area in the first row and the first column in Figure 3-6 is determined as the display area of the song name and singer name, and the area in the third row in Figure 3-6 is determined as the display area of the lyrics. In addition, the second column of the first row or the third column of the first row in Figure 3-6 can also be determined as the display area of the song name and singer name, and the area of the first row in Figure 3-6 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the user's visual characteristics, preferably, the area of the first row and the first column in Figure 3-6 is determined as the display area of the song name and the singer's name, and the The area in the third row in Figure 3-6 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-7所示,如果人脸图像所在的区域位于图3-7的第三行第一列,则将图3-7中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-7中第二行的区域确定为歌词的显示区域。此外,也可以将图3-7中的第一行第二列或第一行第三列确定为歌曲名字和歌手名字的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-7中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-7, if the area where the face image is located is located at the first Three rows and the first column, then determine the area of the first row and the first column in Figure 3-7 as the display area of the song name and singer name, and determine the area of the second row in Figure 3-7 as the display area of the lyrics. In addition, the first row and the second column or the first row and the third column in Figure 3-7 can also be determined as the display area of the song name and singer name, but considering the farther away from the "face" and the user's visual characteristics , preferably, the area of the first row and the first column in Fig. 3-7 is determined as the display area of the name of the song and the name of the singer.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-8所示,如果人脸图像所在的区域位于图3-8的第三行第二列,则将图3-8中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-8中第二行的区域确定为歌词的显示区域。此外,也可以将图3-8中的第一行第二列或第一行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图3-8中第一行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-8中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-8中第二行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-8, if the area where the face image is located is located at the first For three rows and the second column, the area of the first row and the first column in Figure 3-8 is determined as the display area of the song name and singer name, and the area of the second row in Figure 3-8 is determined as the display area of the lyrics. In addition, the second column of the first row or the third column of the first row in Figure 3-8 can also be determined as the display area of the song name and singer name, and the area of the first row in Figure 3-8 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the user's visual characteristics, preferably, the area of the first row and the first column in Figure 3-8 is determined as the display area of the song name and the singer's name, and the The area of the second line in Figure 3-8 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值低于或等于1/3时,如图3-9所示,如果人脸图像所在的区域位于图3-9的第三行第三列,则将图3-9中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-9中第二行的区域确定为歌词的显示区域。此外,也可以将图3-9中的第一行第二列或第一行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图3-9中第一行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图3-9中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图3-9中第二行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is lower than or equal to 1/3, as shown in Figure 3-9, if the area where the face image is located is located at the first Three rows and the third column, the area of the first row and the first column in Figure 3-9 is determined as the display area of the song name and singer name, and the area of the second row in Figure 3-9 is determined as the display area of the lyrics. In addition, the second column of the first row or the third column of the first row in Figure 3-9 can also be determined as the display area of the song name and singer name, and the area of the first row in Figure 3-9 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area of the first row and the first column in Figure 3-9 is determined as the display area of the song name and singer name, and the The area of the second line in Figure 3-9 is determined as the display area of lyrics.

需要说明的是,歌曲壁纸出现多个人脸的情况,通常属于组合或者乐队的情况,在此情况下,每个人脸的大小不会差距太大,且每个人脸的大小不会太大。因此,通常在脸的长度和宽度上,只会占据图3-0所示九宫格的其中一个。由图3-1至图3-9可知,人脸、歌曲名称、歌手名字以及歌词是分别占据上、中、下三行,所以即使多个人脸的宽度很大,也只会占据九宫格一整行的位置,不会影响其他信息的显示。It should be noted that the song wallpaper with multiple faces usually belongs to a group or band. In this case, the size of each face will not vary too much, and the size of each face will not be too large. Therefore, usually in terms of the length and width of the face, only one of the nine grids shown in Figure 3-0 will be occupied. From Figure 3-1 to Figure 3-9, it can be seen that the face, song name, singer name and lyrics occupy the upper, middle and lower lines respectively, so even if the width of multiple faces is large, they will only occupy the entire Jiugongge The position of the row does not affect the display of other information.

在步骤206中,当该比值大于预设阈值时,确定该人脸图像的人眼图像所在的区域;之后执行步骤207。In step 206, when the ratio is greater than the preset threshold, the area where the human eye image of the face image is located is determined; then step 207 is executed.

本发明实施例中,可以在人脸图像在锁屏界面中所占的比值大于预设阈值时,确定人眼图像所在的区域,之后依据人眼图像所在的区域,来确定歌曲信息的显示区域,以避免人眼图像被歌曲信息遮挡。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is greater than the preset threshold, the area where the human eye image is located can be determined, and then the display area of the song information can be determined according to the area where the human eye image is located , to avoid the human eye image being blocked by song information.

本发明实施例中,当人脸图像在锁屏界面中所占的比值大于1/3(此时,人脸属于比较大的情况)时,如果继续参照人脸的位置,那么歌曲名称、歌手名字以及歌词总会遮挡住部分的人脸,此时,不能再参照人脸的位置,需要参考人眼的位置。即需要进一步确定人脸图像中的人眼图像所在的区域,即人眼图像在锁屏界面上所占的区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is greater than 1/3 (at this time, the face is relatively large), if you continue to refer to the position of the face, then the name of the song, singer Names and lyrics will always cover part of the face. At this time, you can no longer refer to the position of the face, but need to refer to the position of the human eyes. That is, it is necessary to further determine the area where the human eye image in the face image is located, that is, the area occupied by the human eye image on the lock screen interface.

本发明实施例中,当人脸图像在锁屏界面中所占的比值大于1/3时,仍可以按照人眼图像所在的区域,将锁屏界面中功能按钮之外的区域划分为图3-0中所示的三行三列的区域。通常情况下,步骤206中确定出的人眼图像所在的区域为图3-0所示三行区域中任意一个。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is greater than 1/3, the area outside the function buttons in the lock screen interface can still be divided according to the area where the human eye image is located as shown in Figure 3 The area of three rows and three columns shown in -0. Usually, the area where the human eye image is determined in step 206 is any one of the three rows shown in FIG. 3-0 .

在步骤207中,将锁屏界面中该人眼图像所在的区域之外的区域,确定为歌曲信息在锁屏界面中的显示区域。In step 207, an area other than the area where the human eye image is located in the lock screen interface is determined as the display area of the song information in the lock screen interface.

本发明实施例中,当人脸图像在锁屏界面中所占的比值大于预设阈值时,将锁屏界面中该人眼图像所在的区域之外的区域,确定为歌曲信息的显示区域。具体的,当人脸图像在锁屏界面中所占的比值大于1/3时,如图4-1所示,如果人眼图像所在的区域位于图4-1的第一行,则将图4-1中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图4-1中第三行的区域确定为歌词的显示区域。此外,也可以将图4-1中的第二行第二列或第二行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图4-1中第二行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图4-1中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图4-1中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is greater than the preset threshold, the area in the lock screen interface other than the area where the human eye image is located is determined as the display area of the song information. Specifically, when the proportion of the face image in the lock screen interface is greater than 1/3, as shown in Figure 4-1, if the area where the human eye image is located is located in the first line of Figure 4-1, the image will be The area in the second row and the first column in 4-1 is determined as the display area of song name and singer name, and the area in the third row in Figure 4-1 is determined as the display area of lyrics. In addition, the second row and the second column or the second row and the third column in Figure 4-1 can also be determined as the display area of the song name and singer name, and the area of the second row in Figure 4-1 can also be determined as The display area of the lyrics, but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area in the second row and the first column in Figure 4-1 is determined as the display area of the song name and singer name, and the The area in the third line in Figure 4-1 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值大于1/3时,如图4-2所示,如果人眼图像所在的区域位于图4-2的第二行,则将图4-2中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图4-2中第三行的区域确定为歌词的显示区域。此外,也可以将图4-2中的第一行第二列或第一行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图4-2中第一行的区域确定为歌词的显示区域,但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图4-2中第一行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图4-2中第三行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is greater than 1/3, as shown in Figure 4-2, if the area where the human eye image is located is located in the second line of Figure 4-2, Then determine the area in the first row and the first column in Figure 4-2 as the display area for song names and singer names, and determine the area in the third line in Figure 4-2 as the display area for lyrics. In addition, the second column or the third column of the first row in Figure 4-2 can also be determined as the display area of the song name and singer name, or the area of the first row in Figure 4-2 can be determined as The display area of the lyrics, but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area of the first row and the first column in Figure 4-2 is determined as the display area of the song name and singer name, and the The area in the third row in Figure 4-2 is determined as the display area of lyrics.

本发明实施例中,当人脸图像在锁屏界面中所占的比值大于1/3时,如图4-3所示,如果人眼图像所在的区域位于图4-3的第三行,则将图4-3中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图4-3中第一行的区域确定为歌词的显示区域。此外,也可以将图4-3中的第二行第二列或第二行第三列确定为歌曲名字和歌手名字的显示区域,也可以将图4-3中第二行的区域确定为歌词的显示区域但是考虑到距离“人脸”越远及用户的视觉特性,优选的,将图4-3中第二行第一列的区域确定为歌曲名字和歌手名字的显示区域,将图4-3中第一行的区域确定为歌词的显示区域。In the embodiment of the present invention, when the proportion of the face image in the lock screen interface is greater than 1/3, as shown in Figure 4-3, if the area where the human eye image is located is located in the third row of Figure 4-3, Then determine the area in the second row and the first column in Figure 4-3 as the display area for the song name and singer name, and determine the area in the first row in Figure 4-3 as the display area for the lyrics. In addition, the second row and the second column or the second row and the third column in Figure 4-3 can also be determined as the display area of the song name and singer name, and the area of the second row in Figure 4-3 can also be determined as The display area of the lyrics but considering the farther away from the "face" and the visual characteristics of the user, preferably, the area in the second row and the first column in Figure 4-3 is determined as the display area of the song name and the singer's name. The area of the first row in 4-3 is determined as the display area of lyrics.

需要说明的是,当人脸图像在锁屏界面中所占的比值等于或大于2/3时,步骤206和步骤207中的方法尤为适用。It should be noted that the method in step 206 and step 207 is particularly applicable when the proportion of the face image in the lock screen interface is equal to or greater than 2/3.

在通过步骤204至步骤207确定出歌曲名称、歌手名字和歌词的显示区域后,还可以进一步确定歌词的字体颜色,此时,将歌词附近的位置限定为一个长方形,其中,该长方形的长为屏幕的宽度,宽为歌词本身高度以外,向上和向下分别扩展2倍歌词高度;依据该长方形内壁纸的图像特征和/或用户的情绪特征,确定歌词的字体颜色,之后按照所确定的字体颜色在锁屏界面上显示该歌词(具体确定方法可以参考前述步骤105和步骤106中的内容),以便可以将歌词与歌曲壁纸鲜明地区分开,便于用户查看。After step 204 to step 207 determine the display area of song title, singer's name and lyrics, the font color of lyrics can also be further determined. At this time, the position near the lyrics is defined as a rectangle, wherein the length of the rectangle is The width of the screen, which is wider than the height of the lyrics itself, expands up and down by twice the height of the lyrics respectively; according to the image characteristics of the wallpaper in the rectangle and/or the emotional characteristics of the user, determine the font color of the lyrics, and then follow the determined font The lyrics are displayed in color on the lock screen interface (for the specific determination method, please refer to the content in the aforementioned step 105 and step 106), so that the lyrics can be clearly distinguished from the song wallpaper, which is convenient for users to view.

在步骤208中,将该歌曲信息显示在该显示区域内。In step 208, the song information is displayed in the display area.

由上述实施例可见,该实施例中,当处于锁屏状态下播放歌曲时,移动终端可以根据锁屏界面上显示的歌曲壁纸及该壁纸中人脸图像在锁屏界面上的位置,来动态地确定歌曲名称、歌手名字和歌词等这些歌曲信息在锁屏界面上的显示位置,之后将这些歌曲信息显示在所确定的显示位置上,避免歌曲信息将壁纸中的人脸图像或人眼图像遮挡住,从而实现将歌曲壁纸和歌曲信息这些与歌曲相关的信息合理地显示在锁屏界面上。As can be seen from the above-mentioned embodiment, in this embodiment, when playing a song under the lock screen state, the mobile terminal can dynamically perform the song wallpaper according to the song wallpaper displayed on the lock screen interface and the position of the face image in the wallpaper on the lock screen interface. accurately determine the display position of the song information such as song name, artist name and lyrics on the lock screen interface, and then display the song information on the determined display position, so as to prevent the song information from distorting the human face image or human eye image in the wallpaper. Covering, so that the information related to the song, such as the song wallpaper and song information, can be reasonably displayed on the lock screen interface.

本发明提供的另一个实施例中,该实施例可以在图1或图2所示实施例的基础上,增加以下步骤:In another embodiment provided by the present invention, this embodiment can add the following steps on the basis of the embodiment shown in Figure 1 or Figure 2:

当检测到用户在锁屏界面上触发的预设操作时,隐藏该锁屏界面上显示的与歌曲无关的信息,其中,该与歌曲无关的信息包括下述至少一种:运营商信息、网速信息、电量信息、时间信息、提醒模式信息和闹钟信息。When the preset operation triggered by the user on the lock screen interface is detected, the information unrelated to the song displayed on the lock screen interface is hidden, wherein the information unrelated to the song includes at least one of the following: operator information, network Speed information, battery information, time information, reminder mode information and alarm clock information.

本发明实施例中,预设操作可以包括:点击移动终端锁屏界面中指定位置的操作、或点击移动终端锁屏界面中任意位置的操作。In the embodiment of the present invention, the preset operation may include: an operation of clicking a designated position in the lock screen interface of the mobile terminal, or an operation of clicking any position in the lock screen interface of the mobile terminal.

由上述实施例可见,该实施例中,可以在检测到用户触发预设操作时,将锁屏界面上的与歌曲无关的信息进行隐藏,只显示与歌曲相关的信息,从而避免与歌曲无关的信息给用户造成干扰。It can be seen from the above-mentioned embodiment that in this embodiment, when it is detected that the user triggers a preset operation, the information not related to the song on the lock screen interface can be hidden, and only the information related to the song is displayed, thereby avoiding the information not related to the song. The information is disruptive to the user.

图5是本发明的一个实施例的歌曲信息显示装置的结构示意图,如图5所示,歌曲信息显示装置500,可以包括:壁纸获取单元501、第一区域确定单元502、第二区域确定单元503和显示单元504,其中,FIG. 5 is a schematic structural diagram of a song information display device according to an embodiment of the present invention. As shown in FIG. 5 , the song information display device 500 may include: a wallpaper acquisition unit 501, a first area determination unit 502, and a second area determination unit 503 and display unit 504, wherein,

壁纸获取单元501,用于获取锁屏界面上当前显示的壁纸;A wallpaper acquiring unit 501, configured to acquire the wallpaper currently displayed on the lock screen interface;

第一区域确定单元502,用于确定所述壁纸中预设类型的对象所在的区域;A first area determining unit 502, configured to determine an area where objects of a preset type in the wallpaper are located;

第二区域确定单元503,用于根据所述预设类型的对象所在的区域,确定歌曲信息在锁屏界面中的显示区域,其中,所述歌曲信息包括下述至少一种:歌曲名称、歌手名字和歌词;The second area determination unit 503 is configured to determine the display area of song information on the lock screen interface according to the area where the object of the preset type is located, wherein the song information includes at least one of the following: song name, singer name and lyrics;

显示单元504,用于将所述歌曲信息显示在所述显示区域内。The display unit 504 is configured to display the song information in the display area.

由上述实施例可见,该实施例中,当处于锁屏状态下播放歌曲时,移动终端可以根据锁屏界面上显示的歌曲壁纸及该壁纸中预设类型的对象在锁屏界面上的位置,来动态地确定歌曲名称、歌手名字和歌词等这些歌曲信息在锁屏界面上的显示位置,之后将这些歌曲信息显示在所确定的显示位置上,从而实现将歌曲壁纸和歌曲信息这些与歌曲相关的信息合理地显示在锁屏界面上。It can be seen from the above-mentioned embodiment that in this embodiment, when playing a song in the lock screen state, the mobile terminal can, according to the song wallpaper displayed on the lock screen interface and the position of the object of the preset type in the wallpaper on the lock screen interface, To dynamically determine the display position of the song information such as the song name, artist name and lyrics on the lock screen interface, and then display the song information on the determined display position, so as to achieve the song wallpaper and song information related to the song The information is reasonably displayed on the lock screen interface.

本发明提供的另一个实施例中,歌曲信息显示装置500,还可以包括:In another embodiment provided by the present invention, the song information display device 500 may also include:

目标特征获取单元,用于获取用于确定所述歌曲信息的字体颜色的目标特征,其中,所述目标特征包括下述至少一种:用户的情绪特征和所述显示区域内壁纸的图像特征,所述图像特征包括下述至少一种:颜色特征和风格特征;a target feature acquisition unit, configured to acquire target features for determining the font color of the song information, wherein the target features include at least one of the following: user's emotional features and image features of wallpaper in the display area, The image features include at least one of the following: color features and style features;

字体颜色确定单元,用于根据所述目标特征获取单元获取到的目标特征,确定所述歌曲信息的字体颜色;a font color determining unit, configured to determine the font color of the song information according to the target feature acquired by the target feature acquiring unit;

所述显示单元504,可以包括:The display unit 504 may include:

歌曲信息显示子单元,用于按照所述字体颜色确定单元确定出的字体颜色,将所述歌曲信息显示在所述显示区域内。The song information display subunit is configured to display the song information in the display area according to the font color determined by the font color determination unit.

本发明提供的另一个实施例中,所述目标特征可以包括:情绪特征、颜色特征和风格特征;In another embodiment provided by the present invention, the target features may include: emotional features, color features and style features;

所述字体颜色确定单元,可以包括:The font color determining unit may include:

特征值确定子单元,用于根据预设第一关系表,分别确定所述情绪特征对应的特征值x、所述颜色特征对应的特征值y和所述风格特征对应的特征值z,其中,所述预设第一关系表中记录有情绪特征、颜色特征、风格特征与特征值的对应关系;The feature value determination subunit is used to determine the feature value x corresponding to the emotional feature, the feature value y corresponding to the color feature, and the feature value z corresponding to the style feature according to the preset first relationship table, wherein, The corresponding relationship between emotional features, color features, style features and feature values is recorded in the preset first relational table;

匹配度计算子单元,用于根据所述x、y、z,以及预设计算公式M=Ax+By+Cz+D,计算综合匹配度,其中,M为综合匹配度,A、B和C均为权重系数,D为修正系数;The matching degree calculation subunit is used to calculate the comprehensive matching degree according to the x, y, z, and the preset calculation formula M=Ax+By+Cz+D, wherein, M is the comprehensive matching degree, and A, B and C Both are weight coefficients, and D is the correction coefficient;

第一字体颜色确定子单元,用于根据预设第二关系表,确定所述综合匹配度对应的目标字体颜色,其中,所述第二关系表中记录有综合匹配度与字体颜色的对应关系;The first font color determination subunit is configured to determine the target font color corresponding to the comprehensive matching degree according to a preset second relational table, wherein the second relational table records the correspondence between the comprehensive matching degree and font color ;

第二字体颜色确定子单元,用于将所述目标字体颜色确定为用于显示所述歌曲信息的字体颜色。The second font color determination subunit is configured to determine the target font color as the font color used to display the song information.

本发明提供的另一个实施例中,所述预设类型的对象可以包括:人脸图像;In another embodiment provided by the present invention, the preset types of objects may include: human face images;

所述第一区域确定单元502,可以包括:The first area determining unit 502 may include:

人脸图像确定子单元,用于确定所述壁纸中的人脸图像;A human face image determining subunit, configured to determine the human face image in the wallpaper;

屏占比值计算子单元,用于计算所述人脸图像在所述锁屏界面中所占的比值;A screen-to-body ratio calculation subunit, configured to calculate the ratio of the face image in the lock screen interface;

第一区域确定子单元,用于在所述比值低于或等于预设阈值的情况下,确定所述壁纸中所述人脸图像所在的区域;A first area determining subunit, configured to determine the area where the face image in the wallpaper is located when the ratio is lower than or equal to a preset threshold;

第二区域确定子单元,用于在所述比值大于预设阈值的情况下,确定所述壁纸中所述人脸图像的人眼图像所在的区域。The second area determination subunit is configured to determine the area where the human eye image of the human face image in the wallpaper is located when the ratio is greater than a preset threshold.

本发明提供的另一个实施例中,所述第二区域确定单元503,可以包括:In another embodiment provided by the present invention, the second area determination unit 503 may include:

第三区域确定子单元,用于在所述比值低于或等于预设阈值的情况下,将所述锁屏界面中所述人脸图像所在的区域之外的区域,确定为歌曲信息在所述锁屏界面中的显示区域;The third area determination subunit is configured to determine an area other than the area where the face image is located in the lock screen interface as the area where the song information is located in the case where the ratio is lower than or equal to a preset threshold. The display area in the lock screen interface;

第四区域确定子单元,用于在所述比值大于预设阈值的情况下,将所述锁屏界面中所述人眼图像所在的区域之外的区域,确定为歌曲信息在所述锁屏界面中的显示区域。The fourth area determination subunit is configured to determine an area of the lock screen interface other than the area where the human eye image is located as the song information on the lock screen when the ratio is greater than a preset threshold The display area in the interface.

本发明提供的另一个实施例中,歌曲信息显示装置500,还可以包括:In another embodiment provided by the present invention, the song information display device 500 may also include:

隐藏单元,用于在检测到用户在所述锁屏界面上触发的预设操作的情况下,隐藏所述锁屏界面上显示的与歌曲无关的信息,其中,所述与歌曲无关的信息包括下述至少一种:运营商信息、网速信息、电量信息、时间信息、提醒模式信息和闹钟信息。A hiding unit, configured to hide information unrelated to songs displayed on the lock screen interface when a preset operation triggered by the user on the lock screen interface is detected, wherein the information unrelated to songs includes At least one of the following: operator information, network speed information, battery information, time information, reminder mode information and alarm clock information.

本发明实施例提供的移动终端能够实现图1或图2的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal provided by the embodiment of the present invention can implement various processes implemented by the mobile terminal in the method embodiment in FIG. 1 or FIG. 2 , and details are not repeated here to avoid repetition.

图6是实现本发明各个实施例的一种移动终端的硬件结构示意图,如图6所示,该移动终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. As shown in FIG. 6, the mobile terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, and an input unit 604 , a sensor 605 , a display unit 606 , a user input unit 607 , an interface unit 608 , a memory 609 , a processor 610 , and a power supply 611 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 6 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine certain components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器610,用于获取锁屏界面上当前显示的壁纸;确定所述壁纸中预设类型的对象所在的区域;根据所述预设类型的对象所在的区域,确定歌曲信息在所述锁屏界面中的显示区域,其中,所述歌曲信息包括下述至少一种:歌曲名称、歌手名字和歌词;将所述歌曲信息显示在所述显示区域内。Wherein, the processor 610 is configured to obtain the wallpaper currently displayed on the lock screen interface; determine the area where the object of the preset type in the wallpaper is located; and determine the song information in the area according to the area where the object of the preset type is located. A display area in the lock screen interface, wherein the song information includes at least one of the following: song title, artist name and lyrics; and the song information is displayed in the display area.

本发明实施例中,当处于锁屏状态下播放歌曲时,移动终端可以根据锁屏界面上显示的歌曲壁纸及该壁纸中预设类型的对象在锁屏界面上的位置,来动态地确定歌曲名称、歌手名字和歌词等这些歌曲信息在锁屏界面上的显示位置,之后将这些歌曲信息显示在所确定的显示位置上,从而实现将歌曲壁纸和歌曲信息这些与歌曲相关的信息合理地显示在锁屏界面上。In the embodiment of the present invention, when the song is played in the lock screen state, the mobile terminal can dynamically determine the song according to the song wallpaper displayed on the lock screen interface and the position of the object of the preset type in the wallpaper on the lock screen interface. The display position of the song information such as name, artist name and lyrics on the lock screen interface, and then display the song information on the determined display position, so as to realize the rational display of song-related information such as song wallpaper and song information on the lock screen.

应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 610; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 601 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 601 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 602, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与移动终端600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 can also provide audio output related to a specific function performed by the mobile terminal 600 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.

输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processing unit 6041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 606 . The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage media) or sent via the radio frequency unit 601 or the network module 602 . The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 601 for output in the case of a phone call mode.

移动终端600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在移动终端600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 6061 and the display panel 6061 when the mobile terminal 600 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元607可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 607 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072 . The touch panel 6071, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 6071 or near the touch panel 6071). operate). The touch panel 6071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 610, receive the command sent by the processor 610 and execute it. In addition, the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 6071 , the user input unit 607 may also include other input devices 6072 . Specifically, other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 6071 can be covered on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near it, it will be sent to the processor 610 to determine the type of the touch event, and then the processor 610 can The type of event provides a corresponding visual output on the display panel 6061. Although in FIG. 6, the touch panel 6071 and the display panel 6061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元608为外部装置与移动终端600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端600内的一个或多个元件或者可以用于在移动终端600和外部装置之间传输数据。The interface unit 608 is an interface for connecting an external device to the mobile terminal 600 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 608 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 609 can be used to store software programs as well as various data. The memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器610是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The processor 610 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610 .

移动终端600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 600 can also include a power supply 611 (such as a battery) for supplying power to various components. Preferably, the power supply 611 can be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端600包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 600 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的歌曲信息显示程序,该歌曲信息显示程序被处理器610执行时实现上述歌曲信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 610, a memory 609, a song information display program stored on the memory 609 and operable on the processor 610, the song information display program is processed When executed by the controller 610, each process of the above embodiment of the song information display method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有歌曲信息显示程序,该歌曲信息显示程序被处理器执行时实现上述歌曲信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, where a song information display program is stored on the computer-readable storage medium, and when the song information display program is executed by a processor, each process of the above-mentioned song information display method embodiment is realized, and The same technical effect can be achieved, so in order to avoid repetition, details will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (13)

Translated fromChinese
1.一种歌曲信息显示方法,其特征在于,所述方法包括:1. A method for displaying song information, characterized in that the method comprises:获取锁屏界面上当前显示的壁纸;Get the wallpaper currently displayed on the lock screen interface;确定所述壁纸中预设类型的对象所在的区域;determining the area where objects of a preset type in the wallpaper are located;根据所述预设类型的对象所在的区域,确定歌曲信息在所述锁屏界面中的显示区域,其中,所述歌曲信息包括下述至少一种:歌曲名称、歌手名字、歌词;According to the area where the object of the preset type is located, determine the display area of song information in the lock screen interface, wherein the song information includes at least one of the following: song name, singer name, lyrics;将所述歌曲信息显示在所述显示区域内。The song information is displayed in the display area.2.根据权利要求1所述的方法,其特征在于,在所述将所述歌曲信息显示在所述显示区域内的步骤之前,还包括:2. The method according to claim 1, further comprising: before the step of displaying the song information in the display area:获取用于确定歌曲信息的字体颜色的目标特征,其中,所述目标特征包括下述至少一种:用户的情绪特征和所述显示区域内壁纸的图像特征,所述图像特征包括下述至少一种:颜色特征和风格特征;Acquiring target features for determining the font color of the song information, wherein the target features include at least one of the following: user's emotional features and image features of wallpaper in the display area, and the image features include at least one of the following Species: color characteristics and style characteristics;根据所述目标特征,确定所述歌曲信息的字体颜色;Determine the font color of the song information according to the target feature;所述将所述歌曲信息显示在所述显示区域内的步骤,包括:The step of displaying the song information in the display area includes:按照所述字体颜色,将所述歌曲信息显示在所述显示区域内。The song information is displayed in the display area according to the font color.3.根据权利要求2所述的方法,其特征在于,所述目标特征包括:用户的情绪特征、所述显示区域内壁纸的颜色特征和风格特征;3. The method according to claim 2, wherein the target features include: user's emotional features, color features and style features of wallpapers in the display area;所述根据所述目标特征,确定所述歌曲信息的字体颜色的步骤,包括:The step of determining the font color of the song information according to the target feature includes:根据预设第一关系表,分别确定所述情绪特征对应的特征值x、所述颜色特征对应的特征值y和所述风格特征对应的特征值z,其中,所述预设第一关系表中记录有情绪特征、颜色特征、风格特征与特征值的对应关系;According to the preset first relationship table, respectively determine the feature value x corresponding to the emotional feature, the feature value y corresponding to the color feature, and the feature value z corresponding to the style feature, wherein the preset first relationship table The corresponding relationship between emotional features, color features, style features and feature values is recorded in ;根据所述x、y、z,以及预设计算公式M=Ax+By+Cz+D,计算综合匹配度,其中,M为综合匹配度,A、B和C均为权重系数,D为修正系数;According to the x, y, z, and the preset calculation formula M=Ax+By+Cz+D, calculate the comprehensive matching degree, wherein, M is the comprehensive matching degree, A, B and C are weight coefficients, and D is the correction coefficient;根据预设第二关系表,确定所述综合匹配度对应的目标字体颜色,其中,所述第二关系表中记录有综合匹配度与字体颜色的对应关系;Determine the target font color corresponding to the comprehensive matching degree according to a preset second relational table, wherein the second relational table records the correspondence between the comprehensive matching degree and the font color;将所述目标字体颜色确定为用于显示所述歌曲信息的字体颜色。The target font color is determined as a font color for displaying the song information.4.根据权利要求1所述的方法,其特征在于,所述预设类型的对象包括:人脸图像;4. The method according to claim 1, wherein the preset type of object comprises: a human face image;所述确定所述壁纸中预设类型的对象所在的区域的步骤,包括:The step of determining the area where the object of the preset type in the wallpaper is located includes:确定所述壁纸中的人脸图像;Determine the face image in the wallpaper;计算所述人脸图像在所述锁屏界面中所占的比值;Calculating the ratio of the face image in the lock screen interface;当所述比值低于或等于预设阈值时,确定所述壁纸中所述人脸图像所在的区域;When the ratio is lower than or equal to a preset threshold, determine the area where the face image in the wallpaper is located;当所述比值大于预设阈值时,确定所述壁纸中所述人脸图像的人眼图像所在的区域。When the ratio is greater than the preset threshold, determine the area where the human eye image of the human face image in the wallpaper is located.5.根据权利要求4所述的方法,其特征在于,所述根据所述预设类型的对象所在的区域,确定歌曲信息在所述锁屏界面中的显示区域的步骤,包括:5. The method according to claim 4, wherein the step of determining the display area of song information in the lock screen interface according to the area where the object of the preset type is located comprises:当所述比值低于或等于预设阈值时,将所述锁屏界面中所述人脸图像所在的区域之外的区域,确定为歌曲信息在所述锁屏界面中的显示区域;When the ratio is lower than or equal to a preset threshold, an area other than the area where the face image is located in the lock screen interface is determined as the display area of song information in the lock screen interface;当所述比值大于预设阈值时,将所述锁屏界面中所述人眼图像所在的区域之外的区域,确定为歌曲信息在所述锁屏界面中的显示区域。When the ratio is greater than the preset threshold, an area other than the area where the human eye image is located in the lock screen interface is determined as a display area of song information in the lock screen interface.6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, further comprising:当检测到用户在所述锁屏界面上触发的预设操作时,隐藏所述锁屏界面上显示的与歌曲无关的信息,其中,所述与歌曲无关的信息包括下述至少一种:运营商信息、网速信息、电量信息、时间信息、提醒模式信息和闹钟信息。When the preset operation triggered by the user on the lock screen interface is detected, the information unrelated to the song displayed on the lock screen interface is hidden, wherein the information unrelated to the song includes at least one of the following: operation Provider information, network speed information, battery information, time information, reminder mode information and alarm clock information.7.一种歌曲信息显示装置,其特征在于,所述装置包括:7. A song information display device, characterized in that said device comprises:壁纸获取单元,用于获取锁屏界面上当前显示的壁纸;A wallpaper acquiring unit, configured to acquire the wallpaper currently displayed on the lock screen interface;第一区域确定单元,用于确定所述壁纸中预设类型的对象所在的区域;a first area determining unit, configured to determine an area where objects of a preset type in the wallpaper are located;第二区域确定单元,用于根据所述预设类型的对象所在的区域,确定歌曲信息在所述锁屏界面中的显示区域,其中,所述歌曲信息包括下述至少一种:歌曲名称、歌手名字和歌词;The second area determining unit is configured to determine a display area of song information in the lock screen interface according to the area where the object of the preset type is located, wherein the song information includes at least one of the following: song name, Artist name and lyrics;显示单元,用于将所述歌曲信息显示在所述显示区域内。a display unit, configured to display the song information in the display area.8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The device according to claim 7, further comprising:目标特征获取单元,用于获取用于确定歌曲信息的字体颜色的目标特征,其中,所述目标特征包括下述至少一种:用户的情绪特征和所述显示区域内壁纸的图像特征,所述图像特征包括下述至少一种:颜色特征和风格特征;A target feature acquisition unit, configured to acquire target features for determining font colors of song information, wherein the target features include at least one of the following: user's emotional features and image features of wallpapers in the display area, the Image features include at least one of the following: color features and style features;字体颜色确定单元,用于根据所述目标特征获取单元获取到的目标特征,确定所述歌曲信息的字体颜色;a font color determining unit, configured to determine the font color of the song information according to the target feature acquired by the target feature acquiring unit;所述显示单元,包括:The display unit includes:歌曲信息显示子单元,用于按照所述字体颜色确定单元确定出的字体颜色,将所述歌曲信息显示在所述显示区域内。The song information display subunit is configured to display the song information in the display area according to the font color determined by the font color determination unit.9.根据权利要求8所述的装置,其特征在于,所述目标特征包括:用户的情绪特征、所述显示区域内壁纸的颜色特征和风格特征;9. The device according to claim 8, wherein the target features include: user's emotional features, color features and style features of wallpapers in the display area;所述字体颜色确定单元,包括:The font color determination unit includes:特征值确定子单元,用于根据预设第一关系表,分别确定所述情绪特征对应的特征值x、所述颜色特征对应的特征值y和所述风格特征对应的特征值z,其中,所述预设第一关系表中记录有情绪特征、颜色特征、风格特征与特征值的对应关系;The feature value determination subunit is used to determine the feature value x corresponding to the emotional feature, the feature value y corresponding to the color feature, and the feature value z corresponding to the style feature according to the preset first relationship table, wherein, The corresponding relationship between emotional features, color features, style features and feature values is recorded in the preset first relational table;匹配度计算子单元,用于根据所述x、y、z,以及预设计算公式M=Ax+By+Cz+D,计算综合匹配度,其中,M为综合匹配度,A、B和C均为权重系数,D为修正系数;The matching degree calculation subunit is used to calculate the comprehensive matching degree according to the x, y, z, and the preset calculation formula M=Ax+By+Cz+D, wherein, M is the comprehensive matching degree, and A, B and C Both are weight coefficients, and D is the correction coefficient;第一字体颜色确定子单元,用于根据预设第二关系表,确定所述综合匹配度对应的目标字体颜色,其中,所述第二关系表中记录有综合匹配度与字体颜色的对应关系;The first font color determination subunit is configured to determine the target font color corresponding to the comprehensive matching degree according to a preset second relational table, wherein the second relational table records the correspondence between the comprehensive matching degree and font color ;第二字体颜色确定子单元,用于将所述目标字体颜色确定为用于显示所述歌曲信息的字体颜色。The second font color determination subunit is configured to determine the target font color as the font color used to display the song information.10.根据权利要求7所述的装置,其特征在于,所述预设类型的对象包括:人脸图像;10. The device according to claim 7, wherein the objects of the preset type include: human face images;所述第一区域确定单元,包括:The first area determination unit includes:人脸图像确定子单元,用于确定所述壁纸中的人脸图像;A human face image determining subunit, configured to determine the human face image in the wallpaper;屏占比值计算子单元,用于计算所述人脸图像在所述锁屏界面中所占的比值;A screen-to-body ratio calculation subunit, configured to calculate the ratio of the face image in the lock screen interface;第一区域确定子单元,用于在所述比值低于或等于预设阈值的情况下,确定所述壁纸中所述人脸图像所在的区域;A first area determining subunit, configured to determine the area where the face image in the wallpaper is located when the ratio is lower than or equal to a preset threshold;第二区域确定子单元,用于在所述比值大于预设阈值的情况下,确定所述壁纸中所述人脸图像的人眼图像所在的区域。The second area determination subunit is configured to determine the area where the human eye image of the human face image in the wallpaper is located when the ratio is greater than a preset threshold.11.根据权利要求10所述的装置,其特征在于,所述第二区域确定单元,包括:11. The device according to claim 10, wherein the second area determining unit comprises:第三区域确定子单元,用于在所述比值低于或等于预设阈值的情况下,将所述锁屏界面中所述人脸图像所在的区域之外的区域,确定为歌曲信息在所述锁屏界面中的显示区域;The third area determination subunit is configured to determine an area other than the area where the face image is located in the lock screen interface as the area where the song information is located in the case where the ratio is lower than or equal to a preset threshold. The display area in the lock screen interface;第四区域确定子单元,用于在所述比值大于预设阈值的情况下,将所述锁屏界面中所述人眼图像所在的区域之外的区域,确定为歌曲信息在所述锁屏界面中的显示区域。The fourth area determination subunit is configured to determine an area of the lock screen interface other than the area where the human eye image is located as the song information on the lock screen when the ratio is greater than a preset threshold The display area in the interface.12.根据权利要求7所述的装置,其特征在于,所述装置还包括:12. The device according to claim 7, further comprising:隐藏单元,用于在检测到用户在所述锁屏界面上触发的预设操作的情况下,隐藏所述锁屏界面上显示的与歌曲无关的信息,其中,所述与歌曲无关的信息包括下述至少一种:运营商信息、网速信息、电量信息、时间信息、提醒模式信息和闹钟信息。A hiding unit, configured to hide information unrelated to songs displayed on the lock screen interface when a preset operation triggered by the user on the lock screen interface is detected, wherein the information unrelated to songs includes At least one of the following: operator information, network speed information, battery information, time information, reminder mode information and alarm clock information.13.一种移动终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的歌曲信息显示程序,所述歌曲信息显示程序被所述处理器执行时实现如权利要求1至6中任一项所述的歌曲信息显示方法的步骤。13. A mobile terminal, characterized in that it includes a processor, a memory, and a song information display program stored on the memory and operable on the processor, and the song information display program is executed by the processor When realizing the steps of the song information display method as described in any one of claims 1 to 6.
CN201711310963.1A2017-12-112017-12-11Song information display methods, device and mobile terminalActiveCN108089830B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711310963.1ACN108089830B (en)2017-12-112017-12-11Song information display methods, device and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711310963.1ACN108089830B (en)2017-12-112017-12-11Song information display methods, device and mobile terminal

Publications (2)

Publication NumberPublication Date
CN108089830Atrue CN108089830A (en)2018-05-29
CN108089830B CN108089830B (en)2019-10-29

Family

ID=62174816

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711310963.1AActiveCN108089830B (en)2017-12-112017-12-11Song information display methods, device and mobile terminal

Country Status (1)

CountryLink
CN (1)CN108089830B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111241334A (en)*2020-01-172020-06-05广州酷狗计算机科技有限公司Method, device, system, equipment and storage medium for displaying song information page
CN112383810A (en)*2020-11-102021-02-19北京字跳网络技术有限公司Lyric video display method and device, electronic equipment and computer readable medium
CN112965776A (en)*2021-03-112021-06-15广州酷狗计算机科技有限公司Display method and device of screen saver picture, terminal and computer readable storage medium
WO2025050815A1 (en)*2023-09-082025-03-13华为技术有限公司Wallpaper processing method and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102868822A (en)*2012-09-242013-01-09广东欧珀移动通信有限公司Lyric display method implemented by mobile terminal
CN104915005A (en)*2015-06-082015-09-16中国科学院自动化研究所Method for achieving emotional colors through colors
CN105573746A (en)*2015-12-102016-05-11广东欧珀移动通信有限公司Control attribute processing method and device
CN105979338A (en)*2016-05-162016-09-28武汉斗鱼网络科技有限公司System and method for matching colors according to emotions of bullet screen contents
CN106020612A (en)*2016-05-252016-10-12维沃移动通信有限公司Data display method and mobile terminal
CN106447507A (en)*2016-10-162017-02-22广东聚联电子商务股份有限公司Social network information processing system and method
CN106502614A (en)*2016-10-262017-03-15维沃移动通信有限公司A kind of font control method and mobile terminal
CN106874239A (en)*2015-12-142017-06-20中兴通讯股份有限公司It is a kind of to show the method and device for reading text
CN107454255A (en)*2017-07-282017-12-08维沃移动通信有限公司A kind of lyric display method, mobile terminal and computer-readable recording medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102868822A (en)*2012-09-242013-01-09广东欧珀移动通信有限公司Lyric display method implemented by mobile terminal
CN104915005A (en)*2015-06-082015-09-16中国科学院自动化研究所Method for achieving emotional colors through colors
CN105573746A (en)*2015-12-102016-05-11广东欧珀移动通信有限公司Control attribute processing method and device
CN106874239A (en)*2015-12-142017-06-20中兴通讯股份有限公司It is a kind of to show the method and device for reading text
CN105979338A (en)*2016-05-162016-09-28武汉斗鱼网络科技有限公司System and method for matching colors according to emotions of bullet screen contents
CN106020612A (en)*2016-05-252016-10-12维沃移动通信有限公司Data display method and mobile terminal
CN106447507A (en)*2016-10-162017-02-22广东聚联电子商务股份有限公司Social network information processing system and method
CN106502614A (en)*2016-10-262017-03-15维沃移动通信有限公司A kind of font control method and mobile terminal
CN107454255A (en)*2017-07-282017-12-08维沃移动通信有限公司A kind of lyric display method, mobile terminal and computer-readable recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111241334A (en)*2020-01-172020-06-05广州酷狗计算机科技有限公司Method, device, system, equipment and storage medium for displaying song information page
CN111241334B (en)*2020-01-172024-05-31广州酷狗计算机科技有限公司Method, device, system, equipment and storage medium for displaying song information page
CN112383810A (en)*2020-11-102021-02-19北京字跳网络技术有限公司Lyric video display method and device, electronic equipment and computer readable medium
WO2022100103A1 (en)*2020-11-102022-05-19北京字跳网络技术有限公司Lyrics video display method and apparatus, electronic device, and computer readable medium
CN112965776A (en)*2021-03-112021-06-15广州酷狗计算机科技有限公司Display method and device of screen saver picture, terminal and computer readable storage medium
WO2025050815A1 (en)*2023-09-082025-03-13华为技术有限公司Wallpaper processing method and electronic device

Also Published As

Publication numberPublication date
CN108089830B (en)2019-10-29

Similar Documents

PublicationPublication DateTitle
CN107817939B (en)Image processing method and mobile terminal
CN109343759B (en)Screen-turning display control method and terminal
WO2019196929A1 (en)Video data processing method and mobile terminal
CN107728923B (en) An operation processing method and mobile terminal
CN108089830B (en)Song information display methods, device and mobile terminal
CN109002340A (en)A kind of screen locking method and electronic equipment
WO2021036553A1 (en)Icon display method and electronic device
CN108519850A (en) A keyboard interface display method and mobile terminal
CN109166164B (en)Expression picture generation method and terminal
CN107635073A (en) Method for operating a mobile terminal and the mobile terminal
WO2019076377A1 (en)Image viewing method and mobile terminal
CN108418950B (en) Message reminder method and mobile terminal
CN108132749B (en)Image editing method and mobile terminal
CN110855921B (en)Video recording control method and electronic equipment
CN108319386A (en)A kind of display screen false-touch prevention method and mobile terminal
CN108366221A (en)A kind of video call method and terminal
CN111026305A (en)Audio processing method and electronic equipment
CN108664818A (en)A kind of unlock control method and device
CN108196781A (en) Interface display method and mobile terminal
CN107835495A (en)A kind of message prompt method, device and mobile terminal
CN107944040B (en)Lyric display method and mobile terminal
CN110780795A (en)Screen capturing method and electronic equipment
CN107967086B (en) Method and device for arranging icons of mobile terminal, and mobile terminal
CN108628534A (en) Character display method and mobile terminal
CN108710521A (en)A kind of note generation method and terminal device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp