WO2017032140A1 - Screen management method and device - Google Patents

Screen management method and device Download PDF

Info

Publication number
WO2017032140A1
WO2017032140A1 PCT/CN2016/085588 CN2016085588W WO2017032140A1 WO 2017032140 A1 WO2017032140 A1 WO 2017032140A1 CN 2016085588 W CN2016085588 W CN 2016085588W WO 2017032140 A1 WO2017032140 A1 WO 2017032140A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
detecting
lock screen
screen
message
Prior art date
Application number
PCT/CN2016/085588
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 WO2017032140A1 publication Critical patent/WO2017032140A1/en

Links

Images

Classifications

    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • This document relates to, but is not limited to, the field of terminal technologies, and in particular, to a method and apparatus for managing screen usage.
  • the user can perform screen locking and screen unlocking on a mobile terminal having a lock screen and an unlock function as needed.
  • the screen After the screen is locked, the user will not be able to use the mobile terminal screen (screen display and message processing are disabled).
  • the screen is allowed to be used by the user after the screen is unlocked (screen display and message processing are enabled).
  • the screen locking and the screen unlocking of the terminal system are mainly for the user, and the user needs to perform screen locking and screen unlocking for a specific application scenario.
  • the invention provides a method and a device for managing the use of a screen, which can perform screen locking and screen unlocking for the current application.
  • An embodiment of the present invention provides a method for managing a screen, which is applied to a terminal, and the method includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • whether the detecting application lock screen function is enabled including:
  • the prohibiting other applications from using the screen includes:
  • the message is cached when a message related to the screen display of the other application is detected;
  • the other applications are allowed to use the screen, including:
  • the message is separately sent to the corresponding application for processing.
  • the blocking interference message of other applications includes:
  • Dissolving the interference message of the other application including:
  • the interference message is separately sent to the corresponding application for processing.
  • An embodiment of the present invention provides a device for managing a screen, which is applied to a terminal, and includes:
  • the detecting module is configured to detect whether the application lock screen function is enabled when the current application uses the screen;
  • the lock screen module is configured to prohibit other applications from using the screen after the detecting module detects that the application lock screen function is turned on.
  • the device further includes:
  • the unlocking module is configured to allow other applications to use the screen after the detecting module detects that the application locking screen function is turned off.
  • the lock screen module is further configured to block the interference message of the other application after the detecting module detects that the application lock screen function is enabled.
  • the unlocking module is further configured to: after the detecting module detects that the application lock screen function is turned off, unblock the interference message of the other application.
  • the detecting module detects whether the application lock screen function is enabled, including:
  • the lock screen module prohibits other applications from using the screen, including:
  • the message is cached when a message related to the screen display of the other application is detected;
  • the unlocking module allows other applications to use the screen, including:
  • the message is separately sent to the corresponding application for processing.
  • the lock screen module blocks interference messages of other applications, including:
  • the unlocking module releases the shielding of the interference message of the other application, including:
  • the interference message is separately sent to the corresponding application for processing.
  • a computer readable storage medium storing computer executable instructions for performing the above method.
  • the method and device for managing the use of the screen provided by the embodiment of the present invention, when the application lock screen function is detected when the current application uses the screen, the other application is prohibited from using the screen, and after detecting that the application lock screen function is turned off, allowing Other applications use the screen.
  • the embodiment of the present invention can perform screen locking and screen unlocking for the current application.
  • FIG. 1 is a schematic diagram of a method for managing a screen usage according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an apparatus for managing a screen according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for managing a screen, which is applied to a terminal, and the method includes steps S101 to S102:
  • whether the detecting application lock screen function is enabled including:
  • the current application usage screen refers to: the interface of the current application being displayed on the screen.
  • the method further includes: after detecting that the application lock screen function is turned off, allowing other applications to use the screen.
  • the method further includes:
  • the method further includes: after detecting that the application lock screen function is turned off, unblocking the interference message of the other application.
  • the prohibiting other applications from using the screen includes:
  • the message is cached when a message related to the screen display of the other application is detected.
  • the allowing other applications to use the screen includes:
  • the message is separately sent to the corresponding application for processing.
  • the blocking interference message of other applications includes:
  • the dissolving the interference message of the other application includes:
  • the interference message is separately sent to the corresponding application for processing.
  • the terminal comprises: a mobile terminal; for example, a mobile phone.
  • the foregoing steps S101 to S102 are performed by the terminal.
  • an embodiment of the present invention provides a device for managing a screen, which is applied to a terminal, and includes:
  • the detecting module 201 is configured to detect whether the application lock screen function is enabled when the current application uses the screen;
  • the lock screen module 202 is configured to prohibit other applications from using the screen after the detecting module 201 detects that the application lock screen function is turned on.
  • the device further includes:
  • the unlocking module is configured to allow other applications to use the screen after the detecting module 201 detects that the application locking screen function is turned off.
  • the lock screen module is further configured to detect the application at the detecting module 201 After the lock screen function is turned on, the interference message of the other application is blocked.
  • the unlocking module is further configured to remove the shielding of the interference message of the other application after the detecting module 201 detects that the application locking screen function is turned off.
  • the detecting module detects whether the application lock screen function is enabled, including:
  • the lock screen module prohibits other applications from using the screen, including:
  • the message is cached when a message related to the screen display of the other application is detected;
  • the unlocking module allows other applications to use the screen, including:
  • the message is separately sent to the corresponding application for processing.
  • the lock screen module blocks interference messages of other applications, including:
  • the unlocking module releases the shielding of the interference message of the other application, including:
  • the interference message is separately sent to the corresponding application for processing.
  • the terminal comprises: a mobile terminal; for example, a mobile phone.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the method of the first embodiment.
  • the user is viewing the slide of the photo through an application software, but the hand accidentally moves the mobile phone, and the horizontal and vertical screens of the mobile phone are automatically switched, which affects the use. I accidentally clicked the back button and the slide exited. The phone suddenly called, and the slideshow interface was blocked by the incoming call interface.
  • the user is using the slideshow application, the user clicks the application lock screen function button on the phone to open the application lock screen function, and then manually selects the last play record. Now, no other application can interrupt the slideshow application play. The process is complete and the slideshow can be played smoothly.
  • the method and device for managing the use of the screen provided by the foregoing embodiment, when the application lock screen function is detected when the current application uses the screen, prohibiting other applications from using the screen, and allowing other applications to be closed after the application lock screen function is detected, allowing other The application uses the screen.
  • the embodiment of the invention can perform screen locking and screen unlocking for the current application.
  • the method and device for managing the use of the screen provided by the embodiment of the present invention, when the application lock screen function is detected when the current application uses the screen, the other application is prohibited from using the screen, and after detecting that the application lock screen function is turned off, allowing Other applications use the screen.
  • the embodiment of the present invention can perform screen locking and screen unlocking for the current application.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Screen management method, adopted by a terminal, comprises: determining, when a present application is using a screen, whether an application screen lock function is activated; and upon detecting activation of the application screen lock function, forbidding another application to use the screen.

Description

一种管理屏幕使用的方法和装置Method and device for managing screen use 技术领域Technical field
本文涉及但不限于终端技术领域,尤其涉及一种管理屏幕使用的方法和装置。This document relates to, but is not limited to, the field of terminal technologies, and in particular, to a method and apparatus for managing screen usage.
背景技术Background technique
日常使用移动终端的过程中,用户可以根据需要,对一种具备锁屏和解锁功能的移动终端进行屏幕锁定和屏幕解锁。During the daily use of the mobile terminal, the user can perform screen locking and screen unlocking on a mobile terminal having a lock screen and an unlock function as needed.
在屏幕锁定后,用户将不能使用移动终端屏幕(屏幕的显示和消息处理被禁止)。屏幕解锁之后,才允许用户使用屏幕(屏幕的显示和消息处理被启用)。After the screen is locked, the user will not be able to use the mobile terminal screen (screen display and message processing are disabled). The screen is allowed to be used by the user after the screen is unlocked (screen display and message processing are enabled).
但是,相关技术的屏幕锁定和屏幕解锁方案中,主要是针对终端系统的屏幕锁定和屏幕解锁,不能满足用户针对特定应用场景进行屏幕锁定和屏幕解锁的需求。However, in the screen locking and screen unlocking schemes of the related art, the screen locking and the screen unlocking of the terminal system are mainly for the user, and the user needs to perform screen locking and screen unlocking for a specific application scenario.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明提供一种管理屏幕使用的方法和装置,能够针对当前应用进行屏幕锁定、屏幕解锁。The invention provides a method and a device for managing the use of a screen, which can perform screen locking and screen unlocking for the current application.
本发明实施例提供了一种管理屏幕使用的方法,应用于终端,该方法包括:An embodiment of the present invention provides a method for managing a screen, which is applied to a terminal, and the method includes:
在当前应用使用屏幕时,检测应用锁屏功能是否开启;When the current application uses the screen, it is detected whether the application lock screen function is enabled;
在检测到所述应用锁屏功能开启后,禁止其他应用使用所述屏幕。After detecting that the application lock screen function is turned on, other applications are prohibited from using the screen.
可选地,所述检测应用锁屏功能是否开启后还包括:Optionally, after the detecting the application lock screen function is enabled, the method further includes:
在检测到所述应用锁屏功能关闭后,允许其他应用使用所述屏幕。 After detecting that the application lock screen function is turned off, other applications are allowed to use the screen.
可选地,在检测到所述应用锁屏功能开启后,所述方法还包括:Optionally, after detecting that the application lock screen function is enabled, the method further includes:
屏蔽所述其他应用的干扰消息。Block interference messages from the other applications.
可选地,所述方法还包括:Optionally, the method further includes:
在检测到所述应用锁屏功能关闭后,解除对所述其他应用的干扰消息的屏蔽。After detecting that the application lock screen function is turned off, the shielding of the interference message of the other application is released.
可选地,所述检测应用锁屏功能是否开启,包括:Optionally, whether the detecting application lock screen function is enabled, including:
如检测到以下事件a)-c)中的至少一种发生,则判定所述应用锁屏功能开启;If it is detected that at least one of the following events a)-c) occurs, it is determined that the application lock screen function is turned on;
a)检测到终端机身上的应用锁屏功能按键由关闭状态变为开启状态;a) detecting that the application lock screen function button on the terminal body is changed from the off state to the on state;
b)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为开启;b) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to on;
c)检测到用户的语音指令,所述语音指令用于开启所述应用锁屏功能;c) detecting a voice command of the user, the voice command being used to enable the application lock screen function;
如检测到以下事件d)-f)中的至少一种发生,则判定所述应用锁屏功能关闭;If it is detected that at least one of the following events d)-f) occurs, determining that the application lock screen function is turned off;
d)检测到终端机身上的应用锁屏功能按键由开启状态变为关闭状态;d) detecting that the application lock screen function button on the terminal body is changed from the on state to the off state;
e)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为关闭;e) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to off;
f)检测到用户的语音指令,所述语音指令用于关闭所述应用锁屏功能。f) detecting a user's voice command, the voice command being used to disable the application lock screen function.
可选地,所述禁止其他应用使用所述屏幕,包括:Optionally, the prohibiting other applications from using the screen includes:
在检测到所述其他应用的与屏幕显示有关的消息时,对所述消息进行缓存;The message is cached when a message related to the screen display of the other application is detected;
所述允许其他应用使用所述屏幕,包括:The other applications are allowed to use the screen, including:
如缓存中存在所述其他应用的未处理的与屏幕显示有关的消息,则将所述消息分别发送给对应的应用以进行处理。If there is an unprocessed message related to the screen display of the other application in the cache, the message is separately sent to the corresponding application for processing.
可选地,所述屏蔽其他应用的干扰消息,包括:Optionally, the blocking interference message of other applications includes:
在检测到所述其他应用的以下干扰消息的至少一种时,对所述干扰消息 进行缓存:声音提示消息、震动提示消息、屏幕输入消息;And detecting the interference message when at least one of the following interference messages of the other application is detected Cache: voice prompt message, vibration prompt message, screen input message;
所述解除对所述其他应用的干扰消息的屏蔽,包括:Dissolving the interference message of the other application, including:
如缓存中存在所述其他应用的未处理的干扰消息,则将所述干扰消息分别发送给对应的应用以进行处理。If there is an unprocessed interference message of the other application in the cache, the interference message is separately sent to the corresponding application for processing.
本发明实施例提供了一种管理屏幕使用的装置,应用于终端,包括:An embodiment of the present invention provides a device for managing a screen, which is applied to a terminal, and includes:
检测模块,设置成在当前应用使用屏幕时,检测应用锁屏功能是否开启;The detecting module is configured to detect whether the application lock screen function is enabled when the current application uses the screen;
锁屏模块,设置成在所述检测模块检测到所述应用锁屏功能开启后,禁止其他应用使用所述屏幕。The lock screen module is configured to prohibit other applications from using the screen after the detecting module detects that the application lock screen function is turned on.
可选地,所述装置还包括:Optionally, the device further includes:
解锁模块,设置成在所述检测模块检测到所述应用锁屏功能关闭后,允许其他应用使用所述屏幕。The unlocking module is configured to allow other applications to use the screen after the detecting module detects that the application locking screen function is turned off.
可选地,所述锁屏模块,还设置成在所述检测模块检测到所述应用锁屏功能开启后,屏蔽所述其他应用的干扰消息。Optionally, the lock screen module is further configured to block the interference message of the other application after the detecting module detects that the application lock screen function is enabled.
可选地,所述解锁模块,还设置成在所述检测模块检测到所述应用锁屏功能关闭后,解除对所述其他应用的干扰消息的屏蔽。Optionally, the unlocking module is further configured to: after the detecting module detects that the application lock screen function is turned off, unblock the interference message of the other application.
可选地,所述检测模块检测应用锁屏功能是否开启,包括:Optionally, the detecting module detects whether the application lock screen function is enabled, including:
如检测到以下事件a)-c)中的至少一种发生,则判定所述应用锁屏功能开启;If it is detected that at least one of the following events a)-c) occurs, it is determined that the application lock screen function is turned on;
a)检测到终端机身上的应用锁屏功能按键由关闭状态变为开启状态;a) detecting that the application lock screen function button on the terminal body is changed from the off state to the on state;
b)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为开启;b) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to on;
c)检测到用户的语音指令,所述语音指令用于开启所述应用锁屏功能;c) detecting a voice command of the user, the voice command being used to enable the application lock screen function;
如检测到以下事件d)-f)中的至少一种发生,则判定所述应用锁屏功能关闭;If it is detected that at least one of the following events d)-f) occurs, determining that the application lock screen function is turned off;
d)检测到终端机身上的应用锁屏功能按键由开启状态变为关闭状态; d) detecting that the application lock screen function button on the terminal body is changed from the on state to the off state;
e)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为关闭;e) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to off;
f)检测到用户的语音指令,所述语音指令用于关闭所述应用锁屏功能。f) detecting a user's voice command, the voice command being used to disable the application lock screen function.
可选地,所述锁屏模块禁止其他应用使用所述屏幕,包括:Optionally, the lock screen module prohibits other applications from using the screen, including:
在检测到所述其他应用的与屏幕显示有关的消息时,对所述消息进行缓存;The message is cached when a message related to the screen display of the other application is detected;
所述解锁模块允许其他应用使用所述屏幕,包括:The unlocking module allows other applications to use the screen, including:
如缓存中存在所述其他应用的未处理的与屏幕显示有关的消息,则将所述消息分别发送给对应的应用以进行处理。If there is an unprocessed message related to the screen display of the other application in the cache, the message is separately sent to the corresponding application for processing.
可选地,所述锁屏模块屏蔽其他应用的干扰消息,包括:Optionally, the lock screen module blocks interference messages of other applications, including:
在检测到所述其他应用的以下干扰消息的至少一种时,对所述干扰消息进行缓存:声音提示消息、震动提示消息、屏幕输入消息;When detecting at least one of the following interference messages of the other application, buffering the interference message: an audible prompt message, a vibration prompt message, a screen input message;
所述解锁模块解除对所述其他应用的干扰消息的屏蔽,包括:The unlocking module releases the shielding of the interference message of the other application, including:
如缓存中存在所述其他应用的未处理的干扰消息,则将所述干扰消息分别发送给对应的应用以进行处理。If there is an unprocessed interference message of the other application in the cache, the interference message is separately sent to the corresponding application for processing.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。A computer readable storage medium storing computer executable instructions for performing the above method.
本发明实施例提供的一种管理屏幕使用的方法和装置,在当前应用使用屏幕时检测到应用锁屏功能开启,则禁止其他应用使用所述屏幕,在检测到应用锁屏功能关闭后,允许其他应用使用所述屏幕。与相关技术相比,本发明实施例能够针对当前应用进行屏幕锁定、屏幕解锁。The method and device for managing the use of the screen provided by the embodiment of the present invention, when the application lock screen function is detected when the current application uses the screen, the other application is prohibited from using the screen, and after detecting that the application lock screen function is turned off, allowing Other applications use the screen. Compared with the related art, the embodiment of the present invention can perform screen locking and screen unlocking for the current application.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例的一种管理屏幕使用的方法的示意图。FIG. 1 is a schematic diagram of a method for managing a screen usage according to an embodiment of the present invention.
图2为本发明实施例的一种管理屏幕使用的装置的示意图。 2 is a schematic diagram of an apparatus for managing a screen according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图1所示,本发明实施例提供了一种管理屏幕使用的方法,应用于终端,该方法包括步骤S101~S102:As shown in FIG. 1 , an embodiment of the present invention provides a method for managing a screen, which is applied to a terminal, and the method includes steps S101 to S102:
S101,在当前应用使用屏幕时,检测应用锁屏功能是否开启。S101. When the current application uses the screen, detect whether the application lock screen function is enabled.
可选地,所述检测应用锁屏功能是否开启,包括:Optionally, whether the detecting application lock screen function is enabled, including:
如检测到以下事件a)-c)中的至少一种发生,则判定所述应用锁屏功能开启;If it is detected that at least one of the following events a)-c) occurs, it is determined that the application lock screen function is turned on;
a)检测到终端机身上的应用锁屏功能按键由关闭状态变为开启状态;a) detecting that the application lock screen function button on the terminal body is changed from the off state to the on state;
b)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为开启;b) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to on;
c)检测到用户的语音指令,所述语音指令用于开启所述应用锁屏功能;c) detecting a voice command of the user, the voice command being used to enable the application lock screen function;
如检测到以下事件d)-f)中的至少一种发生,则判定所述应用锁屏功能关闭;If it is detected that at least one of the following events d)-f) occurs, determining that the application lock screen function is turned off;
d)检测到终端机身上的应用锁屏功能按键由开启状态变为关闭状态;d) detecting that the application lock screen function button on the terminal body is changed from the on state to the off state;
e)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为关闭;e) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to off;
f)检测到用户的语音指令,所述语音指令用于关闭所述应用锁屏功能。f) detecting a user's voice command, the voice command being used to disable the application lock screen function.
可选地,所述当前应用使用屏幕是指:所述屏幕上正在显示的是所述当前应用的界面。Optionally, the current application usage screen refers to: the interface of the current application being displayed on the screen.
S102,在检测到所述应用锁屏功能开启后,禁止其他应用使用所述屏幕。S102. After detecting that the application lock screen function is enabled, prohibiting other applications from using the screen.
可选地,所述检测应用锁屏功能是否开启后还包括:在检测到所述应用锁屏功能关闭后,允许其他应用使用所述屏幕。Optionally, after the detecting the application lock screen function is turned on, the method further includes: after detecting that the application lock screen function is turned off, allowing other applications to use the screen.
可选地,所述方法还包括:Optionally, the method further includes:
在检测到所述应用锁屏功能开启后,屏蔽所述其他应用的干扰消息。 After detecting that the application lock screen function is turned on, blocking the interference message of the other application.
可选地,所述方法还包括:在检测到所述应用锁屏功能关闭后,解除对所述其他应用的干扰消息的屏蔽。Optionally, the method further includes: after detecting that the application lock screen function is turned off, unblocking the interference message of the other application.
可选地,所述禁止其他应用使用所述屏幕,包括:Optionally, the prohibiting other applications from using the screen includes:
在检测到所述其他应用的与屏幕显示有关的消息时,对所述消息进行缓存。The message is cached when a message related to the screen display of the other application is detected.
可选地,所述允许其他应用使用所述屏幕,包括:Optionally, the allowing other applications to use the screen includes:
如缓存中存在所述其他应用的未处理的与屏幕显示有关的消息,则将所述消息分别发送给对应的应用以进行处理。If there is an unprocessed message related to the screen display of the other application in the cache, the message is separately sent to the corresponding application for processing.
可选地,所述屏蔽其他应用的干扰消息,包括:Optionally, the blocking interference message of other applications includes:
在检测到所述其他应用的以下干扰消息的至少一种时,对所述干扰消息进行缓存:声音提示消息、震动提示消息、屏幕输入消息;When detecting at least one of the following interference messages of the other application, buffering the interference message: an audible prompt message, a vibration prompt message, a screen input message;
可选地,所述解除对所述其他应用的干扰消息的屏蔽,包括:Optionally, the dissolving the interference message of the other application includes:
如缓存中存在所述其他应用的未处理的干扰消息,则将所述干扰消息分别发送给对应的应用以进行处理。If there is an unprocessed interference message of the other application in the cache, the interference message is separately sent to the corresponding application for processing.
可选地,所述终端包括:移动终端;比如,手机。Optionally, the terminal comprises: a mobile terminal; for example, a mobile phone.
可选地,上述步骤S101~S102由终端执行。Optionally, the foregoing steps S101 to S102 are performed by the terminal.
如图2所示,本发明实施例提供了一种管理屏幕使用的装置,应用于终端,包括:As shown in FIG. 2, an embodiment of the present invention provides a device for managing a screen, which is applied to a terminal, and includes:
检测模块201,设置成在当前应用使用屏幕时,检测应用锁屏功能是否开启;The detecting module 201 is configured to detect whether the application lock screen function is enabled when the current application uses the screen;
锁屏模块202,设置成在所述检测模块201检测到所述应用锁屏功能开启后,禁止其他应用使用所述屏幕。The lock screen module 202 is configured to prohibit other applications from using the screen after the detecting module 201 detects that the application lock screen function is turned on.
可选地,所述装置还包括:Optionally, the device further includes:
解锁模块,设置成在所述检测模块201检测到所述应用锁屏功能关闭后,允许其他应用使用所述屏幕。The unlocking module is configured to allow other applications to use the screen after the detecting module 201 detects that the application locking screen function is turned off.
可选地,所述锁屏模块,还设置成在所述检测模块201检测到所述应用 锁屏功能开启后,屏蔽所述其他应用的干扰消息。Optionally, the lock screen module is further configured to detect the application at the detecting module 201 After the lock screen function is turned on, the interference message of the other application is blocked.
可选地,所述解锁模块,还设置成在所述检测模块201检测到所述应用锁屏功能关闭后,解除对所述其他应用的干扰消息的屏蔽。Optionally, the unlocking module is further configured to remove the shielding of the interference message of the other application after the detecting module 201 detects that the application locking screen function is turned off.
可选地,所述检测模块检测应用锁屏功能是否开启,包括:Optionally, the detecting module detects whether the application lock screen function is enabled, including:
如检测到以下事件a)-c)中的至少一种发生,则判定所述应用锁屏功能开启;If it is detected that at least one of the following events a)-c) occurs, it is determined that the application lock screen function is turned on;
a)检测到终端机身上的应用锁屏功能按键由关闭状态变为开启状态;a) detecting that the application lock screen function button on the terminal body is changed from the off state to the on state;
b)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为开启;b) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to on;
c)检测到用户的语音指令,所述语音指令用于开启所述应用锁屏功能;c) detecting a voice command of the user, the voice command being used to enable the application lock screen function;
如检测到以下事件d)-f)中的至少一种发生,则判定所述应用锁屏功能关闭;If it is detected that at least one of the following events d)-f) occurs, determining that the application lock screen function is turned off;
d)检测到终端机身上的应用锁屏功能按键由开启状态变为关闭状态;d) detecting that the application lock screen function button on the terminal body is changed from the on state to the off state;
e)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为关闭;e) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to off;
f)检测到用户的语音指令,所述语音指令用于关闭所述应用锁屏功能。f) detecting a user's voice command, the voice command being used to disable the application lock screen function.
可选地,所述锁屏模块禁止其他应用使用所述屏幕,包括:Optionally, the lock screen module prohibits other applications from using the screen, including:
在检测到所述其他应用的与屏幕显示有关的消息时,对所述消息进行缓存;The message is cached when a message related to the screen display of the other application is detected;
所述解锁模块允许其他应用使用所述屏幕,包括:The unlocking module allows other applications to use the screen, including:
如缓存中存在所述其他应用的未处理的与屏幕显示有关的消息,则将所述消息分别发送给对应的应用以进行处理。If there is an unprocessed message related to the screen display of the other application in the cache, the message is separately sent to the corresponding application for processing.
可选地,所述锁屏模块屏蔽其他应用的干扰消息,包括:Optionally, the lock screen module blocks interference messages of other applications, including:
在检测到所述其他应用的以下干扰消息的至少一种时,对所述干扰消息进行缓存:声音提示消息、震动提示消息、屏幕输入消息;When detecting at least one of the following interference messages of the other application, buffering the interference message: an audible prompt message, a vibration prompt message, a screen input message;
所述解锁模块解除对所述其他应用的干扰消息的屏蔽,包括: The unlocking module releases the shielding of the interference message of the other application, including:
如缓存中存在所述其他应用的未处理的干扰消息,则将所述干扰消息分别发送给对应的应用以进行处理。If there is an unprocessed interference message of the other application in the cache, the interference message is separately sent to the corresponding application for processing.
可选地,所述终端包括:移动终端;比如,手机。Optionally, the terminal comprises: a mobile terminal; for example, a mobile phone.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述实施例一的方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the method of the first embodiment.
应用示例Application example
相关技术中,用户正在通过某应用软件查看照片的幻灯片,但是手不小心移动了一下手机,手机横竖屏自动切换了,影响了使用。不小心点到返回键了,幻灯片退出了。手机突然来电了,幻灯片界面被来电的界面遮挡。In the related art, the user is viewing the slide of the photo through an application software, but the hand accidentally moves the mobile phone, and the horizontal and vertical screens of the mobile phone are automatically switched, which affects the use. I accidentally clicked the back button and the slide exited. The phone suddenly called, and the slideshow interface was blocked by the incoming call interface.
如果用户此时只想看幻灯片,想把这个应用保护起来不受打扰,则需要使用本发明实施例的技术方案,过程如下:If the user wants to view the slide at this time and wants to protect the application from being disturbed, the technical solution of the embodiment of the present invention is required, and the process is as follows:
用户正在使用幻灯片播放应用,用户按了一下手机上的应用锁屏功能键以开启应用锁屏功能,然后手动选择了上一次的播放记录,现在,没有其他应用能够打断这个幻灯片应用播放过程了,幻灯片可以顺利地播放完毕。用户又按了一下应用锁屏功能键以关闭所述应用锁屏功能。此时系统提示用户有一个未接来电,然后用户回拨了过去。The user is using the slideshow application, the user clicks the application lock screen function button on the phone to open the application lock screen function, and then manually selects the last play record. Now, no other application can interrupt the slideshow application play. The process is complete and the slideshow can be played smoothly. The user presses the application lock screen function button again to turn off the application lock screen function. At this point, the system prompts the user to have a missed call, and then the user dials back.
上述实施例提供的一种管理屏幕使用的方法和装置,在当前应用使用屏幕时检测到应用锁屏功能开启,则禁止其他应用使用所述屏幕,在检测到应用锁屏功能关闭后,允许其他应用使用所述屏幕。本发明实施例能够针对当前应用进行屏幕锁定、屏幕解锁。The method and device for managing the use of the screen provided by the foregoing embodiment, when the application lock screen function is detected when the current application uses the screen, prohibiting other applications from using the screen, and allowing other applications to be closed after the application lock screen function is detected, allowing other The application uses the screen. The embodiment of the invention can perform screen locking and screen unlocking for the current application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明实施例不限制 于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, the modules/units in the foregoing embodiments may be implemented in the form of hardware or in the form of software functional modules. achieve. Embodiments of the present invention are not limited A combination of any particular form of hardware and software.
工业实用性Industrial applicability
本发明实施例提供的一种管理屏幕使用的方法和装置,在当前应用使用屏幕时检测到应用锁屏功能开启,则禁止其他应用使用所述屏幕,在检测到应用锁屏功能关闭后,允许其他应用使用所述屏幕。与相关技术相比,本发明实施例能够针对当前应用进行屏幕锁定、屏幕解锁。 The method and device for managing the use of the screen provided by the embodiment of the present invention, when the application lock screen function is detected when the current application uses the screen, the other application is prohibited from using the screen, and after detecting that the application lock screen function is turned off, allowing Other applications use the screen. Compared with the related art, the embodiment of the present invention can perform screen locking and screen unlocking for the current application.

Claims (14)

  1. 一种管理屏幕使用的方法,应用于终端,该方法包括:A method for managing screen usage, applied to a terminal, the method comprising:
    在当前应用使用屏幕时,检测应用锁屏功能是否开启;When the current application uses the screen, it is detected whether the application lock screen function is enabled;
    在检测到所述应用锁屏功能开启后,禁止其他应用使用所述屏幕。After detecting that the application lock screen function is turned on, other applications are prohibited from using the screen.
  2. 如权利要求1所述的方法,其中,所述检测应用锁屏功能是否开启后还包括:The method of claim 1, wherein the detecting whether the application lock screen function is turned on further comprises:
    在检测到所述应用锁屏功能关闭后,允许其他应用使用所述屏幕。After detecting that the application lock screen function is turned off, other applications are allowed to use the screen.
  3. 如权利要求1所述的方法,其中,在检测到所述应用锁屏功能开启后还包括:The method of claim 1, further comprising: after detecting that the application lock screen function is turned on:
    屏蔽所述其他应用的干扰消息。Block interference messages from the other applications.
  4. 如权利要求3所述的方法,还包括:The method of claim 3 further comprising:
    在检测到所述应用锁屏功能关闭后,解除对所述其他应用的干扰消息的屏蔽。After detecting that the application lock screen function is turned off, the shielding of the interference message of the other application is released.
  5. 如权利要求1-4中任一项所述的方法,其中,所述检测应用锁屏功能是否开启,包括:The method according to any one of claims 1 to 4, wherein the detecting whether the application lock screen function is enabled comprises:
    如检测到以下事件a)-c)中的至少一种发生,则判定所述应用锁屏功能开启:If at least one of the following events a)-c) is detected, it is determined that the application lock screen function is enabled:
    a)检测到终端机身上的应用锁屏功能按键由关闭状态变为开启状态;a) detecting that the application lock screen function button on the terminal body is changed from the off state to the on state;
    b)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为开启;b) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to on;
    c)检测到用户的语音指令,所述语音指令用于开启所述应用锁屏功能;c) detecting a voice command of the user, the voice command being used to enable the application lock screen function;
    如检测到以下事件d)-f)中的至少一种发生,则判定所述应用锁屏功能关闭:If it is detected that at least one of the following events d)-f) occurs, it is determined that the application lock screen function is turned off:
    d)检测到终端机身上的应用锁屏功能按键由开启状态变为关闭状态;d) detecting that the application lock screen function button on the terminal body is changed from the on state to the off state;
    e)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状 态设置为关闭;e) detecting that the user touched or clicked on the application lock screen function icon displayed on the touch screen and State is set to off;
    f)检测到用户的语音指令,所述语音指令用于关闭所述应用锁屏功能。f) detecting a user's voice command, the voice command being used to disable the application lock screen function.
  6. 如权利要求2所述的方法,其中,所述禁止其他应用使用所述屏幕,包括:The method of claim 2 wherein said disabling other applications from using said screen comprises:
    在检测到所述其他应用的与屏幕显示有关的消息时,对所述消息进行缓存;The message is cached when a message related to the screen display of the other application is detected;
    所述允许其他应用使用所述屏幕,包括:The other applications are allowed to use the screen, including:
    如缓存中存在所述其他应用的未处理的与屏幕显示有关的消息,则将所述消息分别发送给对应的应用以进行处理。If there is an unprocessed message related to the screen display of the other application in the cache, the message is separately sent to the corresponding application for processing.
  7. 如权利要求4所述的方法,其中,所述屏蔽其他应用的干扰消息,包括:The method of claim 4 wherein said masking interference messages of other applications comprises:
    在检测到所述其他应用的以下干扰消息的至少一种时,对所述干扰消息进行缓存:声音提示消息、震动提示消息、屏幕输入消息;When detecting at least one of the following interference messages of the other application, buffering the interference message: an audible prompt message, a vibration prompt message, a screen input message;
    所述解除对所述其他应用的干扰消息的屏蔽,包括:Dissolving the interference message of the other application, including:
    如缓存中存在所述其他应用的未处理的干扰消息,则将所述干扰消息分别发送给对应的应用以进行处理。If there is an unprocessed interference message of the other application in the cache, the interference message is separately sent to the corresponding application for processing.
  8. 一种管理屏幕使用的装置,应用于终端,包括:A device for managing a screen, applied to a terminal, comprising:
    检测模块,设置成在当前应用使用屏幕时,检测应用锁屏功能是否开启;The detecting module is configured to detect whether the application lock screen function is enabled when the current application uses the screen;
    锁屏模块,设置成在所述检测模块检测到所述应用锁屏功能开启后,禁止其他应用使用所述屏幕。The lock screen module is configured to prohibit other applications from using the screen after the detecting module detects that the application lock screen function is turned on.
  9. 如权利要求8所述的装置,还包括:The apparatus of claim 8 further comprising:
    解锁模块,设置成在所述检测模块检测到所述应用锁屏功能关闭后,允许其他应用使用所述屏幕。The unlocking module is configured to allow other applications to use the screen after the detecting module detects that the application locking screen function is turned off.
  10. 如权利要求8所述的装置,其中:The apparatus of claim 8 wherein:
    所述锁屏模块,还设置成在所述检测模块检测到所述应用锁屏功能开启 后,屏蔽所述其他应用的干扰消息。The lock screen module is further configured to detect, when the detecting module detects that the application lock screen function is enabled After that, the interference message of the other application is blocked.
  11. 如权利要求10所述的装置,其中:The apparatus of claim 10 wherein:
    所述解锁模块,还设置成在所述检测模块检测到所述应用锁屏功能关闭后,解除对所述其他应用的干扰消息的屏蔽。The unlocking module is further configured to remove the shielding of the interference message of the other application after the detecting module detects that the application locking screen function is turned off.
  12. 如权利要求8-11中任一项所述的装置,其中,所述检测模块检测应用锁屏功能是否开启,包括:The device according to any one of claims 8-11, wherein the detecting module detects whether the application lock screen function is enabled, including:
    如检测到以下事件a)-c)中的至少一种发生,则判定所述应用锁屏功能开启;If it is detected that at least one of the following events a)-c) occurs, it is determined that the application lock screen function is turned on;
    a)检测到终端机身上的应用锁屏功能按键由关闭状态变为开启状态;a) detecting that the application lock screen function button on the terminal body is changed from the off state to the on state;
    b)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为开启;b) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to on;
    c)检测到用户的语音指令,所述语音指令用于开启所述应用锁屏功能;c) detecting a voice command of the user, the voice command being used to enable the application lock screen function;
    如检测到以下事件d)-f)中的至少一种发生,则判定所述应用锁屏功能关闭;If it is detected that at least one of the following events d)-f) occurs, determining that the application lock screen function is turned off;
    d)检测到终端机身上的应用锁屏功能按键由开启状态变为关闭状态;d) detecting that the application lock screen function button on the terminal body is changed from the on state to the off state;
    e)检测到用户触摸或点击了触摸屏上显示的应用锁屏功能图标并将其状态设置为关闭;e) detecting that the user touched or clicked the application lock screen function icon displayed on the touch screen and set its state to off;
    f)检测到用户的语音指令,所述语音指令用于关闭所述应用锁屏功能。f) detecting a user's voice command, the voice command being used to disable the application lock screen function.
  13. 如权利要求9所述的装置,其中,所述锁屏模块禁止其他应用使用所述屏幕,包括:The device of claim 9, wherein the lock screen module prohibits other applications from using the screen, including:
    在检测到所述其他应用的与屏幕显示有关的消息时,对所述消息进行缓存;The message is cached when a message related to the screen display of the other application is detected;
    所述解锁模块允许其他应用使用所述屏幕,包括:The unlocking module allows other applications to use the screen, including:
    如缓存中存在所述其他应用的未处理的与屏幕显示有关的消息,则将所述消息分别发送给对应的应用以进行处理。 If there is an unprocessed message related to the screen display of the other application in the cache, the message is separately sent to the corresponding application for processing.
  14. 如权利要求11所述的装置,其中,所述锁屏模块屏蔽其他应用的干扰消息,包括:The device of claim 11, wherein the lock screen module blocks interference messages of other applications, including:
    在检测到所述其他应用的以下干扰消息的至少一种时,对所述干扰消息进行缓存:声音提示消息、震动提示消息、屏幕输入消息;When detecting at least one of the following interference messages of the other application, buffering the interference message: an audible prompt message, a vibration prompt message, a screen input message;
    所述解锁模块解除对所述其他应用的干扰消息的屏蔽,包括:The unlocking module releases the shielding of the interference message of the other application, including:
    如缓存中存在所述其他应用的未处理的干扰消息,则将所述干扰消息分别发送给对应的应用以进行处理。 If there is an unprocessed interference message of the other application in the cache, the interference message is separately sent to the corresponding application for processing.
PCT/CN2016/085588 2015-08-21 2016-06-13 Screen management method and device WO2017032140A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510521139.5 2015-08-21
CN201510521139.5A CN106468991A (en) 2015-08-21 2015-08-21 The method and apparatus that a kind of management screen uses

Publications (1)

Publication Number Publication Date
WO2017032140A1 true WO2017032140A1 (en) 2017-03-02

Family

ID=58099561

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085588 WO2017032140A1 (en) 2015-08-21 2016-06-13 Screen management method and device

Country Status (2)

Country Link
CN (1) CN106468991A (en)
WO (1) WO2017032140A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110389789A (en) * 2019-07-17 2019-10-29 Oppo广东移动通信有限公司 A kind of application control method, equipment and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725818B (en) * 2018-12-25 2020-11-17 南京尚网网络科技有限公司 Information display method and device and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070016867A1 (en) * 2005-07-14 2007-01-18 Red Hat, Inc. Presentation mode/full-screen mode interrupting action prevention
US20110167383A1 (en) * 2010-01-05 2011-07-07 Hewlett-Packard Development Company, L.P. Notification In Immersive Applications
CN102902515A (en) * 2011-07-25 2013-01-30 腾讯科技(深圳)有限公司 Software window processing method and device
CN104007895A (en) * 2014-05-15 2014-08-27 广州金山网络科技有限公司 Method and device for determining whether terminal is in full-screen mode or not

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004606A (en) * 2010-10-29 2011-04-06 北京播思软件技术有限公司 Screen locking method and device for handheld terminal
CN104066067B (en) * 2013-03-21 2018-12-11 腾讯科技(深圳)有限公司 A kind of disturbance-free method and device
CN104793956A (en) * 2015-04-30 2015-07-22 网易传媒科技(北京)有限公司 Screen locking switching method and device of client APP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070016867A1 (en) * 2005-07-14 2007-01-18 Red Hat, Inc. Presentation mode/full-screen mode interrupting action prevention
US20110167383A1 (en) * 2010-01-05 2011-07-07 Hewlett-Packard Development Company, L.P. Notification In Immersive Applications
CN102902515A (en) * 2011-07-25 2013-01-30 腾讯科技(深圳)有限公司 Software window processing method and device
CN104007895A (en) * 2014-05-15 2014-08-27 广州金山网络科技有限公司 Method and device for determining whether terminal is in full-screen mode or not

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110389789A (en) * 2019-07-17 2019-10-29 Oppo广东移动通信有限公司 A kind of application control method, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106468991A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
RU2625425C1 (en) Method and device for authority management
US10706173B2 (en) Method and device for displaying notification information
CN107436784B (en) Floating window display method and device
EP3413549B1 (en) Method and device for displaying notification information
EP3242195B1 (en) Control implementation method and apparatus for intelligent hardware device
KR101945681B1 (en) Application display on a locked device
EP3151117B1 (en) Method and device for delaying information broadcasting
US9760201B2 (en) Operation control method for touchscreen terminal, and mobile terminal
JP5218391B2 (en) Information processing apparatus having lock function, information processing apparatus locking (unlocking) method, and program thereof
US8909297B2 (en) Access management
US20150156313A1 (en) Screen unlocking method and device for mobile terminal
US10687211B2 (en) Mobile device, method for displaying screen thereof, wearable device, method for driving the same, and computer-readable recording medium
EP2821881B1 (en) Device capable of startup ui presentation, method of said presentation and non-temporary computer-readable medium storing presentation program
CN104539838A (en) Method and device for rapidly opening mobile phone camera for performing video recording
US10114735B2 (en) Method, device and medium for managing application program
US11199928B2 (en) Method and apparatus for preventing false touch on edge, and storage medium
WO2016065820A1 (en) Memory optimization method and device
WO2017032140A1 (en) Screen management method and device
CN112784262A (en) Data access method, device, terminal and storage medium
CN106570381B (en) Fingerprint unlocking method and device
WO2018049611A1 (en) Permission control method and device
WO2017201692A1 (en) Application encryption method and device
US9710665B2 (en) Selectively allowing reference to object on unlock display screen
CN112685733A (en) Security detection method, security detection device, and storage medium
JP2007235844A (en) Mobile phone and security setting method

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: 16838400

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: 16838400

Country of ref document: EP

Kind code of ref document: A1