[go: up one dir, main page]

CN105138321B - The control method and system of terminal - Google Patents

The control method and system of terminal Download PDF

Info

Publication number
CN105138321B
CN105138321B CN201510472401.1A CN201510472401A CN105138321B CN 105138321 B CN105138321 B CN 105138321B CN 201510472401 A CN201510472401 A CN 201510472401A CN 105138321 B CN105138321 B CN 105138321B
Authority
CN
China
Prior art keywords
terminal
user
image
owner
owner user
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.)
Active
Application number
CN201510472401.1A
Other languages
Chinese (zh)
Other versions
CN105138321A (en
Inventor
李彦成
彭云鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510472401.1A priority Critical patent/CN105138321B/en
Publication of CN105138321A publication Critical patent/CN105138321A/en
Application granted granted Critical
Publication of CN105138321B publication Critical patent/CN105138321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种终端的控制方法及系统。一方面,本发明实施例通过在终端处于未锁定状态下,检测终端前机主用户的状态;从而,若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。因此,本发明实施例提供的技术方案能够在终端处于未锁定状态下,自动获取终端前机主用户的状态,并在确定机主用户离开终端后,自动进行终端的锁定,降低了终端的锁定操作成本,提高锁定效率。而且,可以避免在机主用户离开终端后,终端被其他用户使用,提高了终端可靠性和安全性。

Embodiments of the present invention provide a terminal control method and system. On the one hand, the embodiment of the present invention detects the state of the front owner user of the terminal when the terminal is in an unlocked state; thus, if it is detected that the state of the front owner user of the terminal is that the owner user leaves the terminal, the terminal is locked. operate. Therefore, the technical solution provided by the embodiment of the present invention can automatically obtain the status of the owner user of the terminal when the terminal is in an unlocked state, and automatically lock the terminal after it is determined that the owner user has left the terminal, reducing the need for terminal locking. Operating costs, improve locking efficiency. Moreover, it can prevent the terminal from being used by other users after the owner user leaves the terminal, thereby improving the reliability and security of the terminal.

Description

终端的控制方法及系统Terminal control method and system

【技术领域】【Technical field】

本发明涉及计算机技术领域,尤其涉及一种终端的控制方法及系统。The present invention relates to the field of computer technology, in particular to a terminal control method and system.

【背景技术】【Background technique】

目前,用户在工作过程中,在公司都有自身专属的终端,如个人电脑。用户在工作时间,会因为开会、上洗手间、吃饭等众多原因短时间离开个人电脑。如果用户忘记锁定个人电脑,将会为不法分子留有漏洞,使得不法分子窃取用户的个人重要信息或者工作重要信息等,导致用户信息泄露。At present, users have their own exclusive terminals, such as personal computers, in the company during work. During working hours, the user will leave the personal computer for a short time due to many reasons such as meeting, going to the bathroom, and eating. If the user forgets to lock the personal computer, there will be loopholes for criminals, so that criminals can steal important personal information or important work information of users, etc., resulting in leakage of user information.

然而,现有技术中,用户在离开所使用的终端时,需要手动进行终端的锁定操作,因此终端的锁定操作成本比较高,锁定效率比较低。而且,若用户忘记锁定,终端的安全性将会比较低,导致终端的锁定方式的可靠性比较低。However, in the prior art, when the user leaves the terminal being used, the terminal needs to be locked manually. Therefore, the cost of the terminal locking operation is relatively high, and the locking efficiency is relatively low. Moreover, if the user forgets to lock the terminal, the security of the terminal will be relatively low, resulting in relatively low reliability of the terminal locking method.

【发明内容】【Content of invention】

有鉴于此,本发明实施例提供了一种终端的控制方法及系统,可以实现降低了终端的锁定操作成本,提高了锁定效率、终端可靠性和安全性。In view of this, embodiments of the present invention provide a terminal control method and system, which can reduce the cost of terminal locking operations, and improve locking efficiency, terminal reliability, and security.

本发明实施例的一方面,提供一种终端的控制方法,包括:An aspect of the embodiments of the present invention provides a terminal control method, including:

在终端处于未锁定状态下,检测终端前机主用户的状态;When the terminal is in an unlocked state, detect the status of the main user of the front of the terminal;

若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。If it is detected that the status of the owner user before the terminal is that the owner user has left the terminal, a locking operation is performed on the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述在终端处于未锁定状态下,检测终端前机主用户的状态,包括:According to the above aspect and any possible implementation manner, an implementation manner is further provided. When the terminal is in an unlocked state, detecting the state of the front-end user of the terminal includes:

在终端处于未锁定状态下,检测所述终端与所述终端前机主用户之间的距离数据;When the terminal is in an unlocked state, detecting the distance data between the terminal and the previous owner user of the terminal;

根据所述距离数据,检测终端前机主用户的状态。According to the distance data, the status of the main user in front of the terminal is detected.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述根据所述距离数据,检测终端前机主用户的状态,包括:According to the above aspect and any possible implementation manner, an implementation manner is further provided, the detection of the status of the main user of the terminal in front of the terminal according to the distance data includes:

若所述距离数据大于或者等于预设的距离阈值,或者,所述距离数据为超出检测距离的指示信号,采集终端前图像;If the distance data is greater than or equal to a preset distance threshold, or if the distance data is an indication signal exceeding a detection distance, collect an image in front of the terminal;

根据所述终端前图像,检测终端前机主用户的状态。According to the image in front of the terminal, the state of the main user in front of the terminal is detected.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述根据所述终端前图像,检测终端前机主用户的状态,包括:According to the above-mentioned aspect and any possible implementation manner, an implementation manner is further provided, the detecting the state of the main user of the front terminal of the terminal according to the image in front of the terminal includes:

对所述终端前图像进行人脸识别处理;performing face recognition processing on the image in front of the terminal;

若没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。If the image of the owner user is not recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user leaves the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:According to the above aspects and any possible implementation, an implementation is further provided, the method further includes:

若所述距离数据小于所述距离阈值,确定所述终端前机主用户的状态为机主用户未离开终端。If the distance data is less than the distance threshold, it is determined that the state of the owner user in front of the terminal is that the owner user has not left the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:According to the above aspects and any possible implementation, an implementation is further provided, the method further includes:

若从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。If the image of the owner user is recognized from the image in front of the terminal, it is determined that the state of the owner user in front of the terminal is that the owner user has not left the terminal.

本发明实施例的一方面,提供一种终端的控制方法,包括:An aspect of the embodiments of the present invention provides a terminal control method, including:

在终端处于锁定状态下,采集终端当前用户的图像;When the terminal is in the locked state, collect the image of the current user of the terminal;

根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户;According to the image of the current user of the terminal, determine whether the current user of the terminal is the owner user;

若所述终端当前用户是所述机主用户,解除所述终端的锁定状态。If the current user of the terminal is the owner user, releasing the locked state of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:According to the above aspects and any possible implementation, an implementation is further provided, the method further includes:

若所述终端当前用户不是所述机主用户,保持所述终端的锁定状态。If the current user of the terminal is not the owner user, keep the locked state of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:According to the above aspects and any possible implementation, an implementation is further provided, the method further includes:

若所述终端当前用户不是所述机主用户,执行以下操作中至少一个:If the current user of the terminal is not the owner user, perform at least one of the following operations:

将所述终端当前用户的图像保存在终端中;saving the image of the current user of the terminal in the terminal;

将所述终端当前用户的图像上传至服务器;uploading the image of the current user of the terminal to the server;

采集所述终端当前用户的视频数据,将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以及,collecting video data of the current user of the terminal, and sending the video data or the video data and an image of the current user of the terminal to the owner user of the terminal; and,

向所述终端的机主用户发送报警提示信息。Sending alarm prompt information to the owner user of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户,包括:According to the above aspect and any possible implementation manner, an implementation manner is further provided, the judging whether the current terminal user is the owner user according to the image of the current terminal user includes:

利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理,以获得人脸识别处理结果;performing face recognition processing on the image of the current user of the terminal by using a face recognition algorithm to obtain a face recognition processing result;

根据所述人脸识别处理结果,判断所述终端当前用户是否为机主用户。According to the face recognition processing result, it is judged whether the current user of the terminal is the owner user.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:According to the above aspects and any possible implementation, an implementation is further provided, the method further includes:

若所述终端当前用户是所述机主用户,根据所述终端当前用户的图像,对所述人脸识别算法进行更新。If the current user of the terminal is the owner user, the face recognition algorithm is updated according to the image of the current user of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述在终端处于锁定状态下,采集终端当前用户的图像,包括:According to the above-mentioned aspect and any possible implementation manner, an implementation manner is further provided, the collecting the image of the current user of the terminal when the terminal is in a locked state, including:

在终端处于锁定状态下,检测终端前是否有用户和/或检测所述终端是否发生振动,以获得检测结果;When the terminal is in a locked state, detecting whether there is a user in front of the terminal and/or detecting whether the terminal vibrates to obtain a detection result;

若所述检测结果包括检测到所述终端前有用户和检测到所述终端发生振动中至少一个,采集终端当前用户的图像。If the detection result includes at least one of detection of a user in front of the terminal and detection of vibration of the terminal, collect an image of the current user of the terminal.

本发明实施例的一方面,提供一种终端的控制系统,包括:An aspect of the embodiments of the present invention provides a terminal control system, including:

检测单元,用于在终端处于未锁定状态下,检测终端前机主用户的状态;The detection unit is used to detect the state of the front-end owner user of the terminal when the terminal is in an unlocked state;

控制单元,用于若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。The control unit is configured to perform a locking operation on the terminal if it is detected that the status of the owner user in front of the terminal is that the owner user leaves the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元,具体用于:According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, the detection unit is specifically configured to:

在终端处于未锁定状态下,检测所述终端与所述终端前机主用户之间的距离数据;When the terminal is in an unlocked state, detecting the distance data between the terminal and the previous owner user of the terminal;

根据所述距离数据,检测终端前机主用户的状态。According to the distance data, the status of the main user in front of the terminal is detected.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元用于根据所述距离数据,检测终端前机主用户的状态时,具体用于:According to the above aspect and any possible implementation manner, an implementation manner is further provided, when the detection unit is configured to detect the status of the user of the front terminal of the terminal according to the distance data, it is specifically configured to:

若所述距离数据大于或者等于预设的距离阈值,或者,所述距离数据为超出检测距离的指示信号,采集终端前图像;If the distance data is greater than or equal to a preset distance threshold, or if the distance data is an indication signal exceeding a detection distance, collect an image in front of the terminal;

根据所述终端前图像,检测终端前机主用户的状态。According to the image in front of the terminal, the state of the main user in front of the terminal is detected.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元用于根据所述终端前图像,检测终端前机主用户的状态时,具体用于:According to the above aspect and any possible implementation manner, an implementation manner is further provided, when the detection unit is configured to detect the status of the main user of the front terminal of the terminal according to the image in front of the terminal, it is specifically configured to:

对所述终端前图像进行人脸识别处理;performing face recognition processing on the image in front of the terminal;

若没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。If the image of the owner user is not recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user leaves the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元,还用于:若所述距离数据小于所述距离阈值,确定所述终端前机主用户的状态为机主用户未离开终端。According to the above aspect and any possible implementation, an implementation is further provided, the detection unit is further configured to: if the distance data is less than the distance threshold, determine the status of the main user of the terminal The host user has not left the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元,还用于:若从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the detection unit is further configured to: if the image of the owner user is recognized from the image in front of the terminal, determine the The status of the host user in front of the terminal is that the host user has not left the terminal.

本发明实施例的一方面,提供一种终端的控制系统,包括:An aspect of the embodiments of the present invention provides a terminal control system, including:

检测单元,用于在终端处于锁定状态下,采集终端当前用户的图像;A detection unit, configured to collect an image of the current user of the terminal when the terminal is in a locked state;

所述检测单元,还用于根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户;The detection unit is further configured to determine whether the current user of the terminal is the owner user according to the image of the current user of the terminal;

控制单元,用于若所述终端当前用户是所述机主用户,解除所述终端的锁定状态。A control unit, configured to release the locked state of the terminal if the current user of the terminal is the owner user.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述控制单元,还用于:According to the above aspect and any possible implementation manner, an implementation manner is further provided, the control unit is further configured to:

若所述终端当前用户不是所述机主用户,保持所述终端的锁定状态。If the current user of the terminal is not the owner user, keep the locked state of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述控制单元,还用于:According to the above aspect and any possible implementation manner, an implementation manner is further provided, the control unit is further configured to:

若所述终端当前用户不是所述机主用户,执行以下操作中至少一个:If the current user of the terminal is not the owner user, perform at least one of the following operations:

将所述终端当前用户的图像保存在终端中;saving the image of the current user of the terminal in the terminal;

将所述终端当前用户的图像上传至服务器;uploading the image of the current user of the terminal to the server;

采集所述终端当前用户的视频数据,将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以及,collecting video data of the current user of the terminal, and sending the video data or the video data and an image of the current user of the terminal to the owner user of the terminal; and,

向所述终端的机主用户发送报警提示信息。Sending alarm prompt information to the owner user of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元,具体用于:According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, the detection unit is specifically configured to:

利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理,以获得人脸识别处理结果;performing face recognition processing on the image of the current user of the terminal by using a face recognition algorithm to obtain a face recognition processing result;

根据所述人脸识别处理结果,判断所述终端当前用户是否为机主用户。According to the face recognition processing result, it is judged whether the current user of the terminal is the owner user.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元还用于:According to the above aspect and any possible implementation manner, an implementation manner is further provided, the detection unit is further configured to:

若所述终端当前用户是所述机主用户,根据所述终端当前用户的图像,对所述人脸识别算法进行更新。If the current user of the terminal is the owner user, the face recognition algorithm is updated according to the image of the current user of the terminal.

如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述检测单元,具体用于:According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, the detection unit is specifically configured to:

在终端处于锁定状态下,检测终端前是否有用户和/或检测所述终端是否发生振动,以获得检测结果;When the terminal is in a locked state, detecting whether there is a user in front of the terminal and/or detecting whether the terminal vibrates to obtain a detection result;

若所述检测结果包括检测到所述终端前有用户和检测到所述终端发生振动中至少一个,采集终端当前用户的图像。If the detection result includes at least one of detection of a user in front of the terminal and detection of vibration of the terminal, collect an image of the current user of the terminal.

由以上技术方案可以看出,本发明实施例具有以下有益效果:It can be seen from the above technical solutions that the embodiments of the present invention have the following beneficial effects:

本发明实施例提供的技术方案,能够实现在终端处于未锁定状态下,自动获取终端前机主用户的状态,并在确定机主用户离开终端后,自动进行终端的锁定,因此降低了终端的锁定操作成本,提高锁定效率。而且,可以避免在机主用户离开终端后,终端被其他用户使用,因此提高了终端可靠性和安全性。The technical solution provided by the embodiment of the present invention can automatically acquire the status of the front owner user of the terminal when the terminal is in an unlocked state, and automatically lock the terminal after it is determined that the owner user has left the terminal, thereby reducing the cost of the terminal. Lock operating costs and improve locking efficiency. Moreover, it can prevent the terminal from being used by other users after the owner user leaves the terminal, thus improving the reliability and security of the terminal.

【附图说明】【Description of drawings】

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative labor.

图1是本发明实施例所提供的终端的控制方法的实施例一的流程示意图;FIG. 1 is a schematic flowchart of Embodiment 1 of a method for controlling a terminal provided by an embodiment of the present invention;

图2是本发明实施例所提供的终端的外设装置的示例图;FIG. 2 is an example diagram of a peripheral device of a terminal provided by an embodiment of the present invention;

图3是本发明实施例所提供的终端的控制方法的实施例二的流程示意图;FIG. 3 is a schematic flowchart of Embodiment 2 of a method for controlling a terminal provided by an embodiment of the present invention;

图4是本发明实施例所提供的终端的控制系统的实施例一的结构示例图;FIG. 4 is a structural example diagram of Embodiment 1 of a terminal control system provided by an embodiment of the present invention;

图5是本发明实施例所提供的终端的控制系统的实施例二的结构示例图。Fig. 5 is a structural example diagram of Embodiment 2 of the terminal control system provided by the embodiment of the present invention.

【具体实施方式】【Detailed ways】

为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。In order to better understand the technical solutions of the present invention, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly dictates otherwise.

应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used herein is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B, which may mean that A exists alone, and A and B exist simultaneously. B, there are three situations of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.

取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" could be interpreted as "when determined" or "in response to the determination" or "when detected (the stated condition or event) )" or "in response to detection of (a stated condition or event)".

实施例一Embodiment one

本发明实施例给出一种终端的控制方法,请参考图1,其为本发明实施例所提供的终端的控制方法的实施例一的流程示意图,如图所示,该方法包括以下步骤:An embodiment of the present invention provides a method for controlling a terminal. Please refer to FIG. 1 , which is a schematic flowchart of Embodiment 1 of a method for controlling a terminal provided in an embodiment of the present invention. As shown in the figure, the method includes the following steps:

S101,在终端处于未锁定状态下,检测终端前机主用户的状态。S101. When the terminal is in an unlocked state, detect the state of the terminal's front host user.

S102,若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。S102, if it is detected that the status of the owner user in front of the terminal is that the owner user leaves the terminal, perform a locking operation on the terminal.

举例说明,本发明实施例中,在终端处于未锁定状态下,检测终端前机主用户的状态的方法可以包括但不限于:For example, in the embodiment of the present invention, when the terminal is in an unlocked state, the method for detecting the state of the previous owner user of the terminal may include but not limited to:

首先,在终端处于未锁定状态下,检测所述终端与所述终端前机主用户之间的距离数据。然后,根据所述距离数据,检测终端前机主用户的状态。First, when the terminal is in an unlocked state, the distance data between the terminal and the previous owner user of the terminal is detected. Then, according to the distance data, the status of the owner user of the terminal is detected.

在一个具体的实现过程中,可以利用距离检测模块检测所述终端与所述终端前机主用户的距离数据。例如,所述距离检测模块可以为距离传感器。所述距离检测模块可以位于所述终端内,或者,也可以位于所述终端外,本发明实施例对此不进行特别限定。例如,如图2所示,所述距离检测模块可以位于所述终端上方,作为所述终端的外设装置。In a specific implementation process, the distance detection module may be used to detect the distance data between the terminal and the previous owner user of the terminal. For example, the distance detection module may be a distance sensor. The distance detection module may be located inside the terminal, or may be located outside the terminal, which is not particularly limited in this embodiment of the present invention. For example, as shown in FIG. 2 , the distance detection module may be located above the terminal as a peripheral device of the terminal.

举例说明,本发明实施例中,根据所述距离数据,检测终端前机主用户的状态的方法可以包括但不限于:For example, in the embodiment of the present invention, according to the distance data, the method for detecting the state of the user of the previous terminal may include but not limited to:

首先,若所述终端与所述终端前机主用户之间的距离没有超出所述距离检测模块的检测距离,则所述距离检测模块检测到的距离数据就是所述终端与终端前机主用户之间的距离数值。进而,可以将检测到的所述距离数据与预设的距离阈值进行比较。若所述距离数据大于或者等于预设的距离阈值,表示机主用户已经离开所述终端较远,为了进一步确定机主用户已经离开所述终端较远,则继续采集终端前图像。反之,若所述距离数据小于所述距离阈值,表示机主用户没有离开所述终端比较远的距离,则确定所述终端前机主用户的状态为机主用户未离开终端。First, if the distance between the terminal and the main user in front of the terminal does not exceed the detection distance of the distance detection module, the distance data detected by the distance detection module is the distance between the terminal and the main user in front of the terminal. distance between values. Furthermore, the detected distance data may be compared with a preset distance threshold. If the distance data is greater than or equal to the preset distance threshold, it means that the owner user has moved far away from the terminal, and in order to further determine that the owner user has moved far away from the terminal, continue to collect images in front of the terminal. On the contrary, if the distance data is less than the distance threshold, it means that the owner user has not left the terminal for a relatively long distance, and the status of the owner user before the terminal is determined as the owner user has not left the terminal.

或者,若所述终端与所述终端前机主用户之间的距离超出了所述距离检测模块的检测距离,则所述距离检测模块检测到的距离数据就是能够表示超出检测距离的指示信号。进而,若所述终端所述距离数据为超出检测距离的指示信号,表示机主用户已经离开所述终端较远,导致距离检测模块都无法检测到所述终端与所述机主用户之间的距离,为了进一步确定机主用户已经离开所述终端较远,则继续采集终端前图像。Or, if the distance between the terminal and the previous owner user of the terminal exceeds the detection distance of the distance detection module, the distance data detected by the distance detection module is an indication signal that can indicate that the detection distance is exceeded. Furthermore, if the distance data of the terminal is an indication signal exceeding the detection distance, it means that the owner user has left the terminal far away, so that the distance detection module cannot detect the distance between the terminal and the owner user. In order to further determine that the owner and user have left the terminal far away, continue to collect images in front of the terminal.

然后,若采集到终端前图像,则根据所述终端前图像,检测终端前机主用户的状态。Then, if the image in front of the terminal is collected, the status of the owner user in front of the terminal is detected according to the image in front of the terminal.

在一个具体的实现过程中,可以利用图像采集模块采集终端前图像。例如,所述图像采集模块可以为摄像头。其中,所述图像采集模块可以位于所述终端内,或者,也可以位于所述终端外,本发明实施例对此不进行特别限定。例如,如图2所示,所述图像采集模块可以位于所述终端上方,作为所述终端的外设装置。In a specific implementation process, the image in front of the terminal can be collected by using the image collection module. For example, the image acquisition module may be a camera. Wherein, the image acquisition module may be located in the terminal, or may be located outside the terminal, which is not particularly limited in this embodiment of the present invention. For example, as shown in FIG. 2, the image acquisition module may be located above the terminal and serve as a peripheral device of the terminal.

举例说明,本发明实施例中,根据所述终端前图像,检测终端前机主用户的状态的方法可以包括但不限于:For example, in the embodiment of the present invention, the method for detecting the status of the owner user of the front terminal according to the image in front of the terminal may include but not limited to:

对所述终端前图像进行人脸识别处理。若没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。反之,若从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。Face recognition processing is performed on the image in front of the terminal. If the image of the owner user is not recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user leaves the terminal. Conversely, if the image of the owner user is recognized from the image in front of the terminal, it is determined that the owner user in front of the terminal has not left the terminal.

在一个具体的实现过程中,可以利用人脸识别算法对所述终端前图像进行人脸识别处理。In a specific implementation process, a face recognition algorithm may be used to perform face recognition processing on the image in front of the terminal.

在一个具体的实现过程中,所述终端可以将采集的所述终端前图像,通过网络发送给所述服务器,以便于服务器利用人脸识别算法对所述终端前图像进行人脸识别处理,并将人脸识别结果返回给所述终端,所述终端根据人脸识别结果,检测终端前机主用户的状态。或者,也可以所述终端利用人脸识别算法对所述终端前图像进行人脸识别处理,并获得人脸识别结果,根据人脸识别结果,检测终端前机主用户的状态。In a specific implementation process, the terminal may send the collected image in front of the terminal to the server through the network, so that the server uses a face recognition algorithm to perform face recognition processing on the image in front of the terminal, and The face recognition result is returned to the terminal, and the terminal detects the state of the terminal's front owner user according to the face recognition result. Alternatively, the terminal may use a face recognition algorithm to perform face recognition processing on the image in front of the terminal, obtain a face recognition result, and detect the status of the main user of the terminal front according to the face recognition result.

举例说明,利用人脸识别算法对所述终端前图像进行人脸识别处理的方法可以包括但不限于:For example, the method of performing face recognition processing on the image in front of the terminal using a face recognition algorithm may include but not limited to:

对所述终端前图像进行人脸图像检测,以获取出所述终端前图像中人脸的位置和大小。如果成功获取到所述终端前图像中人脸的位置和大小,则可以继续根据所述终端前图像中人脸的位置和大小,对所述终端前图像进行预处理。反之,若无法获取到所述终端前图像中人脸的位置和大小,则认为没有从所述终端前图像中识别出所述机主用户的图像。然后,基于人脸图像检测的结果,对人脸图像进行预处理,该预处理可以包括光线补偿、灰度变换、直方图均衡化、归一化、几何校正、滤波以及锐化等处理。对经过预处理后的人脸图像,进行人脸特征提取处理,用以从人脸图像中提取出视觉特征、像素统计特征、人脸图像变换系数特征、人脸图像代数特征等特征。最后,将提取的人脸特征与预先存储的机主用户的特征模板进行匹配,若两者的相似度大于或者等于预设的相似阈值,则认为从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。或者,若两者的相似度小于或者所述相似阈值,则认为没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。Face image detection is performed on the image in front of the terminal to obtain the position and size of the face in the image in front of the terminal. If the position and size of the human face in the pre-terminal image are successfully acquired, preprocessing may continue to be performed on the pre-terminal image according to the position and size of the human face in the pre-terminal image. Conversely, if the position and size of the human face in the image in front of the terminal cannot be obtained, it is considered that the image of the owner user has not been recognized from the image in front of the terminal. Then, based on the face image detection result, the face image is preprocessed, and the preprocessing may include light compensation, grayscale transformation, histogram equalization, normalization, geometric correction, filtering, and sharpening. Face feature extraction is performed on the preprocessed face image to extract features such as visual features, pixel statistical features, face image transformation coefficient features, and face image algebraic features from the face image. Finally, match the extracted facial features with the pre-stored feature template of the owner user, and if the similarity between the two is greater than or equal to the preset similarity threshold, it is considered that the machine is identified from the image in front of the terminal. The image of the main user determines that the status of the main user in front of the terminal is that the main user has not left the terminal. Or, if the similarity between the two is less than or the similarity threshold, it is considered that the image of the owner user is not recognized from the image in front of the terminal, and the state of the owner user in front of the terminal is determined as the owner user leaving terminal.

在一个具体的实现过程中,若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。这样,在检测到机主用户离开终端后,对所述终端自动执行锁定,可以避免其他用户使用所述机主用户的终端,从而避免机主用户的个人重要信息、工作重要信息等被恶意窃取,提高了终端安全性和可靠性,而且自动锁定操作,可以降低终端的锁定操作成本,提高锁定效率。In a specific implementation process, if it is detected that the status of the owner user before the terminal is that the owner user has left the terminal, a locking operation is performed on the terminal. In this way, after detecting that the owner user has left the terminal, the terminal is automatically locked, which can prevent other users from using the terminal of the owner user, thereby preventing the owner user from maliciously stealing important personal information and important work information. , improve the security and reliability of the terminal, and the automatic locking operation can reduce the cost of the terminal locking operation and improve the locking efficiency.

在一个具体的实现过程中,若检测到终端前机主用户的状态为机主用户未离开终端,不对所述终端执行锁定操作,保持所述终端的未锁定状态。In a specific implementation process, if it is detected that the status of the owner user of the terminal is that the owner user has not left the terminal, no locking operation is performed on the terminal, and the unlocked state of the terminal is maintained.

在一个具体的实现过程中,在对所述终端执行锁定操作后,可以控制图像采集模块进入待机省电模式。还可以控制距离检测模块和振动检测模块中至少一个,保持对终端的监控状态,这样,在终端处于锁定状态时,距离检测模块和振动检测模块中至少一个对终端进行监控。In a specific implementation process, after the terminal is locked, the image acquisition module may be controlled to enter a standby power-saving mode. It is also possible to control at least one of the distance detection module and the vibration detection module to maintain the monitoring state of the terminal. In this way, when the terminal is in the locked state, at least one of the distance detection module and the vibration detection module monitors the terminal.

需要说明的是,本发明实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机等。It should be noted that the terminals involved in the embodiments of the present invention may include but not limited to personal computers (Personal Computer, PC), personal digital assistants (Personal Digital Assistant, PDA), wireless handheld devices, tablet computers (Tablet Computer), cell phone etc.

需要说明的是,S101~S103的执行主体可以为终端的控制系统,该终端的控制系统可以位于所述终端中,或者还可以部分位于终端中,其余部分位于终端的外设装置中,本发明实施例对此不进行特别限定。It should be noted that the execution subject of S101-S103 may be the control system of the terminal, and the control system of the terminal may be located in the terminal, or part of it may be located in the terminal, and the rest is located in the peripheral device of the terminal. Examples do not specifically limit this.

实施例二Embodiment two

本发明实施例给出一种终端的控制方法,请参考图3,其为本发明实施例所提供的终端的控制方法的实施例二的流程示意图,如图所示,该方法包括以下步骤:An embodiment of the present invention provides a method for controlling a terminal. Please refer to FIG. 3 , which is a schematic flowchart of Embodiment 2 of a method for controlling a terminal provided in an embodiment of the present invention. As shown in the figure, the method includes the following steps:

S301,在终端处于锁定状态下,采集终端当前用户的图像。S301. When the terminal is in a locked state, collect an image of the current user of the terminal.

S302,根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户。S302. Determine whether the current terminal user is an owner user according to the image of the current terminal user.

S303,若所述终端当前用户是所述机主用户,解除所述终端的锁定状态。S303. If the current user of the terminal is the owner user, release the locked state of the terminal.

需要说明的是,本发明实施例所提供的终端的控制方法其实质是在终端处于锁定状态下,对终端的解锁方法。可理解的是,该解锁方法可以是基于上述实施例一所提供的终端的控制方法里描述的终端的锁定方法,或者,该解锁方法还可以是基于用户手动锁定终端的方法,本发明实施例对此不进行特别限定。It should be noted that the terminal control method provided by the embodiment of the present invention is essentially a method for unlocking the terminal when the terminal is in a locked state. It can be understood that the unlocking method can be based on the terminal locking method described in the terminal control method provided in the first embodiment above, or the unlocking method can also be based on the method of manually locking the terminal by the user. This is not particularly limited.

举例说明,本发明实施例中,在终端处于锁定状态下,采集终端当前用户的图像的方法可以包括但不限于:For example, in the embodiment of the present invention, when the terminal is locked, the method for collecting the image of the current user of the terminal may include but not limited to:

首先,在终端处于锁定状态下,检测终端前是否有用户和/或检测所述终端是否发生振动,以获得检测结果。然后,若所述检测结果包括检测到所述终端前有用户和检测到所述终端发生振动中至少一个,采集终端当前用户的图像。First, when the terminal is in a locked state, it is detected whether there is a user in front of the terminal and/or whether the terminal vibrates, so as to obtain a detection result. Then, if the detection result includes at least one of detection of a user in front of the terminal and detection of vibration of the terminal, an image of the current user of the terminal is collected.

基于实施例一所提供的终端的控制方法中提到的,在所述终端处于锁定状态下,距离检测模块和振动检测模块中至少一个保持对终端的监控状态,因此,可以利用所述距离检测模块检测终端前是否有用户,若终端当前用户与所述终端之间的距离在所述距离检测模块的检测范围内,所述距离检测模块可以检测到所述终端当前用户与所述终端之间的距离数据,若该距离数据小于预设的距离阈值,则认为终端前有用户。反之,若该距离数据大于或者等于预设的距离阈值,则认为终端前没有用户。Based on what is mentioned in the terminal control method provided in Embodiment 1, when the terminal is in the locked state, at least one of the distance detection module and the vibration detection module maintains the monitoring state of the terminal, therefore, the distance detection can be used The module detects whether there is a user in front of the terminal. If the distance between the current user of the terminal and the terminal is within the detection range of the distance detection module, the distance detection module can detect the distance between the current user of the terminal and the terminal. If the distance data is less than the preset distance threshold, it is considered that there is a user in front of the terminal. On the contrary, if the distance data is greater than or equal to the preset distance threshold, it is considered that there is no user in front of the terminal.

另外,可以利用所述振动检测模块检测所述终端是否发生振动,若所述终端被其他用户破坏或者所述振动检测模块被其他用户破坏,所述振动检测模块可以检测到所述终端的振动参数,若该振动参数大于或者等于预设的振动阈值,说明终端的振动超过正常水平,则认为所述终端发生振动,反之,若所述振动参数小于预设的振动阈值,说明终端的振动属于正常水平,如终端轻微晃动等,则认为所述终端没有发生振动。In addition, the vibration detection module can be used to detect whether the terminal vibrates, and if the terminal is damaged by other users or the vibration detection module is damaged by other users, the vibration detection module can detect the vibration parameters of the terminal , if the vibration parameter is greater than or equal to the preset vibration threshold, it means that the vibration of the terminal exceeds the normal level, and the terminal is considered to be vibrating; otherwise, if the vibration parameter is less than the preset vibration threshold, it means that the vibration of the terminal is normal If the terminal shakes slightly, it is considered that the terminal does not vibrate.

在一个具体的实现过程中,所述振动检测模块可以为振动传感器。所述振动检测模块可以位于所述终端内,或者,也可以位于所述终端外,本发明实施例对此不进行特别限定。例如,如图2所示,所述振动检测模块可以位于所述终端上方,作为所述终端的外设装置。In a specific implementation process, the vibration detection module may be a vibration sensor. The vibration detection module may be located inside the terminal, or may also be located outside the terminal, which is not particularly limited in this embodiment of the present invention. For example, as shown in FIG. 2 , the vibration detection module may be located above the terminal as a peripheral device of the terminal.

在一个具体的实现过程中,若存在检测到所述终端前有用户和检测到所述终端发生振动中至少一个,则触发图像采集模块,受到触发的图像采集模块由之前的待机省电模式进入工作模式,并采集终端当前用户的图像。In a specific implementation process, if there is at least one of detecting that there is a user in front of the terminal and detecting that the terminal is vibrating, the image acquisition module is triggered, and the triggered image acquisition module enters from the previous standby power-saving mode working mode, and collect images of the current user of the terminal.

举例说明,本发明实施例中,根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户的方法可以包括但不限于:For example, in the embodiment of the present invention, according to the image of the current user of the terminal, the method for judging whether the current user of the terminal is the owner user may include but not limited to:

首先,利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理,以获得人脸识别处理结果。然后,根据所述人脸识别处理结果,判断所述终端当前用户是否为机主用户。First, face recognition processing is performed on the image of the current user of the terminal by using a face recognition algorithm to obtain a face recognition processing result. Then, according to the face recognition processing result, it is judged whether the current user of the terminal is the owner user.

需要说明的是,利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理的方法可以参考实施例一中描述的利用人脸识别算法对所述终端前图像进行人脸识别处理的方法,这里不再赘述。It should be noted that, the method of performing face recognition processing on the image of the current user of the terminal by using the face recognition algorithm can refer to the method of performing face recognition processing on the image in front of the terminal by using the face recognition algorithm described in Embodiment 1. method, which will not be repeated here.

在一个具体的实现过程中,若所述人脸识别处理结果为所述终端前用户的人脸特征与预先存储的机主用户的特征模板的相似度大于或者等于预设的相似阈值,则判断出所述终端当前用户是机主用户;反之,若所述人脸识别处理结果为所述终端前用户的人脸特征与预先存储的机主用户的特征模板的相似度小于所述相似阈值,则判断出所述终端当前用户不是机主用户。In a specific implementation process, if the result of the face recognition processing is that the similarity between the face features of the user in front of the terminal and the pre-stored feature template of the owner user is greater than or equal to a preset similarity threshold, it is determined that If the current user of the terminal is the owner user; on the contrary, if the face recognition processing result shows that the similarity between the facial features of the front user of the terminal and the pre-stored feature template of the owner user is less than the similarity threshold, Then it is determined that the current user of the terminal is not the owner user.

在一个具体的实现过程中,若所述终端当前用户不是所述机主用户,保持所述终端的锁定状态,不解除所述终端的锁定状态,以避免所述终端当前用户使用所述机主用户的终端,从而避免机主用户的个人重要信息、工作重要信息等被恶意窃取,提高了终端安全性和可靠性。In a specific implementation process, if the current user of the terminal is not the owner user, the locked state of the terminal is maintained and the locked state of the terminal is not released, so as to prevent the current user of the terminal from using the owner The user's terminal, thereby avoiding malicious theft of important personal information and important work information of the owner and user, and improving terminal security and reliability.

在一个具体的实现过程中,若所述终端当前用户不是所述机主用户,还可以执行以下操作中至少一个:In a specific implementation process, if the current user of the terminal is not the owner user, at least one of the following operations may also be performed:

将所述终端当前用户的图像保存在终端中;saving the image of the current user of the terminal in the terminal;

将所述终端当前用户的图像上传至服务器;uploading the image of the current user of the terminal to the server;

采集所述终端当前用户的视频数据,将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以及,collecting video data of the current user of the terminal, and sending the video data or the video data and an image of the current user of the terminal to the owner user of the terminal; and,

向所述终端的机主用户发送报警提示信息。Sending alarm prompt information to the owner user of the terminal.

可以理解的是,将所述终端当前用户的图像保存在终端中,可以便于终端的机主用户在回到终端前后,能够获知有其他用户非法操作终端,并获取到该当前用户的信息,采取相应的措施。It can be understood that saving the image of the current user of the terminal in the terminal can make it easier for the owner user of the terminal to know that other users have illegally operated the terminal before and after returning to the terminal, and obtain the information of the current user. Appropriate measures.

可以理解的是,将所述终端当前用户的图像上传至服务器,可以便于所述机主用户能够获知有其他用户非法操作终端。并在机主用户不能及时回到终端前的情况下,所述机主用户可以通过其他终端登录服务器来获取该当前用户的信息,并采取相应的措施。It can be understood that uploading the image of the current user of the terminal to the server can facilitate the owner user to know that other users illegally operate the terminal. And when the owner user cannot return to the terminal in time, the owner user can log in to the server through other terminals to obtain the current user's information, and take corresponding measures.

在一个具体的实现过程中,若判断出所述终端当前用户不是所述机主用户,可以利用图像采集模块,采集所述终端当前用户的视频数据,然后将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以便于终端的机主用户能够获知有其他用户非法操作终端,机主用户能够及时获取该当前用户的信息,并采取相应的措施。In a specific implementation process, if it is determined that the current user of the terminal is not the owner user, the image collection module may be used to collect video data of the current user of the terminal, and then the video data or the video data and the image of the current user of the terminal are sent to the owner user of the terminal; so that the owner user of the terminal can know that other users illegally operate the terminal, the owner user can obtain the information of the current user in time, and take corresponding measures measures.

或者,也可以通过短信息向所述终端的机主用户发送报警提示信息,以便于终端的机主用户能够获知有其他用户非法操作终端,机主用户能够及时获取该当前用户的信息,并采取相应的措施。Or, it is also possible to send an alarm message to the owner user of the terminal through a short message, so that the owner user of the terminal can know that there are other users illegally operating the terminal, and the owner user can obtain the information of the current user in time, and take actions Appropriate measures.

在一个具体的实现过程中,若所述终端当前用户是所述机主用户,还可以根据所述终端当前用户的图像,对所述人脸识别算法进行更新。In a specific implementation process, if the current user of the terminal is the owner user, the face recognition algorithm may also be updated according to the image of the current user of the terminal.

例如,若利用人脸识别算法对所述终端当前用户的图像进行人脸识别的执行主体位于服务器端,则在所述终端当前用户是所述机主用户的情况下,图像采集模块需要将采集的所述终端当前用户的图像发送给所述服务器,以便于所述服务器根据终端当前用户的图像,对本地的人脸识别算法进行更新,从而提高人脸识别的效率和准确率。For example, if the execution body that uses the face recognition algorithm to perform face recognition on the image of the current user of the terminal is located on the server side, then if the current user of the terminal is the owner user, the image collection module needs to collect The image of the current user of the terminal is sent to the server, so that the server can update the local face recognition algorithm according to the image of the current user of the terminal, thereby improving the efficiency and accuracy of face recognition.

或者,再例如,若利用人脸识别算法对所述终端当前用户的图像进行人脸识别的执行主体位于终端,且所述图像采集模块位于终端外,则在所述终端当前用户是所述机主用户的情况下,图像采集模块需要将采集的所述终端当前用户的图像发送给所述终端,以便于所述终端根据终端当前用户的图像,对本地的人脸识别算法进行更新,从而提高人脸识别的效率和准确率。Or, for another example, if the body performing face recognition on the image of the current user of the terminal by using the face recognition algorithm is located in the terminal, and the image acquisition module is located outside the terminal, then the current user of the terminal is the In the case of the main user, the image collection module needs to send the collected image of the current user of the terminal to the terminal, so that the terminal can update the local face recognition algorithm according to the image of the current user of the terminal, thereby improving Efficiency and accuracy of face recognition.

需要说明的是,S301~S303的执行主体可以为终端的控制系统,该终端的控制系统可以位于所述终端中,或者还可以部分位于终端中,其余部分位于终端的外设装置中,本发明实施例对此不进行特别限定。It should be noted that the execution subject of S301-S303 may be the control system of the terminal, and the control system of the terminal may be located in the terminal, or part of it may be located in the terminal, and the rest is located in the peripheral device of the terminal. Examples do not specifically limit this.

本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。Embodiments of the present invention further provide device embodiments for implementing the steps and methods in the above method embodiments.

请参考图4,其为本发明实施例所提供的终端的控制系统的实施例一的结构示例图。如图所示,该系统包括:Please refer to FIG. 4 , which is a structural example diagram of Embodiment 1 of a terminal control system provided by an embodiment of the present invention. As shown, the system includes:

检测单元40,用于在终端处于未锁定状态下,检测终端前机主用户的状态;A detection unit 40, configured to detect the state of the terminal's front-end owner user when the terminal is in an unlocked state;

控制单元41,用于若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。The control unit 41 is configured to perform a locking operation on the terminal if it is detected that the status of the owner user in front of the terminal is that the owner user leaves the terminal.

优选的,所述检测单元40,具体用于:Preferably, the detection unit 40 is specifically used for:

在终端处于未锁定状态下,检测所述终端与所述终端前机主用户之间的距离数据;When the terminal is in an unlocked state, detecting the distance data between the terminal and the previous owner user of the terminal;

根据所述距离数据,检测终端前机主用户的状态。According to the distance data, the status of the main user in front of the terminal is detected.

优选的,所述检测单元40用于根据所述距离数据,检测终端前机主用户的状态时,具体用于:Preferably, when the detection unit 40 is used to detect the status of the user of the front terminal of the terminal according to the distance data, it is specifically used for:

若所述距离数据大于或者等于预设的距离阈值,或者,所述距离数据为超出检测距离的指示信号,采集终端前图像;If the distance data is greater than or equal to a preset distance threshold, or if the distance data is an indication signal exceeding a detection distance, collect an image in front of the terminal;

根据所述终端前图像,检测终端前机主用户的状态。According to the image in front of the terminal, the state of the main user in front of the terminal is detected.

优选的,所述检测单元40用于根据所述终端前图像,检测终端前机主用户的状态时,具体用于:Preferably, when the detection unit 40 is configured to detect the status of the user of the front terminal of the terminal according to the image in front of the terminal, it is specifically used for:

对所述终端前图像进行人脸识别处理;performing face recognition processing on the image in front of the terminal;

若没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。If the image of the owner user is not recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user leaves the terminal.

可选的,所述检测单元40,还用于:若所述距离数据小于所述距离阈值,确定所述终端前机主用户的状态为机主用户未离开终端。Optionally, the detection unit 40 is further configured to: if the distance data is less than the distance threshold, determine that the status of the owner user before the terminal is that the owner user has not left the terminal.

可选的,所述检测单元40,还用于:若从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。Optionally, the detection unit 40 is further configured to: if the image of the owner user is recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user has not left the terminal.

由于本实施例中的各单元能够执行图1所示的方法,本实施例未详细描述的部分,可参考对图1的相关说明。Since each unit in this embodiment can execute the method shown in FIG. 1 , for parts not described in detail in this embodiment, reference may be made to the relevant description of FIG. 1 .

可以理解的是,所述检测单元40可以集成上述实施例中描述的图像采集模块、距离检测模块和振动检测模块等。It can be understood that the detection unit 40 may integrate the image acquisition module, the distance detection module, the vibration detection module and the like described in the above embodiments.

请参考图5,其为本发明实施例所提供的终端的控制系统的实施例二的结构示例图。如图所示,该系统包括:Please refer to FIG. 5 , which is a structural example diagram of Embodiment 2 of a terminal control system provided by an embodiment of the present invention. As shown, the system includes:

检测单元50,用于在终端处于锁定状态下,采集终端当前用户的图像;The detection unit 50 is configured to collect an image of the current user of the terminal when the terminal is in a locked state;

所述检测单元50,还用于根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户;The detection unit 50 is further configured to judge whether the current user of the terminal is the owner user according to the image of the current user of the terminal;

控制单元51,用于若所述终端当前用户是所述机主用户,解除所述终端的锁定状态。The control unit 51 is configured to release the locked state of the terminal if the current user of the terminal is the owner user.

可选的,所述控制单元51,还用于:若所述终端当前用户不是所述机主用户,保持所述终端的锁定状态。Optionally, the control unit 51 is further configured to: if the current user of the terminal is not the owner user, keep the terminal locked.

可选的,所述控制单元51,还用于:Optionally, the control unit 51 is also used for:

若所述终端当前用户不是所述机主用户,执行以下操作中至少一个:If the current user of the terminal is not the owner user, perform at least one of the following operations:

将所述终端当前用户的图像保存在终端中;saving the image of the current user of the terminal in the terminal;

将所述终端当前用户的图像上传至服务器;uploading the image of the current user of the terminal to the server;

采集所述终端当前用户的视频数据,将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以及,collecting video data of the current user of the terminal, and sending the video data or the video data and an image of the current user of the terminal to the owner user of the terminal; and,

向所述终端的机主用户发送报警提示信息。Sending alarm prompt information to the owner user of the terminal.

优选的,所述检测单元50,具体用于:Preferably, the detection unit 50 is specifically used for:

利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理,以获得人脸识别处理结果;performing face recognition processing on the image of the current user of the terminal by using a face recognition algorithm to obtain a face recognition processing result;

根据所述人脸识别处理结果,判断所述终端当前用户是否为机主用户。According to the face recognition processing result, it is judged whether the current user of the terminal is the owner user.

可选的,所述检测单元50还用于:Optionally, the detection unit 50 is also used for:

若所述终端当前用户是所述机主用户,根据所述终端当前用户的图像,对所述人脸识别算法进行更新。If the current user of the terminal is the owner user, the face recognition algorithm is updated according to the image of the current user of the terminal.

优选的,所述检测单元50,具体用于:Preferably, the detection unit 50 is specifically used for:

在终端处于锁定状态下,检测终端前是否有用户和/或检测所述终端是否发生振动,以获得检测结果;When the terminal is in a locked state, detecting whether there is a user in front of the terminal and/or detecting whether the terminal vibrates to obtain a detection result;

若所述检测结果包括检测到所述终端前有用户和检测到所述终端发生振动中至少一个,采集终端当前用户的图像。If the detection result includes at least one of detection of a user in front of the terminal and detection of vibration of the terminal, collect an image of the current user of the terminal.

由于本实施例中的各单元能够执行图3所示的方法,本实施例未详细描述的部分,可参考对图3的相关说明。Since each unit in this embodiment can execute the method shown in FIG. 3 , for parts not described in detail in this embodiment, reference may be made to the relevant description of FIG. 3 .

可以理解的是,所述检测单元50可以集成上述实施例中描述的图像采集模块、距离检测模块和振动检测模块等。It can be understood that the detection unit 50 may integrate the image acquisition module, the distance detection module, the vibration detection module and the like described in the above embodiments.

本发明实施例的技术方案具有以下有益效果:The technical solutions of the embodiments of the present invention have the following beneficial effects:

本发明实施例中,通过在终端处于未锁定状态下,检测终端前机主用户的状态;从而,若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作。In the embodiment of the present invention, when the terminal is in an unlocked state, the state of the front owner user of the terminal is detected; thus, if it is detected that the state of the front owner user of the terminal is that the owner user has left the terminal, the terminal is locked. .

本发明实施例提供的技术方案,能够实现在终端处于未锁定状态下,自动获取终端前机主用户的状态,并在确定机主用户离开终端后,自动进行终端的锁定,因此降低了终端的锁定操作成本,提高锁定效率。而且,可以避免在机主用户离开终端后,终端被其他用户使用,因此提高了终端可靠性和安全性。The technical solution provided by the embodiment of the present invention can automatically acquire the status of the front owner user of the terminal when the terminal is in an unlocked state, and automatically lock the terminal after it is determined that the owner user has left the terminal, thereby reducing the cost of the terminal. Lock operating costs and improve locking efficiency. Moreover, it can prevent the terminal from being used by other users after the owner user leaves the terminal, thus improving the reliability and security of the terminal.

另外,本发明实施例中,在终端处于锁定状态下,采集终端当前用户的图像;从而,根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户。进而,若所述终端当前用户是所述机主用户,解除所述终端的锁定状态。In addition, in the embodiment of the present invention, when the terminal is in a locked state, the image of the current user of the terminal is collected; thus, according to the image of the current user of the terminal, it is judged whether the current user of the terminal is the owner user. Furthermore, if the current user of the terminal is the owner user, the locked state of the terminal is released.

本发明实施例提供的技术方案,能够实现在终端处于锁定状态下,基于终端当前用户的图像,判断终端当前用户是否为机主用户,并在终端当前用户是机主用户的前提下,自动进行终端的解锁,因此降低了终端的解锁操作成本,提高解锁效率。而且,可以只有当前用户是机主用户时,才进行终端的解锁,以避免终端被其他用户使用,因此提高了终端可靠性和安全性。The technical solution provided by the embodiment of the present invention can realize whether the current user of the terminal is the owner user based on the image of the current terminal user when the terminal is in the locked state, and automatically perform the process on the premise that the current terminal user is the owner user The unlocking of the terminal thus reduces the operating cost of unlocking the terminal and improves the unlocking efficiency. Moreover, the terminal can be unlocked only when the current user is the owner user, so as to prevent the terminal from being used by other users, thus improving the reliability and security of the terminal.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (Processor) execute the methods described in various embodiments of the present invention. partial steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other various media that can store program codes. .

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

Claims (16)

1.一种终端的控制方法,其特征在于,所述方法包括:1. A terminal control method, characterized in that the method comprises: 在终端处于未锁定状态下,检测终端前机主用户的状态;When the terminal is in an unlocked state, detect the status of the main user of the front of the terminal; 若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作;If it is detected that the status of the owner user in front of the terminal is that the owner user leaves the terminal, perform a locking operation on the terminal; 所述在终端处于未锁定状态下,检测终端前机主用户的状态,包括:The detection of the status of the front-end owner user of the terminal when the terminal is in an unlocked state includes: 在终端处于未锁定状态下,检测所述终端与所述终端前机主用户之间的距离数据;When the terminal is in an unlocked state, detecting the distance data between the terminal and the previous owner user of the terminal; 若所述距离数据大于或者等于预设的距离阈值,或者,所述距离数据为超出检测距离的指示信号,采集终端前图像;If the distance data is greater than or equal to a preset distance threshold, or if the distance data is an indication signal exceeding a detection distance, collect an image in front of the terminal; 根据所述终端前图像,检测终端前机主用户的状态;According to the image in front of the terminal, detecting the state of the main user of the front of the terminal; 若所述距离数据小于距离阈值,确定所述终端前机主用户的状态为机主用户未离开终端,保持终端的未锁定状态。If the distance data is less than the distance threshold, it is determined that the status of the owner user in front of the terminal is that the owner user has not left the terminal, and the terminal is kept in an unlocked state. 2.根据权利要求1所述的方法,其特征在于,所述根据所述终端前图像,检测终端前机主用户的状态,包括:2. The method according to claim 1, wherein the detecting the status of the main user of the front of the terminal according to the image in front of the terminal comprises: 对所述终端前图像进行人脸识别处理;performing face recognition processing on the image in front of the terminal; 若没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。If the image of the owner user is not recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user leaves the terminal. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that the method further comprises: 若从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。If the image of the owner user is recognized from the image in front of the terminal, it is determined that the state of the owner user in front of the terminal is that the owner user has not left the terminal. 4.一种终端的控制方法,其特征在于,所述方法包括:4. A terminal control method, characterized in that the method comprises: 在终端处于锁定状态下,采集终端当前用户的图像;When the terminal is in the locked state, collect the image of the current user of the terminal; 根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户;According to the image of the current user of the terminal, determine whether the current user of the terminal is the owner user; 若所述终端当前用户是所述机主用户,解除所述终端的锁定状态;If the current user of the terminal is the owner user, unlocking the terminal; 所述在终端处于锁定状态下,采集终端当前用户的图像,包括:The collecting the image of the current user of the terminal when the terminal is in a locked state includes: 在终端处于锁定状态下,距离检测模块和振动检测模块中至少一个保持对终端的监控状态,检测终端前是否有用户和/或检测所述终端是否发生振动,以获得检测结果;When the terminal is in the locked state, at least one of the distance detection module and the vibration detection module maintains the monitoring state of the terminal, detects whether there is a user in front of the terminal and/or detects whether the terminal vibrates, so as to obtain a detection result; 若所述检测结果包括检测到所述终端前有用户和检测到所述终端发生振动中至少一个,采集终端当前用户的图像;If the detection result includes at least one of detecting that there is a user in front of the terminal and detecting that the terminal is vibrating, collect an image of the current user of the terminal; 其中,若所述距离检测模块检测到所述终端当前用户与所述终端之间的距离数据小于预设的距离阈值,则认为终端前有用户。Wherein, if the distance detection module detects that the distance data between the current user of the terminal and the terminal is less than a preset distance threshold, it is considered that there is a user in front of the terminal. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. method according to claim 4, is characterized in that, described method also comprises: 若所述终端当前用户不是所述机主用户,保持所述终端的锁定状态。If the current user of the terminal is not the owner user, keep the locked state of the terminal. 6.根据权利要求4或5所述的方法,其特征在于,所述方法还包括:6. according to the described method of claim 4 or 5, it is characterized in that, described method also comprises: 若所述终端当前用户不是所述机主用户,执行以下操作中至少一个:If the current user of the terminal is not the owner user, perform at least one of the following operations: 将所述终端当前用户的图像保存在终端中;saving the image of the current user of the terminal in the terminal; 将所述终端当前用户的图像上传至服务器;uploading the image of the current user of the terminal to the server; 采集所述终端当前用户的视频数据,将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以及,collecting video data of the current user of the terminal, and sending the video data or the video data and an image of the current user of the terminal to the owner user of the terminal; and, 向所述终端的机主用户发送报警提示信息。Sending alarm prompt information to the owner user of the terminal. 7.根据权利要求4所述的方法,其特征在于,所述根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户,包括:7. The method according to claim 4, wherein, according to the image of the current user of the terminal, judging whether the current user of the terminal is the owner user comprises: 利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理,以获得人脸识别处理结果;performing face recognition processing on the image of the current user of the terminal by using a face recognition algorithm to obtain a face recognition processing result; 根据所述人脸识别处理结果,判断所述终端当前用户是否为机主用户。According to the face recognition processing result, it is judged whether the current user of the terminal is the owner user. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, further comprising: 若所述终端当前用户是所述机主用户,根据所述终端当前用户的图像,对所述人脸识别算法进行更新。If the current user of the terminal is the owner user, the face recognition algorithm is updated according to the image of the current user of the terminal. 9.一种终端的控制系统,其特征在于,所述系统包括:9. A terminal control system, characterized in that the system comprises: 检测单元,用于在终端处于未锁定状态下,检测终端前机主用户的状态;The detection unit is used to detect the state of the front-end owner user of the terminal when the terminal is in an unlocked state; 控制单元,用于若检测到终端前机主用户的状态为机主用户离开终端,对所述终端执行锁定操作所述检测单元,具体用于:The control unit is configured to perform a locking operation on the terminal if it is detected that the status of the owner user in front of the terminal is that the owner user leaves the terminal. The detection unit is specifically used for: 在终端处于未锁定状态下,检测所述终端与所述终端前机主用户之间的距离数据;When the terminal is in an unlocked state, detecting the distance data between the terminal and the previous owner user of the terminal; 若所述距离数据大于或者等于预设的距离阈值,或者,所述距离数据为超出检测距离的指示信号,采集终端前图像;If the distance data is greater than or equal to a preset distance threshold, or if the distance data is an indication signal exceeding a detection distance, collect an image in front of the terminal; 根据所述终端前图像,检测终端前机主用户的状态;According to the image in front of the terminal, detecting the state of the main user of the front of the terminal; 若所述距离数据小于距离阈值,确定所述终端前机主用户的状态为机主用户未离开终端,保持终端的未锁定状态。If the distance data is less than the distance threshold, it is determined that the status of the owner user in front of the terminal is that the owner user has not left the terminal, and the terminal is kept in an unlocked state. 10.根据权利要求9所述的系统,其特征在于,所述检测单元用于根据所述终端前图像,检测终端前机主用户的状态时,具体用于:10. The system according to claim 9, wherein when the detection unit is used to detect the state of the user of the front of the terminal according to the image in front of the terminal, it is specifically used for: 对所述终端前图像进行人脸识别处理;performing face recognition processing on the image in front of the terminal; 若没有从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户离开终端。If the image of the owner user is not recognized from the image in front of the terminal, determine that the state of the owner user in front of the terminal is that the owner user leaves the terminal. 11.根据权利要求9所述的系统,其特征在于,所述检测单元,还用于:若从所述终端前图像中识别出所述机主用户的图像,确定所述终端前机主用户的状态为机主用户未离开终端。11. The system according to claim 9, wherein the detection unit is further configured to: if the image of the owner user is recognized from the image in front of the terminal, determine the owner user in front of the terminal The status of is that the host user has not left the terminal. 12.一种终端的控制系统,其特征在于,所述系统包括:12. A terminal control system, characterized in that the system comprises: 检测单元,用于在终端处于锁定状态下,采集终端当前用户的图像;A detection unit, configured to collect an image of the current user of the terminal when the terminal is in a locked state; 所述检测单元,还用于根据所述终端当前用户的图像,判断所述终端当前用户是否为机主用户;The detection unit is further configured to determine whether the current user of the terminal is the owner user according to the image of the current user of the terminal; 控制单元,用于若所述终端当前用户是所述机主用户,解除所述终端的锁定状态;A control unit, configured to release the locked state of the terminal if the current user of the terminal is the owner user; 所述检测单元,具体用于:The detection unit is specifically used for: 在终端处于锁定状态下,距离检测模块和振动检测模块中至少一个保持对终端的监控状态,检测终端前是否有用户和/或检测所述终端是否发生振动,以获得检测结果;When the terminal is in the locked state, at least one of the distance detection module and the vibration detection module maintains the monitoring state of the terminal, detects whether there is a user in front of the terminal and/or detects whether the terminal vibrates, so as to obtain a detection result; 若所述检测结果包括检测到所述终端前有用户和检测到所述终端发生振动中至少一个,采集终端当前用户的图像;If the detection result includes at least one of detecting that there is a user in front of the terminal and detecting that the terminal is vibrating, collect an image of the current user of the terminal; 其中,若所述距离检测模块检测到所述终端当前用户与所述终端之间的距离数据小于预设的距离阈值,则认为终端前有用户。Wherein, if the distance detection module detects that the distance data between the current user of the terminal and the terminal is less than a preset distance threshold, it is considered that there is a user in front of the terminal. 13.根据权利要求12所述的系统,其特征在于,所述控制单元,还用于:13. The system according to claim 12, wherein the control unit is further used for: 若所述终端当前用户不是所述机主用户,保持所述终端的锁定状态。If the current user of the terminal is not the owner user, keep the locked state of the terminal. 14.根据权利要求12或13所述的系统,其特征在于,所述控制单元,还用于:14. The system according to claim 12 or 13, wherein the control unit is further used for: 若所述终端当前用户不是所述机主用户,执行以下操作中至少一个:If the current user of the terminal is not the owner user, perform at least one of the following operations: 将所述终端当前用户的图像保存在终端中;saving the image of the current user of the terminal in the terminal; 将所述终端当前用户的图像上传至服务器;uploading the image of the current user of the terminal to the server; 采集所述终端当前用户的视频数据,将所述视频数据或者所述视频数据和所述终端当前用户的图像,发送给所述终端的机主用户;以及,collecting video data of the current user of the terminal, and sending the video data or the video data and an image of the current user of the terminal to the owner user of the terminal; and, 向所述终端的机主用户发送报警提示信息。Sending alarm prompt information to the owner user of the terminal. 15.根据权利要求12所述的系统,其特征在于,所述检测单元,具体用于:15. The system according to claim 12, wherein the detection unit is specifically used for: 利用人脸识别算法对所述终端当前用户的图像进行人脸识别处理,以获得人脸识别处理结果;performing face recognition processing on the image of the current user of the terminal by using a face recognition algorithm to obtain a face recognition processing result; 根据所述人脸识别处理结果,判断所述终端当前用户是否为机主用户。According to the face recognition processing result, it is judged whether the current user of the terminal is the owner user. 16.根据权利要求15所述的系统,其特征在于,所述检测单元还用于:16. The system according to claim 15, wherein the detection unit is further used for: 若所述终端当前用户是所述机主用户,根据所述终端当前用户的图像,对所述人脸识别算法进行更新。If the current user of the terminal is the owner user, the face recognition algorithm is updated according to the image of the current user of the terminal.
CN201510472401.1A 2015-08-04 2015-08-04 The control method and system of terminal Active CN105138321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510472401.1A CN105138321B (en) 2015-08-04 2015-08-04 The control method and system of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510472401.1A CN105138321B (en) 2015-08-04 2015-08-04 The control method and system of terminal

Publications (2)

Publication Number Publication Date
CN105138321A CN105138321A (en) 2015-12-09
CN105138321B true CN105138321B (en) 2019-11-26

Family

ID=54723679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510472401.1A Active CN105138321B (en) 2015-08-04 2015-08-04 The control method and system of terminal

Country Status (1)

Country Link
CN (1) CN105138321B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491705A (en) * 2016-06-13 2017-12-19 胡晓辉 The unmanned automatic locking apparatus of computer system
CN106101461A (en) * 2016-08-26 2016-11-09 乐视控股(北京)有限公司 The control method of a kind of application software and device
CN109195015A (en) * 2018-08-21 2019-01-11 北京奇艺世纪科技有限公司 A kind of video playing control method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096806A (en) * 2010-12-29 2011-06-15 上海华勤通讯技术有限公司 Face identification security mobile phone and implementation method thereof
CN102238287A (en) * 2011-08-05 2011-11-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying mobile terminal according to environment data
CN102510457A (en) * 2011-12-16 2012-06-20 Tcl王牌电器(惠州)有限公司 Method for protecting eyesight
CN102546938A (en) * 2011-12-27 2012-07-04 广东步步高电子工业有限公司 A mobile phone that uses the front camera to intelligently capture face images for security protection
CN102761645A (en) * 2011-04-26 2012-10-31 富泰华工业(深圳)有限公司 Electronic equipment and control method thereof
CN102882752A (en) * 2012-10-19 2013-01-16 天津光宏科技有限公司 Internet-of-things and android system based intelligent home system and control method
CN103093335A (en) * 2013-01-04 2013-05-08 广东欧珀移动通信有限公司 User reminding method and user reminding device
CN103108085A (en) * 2013-01-31 2013-05-15 广东欧珀移动通信有限公司 Glance prevention method of mobile terminal
CN103167160A (en) * 2012-10-09 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving awakening and unlocking of mobile phone based on technology of temperature sense and human face recognition
CN104284004A (en) * 2013-07-02 2015-01-14 华为终端有限公司 Screen unlocking method and mobile terminal
CN104427081A (en) * 2013-08-19 2015-03-18 中兴通讯股份有限公司 Mobile terminal unlocking method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096806A (en) * 2010-12-29 2011-06-15 上海华勤通讯技术有限公司 Face identification security mobile phone and implementation method thereof
CN102761645A (en) * 2011-04-26 2012-10-31 富泰华工业(深圳)有限公司 Electronic equipment and control method thereof
CN102238287A (en) * 2011-08-05 2011-11-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying mobile terminal according to environment data
CN102510457A (en) * 2011-12-16 2012-06-20 Tcl王牌电器(惠州)有限公司 Method for protecting eyesight
CN102546938A (en) * 2011-12-27 2012-07-04 广东步步高电子工业有限公司 A mobile phone that uses the front camera to intelligently capture face images for security protection
CN103167160A (en) * 2012-10-09 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving awakening and unlocking of mobile phone based on technology of temperature sense and human face recognition
CN102882752A (en) * 2012-10-19 2013-01-16 天津光宏科技有限公司 Internet-of-things and android system based intelligent home system and control method
CN103093335A (en) * 2013-01-04 2013-05-08 广东欧珀移动通信有限公司 User reminding method and user reminding device
CN103108085A (en) * 2013-01-31 2013-05-15 广东欧珀移动通信有限公司 Glance prevention method of mobile terminal
CN104284004A (en) * 2013-07-02 2015-01-14 华为终端有限公司 Screen unlocking method and mobile terminal
CN104427081A (en) * 2013-08-19 2015-03-18 中兴通讯股份有限公司 Mobile terminal unlocking method and device

Also Published As

Publication number Publication date
CN105138321A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
WO2019134246A1 (en) Facial recognition-based security monitoring method, device, and storage medium
EP3647129A1 (en) Vehicle, vehicle door unlocking control method and apparatus, and vehicle door unlocking system
CN104915012A (en) Screen locking method of terminal and device
US11386698B2 (en) Method and device for sending alarm message
CN110297536B (en) Control method and electronic equipment
US20140136411A1 (en) Electronic device and method for controlling payment function of input means
WO2021004499A1 (en) Face recognition method and device
CN105956518A (en) Face identification method, device and system
CN108229420B (en) Face recognition method and mobile terminal
CN105809139A (en) Method and device for collecting eyeball information
CN108629280B (en) Face recognition method and mobile terminal
CN105138321B (en) The control method and system of terminal
CN108446665B (en) Face recognition method and mobile terminal
CN106599879A (en) Safety and protection control method based on cloud and terminal thereof
TW201339892A (en) Wireless locking and unlocking system and method thereof
CN105187720A (en) Photographing method and device
CN106650384A (en) Fingerprint false touch prevention method and terminal
CN107580132A (en) Information transmission method, device, storage medium and electronic equipment
CN102306082B (en) The recognition methods that electronic installation and start thereof unlock
CN110889692A (en) Mobile payment method and electronic equipment
EP2649834B1 (en) Method and system for providing improved perpetrator imaging
CN110290270B (en) Anti-theft method and mobile terminal
CN112149091A (en) Device unlocking method, device, electronic device and storage medium
US20140373185A1 (en) Anti-theft Method and Computer System thereof
CN110163014A (en) Terminal device theft preventing 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
TA01 Transfer of patent application right

Effective date of registration: 20190812

Address after: 100085 Beijing, Haidian District, No. ten on the ground floor, No. 10 Baidu building, layer 2

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Address before: 100193 room 1-01, 1-03, 1-04, block C, software Plaza, building 4, No. 8, Mong West Road, Beijing, Haidian District

Applicant before: Pacify a Heng Tong (Beijing) Science and Technology Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant