CN106295279A - The method and device of terminal control - Google Patents
The method and device of terminal control Download PDFInfo
- Publication number
- CN106295279A CN106295279A CN201610657863.5A CN201610657863A CN106295279A CN 106295279 A CN106295279 A CN 106295279A CN 201610657863 A CN201610657863 A CN 201610657863A CN 106295279 A CN106295279 A CN 106295279A
- Authority
- CN
- China
- Prior art keywords
- password
- terminal
- user
- screen
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本公开关于一种终端控制的方法及装置,属于计算机技术领域。该方法包括:检测用户输入的密码信息;确定所述密码信息是否为预先设置的第一密码;如果所述密码信息是第一密码,则控制终端在第一预定时长内不执行锁屏操作。通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。
The disclosure relates to a terminal control method and device, and belongs to the technical field of computers. The method includes: detecting password information input by a user; determining whether the password information is a preset first password; if the password information is the first password, controlling the terminal not to perform a screen-locking operation within a first predetermined time period. Through the preset first password, the terminal can be controlled not to perform lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view some content in the terminal within the first predetermined period of time, and avoids The lock screen occurs due to no operation by the user within a predetermined period of time, and the terminal needs to be unlocked repeatedly to view information.
Description
技术领域technical field
本公开涉及计算机技术领域,特别涉及一种终端控制的方法及装置。The present disclosure relates to the field of computer technology, and in particular to a terminal control method and device.
背景技术Background technique
随着终端技术的快速发展,终端中应用程序的种类越来越繁多,功能也越来越丰富。用户的终端中安装应用程序的数量在不断的增长,用户每天都会使用手机进行信息的搜索与浏览,甚至于使用手机进行信息的编辑及存储,如便签、图库等。为了保证手机上内容的安全,现在的方式是对手机进行加密。With the rapid development of terminal technology, there are more and more types of application programs in the terminal, and the functions are also more and more abundant. The number of applications installed in users' terminals is constantly increasing. Users use mobile phones to search and browse information every day, and even use mobile phones to edit and store information, such as memos and photo galleries. In order to ensure the security of the content on the mobile phone, the current method is to encrypt the mobile phone.
现有的手机加密方式大多是:当手机中无用户操作一段时间后就执行加密并锁屏的操作。这样导致的一个问题就是:用户只是在浏览一个内容,虽然在这段时间内没有执行任何操作,但用户确实是在使用手机的,但是按照现在的手机保护模式,依然在这种情况下对手机进行加密锁屏,用户就不得不输入密码进行解锁,造成了不必要的操作。Most of the existing mobile phone encryption methods are: when there is no user operation in the mobile phone for a period of time, the operation of encrypting and locking the screen is performed. A problem caused by this is: the user is just browsing a content, although no operation is performed during this period of time, but the user is indeed using the mobile phone, but according to the current mobile phone protection mode, the mobile phone is still protected in this case. To encrypt and lock the screen, the user has to enter a password to unlock it, resulting in unnecessary operations.
发明内容Contents of the invention
本公开实施例提供了一种终端控制方法及装置。所述技术方案如下:Embodiments of the present disclosure provide a terminal control method and device. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供了一种终端控制方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, a terminal control method is provided, the method includes:
检测用户输入的密码信息;Detect the password information entered by the user;
确定所述密码信息是否为预先设置的第一密码;Determine whether the password information is a preset first password;
如果所述密码信息是所述第一密码,则控制终端在第一预定时长内不执行锁屏操作。If the password information is the first password, the control terminal does not perform a screen-locking operation within a first predetermined time period.
可选的,所述控制终端在第一预定时长内不执行锁屏操作包括:Optionally, the controlling terminal not performing the screen locking operation within the first predetermined time period includes:
控制终端在无用户操作的第一预定时长内不执行锁屏操作。The control terminal does not perform a screen-locking operation within a first predetermined period of time when there is no user operation.
本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。The embodiment of the present disclosure uses the pre-set first password to control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view some content in the terminal within the first predetermined period of time, and avoids The screen may be locked due to no operation by the user within the first predetermined period of time, and the terminal needs to be unlocked repeatedly to view information.
可选的,所述方法还包括:Optionally, the method also includes:
确定终端中是否设置有第二密码,其中,所述第二密码用于在检测到终端在第二预定时长内无用户操作时对所述终端进行锁屏并加密,或接收到用户发出的锁屏操作指令时对终端进行加密。Determine whether a second password is set in the terminal, wherein the second password is used to lock and encrypt the terminal screen when it is detected that there is no user operation on the terminal within a second predetermined period of time, or receive a lock issued by the user Encrypt the terminal when operating the command on the screen.
可选的,如果终端中设置有所述第二密码,所述控制终端在第一预定时长内不执行锁屏操作,包括:Optionally, if the second password is set in the terminal, the control terminal does not perform a screen lock operation within the first predetermined time period, including:
控制终端在无用户操作的第一预定时长内不对终端进行锁屏并加密的操作。The control terminal does not lock the screen and encrypt the terminal within the first predetermined period of time without user operation.
可选的,如果终端中设置有所述第二密码,所述方法还包括:Optionally, if the second password is set in the terminal, the method further includes:
如果所述密码信息不是所述第一密码,则确定所述密码信息是否为所述第二密码;If the password information is not the first password, determining whether the password information is the second password;
如果所述密码信息是所述第二密码,用所述第二密码对所述终端进行解密。If the password information is the second password, decrypt the terminal by using the second password.
可选的,如果终端中设置有所述第二密码,所述方法还包括:Optionally, if the second password is set in the terminal, the method further includes:
控制终端在无用户操作的第一预定时长后,执行锁屏操作并采用所述第二密码对所述终端进行加密。The control terminal performs a screen lock operation and uses the second password to encrypt the terminal after a first predetermined period of time without user operations.
可选的,所述检测用户输入的密码信息包括:Optionally, the detecting the password information input by the user includes:
在锁屏状态,检测用户输入的密码信息。In the lock screen state, detect the password information entered by the user.
可选的,所述第一预定时长大于所述第二预定时长。Optionally, the first predetermined duration is longer than the second predetermined duration.
本公开实施例可以通过第一密码的设置,来控制终端在无用户操作的第一预定时长内不执行锁屏及被第二密码加密的操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现加密锁屏,需反复输入密码来解密终端才能查看信息的情况出现。In the embodiments of the present disclosure, the first password can be set to control the terminal not to perform operations such as locking the screen and being encrypted by the second password within the first predetermined period of time without user operations, so that the user can view the terminal in the first predetermined period of time. Some content, and avoid the situation that the encrypted lock screen may appear due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to repeatedly input the password to decrypt the terminal can view the information.
根据本公开实施例的第二方面,提供了一种终端控制装置,所述装置包括:According to a second aspect of an embodiment of the present disclosure, there is provided a terminal control device, the device comprising:
信息检测模块,被配置为检测用户输入的密码信息;An information detection module configured to detect password information input by a user;
第一确定模块,被配置为确定所述密码信息是否为预先设置的第一密码;The first determination module is configured to determine whether the password information is a preset first password;
控制模块,被配置为如果所述密码信息是所述第一密码,则控制终端在第一预定时长内不执行锁屏操作。The control module is configured to, if the password information is the first password, control the terminal not to perform a screen-locking operation within a first predetermined time period.
可选的,所述控制模块被配置为控制终端在无用户操作的第一预定时长内不执行锁屏操作。Optionally, the control module is configured to control the terminal not to perform a screen-locking operation within a first predetermined period of time when there is no user operation.
本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。The embodiment of the present disclosure uses the pre-set first password to control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view some content in the terminal within the first predetermined period of time, and avoids The screen may be locked due to no operation by the user within the first predetermined period of time, and the terminal needs to be unlocked repeatedly to view information.
可选的,所述装置还包括:Optionally, the device also includes:
第二确定模块,被配置为确定终端中是否设置有第二密码,其中,所述第二密码用于在检测到终端在第二预定时长内无用户操作时对所述终端进行锁屏并加密,或接收到用户发出的锁屏操作指令时对终端进行加密。The second determination module is configured to determine whether a second password is set in the terminal, wherein the second password is used to lock the screen and encrypt the terminal when it is detected that there is no user operation on the terminal within a second predetermined period of time , or encrypt the terminal when receiving a lock screen operation instruction from the user.
可选的,所述控制模块,被配置为如果终端中设置有所述第二密码,控制终端在无用户操作的第一预定时长内不对终端进行锁屏并加密的操作。Optionally, the control module is configured to, if the second password is set in the terminal, control the terminal not to lock the screen and encrypt the terminal within the first predetermined period of time without user operation.
可选的,所述装置还包括:Optionally, the device also includes:
第三确定模块,被配置为如果终端中设置有所述第二密码,如果所述密码信息不是所述第一密码,则确定所述密码信息是否为所述第二密码;A third determining module, configured to determine whether the password information is the second password if the second password is set in the terminal and if the password information is not the first password;
解密模块,被配置为如果所述密码信息是所述第二密码,用所述第二密码对所述终端进行解密。A decryption module configured to decrypt the terminal with the second password if the password information is the second password.
可选的,所述装置还包括:Optionally, the device also includes:
加密模块,被配置为如果终端中设置有所述第二密码,控制终端在无用户操作的第一预定时长后,执行锁屏操作并采用所述第二密码对所述终端进行加密。The encryption module is configured to, if the second password is set in the terminal, control the terminal to perform a screen lock operation and use the second password to encrypt the terminal after a first predetermined period of time without user operation.
可选的,所述信息检测模块,被配置为在锁屏状态,检测用户输入的密码信息。Optionally, the information detection module is configured to detect the password information input by the user in the lock screen state.
可选的,所述第一预定时长大于所述第二预定时长。Optionally, the first predetermined duration is longer than the second predetermined duration.
本公开实施例可以通过第一密码的设置,来控制终端在无用户操作的第一预定时长内不执行锁屏及被第二密码加密的操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现加密锁屏,需反复输入密码来解密终端才能查看信息的情况出现。In the embodiments of the present disclosure, the first password can be set to control the terminal not to perform operations such as locking the screen and being encrypted by the second password within the first predetermined period of time without user operations, so that the user can view the terminal in the first predetermined period of time. Some content, and avoid the situation that the encrypted lock screen may appear due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to repeatedly input the password to decrypt the terminal can view the information.
根据本公开实施例的第三方面,提供一种终端控制装置,所述装置包括:According to a third aspect of the embodiments of the present disclosure, a terminal control device is provided, and the device includes:
处理器;processor;
用于存储所述处理器的可执行指令的存储器;memory for storing executable instructions of the processor;
其中,所述处理器被配置为:Wherein, the processor is configured as:
检测用户输入的密码信息;Detect the password information entered by the user;
确定所述密码信息是否为预先设置的第一密码;Determine whether the password information is a preset first password;
如果所述密码信息是所述第一密码,则控制终端在第一预定时长内不执行锁屏操作。If the password information is the first password, the control terminal does not perform a screen-locking operation within a first predetermined time period.
本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。The embodiment of the present disclosure uses the pre-set first password to control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view some content in the terminal within the first predetermined period of time, and avoids The screen may be locked due to no operation by the user within the first predetermined period of time, and the terminal needs to be unlocked repeatedly to view information.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种终端控制方法的流程图;Fig. 1 is a flowchart of a terminal control method according to an exemplary embodiment;
图2是根据另一示例性实施例示出的一种终端控制方法的流程图;Fig. 2 is a flowchart of a terminal control method according to another exemplary embodiment;
图3是根据另一示例性实施例示出的一种终端控制方法的流程图;Fig. 3 is a flow chart of a terminal control method according to another exemplary embodiment;
图4是根据一示例性实施例示出的一种终端控制装置的框图;Fig. 4 is a block diagram of a terminal control device according to an exemplary embodiment;
图5是根据另一示例性实施例示出的一种终端控制装置的框图;Fig. 5 is a block diagram of a terminal control device according to another exemplary embodiment;
图6是根据另一示例性实施例示出的一种终端控制装置的框图;Fig. 6 is a block diagram of a terminal control device according to another exemplary embodiment;
图7是根据另一示例性实施例示出的一种终端控制装置的框图;Fig. 7 is a block diagram of a terminal control device according to another exemplary embodiment;
图8是根据另一示例性实施例示出的一种终端控制装置的框图。Fig. 8 is a block diagram of a device for controlling a terminal according to another exemplary embodiment.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
本公开实施例提供的技术方案应用于终端,该终端可以是各种能够通过触摸屏进行触摸操作的智能终端,例如,智能手机、平板电脑、个人数字助理(Personal DigitalAssistant,PDA)等,但不限于此。本领域的技术人员容易理解,本发明实施例还可应用于任何具有处理器和显示输出装置的移动终端中。另外,本公开实施例提供的技术方案还适用于具有指纹识别模块、声纹识别模块或/和人脸识别模块等生物识别模块的终端中。The technical solution provided by the embodiments of the present disclosure is applied to a terminal, and the terminal may be a variety of smart terminals capable of touch operations through a touch screen, such as smart phones, tablet computers, personal digital assistants (Personal Digital Assistant, PDA), etc., but not limited to this. Those skilled in the art can easily understand that the embodiments of the present invention can also be applied to any mobile terminal with a processor and a display output device. In addition, the technical solution provided by the embodiments of the present disclosure is also applicable to a terminal having a biometric identification module such as a fingerprint identification module, a voiceprint identification module, or/and a face identification module.
本公开实施例提供了一种在上述终端上应用的终端控制方法,可以为:检测用户输入的密码信息,并确定用户输入的密码信息是否为预先设置的第一密码,如果用户输入的密码是所述第一密码,则控制终端在第一预定时长内不执行锁屏操作。本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏的情况,需反复的解锁终端才能查看信息的情况出现。An embodiment of the present disclosure provides a terminal control method applied on the above-mentioned terminal, which may include: detecting the password information input by the user, and determining whether the password information input by the user is a preset first password; if the password input by the user is The first password is used to control the terminal not to perform a screen lock operation within the first predetermined time period. The embodiment of the present disclosure uses the pre-set first password to control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view certain content in the terminal within the first predetermined period of time, and avoids The screen may be locked due to no operation by the user within the first predetermined period of time, and information may only be viewed after repeated unlocking of the terminal.
参见图1,图1是根据一示例性实施例示出的一种终端控制的方法,该方法可用于上述移动终端中,包括以下步骤:Referring to FIG. 1, FIG. 1 shows a terminal control method according to an exemplary embodiment, which can be used in the above-mentioned mobile terminal, and includes the following steps:
在步骤101中,检测用户输入的密码信息;In step 101, the password information input by the user is detected;
本公开实施例中,在终端屏幕被点亮,处于锁屏的状态下,检测用户输入的密码信息。这里,用户输入的密码信息可以是数字信息、指纹、头像或者声音等生物识别特征信息或者是手势信息,本公开实施例对该密码信息的类型不做特定的限制。In the embodiment of the present disclosure, when the terminal screen is lit and the screen is locked, the password information input by the user is detected. Here, the password information input by the user may be digital information, biometric feature information such as fingerprints, avatars, or voices, or gesture information, and the embodiment of the present disclosure does not specifically limit the type of the password information.
在步骤102中,确定用户输入的密码信息是否为预先设置的第一密码;In step 102, it is determined whether the password information input by the user is a preset first password;
本公开实施例中,用户可以通过终端的功能设置项来预先设置第一密码并保存。这里,第一密码被设置对应的功能是:对终端进行解密操作并控制终端在第一预定时长内不会被锁屏。这里,可以将用户输入的密码信息与预先存储的第一密码信息进行对比,以确定用户输入的密码信息是否为预先设置的第一密码。In the embodiment of the present disclosure, the user can preset and save the first password through the function setting item of the terminal. Here, the function corresponding to the setting of the first password is: performing a decryption operation on the terminal and controlling the terminal not to be locked within the first predetermined time period. Here, the password information input by the user may be compared with pre-stored first password information to determine whether the password information input by the user is the preset first password.
本公开实施例中,第一密码被设置对应的功能:对终端进行解密操作,指:即使终端被设置的其他密码(如预先设置的第二密码)进行加密,在检测到用户输入的第一密码时,依然可以对被第二密码加密的终端进行解密操作。In the embodiment of the present disclosure, the first password is set to correspond to the function: decrypt the terminal, which means: even if the terminal is encrypted with other passwords (such as the preset second password), the first password input by the user is detected. When the second password is used, the terminal encrypted by the second password can still be decrypted.
在步骤103中,如果用户输入的密码信息是第一密码,则控制终端在第一预定时长内不执行锁屏操作。In step 103, if the password information input by the user is the first password, the control terminal does not perform a screen-locking operation within the first predetermined time period.
本公开实施例中,第一预定时长可以由用户根据需求预先设定。In the embodiment of the present disclosure, the first predetermined duration may be preset by the user according to requirements.
在本公开实施例中,如果用户输入的密码信息是第一密码,控制终端在无用户操作的第一预定时长内不执行锁屏操作。In the embodiment of the present disclosure, if the password information input by the user is the first password, the control terminal does not perform the screen lock operation within the first predetermined time period without user operation.
本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。The embodiment of the present disclosure uses the pre-set first password to control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view certain content in the terminal within the first predetermined period of time, and avoids The screen may be locked due to no operation by the user within the first predetermined period of time, and the terminal needs to be unlocked repeatedly to view information.
本公开实施例中,该终端控制的方法还可以包括:In the embodiment of the present disclosure, the terminal control method may also include:
确定终端中是否设置有第二密码,其中,所述第二密码用于在检测到终端在第二预定时长内无用户操作时对所述终端进行锁屏并加密,或接收到用户发出的锁屏操作指令时对终端进行加密并锁屏。Determine whether a second password is set in the terminal, wherein the second password is used to lock and encrypt the terminal screen when it is detected that there is no user operation on the terminal within a second predetermined period of time, or receive a lock issued by the user Encrypt the terminal and lock the screen when operating the screen.
这里,用户可以通过终端的功能设置项来设置上述第二密码并保存。确定终端中是否设置有第二密码就可以通过功能设置项来查询得知用户是否设置有第二密码。Here, the user can set and save the second password through the function setting item of the terminal. After determining whether the second password is set in the terminal, it is possible to inquire whether the user has set the second password through the function setting item.
其中,第二预定时长可以由用户根据个人的需要而预先设置并保存使用。Wherein, the second predetermined duration can be preset and saved for use by the user according to individual needs.
本公开实施例中,一般情况下,第一预定时长被设置为长于第二预定时长。如第一预定时长为10分钟,第二预定时长为1分钟,本公开实施例对此并不做过多限定。In the embodiments of the present disclosure, generally, the first predetermined duration is set to be longer than the second predetermined duration. For example, the first predetermined duration is 10 minutes, and the second predetermined duration is 1 minute, which is not limited in this embodiment of the present disclosure.
本公开实施例中,如果终端中设置有所述第二密码,那么,控制终端在第一预定时长内不执行锁屏操作,就可以包括:In the embodiment of the present disclosure, if the second password is set in the terminal, then controlling the terminal not to perform the screen lock operation within the first predetermined time period may include:
控制终端在无用户操作的第一预定时长内不对终端进行锁屏并加密的操作。这样,就可以通过第一密码的设置,来控制终端在无用户操作的第一预定时长内不执行锁屏及被第二密码加密的操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现加密锁屏,需反复输入密码来解密终端才能查看信息的情况出现。The control terminal does not lock the screen and encrypt the terminal within the first predetermined period of time without user operation. In this way, through the setting of the first password, it is possible to control the terminal not to perform operations such as locking the screen and being encrypted by the second password within the first predetermined period of time without user operations, so that the user can view certain information in the terminal within the first predetermined period of time. To avoid the situation that the encrypted lock screen may occur due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to repeatedly input the password to decrypt the terminal can view the information.
在本公开实施例中,如果终端中设置有所述第二密码,该终端控制的方法还可以包括以下操作:In the embodiment of the present disclosure, if the second password is set in the terminal, the terminal control method may further include the following operations:
如果所述密码信息不是所述第一密码,则确定所述密码信息是否为所述第二密码;If the password information is not the first password, determining whether the password information is the second password;
如果所述密码信息是所述第二密码,用所述第二密码对所述终端进行解密。If the password information is the second password, decrypt the terminal by using the second password.
在本公开实施例中,如果终端中设置有所述第二密码,该终端控制的方法还可以包括以下操作:In the embodiment of the present disclosure, if the second password is set in the terminal, the terminal control method may further include the following operations:
控制终端在无用户操作的第一预定时长后,执行锁屏操作并采用所述第二密码对所述终端进行加密。The control terminal performs a screen lock operation and uses the second password to encrypt the terminal after a first predetermined period of time without user operations.
综上所述,本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。To sum up, the embodiment of the present disclosure can control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation through the preset first password, so that the user can view certain information in the terminal within the first predetermined period of time. content, and avoid the situation that the screen may be locked due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to be repeatedly unlocked to view the information occurs.
参见图2,图2是根据一示例性实施例示出的一种终端控制的方法,该方法用于终端,可以包括以下步骤:Referring to FIG. 2, FIG. 2 shows a terminal control method according to an exemplary embodiment. The method is used for a terminal and may include the following steps:
在步骤201中,预操作,记录用户设置的第二密码;In step 201, the pre-operation records the second password set by the user;
这里,用户可以通过终端的功能设置项来设置第二密码,并终端记录存储该第二密码。Here, the user can set the second password through the function setting item of the terminal, and the terminal records and stores the second password.
其中,所述第二密码用于在检测到终端在第二预定时长内无用户操作时对所述终端进行锁屏并加密,或接收到用户发出的锁屏操作指令时对终端进行锁屏并加密。Wherein, the second password is used to lock and encrypt the screen of the terminal when it is detected that there is no user operation on the terminal within the second predetermined period of time, or to lock the screen and encrypt the terminal when receiving a screen lock operation instruction from the user. encryption.
这样,在用户设置了第二密码且开启了密码保护的情况下,如果检测到终端在第二预定时长内无用户操作,则终端会执行锁屏并使用第二密码进行加密的操作。或者,在接收到用户发送的锁屏指令时,执行锁屏操作并使用第二密码进行加密的操作。In this way, when the user sets the second password and enables password protection, if it is detected that there is no user operation on the terminal within the second predetermined time period, the terminal will lock the screen and use the second password for encryption. Alternatively, when a screen lock instruction sent by the user is received, an operation of locking the screen and performing encryption using the second password is performed.
其中,第二预定时长可以由用户根据个人的需要而预先设置并保存使用。Wherein, the second predetermined duration can be preset and saved for use by the user according to individual needs.
在步骤202中,在终端为锁屏的状态下,检测用户输入的密码信息;In step 202, when the terminal is in the state of locking the screen, detect the password information input by the user;
本公开实施例中,在终端屏幕被点亮,处于锁屏的状态下,检测用户输入的密码信息。这里,用户输入的密码信息可以是数字信息、指纹、头像或者声音等生物识别特征信息或者是手势信息,本公开实施例对该密码信息的类型不做特定的限制。In the embodiment of the present disclosure, when the terminal screen is lit and the screen is locked, the password information input by the user is detected. Here, the password information input by the user may be digital information, biometric feature information such as fingerprints, avatars, or voices, or gesture information, and the embodiment of the present disclosure does not specifically limit the type of the password information.
在步骤203中,确定用户输入的密码信息是否为预先设置的第一密码;In step 203, it is determined whether the password information input by the user is a preset first password;
本公开实施例中,用户可以通过终端的功能设置项来预先设置第一密码并保存。其中,第一密码被设置对应的功能是:对终端进行解密操作并控制终端在第一预定时长内不会被锁屏。这里,可以将用户输入的密码信息与预先存储的第一密码信息进行对比,以确定用户输入的密码信息是否为预先设置的第一密码。In the embodiment of the present disclosure, the user can preset and save the first password through the function setting item of the terminal. Wherein, the function corresponding to the setting of the first password is to perform a decryption operation on the terminal and control the terminal not to be locked within the first predetermined time period. Here, the password information input by the user may be compared with pre-stored first password information to determine whether the password information input by the user is the preset first password.
本公开实施例中,第一密码被设置对应的功能:对终端进行解密操作,指:即使终端被设置的其他密码(如预先设置的第二密码)进行加密,在检测到用户输入的第一密码时,依然可以对被第二密码加密的终端进行解密操作。In the embodiment of the present disclosure, the first password is set to correspond to the function: decrypt the terminal, which means: even if the terminal is encrypted with other passwords (such as the preset second password), the first password input by the user is detected. When the second password is used, the terminal encrypted by the second password can still be decrypted.
本公开实施例中,第一预定时长可以由用户根据个人的需要而预先设置并保存使用,一般情况下,第一预定时长被设置为长于第二预定时长。如第一预定时长为10分钟,第二预定时长为1分钟,本公开实施例对此并不做过多限定。In the embodiment of the present disclosure, the first predetermined duration may be preset and saved for use by the user according to individual needs. Generally, the first predetermined duration is set to be longer than the second predetermined duration. For example, the first predetermined duration is 10 minutes, and the second predetermined duration is 1 minute, which is not limited in this embodiment of the present disclosure.
当确定用户输入的密码信息为预先设置的第一密码时,执行步骤204;When it is determined that the password information input by the user is the preset first password, step 204 is executed;
当确定用户输入的密码信息不是预先设置的第一密码时,执行步骤207;When it is determined that the password information input by the user is not the preset first password, step 207 is performed;
在步骤204中,控制终端在无用户操作的第一预定时长内不对终端进行锁屏并加密的操作;In step 204, the control terminal does not lock the screen and encrypt the terminal within the first predetermined period of time without user operation;
在步骤205中,检测是否达到第一预定时长;In step 205, it is detected whether the first predetermined duration is reached;
如果达到第一预定时长,则执行步骤206;If the first predetermined duration is reached, step 206 is executed;
如果未达到第一预定时长,则继续执行步骤204;If the first predetermined duration is not reached, proceed to step 204;
在步骤206中,控制终端在无用户操作的第一预定时长后,执行锁屏操作并采用所述第二密码对所述终端进行加密In step 206, the control terminal executes a screen lock operation and uses the second password to encrypt the terminal after a first predetermined period of time without user operation
在步骤207中,确定用户输入的密码信息是否为第二密码;In step 207, it is determined whether the password information input by the user is the second password;
这里,对用户输入的密码信息进行识别,并将识别出的用户输入的密码信息与预先存储的第二密码信息进行对比,以确定用户输入的密码信息是否为预先设置的第二密码。当用户输入的密码信息为第二密码时,执行步骤208;当用户输入的密码信息不是第二密码时,执行步骤209。Here, the password information input by the user is identified, and the identified password information input by the user is compared with the pre-stored second password information to determine whether the password information input by the user is the preset second password. When the password information input by the user is the second password, perform step 208; when the password information input by the user is not the second password, perform step 209.
在步骤208中,用用户输入的第二密码对所述终端进行解密。In step 208, the terminal is decrypted with the second password input by the user.
在步骤209中,提示用户输入的密码有误,并返回执行步骤202。In step 209, the user is prompted that the password input is incorrect, and the execution returns to step 202.
本公开实施例所公开的技术方案,可以通过第一密码的设置,来控制终端在无用户操作的第一预定时长内不执行锁屏及被第二密码加密的操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现加密锁屏,需反复输入密码来解密终端才能查看信息的情况出现。The technical solutions disclosed in the embodiments of the present disclosure can control the terminal not to perform operations such as locking the screen and being encrypted by the second password within the first predetermined period of time without user operations through the setting of the first password, which is convenient for users View some content in the terminal within a certain period of time, and avoid the situation that the encrypted lock screen may occur due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to repeatedly input the password to decrypt the terminal to view the information occurs.
参见图3,图3是根据一示例性实施例示出的一种终端控制的方法,该方法用于终端,可以包括以下步骤:Referring to Fig. 3, Fig. 3 shows a terminal control method according to an exemplary embodiment, the method is used for a terminal, and may include the following steps:
在步骤301中,预操作,记录用户设置的终端锁屏时间;In step 301, the pre-operation records the terminal lock screen time set by the user;
这里,用户可以通过终端的功能设置项来设置终端的锁屏时间,如第三预定时长。Here, the user can set the lock screen time of the terminal through the function setting item of the terminal, such as the third predetermined duration.
其中,设置的终端锁屏时间被配置为的功能是:当检测到终端在第三预定时长内无用户操作,则执行锁屏操作。Wherein, the set terminal screen lock time is configured to perform a screen lock operation when it is detected that there is no user operation on the terminal within a third predetermined period of time.
这样,在用户设置了终端锁屏时间的情况下,如果检测到终端在第三预定时长内无用户操作,则会执行锁屏操作。In this way, if the user sets the terminal screen lock time, if it is detected that there is no user operation on the terminal within the third predetermined time period, the screen lock operation will be performed.
在步骤302中,在终端为锁屏的状态下,检测用户输入的密码信息;In step 302, when the terminal is in the state of locking the screen, detect the password information input by the user;
本公开实施例中,在终端屏幕被点亮,处于锁屏的状态下,检测用户输入的密码信息。这里,用户输入的密码信息可以是数字信息、指纹、头像或者声音等生物识别特征信息或者是手势信息,本公开实施例对该密码信息的类型不做特定的限制。In the embodiment of the present disclosure, when the terminal screen is lit and the screen is locked, the password information input by the user is detected. Here, the password information input by the user may be digital information, biometric feature information such as fingerprints, avatars, or voices, or gesture information, and the embodiment of the present disclosure does not specifically limit the type of the password information.
在步骤303中,确定用户输入的密码信息是否为预先设置的第一密码;In step 303, it is determined whether the password information input by the user is a preset first password;
本公开实施例中,用户可以通过终端的功能设置项来预先设置第一密码并保存。其中,第一密码被设置对应的功能是:对终端进行解密操作并控制终端在第一预定时长内不会被锁屏;或者,控制终端在第一预定时长内不会被锁屏。这里,可以将用户输入的密码信息与预先存储的第一密码信息进行对比,以确定用户输入的密码信息是否为预先设置的第一密码。In the embodiment of the present disclosure, the user can preset and save the first password through the function setting item of the terminal. Wherein, the function corresponding to the setting of the first password is: to perform a decryption operation on the terminal and control the terminal not to be locked within the first predetermined time; or, to control the terminal not to be locked within the first predetermined time. Here, the password information input by the user may be compared with pre-stored first password information to determine whether the password information input by the user is the preset first password.
本公开实施例中,第一密码被设置对应的功能:对终端进行解密操作,指:即使终端被设置的其他密码(如预先设置的第二密码)进行加密,在检测到用户输入的第一密码时,依然可以对被第二密码加密的终端进行解密操作。In the embodiment of the present disclosure, the first password is set to correspond to the function: to decrypt the terminal, which means: even if the terminal is encrypted with other passwords (such as the preset second password), the first password input by the user is detected. When the second password is used, the terminal encrypted by the second password can still be decrypted.
本公开实施例中,第一预定时长可以由用户根据个人的需要而预先设置并保存使用,一般情况下,第一预定时长被设置为长于第三预定时长。如第一预定时长为8分钟,第三预定时长为2分钟,本公开实施例对此并不做过多限定。In the embodiment of the present disclosure, the first predetermined duration may be preset by the user according to individual needs and saved for use. Generally, the first predetermined duration is set to be longer than the third predetermined duration. For example, the first predetermined duration is 8 minutes, and the third predetermined duration is 2 minutes, which is not too limited in this embodiment of the present disclosure.
当确定用户输入的密码信息为预先设置的第一密码时,执行步骤304;When it is determined that the password information input by the user is the preset first password, step 304 is executed;
当确定用户输入的密码信息不是预先设置的第一密码时,执行步骤307;When it is determined that the password information input by the user is not the preset first password, step 307 is performed;
在步骤304中,控制终端在无用户操作的第一预定时长内不执行锁屏操作;In step 304, the control terminal does not perform a screen lock operation within a first predetermined period of time without user operation;
在步骤305中,检测是否达到第一预定时长;In step 305, it is detected whether the first predetermined duration is reached;
当达到第一预定时长时,执行步骤306;When the first predetermined duration is reached, step 306 is executed;
当未达到第一预定时长时,继续执行步骤304。When the first predetermined duration is not reached, continue to execute step 304 .
在步骤306中,控制终端执行锁屏操作。In step 306, the control terminal performs a screen locking operation.
在步骤307中,提示用户输入的密码有误,并返回执行步骤302。In step 307, the user is prompted that the password input is wrong, and the execution returns to step 302.
本公开实施例所公开的技术方案,可以通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。The technical solution disclosed in the embodiments of the present disclosure can control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation through the preset first password, which is convenient for the user to view the terminal in the first predetermined period of time. Certain content, and avoid the situation that the screen needs to be repeatedly unlocked to view the information because the screen may be locked due to no operation by the user within the first predetermined period of time.
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure. For details not disclosed in the disclosed device embodiments, please refer to the disclosed method embodiments.
图4是根据一示例性实施例示出的一种终端控制装置400的框图,该终端控制装置400可以通过软件、硬件或者两者的结合实现成为终端的部分或者全部,该终端可以是手机或者平板电脑等电子显示设备。该终端控制装置400可以包括:Fig. 4 is a block diagram showing a terminal control device 400 according to an exemplary embodiment. The terminal control device 400 can be implemented as part or all of a terminal through software, hardware or a combination of the two. The terminal can be a mobile phone or a tablet Electronic display devices such as computers. The terminal control device 400 may include:
信息检测模块401,可以被配置为检测用户输入的密码信息;The information detection module 401 may be configured to detect password information input by the user;
第一确定模块402,可以被配置为确定所述密码信息是否为预先设置的第一密码;The first determining module 402 may be configured to determine whether the password information is a preset first password;
控制模块403,可以被配置为如果所述密码信息是所述第一密码,则控制终端在第一预定时长内不执行锁屏操作。The control module 403 may be configured to control the terminal not to perform a screen-locking operation within a first predetermined time period if the password information is the first password.
在一个实施例中,控制模块403,可以被具体配置为控制终端在无用户操作的第一预定时长内不执行锁屏操作。In one embodiment, the control module 403 may be specifically configured to control the terminal not to perform a screen-locking operation within a first predetermined period of time when there is no user operation.
本公开实施例通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。The embodiment of the present disclosure uses the pre-set first password to control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation, which is convenient for the user to view certain content in the terminal within the first predetermined period of time, and avoids The screen may be locked due to no operation by the user within the first predetermined period of time, and the terminal needs to be unlocked repeatedly to view information.
参见图5,如图4所示的终端控制装置400还可以包括:Referring to FIG. 5, the terminal control device 400 shown in FIG. 4 may further include:
第二确定模块404,可以被配置为确定终端中是否设置有第二密码,其中,所述第二密码用于在检测到终端在第二预定时长内无用户操作时对所述终端进行锁屏并加密,或接收到用户发出的锁屏操作指令时对终端进行加密。The second determination module 404 may be configured to determine whether a second password is set in the terminal, wherein the second password is used to lock the screen of the terminal when it is detected that there is no user operation on the terminal within a second predetermined period of time And encrypt, or encrypt the terminal when receiving the lock screen operation command sent by the user.
在一个实施例中,控制模块403,可以被配置为如果终端中设置有所述第二密码,控制终端在无用户操作的第一预定时长内不对终端进行锁屏并加密的操作。In one embodiment, the control module 403 may be configured to control the terminal not to lock the screen and encrypt the terminal within the first predetermined period of time without user operation if the second password is set in the terminal.
参见图6,如图5所示的终端控制装置400还可以包括:Referring to FIG. 6, the terminal control device 400 shown in FIG. 5 may further include:
第三确定模块405,被配置为如果终端中设置有所述第二密码,如果所述密码信息不是所述第一密码,则确定所述密码信息是否为所述第二密码;The third determination module 405 is configured to determine whether the password information is the second password if the second password is set in the terminal and if the password information is not the first password;
解密模块406,可以被配置为如果所述密码信息是所述第二密码,用所述第二密码对所述终端进行解密。The decryption module 406 may be configured to, if the password information is the second password, use the second password to decrypt the terminal.
参见图7,如图4所示的终端控制装置400还可以包括:Referring to FIG. 7, the terminal control device 400 shown in FIG. 4 may further include:
加密模块407,可以被配置为如果终端中设置有所述第二密码,控制终端在无用户操作的第一预定时长后,执行锁屏操作并采用所述第二密码对所述终端进行加密。The encryption module 407 may be configured to, if the second password is set in the terminal, control the terminal to perform a screen lock operation and use the second password to encrypt the terminal after a first predetermined period of time without user operations.
在一个实施例中,信息检测模块401,可以被配置为在锁屏状态,检测用户输入的密码信息。In one embodiment, the information detection module 401 may be configured to detect the password information input by the user in the lock screen state.
本公开实施例中,所述第一预定时长大于所述第二预定时长。In the embodiment of the present disclosure, the first predetermined duration is longer than the second predetermined duration.
本公开实施例所公开的技术方案,可以通过第一密码的设置,来控制终端在无用户操作的第一预定时长内不执行锁屏及被第二密码加密的操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现加密锁屏,需反复输入密码来解密终端才能查看信息的情况出现。The technical solutions disclosed in the embodiments of the present disclosure can control the terminal not to perform operations such as locking the screen and being encrypted by the second password within the first predetermined period of time without user operations through the setting of the first password, which is convenient for users View some content in the terminal within a certain period of time, and avoid the situation that the encrypted lock screen may occur due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to repeatedly input the password to decrypt the terminal to view the information occurs.
综上所述,本公开实施例所公开的技术方案,可以通过预先设置的第一密码,可以控制终端在无用户操作的第一预定时长内不执行锁屏操作,方便用户在第一预定时长内查看终端中的某些内容,而避免因为可能在第一预定时长内因用户无操作而出现锁屏,需反复解锁终端才能查看信息的情况出现。To sum up, the technical solutions disclosed in the embodiments of the present disclosure can control the terminal not to perform the lock screen operation within the first predetermined period of time without user operation through the preset first password, which is convenient for the user to lock the screen during the first predetermined period of time. View some content in the terminal within a certain period of time, and avoid the situation that the screen may be locked due to no operation by the user within the first predetermined period of time, and the situation that the terminal needs to be repeatedly unlocked to view information occurs.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
请参考图8,其示出了一示例性实施例示出的一种用于终端控制装置500的框图。例如,装置500可以是手机或者平板电脑等电子显示设备。Please refer to FIG. 8 , which shows a block diagram of an apparatus 500 for terminal control according to an exemplary embodiment. For example, the apparatus 500 may be an electronic display device such as a mobile phone or a tablet computer.
参照图8,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)接口512,传感器组件514,以及通信组件516。8, apparatus 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and Communication component 516 .
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器320来执行指令,以完成上述终端控制方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The processing component 502 generally controls the overall operations of the device 500, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above terminal control method. Additionally, processing component 502 may include one or more modules that facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502 .
存储器504被配置为存储各种类型的数据以支持在装置500上的操作。这些数据的示例包括用于在装置500上操作的任何应用或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 504 is configured to store various types of data to support operations on the device 500 . Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and the like. The memory 504 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。The power supply component 506 provides power to various components of the device 500 . Power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500 .
多媒体组件508包括在装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a microphone (MIC), which is configured to receive external audio signals when the device 500 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 504 or sent via communication component 516 . In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 512 provides an interface between the processing component 502 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500 . For example, the sensor component 514 can detect the open/closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, the sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500, the user Presence or absence of contact with device 500 , device 500 orientation or acceleration/deceleration and temperature change of device 500 . Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 516 is configured to facilitate wired or wireless communication between the apparatus 500 and other devices. The device 500 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述显示界面切换的方法。In an exemplary embodiment, apparatus 500 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Realized by a gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, it is used to execute the above method for switching display interfaces.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器420执行以完成上述终端控制方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 504 including instructions, which can be executed by the processor 420 of the device 500 to implement the above terminal control method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, among others.
一种非临时性计算机可读存储介质,当存储介质中的指令由装置500的处理器执行时,使得装置500能够执行上述终端控制方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the device 500, the device 500 can execute the above terminal control method.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610657863.5A CN106295279B (en) | 2016-08-11 | 2016-08-11 | Method and device for terminal control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610657863.5A CN106295279B (en) | 2016-08-11 | 2016-08-11 | Method and device for terminal control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106295279A true CN106295279A (en) | 2017-01-04 |
| CN106295279B CN106295279B (en) | 2019-05-10 |
Family
ID=57668912
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610657863.5A Active CN106295279B (en) | 2016-08-11 | 2016-08-11 | Method and device for terminal control |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106295279B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108897476A (en) * | 2018-06-12 | 2018-11-27 | 平安科技(深圳)有限公司 | screen locking method and device and computer readable storage medium |
| CN113032849A (en) * | 2021-03-29 | 2021-06-25 | 北京小米移动软件有限公司 | Data protection method, device, terminal and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103677551A (en) * | 2012-09-11 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic device |
| KR20150010258A (en) * | 2013-07-18 | 2015-01-28 | 엘지전자 주식회사 | Method for time based locking with easy release screen locking and terminal therefor |
| CN104820564A (en) * | 2015-05-07 | 2015-08-05 | 网易(杭州)网络有限公司 | User terminal, status switching method thereof, status switching device, game control method and game control device |
| CN104915582A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Unlocking method and unlocking device |
-
2016
- 2016-08-11 CN CN201610657863.5A patent/CN106295279B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103677551A (en) * | 2012-09-11 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic device |
| KR20150010258A (en) * | 2013-07-18 | 2015-01-28 | 엘지전자 주식회사 | Method for time based locking with easy release screen locking and terminal therefor |
| CN104820564A (en) * | 2015-05-07 | 2015-08-05 | 网易(杭州)网络有限公司 | User terminal, status switching method thereof, status switching device, game control method and game control device |
| CN104915582A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Unlocking method and unlocking device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108897476A (en) * | 2018-06-12 | 2018-11-27 | 平安科技(深圳)有限公司 | screen locking method and device and computer readable storage medium |
| CN113032849A (en) * | 2021-03-29 | 2021-06-25 | 北京小米移动软件有限公司 | Data protection method, device, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106295279B (en) | 2019-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3089065B1 (en) | Method and device for permission management | |
| CN106453052B (en) | Message interaction method and device | |
| CN106357934B (en) | Screen locking control method and device | |
| WO2021017141A1 (en) | Access control method and apparatus, and medium | |
| WO2017185573A1 (en) | Unlocking method and apparatus | |
| CN106156561A (en) | Application locking method, application unlocking method and a device | |
| CN106909827A (en) | Using account management method and device | |
| CN106023370A (en) | Unlocking method and device for NFC equipment | |
| CN106203048A (en) | A kind of method and apparatus being unlocked | |
| CN108319832A (en) | Unlocking method and device | |
| CN106682463A (en) | Unlocking method and device | |
| CN106557679A (en) | Terminal control method and device | |
| CN107045604A (en) | Information processing method and device | |
| CN106789070A (en) | The decryption method of data, device and terminal | |
| CN105893854A (en) | Encryption and decryption method and device | |
| CN106600768A (en) | Intelligent door lock authentication method, device and terminal | |
| CN105046127A (en) | Encryption and decryption implementation method and device | |
| CN107743063A (en) | Data processing method and device | |
| CN106611112A (en) | Application program safe processing method, device and equipment | |
| CN106845199A (en) | Object authentication method and device | |
| CN107145797A (en) | Application Icon Display Control Method, Device, and Terminal Equipment | |
| US10817702B2 (en) | Method, terminal, and computer-readable storage medium for processing fingerprint | |
| CN105975283A (en) | Starting method and device for operating system | |
| CN106372943A (en) | Message processing method and device | |
| CN105512525B (en) | Unlocking method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |