[go: up one dir, main page]

CN102999270B - list display method and device - Google Patents

list display method and device Download PDF

Info

Publication number
CN102999270B
CN102999270B CN201210491117.5A CN201210491117A CN102999270B CN 102999270 B CN102999270 B CN 102999270B CN 201210491117 A CN201210491117 A CN 201210491117A CN 102999270 B CN102999270 B CN 102999270B
Authority
CN
China
Prior art keywords
list
items
list items
preset
media player
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.)
Expired - Fee Related
Application number
CN201210491117.5A
Other languages
Chinese (zh)
Other versions
CN102999270A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210491117.5A priority Critical patent/CN102999270B/en
Publication of CN102999270A publication Critical patent/CN102999270A/en
Application granted granted Critical
Publication of CN102999270B publication Critical patent/CN102999270B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明适用于媒体播放技术领域,提供了一种列表显示方法和装置,该方法包括如下步骤:当媒体播放器的光标离开所述列表后,判断所述列表的总项数是否大于或等于N,其中,N为所述列表一次显示的最大项数,所述N为大于或等于1的自然数;当所述列表的总项数大于N,且预设的列表项不在当前显示的列表项中时,向上或向下滚动所述列表中的列表项直到显示所述预设的列表项。本发明提供的媒体播放器的列表显示方法和装置丰富了在某些使用场景下的媒体播放器的列表显示方式,增强列表的可操作性,给用户带来更多更好的用户体验。

The present invention is applicable to the technical field of media playing, and provides a list display method and device. The method includes the following steps: when the cursor of the media player leaves the list, judge whether the total number of items in the list is greater than or equal to N , wherein, N is the maximum number of items displayed in the list at one time, and the N is a natural number greater than or equal to 1; when the total number of items in the list is greater than N, and the preset list item is not in the currently displayed list item , scroll up or down the list items in the list until the preset list items are displayed. The list display method and device of the media player provided by the present invention enriches the list display mode of the media player in certain usage scenarios, enhances the operability of the list, and brings more and better user experiences to users.

Description

列表显示方法及装置List display method and device

技术领域technical field

本发明属于媒体播放技术领域,尤其涉及一种用于媒体播放器的列表显示方法及装置。The invention belongs to the technical field of media playing, and in particular relates to a list display method and device for a media player.

背景技术Background technique

在DVD、蓝光播放器、MP3等媒体播放器中,列表作为向用户展示数据的一种方式,有着得天独厚的优势,它可以从某个存放海量数据的数据源中获取数据,并且每次可以仅显示用户想要看到的那一部分数据。媒体播放器中的列表通常需要借助遥控设备(如遥控器)进行操作,当列表项的数量非常多时(例如几十个甚至上百个或更多),在极端的操作场景下,通过遥控设备对列表的某些项进行定位显示就显得非常繁琐和困难。In media players such as DVDs, Blu-ray players, and MP3s, the list has a unique advantage as a way to display data to users. It can obtain data from a data source that stores massive amounts of data, and each time it can only Display the portion of the data that the user wants to see. The list in the media player usually needs to be operated with the help of a remote control device (such as a remote control). When the number of list items is very large (such as dozens or even hundreds or more), in extreme operating scenarios, the remote control It is very cumbersome and difficult to locate and display certain items of the list.

发明内容Contents of the invention

本发明实施例的目的在于提供一种列表显示方法和装置,旨在解决现有的媒体播放器某一特定的列表项定位困难的问题。The purpose of the embodiments of the present invention is to provide a method and device for displaying a list, aiming at solving the problem of difficulty in locating a specific list item in an existing media player.

本发明实施例是这样实现的,一种列表显示方法,用于媒体播放器,所述方法包括如下步骤:The embodiment of the present invention is achieved in this way, a list display method is used for a media player, and the method includes the following steps:

当媒体播放器的光标离开所述列表后,判断所述列表的总项数是否大于或等于N,其中,N为所述列表一次显示的最大项数,所述N为大于或等于1的自然数;After the cursor of the media player leaves the list, determine whether the total number of items in the list is greater than or equal to N, where N is the maximum number of items displayed in the list at one time, and the N is a natural number greater than or equal to 1 ;

当所述列表的总项数大于N,且预设的列表项不在当前显示的列表项中时,向上或向下滚动所述列表中的列表项直到显示所述预设的列表项。When the total number of items in the list is greater than N and the preset list item is not in the currently displayed list items, scroll up or down the list items in the list until the preset list item is displayed.

进一步地,所述向下滚动列表直到显示预设的列表项包括:Further, the scrolling down the list until the preset list items are displayed includes:

当所述预设的列表项的编号小于滚动前的列表头的编号时,当前显示的所有列表项向下位移直到出现所述预设的列表项。When the number of the preset list item is smaller than the number of the list header before scrolling, all currently displayed list items are shifted down until the preset list item appears.

进一步地,所述向上滚动列表直到显示预设的列表项包括:Further, the scrolling up the list until the preset list items are displayed includes:

当所述预设的列表项的编号大于滚动前的列表尾的编号时,当前显示的所有列表项向上位移直到出现所述预设的列表项。When the number of the preset list item is greater than the number of the end of the list before scrolling, all currently displayed list items are shifted up until the preset list item appears.

进一步地,所述预设的列表项为用户最后一次进入的列表项或指定时间内打开的列表项。Further, the preset list item is the list item entered by the user last time or the list item opened within a specified time.

进一步地,所述媒体播放器为蓝光播放器、MP3播放器或DVD。Further, the media player is a Blu-ray player, MP3 player or DVD.

本发明还提出一种列表显示装置,用于媒体播放器,所述装置包括:The present invention also proposes a list display device for a media player, the device comprising:

判断模块,用于当媒体播放器的光标离开所述列表后,判断所述列表的总项数是否大于或等于N,其中,N为所述列表一次显示的最大项数,所述N为大于或等于1的自然数;A judging module, configured to judge whether the total number of items in the list is greater than or equal to N after the cursor of the media player leaves the list, where N is the maximum number of items displayed at one time in the list, and N is greater than or equal to N. or a natural number equal to 1;

滚动模块,用于当所述列表的总项数大于N,且预设的列表项不在当前显示的列表项中时,向上或向下滚动所述列表中的列表项直到显示所述预设的列表项。A scrolling module, configured to scroll up or down the list items in the list until the preset list items are displayed when the total number of items in the list is greater than N and the preset list items are not in the currently displayed list items. list item.

进一步地,所述滚动模块包括:Further, the rolling module includes:

向下滚动单元,用于当所述预设的列表项的编号小于滚动前的列表头的编号时,当前显示的所有列表项向下位移直到出现所述预设的列表项。The scroll down unit is configured to move all currently displayed list items downward until the preset list item appears when the number of the preset list item is smaller than the number of the list header before scrolling.

进一步地,所述滚动模块还包括:Further, the rolling module also includes:

向上滚动单元,用于当所述预设的列表项的编号大于滚动前的列表尾的编号时,当前显示的所有列表项向上位移直到出现所述预设的列表项。An upward scrolling unit, configured to move all currently displayed list items upward until the preset list item appears when the number of the preset list item is greater than the number of the end of the list before scrolling.

进一步地,所述预设的列表项为用户最后一次进入的列表项或指定时间内打开的列表项。Further, the preset list item is the list item entered by the user last time or the list item opened within a specified time.

进一步地,所述媒体播放器为蓝光播放器、MP3播放器或DVD。Further, the media player is a Blu-ray player, MP3 player or DVD.

本发明实施例在光标离开列表时,列表的可见区域立即显示列表中的某个预设的列表项(此列表项通常为用户关心的列表项,如设备列表中所包含的当前浏览的USB设备的名称),不管之前它处于列表的哪个位置,从而达到快速定位显示的效果,本发明实施例进一步丰富了在某些使用场景下的媒体播放器的列表显示方式,增强列表的可操作性,给用户带来更多更好的用户体验。In the embodiment of the present invention, when the cursor leaves the list, the visible area of the list immediately displays a certain preset list item in the list (this list item is usually a list item that the user cares about, such as the currently browsed USB device included in the device list Name), no matter where it was in the list before, so as to achieve the effect of fast positioning and display, the embodiment of the present invention further enriches the list display mode of the media player in certain usage scenarios, and enhances the operability of the list. Bring more and better user experience to users.

附图说明Description of drawings

图1是本发明实施例提供的列表显示方法的流程图;FIG. 1 is a flowchart of a list display method provided by an embodiment of the present invention;

图2是本发明实施例提供的列表显示装置的结构图;Fig. 2 is a structural diagram of a list display device provided by an embodiment of the present invention;

图3是本发明实施例提供的列表显示装置中滚动模块的结构图。Fig. 3 is a structural diagram of a scrolling module in a list display device provided by an embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

在本发明实施例中,媒体播放器可以是MP3等音频播放器,也可以是DVD或蓝光播放器等多媒体播放器,还可以是打印机、电视机等通过列表方式读取数据的具备媒体播放功能的设备。In the embodiment of the present invention, the media player can be an audio player such as MP3, or a multimedia player such as a DVD or Blu-ray player, or it can be a printer, a television, etc. that read data through a list and have a media playback function. device of.

图1示出了本发明实施例适用的列表显示方法的流程图,包括步骤:Fig. 1 shows the flowchart of the list display method applicable to the embodiment of the present invention, including steps:

步骤S101、通过遥控器等遥控设备或其它具备光标定位作用的控制设备将光标定位在当前显示的任意一列表项。假设本发明实施例中,在任意时刻,媒体播放器的列表一次可以显示的列表项的总项数为N,而媒体播放器的列表项共有M,M和N为大于或等于1的自然数,一次显示的列表项为a1,a2,a3…aN,a1位于当前显示的列表项的列表头,aN位于当前显示的列表项的列表尾。Step S101 , using a remote control device such as a remote controller or other control devices capable of positioning the cursor to position the cursor on any currently displayed list item. Assume that in the embodiment of the present invention, at any time, the total number of list items that can be displayed in the list of the media player at one time is N, and the list items of the media player have a total of M, and M and N are natural numbers greater than or equal to 1, The list items displayed at one time are a 1 , a 2 , a 3 ... a N , a 1 is located at the head of the currently displayed list item, and a N is located at the end of the currently displayed list item.

本发明实施例中,将用户需要显示的列表项称为预设的列表项,预设的列表项可以为媒体播放器默认设置项,或用户自定义设置项,如将预设的列表项设置为用户最后一次打开的某一U盘,或用户在某一指定时间内打开的数据源。该列表项通常为用户关心的某一列表项,如设备列表中所包含的当前浏览的USB设备的名称。In the embodiment of the present invention, the list item that the user needs to display is called a preset list item, and the preset list item can be the default setting item of the media player, or a user-defined setting item, such as setting the preset list item It is a USB flash drive opened by the user last time, or a data source opened by the user within a specified time. The list item is usually a certain list item that the user cares about, such as the name of the currently browsed USB device included in the device list.

步骤S102、用户控制光标,使得光标离开当前显示的列表项,判断M是否小于或等于N。Step S102 , the user controls the cursor so that the cursor leaves the currently displayed list item, and determines whether M is less than or equal to N.

步骤S103、若M小于或等于N,在这种情况下,媒体播放器内的列表项均为可见(包括预设的列表项),故不做任何操作,结束流程;若M大于N,则进入步骤S104。Step S103, if M is less than or equal to N, in this case, the list items in the media player are all visible (including the preset list items), so do not do any operation, and end the process; if M is greater than N, then Go to step S104.

步骤S104、判断预设的列表项是否位于当前显示的列表项中,若预设的列表项已经处于a1,a2,a3…aN的其中任意一个位置,则不做任何操作,结束流程。若预设的列表项处于列表其它不可见的位置,则进入步骤S105。Step S104. Determine whether the preset list item is located in the currently displayed list item. If the preset list item is already in any one of a 1 , a 2 , a 3 ... a N , do nothing and end process. If the preset list item is in other invisible positions of the list, go to step S105.

步骤S105、向上或向下滚动列表,直到预设的列表项出现。在该步骤中,可随机设置为向上或向下滚动所有列表项,直到预设的列表项出现。较佳的实施方式是根据预设的列表项在列表中所处的位置进行滚动,使预设的列表项更快的出现,具体如下:Step S105, scrolling up or down the list until a preset list item appears. In this step, it may be randomly set to scroll up or down all list items until a preset list item appears. A preferred implementation is to scroll according to the position of the preset list item in the list, so that the preset list item appears faster, as follows:

(1)若预设的列表项是a1之前的某个列表项,则先计算预设的列表项所处的位置相对a1的偏移距离D1,具体计算公式为:(1) If the preset list item is a list item before a 1 , first calculate the offset distance D1 of the position of the preset list item relative to a 1 , and the specific calculation formula is:

偏移距离D1=(a1的编号-预设的列表项的编号)*列表项高度;Offset distance D1 = (the number of a 1 - the number of the preset list item) * height of the list item;

将所有列表项沿媒体播放器显示屏幕的Y轴正方向向下位移上述偏移距离D1,所有列表项可一次位移一个列表项高度,也可一次性位移偏移距离D1,使预设的列表项处于列表头的位置。上述位移的速度也可预先设置。All list items are displaced downward by the above-mentioned offset distance D1 along the Y-axis positive direction of the media player display screen. All list items can be displaced by one list item height at a time, or can be displaced by the offset distance D1 at one time, so that the preset list The item is at the head of the list. The speed of the above-mentioned displacement can also be set in advance.

滚动前所有列表项也可一次向下位移大于D1的距离,使所述预设的列表项位于列表头与列表尾之间的位置,此时滚动前所有列表项向下位移的距离应大于D1且小于D2,D2为预设的列表项相对于aN的偏移距离D2,其中,All list items before scrolling can also be displaced downwards by a distance greater than D1 at one time, so that the preset list items are located between the head of the list and the end of the list. At this time, the distance of displacement of all list items before scrolling should be greater than D1 And less than D2, D2 is the offset distance D2 of the preset list item relative to a N , where,

偏移距离D2=(aN的编号—预设的列表项的编号)*列表项高度。Offset distance D2=(number of a N —number of preset list item)*height of list item.

(2)若预设的列表项是aN之后的某个列表项,则先计算预设的列表项相对aN的偏移距离D3,具体计算公式为:(2) If the preset list item is a list item after a N , first calculate the offset distance D3 of the preset list item relative to a N , and the specific calculation formula is:

偏移距离D3=(预设的列表项的编号—aN的编号)*列表项高度;Offset distance D3=(the number of the preset list item—the number of a N )*height of the list item;

将所有列表项沿媒体播放器显示屏幕的Y轴负方向向上位移上述偏移距离D3,所有列表项可一次位移一个列表项高度,也可一次性位移偏移距离D3,使预设的列表项处于aN的位置。同样,位移的速度也可预先设置。All list items are displaced upward by the above offset distance D3 along the negative direction of the Y axis of the media player display screen. All list items can be displaced by one list item height at a time, or the offset distance D3 can be displaced at one time, so that the preset list items At the position of a N. Likewise, the speed of displacement can also be preset.

滚动前的所有列表项也可一次向上位移大于D3的距离,使所述预设的列表项位于列表头与列表尾之间的位置,此时滚动前所有列表项向上位移的距离应大于D3且小于D4,D4为预设的列表项相对于a1的偏移距离D4,其中,All list items before scrolling can also be displaced upwards by a distance greater than D3 at one time, so that the preset list items are located between the head of the list and the end of the list. At this time, the upward displacement of all list items before scrolling should be greater than D3 and Less than D4, D4 is the offset distance D4 of the preset list item relative to a1, where,

偏移距离D4=(a1的编号-预设的列表项的编号)*列表项高度。Offset distance D4 = (the number of a 1 - the number of the preset list item) * the height of the list item.

上述两种较佳实施方式中,假设列表中每一列表项是等高的,即为一个列表项高度。In the above two preferred implementation manners, it is assumed that each list item in the list is of the same height, that is, the height of one list item.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage Media such as ROM/RAM, magnetic disk, optical disk, etc.

在本发明实施例中,媒体播放器在光标离开列表时,列表的可见区域立即显示列表中的某个预设的列表项,不管之前该预设的列表项处于列表的何位置,从而达到快速定位显示的效果。本发明实施例进一步丰富了某些使用场景下的媒体播放器的列表显示方式,增强列表的可操作性,给用户带来更好的体验。In the embodiment of the present invention, when the cursor leaves the list, the visible area of the list immediately displays a certain preset list item in the list, no matter where the preset list item is in the list before, so as to achieve fast The effect of positioning display. The embodiment of the present invention further enriches the list display mode of the media player in certain usage scenarios, enhances the operability of the list, and brings better experience to users.

图2示出了本发明实施例适用的列表显示装置的结构图,包括:FIG. 2 shows a structural diagram of a list display device applicable to an embodiment of the present invention, including:

判断模块10,用于当媒体播放器的光标离开列表后,判断所述列表的总项数是否大于或等于N,其中,N为所述列表一次显示的最大项数,所述N为大于或等于1的自然数;Judging module 10, used for judging whether the total number of items in the list is greater than or equal to N after the cursor of the media player leaves the list, where N is the maximum number of items displayed at one time in the list, and N is greater than or equal to a natural number equal to 1;

滚动模块20,用于当所述列表的总项数大于N,且预设的列表项不在当前显示的列表项中时,向上或向下滚动所述列表中的列表项直到显示所述预设的列表项。A scrolling module 20, configured to scroll up or down the list items in the list until the preset list item is displayed when the total number of items in the list is greater than N and the preset list item is not in the currently displayed list item list items.

如图3所示,所述滚动模块20可包括:As shown in Figure 3, the rolling module 20 may include:

向下滚动单元21,用于当所述预设的列表项的编号小于滚动前的列表头的编号时,当前显示的所有列表项向下位移直到出现所述预设的列表项;Scroll down unit 21, for when the number of the preset list item is smaller than the number of the list header before scrolling, all currently displayed list items are displaced downward until the preset list item appears;

向上滚动单元22,用于当所述预设的列表项的编号大于滚动前的列表尾的编号时,当前显示的所有列表项向上位移直到出现所述预设的列表项。The upward scrolling unit 22 is configured to move all currently displayed list items upward until the preset list item appears when the number of the preset list item is greater than the number of the end of the list before scrolling.

下面详细描述本发明实施例的装置的工作原理。The working principle of the device in the embodiment of the present invention will be described in detail below.

本装置可以是媒体播放器本身,也可以是媒体播放器内置或外接的一装置。媒体播放器通过遥控器等遥控设备或其它具备光标定位作用的控制设备将光标定位在当前显示的任意一列表项。假设本发明实施例中,在任意时刻,媒体播放器的列表一次可以显示的列表项的总项数为N,而媒体播放器的列表项共有M,M和N为大于或等于1的自然数,一次显示的列表项为a1,a2,a3…aN,a1位于当前显示的列表项的列表头,aN位于当前显示的列表项的列表尾。The device may be the media player itself, or a device built into or connected to the media player. The media player positions the cursor on any currently displayed list item through a remote control device such as a remote controller or other control devices capable of positioning the cursor. Assume that in the embodiment of the present invention, at any time, the total number of list items that can be displayed in the list of the media player at one time is N, and the list items of the media player have a total of M, and M and N are natural numbers greater than or equal to 1, The list items displayed at one time are a 1 , a 2 , a 3 ... a N , a 1 is located at the head of the currently displayed list item, and a N is located at the end of the currently displayed list item.

本发明实施例中,将用户需要显示的列表项称为预设的列表项,预设的列表项可以为媒体播放器默认设置项,或用户自定义设置项,如将预设的列表项设置为用户最后一次打开的某一U盘,或用户在某一指定时间内打开的数据源。该列表项通常为用户关心的某一列表项,如设备列表中所包含的当前浏览的USB设备的名称。In the embodiment of the present invention, the list item that the user needs to display is called a preset list item, and the preset list item can be the default setting item of the media player, or a user-defined setting item, such as setting the preset list item It is a USB flash drive opened by the user last time, or a data source opened by the user within a specified time. The list item is usually a certain list item that the user cares about, such as the name of the currently browsed USB device included in the device list.

用户控制光标,使得光标离开当前显示的列表项。该动作触发判断模块10判断M是否大于或等于N。The user controls the cursor so that the cursor leaves the currently displayed list item. The action trigger judging module 10 judges whether M is greater than or equal to N.

若M小于或等于N,在这种情况下,媒体播放器内的列表项均为可见(包括预设的列表项),故滚动模块20不做任何操作。If M is less than or equal to N, in this case, all list items in the media player are visible (including preset list items), so the scrolling module 20 does not perform any operation.

若M大于N,且预设的列表项已经处于a1,a2,a3…aN的其中任意一个位置,则滚动模块20不做任何操作。若预设的列表项处于列表其它不可见的位置,则滚动模块20向上或向下滚动列表,直到预设的列表项出现。If M is greater than N, and the preset list item is already in any one of a 1 , a 2 , a 3 . . . a N , the scrolling module 20 does not perform any operation. If the preset list item is in other invisible positions of the list, the scrolling module 20 scrolls the list up or down until the preset list item appears.

滚动模块20可随机为向上或向下滚动所有列表项,直到预设的列表项出现。较佳的实施方式是滚动模块20根据预设的列表项在列表中所处的位置进行滚动,使预设的列表项更快的出现,具体如下:The scrolling module 20 may randomly scroll up or down all list items until a preset list item appears. A preferred embodiment is that the scrolling module 20 scrolls according to the position of the preset list item in the list, so that the preset list item appears faster, as follows:

若预设的列表项是a1之前的某个列表项,则向下滚动单元21先计算预设的列表项所处的位置相对a1的偏移距离D1,具体计算公式为:If the preset list item is a list item before a1, the scroll down unit 21 first calculates the offset distance D1 of the position of the preset list item relative to a1, and the specific calculation formula is:

偏移距离D1=(a1的编号—预设的列表项的编号)*列表项高度;Offset distance D1=(the number of a 1 —the number of the preset list item)*height of the list item;

将所有列表项沿媒体播放器显示屏幕的Y轴正方向向下位移上述偏移距离D1,所有列表项可一次位移一个列表项高度,也可一次性位移偏移距离D1,使预设的列表项处于列表头的位置。上述位移的速度也可预先设置。All list items are displaced downward by the above-mentioned offset distance D1 along the Y-axis positive direction of the media player display screen. All list items can be displaced by one list item height at a time, or can be displaced by the offset distance D1 at one time, so that the preset list The item is at the head of the list. The speed of the above-mentioned displacement can also be set in advance.

向下滚动单元21也可使滚动前所有列表项一次向下位移大于D1的距离,使所述预设的列表项位于列表头与列表尾之间的位置,此时滚动前所有列表项向下位移的距离应大于D1且小于D2,D2为预设的列表项相对于aN的偏移距离D2,其中,Scrolling down unit 21 can also make all the list items before scrolling move downwards at a time greater than the distance of D1, so that the preset list items are located between the head of the list and the tail of the list, at this time, all the list items before scrolling down The displacement distance should be greater than D1 and less than D2, D2 is the offset distance D2 of the preset list item relative to a N , where,

偏移距离D2=(aN的编号-预设的列表项的编号)*列表项高度。Offset distance D2 = (number of a N - number of the preset list item) * height of the list item.

若预设的列表项是aN之后的某个列表项,则向上滚动单元22先计算预设的列表项相对aN的偏移距离D3,具体计算公式为:If the preset list item is a certain list item after a N , the scroll-up unit 22 first calculates the offset distance D3 of the preset list item relative to a N , and the specific calculation formula is:

偏移距离D3=(预设的列表项的编号-aN的编号)*列表项高度;Offset distance D3 = (the number of the preset list item - the number of a N ) * the height of the list item;

将所有列表项沿媒体播放器显示屏幕的Y轴负方向向上位移上述偏移距离D3,所有列表项可一次位移一个列表项高度,也可一次性位移偏移距离D3,使预设的列表项处于aN的位置。同样,位移的速度也可预先设置。All list items are displaced upward by the above offset distance D3 along the negative direction of the Y axis of the media player display screen. All list items can be displaced by one list item height at a time, or the offset distance D3 can be displaced at one time, so that the preset list items At the position of a N. Likewise, the speed of displacement can also be preset.

向上滚动单元22也可使滚动前的所有列表项一次向上位移大于D3的距离,使所述预设的列表项位于列表头与列表尾之间的位置,此时滚动前所有列表项向上位移的距离应大于D3且小于D4,D4为预设的列表项相对于a1的偏移距离D4,其中,The upward scrolling unit 22 can also make all the list items before scrolling move up a distance greater than D3, so that the preset list items are located between the head of the list and the end of the list, at this time, all the list items before scrolling are displaced upwards. The distance should be greater than D3 and less than D4, D4 is the offset distance D4 of the preset list item relative to a 1 , where,

偏移距离D4=(a1的编号—预设的列表项的编号)*列表项高度。Offset distance D4 = (the number of a 1 - the number of the preset list item) * the height of the list item.

上述两种较佳实施方式中,假设列表中每一列表项是等高的,即为一个列表项高度。In the above two preferred implementation manners, it is assumed that each list item in the list is of the same height, that is, the height of one list item.

在本发明实施例中,媒体播放器在光标离开列表时,列表的可见区域立即显示列表中的某个预设的列表项,不管之前该预设的列表项处于列表的何位置,从而达到快速定位显示的效果。本发明实施例进一步丰富了某些使用场景下的媒体播放器的列表显示方式,增强列表的可操作性,给用户带来更好的体验。In the embodiment of the present invention, when the cursor leaves the list, the visible area of the list immediately displays a certain preset list item in the list, no matter where the preset list item is in the list before, so as to achieve fast The effect of positioning display. The embodiment of the present invention further enriches the list display mode of the media player in certain usage scenarios, enhances the operability of the list, and brings better experience to users.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (8)

1. a list display method, for media player, is characterized in that, described method comprises the steps:
After the cursor of media player leaves described list, judge whether the total item of described list is more than or equal to N, wherein, N is the maxitem that described list once shows, described N be more than or equal to 1 natural number;
When the total item of described list is greater than N, and preset list items not in the list items of current display time, the list items in described list roll up or down until show described default list items, and described default list items is the list items that user enters for the last time or the list items opened in the fixed time.
2. the method for claim 1, is characterized in that, described downward the scroll list is until the list items that display is preset comprises:
When the numbering of the list head before the numbering of described default list items is less than rolling, all list items of current display are to bottom offset until there is described default list items.
3. method as claimed in claim 1 or 2, is characterized in that, described in scroll up list until the list items that display is preset comprises:
When the numbering of the list tail before the numbering of described default list items is greater than rolling, all list items of current display are to top offset until there is described default list items.
4. method as claimed in claim 1 or 2, it is characterized in that, described media player is Blu-ray player, MP3 player or DVD.
5. a list display device, for media player, is characterized in that, described device comprises:
Judge module, for after the cursor of media player leaves described list, judge whether the total item of described list is more than or equal to N, wherein, N is the maxitem that described list once shows, described N be more than or equal to 1 natural number;
Rolling module, N is greater than for the total item when described list, and preset list items not in the list items of current display time, the list items in described list roll up or down until show described default list items, and described default list items is the list items that user enters for the last time or the list items opened in the fixed time.
6. device as claimed in claim 5, it is characterized in that, described rolling module comprises:
Downward rolling unit, for when the numbering of described default list items is less than the numbering of the list head before rolling, all list items of current display are to bottom offset until there is described default list items.
7. the device as described in claim 5 or 6, is characterized in that, described rolling module also comprises:
Scroll up unit, and for when the numbering of described default list items is greater than the numbering of the list tail before rolling, all list items of current display are to top offset until there is described default list items.
8. the device as described in claim 5 or 6, is characterized in that, described media player is Blu-ray player, MP3 player or DVD.
CN201210491117.5A 2012-11-27 2012-11-27 list display method and device Expired - Fee Related CN102999270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210491117.5A CN102999270B (en) 2012-11-27 2012-11-27 list display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210491117.5A CN102999270B (en) 2012-11-27 2012-11-27 list display method and device

Publications (2)

Publication Number Publication Date
CN102999270A CN102999270A (en) 2013-03-27
CN102999270B true CN102999270B (en) 2015-10-21

Family

ID=47927896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210491117.5A Expired - Fee Related CN102999270B (en) 2012-11-27 2012-11-27 list display method and device

Country Status (1)

Country Link
CN (1) CN102999270B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546818B (en) * 2013-10-31 2017-01-04 乐视致新电子科技(天津)有限公司 The focus control method of the list display interface of intelligent television and device
CN104731463B (en) * 2013-12-19 2019-04-12 腾讯科技(深圳)有限公司 The method and apparatus of picture in a kind of positioning picture list
CN109429090B (en) * 2017-08-30 2021-11-02 深圳创维-Rgb电子有限公司 A display method of smart TV list and smart TV

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691010A (en) * 2004-04-21 2005-11-02 腾讯科技(深圳)有限公司 Method for intimate list inquiry in instant communication software
CN102138123A (en) * 2008-08-26 2011-07-27 苹果公司 Dynamic control of list navigation based on list item properties
CN102157184A (en) * 2011-05-17 2011-08-17 宇龙计算机通信科技(深圳)有限公司 Method for generating play list and mobile terminal
CN102314303A (en) * 2010-07-06 2012-01-11 爱信艾达株式会社 Display device and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8839155B2 (en) * 2009-03-16 2014-09-16 Apple Inc. Accelerated scrolling for a multifunction device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691010A (en) * 2004-04-21 2005-11-02 腾讯科技(深圳)有限公司 Method for intimate list inquiry in instant communication software
CN102138123A (en) * 2008-08-26 2011-07-27 苹果公司 Dynamic control of list navigation based on list item properties
CN102314303A (en) * 2010-07-06 2012-01-11 爱信艾达株式会社 Display device and program
CN102157184A (en) * 2011-05-17 2011-08-17 宇龙计算机通信科技(深圳)有限公司 Method for generating play list and mobile terminal

Also Published As

Publication number Publication date
CN102999270A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
US10444968B2 (en) Display control device, display control method, and program
JP6033226B2 (en) Home screen editing method and apparatus with touch device
US20180307407A1 (en) Information processing device, information processing method, and program
JP6418725B2 (en) Memo function operation method and apparatus linked with recording function
CN104007893B (en) For providing the method and apparatus of user interface in portable terminal
JP5801970B2 (en) Drag handle for applying an image filter in the image editor
JP6112905B2 (en) Screen scroll method for display apparatus and apparatus therefor
US9761277B2 (en) Playback state control by position change detection
US20190034042A1 (en) Screen control method and electronic device thereof
US9690459B2 (en) Display apparatus and user interface screen displaying method using the same
KR20170076357A (en) User terminal device, and mode conversion method and sound system for controlling volume of speaker thereof
US20130036387A1 (en) Information processing device, information processing method, and program
KR20130123053A (en) Method for searching replay point for multimedia and multimedia replay apparatus therefor
CN102999270B (en) list display method and device
WO2012178001A1 (en) Computer-implemented video puzzles
KR20160018268A (en) Apparatus and method for controlling content by using line interaction
JP2012141514A (en) Display control device, display control method, and program
CN102522097A (en) Method for accurately controlling progress of player on touch type equipment and player
JP2009169955A (en) Method and apparatus for displaying content list
CN103123795A (en) Multimedia playing method
CN104123124A (en) Burning control device and method
JP2008204560A5 (en)
US20120290931A1 (en) Apparatus and method for arranging supplementary information for media elements
KR20160088776A (en) Method for changing screen of display device and Apparatus using the same
JP2017102773A (en) Display control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151021

CF01 Termination of patent right due to non-payment of annual fee