WO2020057573A1 - Electronic device control method and apparatus, electronic device, and storage medium - Google Patents

Electronic device control method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2020057573A1
WO2020057573A1 PCT/CN2019/106552 CN2019106552W WO2020057573A1 WO 2020057573 A1 WO2020057573 A1 WO 2020057573A1 CN 2019106552 W CN2019106552 W CN 2019106552W WO 2020057573 A1 WO2020057573 A1 WO 2020057573A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
permission
application
operation request
range
Prior art date
Application number
PCT/CN2019/106552
Other languages
French (fr)
Chinese (zh)
Inventor
滕文星
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020057573A1 publication Critical patent/WO2020057573A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An electronic device control method and apparatus, an electronic device, and a storage medium. The electronic device control method comprises: acquiring a permission configuration request that acts on a first screen (S110); according to the permission configuration request, configuring a second permission range corresponding to a second screen on the basis of a first permission range corresponding to the first screen, the second permission range being smaller than the first permission range (S120); acquiring an operation request (S130); if the operation request acts on the first screen, responding to or rejecting the operation request according to the first permission range (S140); if the operation request acts on the second screen, responding to or rejecting the operation request according to the second permission range (S150).

Description

电子设备控制方法及装置、电子设备及存储介质Control method and device for electronic equipment, electronic equipment and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201811099492.9、申请日为2018年9月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with an application number of 201811099492.9 and an application date of September 20, 2018, and claims the priority of the Chinese patent application. The entire contents of the Chinese patent application are incorporated herein by reference.
技术领域Technical field
本申请涉及电子技术领域但不限于电子技术领域,尤其涉及一种电子设备控制方法及装置、电子设备及存储介质。The present application relates to the field of electronic technology, but is not limited to the field of electronic technology, and in particular, to a method and device for controlling an electronic device, an electronic device, and a storage medium.
背景技术Background technique
为了满足不同的显示需求,出现了电子设备,例如,包括两个屏幕的双屏设备。To meet different display needs, electronic devices have appeared, for example, dual-screen devices including two screens.
电子设备在显示时,可能分为了第一屏幕和第二屏幕。使用第一屏幕和第二屏幕的用户可能是不同的用户。但在相关技术中单系统设备在支持多屏显示时,存在着信息容易泄露等安全性问题。When the electronic device is displayed, it may be divided into a first screen and a second screen. The users using the first screen and the second screen may be different users. However, in the related art, when a single-system device supports multi-screen display, there are security issues such as easy leakage of information.
发明内容Summary of the Invention
本申请实施例期望提供一种电子设备控制方法及装置、电子设备及存储介质。The embodiments of the present application are expected to provide an electronic device control method and device, an electronic device, and a storage medium.
本申请的技术方案是这样实现的:The technical solution of this application is implemented as follows:
本申请实施例提供一种电子设备控制方法,包括:An embodiment of the present application provides a method for controlling an electronic device, including:
获取作用于第一屏幕的权限设置请求;Obtain a permission setting request acting on the first screen;
根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;Setting a second permission range corresponding to the second screen on the basis of the first permission range corresponding to the first screen according to the permission setting request, wherein the second permission range is smaller than the first permission range;
获取操作请求;Get operation request;
若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;If the operation request acts on the first screen, responding or rejecting the operation request according to the first authority range;
若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。If the operation request acts on the second screen, respond or reject the operation request according to the second authority range.
一种电子设备安全控制装置,An electronic equipment safety control device,
所述装置包括:The device includes:
第一获取模块,用于获取作用于第一屏幕的权限设置请求;A first obtaining module, configured to obtain a permission setting request acting on the first screen;
设置模块,用于根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;A setting module, configured to set a second permission range corresponding to the second screen on the basis of the first permission range corresponding to the first screen according to the permission setting request, wherein the second permission range is smaller than the first permission range;
第二获取模块,用于获取操作请求;A second acquisition module, configured to acquire an operation request;
第一执行模块,用于若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;A first execution module, configured to respond or reject the operation request according to the first authority range if the operation request acts on the first screen;
第二执行模块,用于若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。A second execution module is configured to respond or reject the operation request according to the second authority range if the operation request acts on the second screen.
一种电子设备,包括:An electronic device includes:
第一屏幕;First screen
至少一个第二屏幕;At least one second screen;
处理器,分别与所述第一屏幕及所述第二屏幕连接,至少配置为获取作用于第一屏幕的权限设置请求;根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范 围,其中,所述第二权限范围小于所述第一权限范围;获取操作请求;若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。The processor is respectively connected to the first screen and the second screen, and is configured to obtain at least a permission setting request acting on the first screen; and according to the permission setting request, in a first permission range corresponding to the first screen On the basis, a second permission range corresponding to the second screen is set, wherein the second permission range is smaller than the first permission range; an operation request is obtained; if the operation request acts on the first screen, according to the first screen, A permission range responds or rejects the operation request; if the operation request acts on the second screen, responds or rejects the operation request according to the second permission range.
一种计算机存储介质,所述计算机存储介质存储有计算机程序;所述计算机程序被执行后,能够实现前述的电子设备控制方法。A computer storage medium stores a computer program. After the computer program is executed, the foregoing electronic device control method can be implemented.
本申请实施例提供的技术方案,会根据作用于第一屏幕的权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕的第二权限范围;并且使得第二屏幕的第二权限范围小于第一权限范围。如此,在获取到操作请求时,可以根据操作请求作用的屏幕,基于对应的权限范围响应或拒绝对应的操作请求。如此,主用户在使用第一屏幕时,可以通过设置第二屏幕的第二权限范围,避免其他用户使用第二屏幕时的滥用,从而减少第一屏幕和第二屏幕同时使用相同的权限时,第二屏幕被滥用导致的电子设备的安全性不够的问题,提升了电子设备的使用安全性和电子设备内存储的信息的安全性。According to the technical solution provided in the embodiment of the present application, the second permission range of the second screen is set on the basis of the first permission range corresponding to the first screen according to the permission setting request acting on the first screen; The second authority range is smaller than the first authority range. In this way, when the operation request is obtained, the corresponding operation request may be responded or rejected based on the corresponding authority range according to the screen on which the operation request functions. In this way, when the primary user uses the first screen, the second permission range of the second screen can be set to avoid abuse by other users when using the second screen, thereby reducing the first screen and the second screen using the same permission at the same time. The problem of insufficient security of the electronic device caused by the abuse of the second screen improves the use security of the electronic device and the security of the information stored in the electronic device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的第一种电子设备控制方法的流程示意图;FIG. 1 is a schematic flowchart of a first electronic device control method according to an embodiment of the present application; FIG.
图2为本申请实施例提供的第二种电子设备控制方法的流程示意图;2 is a schematic flowchart of a second electronic device control method according to an embodiment of the present application;
图3为本申请实施例提供的第三种电子设备控制方法的流程示意图;3 is a schematic flowchart of a third electronic device control method according to an embodiment of the present application;
图4为本申请实施例提供的第四种电子设备控制方法的流程示意图;4 is a schematic flowchart of a fourth electronic device control method according to an embodiment of the present application;
图5为本申请实施例提供的一种电子设备控制装置的结构示意图;5 is a schematic structural diagram of an electronic device control apparatus according to an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图;6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图7为本申请实施例提供的第四种电子设备控制方法的流程示意图;7 is a schematic flowchart of a fourth electronic device control method according to an embodiment of the present application;
图8为本申请实施例提供的第五种电子设备控制方法的流程示意图;8 is a schematic flowchart of a fifth electronic device control method according to an embodiment of the present application;
图9为本申请实施例提供的第六种电子设备控制方法的流程示意图;9 is a schematic flowchart of a sixth electronic device control method according to an embodiment of the present application;
图10为本申请实施例提供的一种安全中心装置的结构示意图;10 is a schematic structural diagram of a security center device according to an embodiment of the present application;
图11为本申请实施例提供的一种安全中心系统的结构示意图。FIG. 11 is a schematic structural diagram of a security center system according to an embodiment of the present application.
具体实施方式detailed description
以下结合说明书附图及具体实施例对本申请的技术方案做进一步的详细阐述。The technical solution of the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments of the specification.
如图1所示,本实施例提供一种电子设备控制方法,包括:As shown in FIG. 1, this embodiment provides a method for controlling an electronic device, including:
步骤S110:获取作用于第一屏幕的权限设置请求;Step S110: Obtain a permission setting request acting on the first screen;
步骤S120:根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;Step S120: Set a second permission range corresponding to the second screen on the basis of the first permission range corresponding to the first screen according to the permission setting request, where the second permission range is smaller than the first permission range;
步骤S130:获取操作请求;Step S130: obtaining an operation request;
步骤S140:若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;Step S140: if the operation request acts on the first screen, respond or reject the operation request according to the first authority range;
步骤S150:若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。Step S150: If the operation request acts on the second screen, respond or reject the operation request according to the second authority range.
本实施例所述电子设备可为至少包括两个屏幕的电子设备。在一些实施例中,所述电子设备还可为包括3或4个屏幕的电子设备。The electronic device described in this embodiment may be an electronic device including at least two screens. In some embodiments, the electronic device may also be an electronic device including 3 or 4 screens.
以双屏设备为例,所述第一电子设备的第一表面和第二表面均设置有一个屏幕;所述第二表面为所述第一表面的相反面。Taking a dual-screen device as an example, a first screen and a second surface of the first electronic device are each provided with a screen; and the second surface is an opposite surface of the first surface.
若是包括两个以上的屏幕,则至少一个第二屏幕是位于第一屏幕的反面的。If it includes more than two screens, at least one second screen is located on the opposite side of the first screen.
所述屏幕可为各种类型的屏幕,例如,电子墨水显示屏、液晶显示屏、有机发光二极管OLED显示屏等。The screen may be various types of screens, for example, an electronic ink display screen, a liquid crystal display screen, an organic light emitting diode OLED display screen, and the like.
在本实施例中,所述电子设备可为各种类型的电子设备,例如,固定设备或移动设备。所述移动设备可包括:车载移动设备或者人载移动设备。所述人载移动设备可包括:手机或平板电脑。In this embodiment, the electronic device may be various types of electronic devices, such as a fixed device or a mobile device. The mobile device may include a vehicle-mounted mobile device or a person-mounted mobile device. The human-mounted mobile device may include a mobile phone or a tablet computer.
所述电子设备包括:一个第一屏幕和至少一个第二屏幕。The electronic device includes a first screen and at least one second screen.
在本实施例中所述电子设备可为单系统设备或多系统设备。若所述电子设备为单系统设备,则该电 子设备仅运行一个操作系统,该电子设备的第一屏幕和至少一个第二屏幕的权限范围都是设置在该操作系统内的。若所述电子设备为多系统设备,则该电子设备可运行多个操作系统,在本实施例中,所述第一权限范围及所述第二权限范围设置在同一个操作系统中;即配置有所述第一权限范围的第一屏幕和所述第二权限范围的第二屏幕当前打开的可是同一个操作系统。The electronic device in this embodiment may be a single-system device or a multi-system device. If the electronic device is a single-system device, the electronic device runs only one operating system, and the permission ranges of the first screen and at least one second screen of the electronic device are set in the operating system. If the electronic device is a multi-system device, the electronic device can run multiple operating systems. In this embodiment, the first permission range and the second permission range are set in the same operating system; that is, configuration The first screen with the first permission range and the second screen with the second permission range currently open the same operating system.
所述操作系统可为各种操作系统,例如,安卓操作系统、IOS操作系统、Windows操作系统等。The operating system may be various operating systems, such as an Android operating system, an IOS operating system, a Windows operating system, and the like.
所述第一屏幕和所述第二屏幕可为不同的屏幕,第一屏幕和第二屏幕为两个独立的屏幕。独立的两个屏幕的独立性可体现在,第一屏幕和第二屏幕的控制逻辑完全独立;可以单独点亮其中一个屏幕,也可以同时点亮多个屏幕。在一些实施例中,所述第一屏幕和所述第二屏幕并非一个屏幕的不同区域。所述第一屏幕和所述第二屏幕的显示区域不同,例如,第一屏幕和第二屏幕分布在多屏显示设备的不同表面等。The first screen and the second screen may be different screens, and the first screen and the second screen are two independent screens. The independence of the two independent screens can be reflected in that the control logic of the first screen and the second screen are completely independent; one of the screens can be lit individually, or multiple screens can be lit at the same time. In some embodiments, the first screen and the second screen are not different areas of a screen. The display areas of the first screen and the second screen are different, for example, the first screen and the second screen are distributed on different surfaces of a multi-screen display device.
所述第一屏幕和所述第二屏幕可为相同类型的屏幕,可以是不同类型的屏幕。例如,所述第一屏幕和所述第二屏幕均可为液晶显示屏、电子墨水显示屏、有机发光二极管(OLED)显示屏等。在还有一些实施例中,电子设备为了满足不同的显示需求,第一屏幕和第二屏幕可为不同类型的屏幕。不同类型的屏幕可为:显示原理不同的屏幕;或者,特定属性不同的屏幕。例如,第一屏幕可为液晶显示屏或OLED显示屏;第二屏幕可为电子墨水显示屏。电子墨水显示屏,与液晶显示屏和OLED显示屏的显示原理均不同的。特定属性不同的屏幕,例如,第一屏幕是柔性系数很小的硬屏,第二屏幕可为柔性系数很大的柔性显示屏。硬屏需要保持特定的姿态,例如,不能弯曲或弯曲幅度非常小;而柔性显示屏则可以弯曲。若所述电子设备为智能手表等可穿戴设备,在表盘上设置的可以硬屏;在表带部分设置了柔性显示屏。所述特定属性除柔性系数以外,还可以是功耗参数等属性。不同类型的屏幕的功耗不同。例如,同面积和同解析度的液晶显示屏的功耗可能大于电子墨水显示屏。The first screen and the second screen may be the same type of screen, or may be different types of screens. For example, the first screen and the second screen may each be a liquid crystal display, an electronic ink display, an organic light emitting diode (OLED) display, or the like. In still other embodiments, in order to meet different display requirements of the electronic device, the first screen and the second screen may be different types of screens. Different types of screens can be: screens with different display principles; or screens with different specific attributes. For example, the first screen may be a liquid crystal display or an OLED display; the second screen may be an electronic ink display. E-ink display is different from LCD and OLED display. Screens with different specific attributes, for example, the first screen is a hard screen with a small flexibility coefficient, and the second screen may be a flexible display with a large flexibility coefficient. Hard screens need to maintain a specific posture, for example, they cannot bend or bend very little; flexible displays can bend. If the electronic device is a wearable device such as a smart watch, a hard screen can be provided on the dial; a flexible display is provided on the watch band. In addition to the flexibility coefficient, the specific attribute may be an attribute such as a power consumption parameter. Different types of screens have different power consumption. For example, the same area and the same resolution of the LCD display may consume more power than the electronic ink display.
总之,在一些实施例中,所述第一屏幕和所述第二屏幕可为不同的屏幕;此时的电子设备可为多屏设备。In short, in some embodiments, the first screen and the second screen may be different screens; the electronic device at this time may be a multi-screen device.
所述第一屏幕和所述第二屏幕可为两个相互独立的物理屏,也可以是同一个物理屏幕的不同屏幕区域。例如,柔性显示屏中朝向不同方向的两个不同显示区域,同样可视为本申请中的第一屏幕和第二屏幕。The first screen and the second screen may be two independent physical screens, or may be different screen areas of the same physical screen. For example, two different display areas facing different directions in the flexible display screen can also be regarded as the first screen and the second screen in this application.
在另一些实施例中,所述第一屏幕和第二屏幕可是位于不同屏幕内的屏幕区域;例如,该电子设备为柔性显示设备,柔性显示设备包含的柔性显示屏可以折叠,如此柔性显示屏的两个不同区域的显示面可以朝向不同的显示面,用户在该屏幕的不同侧观看第一屏幕和第二屏幕的显示。In other embodiments, the first screen and the second screen may be screen areas located in different screens; for example, the electronic device is a flexible display device, and the flexible display device included in the flexible display device may be folded. The display surfaces of the two different regions may face different display surfaces, and the user views the display of the first screen and the second screen on different sides of the screen.
总之,在本实施例中,所述第一屏幕和所述第二屏幕的显示面朝向不同的方向,例如,朝向相反的方向或者两个显示面之间的夹角大于不为零,例如,大于u特定角度,该特定角度可在90度至270度之间;当然此处仅是特定角度的举例,具体实现时,不局限于此。In short, in this embodiment, the display surfaces of the first screen and the second screen are facing different directions, for example, facing in opposite directions or the angle between the two display surfaces is greater than or equal to zero, for example, If the specific angle is greater than u, the specific angle may be between 90 degrees and 270 degrees; of course, this is only an example of a specific angle, and the specific implementation is not limited to this.
在一些实施例中,所述第一屏幕可为主屏,所述第二屏幕为副屏;主屏为电子设备的主要显示屏幕,副屏可为不同主屏的屏幕。在一些实施例中,电子设备的副屏可为:辅助主屏显示的辅助屏幕。In some embodiments, the first screen may be a main screen, and the second screen is a sub screen; the main screen is a main display screen of an electronic device, and the sub screen may be a screen of a different main screen. In some embodiments, the secondary screen of the electronic device may be a secondary screen displayed on a secondary main screen.
所述主屏和副屏之间的区别可以体现在以下至少之一:The difference between the primary screen and the secondary screen may be reflected in at least one of the following:
设置位置不同,主屏位于电子设备的正面(例如,A面),正面是用户最长观看和使用的一面;辅屏设置在电子设备的反面,该反面为所述正面的背面;The setting position is different, the main screen is located on the front side of the electronic device (for example, the A side), and the front side is the side that is viewed and used by the user for the longest; the auxiliary screen is set on the reverse side of the electronic device, and the reverse side is the back side of the front side;
系统设置不同,操作系统将该对应的屏幕设置为主屏,则主屏相对于副屏可能会设置很多优先级。例如,设备在启动的过程中,自动点亮主屏;而在启动之后是否需要点亮副屏,可能会需要检测作用于主屏的操作指示来确定。再例如,电子设备在启动的过程中,优先点亮主屏,再点亮副屏。在还有一些实施例中,根据当前设备的储能情况,若当前设备的点亮低于特定值,则自动关闭副屏,以节省显示功耗,以延长电子设备的待机时长及维持主屏的正常显示。The system settings are different. The operating system sets the corresponding screen as the primary screen, and the primary screen may set a lot of priorities relative to the secondary screen. For example, the device automatically lights up the main screen during the startup process; whether the secondary screen needs to be lit after startup may need to be detected by operating instructions acting on the main screen to determine. As another example, during the startup process of the electronic device, the main screen is preferentially lit, and then the secondary screen is lit. In some embodiments, according to the energy storage situation of the current device, if the lighting of the current device is lower than a specific value, the secondary screen is automatically closed to save display power consumption, extend the standby time of the electronic device, and maintain the normal display.
在一些实施例中,主屏和副屏对应的具体屏幕,可以根据用户的设置进行切换。In some embodiments, the specific screens corresponding to the primary screen and the secondary screen may be switched according to user settings.
所述第一屏幕具有第一权限范围;所述第二屏幕具有第二权限范围。所述第一权限范围大于所述第二权限范围,可包括:The first screen has a first permission range; the second screen has a second permission range. The first authority range is greater than the second authority range, and may include:
所述第一权限范围包含的权限多于所述第二权限范围包含的权限;如此,第一屏幕对应的权限集合比第二屏幕对应的权限集合大;如此,涉及到电子设备的信息安全和设备使用安全的权限可以从第二权 限范围中删除。The first permission range includes more permissions than the second permission range. In this way, the permission set corresponding to the first screen is larger than the permission set corresponding to the second screen; thus, the information security and The device's use permission can be removed from the second permission range.
在一些实施例中,所述第一权限范围的权限等级可高于所述第二权限范围的权限等级;如此,针对于同一个权限,第一屏幕具有更高的权限等级;例如,以网页查看权限为例,高权限等级可以查看所有网页内容,而低权限等级仅可以查看指定内容;In some embodiments, the permission level of the first permission range may be higher than the permission level of the second permission range; thus, for the same permission, the first screen has a higher permission level; for example, a web page View permission as an example, a high permission level can view all web content, while a low permission level can only view specified content;
在另一些实施例中,所述第一权限范围的权限优先级可高于所述第二权限范围的权限优先级;如此,针对于同一个权限,作用于第一屏幕的操作请求具有更高的优先级;例如,利用电子设备上的智能家居控制应用,第一屏幕检测到一个控制空调打开并将目标温度设置为A的操作请求,第二屏幕检测到一个控制空调打开并将目标温度设置为B的操作请求;根据第一屏幕的权限优先级高于第二屏幕的权限优先级,则电子设备此时向空调发送的且目标温度为A的打开指令。In other embodiments, the permission priority of the first permission range may be higher than the permission priority of the second permission range; thus, for the same permission, the operation request acting on the first screen has a higher For example, using a smart home control application on an electronic device, the first screen detects an operation request to control the air conditioner to turn on and set the target temperature to A, and the second screen detects a control air conditioner to turn on and set the target temperature Is an operation request of B; according to the authority priority of the first screen being higher than the authority priority of the second screen, the electronic device sends an opening instruction to the air conditioner at this time with a target temperature of A.
在一些实施例中,所述第一权限范围可为:包含所述电子设备所有权限的权限范围;所述第二权限范围可为:包含所述电子设备部分权限的权限范围。此时,所述第一权限范围默认为所述电子设备的权限范围。In some embodiments, the first permission range may be: a permission range including all permissions of the electronic device; and the second permission range may be: a permission range including part of the permissions of the electronic device. At this time, the first authority range defaults to the authority range of the electronic device.
总之,所述第一权限范围和所述第二权限范围的不同,可以表现在上述三个方面的任意一个方面。如此,通过第一屏幕和第二屏幕的权限差异性设置,可以控制第二屏幕在使用电子设备时的权限,从而提升电子设备的使用安全信息及电子设备内所存储信息的信息安全性。In short, the difference between the first authority range and the second authority range may be expressed in any one of the above three aspects. In this way, through the permission difference setting of the first screen and the second screen, the authority of the second screen when using the electronic device can be controlled, thereby improving the use security information of the electronic device and the information security of the information stored in the electronic device.
由于设置了第一权限范围和第二权限范围,如此,使得所述第二屏幕不再具有电子设备所有的权限,若检测到作用于第二屏幕的操作请求时,需要根据第二屏幕的第二权限范围,确定是否响应该操作请求。例如,所述操作请求所使用的权限位于所述第二权限范围内,则响应所述操作请求,否则不响应所述操作请求。不响应所述操作请求即为:拒绝所述操作请求。Because the first permission range and the second permission range are set, so that the second screen no longer has all the permissions of the electronic device. If an operation request acting on the second screen is detected, it is necessary to Two permission scopes, determine whether to respond to the operation request. For example, if the permission used by the operation request is within the second permission range, the operation request is responded, otherwise the operation request is not responded. Failure to respond to the operation request is to reject the operation request.
所述操作请求可对应于作用于屏幕的各种操作,例如,点击、滑动、按压、控件拖动等触摸操作,或者,利用鼠标、眼动仪检测的作用于屏幕的各种操作请求。The operation request may correspond to various operations acting on the screen, for example, touch operations such as clicking, sliding, pressing, and dragging of controls, or various operation requests acting on the screen detected by a mouse or an eye tracker.
例如,所述操作请求可包括:检测通过光标指示第二屏幕某一个显示控件的点击、拖动等光标操作对应的操作请求。该光标操作可以是基于鼠标辅助的光标操作或者基于不与第二屏幕重叠设置的触摸板的光标操作;For example, the operation request may include: detecting an operation request corresponding to a cursor operation such as clicking or dragging a display control on the second screen indicated by the cursor. The cursor operation may be a cursor operation based on a mouse assist or a cursor operation based on a touch pad that is not overlapped with the second screen;
例如,所述操作请求可包括:利用视线定位操作检测的操作请求;例如,通过通孔定位或眼动仪等作用于第二屏幕的显示控件的操作。For example, the operation request may include: an operation request detected by using a line of sight positioning operation; for example, an operation of a display control acting on the second screen through a through-hole positioning or an eye tracker.
在一些实施例中,如图2所示,所述方法还包括:In some embodiments, as shown in FIG. 2, the method further includes:
步骤S100:确定是否满足第二权限范围的应用条件;Step S100: Determine whether the application conditions of the second authority range are met;
所述步骤S150可包括:若满足所述应用条件且所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。The step S150 may include: if the application condition is satisfied and the operation request acts on the second screen, responding or rejecting the operation request according to the second authority range.
在一些实施例中,如图2所示,所述方法还包括:In some embodiments, as shown in FIG. 2, the method further includes:
步骤S160:若不满足所述应用条件,根据所述第一权限范围响应或拒绝作用于所述第二屏幕的操作请求。Step S160: If the application conditions are not met, respond to or reject an operation request acting on the second screen according to the first authority range.
如此,在一些特定情况下,可以视情况基于用户输入或者电子设备的内置指令,确定是否满足第二权限范围的应用条件,若满足才根据第二权限范围限制第二屏幕的操作请求的响应,否则第二屏幕同样享有第一权限范围,如此,方便满足不同的操作需求。例如,使用第二屏幕的非主用户,是主用户信任的用户,则可以通过用户输入指示电子设备当前不满足第二权限范围的应用条件,避免第二权限范围限制第二屏幕的操作请求响应带来的不便;从而再次提升了用户体验。As such, in some specific cases, based on user input or built-in instructions of the electronic device, it can be determined as to whether the application conditions of the second permission range are met, and if the response of the operation request of the second screen is restricted according to the second permission range, Otherwise, the second screen also enjoys the first permission range, so it is convenient to meet different operating needs. For example, if the non-main user using the second screen is a user trusted by the main user, the user input can be used to indicate that the electronic device currently does not meet the application conditions of the second permission range, thereby avoiding the second permission range limiting the operation request response of the second screen The inconvenience caused; thus improving the user experience again.
在一些实施例中,所述第一屏幕和所述第二屏幕为朝向不同方向的不同物理屏幕;所述步骤S100可包括:确定是否启动安全应用环境;若启动所述安全应用环境,确定满足所述第二权限范围的应用条件。In some embodiments, the first screen and the second screen are different physical screens facing different directions; the step S100 may include: determining whether to launch a secure application environment; An application condition of the second permission range.
例如,根据电子设备当前连接的网络是否为预设网络,例如,根据电子设备当前连接的热点是否为电子设备内部配置的家庭网络的热点或者办公区域的热点等确定的安全热点,确定是否满足应用条件。若,电子设备当前连接的公共区域的非安全热点,可认为是满足第二权限范围的应用条件。For example, it is determined whether the application meets the application according to whether the currently connected network of the electronic device is a preset network, for example, according to whether the currently connected hotspot of the electronic device is a hotspot of a home network configured in the electronic device or a hotspot of an office area. condition. If the non-security hotspot in the public area to which the electronic device is currently connected can be considered as an application condition that satisfies the second permission range.
又例如,所述第一屏幕和所述第二屏幕为同一物理屏幕的不同显示区域;For another example, the first screen and the second screen are different display areas of the same physical screen;
所述步骤S100可包括:根据所述物理屏幕的当前姿态是否为预设姿态,若所述物理屏幕的当前姿态为使得所述第一屏幕和所述第二屏幕朝向不同方向的预设姿态,确定满足所述第二权限范围的应用条件。The step S100 may include: according to whether the current posture of the physical screen is a preset posture, and if the current posture of the physical screen is a preset posture that causes the first screen and the second screen to face different directions, Determining an application condition that satisfies the second permission range.
若第一屏幕和第二屏幕因为当前姿态并未朝向不同的方向,表示第一屏幕和第二屏幕都在主用户的监控之下,则无需启动第二权限范围限制第二屏幕的操作请求响应。若当前姿态使得第一屏幕和第二屏幕朝向不同的方向,则可认为满足第二权限范围的应用条件。If the first screen and the second screen do not face different directions due to the current posture, it means that the first screen and the second screen are both under the supervision of the main user, there is no need to start the second permission range to restrict the operation request response of the second screen . If the current posture makes the first screen and the second screen face different directions, it can be considered that the application conditions of the second permission range are met.
在一些实施例中,所述步骤S100还可包括:确定所述电子设备是否处于安全模式下,若处于安全模式下可认为满足所述第二权限范围的应用条件。例如,基于用户操作、基于电子设备当前连接的网络类型,或基于电子设备的当前姿态,若电子设备自动进入了安全模式,则电子设备在检测到作用第二屏幕的操作时,可根据电子设备是否进入了安全模式确定是否满足所述第二权限范围的应用条件。若电子设备内设置有表示进入了安全模式的标识信息,则电子设备的处理器可认为当前电子设备是处于安全模式下的,是满足第二权限范围的应用条件的。In some embodiments, the step S100 may further include: determining whether the electronic device is in a safe mode, and if it is in the safe mode, it may be considered that the application condition of the second permission range is satisfied. For example, based on user operations, based on the type of network that the electronic device is currently connected to, or based on the current posture of the electronic device, if the electronic device automatically enters safe mode, the electronic device can detect the operation acting on the second screen according to the electronic device. Whether the security mode is entered determines whether an application condition of the second permission range is satisfied. If the electronic device is provided with identification information indicating that the safe mode is entered, the processor of the electronic device may consider that the current electronic device is in the safe mode and meets the application conditions of the second authority range.
在一些实施例中,所述步骤S150可包括:In some embodiments, the step S150 may include:
根据所述操作请求携带的标识信息,查询所述第二权限范围所包含权限的权限标识;Querying a permission identifier of a permission included in the second permission range according to the identification information carried in the operation request;
若所述标识信息包含在所述权限标识内,响应所述操作请求;和/或,若所述标识信息未包含在所述权限标识内,拒绝所述操作请求。If the identification information is included in the permission identifier, respond to the operation request; and / or, if the identification information is not included in the permission identifier, reject the operation request.
所述操作请求对应的标识信息可包括以下至少之一:The identification information corresponding to the operation request may include at least one of the following:
所述操作请求所作用应用的应用标识;An application identifier of an application to which the operation request acts;
所述操作请求所请求操作的操作标识;An operation identifier of the operation requested by the operation request;
所述操作请求所请求操作的操作类型标识。The operation type identifier of the operation requested by the operation request.
在所述第二权限范围中设置有:作用于所述第二屏幕的操作请求可被响应的标识信息。如此,以所述标识信息查询所述第二权限范围,可以确定所述操作请求所对应的操作是否可以响应。The second authority range is provided with identification information that an operation request acting on the second screen can be responded to. In this way, by querying the second permission range with the identification information, it can be determined whether the operation corresponding to the operation request can be responded.
例如,同一类操作请求可以对应不同的具体操作,例如,在支付应用中的支付操作可包括:免密码支付操作和密码支付操作。免密码支付操作和密码支付操作,均为支付类操作的不同的具体支付操作,操作标识不同。在第一屏幕对应的第一权限范围内可能同时包括这两个具体支付操作的操作标识,但是在第二屏幕对应的第二权限范围内可能仅包括密码支付操作的操作标识。For example, the same type of operation request may correspond to different specific operations. For example, a payment operation in a payment application may include a password-free payment operation and a password payment operation. The password-free payment operation and the password payment operation are different specific payment operations of payment-type operations, and the operation identifiers are different. The operation identifiers of the two specific payment operations may be included in the first permission range corresponding to the first screen, but the operation identifiers of the password payment operation may be included in the second permission range corresponding to the second screen.
例如,操作类型可以根据操作实现的功能来进行划分,例如,阅读操作、图像采集操作、音频采集操作、社交应用的信息共享操作、通话操作、即时消息传输操作、支付操作、购物操作、系统升级操、应用安装操作、应用删除操作等。以上是对不同类型操作的举例,具体实现时不局限于上述任意一种。For example, operation types can be divided according to the functions implemented by the operations, such as reading operations, image acquisition operations, audio acquisition operations, information sharing operations of social applications, call operations, instant messaging operations, payment operations, shopping operations, and system upgrade Operation, application installation operation, application deletion operation, etc. The above are examples of different types of operations, and the specific implementation is not limited to any of the above.
在一些实施例中,所述步骤S150可包括:In some embodiments, the step S150 may include:
根据所述第二权限范围的应用显示权限,在所述第二屏幕的显示页面显示第一类应用的应用图标;或者,所述步骤S150可包括:根据所述第二权限范围的应用显示权限,屏蔽第二类应用在所述第二屏幕的显示。Displaying the application icon of the first type of application on the display page of the second screen according to the application display permission of the second permission range; or the step S150 may include: displaying the permission according to the application of the second permission range , Shielding the display of the second type of application on the second screen.
该显示页面可为第二屏幕的桌面、应用文件夹页面或管理页码,但不限于这些页面。The display page may be the desktop, application folder page, or management page number of the second screen, but is not limited to these pages.
该操作请求对应有标识信息,该标识信息可为该操作请求所产生应用的应用标识,操作类型的类型标识、该操作的操作标识中的一个或多个。The operation request corresponds to identification information, and the identification information may be one or more of an application identification of an application generated by the operation request, a type identification of an operation type, and an operation identification of the operation.
根据操作请求对应的标识信息,查询第二屏幕的第二权限范围,根据查询的结果,确定是否响应该操作请求。Query the second permission range of the second screen according to the identification information corresponding to the operation request, and determine whether to respond to the operation request according to the result of the query.
若第二权限范围中包含该标识信息,可认为第二屏幕对应的第二权限范围内包括响应该操作请求的权限,故响应该操作请求。若第二权限范围不包含该标识信息,可认为第二权限范围不包含响应该操作请求的权限,则拒绝该操作请求。If the second permission range includes the identification information, it can be considered that the second permission range corresponding to the second screen includes the permission to respond to the operation request, and therefore responds to the operation request. If the second permission range does not include the identification information, it can be considered that the second permission range does not include the permission to respond to the operation request, and the operation request is rejected.
若响应该操作请求,则电子设备执行该操作请求,若需要显示操作请求响应的效果,则通过第二屏幕显示该效果。If responding to the operation request, the electronic device executes the operation request. If the effect of the operation request response needs to be displayed, the effect is displayed on the second screen.
若拒绝该操作请求,则电子设备屏蔽该操作请求,即不执行该操作请求。If the operation request is rejected, the electronic device blocks the operation request, that is, the operation request is not executed.
在一些实施例中,所述电子设备的应用可以分为第一类应用和第二类应用。所述第二类应用为所述电子设备中第一类应用以外的应用。In some embodiments, the applications of the electronic device may be divided into a first type of application and a second type of application. The second type of application is an application other than the first type of application in the electronic device.
所述第一类应用和所述第二类应用具有以下差别的至少之一:The first type of application and the second type of application have at least one of the following differences:
安全等级不同,例如,第一类应用的安全等级低于所述第二类应用;The security level is different, for example, the security level of the first type of application is lower than the second type of application;
应用类型不用,例如,第一类应用可为一些多媒体应用,更多的是同一种公共信息的输出应用,很 少或不涉及用户的私人信息等;而第二类应用可能是社交应用、支付应用等可能涉及用户的私人信息的应用。The application type is not required. For example, the first type of application can be some multimedia applications, more of the same type of public information output application, and little or no user's personal information; and the second type of application may be social applications, payment, etc. Applications, such as applications that may involve the user's private information.
而应用类型的确定,可由电子设备的处理器通过解析应用标识来确定,或者,根据应用的属性配置来确定。The determination of the application type may be determined by the processor of the electronic device by analyzing the application identifier, or may be determined according to the attribute configuration of the application.
例如,所述支付应用可包括:各种银行的应用、支付宝或微信等移动支付的应用、各种理财公司的理财应用、例如,股票交易和/或基金交易的应用等。For example, the payment application may include applications of various banks, mobile payment applications such as Alipay or WeChat, wealth management applications of various wealth management companies, for example, applications of stock transactions and / or fund transactions, and the like.
所述社交应用可包括:各种利用各种通信技术进行社交的应用,例如,利用即时通信技术进行社交的应用,典型的可如:微信等。The social application may include: various applications that use various communication technologies to socialize, for example, applications that use instant messaging technology to socialize, typically, such as WeChat.
当然,以上仅是对第一类应用和第二类应用的区别举例,具体实现不局限于上述任意一种。Of course, the above is only an example of the difference between the first type of application and the second type of application, and the specific implementation is not limited to any of the above.
在一些实施例中,电子设备可以自动根据第二权限范围限定的安全等级、应用类型等参数,来确定电子设备安装的应用哪些是第一类应用,如此,可以减少用户注意设置每一个应用是否归属于第二权限范围可操作的应用。In some embodiments, the electronic device can automatically determine which applications are installed in the electronic device are the first type of application according to the security level, application type, and other parameters defined by the second permission range. In this way, the user's attention can be reduced to setting whether each application Applications that belong to the second scope of operation.
由于仅在第二屏幕显示所述第一类应用,如此,设备的持有者不想他人通过第二屏幕操作的第二类应用相当于直接被隐藏了,如此,就相当于没有给出机会让其他人通过第二屏幕操作安全等级高的第二类应用,从而防止其他人通过第二屏幕的操作第二类应用导致的各种安全性问题。Since the first type of application is displayed only on the second screen, the device owner does not want the second type of application operated by the second screen to be directly hidden, so it is equivalent to not giving an opportunity to let Others use the second screen to operate the second-type application with a high security level, thereby preventing various security issues caused by other people operating the second-type application through the second screen.
在一些实施例中,所述第一类应用包括以下至少之一:In some embodiments, the first type of application includes at least one of the following:
提供娱乐服务的娱乐应用;Entertainment applications that provide entertainment services;
提供信息搜索的搜索应用;Search applications that provide information search;
提供多媒体信息采集的多媒体信息采集应用;Multimedia information collection applications that provide multimedia information collection;
提供应用程序安装服务的应用商店应用;Application store applications that provide application installation services;
和/或,and / or,
所述第二类应用包括以下至少之一:The second type of application includes at least one of the following:
提供网络支付服务的支付应用;Payment applications that provide online payment services;
提供网络购物服务的购物应用;Shopping applications that provide online shopping services;
提供电子邮件服务的邮件应用;Email applications that provide email services;
提供社交服务的社交应用;Social applications that provide social services;
提供信息记录的信息记录应用;Information logging applications that provide information logging;
提供设备安全控制的安全控制应用。Provides security control applications for equipment security control.
例如,所述娱乐应用可包括:For example, the entertainment application may include:
音频娱乐应用,例如,各种听歌应用;Audio entertainment applications, such as various song listening applications;
视频娱乐应用,例如,各种视频应用、此处的视频应用可包括:常规视频应用(例如,腾讯视频、爱奇艺视频)等。在一些实施例中,所述视频应用还可包括:短视频应用,例如,斗鱼视频等。常规视频应用一般可以提供的视频可为各种视频时长的视频,而短视频应用可为:提供视频时长小于特定值的视频的应用。Video entertainment applications, for example, various video applications, and the video applications herein may include: conventional video applications (eg, Tencent Video, iQiyi Video), and the like. In some embodiments, the video application may further include a short video application, for example, Douyu video, and the like. The videos that can be provided by conventional video applications can be videos of various video durations, and short video applications can be: applications that provide videos with video durations less than a specific value.
在一些实施例中,视频应用还可以分为:主动分享型视频应用、集中推送型视频应用,例如,集中推送型的视频来自相对固定少数的视频提供厂商;而主动分享型视频应用可为:每一个用户都可以主动分享的视频应用。In some embodiments, video applications can also be divided into: active sharing video applications and centralized push video applications. For example, centralized push videos come from a relatively fixed number of video providers; and active sharing video applications can be: Video application that every user can actively share.
所述娱乐应用还可包括:游戏应用,用户在上面可以参与各种电子游戏,例如,单机游戏、联网的网络游戏等。The entertainment application may further include a game application on which a user can participate in various electronic games, for example, a stand-alone game, a networked online game, and the like.
所述搜索应用可为对应于搜索引擎的应用,例如,百度搜索、google搜索等。The search application may be an application corresponding to a search engine, for example, Baidu Search, Google Search, and the like.
多媒体信息采集应用可包括:音频采集应用(例如,各种照相应用)、音频采集应用(例如,各种歌曲录制应用)等。The multimedia information collection application may include: an audio collection application (for example, various camera applications), an audio collection application (for example, various song recording applications), and the like.
在一些实施例中,应用商定应用,例如,APP store应用。在该应用商店应用上可以找到各种应用的安装包用于应用的安装、升级或更新等。In some embodiments, the application agrees on an application, such as an APP store application. You can find installation packages for various applications on the application store applications for application installation, upgrade, or update.
当然,以上仅是第一类应用的举例,具体实现时不局限于上述一种。Of course, the above is only an example of the first type of application, and the specific implementation is not limited to the above one.
所述支付应用可以用于进行电子付款、汇款、转账等向外提供货币、股票、基金等有价标的支出的 应用,例如,支付宝应用、银行应用等。The payment application can be used for applications such as electronic payments, remittances, and transfers that provide valued expenditures such as currency, stocks, funds, etc., such as Alipay applications, bank applications, and the like.
购物应用可以通过网络购买商品和/或服务的应用,例如,淘宝、京东、美团。商品可包括:衣服、电子设备、生活用品、学习用品、餐饮等。服务可包括:航空服务、铁路服务、旅游服务、酒店服务、上门清洁服务等。Shopping apps Apps that can purchase goods and / or services over the Internet, such as Taobao, JD.com, and Meituan. Goods can include: clothing, electronic equipment, daily necessities, school supplies, catering, etc. Services can include: aviation services, railway services, travel services, hotel services, on-site cleaning services, etc.
提供电子邮件服务的邮件应用可包括:基于不同类型的邮件协议的邮件应用。所述邮件应用按照其内容属性区分可包括:办公邮件应用、私人邮件应用等。Mail applications that provide email services may include: mail applications based on different types of mail protocols. The mail application may be distinguished according to its content attributes by including an office mail application, a private mail application, and the like.
记录应用可包括但不限于:Recording applications may include, but are not limited to:
用于信息备忘的应用,例如,备忘录应用;Applications for information memos, such as memo applications;
用于笔记的应用,例如,有道云笔记应用;Application for note taking, for example, Youdao note taking application;
用于日程安排的应用,日程信息应用。Used for scheduling applications, schedule information applications.
提供设备安全控制的安全控制应用,例如,杀毒软件应用、防火墙应用等。Provide security control applications for device security control, such as anti-virus software applications, firewall applications, etc.
以上仅是对第二类应用的举例说明,具体实现不限于此。The above is only an illustration of the second type of application, and the specific implementation is not limited to this.
所述第一类应用和第二类应用的设置,可以是基于检测到用户输入执行的,也可以是由电子设备根据应用提供服务过程中的安全性,基于应用标识和*/或属性配置自动设置的。The setting of the first type of application and the second type of application may be performed based on the detection of user input, or may be performed by the electronic device based on the security in the process of providing services by the application, based on the application identification and * / or attribute configuration. Set.
在一些实施例中,如图3所示,所述若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应所述操作请求,还包括:In some embodiments, as shown in FIG. 3, if the operation request acts on the second screen, responding to the operation request according to the second authority range further includes:
步骤S151:若所述操作请求作用于所述第二屏幕,且所述第二权限范围包括所述操作请求对应的预定权限;Step S151: if the operation request acts on the second screen, and the second permission range includes a predetermined permission corresponding to the operation request;
步骤S152:查询所述预定权限的权限属性;Step S152: query the permission attribute of the predetermined permission;
步骤S153:根据所述权限属性,执行预定操作。Step S153: Perform a predetermined operation according to the permission attribute.
如此,通过权限属性的设定,即便在允许响应第二屏幕的操作请求时,还可以进一步限定或者监控第二屏幕对操作请求的响应,从而再次提升电子设备的安全性。In this way, by setting the permission attribute, even when it is allowed to respond to the operation request of the second screen, the response of the second screen to the operation request can be further limited or monitored, thereby improving the security of the electronic device again.
在一些实施例中,所述步骤S153可包括以下至少之一:In some embodiments, the step S153 may include at least one of the following:
若所述权限属性包括第一屏幕监控属性,根据作用于所述操作请求的响应状况在所述第一屏幕显示所述监控信息,其中,所述监控信息包括所述操作请求被响应的状态信息;If the permission attribute includes a first screen monitoring attribute, the monitoring information is displayed on the first screen according to a response status acting on the operation request, wherein the monitoring information includes status information that the operation request is responded to ;
若所述权限属性包括第一屏幕通知属性,根据所述操作请求在所述第一屏幕显示作用于所述第二屏幕的操作请求的通知信息,其中,所述通知信息用于通知基于被执行的作用于所述第二屏幕的操作请求。If the permission attribute includes a first screen notification attribute, displaying notification information of an operation request acting on the second screen on the first screen according to the operation request, wherein the notification information is used to notify An operation request acting on the second screen.
在一些实施例中,在一些实施例中,所述根据所述第二屏幕的应用操作权限,确定所述第一类应用的操作属性,包括:In some embodiments, in some embodiments, determining the operation attribute of the first type of application according to the application operation permission of the second screen includes:
根据所述第二屏幕的应用操作权限,确定所述第一类应用是否具有第一屏幕通知属性;其中,所述第一屏幕通知属性,用于在所述第一类应用执行第一预定操作时,在所述第一屏幕上显示操作通知;Determining whether the first type of application has a first screen notification attribute according to the application operation permission of the second screen; wherein the first screen notification attribute is used to perform a first predetermined operation on the first type of application When an operation notification is displayed on the first screen;
根据所述第二屏幕的应用操作权限,确定所述第一类应用是否具有第一屏幕监控属性,其中,所述第一屏幕监控属性,用于在所述第一类应用执行第二预定操作时,在所述第一屏幕上显示监控信息;Determining whether the first type of application has a first screen monitoring attribute according to the application operation permission of the second screen, wherein the first screen monitoring attribute is used to perform a second predetermined operation on the first type of application When monitoring information is displayed on the first screen;
根据所述第二屏幕的应用操作权限,确定所述第一类应用是否具有编辑限制权限,其中,所述编辑限制权限,用于禁止所述第一类应用响应作用于所述第二屏幕的编辑操作请求;Determining whether the first type of application has editing restriction permission according to the application operation permission of the second screen, wherein the editing restriction permission is used to prohibit the first type of application from responding to the action of the second screen Edit operation request;
根据所述第二屏幕的应用操作权限,确定所述第一类应用是否具有访问限制权限,其中,所述访问限制权限,用于禁止所述第一类应用响应作用于所述第二屏幕的访问操作请求。Determining whether the first type of application has access restriction permission according to the application operation permission of the second screen, wherein the access restriction permission is used to prohibit the first type of application from responding to the action of the second screen Access operation request.
在一些实施例中,第二屏幕显示有第一类应用,如此,第二屏幕向外提供了使用该第一类应用的接口,但是在具体使用时,可能会在第一屏幕上显示通知,如此,以告知电子设备的持有者当前使用第二屏幕的用户具体使用了哪些应用。In some embodiments, the second screen displays a first type of application. In this way, the second screen provides an interface for using the first type of application. In this way, the holder of the electronic device is informed of which applications are currently used by users of the second screen.
在还有一些实施例中,第一类应用的有部分功能可能是不属于第二权限范围或者是属于第二权限范围中对安全等级要求比较高,需要第一屏幕输出通知,以使得电子设备的持有者所知晓的。此时,可以通过设置第一类应用的第一屏幕通知属性来实现。例如,设置有第一屏幕通知属性的第一类应用被启动或者在执行特定操作时,会在第一屏幕上显示操作通知。例如,在第一屏幕上弹出对应的第一类应用被启动的提示通知,或者,第一类应用执行了特定操作的提示通知。In some other embodiments, some functions of the first type of application may not belong to the second permission range or belong to the second permission range, which requires a higher level of security. The first screen needs to output a notification to enable the electronic device. The holders know. At this time, it can be achieved by setting the first screen notification property of the first type of application. For example, when a first-type application set with a first-screen notification attribute is started or when a specific operation is performed, an operation notification is displayed on the first screen. For example, a notification is displayed on the first screen that the corresponding first-type application is started, or that the first-type application performs a specific operation.
在一些实施例中,第一类应用可以设置有第一屏幕监控属性。该第一屏幕监控属性被设置后,该第 一类应用被启动或被操作,会生成对应的监控信息,该监控信息会定时或不定时的显示在第一屏幕上,或者,在第一屏幕的预定区域持续显示。此处的持续显示可包括:在该第一类应用打开的时间内,在该预定区域保持显示该第一类应用的监控信息,直至该第一类应用关闭。该预定区域可为第一屏幕的特定显示位置,也可以是一个可移动显示位置的特定应用界面。例如,该应用界面可为悬浮窗口,该悬浮窗口可位于第一屏幕的显示的最上层,其下层显示的第一屏幕的桌面或应用界面的变化,不干涉该悬浮窗的显示,如此,可以保证电子设备的用户可以随时通过悬浮窗查看监控信息。In some embodiments, the first type of application may be provided with a first screen monitoring attribute. After the first screen monitoring attribute is set, the first type of application is started or operated, and corresponding monitoring information is generated, and the monitoring information is displayed on the first screen periodically or irregularly, or on the first screen The predetermined area of is displayed continuously. The continuous display here may include: during the opening time of the first type of application, the monitoring information of the first type of application is kept displayed in the predetermined area until the first type of application is closed. The predetermined area may be a specific display position of the first screen, or a specific application interface with a movable display position. For example, the application interface may be a floating window, and the floating window may be located at the uppermost layer of the first screen display. The desktop or application interface of the first screen displayed by the lower layer does not interfere with the display of the floating window. Ensure that users of electronic equipment can view monitoring information through floating windows at any time.
若一个第一类应用被设置了第一屏幕监控属性,则电子设备的操作系统、监控应用或者该应用自身会监控该第一类应用的信息,If a first-type application is set with the first-screen monitoring attribute, the operating system of the electronic device, the monitoring application, or the application itself will monitor the information of the first-type application,
所述监控信息包括但不限于以下信息:The monitoring information includes but is not limited to the following information:
具有第一屏幕监控属性应用的应用日志;该应用日志中可包括:该对应应用执行的每一个操作的操作日志,该操作日志可包括:该操作的执行时间、该操作的参数。例如,操作的参数可包括:操作的次数、携带的参数值。例如,视频应用为例进行说明,操作日志可包括:播放视频的操作日志,具体的内容可包括:第二屏幕所播放视频的视频标识(例如,名称、统一资源位置符)、播放的起止时间、播放使用的用户账号等信息;An application log having a first screen monitoring attribute application; the application log may include: an operation log of each operation performed by the corresponding application, and the operation log may include: an execution time of the operation and parameters of the operation. For example, the parameters of the operation may include: the number of operations, and a parameter value carried. For example, a video application is taken as an example for description. The operation log may include: an operation log for playing a video. The specific content may include: a video identifier (for example, a name, a uniform resource location identifier) of the video played on the second screen, and a start and end time of the play. , User account information used for playback;
基于应用日志转换的信息,应用日志具有特定的格式,可能不方便普通用户的阅读,通过对应用日志的信息筛选,仅选择出电子设备的持有者的感兴趣内容进行转换成自然语言输出。Based on the information converted by the application log, the application log has a specific format and may not be convenient for ordinary users to read. By filtering the information of the application log, only the content of interest of the holder of the electronic device is selected for conversion into natural language output.
以上是对监控信息的举例,具体实现时不局限于上述任意一种。The above is an example of monitoring information, and the specific implementation is not limited to any of the above.
在一些实施例中,如图4所示,所述方法还包括:In some embodiments, as shown in FIG. 4, the method further includes:
步骤S170:若作用于所述第二屏幕的操作请求对应的操作权限位于所述第二权限范围外,在所述第一屏幕显示问询信息;Step S170: if the operation authority corresponding to the operation request acting on the second screen is outside the second authority range, display inquiry information on the first screen;
步骤S180:基于作用于所述问询信息的操作指示,响应或拒绝操作请求。Step S180: respond or reject the operation request based on the operation instruction acting on the inquiry information.
若一个作用于第二屏幕的操作请求位于第二权限范围外,为了减少必须要响应的操作请求被误杀,在本实施例中,会在第一屏幕上显示问询信息,通过问询信息的显示,可以获得作用于所述问询信息的操作指示,可以基于该操作指示确定是否响应,从而进一步提升电子设备的智能性及用户的满意程度。If an operation request acting on the second screen is outside the scope of the second authority, in order to reduce that the operation request that must be responded to is accidentally killed, in this embodiment, the inquiry information is displayed on the first screen. It is displayed that an operation instruction acting on the inquiry information can be obtained, and whether to respond can be determined based on the operation instruction, thereby further improving the intelligence of the electronic device and the satisfaction degree of the user.
例如,该询问信息可以对话框的形式弹出,在该对话框上显示有表示“同意”或“反对”的控件,如此用户可以通过单次点击或一次性操作,给出对应的同意或不同意的信息输入,简化了用户操作。For example, the query information can be popped up in the form of a dialog box, and a control indicating "agree" or "disagree" is displayed on the dialog box, so that the user can give a corresponding consent or disagreement through a single click or one-time operation The input of information simplifies user operations.
在一些实施例中,所述询问信息包括以下至少之一:In some embodiments, the query information includes at least one of the following:
第一询问信息,其中,所述第一询问信息,用于询问是否允许所述第二屏幕本次启动所请求应用;First query information, wherein the first query information is used to query whether the second screen is allowed to launch the requested application this time;
第二询问信息,用于询问是否切换到所述第一屏幕启动所请求应用;Second query information for querying whether to switch to the first screen to start the requested application;
第三询问信息,用于询问本次及以后均同意所述第二屏幕启动所请求应用。The third query information is used for querying that the requested application is approved to be launched on the second screen this time and thereafter.
第一询问信息相当于单次询问信息,第一屏幕检测的操作仅用于对本次启动的同意或反对的去人。The first inquiry information is equivalent to a single inquiry information, and the operation of the first screen detection is only used to remove the consent or disapproval for the current startup.
第二询问信息,可以直接切换到第一屏幕来启动,如此,方便使用第一屏幕的用户的监控。The second query information can be directly switched to the first screen for activation, so that it is convenient for monitoring by the user who uses the first screen.
第三询问信息,可以用于本次及其以后的第二屏幕的启动允许或禁止的设置;如此,电子设备的持有者不用专门设置第二权限范围,在电子设备的使用过程中进行设置,简化了用户操作且提升了用户体验。The third query information can be used for the setting of the second screen startup enabled or prohibited this time and later; in this way, the holder of the electronic device does not need to specifically set the second permission range, and performs the setting during the use of the electronic device , Simplifying user operations and improving user experience.
在一些实施例中,所述方法还包括:根据所述操作指示,更新所述第二权限范围。In some embodiments, the method further includes: updating the second authority range according to the operation instruction.
在一些实施例中,所述根据所述操作指示,更新所述第二权限范围可包括:若所述操作指示为第一同意指示,将预设权限添加到所述第二权限范围内。In some embodiments, the updating the second permission range according to the operation instruction may include: if the operation instruction is a first consent instruction, adding a preset permission to the second permission range.
若检测到操作指示表示需要同意第二屏幕响应对应的操作请求,表示主用户是放心第二屏幕的非主用户使用的,为了避免主用户仅能进入特定的第二权限范围的设置页面才能设置所述第二权限范围,在本实施例中若检测到基于询问信息产生的表示同意的操作指示,就可以直接更新第二权限范围。如此,用户可以不用专门设置或更新第二权限范围了,再次提升了用户体验。If the operation indication is detected, it is necessary to agree to the second screen to respond to the corresponding operation request, indicating that the primary user is assured that the non-primary user of the second screen is using it. For the second authority range, if an operation instruction indicating consent based on the query information is detected in this embodiment, the second authority range may be directly updated. In this way, users do not need to specifically set or update the second permission range, which improves the user experience again.
在一些实施例中,所述步骤S180可包括以下至少之一:In some embodiments, the step S180 may include at least one of the following:
若所述操作指示为第二同意指示,利用第二屏幕响应所述操作请求;If the operation instruction is a second consent instruction, using a second screen to respond to the operation request;
若所述操作指示为第三同意指示,利用所述第一屏幕响应所述操作请求。If the operation instruction is a third consent instruction, use the first screen to respond to the operation request.
例如,在一些实施例中,所述步骤S120还可包括:For example, in some embodiments, the step S120 may further include:
检测应用操作请求指示启动应用的应用状态,若第一屏幕或者其他第二屏幕已经启动了该应用,根据该应用的应用参数确定是否响应该操作请求。Detecting the application operation request indicates the application state of starting the application. If the application has been started on the first screen or another second screen, it is determined whether to respond to the operation request according to the application parameters of the application.
所述应用状态可包括以下至少之一:已启动;未启动;启动的屏幕。The application status may include at least one of the following: activated; not activated; a screen that is activated.
若该应用参数表明该应用仅能够打开一个应用界面,则拒绝该操作请求。If the application parameter indicates that the application can only open one application interface, the operation request is rejected.
以社交应用为例,一个社交应用可能仅能运行一个账号,则仅能打开一个应用界面,若第一屏幕已经启动了该应用在,则可以直接确定拒绝该操作请求。Taking a social application as an example, a social application may only run one account, and only one application interface may be opened. If the application has been activated on the first screen, it may directly determine to reject the operation request.
若该应用参数表明该应用能够打开多个应用界面且该应用的权限位于第二权限范围内,则可响应该操作请求。以办公应用为例,办公应用可以打开多个应用界面,显示不同的文件,如此,相互不冲突,故可以相应该请求。If the application parameter indicates that the application can open multiple application interfaces and the permission of the application is within the second permission range, it can respond to the operation request. Taking the office application as an example, the office application can open multiple application interfaces and display different files. In this way, they do not conflict with each other, so the request can be responded accordingly.
在一些实施例中,所述步骤S110可包括:获取作用于所述第二屏幕显示的应用图标的应用启动请求;In some embodiments, the step S110 may include: obtaining an application startup request acting on the application icon displayed on the second screen;
所述步骤S120可包括:若所述第二屏幕不具有启动所述应用启动请求所请求的应用的权限,在所述第一屏幕上显示询问信息;The step S120 may include: if the second screen does not have permission to launch the application requested by the application launch request, displaying query information on the first screen;
根据所述第二屏幕启动所请求的应用的同意指示,启动所述应用标识对应的应用,并在所述第二屏幕上显示所启动应用的应用界面,其中,所述同意指示为:基于作用于所述询问信息的操作形成的。And launching the application corresponding to the application identifier according to the consent indication for starting the requested application on the second screen, and displaying the application interface of the launched application on the second screen, wherein the consent indication is based on action It is formed by the operation of the inquiry information.
在一些实施例中,所述步骤S120可包括:根据所述权限设置请求,在所述第一屏幕对应的第一权限范围的基础上设置所述第二屏幕的不同应用模式下对应的第二权限范围。In some embodiments, the step S120 may include: according to the permission setting request, setting a second corresponding to a different application mode of the second screen based on a first permission range corresponding to the first screen. Scope of authority.
在还有一些实施例中,所述应用模式,包括以下至少之一:儿童模式;老人模式;普通成人模式。In still other embodiments, the application mode includes at least one of the following: a child mode; an elderly mode; an ordinary adult mode.
不同的应用模式,第二屏幕的第二权限范围可能不同。Depending on the application mode, the second permission range of the second screen may be different.
在一些实施例中,在所述获取作用于第二屏幕的操作请求之前,所述方法还包括:In some embodiments, before the acquiring the operation request acting on the second screen, the method further includes:
根据用户属性,选择应用模式;Select application mode based on user attributes;
根据所述应用模式,确定所述第二屏幕的所述第二权限范围。Determining the second authority range of the second screen according to the application mode.
例如,根据用户年纪、性别、职业特点、受教育程度及兴趣爱好的至少其中之一,选择应用模式。For example, the application mode is selected based on at least one of the user's age, gender, professional characteristics, education level, and hobbies.
在一些实施例中,所述根据用户属性,选择应用模式,包括:In some embodiments, the selecting an application mode according to a user attribute includes:
根据用户年纪,选择儿童模式、老人模式或成人模式。Depending on the age of the user, select child mode, elderly mode or adult mode.
儿童模式可能第二屏幕中使用的多媒体应用不能观看特定类型的视频,例如,暴力视频等。Children mode may not be able to watch certain types of videos, such as violent videos, for multimedia applications used in the second screen.
老人模式,可能会需要第二屏幕允许使用的应用,例如,对于有些应用对于老年人来说是干扰,通过禁止这些应用的使用,可以提升用户满满意度。The elderly mode may require applications allowed on the second screen. For example, some applications are disturbing for the elderly. By banning the use of these applications, user satisfaction can be improved.
所述成人模式可为儿童模式及老人模式以外的普通模式。The adult mode may be a common mode other than the child mode and the elderly mode.
在一些实施例中,所述根据用户属性,选择应用模式,包括:In some embodiments, the selecting an application mode according to a user attribute includes:
根据用户性别,选择常规游戏应用启动模式、特定游戏应用启动模式、游戏应用禁止启动模式等。According to the gender of the user, a normal game application startup mode, a specific game application startup mode, a game application prohibition startup mode, and the like are selected.
常规游戏应用启动模式,允许所有游戏应用的启动。特定游戏应用启动模式可能仅能允许特定游戏的启动。游戏应用禁止启动模式,不允许第二屏幕启动和/或显示游戏应用。在还有一些实施例中,若拒绝该操作请求,所述方法还包括:通过对应的第二屏幕输出拒绝提示。该拒绝提示可包括:提示对应的操作请求被拒绝。在另一些实施例中,所述拒绝提示还可包括:操作请求被拒绝的原因;以区分是其他原因操作请求被拒绝的提示。例如,有些操作请求是设备没有能力显示,而非是有能力显示因为第二屏幕对应的第二权限范围不允许导致的拒绝。在本实施例中,通过拒绝提示中被拒绝的原因进行区分。The normal game application launch mode allows the launch of all game applications. Certain game application launch modes may only allow launch of specific games. The game application is prohibited from the launch mode, and the second screen is not allowed to launch and / or display the game application. In still other embodiments, if the operation request is rejected, the method further includes: outputting a rejection prompt through a corresponding second screen. The rejection prompt may include: prompting that the corresponding operation request is rejected. In other embodiments, the rejection prompt may further include: the reason why the operation request is rejected; and a distinction to indicate that the operation request is rejected for other reasons. For example, some operation requests are that the device does not have the ability to display, but not the ability to display the rejection caused by the second permission range corresponding to the second screen being disallowed. In this embodiment, a distinction is made by the reason for rejection in the rejection prompt.
在一些实施例中,所述电子设备至少配置有安全模式,所述安全模式是基于第二权限范围来响应作用于或对应于第二屏幕的操作请求。In some embodiments, the electronic device is configured with at least a security mode, and the security mode is based on a second permission range to respond to an operation request acting on or corresponding to the second screen.
在另一些实施例中,所述电子设备还可配置有普通模式,在普通模式下,所述第一屏幕和第二屏幕之间的权限范围可相同,例如,第二屏幕在普通模式下的权限范围也可以等于所述第一权限范围。In other embodiments, the electronic device may also be configured with a normal mode. In the normal mode, the permission range between the first screen and the second screen may be the same. For example, the second screen is in the normal mode. The authority range may also be equal to the first authority range.
在还有一些实施例中,所述根据所述第二屏幕的第二权限范围,响应所述操作请求或拒绝所述操作请求,包括:In some other embodiments, the responding to or rejecting the operation request according to the second permission range of the second screen includes:
在安全模式开启的情况下,根据所述第二权限范围响应所述操作请求。When the security mode is turned on, respond to the operation request according to the second authority range.
若电子设备处于安全模式下,才根据第二权限范围响应所述操作请求,否则可以根据电子设备的其他配置响应作用于第二屏幕的操作请求。If the electronic device is in the security mode, it responds to the operation request according to the second authority range; otherwise, it can respond to the operation request acting on the second screen according to other configurations of the electronic device.
在一些实施例中,所述步骤S110可包括:获取作用于所述第二屏幕显示的应用图标的应用启动请求;In some embodiments, the step S110 may include: obtaining an application startup request acting on the application icon displayed on the second screen;
所述步骤S120可包括:根据应用操作请求对应的应用标识查询所述第二权限范围;The step S120 may include: querying the second permission range according to an application identifier corresponding to an application operation request;
若所述第二权限范围包含有所述应用标识对应的应用的权限,启动所述应用标识对应的应用,并在所述第二屏幕上显示所启动应用的应用界面。If the second permission range includes the permission of the application corresponding to the application identifier, start the application corresponding to the application identifier, and display the application interface of the started application on the second screen.
在一些实施例中,第二屏幕的主页面可能会显示电子设备的所有应用,而不区分第一类应用和第二类应用,但是第二屏幕的使用权限受限,故在本实施例中,或获取到作用于第二屏幕的显示应用图标的应用启动请求,在步骤S120中需要判断出是否可以响应该启动请求,若该启动请求的权限包含在第二权限范围内,则电子设备启动应用,并将该应用的应用界面显示在第二屏幕上。In some embodiments, the main page of the second screen may display all applications of the electronic device without distinguishing between the first type of application and the second type of application, but the use right of the second screen is limited, so in this embodiment Or obtain an application launch request that displays an application icon acting on the second screen. In step S120, it is necessary to determine whether it is possible to respond to the launch request. If the privilege of the launch request is included in the second privilege range, the electronic device starts Application, and the application interface of the application is displayed on the second screen.
在一些实施例中,所述根据作用于所述第一屏幕的设置操作,确定所述第二屏幕的所述第二权限范围,包括以下至少之一:In some embodiments, the determining the second permission range of the second screen according to a setting operation acting on the first screen includes at least one of the following:
根据作用于所述第一屏幕的设置操作,确定所述第二屏幕的安全模式;Determining a security mode of the second screen according to a setting operation acting on the first screen;
根据作用于所述第一屏幕的设置操作,确定所述第二屏幕可显示的第一类应用;Determining a first type of application that can be displayed on the second screen according to a setting operation acting on the first screen;
根据作用于所述第一屏幕的设置操作,确定所述第一类应用显示在所述第二屏幕上时的操作属性。Determining an operation attribute when the first type of application is displayed on the second screen according to a setting operation acting on the first screen.
以上仅是设置第二权限范围的举例,具体实现时不局限于上述任意描述。The above is only an example of setting the second authority range, and the specific implementation is not limited to any of the above descriptions.
如图5所示,本实施例提供一种电子设备控制装置,所述装置包括:As shown in FIG. 5, this embodiment provides an electronic device control apparatus, where the apparatus includes:
第一获取模块110,配置为获取作用于第一屏幕的权限设置请求;A first obtaining module 110 configured to obtain a permission setting request acting on a first screen;
设置模块120,配置为根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;The setting module 120 is configured to set a second permission range corresponding to the second screen based on the first permission range corresponding to the first screen according to the permission setting request, wherein the second permission range is smaller than the first permission range Scope of authority
第二获取模块130,配置为获取操作请求;A second obtaining module 130 configured to obtain an operation request;
第一执行模块140,配置为若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;The first execution module 140 is configured to respond or reject the operation request according to the first authority range if the operation request acts on the first screen;
第二执行模块150,配置为若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。The second execution module 150 is configured to respond or reject the operation request according to the second authority range if the operation request acts on the second screen.
在一些实施例中,该第一获取模块110、设置模块120、第二获取模块130、第一执行模块140及第二执行模块150,可对应于程序模块,该程序模块被处理后,能够实现作用于第二屏幕的操作请求的获取,并根据第二屏幕的第二权限范围,响应操作请求或者聚聚操作请求。In some embodiments, the first acquisition module 110, the setting module 120, the second acquisition module 130, the first execution module 140, and the second execution module 150 may correspond to a program module. After the program module is processed, it can be implemented. Obtain the operation request acting on the second screen, and respond to the operation request or the aggregation operation request according to the second authority range of the second screen.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
确定模块,配置为确定是否满足第二权限范围的应用条件;A determining module configured to determine whether an application condition of the second authority range is satisfied;
所述第二执行模块150,配置为若满足所述应用条件且所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。The second execution module 150 is configured to respond or reject the operation request according to the second authority range if the application condition is satisfied and the operation request acts on the second screen.
所述确定模块,配置为若不满足所述应用条件,根据所述第一权限范围响应或拒绝作用于所述第二屏幕的操作请求。The determining module is configured to respond to or reject an operation request acting on the second screen according to the first authority range if the application condition is not satisfied.
在一些实施例中,所述第一屏幕和所述第二屏幕为朝向不同方向的不同物理屏幕;In some embodiments, the first screen and the second screen are different physical screens facing different directions;
所述确定模块,配置为确定是否启动安全应用环境;若启动所述安全应用环境,确定满足所述第二权限范围的应用条件。The determining module is configured to determine whether to launch a secure application environment; and if the secure application environment is enabled, determine an application condition that satisfies the second permission range.
在一些实施例中,所述第一屏幕和所述第二屏幕为同一物理屏幕的不同显示区域;所述确定模块,配置为根据所述物理屏幕的当前姿态是否为预设姿态,若所述物理屏幕的当前姿态为使得所述第一屏幕和所述第二屏幕朝向不同方向的预设姿态,确定满足所述第二权限范围的应用条件。In some embodiments, the first screen and the second screen are different display areas of the same physical screen; the determining module is configured to determine whether the current posture of the physical screen is a preset posture, and if the The current posture of the physical screen is a preset posture that makes the first screen and the second screen face different directions, and it is determined that the application conditions of the second permission range are satisfied.
在一些实施例中,所述第二执行模块150,配置为根据所述操作请求携带的标识信息,查询所述第二权限范围所包含权限的权限标识;若所述标识信息包含在所述权限标识内,响应所述操作请求;和/或,若所述标识信息未包含在所述权限标识内,拒绝所述操作请求。In some embodiments, the second execution module 150 is configured to query a permission identifier of a permission included in the second permission range according to the identification information carried in the operation request; if the identification information is included in the permission Within the identification, responding to the operation request; and / or, if the identification information is not included in the permission identification, rejecting the operation request.
在一些实施例中,所述操作请求携带的标识信息可包括以下至少之一:In some embodiments, the identification information carried in the operation request may include at least one of the following:
所述操作请求所作用应用的应用标识;An application identifier of an application to which the operation request acts;
所述操作请求所请求操作的操作标识;An operation identifier of the operation requested by the operation request;
所述操作请求所请求操作的操作类型标识。The operation type identifier of the operation requested by the operation request.
在一些实施例中,所述第二执行模块150,配置为根据所述第二权限范围的应用显示权限,在所述第二屏幕的显示页面显示第一类应用的应用图标;或者,根据所述第二权限范围的应用显示权限,屏蔽第 二类应用在所述第二屏幕的显示。In some embodiments, the second execution module 150 is configured to display the permissions according to the applications of the second permission range, and display the application icons of the first type of application on the display page of the second screen; or The application display permission of the second permission range is described, and the display of the second type of application on the second screen is blocked.
所述第一类应用包括以下至少之一:The first type of application includes at least one of the following:
提供娱乐服务的娱乐应用;Entertainment applications that provide entertainment services;
提供信息搜索的搜索应用;Search applications that provide information search;
提供多媒体信息采集的多媒体信息采集应用;Multimedia information collection applications that provide multimedia information collection;
提供应用程序安装服务的应用商店应用;Application store applications that provide application installation services;
和/或,and / or,
所述第二类应用包括以下至少之一:The second type of application includes at least one of the following:
提供网络支付服务的支付应用;Payment applications that provide online payment services;
提供网络购物服务的购物应用;Shopping applications that provide online shopping services;
提供电子邮件服务的邮件应用;Email applications that provide email services;
提供社交服务的社交应用;Social applications that provide social services;
提供信息记录的信息记录应用;Information logging applications that provide information logging;
提供设备安全控制的安全控制应用。Provides security control applications for equipment security control.
在一些实施例中,所述第二执行模块150,配置为若所述操作请求作用于所述第二屏幕,且所述第二权限范围包括所述操作请求对应的预定权限;查询所述预定权限的权限属性;根据所述权限属性,执行预定操作。In some embodiments, the second execution module 150 is configured to: if the operation request acts on the second screen, and the second permission range includes a predetermined permission corresponding to the operation request; query the reservation A permission attribute of the permission; performing a predetermined operation according to the permission attribute.
所述第二执行模块150,配置执行以下至少之一:The second execution module 150 is configured to execute at least one of the following:
若所述权限属性包括第一屏幕监控属性,根据作用于所述操作请求的响应状况在所述第一屏幕显示所述监控信息,其中,所述监控信息包括所述操作请求被响应的状态信息;If the permission attribute includes a first screen monitoring attribute, the monitoring information is displayed on the first screen according to a response status acting on the operation request, wherein the monitoring information includes status information that the operation request is responded to ;
若所述权限属性包括第一屏幕通知属性,根据所述操作请求在所述第一屏幕显示作用于所述第二屏幕的操作请求的通知信息,其中,所述通知信息用于通知基于被执行的作用于所述第二屏幕的操作请求。If the permission attribute includes a first screen notification attribute, displaying notification information of an operation request acting on the second screen on the first screen according to the operation request, wherein the notification information is used to notify An operation request acting on the second screen.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
询问模块,配置为若作用于所述第二屏幕的操作请求对应的操作权限位于所述第二权限范围外,在所述第一屏幕显示问询信息;An inquiry module configured to display inquiry information on the first screen if the operation authority corresponding to the operation request acting on the second screen is outside the second authority range;
第三执行模块,配置为基于作用于所述问询信息的操作指示,响应或拒绝操作请求。The third execution module is configured to respond to or reject an operation request based on an operation instruction acting on the inquiry information.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
更新模块,配置为根据所述操作指示,更新所述第二权限范围。An update module is configured to update the second authority range according to the operation instruction.
在一些实施例中,所述更新模块,配置为若所述操作指示为第一同意指示,将预设权限添加到所述第二权限范围内。In some embodiments, the update module is configured to add a preset permission to the second permission range if the operation instruction is a first consent instruction.
在一些实施例中,所述第三执行模块,配置为执行以下至少之一:In some embodiments, the third execution module is configured to execute at least one of the following:
若所述操作指示为第二同意指示,利用第二屏幕响应所述操作请求;If the operation instruction is a second consent instruction, using a second screen to respond to the operation request;
若所述操作指示为第三同意指示,利用所述第一屏幕响应所述操作请求。If the operation instruction is a third consent instruction, use the first screen to respond to the operation request.
在一些实施例中,设置模块120,配置为根据所述权限设置请求,在所述第一屏幕对应的第一权限范围的基础上设置所述第二屏幕的不同应用模式下对应的第二权限范围。In some embodiments, the setting module 120 is configured to set a second permission corresponding to a different application mode of the second screen based on a first permission range corresponding to the first screen according to the permission setting request. range.
在一些实施例中,所述应用模式,包括以下至少之一:儿童模式;老人模式;普通成人模式。In some embodiments, the application mode includes at least one of the following: a child mode; an elderly mode; an ordinary adult mode.
如图6所示,本实施例提供一种电子设备,包括:As shown in FIG. 6, this embodiment provides an electronic device, including:
第一屏幕101;First screen 101;
至少一个第二屏幕102;At least one second screen 102;
处理器103,分别与所述第一屏幕101及所述第二屏幕102连接,配置为执行上述电子设备控制方法中的任意一项;例如,可执行如图1至图及图7至图9所示方法中的一个或多个。The processor 103 is connected to the first screen 101 and the second screen 102, respectively, and is configured to execute any one of the above-mentioned electronic device control methods; for example, it may execute FIG. 1 to FIG. 7 and FIG. 7 to FIG. One or more of the methods shown.
在一些实施例中,所述处理器103至少配置为获取作用于第一屏幕101的权限设置请求;根据所述权限设置请求,在第一屏幕101对应的第一权限范围的基础上设置第二屏幕102对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;获取操作请求;若所述操作请求作用于所述第一屏幕101,根据所述第一权限范围响应或拒绝所述操作请求;若所述操作请求作用于所述第二屏幕102,根据所述第二权限范围响应或拒绝所述操作请求。In some embodiments, the processor 103 is at least configured to obtain a permission setting request acting on the first screen 101; according to the permission setting request, setting a second on the basis of the first permission range corresponding to the first screen 101 A second permission range corresponding to the screen 102, wherein the second permission range is smaller than the first permission range; obtaining an operation request; if the operation request acts on the first screen 101, according to the first permission range Respond or reject the operation request; if the operation request acts on the second screen 102, respond or reject the operation request according to the second authority range.
该处理器103可为各种类型的处理器103可为各种类型的处理器103,该处理器103可为:中央处理器103、微处理器103、数字信号处理器103、应用处理器103、可编程器件等。The processor 103 may be various types of processors 103 and may be various types of processors 103. The processor 103 may be: a central processor 103, a microprocessor 103, a digital signal processor 103, and an application processor 103 , Programmable devices, etc.
所述第一屏幕101和所述第二屏幕102可为不同的屏幕。所述第一屏幕101和所述第二屏幕102的关联关系可以参见前述实施例,此处就不再重复了。The first screen 101 and the second screen 102 may be different screens. For the relationship between the first screen 101 and the second screen 102, reference may be made to the foregoing embodiment, which will not be repeated here.
所述处理器103可以通过各种总线等于所述第一屏幕101和所述第二屏幕102连接,用于根据作用于第二屏幕102的操作请求,及第二屏幕102的第二权限范围,响应操作请求或拒绝该操作请求。The processor 103 may be connected to the first screen 101 and the second screen 102 through various buses, and is configured to respond to an operation request acting on the second screen 102 and a second authority range of the second screen 102. Respond to or reject the operation request.
所述第一屏幕101和所述第二屏幕102可位于所述电子设备的相反面。例如,所述第一屏幕101位于所述电子设备的第一表面;至少一个所述第二屏幕102位于所述电子设备的第二表面;所述第二表面为所述第一表面的反面。The first screen 101 and the second screen 102 may be located on opposite sides of the electronic device. For example, the first screen 101 is located on a first surface of the electronic device; at least one of the second screens 102 is located on a second surface of the electronic device; the second surface is an opposite side of the first surface.
若所述第一屏幕101为主屏,则所述主屏位于所述电子设备的正面,若所述第二屏幕102为副屏,则至少一个副屏位于电子设备的反面。若电子设备包括多个副屏,则有的副屏甚至可以位于电子设备的侧面。If the first screen 101 is the main screen, the main screen is located on the front of the electronic device, and if the second screen 102 is the secondary screen, at least one secondary screen is located on the reverse side of the electronic device. If the electronic device includes multiple secondary screens, some secondary screens may even be located on the side of the electronic device.
在本实施例中,所述电子设备可为单一操作系统的设备。In this embodiment, the electronic device may be a device with a single operating system.
该电子设备可以通过执行前述任意一个或多个电子设备控制方法,从而确保该电子设备的设备使用安全性和所存储信息的信息安全性。The electronic device may perform any one or more of the foregoing electronic device control methods, thereby ensuring the device use security of the electronic device and the information security of the stored information.
在一些实施例中还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序;所述计算机程序被执行后,能够实现前述一个或多个技术方案提供的电子设备控制方法,例如,可执行如图1至图4及图7至图9所示方法中的一个或多个。In some embodiments, a computer storage medium is also provided. The computer storage medium stores a computer program. After the computer program is executed, the method for controlling an electronic device provided by one or more of the foregoing technical solutions can be implemented. Perform one or more of the methods shown in FIGS. 1 to 4 and 7 to 9.
该计算机存储介质可为各种类型的存储介质,该存储介质可为非瞬间存储介质。The computer storage medium may be various types of storage media, and the storage medium may be a non-transitory storage medium.
以下结合上述任意实施例提供几个具体示例:Several specific examples are provided below in combination with any of the above embodiments:
示例1:Example 1:
本申请提供了一种双屏终端的权限管理方法。该申请包含了管理模块(设置内管理是否可以开启安全模式,可以设置敏感信息源,设置默认的副屏使用桌面(launcher)组和管理添加副屏的launcher组),launcher设置模块,敏感信息采集模块(安装敏感应用或者使用),监控模块,如果用户没有设置或者疏漏设置某些和泄密信息,需要给主屏幕提示相关信息。This application provides a permission management method for a dual-screen terminal. The application includes a management module (whether the management mode can be turned on in the settings, you can set sensitive information sources, set the default secondary screen to use the launcher group and manage the launcher group to add secondary screens), the launcher setting module, and sensitive information collection Module (install sensitive applications or use), monitoring module, if the user has not set or omitted to set certain and leaked information, you need to prompt the relevant information to the main screen.
本申请提供方法的应用场景可如下:The application scenarios of the methods provided in this application can be as follows:
以手机为前述电子设备进行举例说明,手机持有者使用双屏中的主屏,双屏手机支持单系统双屏操作,非持有者用户需要使用副屏进行独特的某些行为,这些行为包括看电影,打游戏等。The mobile phone is used as an example of the aforementioned electronic device. The mobile phone holder uses the main screen of the dual screen. The dual screen mobile phone supports single system dual screen operation. Non-holder users need to use the secondary screen to perform certain unique behaviors. These behaviors include Watch movies, play games, etc.
由于双屏可以折叠的特性,手机持有者可能会无法获知非持有者用户的行为,这时,手机持有者通过安全中心系统进行副屏的安全功能设置,限制副屏的行为,设定用户只能使用的应用,并且在用户打开应用的时候进行授权和监控。这样能保证手机持有者手机得到安全的管理,防止信息泄漏和用户进行人为破坏系统。Due to the foldable nature of the dual screen, mobile phone holders may not be able to know the behavior of non-holder users. At this time, mobile phone holders set the security function of the secondary screen through the security center system to limit the behavior of the secondary screen. An application that can only be used by a given user, and authorized and monitored when the user opens the application. This can ensure that the mobile phone holder's mobile phone is securely managed, preventing information leakage and users from artificially damaging the system.
本申请还描述了一种双屏AB模式下的权限管理方法,该管理方法的管理方案如下所示:This application also describes a permission management method in dual-screen AB mode. The management scheme of this management method is as follows:
第一步:需要在管理模块内设置是否开启双屏应用的安全模式。并且可以设置哪个屏幕是主屏哪个是副屏。Step 1: Set whether to enable the security mode of the dual-screen application in the management module. And you can set which screen is the primary screen and which is the secondary screen.
第二步:如果开启了双屏应用的安全模式,给出一个默认的主屏,副屏的权限范围,设置内提供可以增删改权限和应用范围的方式,以免信息泄露。比如泄漏主机信息的应用,包括并不仅限于短信,微信,日记本,照片,微博,天猫,京东等。举一个设置的例子:主屏是全权限范围,副屏是限制权限范围。Step 2: If the security mode of the dual-screen application is enabled, a default primary screen and secondary screen permission range is given. The settings provide ways to add, delete, and modify permissions and application ranges to avoid information leakage. For example, the application of leaking host information includes and is not limited to SMS, WeChat, diary, photos, Weibo, Tmall, JD. Take a setting example: the main screen is the full range of permissions, and the secondary screen is the limit of the range of permissions.
副屏的权限范围的设置内容可以包括但是不仅仅限制于:The setting content of the permission range of the secondary screen may include but is not limited to:
1)设置副屏不需要显示的应用,例如京东,淘宝,支付宝等和金钱相关的应用;1) Set applications that do not need to be displayed on the secondary screen, such as Jingdong, Taobao, Alipay and other money-related applications;
2)副屏可以显示,需要在主屏打开的应用。比如,新安装应用这种操作需要在主屏打开以便判断是否有必要安装;2) The secondary screen can display applications that need to be opened on the main screen. For example, the newly installed application needs to be opened on the home screen to determine whether it is necessary to install;
3)可以打开的应用,但是却是受控应用,受控的方式包括在主屏提供监控画面,在主屏提供文字提示目前用户的操作方式;3) An application that can be opened, but it is a controlled application. The controlled methods include providing a monitoring screen on the home screen and providing text prompts on the home screen to indicate the current user's operation mode;
4)可以打开应用,但是只拥有查看权,没有编辑权利,比如可以打开通讯录,但是不能增删改, 可以看照片,但是不能提供删除修改功能。设置添加和删除相关应用,通过包括长按拖拽并不局限于长按拖拽的形式修改相关的权限。4) You can open the application, but only have the viewing right and no editing rights. For example, you can open the address book, but you cannot add, delete, or modify photos. You can view photos, but you cannot provide delete and modify functions. Set to add and delete related applications, including long-press drag and drop is not limited to long-click drag and drop to modify related permissions.
第三步:在管理模块内设置了相关权限范围后,在副屏可以区分显示相关应用的图标,表示哪些是不能使用的,机主可以通过身份认证,确认机主身份,进行应用图标编辑,具体可以增加launcher的每个图标的菜单,提供4个选项进行管理,设置完毕后,该设置会保存在数据库中。例如,副屏区分显示第一类应用或第二类应用的应用图标;此处的区分显示可包括:利用不同的显示参数来区分显示,例如,该显示参数包括但不限于:显示颜色,例如,第二类应用的应用图标为灰色图标,第一类应用的应用图标为彩色图标。再例如,以不同的显示亮度显示第一类应用和第二类应用。Step 3: After setting the relevant permission range in the management module, the related application icons can be displayed on the secondary screen to indicate which ones are unavailable. The owner can pass identity authentication to confirm the owner's identity and edit the application icon. Specifically, you can add a menu for each icon of the launcher and provide 4 options for management. After the setting is completed, the setting will be saved in the database. For example, the secondary screen distinguishes and displays the application icons of the first-type application or the second-type application. The distinguishing display here may include: using different display parameters to distinguish the display. For example, the display parameters include, but are not limited to, display colors, such as The application icons of the second type of applications are gray icons, and the application icons of the first type of applications are colored icons. As another example, the first-type application and the second-type application are displayed with different display brightnesses.
第四步:尽管对相关应用进行了设置,可是还是难免会让用户有机会使用和手机拥有者相关的信息,可以设置敏感信息监控的方式。通过在PMS内设置权限申请监控,如果是安装了新的应用可以通过AMS进行监控。Step 4: Although the related applications are set, it is inevitable that users will have the opportunity to use the information related to the mobile phone owner, and you can set the way of monitoring sensitive information. By setting permission application monitoring in the PMS, if a new application is installed, it can be monitored through AMS.
示例2:Example 2:
本实施例提供了一种设置双屏设备权限的方法,请参考图7,本示例提供的设置双屏设备权限的方法可包括:This embodiment provides a method for setting permissions for a dual-screen device. Please refer to FIG. 7. The method for setting permissions for a dual-screen device provided in this example may include:
步骤S101:主屏设置副屏是否开启安安全模式;Step S101: Set whether the secondary screen has the security mode enabled on the primary screen;
步骤S102:设置完的选项保存到数据库中,以便副屏使用;此处的选项即为配置前述第二权限范围的选项;Step S102: The set options are saved in the database for use by the secondary screen; the options here are the options for configuring the foregoing second permission range;
步骤S103:副屏按照主屏的设置,进行桌面显示,例如,只显示需要显示有权限应用的应用图标,或者区分显示有权限和无权限应用的应用图标。当副屏操作点击某一个应用(Application,APP),活动管理服务(Activity Manager service,AMS)系统甄别是副屏的操作,中断应用加载,并给出一个确认信息到主屏,让主屏用户进行信息确认。Step S103: The secondary screen displays the desktop according to the settings of the main screen. For example, only the application icons that need to display the authorized applications are displayed, or the application icons that distinguish between the authorized and non-permitted applications are displayed. When the secondary screen operation clicks on an application (Application, APP), the Activity Management Service (AMS) system identifies the operation of the secondary screen, interrupts the application loading, and gives a confirmation message to the main screen for the main screen user to perform information confirm.
步骤S104:主屏显示副屏应用的确认信息,在检测到作用于主屏的确认操作后,AMS才恢复相关的应用初始化加载到副屏,此时,副屏进行APP初始化。Step S104: The main screen displays the confirmation information of the secondary screen application. After detecting the confirmation operation on the primary screen, the AMS restores the related application initialization and loads the secondary screen. At this time, the secondary screen performs APP initialization.
本实施例中的主屏设置副屏的方式包括设置是否开启安排模式S101,需要注意的是副屏默认为没有权限访问该设置项,如果副屏进入该项设置,设置界面应该显示到主屏进行设置。如果开启安全模式,可以设置几个方面:The method for setting the secondary screen on the main screen in this embodiment includes setting whether to enable the scheduling mode S101. It should be noted that the secondary screen has no permission to access this setting by default. If the secondary screen enters this setting, the setting interface should be displayed on the main screen for setting. . If you turn on safe mode, you can set several aspects:
(1)可以设置副屏需要显示的安全应用包括哪些,这里应该包括一套或者多套默认的最小子集的应用,默认的应用可以通过功能,权限,针对特殊人群来区分,例如按照功能来分是娱乐应用,包括看电影玩游戏类别相关应用,例如针对特殊人群的儿童模式,老人模式这个不但应用的限制,还涉及桌面(launcher)风格的改变。再例如无危险权限的所有应用为最小子集。如果安装了新的应用,则默认是不在安全范围内。例如,老人模式桌面的字体相对于普通的成人模式,可能字体更大。(1) You can set which security applications need to be displayed on the secondary screen. This should include one or more sets of default minimum subset applications. The default applications can be distinguished by functions and permissions for specific groups of people, such as by function. It is divided into entertainment applications, including applications related to watching movies and playing games, such as a child mode for a specific group of people, an elderly mode, which is not only a limitation of the application, but also involves a change in the style of the launcher. For another example, all applications without dangerous permissions are the smallest subset. If a new application is installed, it is out of security by default. For example, the font of the desktop in the elderly mode may be larger than that in the normal adult mode.
(2)安全应用可以被显示在副屏上,可以设置相关使用提示关键信息,打开一个副屏的应用,AMS截获打开的消失,通过主副屏的标识(ID)确认当前是副屏ID2,挂起当前的应用进程,调用安全监控应用,设置该应用为主屏ID1属性,在主屏显示一个提示界面,主屏用户需要对该提示界面进行确认,包括并且不局限于:1)是否在显示该应用,2)是否切换到主屏显示,3)是否每次确认选项。当且仅当用户选择了是显示在并且不用切换到主屏的时候,才能在副屏打开该应用S104。如果选择每次确认,则下次再次起该应用的时候需要掉起,否则只用调用一次。当显示该应用并且切换到主屏的时候,AMS立刻将ID2的应用实例结束,重新起一个ID1的应用实例;如果选择不显示该应用,AMS应该停止该应用的显示,停止前给出副屏提示信息。(2) The security application can be displayed on the secondary screen. You can set key information related to the use of the reminder. Open an application on the secondary screen. AMS intercepts the opening and disappears. It confirms that it is the secondary screen ID2 by the ID of the primary and secondary screen. Suspend the current application process, call the security monitoring application, set the property of the main screen ID1, and display a prompt interface on the main screen. The main screen user needs to confirm the prompt interface, including and not limited to: 1) Whether the application is being displayed , 2) Whether to switch to the main screen display, 3) Whether to confirm the option every time. The application S104 can be opened on the secondary screen if and only if the user selects Yes is displayed and does not need to switch to the primary screen. If you choose to confirm each time, you need to start the next time you start the application again, otherwise you only need to call it once. When the application is displayed and switched to the main screen, AMS immediately ends the application instance of ID2 and restarts an application instance of ID1. If you choose not to display the application, AMS should stop displaying the application and give a secondary screen prompt before stopping information.
(3)这些设置项设置完毕后,通过数据库的方式保存到本机内S102,并且触发副屏刷新的操作,显示安全模式下的应用组S103。(3) After the setting items are set, they are saved to the local machine S102 through the database, and the operation of the secondary screen refresh is triggered, and the application group S103 in the safe mode is displayed.
示例3:Example 3:
以下以一个具体的例子说明安全中心是如何进行工作的。Here is a concrete example of how the Security Center works.
以成功的设置副屏权限为例来讲解。如图8所示,首先副屏不能设置安全中心;如此确保非机主的用户通过副屏设置安全中心,导致副屏的权限范围被更改导致的安全问题。Take the successful setting of secondary screen permissions as an example. As shown in FIG. 8, firstly, the secondary screen cannot be provided with a security center; this ensures that non-owner users set the security center through the secondary screen, which results in security issues caused by the permission range of the secondary screen being changed.
主屏在进行权限设置之前,进行主屏身份认证,包括并不局限于输入密码、手势图形或者指纹等方 式,认证成功后需要返回认证结果并返回上次的设置结果,如果上次没有设置,需要返回默认设置项。Before setting permissions on the home screen, perform home screen identity authentication, including methods that are not limited to entering passwords, gesture graphics, or fingerprints. After successful authentication, you need to return the authentication result and return the last setting result. Default setting.
主屏需要开启安全模式,并作为数据库的一部分,需要设置默认的应用组和是否通知主屏等设置选项,设置完毕后退出设置,需要通知副屏桌面进行界面计时刷新。The main screen needs to enable the security mode, and as a part of the database, you need to set the default application group and whether to notify the main screen. After exiting the settings, you need to notify the secondary screen desktop to refresh the interface timing.
通过上述方式设置后,副屏开启安全模式,以副屏开启安全模式并且开启通知主屏模式为例。After being set in the above manner, the secondary screen turns on the security mode. The secondary screen turns on the security mode and the notification main screen mode is taken as an example.
如此,若主屏与安全中心进行信息交互会后,确定主屏身份认证通过,该主屏身份认证通过可为:基于主屏的用户操作进行的身份认证。例如,主屏显示安全模式开启的开启界面,在该界面内可以采集用户输入信息,包括但不限于用户的生物信息,例如,指纹信息和/或虹膜信息等。在另一些实施例中,在该界面内还可以采集用户输入的密码,这种密码可包括:以文本形式或字符串形式输入的密码,也包括用户通过该界面显示的图形输入的手势图形密码等。In this way, if the home screen and the security center have an information interaction meeting, it is determined that the home screen identity authentication is passed, and the home screen identity authentication may be: identity authentication based on the user operation of the home screen. For example, the main screen displays an opening interface opened in the security mode, in which user input information can be collected, including but not limited to the user's biological information, such as fingerprint information and / or iris information. In other embodiments, a password input by a user may also be collected in the interface, and the password may include: a password input in a text form or a string form, and a gesture graphic password input by a user through a graphic displayed on the interface. Wait.
在主屏身份通过验证后,主屏可请求开启副屏的安全模式;安全中心基于该请求向主屏返回设置结果。主屏将设置默认应用组合是否通知主屏告知安全中心,安全中心基于此向主屏返回设置结果。完成设置之后,主屏可告知安全中心关闭设置。安全中心基于与主屏交互的设置,刷新副屏的界面,例如,通过这种刷新,显示副屏没有操作权限的应用图标,或区分显示有权限和无权限应用的应用图标等,在一些实施例中还可以根据当前模式调整副屏的界面显示风格;包括但不限于:副屏的显示字体的字体、字号、页面背景颜色等。After the identity of the main screen is verified, the main screen can request the security mode of the secondary screen to be turned on; the security center returns the setting result to the main screen based on the request. The main screen will set whether the default application combination notifies the main screen to inform the security center, and the security center returns the setting result to the main screen based on this. After completing the settings, the main screen can tell the Security Center to close the settings. The Security Center refreshes the interface of the secondary screen based on the settings for interaction with the main screen. For example, through this refresh, application icons that do not have the operation permission on the secondary screen are displayed, or application icons that distinguish between authorized and non-permitted applications are displayed. In some embodiments, You can also adjust the interface display style of the secondary screen according to the current mode; including but not limited to: the font, font size, page background color, etc. of the display font of the secondary screen.
图9所示为当副屏点击一个应用的时候,AMS首先将这个应用挂起,然后访问安全中心的数据库进行查询,看是否能够打开该应用,当数据库返回需要主屏授权情况下打开该应用的结果返回给AMS,AMS会调起内置安全应用进行主屏通知界面显示,当主屏用户查看到该通知界面并选择同意掉起副屏应用并且在副屏显示的选项后,结果返回给AMS,AMS负责结束安全应用,并恢复副屏应用。参考图9所示,根据副屏的第二权限范围进行应用操作的方法可包括:Figure 9 shows that when the secondary screen clicks on an application, AMS first suspends the application, and then accesses the database of the security center to query whether it can be opened. When the database returns to open the application when the home screen authorization is required, The result is returned to AMS. AMS will call the built-in security application to display the main screen notification interface. When the main screen user sees the notification interface and selects the option to drop off the secondary screen application and the option displayed on the secondary screen, the result is returned to AMS, which is responsible for End the security application and resume the secondary screen application. Referring to FIG. 9, a method for performing an application operation according to the second permission range of the secondary screen may include:
副屏检测到点击应用的操作,向AMS发送被点击的应用的操作请求;The secondary screen detects the operation of clicking the application, and sends an operation request of the clicked application to the AMS;
AMS向安全中心查询是否需要询问主屏;AMS asks the security center if it needs to ask the home screen;
安全中心基于查询的结果告知AMS是否需要询问主屏,例如,如图9所示,返回需要查询,在另一情况下,也可以返回不需要查询;The security center informs the AMS whether it is necessary to query the home screen based on the result of the query. For example, as shown in FIG. 9, the query needs to be returned. In another case, the query can also be returned.
AMS基于安全中心返回需要查询的挂起应用,此处的挂起应用可包括:暂停副屏上被点击的应用的启动,例如,将该应用被点击触发的启动请求压入待处理队列中,AMS发起通知界面,询问主屏是否允许副屏启动对应的应用。AMS returns the suspended application that needs to be queried based on the security center. The suspended application here may include: pausing the launch of the clicked application on the secondary screen, for example, pressing the start request triggered by the application into the pending queue, The AMS initiates a notification interface and asks whether the primary screen allows the secondary screen to launch the corresponding application.
主屏同意副屏启动对应的应用;The main screen agrees to launch the corresponding application on the secondary screen;
副屏恢复应用启动并显示应用的应用界面。此处的恢复启动,可包括:从队列中读取出应用的启动请求,响应该启动请求,如主屏不同意,则可以丢弃位于队列中的启动请求,或者,位于队列中的启动请求在满足特定条件时自动被废弃即可。The secondary screen recovery application starts and displays the application interface of the application. The resume startup here may include: reading the application startup request from the queue, and responding to the startup request. If the main screen does not agree, the startup request located in the queue may be discarded, or the startup request located in the queue is being met. It can be automatically discarded under certain conditions.
示例4:Example 4:
本实施例提供了一种电子设备的安全中心装置,请参见图10,该无线路由装置包括设置模块401、数据库402和监控中心403;设置模块401提供主屏设置副屏权限的入口和方式,数据库402需要保存相关设置的内容,监控中心403用于监控副屏的打开应用的动作并且做出相应的提示。This embodiment provides a security center device for an electronic device. See FIG. 10. The wireless routing device includes a setting module 401, a database 402, and a monitoring center 403. The setting module 401 provides an entry and a method for setting a secondary screen permission on the main screen. 402 needs to save the content of the related settings, and the monitoring center 403 is used to monitor the action of opening the application on the secondary screen and make corresponding prompts.
监控中心403包括对应用的打开的监控,对应用需要权限,对应用删除,数据库改变的监控等,首先监控到数据库改变,需要通知刷新副屏;其次,监控到应用打开,需要停止应用打开和通知主屏;再次当应用删除,需要通知数据库删除对该项应用进行的设置;另外,监控应用需要的权限,并改变设置中默认组相关的设置。The monitoring center 403 includes the monitoring of application opening, the application requiring permissions, the application deletion, and the database change monitoring. First, the database change is monitored and the secondary screen needs to be notified to refresh. Second, the application is opened and the application needs to be stopped. Notify the main screen; when the application is deleted again, you need to notify the database to delete the settings made for the application; in addition, monitor the permissions required by the application and change the settings related to the default group in the settings.
示例5:Example 5:
参考图11,本实施例公开了一种安全中心系统,包括:安全中心装置501和终端502模块组成,安全中心装置是由设置模块5011,数据库5012,监控中心5013三部分构成,终端502是由AMS 5021,PMS5022,主屏界面5023,副屏界面5024四个部分组成。主屏界面5023是用来调用安全中心装置501的设置模块5011,并且和数据库5012交互,对安全权限进行设置的功能,副屏界面5024的操作会被监控中心5013监控,并且联络AMS5021,包管理服务(Packet Management Service,PMS)5022对副屏的操作进行管理,如果需要通知主屏界面5023,需要主屏界面5023进行用户的授权和操作。11, this embodiment discloses a security center system, which includes a security center device 501 and a terminal 502 module. The security center device is composed of a setting module 5011, a database 5012, and a monitoring center 5013. The terminal 502 is composed of AMS 5021, PMS 5022, the main screen interface 5023, the secondary screen interface 5024 is composed of four parts. The main screen interface 5023 is used to call the setting module 5011 of the security center device 501 and interact with the database 5012 to set security permissions. The operation of the secondary screen interface 5024 will be monitored by the monitoring center 5013 and contact AMS 5021, the package management service. (Packet Management Service, PMS) 5022 manages the operation of the secondary screen. If the main screen interface 5023 needs to be notified, the main screen interface 5023 is required for user authorization and operation.
如此,本申请实施例提供的电子设备,可以针对特殊人群进行权限设置,比如主屏可以设置副屏为儿童模式,老人模式,来简化用户界面(User Interface,UI),不但安全得到了保证,而且还让手机更满足多种人群的需要。In this way, the electronic device provided in the embodiment of the present application can set permissions for special groups. For example, the primary screen can be set to the child mode and the elderly mode to simplify the user interface (UI). Not only is security guaranteed, but also It also allows mobile phones to better meet the needs of a variety of people.
在设置副屏权限的时候,可以针对某些应用进行只读权限的设置。比如联系人,有可能遭到顾客的篡改,在设置的时候,增加这样一项,监控中心监控到副屏打开类似应用的时候,结合AMS在活动(activity)的初始化的时候,进行只读权限判断,加载不同的组件和组件的属性,从而达到不让用户轻易增删改该应用的目的。When setting the secondary screen permissions, you can set read-only permissions for certain applications. For example, the contact person may be tampered with by the customer. When setting, add such an item. When the monitoring center monitors the secondary screen to open a similar application, it combines read-only permissions with the AMS during the initialization of activities. Judge, load different components and component properties, so as not to allow users to easily add, delete and modify the application.
针对新的安装应用,可以存在信息泄漏和对系统造成伤害的问题,这个时候默认是不让打开的,但是也增加一个可以打开新应用权限的设定,如果需要授权可以采用主屏授权的方式进行处理。一旦主屏不授权,不可以授权部分铭感权限的方式。For new installation applications, there may be problems of information leakage and damage to the system. At this time, it is not allowed to open by default, but a setting can be added to open new application permissions. If authorization is required, you can use the home screen authorization method. deal with. Once the home screen is not authorized, you cannot authorize some of the ways to feel the permissions.
副屏还支持持有者在副屏通过输入密码等的方式手动拖动或者选择进行菜单进行控制是否单独应用的权限。The secondary screen also supports the holder's permission to manually drag or select a menu to control whether the application is separate or not by entering a password on the secondary screen.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces. The indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, which may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the embodiments of the present application may be all integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing method embodiments may be completed by a program instructing related hardware. The foregoing program may be stored in a computer-readable storage medium. When the program is executed, the program is executed. Including the steps of the above method embodiment; and the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. A medium on which program code can be stored.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (21)

  1. 一种电子设备控制方法,包括:An electronic device control method includes:
    获取作用于第一屏幕的权限设置请求;Obtain a permission setting request acting on the first screen;
    根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;Setting a second permission range corresponding to the second screen on the basis of the first permission range corresponding to the first screen according to the permission setting request, wherein the second permission range is smaller than the first permission range;
    获取操作请求;Get operation request;
    若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;If the operation request acts on the first screen, responding or rejecting the operation request according to the first authority range;
    若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。If the operation request acts on the second screen, respond or reject the operation request according to the second authority range.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, further comprising:
    确定是否满足第二权限范围的应用条件;Determining whether the application conditions of the second authority range are met;
    所述若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝作用于所述第二屏幕的操作请求,包括:If the operation request acts on the second screen, responding or rejecting the operation request acting on the second screen according to the second authority range includes:
    若满足所述应用条件且所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。If the application condition is satisfied and the operation request acts on the second screen, respond to or reject the operation request according to the second authority range.
  3. 根据权利要求2所述的方法,其中,The method according to claim 2, wherein:
    所述确定是否满足第二权限范围应用条件,包括:The determining whether the second permission range application condition is met includes:
    若不满足所述应用条件,根据所述第一权限范围响应或拒绝作用于所述第二屏幕的操作请求。If the application condition is not satisfied, respond to or reject an operation request acting on the second screen according to the first authority range.
  4. 根据权利要求2所述的方法,其中,The method according to claim 2, wherein:
    所述第一屏幕和所述第二屏幕为朝向不同方向的不同物理屏幕;The first screen and the second screen are different physical screens facing different directions;
    所述确定是否满足第二权限范围的应用条件,包括:The determining whether the application conditions of the second permission range are met includes:
    确定是否启动安全应用环境;Determine whether to launch a secure application environment;
    若启动所述安全应用环境,确定满足所述第二权限范围的应用条件。If the secure application environment is started, it is determined that the application conditions of the second permission range are met.
  5. 根据权利要求2所述的方法,其中,The method according to claim 2, wherein:
    所述第一屏幕和所述第二屏幕为同一物理屏幕的不同显示区域;The first screen and the second screen are different display areas of the same physical screen;
    所述确定是否满足第二权限范围的应用条件,包括:The determining whether the application conditions of the second permission range are met includes:
    根据所述物理屏幕的当前姿态是否为预设姿态,According to whether the current posture of the physical screen is a preset posture,
    若所述物理屏幕的当前姿态为使得所述第一屏幕和所述第二屏幕朝向不同方向的预设姿态,确定满足所述第二权限范围的应用条件。If the current posture of the physical screen is a preset posture that causes the first screen and the second screen to face different directions, it is determined that an application condition of the second permission range is satisfied.
  6. 根据权利要求1所述的方法,其中,The method according to claim 1, wherein:
    所述若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求,包括:If the operation request acts on the second screen, responding or rejecting the operation request according to the second authority range includes:
    根据所述操作请求携带的标识信息,查询所述第二权限范围所包含权限的权限标识;Querying a permission identifier of a permission included in the second permission range according to the identification information carried in the operation request;
    所述根据所述第二权限范围,响应或拒绝所述操作请求,包括:The responding or rejecting the operation request according to the second authority range includes:
    若所述标识信息包含在所述权限标识内,响应所述操作请求;If the identification information is included in the permission identification, responding to the operation request;
    和/或,and / or,
    若所述标识信息未包含在所述权限标识内,拒绝所述操作请求。If the identification information is not included in the permission identification, the operation request is rejected.
  7. 根据权利要求6所述的方法,其中,The method according to claim 6, wherein:
    所述操作请求携带的标识信息可包括以下至少之一:The identification information carried in the operation request may include at least one of the following:
    所述操作请求所作用应用的应用标识;An application identifier of an application to which the operation request acts;
    所述操作请求所请求操作的操作标识;An operation identifier of the operation requested by the operation request;
    所述操作请求所请求操作的操作类型标识。The operation type identifier of the operation requested by the operation request.
  8. 根据权利要求1所述的方法,其中,The method according to claim 1, wherein:
    所述若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应所述操作请求,包括:If the operation request acts on the second screen, responding to the operation request according to the second authority range includes:
    根据所述第二权限范围的应用显示权限,在所述第二屏幕的显示页面显示第一类应用的应用图标;Displaying the application icon of the first type of application on the display page of the second screen according to the application display permission of the second permission range;
    或者,or,
    所述若所述操作请求作用于所述第二屏幕,根据所述第二权限范围拒绝所述操作请求,包括:If the operation request acts on the second screen, rejecting the operation request according to the second authority range includes:
    根据所述第二权限范围的应用显示权限,屏蔽第二类应用在所述第二屏幕的显示。According to the application display permission of the second permission range, the display of the second type of application on the second screen is blocked.
  9. 根据权利要求8所述的方法,其中,所述第一类应用包括以下至少之一:The method according to claim 8, wherein the first type of application comprises at least one of the following:
    提供娱乐服务的娱乐应用;Entertainment applications that provide entertainment services;
    提供信息搜索的搜索应用;Search applications that provide information search;
    提供多媒体信息采集的多媒体信息采集应用;Multimedia information collection applications that provide multimedia information collection;
    提供应用程序安装服务的应用商店应用;Application store applications that provide application installation services;
    和/或,and / or,
    所述第二类应用包括以下至少之一:The second type of application includes at least one of the following:
    提供网络支付服务的支付应用;Payment applications that provide online payment services;
    提供网络购物服务的购物应用;Shopping applications that provide online shopping services;
    提供电子邮件服务的邮件应用;Email applications that provide email services;
    提供社交服务的社交应用;Social applications that provide social services;
    提供信息记录的信息记录应用;Information logging applications that provide information logging;
    提供设备安全控制的安全控制应用。Provides security control applications for equipment security control.
  10. 根据权利要求1所述的方法,其中,The method according to claim 1, wherein:
    所述若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应所述操作请求还包括:If the operation request acts on the second screen, responding to the operation request according to the second authority range further includes:
    若所述操作请求作用于所述第二屏幕,且所述第二权限范围包括所述操作请求对应的预定权限;If the operation request acts on the second screen, and the second permission range includes a predetermined permission corresponding to the operation request;
    查询所述预定权限的权限属性;Querying a permission attribute of the predetermined permission;
    根据所述权限属性,执行预定操作。Performing a predetermined operation according to the permission attribute.
  11. 根据权利要求10所述的方法,其中,所述根据所述权限属性,执行预定操作,包括以下至少之一:The method according to claim 10, wherein the performing a predetermined operation according to the permission attribute comprises at least one of the following:
    若所述权限属性包括第一屏幕监控属性,根据作用于所述操作请求的响应状况在所述第一屏幕显示所述监控信息,其中,所述监控信息包括所述操作请求被响应的状态信息;If the permission attribute includes a first screen monitoring attribute, the monitoring information is displayed on the first screen according to a response status acting on the operation request, wherein the monitoring information includes status information that the operation request is responded to ;
    若所述权限属性包括第一屏幕通知属性,根据所述操作请求在所述第一屏幕显示作用于所述第二屏幕的操作请求的通知信息,其中,所述通知信息用于通知基于被执行的作用于所述第二屏幕的操作请求。If the permission attribute includes a first screen notification attribute, displaying notification information of an operation request acting on the second screen on the first screen according to the operation request, wherein the notification information is used to notify An operation request acting on the second screen.
  12. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, further comprising:
    若作用于所述第二屏幕的操作请求对应的操作权限位于所述第二权限范围外,在所述第一屏幕显示问询信息;If the operation authority corresponding to the operation request acting on the second screen is outside the second authority range, displaying inquiry information on the first screen;
    基于作用于所述问询信息的操作指示,响应或拒绝操作请求。Responding or rejecting an operation request based on an operation instruction acting on the inquiry information.
  13. 根据权利要求12所述的方法,其中,所述方法还包括:The method according to claim 12, wherein the method further comprises:
    根据所述操作指示,更新所述第二权限范围。Updating the second authority range according to the operation instruction.
  14. 根据权利要求13所述的方法,其中,所述根据所述操作指示,更新所述第二权限范围,包括:The method according to claim 13, wherein the updating the second permission range according to the operation instruction comprises:
    若所述操作指示为第一同意指示,将预设权限添加到所述第二权限范围内。If the operation instruction is a first consent instruction, adding a preset permission to the second permission range.
  15. 根据权利要求12所述的方法,其中,The method according to claim 12, wherein:
    所述基于作用于所述问询信息的操作指示,响应操作请求,包括:The response to the operation request based on the operation instruction acting on the inquiry information includes:
    若所述操作指示为第二同意指示,利用第二屏幕响应所述操作请求;If the operation instruction is a second consent instruction, using a second screen to respond to the operation request;
    若所述操作指示为第三同意指示,利用所述第一屏幕响应所述操作请求。If the operation instruction is a third consent instruction, use the first screen to respond to the operation request.
  16. 根据权利要求1所述的方法,其中,The method according to claim 1, wherein:
    所述根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,包括:The setting the second permission range corresponding to the second screen on the basis of the first permission range corresponding to the first screen according to the permission setting request includes:
    根据所述权限设置请求,在所述第一屏幕对应的第一权限范围的基础上设置所述第二屏幕的不同应用模式下对应的第二权限范围。According to the permission setting request, a second permission range corresponding to a different application mode of the second screen is set on the basis of the first permission range corresponding to the first screen.
  17. 根据权利要求16所述的方法,其中,所述应用模式,包括以下至少之一:The method according to claim 16, wherein the application mode comprises at least one of the following:
    儿童模式;Child mode
    老人模式;Elderly mode
    普通成人模式。Normal adult mode.
  18. 一种电子设备控制装置,包括:An electronic device control device includes:
    第一获取模块,配置为获取作用于第一屏幕的权限设置请求;A first obtaining module configured to obtain a permission setting request acting on the first screen;
    设置模块,配置为根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;A setting module configured to set a second permission range corresponding to the second screen on the basis of the first permission range corresponding to the first screen according to the permission setting request, wherein the second permission range is smaller than the first permission range;
    第二获取模块,配置为获取操作请求;A second obtaining module configured to obtain an operation request;
    第一执行模块,配置为若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;A first execution module configured to respond or reject the operation request according to the first authority range if the operation request acts on the first screen;
    第二执行模块,配置为若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。The second execution module is configured to respond or reject the operation request according to the second authority range if the operation request acts on the second screen.
  19. 一种电子设备,包括:An electronic device includes:
    第一屏幕;First screen
    至少一个第二屏幕;At least one second screen;
    处理器,分别与所述第一屏幕及所述第二屏幕连接,至少配置为获取作用于第一屏幕的权限设置请求;根据所述权限设置请求,在第一屏幕对应的第一权限范围的基础上设置第二屏幕对应的第二权限范围,其中,所述第二权限范围小于所述第一权限范围;获取操作请求;若所述操作请求作用于所述第一屏幕,根据所述第一权限范围响应或拒绝所述操作请求;若所述操作请求作用于所述第二屏幕,根据所述第二权限范围响应或拒绝所述操作请求。The processor is respectively connected to the first screen and the second screen, and is configured to obtain at least a permission setting request acting on the first screen; and according to the permission setting request, in a first permission range corresponding to the first screen On the basis, a second permission range corresponding to the second screen is set, wherein the second permission range is smaller than the first permission range; an operation request is obtained; if the operation request acts on the first screen, according to the first screen, A permission range responds or rejects the operation request; if the operation request acts on the second screen, responds or rejects the operation request according to the second permission range.
  20. 根据权利要求19所述的电子设备,其中,所述第一屏幕位于所述电子设备的第一表面;The electronic device according to claim 19, wherein the first screen is located on a first surface of the electronic device;
    至少一个所述第二屏幕位于所述电子设备的第二表面;At least one said second screen is located on a second surface of said electronic device;
    所述第二表面为所述第一表面的反面。The second surface is the opposite of the first surface.
  21. 一种计算机存储介质,所述计算机存储介质存储有计算机程序;所述计算机程序被执行后,能够实现权利要求1至17任一项提供的方法。A computer storage medium stores a computer program; after the computer program is executed, the method provided in any one of claims 1 to 17 can be implemented.
PCT/CN2019/106552 2018-09-20 2019-09-19 Electronic device control method and apparatus, electronic device, and storage medium WO2020057573A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811099492.9 2018-09-20
CN201811099492.9A CN109460655B (en) 2018-09-20 2018-09-20 Electronic device control method and device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020057573A1 true WO2020057573A1 (en) 2020-03-26

Family

ID=65606840

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/106552 WO2020057573A1 (en) 2018-09-20 2019-09-19 Electronic device control method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN109460655B (en)
WO (1) WO2020057573A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460655B (en) * 2018-09-20 2021-08-03 中兴通讯股份有限公司 Electronic device control method and device, electronic device and storage medium
CN110119261B (en) * 2019-04-29 2022-02-08 深圳达闼科技控股有限公司 File sharing method, folding screen terminal, computing device and computer storage medium
CN110119630A (en) * 2019-05-06 2019-08-13 珠海格力电器股份有限公司 Control method, device, storage medium and the processor of electronic equipment
CN110535732B (en) * 2019-07-29 2021-12-07 深圳绿米联创科技有限公司 Equipment control method and device, electronic equipment and storage medium
CN110427165B (en) * 2019-08-01 2021-05-14 维沃移动通信有限公司 Icon display method and mobile terminal
CN115033325A (en) * 2019-11-11 2022-09-09 支付宝(杭州)信息技术有限公司 Information display method, device and equipment
CN114071199B (en) * 2020-08-07 2024-03-12 惠州视维新技术有限公司 Screen control method, terminal equipment and storage medium
CN112698907B (en) * 2021-03-25 2021-06-22 湖北亿咖通科技有限公司 Application display control method and electronic equipment
CN113760122A (en) * 2021-07-21 2021-12-07 深圳市智微智能科技股份有限公司 Secondary screen touch control method and system for dual-screen equipment, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140033298A1 (en) * 2012-07-25 2014-01-30 Samsung Electronics Co., Ltd. User terminal apparatus and control method thereof
CN103999371A (en) * 2011-10-18 2014-08-20 三星电子株式会社 Method and apparatus for operating mobile terminal
CN107277243A (en) * 2017-06-14 2017-10-20 黄之 Processing method, display methods and the display system of multi-display display information
CN109460655A (en) * 2018-09-20 2019-03-12 中兴通讯股份有限公司 Control method of electronic device and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203133812U (en) * 2013-02-05 2013-08-14 范艳君 Multi-screen display and control system
CN105471956A (en) * 2014-09-11 2016-04-06 中兴通讯股份有限公司 User safety control method of social network, social application tool and terminal
CN104902074B (en) * 2015-04-22 2018-06-19 四川金英科技有限责任公司 A kind of mobile phone information safety management method based on more permission modes
CN106228364A (en) * 2016-07-15 2016-12-14 珠海市魅族科技有限公司 A kind of information demonstrating method and present device
CN106814988A (en) * 2016-12-26 2017-06-09 宇龙计算机通信科技(深圳)有限公司 A kind of screen control method, device and terminal
CN107643912B (en) * 2017-08-31 2020-09-29 维沃移动通信有限公司 Information sharing method and mobile terminal
CN108008927A (en) * 2017-11-30 2018-05-08 努比亚技术有限公司 Multi-screen meeting implementation method, mobile terminal and computer-readable recording medium
CN108205419A (en) * 2017-12-21 2018-06-26 中兴通讯股份有限公司 Double screens control method, apparatus, mobile terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103999371A (en) * 2011-10-18 2014-08-20 三星电子株式会社 Method and apparatus for operating mobile terminal
US20140033298A1 (en) * 2012-07-25 2014-01-30 Samsung Electronics Co., Ltd. User terminal apparatus and control method thereof
CN107277243A (en) * 2017-06-14 2017-10-20 黄之 Processing method, display methods and the display system of multi-display display information
CN109460655A (en) * 2018-09-20 2019-03-12 中兴通讯股份有限公司 Control method of electronic device and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109460655B (en) 2021-08-03
CN109460655A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
WO2020057573A1 (en) Electronic device control method and apparatus, electronic device, and storage medium
US9898592B2 (en) Application marketplace administrative controls
US8904164B2 (en) Multi-mode handheld wireless device to provide data utilizing combined context awareness and situational awareness
EP2857967B1 (en) User interface management method and system
EP2469442B1 (en) Mobile terminal and method of controlling a mode screen display therein
EP2469404B1 (en) Mobile terminal and method of displaying information in accordance with a plurality of modes of use
EP2469443B1 (en) Mobile terminal and method of controlling a mode screen display therein
EP2469815B1 (en) Mobile terminal and method of managing information therein
US10025949B2 (en) Item sharing based on information boundary and access control list settings
JP2019197527A (en) User interfaces for controlling or presenting device usage on electronic device
US11782573B2 (en) User interfaces for enabling an activity
WO2015183493A1 (en) Permission request
EP3507714A1 (en) Group interactions
US10476944B2 (en) Backend service integration
US20180060092A1 (en) Group Data and Priority in an Individual Desktop
US20210209254A1 (en) Rule-based control of communication devices
Halsey et al. Configuring Your PC’s Settings
Halsey The Windows 10 Productivity Handbook

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19861552

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19861552

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19861552

Country of ref document: EP

Kind code of ref document: A1