CN103218578A - Terminal and display control method - Google Patents
Terminal and display control method Download PDFInfo
- Publication number
- CN103218578A CN103218578A CN2013100660740A CN201310066074A CN103218578A CN 103218578 A CN103218578 A CN 103218578A CN 2013100660740 A CN2013100660740 A CN 2013100660740A CN 201310066074 A CN201310066074 A CN 201310066074A CN 103218578 A CN103218578 A CN 103218578A
- Authority
- CN
- China
- Prior art keywords
- level
- preset
- target page
- permission
- authority
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000013500 data storage Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 208000008918 voyeurism Diseases 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Storage Device Security (AREA)
Abstract
本发明提供了一种终端,包括:页面确定单元,用于根据感应到的用户操作,确定需要切换显示的目标页面;判断单元,用于判断所述目标页面是否存在对应的预设权限;显示单元,用于在所述判断单元的判断结果为存在的情况下,按照预设的亮度对所述目标页面进行显示。本发明还提出了一种显示控制方法。通过本发明的技术方案,可以根据权限的设置情况来自动调节终端的显示亮度,从而限制终端的屏幕可视度,保证用户的隐私。
The present invention provides a terminal, comprising: a page determination unit, for determining a target page to be switched for display according to a sensed user operation; a judgment unit, for judging whether the target page has a corresponding preset permission; and a display unit, for displaying the target page at a preset brightness when the judgment result of the judgment unit is that the target page exists. The present invention also proposes a display control method. Through the technical solution of the present invention, the display brightness of the terminal can be automatically adjusted according to the setting of the permission, thereby limiting the screen visibility of the terminal and ensuring the privacy of the user.
Description
技术领域technical field
本发明涉及显示控制技术领域,具体而言,涉及一种终端和一种显示控制方法。The present invention relates to the technical field of display control, in particular, to a terminal and a display control method.
背景技术Background technique
在相关技术中,终端的屏幕亮度在设定了某一固定亮度值时,只有通过手动调节才可以进行亮度的改变。即便是终端自带的“自动调节亮度”功能,也只能使得屏幕亮度随环境变化而改变,在同一环境下则显然无法自动变化。In related technologies, when a certain fixed brightness value is set for the screen brightness of the terminal, the brightness can only be changed through manual adjustment. Even the "automatic brightness adjustment" function that comes with the terminal can only make the screen brightness change as the environment changes, and it obviously cannot change automatically in the same environment.
而随着移动终端屏幕尺寸的趋大化(5.0寸、5.7寸、7.0寸甚至10.0寸),同一屏上能够显示的内容也越来越多,可视化的区域越来越大,屏幕上的内容也更容易被其他用户从终端的侧面、远处窥视,特别是原本由用户通过密码、指纹等方式设置了权限认证的内容,在用户解锁后,使得这些内容能够被其他用户查看到,从而大大降低了用户的使用安全性。特别是当用户的终端始终保持在同一亮度的情况下,则无论原本是否为预设了权限的内容,都会被以相同的可视度在终端的屏幕上显示,则无论用户是否手动遮挡这些内容,显然都无疑会给用户带来很大的困扰,甚至使得原本的权限限制形同虚设。With the increasing screen size of mobile terminals (5.0 inches, 5.7 inches, 7.0 inches and even 10.0 inches), more and more content can be displayed on the same screen, and the visualization area is getting larger and larger. It is also easier to be peeped by other users from the side of the terminal or from a distance, especially the content originally set up by the user through passwords, fingerprints, etc. After the user unlocks the content, the content can be viewed by other users, thus greatly Reduced user security. Especially when the user's terminal is kept at the same brightness all the time, no matter whether it is the content with preset permissions or not, it will be displayed on the screen of the terminal with the same visibility, regardless of whether the user manually blocks the content , obviously will undoubtedly bring a lot of trouble to users, and even make the original permission restrictions useless.
因此,需要一种新的显示控制技术,可以根据权限的设置情况来自动调节终端的显示亮度,从而限制终端的屏幕可视度,保证用户的隐私。Therefore, a new display control technology is needed, which can automatically adjust the display brightness of the terminal according to the setting of the authority, thereby limiting the screen visibility of the terminal and ensuring the privacy of the user.
发明内容Contents of the invention
本发明正是基于上述问题,提出了一种新的显示控制技术,可以根据权限的设置情况来自动调节终端的显示亮度,从而限制终端的屏幕可视度,保证用户的隐私。Based on the above problems, the present invention proposes a new display control technology, which can automatically adjust the display brightness of the terminal according to the setting of the authority, thereby limiting the screen visibility of the terminal and ensuring the privacy of the user.
有鉴于此,本发明提出了一种终端,包括:页面确定单元,用于根据感应到的用户操作,确定需要切换显示的目标页面;判断单元,用于判断所述目标页面是否存在对应的预设权限;显示单元,用于在所述判断单元的判断结果为存在的情况下,按照预设的亮度对所述目标页面进行显示。在该技术方案中,将页面分为存在预设权限和不存在预设权限两种类型,通过对这两种类型的页面采用不同的亮度进行显示,从而确保用户的隐私内容不容易被其他人从终端的屏幕上窥视到,提升了终端使用的安全性。这里的预设权限可以包括设置了密码、指纹、图案、手势图形等中的一种或多种的情况。In view of this, the present invention proposes a terminal, including: a page determining unit, configured to determine a target page that needs to be switched and displayed according to a sensed user operation; a judging unit, configured to judge whether there is a corresponding preset page for the target page. Authorization is set; a display unit is configured to display the target page according to a preset brightness when the judging result of the judging unit is yes. In this technical solution, the pages are divided into two types with preset permissions and without preset permissions, and the two types of pages are displayed with different brightness to ensure that the user's private content is not easy to be seen by others. Peeping from the screen of the terminal improves the security of terminal use. The preset permissions here may include the setting of one or more of passwords, fingerprints, patterns, gesture graphics, and the like.
在上述技术方案中,优选地,所述判断单元通过判断所述目标页面所处的应用程序和/或所述目标页面中包含的内容是否存在预设权限,从而确定所述目标页面是否存在对应的预设权限。在该技术方案中,第一种情况下,当某个应用程序存在预设权限时(如应用程序的启动密码等),则判定该应用程序中的任一应用程序界面存在对应的预设权限;第二种情况下,当某个应用程序界面中包含的内容存在预设权限时(如应用程序“短信”中的加密短信),则判定该应用程序界面存在对应的预设权限;第三种情况下,应用程序及其中的应用程序界面包含的内容均存在预设权限时,则判定目标页面存在预设权限。通过对应用程序的权限设置,有利于简化权限设置过程;而通过对页面的内容进行权限设置,则有利于实现更加精准的权限控制,从而实现更为准确地屏幕亮度控制。In the above technical solution, preferably, the judging unit determines whether the target page has a corresponding default permissions. In this technical solution, in the first case, when an application has a preset permission (such as the startup password of the application, etc.), it is determined that any application program interface in the application has a corresponding preset permission ; In the second case, when the content contained in a certain application program interface has preset permissions (such as encrypted text messages in the application "SMS"), it is determined that the application program interface has corresponding preset permissions; In this case, if the application program and the content contained in the application program interface have preset permissions, it is determined that the target page has preset permissions. By setting the permission of the application program, it is beneficial to simplify the permission setting process; and by setting the permission of the content of the page, it is beneficial to realize more precise permission control, so as to realize more accurate screen brightness control.
在上述技术方案中,优选地,还包括:等级获取单元,用于在所述目标页面存在对应的预设权限的情况下,进一步获取所述预设权限的等级,以供所述显示单元按照所述等级对应的亮度显示所述目标页面;其中,所述等级越高,则所述亮度越低。在该技术方案中,通过对亮度调节进行分级,从而使得越为重要的页面就越为难以查看,确保更高的安全性。但由于对屏幕亮度的调节,可能会对终端的使用用户本身的查看造成一定的障碍,因此,对于权限等级较低的页面,则尽可能地确保用户能够更容易查看到页面中的内容,提升用户体验。In the above technical solution, preferably, further comprising: a level acquisition unit, configured to further acquire the level of the preset authority in the case that the target page has a corresponding preset authority, for the display unit to follow The brightness corresponding to the grade displays the target page; wherein, the higher the grade, the lower the brightness. In this technical solution, by grading the brightness adjustment, the more important pages are more difficult to view, ensuring higher security. However, due to the adjustment of the screen brightness, it may cause certain obstacles to the user's own viewing of the terminal. Therefore, for pages with a lower authority level, try to ensure that the user can view the content of the page more easily as much as possible. user experience.
在上述技术方案中,优选地,所述等级获取单元根据所述预设权限的鉴权方式确定所述预设权限的等级;或所述等级获取单元获取所述目标页面所处的应用程序或所述目标页面中包含的内容对应的优先级和/或权限标签,并根据所述优先级和/或权限标签的类别确定所述预设权限的等级。在该技术方案中,不同权限具有不同的鉴权方式,而鉴权方式的差异也往往对应于不同的安全度,那么,对于安全度更高的鉴权方式,其对应的页面或页面内的内容显然也需要更高的安全性,因而可以采用对应的亮度进行显示,实现对内容显示的亮度分级。此外,用户可能本身已经为应用程序或内容设置了优先级或权限标签(即“重要”、“加密”、“锁定”、“重要并锁定”等标签,具体地,在应用程序或内容的显示标识上,可能显示有相应的标识,其作用与“优先级”类似),则可以据此实现更为准确的内容显示的亮度分级。In the above technical solution, preferably, the level acquisition unit determines the level of the preset authority according to the authentication method of the preset authority; or the level acquisition unit acquires the application program or The content contained in the target page corresponds to a priority and/or a permission label, and the level of the preset permission is determined according to the category of the priority and/or permission label. In this technical solution, different permissions have different authentication methods, and the differences in authentication methods often correspond to different security degrees. Then, for authentication methods with higher security degrees, the corresponding pages or pages in the pages Obviously, the content also needs higher security, so the corresponding brightness can be used for display, so as to realize the brightness grading of content display. In addition, the user may have set priority or permission labels (i.e., "important", "encrypted", "locked", "important and locked" and other labels for the application or content, specifically, when the application or content is displayed There may be a corresponding logo displayed on the logo, its function is similar to "priority"), and based on this, more accurate brightness grading of content display can be achieved.
在上述技术方案中,优选地,还包括:数据存储单元,用于在所述终端中建立权限等级规则数据库,并在所述权限等级规则数据库中关联地存储所述预设权限和所述等级;其中,所述等级获取单元根据所述目标页面对应的预设权限,从所述权限等级规则数据库中查找对应的等级。在该技术方案中,通过建立权限等级规则数据库,从而更为准确地记载了预设权限与亮度等级之间的关联关系,有利于更为准确地控制基于权限的显示亮度。In the above technical solution, preferably, further comprising: a data storage unit, configured to establish an authority level rule database in the terminal, and store the preset authority and the level in association in the authority level rule database ; Wherein, the level acquisition unit searches the corresponding level from the authority level rule database according to the preset authority corresponding to the target page. In this technical solution, by establishing a permission level rule database, the relationship between preset permissions and brightness levels is more accurately recorded, which is beneficial to more accurately controlling the display brightness based on permissions.
根据本发明的又一方面,还提出了一种显示控制方法,包括:步骤202,根据感应到的用户操作,确定需要切换显示的目标页面;步骤204,判断所述目标页面是否存在对应的预设权限,若存在,则按照预设的亮度对所述目标页面进行显示。在该技术方案中,将页面分为存在预设权限和不存在预设权限两种类型,通过对这两种类型的页面采用不同的亮度进行显示,从而确保用户的隐私内容不容易被其他人从终端的屏幕上窥视到,提升了终端使用的安全性。这里的预设权限可以包括设置了密码、指纹、图案、手势图形等中的一种或多种的情况。According to another aspect of the present invention, a display control method is also proposed, including:
在上述技术方案中,优选地,所述判断所述目标页面是否存在对应的预设权限的步骤包括:判断所述目标页面所处的应用程序和/或所述目标页面中包含的内容是否存在预设权限。在该技术方案中,第一种情况下,当某个应用程序存在预设权限时(如应用程序的启动密码等),则判定该应用程序中的任一应用程序界面存在对应的预设权限;第二种情况下,当某个应用程序界面中包含的内容存在预设权限时(如应用程序“短信”中的加密短信),则判定该应用程序界面存在对应的预设权限;第三种情况下,应用程序及其中的应用程序界面包含的内容均存在预设权限时,则判定目标页面存在预设权限。通过对应用程序的权限设置,有利于简化权限设置过程;而通过对页面的内容进行权限设置,则有利于实现更加精准的权限控制,从而实现更为准确地屏幕亮度控制。In the above technical solution, preferably, the step of judging whether there is a corresponding preset authority on the target page includes: judging whether the application where the target page is located and/or the content contained in the target page exists Default permissions. In this technical solution, in the first case, when an application has a preset permission (such as the startup password of the application, etc.), it is determined that any application program interface in the application has a corresponding preset permission ; In the second case, when the content contained in a certain application program interface has preset permissions (such as encrypted text messages in the application "SMS"), it is determined that the application program interface has corresponding preset permissions; In this case, if the application program and the content contained in the application program interface have preset permissions, it is determined that the target page has preset permissions. By setting the permission of the application program, it is beneficial to simplify the permission setting process; and by setting the permission of the content of the page, it is beneficial to realize more precise permission control, so as to realize more accurate screen brightness control.
在上述技术方案中,优选地,所述步骤204还包括:若所述目标页面存在对应的预设权限,则进一步获取所述预设权限的等级,并按照所述等级对应的亮度显示所述目标页面;其中,所述等级越高,则所述亮度越低。在该技术方案中,通过对亮度调节进行分级,从而使得越为重要的页面就越为难以查看,确保更高的安全性。但由于对屏幕亮度的调节,可能会对终端的使用用户本身的查看造成一定的障碍,因此,对于权限等级较低的页面,则尽可能地确保用户能够更容易查看到页面中的内容,提升用户体验。In the above technical solution, preferably, the
在上述技术方案中,优选地,所述步骤204包括:根据所述预设权限的鉴权方式确定所述预设权限的等级;或获取所述目标页面所处的应用程序或所述目标页面中包含的内容对应的优先级和/或权限标签,并根据所述优先级和/或权限标签的类别确定所述预设权限的等级。在该技术方案中,不同权限具有不同的鉴权方式,而鉴权方式的差异也往往对应于不同的安全度,那么,对于安全度更高的鉴权方式,其对应的页面或页面内的内容显然也需要更高的安全性,因而可以采用对应的亮度进行显示,实现对内容显示的亮度分级。此外,用户可能本身已经为应用程序或内容设置了优先级或权限标签(即“重要”、“加密”、“锁定”、“重要并锁定”等标签,具体地,在应用程序或内容的显示标识上,可能显示有相应的标识,其作用与“优先级”类似),则可以据此实现更为准确的内容显示的亮度分级。In the above technical solution, preferably, the
在上述技术方案中,优选地,还包括:建立权限等级规则数据库,并在所述权限等级规则数据库中关联地存储所述预设权限和所述等级;以及在所述步骤204中,根据所述目标页面对应的预设权限,从所述权限等级规则数据库中查找对应的等级。在该技术方案中,通过建立权限等级规则数据库,从而更为准确地记载了预设权限与亮度等级之间的关联关系,有利于更为准确地控制基于权限的显示亮度。In the above technical solution, preferably, further comprising: establishing a permission level rule database, and storing the preset permission and the level in association in the permission level rule database; and in the
通过以上技术方案,可以根据权限的设置情况来自动调节终端的显示亮度,从而限制终端的屏幕可视度,保证用户的隐私。Through the above technical solution, the display brightness of the terminal can be automatically adjusted according to the setting of the authority, thereby limiting the visibility of the screen of the terminal and ensuring the privacy of the user.
附图说明Description of drawings
图1示出了根据本发明的实施例的终端的框图;Fig. 1 shows a block diagram of a terminal according to an embodiment of the present invention;
图2示出了根据本发明的实施例的显示控制方法的流程图;FIG. 2 shows a flowchart of a display control method according to an embodiment of the present invention;
图3示出了根据本发明的实施例的根据权限设置控制终端显示亮度的具体流程图;FIG. 3 shows a specific flow chart of controlling terminal display brightness according to authority settings according to an embodiment of the present invention;
图4A示出了根据本发明的实施例的存在预设权限的应用程序的示意图;FIG. 4A shows a schematic diagram of an application program with preset permissions according to an embodiment of the present invention;
图4B示出了根据本发明的实施例的存在预设权限的内容的示意图。Fig. 4B shows a schematic diagram of content with preset permissions according to an embodiment of the present invention.
具体实施方式Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.
图1示出了根据本发明的实施例的终端的框图。FIG. 1 shows a block diagram of a terminal according to an embodiment of the present invention.
如图1所示,根据本发明的实施例的终端100,包括:页面确定单元102,用于根据感应到的用户操作,确定需要切换显示的目标页面;判断单元104,用于判断所述目标页面是否存在对应的预设权限;显示单元106,用于在所述判断单元104的判断结果为存在的情况下,按照预设的亮度对所述目标页面进行显示。在该技术方案中,将页面分为存在预设权限和不存在预设权限两种类型,通过对这两种类型的页面采用不同的亮度进行显示,从而确保用户的隐私内容不容易被其他人从终端100的屏幕上窥视到,提升了终端100使用的安全性。这里的预设权限可以包括设置了密码、指纹、图案、手势图形等中的一种或多种的情况。As shown in FIG. 1, a terminal 100 according to an embodiment of the present invention includes: a page determining unit 102, configured to determine a target page that needs to be switched and displayed according to a sensed user operation; a judging unit 104, configured to judge the target page Whether there is a corresponding preset authority for the page; the display unit 106 is configured to display the target page according to a preset brightness when the judging result of the judging unit 104 is yes. In this technical solution, the pages are divided into two types with preset permissions and without preset permissions, and the two types of pages are displayed with different brightness to ensure that the user's private content is not easy to be seen by others. Peeping from the screen of the terminal 100 improves the security of using the terminal 100 . The preset permissions here may include the setting of one or more of passwords, fingerprints, patterns, gesture graphics, and the like.
在上述技术方案中,优选地,所述判断单元104通过判断所述目标页面所处的应用程序和/或所述目标页面中包含的内容是否存在预设权限,从而确定所述目标页面是否存在对应的预设权限。在该技术方案中,第一种情况下,当某个应用程序存在预设权限时(如应用程序的启动密码等),则判定该应用程序中的任一应用程序界面存在对应的预设权限;第二种情况下,当某个应用程序界面中包含的内容存在预设权限时(如应用程序“短信”中的加密短信),则判定该应用程序界面存在对应的预设权限;第三种情况下,应用程序及其中的应用程序界面包含的内容均存在预设权限时,则判定目标页面存在预设权限。通过对应用程序的权限设置,有利于简化权限设置过程;而通过对页面的内容进行权限设置,则有利于实现更加精准的权限控制,从而实现更为准确地屏幕亮度控制。In the above technical solution, preferably, the judging unit 104 determines whether the target page exists by judging whether the application where the target page is located and/or whether the content contained in the target page has preset permissions Corresponding default permissions. In this technical solution, in the first case, when an application has a preset permission (such as the startup password of the application, etc.), it is determined that any application program interface in the application has a corresponding preset permission ; In the second case, when the content contained in a certain application program interface has preset permissions (such as encrypted text messages in the application "SMS"), it is determined that the application program interface has corresponding preset permissions; In this case, if the application program and the content contained in the application program interface have preset permissions, it is determined that the target page has preset permissions. By setting the permission of the application program, it is beneficial to simplify the permission setting process; and by setting the permission of the content of the page, it is beneficial to realize more precise permission control, so as to realize more accurate screen brightness control.
在上述技术方案中,优选地,还包括:等级获取单元108,用于在所述目标页面存在对应的预设权限的情况下,进一步获取所述预设权限的等级,以供所述显示单元106按照所述等级对应的亮度显示所述目标页面;其中,所述等级越高,则所述亮度越低。在该技术方案中,通过对亮度调节进行分级,从而使得越为重要的页面就越为难以查看,确保更高的安全性。但由于对屏幕亮度的调节,可能会对终端100的使用用户本身的查看造成一定的障碍,因此,对于权限等级较低的页面,则尽可能地确保用户能够更容易查看到页面中的内容,提升用户体验。In the above technical solution, preferably, further comprising: a level acquisition unit 108, configured to further acquire the level of the preset authority when the target page has a corresponding preset authority, for the display unit 106 Display the target page according to the brightness corresponding to the level; wherein, the higher the level, the lower the brightness. In this technical solution, by grading the brightness adjustment, the more important pages are more difficult to view, ensuring higher security. However, due to the adjustment of the screen brightness, it may cause certain obstacles to the viewing of the user of the terminal 100. Therefore, for pages with a lower authority level, it is possible to ensure that the user can view the content of the page more easily. Improve user experience.
在上述技术方案中,优选地,所述等级获取单元108根据所述预设权限的鉴权方式确定所述预设权限的等级;或所述等级获取单元108获取所述目标页面所处的应用程序或所述目标页面中包含的内容对应的优先级和/或权限标签,并根据所述优先级和/或权限标签的类别确定所述预设权限的等级。在该技术方案中,不同权限具有不同的鉴权方式,而鉴权方式的差异也往往对应于不同的安全度,那么,对于安全度更高的鉴权方式,其对应的页面或页面内的内容显然也需要更高的安全性,因而可以采用对应的亮度进行显示,实现对内容显示的亮度分级。此外,用户可能本身已经为应用程序或内容设置了优先级或权限标签(即“重要”、“加密”、“锁定”、“重要并锁定”等标签,具体地,在应用程序或内容的显示标识上,可能显示有相应的标识,其作用与“优先级”类似),则可以据此实现更为准确的内容显示的亮度分级。In the above technical solution, preferably, the level acquisition unit 108 determines the level of the preset authority according to the authentication method of the preset authority; or the level acquisition unit 108 acquires the application where the target page is located The priority and/or permission label corresponding to the content contained in the program or the target page, and the level of the preset permission is determined according to the priority and/or category of the permission label. In this technical solution, different permissions have different authentication methods, and the differences in authentication methods often correspond to different security degrees. Then, for authentication methods with higher security degrees, the corresponding pages or pages in the pages Obviously, the content also needs higher security, so the corresponding brightness can be used for display, so as to realize the brightness grading of content display. In addition, the user may have set priority or permission labels (i.e., "important", "encrypted", "locked", "important and locked" and other labels for the application or content, specifically, when the application or content is displayed There may be a corresponding logo displayed on the logo, its function is similar to "priority"), and based on this, more accurate brightness grading of content display can be achieved.
在上述技术方案中,优选地,还包括:数据存储单元110,用于在所述终端100中建立权限等级规则数据库,并在所述权限等级规则数据库中关联地存储所述预设权限和所述等级;其中,所述等级获取单元108根据所述目标页面对应的预设权限,从所述权限等级规则数据库中查找对应的等级。在该技术方案中,通过建立权限等级规则数据库,从而更为准确地记载了预设权限与亮度等级之间的关联关系,有利于更为准确地控制基于权限的显示亮度。In the above technical solution, preferably, further comprising: a data storage unit 110, configured to establish an authority level rule database in the terminal 100, and store the preset authority and all The above level; wherein, the level obtaining unit 108 searches the corresponding level from the authority level rule database according to the preset authority corresponding to the target page. In this technical solution, by establishing a permission level rule database, the relationship between preset permissions and brightness levels is more accurately recorded, which is beneficial to more accurately controlling the display brightness based on permissions.
图2示出了根据本发明的实施例的显示控制方法的流程图。Fig. 2 shows a flowchart of a display control method according to an embodiment of the present invention.
如图2所示,根据本发明的实施例的显示控制方法,包括:步骤202,根据感应到的用户操作,确定需要切换显示的目标页面;步骤204,判断所述目标页面是否存在对应的预设权限,若存在,则按照预设的亮度对所述目标页面进行显示。在该技术方案中,将页面分为存在预设权限和不存在预设权限两种类型,通过对这两种类型的页面采用不同的亮度进行显示,从而确保用户的隐私内容不容易被其他人从终端的屏幕上窥视到,提升了终端使用的安全性。这里的预设权限可以包括设置了密码、指纹、图案、手势图形等中的一种或多种的情况。As shown in FIG. 2, the display control method according to the embodiment of the present invention includes:
在上述技术方案中,优选地,所述判断所述目标页面是否存在对应的预设权限的步骤包括:判断所述目标页面所处的应用程序和/或所述目标页面中包含的内容是否存在预设权限。在该技术方案中,第一种情况下,当某个应用程序存在预设权限时(如应用程序的启动密码等),则判定该应用程序中的任一应用程序界面存在对应的预设权限;第二种情况下,当某个应用程序界面中包含的内容存在预设权限时(如应用程序“短信”中的加密短信),则判定该应用程序界面存在对应的预设权限;第三种情况下,应用程序及其中的应用程序界面包含的内容均存在预设权限时,则判定目标页面存在预设权限。通过对应用程序的权限设置,有利于简化权限设置过程;而通过对页面的内容进行权限设置,则有利于实现更加精准的权限控制,从而实现更为准确地屏幕亮度控制。In the above technical solution, preferably, the step of judging whether there is a corresponding preset authority on the target page includes: judging whether the application where the target page is located and/or the content contained in the target page exists Default permissions. In this technical solution, in the first case, when an application has a preset permission (such as the startup password of the application, etc.), it is determined that any application program interface in the application has a corresponding preset permission ; In the second case, when the content contained in a certain application program interface has preset permissions (such as encrypted text messages in the application "SMS"), it is determined that the application program interface has corresponding preset permissions; In this case, if the application program and the content contained in the application program interface have preset permissions, it is determined that the target page has preset permissions. By setting the permission of the application program, it is beneficial to simplify the permission setting process; and by setting the permission of the content of the page, it is beneficial to realize more precise permission control, so as to realize more accurate screen brightness control.
在上述技术方案中,优选地,所述步骤204还包括:若所述目标页面存在对应的预设权限,则进一步获取所述预设权限的等级,并按照所述等级对应的亮度显示所述目标页面;其中,所述等级越高,则所述亮度越低。在该技术方案中,通过对亮度调节进行分级,从而使得越为重要的页面就越为难以查看,确保更高的安全性。但由于对屏幕亮度的调节,可能会对终端的使用用户本身的查看造成一定的障碍,因此,对于权限等级较低的页面,则尽可能地确保用户能够更容易查看到页面中的内容,提升用户体验。In the above technical solution, preferably, the
在上述技术方案中,优选地,所述步骤204包括:根据所述预设权限的鉴权方式确定所述预设权限的等级;或获取所述目标页面所处的应用程序或所述目标页面中包含的内容对应的优先级和/或权限标签,并根据所述优先级和/或权限标签的类别确定所述预设权限的等级。在该技术方案中,不同权限具有不同的鉴权方式,而鉴权方式的差异也往往对应于不同的安全度,那么,对于安全度更高的鉴权方式,其对应的页面或页面内的内容显然也需要更高的安全性,因而可以采用对应的亮度进行显示,实现对内容显示的亮度分级。此外,用户可能本身已经为应用程序或内容设置了优先级或权限标签(即“重要”、“加密”、“锁定”、“重要并锁定”等标签,具体地,在应用程序或内容的显示标识上,可能显示有相应的标识,其作用与“优先级”类似),则可以据此实现更为准确的内容显示的亮度分级。In the above technical solution, preferably, the
在上述技术方案中,优选地,还包括:建立权限等级规则数据库,并在所述权限等级规则数据库中关联地存储所述预设权限和所述等级;以及在所述步骤204中,根据所述目标页面对应的预设权限,从所述权限等级规则数据库中查找对应的等级。在该技术方案中,通过建立权限等级规则数据库,从而更为准确地记载了预设权限与亮度等级之间的关联关系,有利于更为准确地控制基于权限的显示亮度。In the above technical solution, preferably, further comprising: establishing a permission level rule database, and storing the preset permission and the level in association in the permission level rule database; and in the
下面结合图3和图4A、图4B,具体描述本发明的技术方案,其中,图3示出了根据本发明的实施例的根据权限设置控制终端显示亮度的具体流程图;图4A示出了根据本发明的实施例的存在预设权限的应用程序的示意图;图4B示出了根据本发明的实施例的存在预设权限的内容的示意图。The technical solution of the present invention is described in detail below in conjunction with FIG. 3 and FIG. 4A and FIG. 4B, wherein FIG. 3 shows a specific flow chart of controlling terminal display brightness according to authority settings according to an embodiment of the present invention; FIG. 4A shows A schematic diagram of an application with preset permissions according to an embodiment of the present invention; FIG. 4B shows a schematic diagram of content with preset permissions according to an embodiment of the present invention.
如图3所示,根据本发明的实施例的根据权限设置控制终端显示亮度的具体流程包括:As shown in FIG. 3 , according to the embodiment of the present invention, the specific process of controlling the display brightness of the terminal according to the authority setting includes:
步骤302,选择某个应用程序。具体地,可以包括在待机解锁界面、终端主界面或者应用程序的图标界面直接选择,或是从某个应用程序中对所述应用程序进行调用。Step 302, select an application. Specifically, it may include direct selection on a standby unlocking interface, a terminal main interface, or an icon interface of an application program, or invoking the application program from a certain application program.
步骤304,判断被选中的应用程序是否存在预设权限,若存在,则进入步骤306,否则进入步骤318。其中,预设权限即预先为应用程序设置的权限,从而用于对用户身份的识别,以实现对授权用户的选择和禁止非授权用户的操作。具体地,比如可以对应用程序采用指纹、PIN码(Personal Identification Number,个人识别码)、图案、手势图形等中的一种或多种作为对应的鉴权方式。Step 304 , judging whether the selected application program has preset permissions, if yes, go to step 306 , otherwise go to step 318 . Wherein, the preset authority refers to the authority set in advance for the application program, so as to identify the identity of the user, so as to realize the selection of the authorized user and prohibit the operation of the unauthorized user. Specifically, for example, one or more of fingerprints, PIN codes (Personal Identification Number, personal identification code), patterns, gesture graphics, etc. may be used as corresponding authentication methods for the application program.
步骤306,查询权限等级规则数据库,以确定该应用程序的权限等级。具体地,可以根据多种方式确定应用程序的权限等级,比如在一种方式下,可以根据应用程序的预设权限的鉴权方式来设定等级,如指纹>图案>PIN码>手势图形(指对应的权限等级的大小);在另一种方式下,还可以根据应用程序的优先级或权限标签(即“重要”、“加密”、“锁定”、“重要并锁定”等标签,具体地,在应用程序或内容的显示标识上,可能显示有相应的标识,其作用与“优先级”类似)来设定等级。Step 306, query the permission level rule database to determine the permission level of the application program. Specifically, the permission level of the application program can be determined in a variety of ways. For example, in one way, the level can be set according to the authentication method of the preset permission of the application program, such as fingerprint > pattern > PIN code > gesture pattern ( Refers to the size of the corresponding permission level); in another way, it can also be based on the priority of the application or the permission label (that is, labels such as "important", "encrypted", "locked", "important and locked", etc., specifically Alternatively, a corresponding logo may be displayed on the display logo of the application program or content, and its function is similar to "priority") to set the level.
步骤308,查到权限等级后,采用屏幕亮度调节算法实时调节屏幕亮度。具体地,这里的屏幕亮度调节算法可以是商家预设的,也可以由用户根据需求设置,比如按照:权限等级上升一级时,屏幕亮度降低20%。Step 308, after finding the permission level, adjust the screen brightness in real time by using the screen brightness adjustment algorithm. Specifically, the screen brightness adjustment algorithm here can be preset by the merchant, or can be set by the user according to the needs, for example, according to: when the permission level is increased by one level, the screen brightness is reduced by 20%.
需要说明的是,虽然图3中存在上述步骤306,即对于权限等级的确定,但实际上,为了简化步骤,满足用户的一般需求,可以在步骤304中判断出存在预设权限时,直接对屏幕亮度进行调节。It should be noted that although there is the above-mentioned step 306 in FIG. 3, that is, the determination of the authority level, in fact, in order to simplify the steps and meet the general needs of users, when it is determined in step 304 that there is a preset authority, the Adjust the brightness of the screen.
另外,对于存在预设权限的应用程序,比如图4A中的应用程序402所示,可以在其应用图标上以一定的权限标识404进行标记。当然,图4A中仅进行了示例,具体可以根据权限的不同,从而设置不同的权限标识404或是不设置。需要注意的是,对于一些存在预设权限的应用程序402,用户可以使其在未鉴权之前处于“隐匿”的状态,即不在终端屏幕上显示,而在用户鉴权成功后,再将其显示在终端屏幕上。In addition, for application programs with preset permissions, such as the application program 402 shown in FIG. 4A , a certain permission identifier 404 may be marked on the application icon. Of course, FIG. 4A is only an example, and specifically, different permission identifiers 404 may be set or not set according to different permissions. It should be noted that, for some applications 402 with preset permissions, the user can make them in a "hidden" state before authentication, that is, they are not displayed on the terminal screen, and after the user authentication is successful, they can be displayed on the terminal screen.
步骤310,进入该应用程序。Step 310, enter the application program.
步骤312,在进入应用程序时,比如通过点击对应的应用图标,则相应地存在显示界面,并且该显示界面上包含有一个或多个显示项目作为显示内容。因此,在将该显示界面显示在终端屏幕上之前,需要首先判断其中的显示内容是否存在预设权限,若存在,则进入步骤314,否则进入步骤318。Step 312, when entering an application program, such as by clicking a corresponding application icon, a corresponding display interface exists, and the display interface contains one or more display items as display content. Therefore, before displaying the display interface on the terminal screen, it is first necessary to determine whether the display content therein has a preset authority, and if so, proceed to step 314 , otherwise proceed to step 318 .
其中,与应用程序的预设权限类似地,显示内容的预设权限是预先为显示内容设置的权限,从而用于对用户身份的识别,以实现对授权用户的选择和禁止非授权用户的操作。具体地,比如可以对显示内容采用指纹、PIN码(Personal Identification Number,个人识别码)、图案、手势图形等中的一种或多种作为对应的鉴权方式。Among them, similar to the preset permissions of the application program, the preset permissions of the display content are permissions set in advance for the display content, so as to identify the identity of the user, so as to realize the selection of authorized users and prohibit the operation of unauthorized users . Specifically, for example, one or more of fingerprints, PIN codes (Personal Identification Number, personal identification code), patterns, gesture graphics, etc. can be used as corresponding authentication methods for the displayed content.
步骤314,查询权限等级规则数据库,以确定该显示内容的权限等级。类似于对应用程序的处理方式,具体地,可以根据多种方式确定显示内容的权限等级,比如在一种方式下,可以根据显示内容的预设权限的鉴权方式来设定等级,如指纹>图案>PIN码>手势图形(指对应的权限等级的大小);在另一种方式下,还可以根据显示内容的优先级或权限标签(即“重要”、“加密”、“锁定”、“重要并锁定”等标签,具体地,在显示内容上可能显示有相应的标识,其作用与“优先级”类似)来设定等级。Step 314, query the permission level rule database to determine the permission level of the displayed content. Similar to the processing method for application programs, specifically, the authority level of the displayed content can be determined in various ways, for example, in one way, the level can be set according to the authentication method of the preset authority of the displayed content, such as fingerprint >Pattern>PIN code>Gesture graphics (refers to the size of the corresponding permission level); Labels such as "important and locked", specifically, there may be corresponding signs displayed on the displayed content, which function is similar to "priority") to set the level.
步骤316,查到权限等级后,采用预设的屏幕亮度调节算法实时调节屏幕亮度。具体地,这里的屏幕亮度调节算法可以是商家预设的,也可以由用户根据需求设置,比如按照:权限等级上升一级时,屏幕亮度降低20%。Step 316, after finding the permission level, adjust the screen brightness in real time using a preset screen brightness adjustment algorithm. Specifically, the screen brightness adjustment algorithm here can be preset by the merchant, or can be set by the user according to the needs, for example, according to: when the permission level is increased by one level, the screen brightness is reduced by 20%.
需要说明的是:It should be noted:
首先,虽然图3中是以“对应用程序的权限进行判定,以调节屏幕亮度”、然后“对显示内容的权限进行判定,以调节屏幕亮度”的顺序进行介绍的,但实际上,单独对应用程序或单独对显示内容进行权限判定、从而实现屏幕亮度的调节的方式显然也是可以的,具体地,即单独实现步骤302至步骤308,或单独实现步骤310至步骤316。First of all, although the introduction in Figure 3 is in the order of "judging the authority of the application program to adjust the screen brightness", and then "judging the authority of the displayed content to adjust the screen brightness", in fact, the It is obviously also possible for the application program to determine the authority of the displayed content separately, so as to adjust the brightness of the screen. Specifically, step 302 to step 308 or step 310 to step 316 are implemented separately.
其次,虽然图3中存在上述步骤314,即对于权限等级的确定,但实际上,为了简化步骤,满足用户的一般需求,可以在步骤312中判断出存在预设权限时,直接对屏幕亮度进行调节。Secondly, although there is the above-mentioned step 314 in FIG. 3, that is, the determination of the authority level, in fact, in order to simplify the steps and meet the general needs of users, when it is judged in step 312 that there is a preset authority, the screen brightness can be directly adjusted. adjust.
再次,对于存在预设权限的显示内容,比如图4B中的内容406A、内容406B和内容406C(或其他未示出的显示内容)所示,可以在其指定位置上以一定的权限标识404A、权限标识404B和权限标识404C(或其他未示出的标识)进行标记。当然,图4B中仅进行了示例,具体可以根据权限的不同,从而设置不同的权限标识或是不设置。需要注意的是,对于一些存在预设权限的显示内容(比如这里的内容406A、内容406B和内容406C),用户可以使其在未鉴权之前处于“隐匿”的状态,即不在终端屏幕上显示,而在用户鉴权成功后,再将其显示在终端屏幕上。Again, for display content with preset permissions, such as
以上结合附图详细说明了本发明的技术方案,考虑到相关技术中无法对终端的屏幕显示亮度进行自动调节,或是仅能够根据环境变化进行自动调节,无法对终端屏幕上的显示内容进行较好的隐私保护。因此,本发明提出了一种终端和一种显示控制方法,可以根据权限的设置情况来自动调节终端的显示亮度,从而限制终端的屏幕可视度,保证用户的隐私。The technical solution of the present invention has been described in detail above in conjunction with the accompanying drawings. Considering that in the related art, the screen display brightness of the terminal cannot be automatically adjusted, or it can only be automatically adjusted according to environmental changes, and the display content on the terminal screen cannot be compared. Good privacy protection. Therefore, the present invention proposes a terminal and a display control method, which can automatically adjust the display brightness of the terminal according to the setting of the authority, thereby limiting the screen visibility of the terminal and ensuring the privacy of the user.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100660740A CN103218578A (en) | 2013-03-01 | 2013-03-01 | Terminal and display control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100660740A CN103218578A (en) | 2013-03-01 | 2013-03-01 | Terminal and display control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103218578A true CN103218578A (en) | 2013-07-24 |
Family
ID=48816349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100660740A Pending CN103218578A (en) | 2013-03-01 | 2013-03-01 | Terminal and display control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103218578A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528563A (en) * | 2014-09-30 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Interface information processing method and device for a mobile terminal |
CN107679426A (en) * | 2017-09-08 | 2018-02-09 | 维沃移动通信有限公司 | A kind of screen content display method thereof and mobile terminal |
CN111241585A (en) * | 2020-01-15 | 2020-06-05 | 广东小天才科技有限公司 | Interface content display method and system, storage medium and intelligent terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020157002A1 (en) * | 2001-04-18 | 2002-10-24 | Messerges Thomas S. | System and method for secure and convenient management of digital electronic content |
CN1547343A (en) * | 2003-12-17 | 2004-11-17 | 上海市高级人民法院 | A Single Sign On method based on digital certificate |
CN101930510A (en) * | 2009-06-25 | 2010-12-29 | 鸿富锦精密工业(深圳)有限公司 | Password protection method |
CN101950241A (en) * | 2010-09-17 | 2011-01-19 | 百度在线网络技术(北京)有限公司 | Method and equipment for automatically adjusting visual characteristic of page |
CN102130916A (en) * | 2011-03-18 | 2011-07-20 | 深圳市深信服电子科技有限公司 | Authority control method and device for page content level |
CN201930510U (en) * | 2010-12-28 | 2011-08-17 | 罗云国 | Luminous electric scooter |
CN102291486A (en) * | 2011-06-01 | 2011-12-21 | 宇龙计算机通信科技(深圳)有限公司 | screen control method and terminal |
-
2013
- 2013-03-01 CN CN2013100660740A patent/CN103218578A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020157002A1 (en) * | 2001-04-18 | 2002-10-24 | Messerges Thomas S. | System and method for secure and convenient management of digital electronic content |
CN1547343A (en) * | 2003-12-17 | 2004-11-17 | 上海市高级人民法院 | A Single Sign On method based on digital certificate |
CN101930510A (en) * | 2009-06-25 | 2010-12-29 | 鸿富锦精密工业(深圳)有限公司 | Password protection method |
CN101950241A (en) * | 2010-09-17 | 2011-01-19 | 百度在线网络技术(北京)有限公司 | Method and equipment for automatically adjusting visual characteristic of page |
CN201930510U (en) * | 2010-12-28 | 2011-08-17 | 罗云国 | Luminous electric scooter |
CN102130916A (en) * | 2011-03-18 | 2011-07-20 | 深圳市深信服电子科技有限公司 | Authority control method and device for page content level |
CN102291486A (en) * | 2011-06-01 | 2011-12-21 | 宇龙计算机通信科技(深圳)有限公司 | screen control method and terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528563A (en) * | 2014-09-30 | 2016-04-27 | 阿里巴巴集团控股有限公司 | Interface information processing method and device for a mobile terminal |
CN105528563B (en) * | 2014-09-30 | 2018-12-28 | 阿里巴巴集团控股有限公司 | Interface information processing method and processing device in mobile terminal device |
CN107679426A (en) * | 2017-09-08 | 2018-02-09 | 维沃移动通信有限公司 | A kind of screen content display method thereof and mobile terminal |
CN111241585A (en) * | 2020-01-15 | 2020-06-05 | 广东小天才科技有限公司 | Interface content display method and system, storage medium and intelligent terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9146668B2 (en) | Graphical element placement on a display surface | |
CN110781468B (en) | Identity authentication processing method and device, electronic equipment and storage medium | |
US20170005995A1 (en) | Confidential data management method and device, and security authentication method and system | |
JP6706007B2 (en) | Authentication device, authentication method, and electronic device | |
US20130268775A1 (en) | Method and device for generating a code | |
US10979450B2 (en) | Method and system for blocking phishing or ransomware attack | |
US20100199337A1 (en) | System and method for establishing and authorizing a security code | |
EP2941732B1 (en) | Authentication using a subset of a user-known code sequence | |
JP2005128996A (en) | Information processing apparatus and system, and program | |
CN107111698B (en) | Authentication server device, storage medium, and authentication method | |
US20150350191A1 (en) | Method and Apparatus for Managing Passcode | |
US10210337B2 (en) | Information rights management using discrete data containerization | |
AU2015101772A4 (en) | Reducing inadvertent data loss in email | |
US11353964B2 (en) | Wearable device for displaying con lent, and method thereof | |
JP5143310B1 (en) | Programmable display | |
US20080172750A1 (en) | Self validation of user authentication requests | |
CN103218578A (en) | Terminal and display control method | |
KR102014408B1 (en) | Method and computer program for user authentication using image touch password | |
CN107306270B (en) | High security user multi-authentication system and method | |
KR101603988B1 (en) | System for context-aware service | |
US11651527B2 (en) | Augmented reality based image protection in enterprise settings | |
US9384340B2 (en) | Accessible region of a device | |
EP3346406A1 (en) | Data input method, and electronic device and system for implementing the data input method | |
JP2016066294A (en) | Irm program using position information | |
CN106991308A (en) | Safety certifying method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130724 |