技术领域technical field
本发明涉及通信技术领域,尤其涉及一种数据显示方法及移动终端。The invention relates to the field of communication technology, in particular to a data display method and a mobile terminal.
背景技术Background technique
随着智能移动终端的普及,用户对于移动终端的功能多样化的需求越来越高,有越来越多的用户习惯后台开启多个应用程序,例如边听音频文件边上网聊天。当在后台播放音频文件,用户需要在移动终端的主界面上看到该音频文件所对应的文本信息,例如后台播放某首歌曲时,用户希望在主界面上看到该首歌曲的歌曲名称、演唱者以及歌词等信息。现有技术中的音乐播放器,通过在主界面上增加一悬浮窗或挂件的形式显示播放歌曲的相关文字信息。但是悬浮窗或挂件需要占用待机界面亦或者遮挡住某些应用图标,当用户需要点击应用图标对其进行某些操作时,悬浮窗或者挂件的遮挡影响了用户对相关应用图标的正常使用,为用户操作造成严重不便。With the popularization of smart mobile terminals, users have higher and higher requirements for the diversification of functions of mobile terminals, and more and more users are used to opening multiple applications in the background, such as chatting online while listening to audio files. When playing an audio file in the background, the user needs to see the text information corresponding to the audio file on the main interface of the mobile terminal. For example, when playing a certain song in the background, the user hopes to see the song title, Artist and lyrics and other information. In the music player in the prior art, the relevant text information of playing songs is displayed by adding a floating window or a pendant on the main interface. However, the floating window or widget needs to occupy the standby interface or cover some application icons. When the user needs to click on the application icon to perform certain operations on it, the blocking of the floating window or widget affects the normal use of the relevant application icons by the user. Serious inconvenience caused by user operation.
发明内容Contents of the invention
本发明实施例提供了一种数据显示方法及移动终端,以解决现有技术中通过悬浮窗或挂件显示文本信息,遮挡应用图标,容易引起用户误操纵的问题。Embodiments of the present invention provide a data display method and a mobile terminal to solve the problem in the prior art that displaying text information through a floating window or a pendant blocks application icons and easily causes misoperation by users.
第一方面,本发明实施例提供了一种数据显示方法,包括:In a first aspect, an embodiment of the present invention provides a data display method, including:
获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据;Obtaining an instruction for displaying text data on the current display interface of the mobile terminal, wherein the text data is the text data of the playing file executed in the background;
根据该指令,确定当前显示界面中图标间隙区域;其中,图标间隙区域为当前显示界面中除应用图标之外的显示区域;According to the instruction, the icon gap area in the current display interface is determined; wherein, the icon gap area is a display area in the current display interface except application icons;
将后台执行的播放文件的文本数据在图标间隙区域显示。Display the text data of the playing file executed in the background in the icon gap area.
第二方面,本发明实施例还提供了一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:
获取模块,用于获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据;The obtaining module is used to obtain an instruction to display text data on the current display interface of the mobile terminal, wherein the text data is the text data of the playing file executed in the background;
处理模块,用于根据该指令,确定当前显示界面中图标间隙区域;其中,图标间隙区域为当前显示界面中除应用图标之外的显示区域;A processing module, configured to determine the icon gap area in the current display interface according to the instruction; wherein, the icon gap area is a display area in the current display interface except application icons;
显示模块,用于将后台执行的播放文件的文本数据在图标间隙区域显示。The display module is used to display the text data of the playing file executed in the background in the icon gap area.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
利用各个应用图标之间的图标间隙区域,将待显示的文本数据在显示界面上进行显示,可避免文本数据对应用图标的遮挡问题,解决了因遮挡应用图标而造成的误操作的问题。The text data to be displayed is displayed on the display interface by using the icon gap area between each application icon, which can avoid the blocking problem of the application icon by the text data, and solve the problem of misoperation caused by blocking the application icon.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1表示本发明第一实施例的数据显示方法流程图;Fig. 1 shows the flow chart of the data display method of the first embodiment of the present invention;
图2表示本发明第二实施例的数据显示方法流程图;Fig. 2 shows the flow chart of the data display method of the second embodiment of the present invention;
图3表示本发明第二实施例中待显示图像的显示示意图;FIG. 3 shows a schematic diagram of displaying an image to be displayed in a second embodiment of the present invention;
图4表示本发明第三实施例的移动终端的模块示意图;FIG. 4 shows a schematic diagram of modules of a mobile terminal according to a third embodiment of the present invention;
图5表示本发明移动终端的第四实施例的框图;Fig. 5 represents the block diagram of the fourth embodiment of the mobile terminal of the present invention;
图6表示本发明移动终端的第五实施例的框图。Fig. 6 shows a block diagram of a fifth embodiment of the mobile terminal of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
第一实施例first embodiment
如图1所示,本发明的实施例提供了一种数据显示方法,该方法具体包括:As shown in FIG. 1, an embodiment of the present invention provides a data display method, which specifically includes:
步骤101:获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据。Step 101: Obtain an instruction to display text data on the current display interface of the mobile terminal, wherein the text data is text data of a playing file executed in the background.
其中,移动终端当前显示界面指的是移动终端的主界面,即桌面。后台执行播放文件指的是当前正在播放某播放文件,但移动终端未处于显示对应的播放器的播放界面,播放器在后台运行。例如:移动终端当前正在播放有声读物,但移动终端的当前显示界面并未显示阅读器应用程序的播放界面;或者,移动终端当前正在播放音乐,但移动终端未显示音乐播放器界面。Wherein, the current display interface of the mobile terminal refers to the main interface of the mobile terminal, that is, the desktop. Executing the playing file in the background means that a certain playing file is currently being played, but the mobile terminal is not in the playing interface displaying the corresponding player, and the player is running in the background. For example: the mobile terminal is currently playing audiobooks, but the current display interface of the mobile terminal does not display the playback interface of the reader application program; or, the mobile terminal is currently playing music, but the mobile terminal does not display the music player interface.
步骤102:根据该指令,确定当前显示界面中图标间隙区域。Step 102: According to the instruction, determine the icon gap area in the current display interface.
在获取到需要在移动终端的当前显示界面显示当前执行的播放文件的文本数据的指令后,解析当前显示界面的界面占用情况,确定当前显示界面中的图标间隙区域。其中,该图标间隙区域为当前显示界面中除应用图标之外的显示区域,具体指主界面相邻两排(横排或竖排)应用图标之间的显示区域。值得指出的是,上述应用图标可以是包含至少一个应用程序的文件夹的图标,亦可以是独立于文件夹外单独应用程序的图标。After acquiring the instruction to display the text data of the currently executed playing file on the current display interface of the mobile terminal, analyze the interface occupancy of the current display interface, and determine the icon gap area in the current display interface. Wherein, the icon gap area is a display area other than application icons in the current display interface, and specifically refers to a display area between two adjacent rows (horizontal or vertical rows) of application icons on the main interface. It is worth noting that the above-mentioned application icon may be an icon of a folder containing at least one application program, or an icon of a separate application program independent of the folder.
步骤103:将后台执行的播放文件的文本数据在图标间隙区域显示。Step 103: Display the text data of the playing file executed in the background in the icon gap area.
在确定图标间隙区域后,将后台执行的播放文件的文本数据在当前显示界面的图标间隙区域中进行显示,即将待显示的文本数据在相邻两排应用图标之间的显示区域进行显示。After the icon gap area is determined, the text data of the playing file executed in the background is displayed in the icon gap area of the current display interface, that is, the text data to be displayed is displayed in the display area between two adjacent rows of application icons.
这样通过相邻两排应用图标之间的图标间隙区域,将待显示的文本数据进行显示,避免了文本数据对应用图标的遮挡现象,解决了因遮挡应用图标而造成的误操作问题。In this way, the text data to be displayed is displayed through the icon gap area between two adjacent rows of application icons, which avoids the blocking phenomenon of the application icons by the text data, and solves the problem of misoperation caused by blocking the application icons.
第二实施例second embodiment
以上第一实施例对本发明的数据显示方法进行了简单介绍,下面本实施例将结合附图和具体应用场景对其进行进一步地说明。The above first embodiment briefly introduces the data display method of the present invention, and the following embodiment will further describe it in conjunction with the accompanying drawings and specific application scenarios.
如图2所示,该数据显示方法具体包括:As shown in Figure 2, the data display method specifically includes:
步骤201:获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据。Step 201: Obtain an instruction to display text data on the current display interface of the mobile terminal, wherein the text data is text data of a playing file executed in the background.
步骤202:在获取到该指令后,获取当前显示界面中各应用图标的坐标信息。Step 202: After obtaining the instruction, obtain the coordinate information of each application icon in the current display interface.
其中,每一个应用图标在主界面中的显示位置是固定的,在获取到在移动终端当前显示界面显示后台执行的播放文件的文本数据的指令后,读取当前显示界面中各个应用图标的坐标信息,该坐标信息包括:应用图标的高度信息、宽度信息、以及坐标值,其中,该坐标值为应用图标的中心位置坐标值。这样根据应用图标的坐标信息即可准确得到该应用图标的大小和位置。此外,上述坐标信息还可包括:应用图标四个端角的坐标值,根据四个端角的坐标值亦可计算出该应用图标的大小和位置。Wherein, the display position of each application icon in the main interface is fixed, and after obtaining the instruction of the text data of the playing file executed in the background of the current display interface of the mobile terminal, read the coordinates of each application icon in the current display interface Information, the coordinate information includes: height information, width information, and coordinate values of the application icon, where the coordinate value is the center position coordinate value of the application icon. In this way, the size and position of the application icon can be accurately obtained according to the coordinate information of the application icon. In addition, the above coordinate information may also include: coordinate values of the four corners of the application icon, and the size and position of the application icon may also be calculated according to the coordinate values of the four corners.
步骤203:确定当前显示界面中除坐标信息之外的显示区域为图标间隙区域。Step 203: Determine that the display area except the coordinate information in the current display interface is the icon gap area.
在计算得到各个应用图标的大小和位置后,将当前显示界面中除去各个应用图标区域的显示区域确定为图标间隙区域。也就是说根据各个应用图标的坐标信息可计算出其大小和位置,当前显示界面中除去这些应用图标所占用的区域,即得到图标间隙区域。After the size and position of each application icon are calculated, the display area excluding the area of each application icon in the current display interface is determined as the icon gap area. That is to say, the size and position of each application icon can be calculated according to the coordinate information of each application icon, and the area occupied by these application icons is removed from the current display interface to obtain the icon gap area.
优选地,由于每个应用图标下方均存在对应的名称信息,为了更好地显示文本数据,可将当前显示界面除坐标信息之外的区域内的应用图标的名称信息清除,确定清除后的、除所述坐标信息之外的显示区域为图标间隙区域,这样可避免文本数据在显示过程中与应用图标的名称信息重叠的问题。Preferably, since there is corresponding name information under each application icon, in order to better display text data, the name information of the application icons in the area other than the coordinate information of the current display interface can be cleared, and the cleared, The display area other than the coordinate information is the icon gap area, which can avoid the problem that the text data overlaps with the name information of the application icon during the display process.
步骤204:获取移动终端后台执行的播放文件的文本数据。Step 204: Obtain the text data of the playing file executed in the background of the mobile terminal.
这里所说的播放文件为音频文件,例如:有声读物、音乐、实时电台和音频流媒体文件等。其中,具体获取其文本数据的方式可参照以下两种方式:The playback files mentioned here are audio files, such as audiobooks, music, real-time radio stations, and audio streaming media files. Among them, the specific way to obtain its text data can refer to the following two ways:
方式一:获取移动终端后台执行的播放文件的名称信息;根据该名称信息在本地查找对应的文本数据;若本地不存在对应的文本数据,则根据该名称信息下载对应的文本数据并保存至本地。Method 1: Obtain the name information of the playback file executed in the background of the mobile terminal; search for the corresponding text data locally according to the name information; if there is no corresponding text data locally, download the corresponding text data according to the name information and save it locally .
其中,以歌曲为例进行说明,文本数据为音频文件所对应的歌词。例如:移动终端后台正在播放周杰伦的《稻香》,则以“稻香”为关键字在本地查找名称为“稻香**.lrc”的文本数据,若本地不存在该文本数据,则检测当前的联网状态,在联网模式下在网络侧搜索有关“稻香”的歌词文件并下载保存至本地。Wherein, a song is taken as an example for illustration, and the text data is the lyrics corresponding to the audio file. For example: Jay Chou's "Daoxiang" is playing in the background of the mobile terminal, then use "Daoxiang" as the keyword to search for the text data named "Daoxiang**.lrc" locally, if the text data does not exist locally, then detect The current network status, in the network mode, search for lyrics files related to "Daoxiang" on the network side and download and save them locally.
其中,具体在本地查找的过程可参照以下方法:音乐播放器在播放音乐的同时,下载对应的歌词文件(如*.lrc文件)到本地,比如以[歌曲名称]-[歌手名称].lrc的形式进行命名,保存在/根目录/Music/Lrc/的保存路径中,当需要查找时,在/根目录/Music/Lrc/的保存路径查找该歌词文件。Among them, the specific process of searching locally can refer to the following method: while the music player is playing music, download the corresponding lyrics file (such as *.lrc file) to the local, such as [song name]-[singer name].lrc Named in the form of , and saved in the storage path of /root directory/Music/Lrc/, when it is necessary to search, search for the lyrics file in the storage path of /root directory/Music/Lrc/.
除了歌曲,还可以是视频文件,或者有声读物。文本数据为视频文件或有声读物对应的字幕。In addition to songs, it can also be a video file, or an audiobook. The text data is subtitles corresponding to video files or audiobooks.
方式二:获取移动终端后台执行的播放文件的名称信息;根据该名称信息下载对应的文本数据并缓存至本地。Method 2: Obtain the name information of the playing file executed in the background of the mobile terminal; download the corresponding text data according to the name information and cache it locally.
同样以周杰伦的《稻香》为例,移动终端后台正在播放周杰伦的《稻香》,则检测当前的联网状态,在联网模式下在网络侧搜索有关“稻香”的歌词文件并缓存至本地,其中,缓存的歌词文件为临时文件。Also take Jay Chou's "Daoxiang" as an example. When Jay Chou's "Daoxiang" is playing in the background of the mobile terminal, the current network status is detected, and the lyrics file related to "Daoxiang" is searched on the network side in the network mode and cached locally. , wherein the cached lyrics file is a temporary file.
步骤205:获取移动终端待显示的壁纸图像。Step 205: Obtain the wallpaper image to be displayed by the mobile terminal.
其中,该壁纸图像可以为静态壁纸图像,亦可以是动态壁纸图像。静态壁纸图像指的是在用户设置新壁纸之前不发生变化的壁纸图像,动态壁纸图像指的是在用户设置新壁纸之前每隔预定时间进行图像切换的壁纸图像。这里所说的获取待显示的壁纸图像,指的是获取壁纸图像在显示界面的坐标信息。Wherein, the wallpaper image may be a static wallpaper image or a dynamic wallpaper image. The static wallpaper image refers to a wallpaper image that does not change until the user sets a new wallpaper, and the dynamic wallpaper image refers to a wallpaper image that undergoes image switching every predetermined time before the user sets a new wallpaper. The acquisition of the wallpaper image to be displayed here refers to the acquisition of the coordinate information of the wallpaper image on the display interface.
步骤206:将文本数据叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像。Step 206: superimpose the text data on the position of the wallpaper image corresponding to the icon gap area, and generate an image to be displayed.
其中,步骤206具体包括:获取移动终端后台执行的播放文件的当前播放进度信息;根据播放文件的文本数据的内容信息与播放进度信息之间的映射关系,查找与当前播放进度信息相对应的文本数据的内容信息;按照图标间隙区域的坐标顺序,依次将内容信息叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像。Wherein, step 206 specifically includes: obtaining the current playing progress information of the playing file executed in the background of the mobile terminal; according to the mapping relationship between the content information of the text data of the playing file and the playing progress information, searching for the text corresponding to the current playing progress information The content information of the data: according to the coordinate sequence of the icon gap area, the content information is sequentially superimposed on the position of the wallpaper image corresponding to the icon gap area, and an image to be displayed is generated.
其中,上述映射关系为解析移动终端后台执行的播放文件所对应的文本数据得到的。以播放歌曲为例,这里是说,解析播放的歌曲与其歌词文件,建立每句歌词与歌曲播放进度之间的映射关系,例如:第一句歌词对应于播放进度为5%的映射关系。进一步地,还可连接歌词中每一个文字与歌曲播放进度之间的映射关系。根据该映射关系,可准确定位歌曲当前播放进度所对应的歌词信息,将对应的歌词信息按照图标间隙区域的坐标顺序依次叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像。这里所说的图标间隙区域的坐标顺序指的是坐标升序或坐标降序,一般指的是显示界面从上到下的顺序,也就是说歌词按照顺序在显示界面从上到下的顺序叠加至壁纸图像中。即获取到歌词后,将歌词显示在两排应用图标之间的图标间隙区域中,如果歌词太长,可以显示在三排应用图标之间的两行间隙区域中。其中,歌曲名称,歌手名称等与播放歌曲相关联的信息都可以显示在图标间隙区域。此外,值得指出的是,每次叠加可叠加1~2句歌词,也可以是将整个图标间隙区域叠加满后,再进行下一次叠加。Wherein, the above mapping relationship is obtained by analyzing the text data corresponding to the playing file executed in the background of the mobile terminal. Take playing a song as an example, here is to analyze the played song and its lyrics file, and establish a mapping relationship between each lyric and the playback progress of the song, for example: the first lyric corresponds to a mapping relationship with a playback progress of 5%. Furthermore, the mapping relationship between each word in the lyrics and the playback progress of the song can also be connected. According to the mapping relationship, the lyrics information corresponding to the current playing progress of the song can be accurately located, and the corresponding lyrics information is sequentially superimposed on the position of the wallpaper image corresponding to the icon gap area according to the coordinate order of the icon gap area, and an image to be displayed is generated. The coordinate order of the icon gap area mentioned here refers to the coordinate ascending order or the coordinate descending order, generally refers to the order from top to bottom of the display interface, that is to say, the lyrics are superimposed on the wallpaper in order from top to bottom of the display interface in the image. That is, after the lyrics are obtained, the lyrics are displayed in the icon gap area between the two rows of application icons. If the lyrics are too long, they can be displayed in the two-line gap area between the three rows of application icons. Wherein, information associated with playing songs such as song name and singer name can be displayed in the icon gap area. In addition, it is worth pointing out that 1-2 lines of lyrics can be superimposed each time, or the next superposition can be performed after the entire gap area of the icon is superimposed.
进一步地,将文本数据的内容信息叠加至壁纸图像上指的是,在壁纸图像对应的区域划分为多个文字块,将文本数据的内容信息绘制到对应的文字块中,与壁纸图像合为一体。Further, superimposing the content information of the text data on the wallpaper image refers to dividing the area corresponding to the wallpaper image into a plurality of text blocks, drawing the content information of the text data into the corresponding text blocks, and combining it with the wallpaper image into a One.
步骤207:将待显示图像在当前显示界面进行显示。Step 207: Display the image to be displayed on the current display interface.
如图3所示,将绘制了待显示文本数据的待显示图像在当前显示界面进行显示,由于文本数据嵌入在壁纸图像中,这样可有效避免现有技术中插件形式的文本显示会影响用户的触控操作的问题。将文本数据绘制到壁纸图像上形成一体,不会阻碍到用户的触控操作,降低了误操作率,提高了用户体验。其中,值得指出的是,图3所示的显示界面只作为本实施例的示例性说明,显示界面的具体显示形式并不限于此,任何将待显示的文本数据叠加至图标间隙区域的显示方式均适用于本发明的实施例中。As shown in Figure 3, the image to be displayed that draws the text data to be displayed is displayed on the current display interface. Since the text data is embedded in the wallpaper image, this can effectively prevent the text display in the form of a plug-in in the prior art from affecting the user's experience. Problem with touch operation. The text data is drawn onto the wallpaper image to form an integration, which will not hinder the user's touch operation, reduces the misoperation rate, and improves the user experience. Among them, it is worth pointing out that the display interface shown in FIG. 3 is only used as an exemplary illustration of this embodiment, and the specific display form of the display interface is not limited thereto. Any display method that superimposes the text data to be displayed on the icon gap area All are applicable to the embodiments of the present invention.
进一步地,由于后台执行的播放文件的播放进度一直在更新,因此需要根据其播放进度信息实时更新显示界面的待显示图像。以播放歌曲为例,音乐播放器在播放音乐时,周期性反馈后台播放歌曲的歌曲信息(如:歌曲名称、歌手名称、当前进度)等,这样可使显示处理器根据当前播放歌曲的播放进度实时刷新歌词信息,将刷新后的歌词信息绘制到壁纸图像中在显示界面进行显示。由于歌词信息实时更新,则显示界面的待显示图像也会随其实时更新,因此待显示图像可视为一种动态壁纸。Furthermore, since the playing progress of the playing file executed in the background is always updated, it is necessary to update the image to be displayed on the display interface in real time according to the playing progress information. Taking playing a song as an example, when the music player is playing music, it periodically feeds back the song information (such as: song name, artist name, current progress) of the song played in the background, etc. Refresh the lyrics information in real time, draw the refreshed lyrics information into the wallpaper image and display it on the display interface. Since the lyrics information is updated in real time, the image to be displayed on the display interface will also be updated in real time, so the image to be displayed can be regarded as a kind of dynamic wallpaper.
综上,本发明的第二实施例的数据显示方法,通过利用相邻两排应用图标之间的图标间隙区域,将待显示的文本数据进行显示,避免了文本数据对应用图标的遮挡现象,解决了因遮挡应用图标而造成的误操作问题。To sum up, the data display method of the second embodiment of the present invention uses the icon gap area between two adjacent rows of application icons to display the text data to be displayed, avoiding the blocking phenomenon of the application icons by the text data, Solved the problem of misoperation caused by covering the application icon.
第三实施例third embodiment
以上第一实施例和第二实施例分别详细介绍了不同场景下的数据显示方法,下面将结合图4对与其对应的移动终端做进一步介绍。The above-mentioned first embodiment and second embodiment respectively introduce the data display methods in different scenarios in detail, and the corresponding mobile terminal will be further introduced below in conjunction with FIG. 4 .
本发明实施例还提供了一种移动终端,包括:The embodiment of the present invention also provides a mobile terminal, including:
获取模块41,用于获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据。The acquiring module 41 is configured to acquire an instruction for displaying text data on a current display interface of the mobile terminal, wherein the text data is text data of a playing file executed in the background.
其中,移动终端当前显示界面指的是移动终端的主界面,即桌面。后台执行播放文件指的是当前正在播放某播放文件,但移动终端未显示对应的播放器的播放界面。Wherein, the current display interface of the mobile terminal refers to the main interface of the mobile terminal, that is, the desktop. Executing the playing file in the background means that a certain playing file is currently being played, but the mobile terminal does not display the playing interface of the corresponding player.
处理模块42,用于根据所述指令,确定所述当前显示界面中图标间隙区域。其中,图标间隙区域为所述当前显示界面中除应用图标之外的显示区域。The processing module 42 is configured to determine an icon gap area in the current display interface according to the instruction. Wherein, the icon gap area is a display area in the current display interface except application icons.
显示模块43,用于将后台执行的播放文件的文本数据在所述图标间隙区域显示。The display module 43 is configured to display the text data of the playing file executed in the background in the icon gap area.
在确定图标间隙区域后,将后台执行的播放文件的文本数据在当前显示界面的图标间隙区域中进行显示,即将待显示的文本数据在相邻两排应用图标之间的显示区域进行显示。After the icon gap area is determined, the text data of the playing file executed in the background is displayed in the icon gap area of the current display interface, that is, the text data to be displayed is displayed in the display area between two adjacent rows of application icons.
其中,该处理模块42包括:Wherein, the processing module 42 includes:
第一获取单元,用于在获取到所述指令后,获取所述当前显示界面中各应用图标的坐标信息;The first acquiring unit is configured to acquire the coordinate information of each application icon in the current display interface after acquiring the instruction;
处理单元,用于确定所述当前显示界面中除所述坐标信息之外的显示区域为图标间隙区域。A processing unit, configured to determine that a display area other than the coordinate information in the current display interface is an icon gap area.
其中,该处理单元包括:Among them, the processing unit includes:
清除子单元,用于将当前显示界面中的应用图标的名称信息清除;其中,名称信息位于显示界面中除应用图标的坐标信息之外的区域;The clearing subunit is used to clear the name information of the application icon in the current display interface; wherein, the name information is located in an area of the display interface other than the coordinate information of the application icon;
第一处理子单元,用于确定清除后的、除所述坐标信息之外的显示区域为图标间隙区域。The first processing subunit is configured to determine that the cleared display area except the coordinate information is the icon gap area.
其中,该显示模块包括:Among them, the display module includes:
第二获取单元,用于获取所述移动终端后台执行的播放文件的文本数据;The second obtaining unit is used to obtain the text data of the playing file executed in the background of the mobile terminal;
第三获取单元,用于获取所述移动终端待显示的壁纸图像;a third acquiring unit, configured to acquire a wallpaper image to be displayed by the mobile terminal;
生成单元,用于将所述文本数据叠加至所述壁纸图像对应于所述图标间隙区域的位置处,生成一待显示图像;a generating unit, configured to superimpose the text data on the wallpaper image at a position corresponding to the icon gap area, and generate an image to be displayed;
显示单元,用于将所述待显示图像在所述显示界面进行显示。A display unit, configured to display the image to be displayed on the display interface.
其中,该第二获取单元包括:Wherein, the second acquisition unit includes:
第一获取子单元,用于获取所述移动终端后台执行的播放文件的名称信息;The first obtaining subunit is used to obtain the name information of the playing file executed in the background of the mobile terminal;
第一查找子单元,用于根据所述名称信息在本地查找对应的文本数据;A first search subunit, configured to search for corresponding text data locally according to the name information;
第一下载子单元,用于若本地不存在所述文本数据,则根据所述名称信息下载对应的文本数据并保存至本地。The first downloading subunit is configured to download corresponding text data according to the name information and save it locally if the text data does not exist locally.
其中,该第二获取单元包括:Wherein, the second acquisition unit includes:
第二获取子单元,用于获取所述移动终端后台执行的播放文件的名称信息;The second obtaining subunit is used to obtain the name information of the playing file executed in the background of the mobile terminal;
第二下载子单元,用于根据所述名称信息下载对应的文本数据并缓存至本地。The second downloading subunit is configured to download corresponding text data according to the name information and cache it locally.
其中,该生成单元包括:Among them, the generation unit includes:
第四获取子单元,用于获取所述移动终端后台执行的播放文件的当前播放进度信息;The fourth obtaining subunit is used to obtain the current playing progress information of the playing file executed in the background of the mobile terminal;
第二查找子单元,用于根据播放文件的文本数据的内容信息与播放进度信息之间的映射关系,查找与所述当前播放进度信息相对应的文本数据的内容信息;其中,所述映射关系为解析所述移动终端后台执行的播放文件所对应的文本数据得到的;The second search subunit is used to search for the content information of the text data corresponding to the current playback progress information according to the mapping relationship between the content information of the text data of the playback file and the playback progress information; wherein, the mapping relationship Obtained by parsing the text data corresponding to the playing file executed in the background of the mobile terminal;
生成子单元,用于按照所述图标间隙区域的坐标顺序,依次将所述内容信息叠加至所述壁纸图像对应于所述图标间隙区域的位置处,生成一待显示图像。The generating subunit is configured to sequentially superimpose the content information on the position of the wallpaper image corresponding to the icon gap area according to the coordinate sequence of the icon gap area, and generate an image to be displayed.
其中,移动终端后台执行的播放文件为音频文件,文本数据为该音频文件所对应的歌词。Wherein, the playing file executed in the background of the mobile terminal is an audio file, and the text data is the lyrics corresponding to the audio file.
值得指出的是,本发明实施例的移动终端是与上述数据显示方法对应的移动终端,上述方法的实施方式和实现的技术效果均适用于该移动终端的实施例中。其中,该移动终端利用各个应用图标之间的图标间隙区域,将待显示的文本数据在显示界面上进行显示,可避免文本数据对应用图标的遮挡问题,解决了因遮挡应用图标而造成的误操作的问题。It is worth pointing out that the mobile terminal in the embodiment of the present invention is a mobile terminal corresponding to the above data display method, and the implementation manners and technical effects achieved by the above method are applicable to the embodiment of the mobile terminal. Wherein, the mobile terminal uses the icon gap area between each application icon to display the text data to be displayed on the display interface, which can avoid the blocking problem of the application icon by the text data, and solve the error caused by blocking the application icon. operational issues.
第四实施例Fourth embodiment
图5是本发明另一个实施例的移动终端500的框图,如图5所示的移动终端包括:至少一个处理器501、存储器502、拍照组件503和用户接口504。移动终端500中的各个组件通过总线系统505耦合在一起。可理解,总线系统505用于实现这些组件之间的连接通信。总线系统505除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图5中将各种总线都标为总线系统505。FIG. 5 is a block diagram of a mobile terminal 500 according to another embodiment of the present invention. The mobile terminal shown in FIG. Various components in the mobile terminal 500 are coupled together through the bus system 505 . It can be understood that the bus system 505 is used to realize connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 505 in FIG. 5 .
其中,用户接口504可以包括显示器或者点击设备(例如触感板或者触摸屏等。Wherein, the user interface 504 may include a display or a pointing device (such as a touch panel or a touch screen, etc.).
可以理解,本发明实施例中的存储器502可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器502旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 502 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (ProgrammableROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable In addition to programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) And direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 502 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器502存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统5021和应用程序5022。In some implementations, the memory 502 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 5021 and an application program 5022 .
其中,操作系统5021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序5022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序5022中。Among them, the operating system 5021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 5022 .
在本发明的实施例中,通过调用存储器502存储的程序或指令,具体地,可以是应用程序5022中存储的程序或指令。其中,处理器501用于获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据;根据该指令,确定当前显示界面中图标间隙区域;其中,图标间隙区域为当前显示界面中除应用图标之外的显示区域;将后台执行的播放文件的文本数据在图标间隙区域显示。In the embodiment of the present invention, the programs or instructions stored in the memory 502, specifically, the programs or instructions stored in the application program 5022 may be called. Wherein, the processor 501 is used to obtain an instruction for displaying text data on the current display interface of the mobile terminal, wherein the text data is the text data of the playback file executed in the background; according to the instruction, determine the icon gap area in the current display interface; wherein, The icon gap area is the display area except the application icon in the current display interface; the text data of the playing file executed in the background is displayed in the icon gap area.
上述本发明实施例揭示的方法可以应用于处理器501中,或者由处理器501实现。处理器501可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器501中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器501可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific IntegratedCircuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器502,处理器501读取存储器502中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 501 or implemented by the processor 501 . The processor 501 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 501 or instructions in the form of software. The above-mentioned processor 501 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application SpecificIntegrated Circuits,ASIC)、数字信号处理器(DigitalSignal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
具体地,处理器501还用于:在获取到该指令后,获取当前显示界面中各应用图标的坐标信息;确定当前显示界面中除坐标信息之外的显示区域为图标间隙区域。Specifically, the processor 501 is further configured to: obtain the coordinate information of each application icon in the current display interface after obtaining the instruction; and determine the display area except the coordinate information in the current display interface as the icon gap area.
具体地,处理器501还用于:将当前显示界面中的应用图标的名称信息清除;其中,该名称信息位于显示界面中除应用图标的坐标信息之外的区域;确定清除后的、除坐标信息之外的显示区域为图标间隙区域。Specifically, the processor 501 is further configured to: clear the name information of the application icon in the current display interface; wherein, the name information is located in an area other than the coordinate information of the application icon in the display interface; The display area outside the information is the icon gap area.
具体地,处理器501还用于:获取移动终端后台执行的播放文件的文本数据;获取移动终端待显示的壁纸图像;将文本数据叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像;将待显示图像在当前显示界面进行显示。Specifically, the processor 501 is further configured to: acquire the text data of the playing file executed in the background of the mobile terminal; acquire the wallpaper image to be displayed by the mobile terminal; superimpose the text data on the position of the wallpaper image corresponding to the icon gap area, and generate a waiting Display image; display the image to be displayed on the current display interface.
进一步地,处理器501还用于:获取移动终端后台执行的播放文件的名称信息;根据该名称信息在本地查找对应的文本数据;若本地不存在对应的文本数据,则根据该名称信息下载对应的文本数据并保存至本地。Further, the processor 501 is also configured to: acquire the name information of the playing file executed in the background of the mobile terminal; search for corresponding text data locally according to the name information; if there is no corresponding text data locally, download the corresponding text data according to the name information. text data and save it locally.
其中,处理器501还用于:获取移动终端后台执行的播放文件的名称信息;根据该名称信息下载对应的文本数据并缓存至本地。Wherein, the processor 501 is further configured to: acquire the name information of the playing file executed in the background of the mobile terminal; download corresponding text data according to the name information and cache it locally.
进一步地,处理器501还用于:获取移动终端后台执行的播放文件的当前播放进度信息;根据播放文件的文本数据的内容信息与播放进度信息之间的映射关系,查找与当前播放进度信息相对应的文本数据的内容信息;其中,映射关系为解析移动终端后台执行的播放文件所对应的文本数据得到的;按照图标间隙区域的坐标顺序,依次将内容信息叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像。Further, the processor 501 is also configured to: acquire the current playing progress information of the playing file executed in the background of the mobile terminal; according to the mapping relationship between the content information of the text data of the playing file and the playing progress information, search for information related to the current playing progress information. The content information of the corresponding text data; wherein, the mapping relationship is obtained by analyzing the text data corresponding to the playback file executed in the background of the mobile terminal; according to the coordinate sequence of the icon gap area, the content information is superimposed on the wallpaper image corresponding to the icon gap area in turn At the position of , an image to be displayed is generated.
其中,移动终端后台执行的播放文件为音频文件,文本数据为该音频文件所对应的歌词。Wherein, the playing file executed in the background of the mobile terminal is an audio file, and the text data is the lyrics corresponding to the audio file.
本发明实施例的移动终端500,利用各个应用图标之间的图标间隙区域,将待显示的文本数据在显示界面上进行显示,可避免文本数据对应用图标的遮挡问题,解决了因遮挡应用图标而造成的误操作的问题。The mobile terminal 500 of the embodiment of the present invention uses the icon gap area between each application icon to display the text data to be displayed on the display interface, which can avoid the problem of text data blocking the application icon and solve the problem of blocking the application icon. The problem caused by misoperation.
第五实施例fifth embodiment
图6是本发明另一个实施例的移动终端的结构示意图。具体地,图6中的移动终端600可以是手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 600 in FIG. 6 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图6中的移动终端600包括电源610、存储器620、输入单元630、显示单元640、拍照组件650、处理器660、WIFI(Wireless Fidelity)模块670、音频电路680和RF电路690,其中,拍照组件650包括第一摄像头和第二摄像头。Mobile terminal 600 in Fig. 6 comprises power supply 610, memory 620, input unit 630, display unit 640, photographing component 650, processor 660, WIFI (Wireless Fidelity) module 670, audio frequency circuit 680 and RF circuit 690, wherein, photographing component 650 includes a first camera and a second camera.
其中,输入单元630可用于接收用户输入的信息,以及产生与移动终端600的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元630可以包括触控面板631。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器660,并能接收处理器660发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。Wherein, the input unit 630 can be used for receiving information input by a user, and generating signal input related to user setting and function control of the mobile terminal 600 . Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631 . The touch panel 631, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 631 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 631 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 to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
其中,显示单元640可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种菜单界面。显示单元640可包括显示面板641,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板641。Wherein, the display unit 640 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 640 may include a display panel 641. Optionally, the display panel 641 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板631可以覆盖显示面板641,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器660以确定触摸事件的类型,随后处理器660根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 631 can cover the display panel 641 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 660 to determine the type of the touch event, and then the processor 660 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器660是移动终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器621内的软件程序和/或模块,以及调用存储在第二存储器622内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器660可包括一个或多个处理单元。Wherein the processor 660 is the control center of the mobile terminal, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 621, and calling the software programs and/or modules stored in the second memory The data in 622 executes various functions of the mobile terminal and processes data, so as to monitor the mobile terminal as a whole. Optionally, the processor 660 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器621内的软件程序和/或模块和/给第二存储器622内的数据,其中,处理器660用于获取在移动终端当前显示界面显示文本数据的指令,其中,该文本数据为后台执行的播放文件的文本数据;根据该指令,确定当前显示界面中图标间隙区域;其中,图标间隙区域为当前显示界面中除应用图标之外的显示区域;将后台执行的播放文件的文本数据在图标间隙区域显示。In the embodiment of the present invention, the software programs and/or modules stored in the first memory 621 and/or the data in the second memory 622 are stored by calling, wherein, the processor 660 is used to obtain the text displayed on the current display interface of the mobile terminal Data instruction, wherein the text data is the text data of the playing file executed in the background; according to the instruction, the icon gap area in the current display interface is determined; wherein the icon gap area is the display area in the current display interface except the application icon ; Display the text data of the playing file executed in the background in the icon gap area.
具体地,处理器660还用于:在获取到该指令后,获取当前显示界面中各应用图标的坐标信息;确定当前显示界面中除坐标信息之外的显示区域为图标间隙区域。Specifically, the processor 660 is further configured to: obtain the coordinate information of each application icon in the current display interface after obtaining the instruction; and determine the display area except the coordinate information in the current display interface as the icon gap area.
具体地,处理器660还用于:将当前显示界面中的应用图标的名称信息清除;其中,名称信息位于显示界面中除上述坐标信息之外的区域;确定清除后的、除坐标信息之外的显示区域为图标间隙区域。Specifically, the processor 660 is also configured to: clear the name information of the application icon in the current display interface; wherein, the name information is located in an area of the display interface other than the above-mentioned coordinate information; The display area of is the icon gap area.
具体地,处理器660还用于:获取移动终端后台执行的播放文件的文本数据;获取移动终端待显示的壁纸图像;将文本数据叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像;将待显示图像在当前显示界面进行显示。Specifically, the processor 660 is further configured to: obtain text data of a playback file executed in the background of the mobile terminal; obtain a wallpaper image to be displayed by the mobile terminal; superimpose the text data on the wallpaper image at a position corresponding to the icon gap area, and generate a waiting Display image; display the image to be displayed on the current display interface.
进一步地,处理器660还用于:获取移动终端后台执行的播放文件的名称信息;根据该名称信息在本地查找对应的文本数据;若本地不存在对应的文本数据,则根据该名称信息下载对应的文本数据并保存至本地。Further, the processor 660 is also configured to: obtain the name information of the playing file executed in the background of the mobile terminal; search for corresponding text data locally according to the name information; if there is no corresponding text data locally, download the corresponding text data according to the name information. text data and save it locally.
其中,处理器660还用于:获取移动终端后台执行的播放文件的名称信息;根据该名称信息下载对应的文本数据并缓存至本地。Wherein, the processor 660 is further configured to: acquire the name information of the playing file executed in the background of the mobile terminal; download corresponding text data according to the name information and cache it locally.
进一步地,处理器660还用于:获取移动终端后台执行的播放文件的当前播放进度信息;根据播放文件的文本数据的内容信息与播放进度信息之间的映射关系,查找与当前播放进度信息相对应的文本数据的内容信息;其中,映射关系为解析移动终端后台执行的播放文件所对应的文本数据得到的;按照图标间隙区域的坐标顺序,依次将内容信息叠加至壁纸图像对应于图标间隙区域的位置处,生成一待显示图像。Further, the processor 660 is also used to: obtain the current playing progress information of the playing file executed in the background of the mobile terminal; according to the mapping relationship between the content information of the text data of the playing file and the playing progress information, search for information related to the current playing progress information. The content information of the corresponding text data; wherein, the mapping relationship is obtained by analyzing the text data corresponding to the playback file executed in the background of the mobile terminal; according to the coordinate sequence of the icon gap area, the content information is superimposed on the wallpaper image corresponding to the icon gap area in turn At the position of , an image to be displayed is generated.
其中,移动终端后台执行的播放文件为音频文件,文本数据为该音频文件所对应的歌词。Wherein, the playing file executed in the background of the mobile terminal is an audio file, and the text data is the lyrics corresponding to the audio file.
本发明实施例的移动终端600,利用各个应用图标之间的图标间隙区域,将待显示的文本数据在显示界面上进行显示,可避免文本数据对应用图标的遮挡问题,解决了因遮挡应用图标而造成的误操作的问题。The mobile terminal 600 of the embodiment of the present invention uses the icon gap area between each application icon to display the text data to be displayed on the display interface, which can avoid the problem of text data blocking the application icon and solve the problem of blocking the application icon. The problem caused by misoperation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can also be made without departing from the principles described in the present invention. within the scope of protection of the invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610357036.4ACN106020612B (en) | 2016-05-25 | 2016-05-25 | A kind of data display method and mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610357036.4ACN106020612B (en) | 2016-05-25 | 2016-05-25 | A kind of data display method and mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN106020612Atrue CN106020612A (en) | 2016-10-12 |
| CN106020612B CN106020612B (en) | 2019-02-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610357036.4AActiveCN106020612B (en) | 2016-05-25 | 2016-05-25 | A kind of data display method and mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN106020612B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107678645A (en)* | 2017-09-21 | 2018-02-09 | 咪咕音乐有限公司 | A kind of presentation of information processing method and processing device and storage medium |
| CN107861672A (en)* | 2017-11-29 | 2018-03-30 | 掌阅科技股份有限公司 | Talking e-book tells method, electronic equipment and computer-readable storage medium over the radio |
| CN107885566A (en)* | 2017-11-03 | 2018-04-06 | 维沃移动通信有限公司 | Display control method, mobile terminal and computer-readable recording medium |
| CN108089830A (en)* | 2017-12-11 | 2018-05-29 | 维沃移动通信有限公司 | Song information display methods, device and mobile terminal |
| CN108536407A (en)* | 2018-03-02 | 2018-09-14 | 广东欧珀移动通信有限公司 | Text display method, device and mobile terminal |
| CN109992333A (en)* | 2017-12-29 | 2019-07-09 | 西门子(中国)有限公司 | Interface processing method, device and the computer readable storage medium of more softwares |
| CN110140106A (en)* | 2017-11-20 | 2019-08-16 | 华为技术有限公司 | According to the method and device of background image Dynamically Announce icon |
| CN111399715A (en)* | 2020-03-13 | 2020-07-10 | 维沃移动通信有限公司 | Interface display method and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101840727A (en)* | 2010-04-28 | 2010-09-22 | 深圳市五巨科技有限公司 | Mobile terminal music playing method and device for synchronously displaying lyrics |
| CN101986247A (en)* | 2010-06-30 | 2011-03-16 | 汉王科技股份有限公司 | Electronic reader and text display method thereof |
| CN102868822A (en)* | 2012-09-24 | 2013-01-09 | 广东欧珀移动通信有限公司 | Lyric display method implemented by mobile terminal |
| JP2013160890A (en)* | 2012-02-03 | 2013-08-19 | Brother Ind Ltd | Information processing program, information processing apparatus, lyrics display method, and communication system |
| CN103677521A (en)* | 2013-12-06 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Message notification display method and terminal |
| CN103699323A (en)* | 2013-12-20 | 2014-04-02 | 上海卓悠网络科技有限公司 | Method and device for realizing music desktop display |
| CN103903638A (en)* | 2012-12-30 | 2014-07-02 | 比亚迪股份有限公司 | Mobile terminal, and song playing method and song playing device thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101840727A (en)* | 2010-04-28 | 2010-09-22 | 深圳市五巨科技有限公司 | Mobile terminal music playing method and device for synchronously displaying lyrics |
| CN101986247A (en)* | 2010-06-30 | 2011-03-16 | 汉王科技股份有限公司 | Electronic reader and text display method thereof |
| JP2013160890A (en)* | 2012-02-03 | 2013-08-19 | Brother Ind Ltd | Information processing program, information processing apparatus, lyrics display method, and communication system |
| CN102868822A (en)* | 2012-09-24 | 2013-01-09 | 广东欧珀移动通信有限公司 | Lyric display method implemented by mobile terminal |
| CN103903638A (en)* | 2012-12-30 | 2014-07-02 | 比亚迪股份有限公司 | Mobile terminal, and song playing method and song playing device thereof |
| CN103677521A (en)* | 2013-12-06 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Message notification display method and terminal |
| CN103699323A (en)* | 2013-12-20 | 2014-04-02 | 上海卓悠网络科技有限公司 | Method and device for realizing music desktop display |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107678645A (en)* | 2017-09-21 | 2018-02-09 | 咪咕音乐有限公司 | A kind of presentation of information processing method and processing device and storage medium |
| CN107885566A (en)* | 2017-11-03 | 2018-04-06 | 维沃移动通信有限公司 | Display control method, mobile terminal and computer-readable recording medium |
| US11714533B2 (en) | 2017-11-20 | 2023-08-01 | Huawei Technologies Co., Ltd. | Method and apparatus for dynamically displaying icon based on background image |
| US12164760B2 (en) | 2017-11-20 | 2024-12-10 | Huawei Technologies Co., Ltd. | Method and apparatus for dynamically displaying icon based on background image |
| CN110140106A (en)* | 2017-11-20 | 2019-08-16 | 华为技术有限公司 | According to the method and device of background image Dynamically Announce icon |
| EP4246447A3 (en)* | 2017-11-20 | 2023-11-01 | Huawei Technologies Co., Ltd. | Method and device for dynamically displaying icon according to background image |
| CN110140106B (en)* | 2017-11-20 | 2021-11-30 | 华为技术有限公司 | Method and device for dynamically displaying icons according to background images |
| CN107861672A (en)* | 2017-11-29 | 2018-03-30 | 掌阅科技股份有限公司 | Talking e-book tells method, electronic equipment and computer-readable storage medium over the radio |
| CN107861672B (en)* | 2017-11-29 | 2018-11-13 | 掌阅科技股份有限公司 | Talking e-book tells method, electronic equipment and computer storage media over the radio |
| CN108089830A (en)* | 2017-12-11 | 2018-05-29 | 维沃移动通信有限公司 | Song information display methods, device and mobile terminal |
| CN108089830B (en)* | 2017-12-11 | 2019-10-29 | 维沃移动通信有限公司 | Song information display methods, device and mobile terminal |
| CN109992333A (en)* | 2017-12-29 | 2019-07-09 | 西门子(中国)有限公司 | Interface processing method, device and the computer readable storage medium of more softwares |
| CN108536407A (en)* | 2018-03-02 | 2018-09-14 | 广东欧珀移动通信有限公司 | Text display method, device and mobile terminal |
| CN111399715A (en)* | 2020-03-13 | 2020-07-10 | 维沃移动通信有限公司 | Interface display method and electronic device |
| Publication number | Publication date |
|---|---|
| CN106020612B (en) | 2019-02-15 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106020612A (en) | Data display method and mobile terminal | |
| US10095386B2 (en) | Mobile device for displaying virtually listed pages and displaying method thereof | |
| AU2014275609B2 (en) | Portable terminal and user interface method in portable terminal | |
| CN107678641A (en) | A kind of method and mobile terminal into target display interface | |
| EP2924593A1 (en) | Method and apparatus for constructing documents | |
| CN107613117A (en) | A multitasking-based interface display method and mobile terminal | |
| CN106933453A (en) | The method for sorting and mobile terminal of a kind of desktop icons | |
| CN107678666A (en) | A kind of virtual key display methods, mobile terminal and computer-readable recording medium | |
| CN106454456A (en) | Video playing control method and mobile terminal | |
| CN107221347B (en) | Audio playing method and terminal | |
| CN107193878B (en) | A kind of automatic naming method of song list and mobile terminal | |
| US20210027007A1 (en) | Online document commenting method and apparatus | |
| CN105825537A (en) | Method for generating animation curve and terminal | |
| CN106446180A (en) | A song recognition method and mobile terminal | |
| CN107506130A (en) | A kind of word delet method and mobile terminal | |
| CN104156245A (en) | List updating method and device | |
| CN106527906A (en) | Picture capture method and mobile terminal | |
| CN106527937B (en) | Method for adding mobile terminal widget and mobile terminal | |
| CN107613097A (en) | Display method, device, storage medium and electronic equipment of shortcut icons | |
| CN106210231A (en) | A kind of method of information processing and mobile terminal | |
| CN106776899A (en) | A kind of information search method and mobile terminal | |
| CN106250503A (en) | A kind of method of picture processing and mobile terminal | |
| CN107632761A (en) | A kind of display content inspection method, mobile terminal and computer-readable recording medium | |
| CN107562262A (en) | A kind of method, terminal and computer-readable recording medium for responding touch control operation | |
| CN106126535A (en) | The processing method of a kind of text and terminal |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | Effective date of registration:20190107 Address after:311121 Room 305, Building 20, Longquan Road, Cangqian Street, Yuhang District, Hangzhou City, Zhejiang Province Applicant after:Vivo Mobile Communications (Hangzhou) Co., Ltd. Address before:523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Applicant before:VIVO MOBILE COMMUNICATION CO., LTD. | |
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |