WO2020168487A1 - 一种终端使用控制方法及一种终端 - Google Patents

一种终端使用控制方法及一种终端 Download PDF

Info

Publication number
WO2020168487A1
WO2020168487A1 PCT/CN2019/075578 CN2019075578W WO2020168487A1 WO 2020168487 A1 WO2020168487 A1 WO 2020168487A1 CN 2019075578 W CN2019075578 W CN 2019075578W WO 2020168487 A1 WO2020168487 A1 WO 2020168487A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
terminal
screen
distance
face
Prior art date
Application number
PCT/CN2019/075578
Other languages
English (en)
French (fr)
Inventor
宋树平
宋树红
Original Assignee
东莞市讯天宏智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 东莞市讯天宏智能科技有限公司 filed Critical 东莞市讯天宏智能科技有限公司
Priority to PCT/CN2019/075578 priority Critical patent/WO2020168487A1/zh
Publication of WO2020168487A1 publication Critical patent/WO2020168487A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards
    • G06F21/35User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly

Definitions

  • the invention belongs to the technical field of terminals, and in particular relates to a terminal use control method and a terminal.
  • the existing technology to control the use of mobile phones by minors generally sets up a monitoring program similar to a child lock in the mobile phone.
  • the mobile phone is forcibly stopped. This method is not smart enough and may affect the mobile phone user Use the phone normally.
  • the embodiment of the present invention provides a method for controlling the use of a terminal and a terminal. By detecting the distance between the terminal and the screen in real time, combining the user’s identity attribute and limiting the length of use, the user’s use of the terminal is controlled to solve the problem of the use of minors. The technical problem that mobile phone control is not smart enough.
  • the embodiment of the present invention provides a terminal usage control method, which is applied to a terminal, and includes:
  • the client controls a timer to start timing, and turns on an infrared distance measuring sensor to detect the distance between the screen of the terminal and the user's face according to a preset period;
  • the embodiment of the present invention also provides a terminal, which includes: a client control module, a client confirmation module, a timer, a camera, an infrared ranging sensor, and a screen;
  • the client control module is respectively connected with the client confirmation module, the timer, the camera device, the infrared ranging sensor and the screen;
  • the client control module is configured to turn on the camera device to confirm whether the user is a target user after the client is started;
  • the client control module is further configured to control the timer to start timing if the user is the target user, and turn on the infrared ranging sensor to detect the gap between the screen of the terminal and the user’s face according to a preset period. distance;
  • the client confirmation module is configured to confirm the distance between the screen of the terminal and the user's face according to preset usage control rules, and the limited use time corresponding to the user's identity attribute;
  • the client control module is further configured to control the screen of the terminal to turn off if the time duration of the timer exceeds the limited use duration.
  • the client after the client is turned on, it confirms that the current user is the target user through the camera device, starts timing, and controls the infrared distance sensor to measure the distance between the screen and the user’s face, and confirms the connection with the user according to the preset usage control rules.
  • FIG. 1 is a schematic diagram of the implementation process of a terminal usage control method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the implementation process of a terminal usage control method provided by another embodiment of the present invention.
  • Fig. 3 is a schematic diagram of a terminal structure provided by an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of the implementation process of a terminal usage control method provided by an embodiment of the present invention.
  • the method can be applied to electronic devices that can be used on the move, such as smart phones and tablet computers.
  • Non-mobile electronic devices such as PC (personal computer).
  • PC personal computer
  • a mobile phone is used as an example to describe terminal use control, and other types of terminals or non-terminal use control methods are the same as mobile phones.
  • the terminal is provided with a camera device, an infrared ranging sensor, and a processor (specifically, a microprocessor MCU), and a client (app, application) is built in the terminal, and the client can control the camera device and the infrared measurement device.
  • the distance sensor and processor cooperate with each other to realize the control of terminal usage.
  • the method mainly includes the following steps:
  • the target user is a user who needs to restrict the use of mobile phones. Specifically, it can be a designated user, such as a designated family member; it can also be a minor user under the age of 18.
  • the facial image of the user can be collected by the camera device to confirm whether the user is the target user.
  • the client controls the timer to start timing, and turns on the infrared ranging sensor to detect the distance between the screen of the terminal and the user's face according to a preset period;
  • the client controls the timer to start timing.
  • the client controls the infrared ranging sensor in the mobile phone to detect the distance between the screen and the user's face in a preset period, that is, the distance between the mobile phone's screen and the user's eyes.
  • the preset period may specifically be 30 minutes or 5 minutes, and the period may be determined specifically according to detection requirements.
  • S103 According to preset usage control rules, confirm the distance between the terminal's screen and the user's face, and the limited usage time corresponding to the user's identity attribute;
  • the usage control rule includes the corresponding relationship between the identity attributes of multiple users, the restricted use distance, and the restricted use time. According to these correspondences, the distance between the screen of the terminal and the user's face can be confirmed, and the limited use time corresponding to the user's identity attribute can be confirmed.
  • the user’s identity attributes include personal information such as name and age;
  • Restricted use distance refers to a safe distance to keep the user's eyes healthy, and users of different ages correspond to different restricted use distances
  • Restricted use time refers to the safe duration of keeping the user's eye health under the restricted use distance. Users of different ages and different restricted use distances correspond to different restricted use durations.
  • the screen will be turned off, and the user can no longer continue to use the phone, and his eyes will rest.
  • the control screen remains on and the user can continue to use the mobile phone.
  • the client After the client is turned on, it confirms that the current user is the target user through the camera device, starts timing, and controls the infrared distance sensor to measure the distance between the screen and the user’s face, and confirms the connection with the terminal according to the preset usage control rules.
  • FIG. 2 is a schematic flowchart of a method for controlling terminal usage according to another embodiment of the present invention. The method includes:
  • the target user is a user who needs to restrict the use of mobile phones. Specifically, it can be a designated user, such as a designated family member; it can also be a minor user under the age of 18.
  • the client controls to turn on the camera device, controls the camera device to shoot and send the user's face image to the processor, and the processor determines the target reference that matches the received user's face image from the pre-stored reference image Image, obtain the identity attribute corresponding to the reference image, confirm whether the user is a target user according to the identity attribute, and feed back the confirmation result to the client.
  • the client obtains the user's face image and the pre-stored reference image, compares the two, and obtains the result of whether the user is the target user.
  • the identity attribute includes personal information such as name and age;
  • the reference image may be a captured facial image of a specific target user.
  • the mobile phone owner needs to control the facial images of family members who use the mobile phone, and input the name and age of the corresponding user when collecting the reference image, and store it In memory.
  • the user name of the reference image is A and the age is 8 years old; or the user name of the reference image is B and the age is 16 years old;
  • the reference image may be a standard reference image used as an age reference, and the age corresponding to the standard reference image is also collected.
  • the standard reference image can have multiple images, each representing each age group.
  • the client controls the timer to start timing, and turns on the infrared ranging sensor to detect the distance between the screen of the terminal and the user's face according to a preset period;
  • the client controls the timer to start timing.
  • the client controls the infrared ranging sensor in the mobile phone to detect the distance between the screen and the user's face in a preset period, that is, continuously detect the distance between the mobile phone's screen and the user's eyes.
  • the preset period may specifically be 30 minutes or 5 minutes, and the period may be determined specifically according to detection requirements.
  • S203 Determine whether the distance between the screen of the terminal and the user's face exceeds the preset distance range, and if the distance between the screen of the terminal and the user's face exceeds the preset distance range, send a distance prompt to the user;
  • the infrared ranging sensor is turned on, and the infrared ranging sensor sends the detected distance between the screen and the user’s face to the processor every predetermined period, and the processor retrieves the pre-stored in the memory
  • the preset distance The range can be the minimum safe distance to maintain eyesight, for example, 40-50 cm;
  • the judgment result is less than the minimum value of the preset distance range or greater than the maximum value of the preset distance range, it is confirmed that the distance between the screen of the terminal and the user's face exceeds the preset distance range; if the judgment result is Is not less than the minimum value of the preset distance range, or not greater than the maximum value of the preset distance range, then it is confirmed that the distance between the screen of the terminal and the user’s face exceeds the preset distance range, then the terminal is confirmed The distance between the screen and the user’s face does not exceed the preset distance range.
  • the processor sends a confirmation result to the client as to whether the distance between the screen of the terminal and the user's face exceeds the preset distance range.
  • the above step of confirming whether the distance between the terminal’s screen and the user’s face exceeds the preset distance range can be completed by the client, that is, the client obtains the terminal detected by the infrared ranging sensor The distance between the screen of the terminal and the face of the user is called, the preset distance range is retrieved, and through comparison, it is confirmed whether the distance between the screen of the terminal and the face of the user exceeds the preset distance range.
  • the user is prompted to increase the distance from the screen of the terminal;
  • the user is prompted to shorten the distance to the screen of the terminal.
  • the way of prompting can be voice, ringtone, light or text.
  • the usage control rule includes the corresponding relationship between the identity attributes of multiple users, the restricted use distance, and the restricted use time. According to these correspondences, the distance between the screen of the terminal and the user's face can be confirmed, and the limited use time corresponding to the user's identity attribute can be confirmed.
  • the user’s identity attributes include personal information such as name and age;
  • Restricted use distance refers to a safe distance to keep the user's eyes healthy, and users of different ages correspond to different restricted use distances
  • Restricted use time refers to the safe duration of keeping the user's eye health under the restricted use distance. Users of different ages and different restricted use distances correspond to different restricted use durations.
  • the use control rules can only set the name, the corresponding relationship between the limited use distance and the limited use time.
  • the use control rules can only set the name, the corresponding relationship between the limited use distance and the limited use time.
  • the restricted use distance can be adjusted according to age.
  • the aforementioned preset distance range may not be a value.
  • the screen will be turned off, and the user can no longer continue to use the phone, and his eyes will rest.
  • the control screen remains on and the user can continue to use the mobile phone.
  • the camera confirms that the current user is the target user, starts timing, and controls the infrared range sensor to measure the distance between the screen and the user’s face, and confirms the connection with the terminal according to the preset usage control rules.
  • FIG. 3 is a schematic diagram of a terminal structure provided by an embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
  • the terminal illustrated in FIG. 3 is a terminal in the terminal usage control method provided by the embodiments shown in FIG. 1 and FIG. 2.
  • the terminal hardware mainly includes:
  • Client control module 301 Client control module 301, client confirmation module 302, timer 303, camera 304, infrared ranging sensor 305 and screen 306;
  • the client control module 301 is respectively connected with the client confirmation module 302, the timer 303, the camera 304, the infrared ranging sensor 305 and the screen 306;
  • the client control module 301 is used to turn on the camera 304 to confirm whether the user is the target user after the client is started;
  • the client control module 301 is also used to control the timer 303 to start timing if the user is the target user, and to turn on the infrared ranging sensor 305 to detect the distance between the screen 306 of the terminal and the user's face according to a preset period;
  • the client confirmation module 302 is used to confirm the distance between the screen 306 of the terminal and the user's face according to preset usage control rules, and the limited use time corresponding to the user's identity attribute;
  • the client control module 301 is also configured to control the screen 306 of the terminal to turn off if the time duration of the timer 302 exceeds the limited use duration.
  • the terminal further includes: a client prompt module 307 and a processor 308;
  • the client prompt module 307 is connected to the client control module 301;
  • the processor 308 is connected to the client control module 301, the camera 304, and the infrared ranging sensor 305.
  • the processor 308 is configured to determine whether the distance between the screen of the terminal and the user's face exceeds a preset distance range
  • the client prompt module 307 is configured to send a distance prompt to the user if the distance between the screen 306 of the terminal and the user's face exceeds the preset distance range.
  • the terminal further includes: a memory 309.
  • the processor 308 and the client control module 301 are respectively connected to the memory 309;
  • the client control module 301 turns on the infrared ranging sensor 305;
  • the infrared ranging sensor 305 is used to send the detected distance between the screen 306 and the user's face to the processor 308 every preset period;
  • the processor 308 is configured to retrieve the preset distance range pre-stored in the memory 309, and determine whether the received distance between the screen 306 and the user's face is less than the minimum value of the preset distance range, or whether it is greater than The maximum value of the preset distance range;
  • the processor 308 is further configured to, if the judgment result is less than the minimum value of the preset distance range, or greater than the maximum value of the preset distance range, confirm that the distance between the screen 306 of the terminal and the user's face exceeds the The preset distance range, and if the judgment result is not less than the minimum value of the preset distance range, or not greater than the maximum value of the preset distance range, confirm the distance between the screen 306 of the terminal and the user's face Beyond the preset distance range, it is confirmed that the distance between the screen 306 of the terminal and the user's face does not exceed the preset distance range;
  • the processor 307 is further configured to send a confirmation result of whether the distance between the screen 306 of the terminal and the user's face exceeds the preset distance range to the client control module 301.
  • client control module 301 is also used to turn on the camera 304, control the camera 304 to take and send the user's facial image to the processor 308;
  • the processor 308 is further configured to determine a target reference image matching the received facial image of the user among the reference images stored in advance;
  • the processor 308 is further configured to obtain the identity attribute corresponding to the reference image, confirm whether the user is a target user according to the identity attribute, and feed back the confirmation result to the client control module 301.
  • the client After the client is turned on, it confirms that the current user is the target user through the camera device, starts timing, and controls the infrared distance sensor to measure the distance between the screen and the user’s face, and confirms the connection with the terminal according to the preset usage control rules.
  • the embodiment of the present invention also provides a terminal, including a memory, a processor, and a computer program stored on the memory and running on the processor.
  • a terminal including a memory, a processor, and a computer program stored on the memory and running on the processor.
  • the processor executes the computer program, the terminal usage control method of the present invention is implemented in the corresponding embodiment.
  • the processor is the processor in the foregoing embodiments.
  • the memory may be a high-speed random access memory (RAM, Random Access Memory) memory, or a non-volatile memory (non-volatile memory), such as a disk memory.
  • RAM Random Access Memory
  • non-volatile memory non-volatile memory
  • the memory is used to store a set of executable program codes.
  • the embodiment of the present invention also provides a readable storage medium, the readable storage medium is a computer readable storage medium, and a computer program is stored thereon.
  • the computer program is executed by a processor, the corresponding embodiment of the terminal usage control method of the present invention is implemented. The various steps in.

Abstract

一种终端使用控制方法及一种终端,其中,该方法包括:客户端启动后,开启摄像装置确认用户是否为目标用户,若该用户为目标用户,则该客户端控制计时器开始计时,并开启红外测距传感器,按照预设周期检测该终端的屏幕与用户脸部之间的距离,按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长;若该计时器的计时时长超过该限制使用时长,则控制该终端的屏幕熄屏。通过上述方法及终端,可提高控制移动终端使用的智能性。

Description

一种终端使用控制方法及一种终端 技术领域
本发明属于终端技术领域,尤其涉及一种终端使用控制方法及一种终端。
背景技术
当前智能手机成为大众普遍使用的工作及娱乐设备。由于未成年人自控能力差,长时间的使用手机损害他们的用眼健康,因此如何控制未成年使用手机成为一个重要的课题。
现有的控制未成年人使用手机的技术一般在手机中设置类似儿童锁的监管程序,当使用者使用手机到达一定时间时,强制停止手机使用,此种方式不够智能,可能会影响手机使用者正常使用手机。
技术问题
本发明实施例提供一种终端使用控制方法及一种终端,通过实时检测终端时与屏幕的距离,结合用户的身份属性及限制使用时长,对该用户使用终端进行控制,解决对未成年人使用手机控制不够智能的技术问题。
技术解决方案
本发明实施例提供了一种终端使用控制方法,应用于终端中,包括:
客户端启动后,开启摄像装置确认用户是否为目标用户;
若所述用户为目标用户,则所述客户端控制计时器开始计时,并开启红外测距传感器,按照预设周期检测所述终端的屏幕与用户脸部之间的距离;
按照预置的使用控制规则,确认与所述终端的屏幕与用户脸部之间的距离,以及所述用户的身份属性对应的限制使用时长;
若所述计时器的计时时长超过所述限制使用时长,则控制所述终端的屏幕熄屏。
本发明实施例还提供了一种终端,包括:客户端控制模块、客户端确认模块、计时器、摄像装置、红外测距传感器和屏幕;
所述客户端控制模块分别与所述客户端确认模块、所述计时器、所述摄像装置、所述红外测距传感器和所述屏幕连接;
所述客户端控制模块,用于所述客户端启动后,开启所述摄像装置确认用户是否为目标用户;
所述客户端控制模块,还用于若所述用户为目标用户,则控制所述计时器开始计时,以及开启红外测距传感器按照预设周期检测所述终端的屏幕与用户脸部之间的距离;
所述客户端确认模块,用于按照预置的使用控制规则,确认与所述终端的屏幕与用户脸部之间的距离,以及所述用户的身份属性对应的限制使用时长;
所述客户端控制模块,还用于若所述计时器的计时时长超过所述限制使用时长,则控制所述终端的屏幕熄屏。
有益效果
本发明实施例中,客户端开启后,通过摄像装置确认当前用户为目标用户,开始计时,并控制红外测距传感器测量屏幕与用户脸部的距离,按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长,若计时时长超过该限制使用时长,则控制屏幕熄屏,提高限制用户使用终端的智能性,可达到保护用户视力的目的。
附图说明
图1是本发明一实施例提供的终端使用控制方法的实现流程示意图;
图2是本发明另一实施例提供的终端使用控制方法的实现流程示意图;
图3是本发明一实施例提供的终端结构示意图。
本发明的实施方式
请参阅图1,图1为本发明一实施例提供的终端使用控制方法的实现流程示意图,该方法可应用于包括智能手机、平板电脑等可在移动中使用的电子装置,有可以应用于包括PC(personal computer)机等非移动中使用的电子装置。为便于描述,下面实施例中均以手机为例进行终端使用控制的描述,其他类型的终端或非终端的使用控制方法与手机相同。
进一步地,该终端中设置有摄像装置、红外测距传感器、处理器(具体可以为微处理器MCU),该终端中内置客户端(app,application),该客户端可控制摄像装置、红外测距传感器、处理器互相配合,实现对终端使用进行控制。
如图1所示,该方法主要包括以下步骤:
S101、客户端启动后,开启摄像装置确认用户是否为目标用户;
该目标用户为需要限制使用手机的用户,具体可以为指定的用户,例如指定某个家庭成员;也可以为未满18岁的未成年人用户。
可通过摄像装置采集该用户的脸部图像,来确认该用户是否为目标用户。
S102、若该用户为目标用户,则该客户端控制计时器开始计时,并开启红外测距传感器,按照预设周期检测该终端的屏幕与用户脸部之间的距离;
若该用户为目标用户,则该客户端控制计时器开始计时。
同时,该客户端则控制手机中的红外测距传感器,按照预设周期检测屏幕与用户脸部的距离,也即检测手机屏幕与用户双眼的距离。该预设周期具体可以是30分钟,也可以是5分钟,具体根据检测需要确定该周期。
S103、按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长;
该使用控制规则中包含多个用户的身份属性、限制使用距离及限制使用时长的对应关系。根据这些对应关系,可以确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长。
用户的身份属性包括姓名、年龄等个人信息;
限制使用距离是指保持用户用眼健康的安全距离,不同年龄的用户对应不同的限制使用距离;
限制使用时长是指在该限制使用距离下,保持用户用眼健康的安全时长,不同年龄的用户、不同限制限制使用距离下,对应不同的限制使用时长。
S104、若该计时器的计时时长超过该限制使用时长,则控制该终端的屏幕熄屏。
计时器的计时时长超过该限制使用时长,则控制屏幕熄屏,用户不能再继续使用手机,眼睛得到休息。
若该计时时长未超过该限制使用时长,则控制屏幕保持亮屏,用户可继续使用手机。
本实施例中,客户端开启后,通过摄像装置确认当前用户为目标用户,开始计时,并控制红外测距传感器测量屏幕与用户脸部的距离,按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长,若计时时长超过该限制使用时长,则控制屏幕熄屏,提高限制用户使用终端的智能性,可达到保护用户视力的目的。
请参阅图2,图2是本发明另一实施例提供的终端使用控制方法的流程示意图,该方法包括:
S201、客户端启动后,开启摄像装置确认用户是否为目标用户;
该目标用户为需要限制使用手机的用户,具体可以为指定的用户,例如指定某个家庭成员;也可以为未满18岁的未成年人用户。
客户端控制开启该摄像装置,控制该摄像装置拍摄并发送该用户的脸部图像给处理器,该处理器在预先存储的参照图像中确定与接收到的该用户的脸部图像匹配的目标参照图像,获取该参照图像对应的身份属性,并根据该身份属性确认该用户是否为目标用户,并将确认结果反馈给该客户端。
需要说明的是,上述对比可以由客户端执行,客户端获取该用户的脸部图像,以及预先存储的参照图像,将二者进行对比,得出该用户是否为目标用户的结果。
其中,该身份属性包括姓名、年龄等个人信息;
该参照图像可以是拍摄的特定的目标用户的脸部图像,例如该手机主人需要控制使用手机的家庭成员的脸部图像,在采集该参照图像时输入与其对应的用户的姓名和年龄,并存储在存储器中。例如:该参照图像的用户姓名为甲,年龄为8岁;或者,该参照图像的用户姓名为乙,年龄为16岁;
该参照图像可以是作为年龄参照的标准参照图像,同时采集该标准参照图像对应的年龄。该标准参照图像可以有多张,分别表示各年龄段。通过提取该用户的脸部图像中的与年龄相关的面部特征,并与该标准参照图像中对应的面部特征的对比,确认当前使用手机的未成年人的大致年龄。
S202、若该用户为目标用户,则该客户端控制计时器开始计时,并开启红外测距传感器,按照预设周期检测该终端的屏幕与用户脸部之间的距离;
若该用户为目标用户,则该客户端控制计时器开始计时。
同时,该客户端则控制手机中的红外测距传感器,按照预设周期检测屏幕与用户脸部的距离,也即持续检测手机屏幕与用户双眼的距离。该预设周期具体可以是30分钟,也可以是5分钟,具体根据检测需要确定该周期。
S203、判断终端的屏幕与用户脸部之间的距离是否超出预设距离范围,若该终端的屏幕与用户脸部之间的距离超出该预设距离范围,则向该用户发出距离提示;
具体地,开启该红外测距传感器,该红外测距传感器每隔该预设周期,将检测的该屏幕与用户脸部之间的距离发送给该处理器,该处理器调取预存在存储器中的该预设距离范围,判断接收到的该屏幕与用户脸部之间的距离,是否小于该预设距离范围的最小值,或者,是否大于该预设距离范围的最大值,该预设距离范围可以是保持视力的最低安全距离,例如为40~50厘米;
若判断结果为小于该预设距离范围的最小值,或者,大于该预设距离范围的最大值,则确认该终端的屏幕与用户脸部之间的距离超出该预设距离范围;若判断结果为不小于该预设距离范围的最小值,或者,不大于该预设距离范围的最大值,则确认该终端的屏幕与用户脸部之间的距离超出该预设距离范围,则确认该终端的屏幕与用户脸部之间的距离未超出该预设距离范围。
该处理器将该终端的屏幕与用户脸部之间的距离是否超出该预设距离范围的确认结果发送给该客户端。
需要说明的是,上述确认该终端的屏幕与用户脸部之间的距离是否超出该预设距离范围的步骤,可以由该客户端完成,即,该客户端获取红外测距传感器检测的该终端的屏幕与用户脸部之间的距离,调取该预设距离范围,通过对比,确认该终端的屏幕与用户脸部之间的距离是否超出该预设距离范围。
若该终端的屏幕与用户脸部之间的距离小于该预设距离范围的最小值,则提示该用户拉远与该终端的屏幕之间的距离;
若该终端的屏幕与用户脸部之间的距离大于该预设距离范围的最大值,则提示该用户拉近与该终端的屏幕之间的距离。
提示的方式可以是语音、可以是铃声、可以是灯光也可以是文字。
该预设距离范围,
S204、按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长;
该使用控制规则中包含多个用户的身份属性、限制使用距离及限制使用时长的对应关系。根据这些对应关系,可以确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长。
用户的身份属性包括姓名、年龄等个人信息;
限制使用距离是指保持用户用眼健康的安全距离,不同年龄的用户对应不同的限制使用距离;
限制使用时长是指在该限制使用距离下,保持用户用眼健康的安全时长,不同年龄的用户、不同限制限制使用距离下,对应不同的限制使用时长。
若是指定的目标用户,则该使用控制规则中可只设置姓名、限制使用距离与限制使用时长的对应关系,当确认当前使用手机的为该目标用户时,直接根据姓名确认限制使用距离和限制使用时长。也可只设置姓名与限制使用时长的对应关系,当确认当前使用手机的为该目标用户时,直接根据姓名确认限制使用时长。
若是一般的目标用户,则需设置年龄、限制使用距离与限制使用时长的对应关系,当确认当前使用手机的为该年龄的目标用户时,根据年龄确认限制使用距离和限制使用时长。也可只设置年龄与限制使用时长的对应关系,当确认当前使用手机的为该年龄的目标用户时,根据年龄确认限制使用时长。
限制使用距离可以根据年龄调整。与前述预设距离范围可以不是一个值。
S205、若该计时器的计时时长超过该限制使用时长,则控制该终端的屏幕熄屏。
计时器的计时时长超过该限制使用时长,则控制屏幕熄屏,用户不能再继续使用手机,眼睛得到休息。
若该计时时长未超过该限制使用时长,则控制屏幕保持亮屏,用户可继续使用手机。
本实施例中,客户端开启后,通过摄像装置确认当前用户为目标用户,开始计时,并控制红外测距传感器测量屏幕与用户脸部的距离,按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长,若计时时长超过该限制使用时长,则控制屏幕熄屏,提高限制用户使用终端的智能性,可达到保护用户视力的目的。
请参阅图3,图3是本发明一实施例提供的终端结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图3示例的终端,是前述图1和图2所示实施例提供的终端使用控制方法中的终端。该终端硬件上主要包括:
客户端控制模块301、客户端确认模块302、计时器303、摄像装置304、红外测距传感器305和屏幕306;
客户端控制模块301分别与客户端确认模块302、计时器303、摄像装置304、红外测距传感器305和屏幕306连接;
客户端控制模块301,用于客户端启动后,开启摄像装置304确认用户是否为目标用户;
客户端控制模块301,还用于若该用户为目标用户,则控制计时器303开始计时,以及开启红外测距传感器305按照预设周期检测该终端的屏幕306与用户脸部之间的距离;
客户端确认模块302,用于按照预置的使用控制规则,确认与该终端的屏幕306与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长;
客户端控制模块301,还用于若计时器302的计时时长超过该限制使用时长,则控制该终端的屏幕306熄屏。
进一步地,该终端还包括:客户端提示模块307和处理器308;
客户端提示模块307与客户端控制模块301连接;
处理器308与客户端控制模块301、摄像装置304、红外测距传感器305连接。
处理器308,用于判断该终端的屏幕与用户脸部之间的距离是否超出预设距离范围;
客户端提示模块307,用于若该终端的屏幕306与用户脸部之间的距离超出预设距离范围,则向该用户发出距离提示。
进一步地,终端还包括:存储器309。
处理器308和客户端控制模块301分别连接存储器309;
客户端控制模块301开启红外测距传感器305;
红外测距传感器305,用于每隔该预设周期,将检测的屏幕306与用户脸部之间的距离发送给处理器308;
处理器308,用于调取预存在存储器309中的该预设距离范围,判断接收到的屏幕306与用户脸部之间的距离,是否小于该预设距离范围的最小值,或者,是否大于该预设距离范围的最大值;
处理器308,还用于若判断结果为小于该预设距离范围的最小值,或者,大于该预设距离范围的最大值,则确认该终端的屏幕306与用户脸部之间的距离超出该预设距离范围,以及,若判断结果为不小于该预设距离范围的最小值,或者,不大于该预设距离范围的最大值,则确认该终端的屏幕306与用户脸部之间的距离超出该预设距离范围,则确认该终端的屏幕306与用户脸部之间的距离未超出该预设距离范围;
处理器307,还用于将该终端的屏幕306与用户脸部之间的距离是否超出该预设距离范围的确认结果发送给客户端控制模块301。
进一步地,客户端控制模块301,还用于开启摄像装置304,控制摄像装置304拍摄并发送该用户的脸部图像给处理器308;
处理器308,还用于在预先存储的参照图像中确定与接收到的该用户的脸部图像匹配的目标参照图像;
处理器308,还用于获取该参照图像对应的身份属性,并根据该身份属性确认该用户是否为目标用户,并将确认结果反馈给客户端控制模块301。
本实施例未尽之细节,请参阅前述图1和图2所示实施例的描述,此处不再赘述。
本实施例中,客户端开启后,通过摄像装置确认当前用户为目标用户,开始计时,并控制红外测距传感器测量屏幕与用户脸部的距离,按照预置的使用控制规则,确认与该终端的屏幕与用户脸部之间的距离,以及该用户的身份属性对应的限制使用时长,若计时时长超过该限制使用时长,则控制屏幕熄屏,提高限制用户使用终端的智能性,可达到保护用户视力的目的。
本发明实施例还提供一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时,实现本发明终端使用控制方法对应实施例中的各个步骤。
该处理器即为前述各实施例中的处理器。
其中,存储器可以是高速随机存取记忆体(RAM,RandomAccessMemory)存储器,也可为非不稳定的存储器(non-volatilememory),例如磁盘存储器。存储器用于存储一组可执行程序代码。
本发明实施例还提供一种可读存储介质,该可读存储介质为计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时,实现本发明终端使用控制方法对应实施例中的各个步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。
以上为对本发明所提供的一种终端使用控制方法及一种终端的描述,对于本领域的技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。

Claims (10)

  1. 一种终端使用控制方法,应用于终端中,其特征在于,所述方法包括:
    客户端启动后,开启摄像装置确认用户是否为目标用户;
    若所述用户为目标用户,则所述客户端控制计时器开始计时,并开启红外测距传感器,按照预设周期检测所述终端的屏幕与用户脸部之间的距离;
    按照预置的使用控制规则,确认与所述终端的屏幕与用户脸部之间的距离,以及所述用户的身份属性对应的限制使用时长;
    若所述计时器的计时时长超过所述限制使用时长,则控制所述终端的屏幕熄屏。
  2. 如权利要求1所述的方法,其特征在于,所述开启红外测距传感器,按照预设周期检测所述终端的屏幕与用户脸部之间的距离之后包括:
    判断所述终端的屏幕与用户脸部之间的距离是否超出预设距离范围;
    若所述终端的屏幕与用户脸部之间的距离超出所述预设距离范围,则向所述用户发出距离提示。
  3. 如权利要求2所述的方法,其特征在于,所述判断所述终端的屏幕与用户脸部之间的距离是否超出预设距离范围包括:
    开启所述红外测距传感器,所述红外测距传感器每隔所述预设周期,将检测的所述屏幕与用户脸部之间的距离发送给所述处理器;
    所述处理器调取预存在存储器中的所述预设距离范围,判断接收到的所述屏幕与用户脸部之间的距离,是否小于所述预设距离范围的最小值,或者,是否大于所述预设距离范围的最大值;
    若判断结果为小于所述预设距离范围的最小值,或者,大于所述预设距离范围的最大值,则确认所述终端的屏幕与用户脸部之间的距离超出所述预设距离范围;
    若判断结果为不小于所述预设距离范围的最小值,或者,不大于所述预设距离范围的最大值,则确认所述终端的屏幕与用户脸部之间的距离超出所述预设距离范围,则确认所述终端的屏幕与用户脸部之间的距离未超出所述预设距离范围;
    将所述终端的屏幕与用户脸部之间的距离是否超出所述预设距离范围的确认结果发送给所述客户端。
  4. 如权利要求3所述的方法,其特征在于,所述开启摄像装置确认用户是否为目标用户包括:
    开启所述摄像装置,控制所述摄像装置拍摄并发送所述用户的脸部图像给处理器;
    所述处理器在预先存储的参照图像中确定与接收到的所述用户的脸部图像匹配的目标参照图像;
    获取所述参照图像对应的身份属性,并根据所述身份属性确认所述用户是否为目标用户,并将确认结果反馈给所述客户端。
  5. 如权利要求1~4所述的方法,其特征在于,所述若所述终端的屏幕与用户脸部之间的距离超出预设距离范围,则向所述用户发出距离提示包括:
    若所述终端的屏幕与用户脸部之间的距离小于所述预设距离范围的最小值,则提示所述用户拉远与所述终端的屏幕之间的距离;
    若所述终端的屏幕与用户脸部之间的距离大于所述预设距离范围的最大值,则提示所述用户拉近与所述终端的屏幕之间的距离。
  6. 如权利要求5所述的方法,其特征在于,所述按照预置的使用控制规则,确认与所述终端的屏幕与用户脸部之间的距离,以及所述用户的身份属性对应的限制使用时长包括:
    所述使用控制规则中包含多个用户的身份属性、限制使用距离及限制使用时长的对应关系;
    所述客户端根据所述对应关系,确定与所述用户的身份属性和所述屏幕与用户脸部之间的距离对应的所述限制使用时长。
  7. 一种终端,其特征在于,包括:客户端控制模块、客户端确认模块、计时器、摄像装置、红外测距传感器和屏幕;
    所述客户端控制模块,用于所述客户端启动后,开启所述摄像装置确认用户是否为目标用户;
    所述客户端控制模块,还用于若所述用户为目标用户,则控制所述计时器开始计时,以及开启红外测距传感器按照预设周期检测所述终端的屏幕与用户脸部之间的距离;
    所述客户端确认模块,用于按照预置的使用控制规则,确认与所述终端的屏幕与用户脸部之间的距离,以及所述用户的身份属性对应的限制使用时长;
    所述客户端控制模块,还用于若所述计时器的计时时长超过所述限制使用时长,则控制所述终端的屏幕熄屏。
  8. 如权利要求7所述的终端,其特征在于,所述终端还包括:客户端提示模块和处理器;
    所述处理器,用于判断所述终端的屏幕与用户脸部之间的距离是否超出预设距离范围;
    所述客户端提示模块,用于若所述终端的屏幕与用户脸部之间的距离超出所述预设距离范围,则向所述用户发出距离提示。
  9. 如权利要求8所述的终端,其特征在于,所述终端还包括:存储器;
    所述客户端控制模块,用于开启所述红外测距传感器;
    所述红外测距传感器,用于每隔所述预设周期,将检测的所述屏幕与用户脸部之间的距离发送给所述处理器;
    所述处理器,用于调取预存在所述存储器中的所述预设距离范围,判断接收到的所述屏幕与用户脸部之间的距离,是否小于所述预设距离范围的最小值,或者,是否大于所述预设距离范围的最大值;
    所述处理器,还用于若判断结果为小于所述预设距离范围的最小值,或者,大于所述预设距离范围的最大值,则确认所述终端的屏幕与用户脸部之间的距离超出所述预设距离范围,以及,若判断结果为不小于所述预设距离范围的最小值,或者,不大于所述预设距离范围的最大值,则确认所述终端的屏幕与用户脸部之间的距离超出所述预设距离范围,则确认所述终端的屏幕与用户脸部之间的距离未超出所述预设距离范围;
    所述处理器,还用于将所述终端的屏幕与用户脸部之间的距离是否超出所述预设距离范围的确认结果发送给所述客户端控制模块。
  10. 如权利要求9所述的终端,其特征在于,其特征在于,所述客户端控制模块,还用于开启所述摄像装置,控制所述摄像装置拍摄并发送所述用户的脸部图像给所述处理器;
    所述处理器,还用于在预先存储的参照图像中确定与接收到的所述用户的脸部图像匹配的目标参照图像;
    所述处理器,还用于获取所述参照图像对应的身份属性,并根据所述身份属性确认所述用户是否为目标用户,并将确认结果反馈给所述客户端控制模块。
PCT/CN2019/075578 2019-02-20 2019-02-20 一种终端使用控制方法及一种终端 WO2020168487A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/075578 WO2020168487A1 (zh) 2019-02-20 2019-02-20 一种终端使用控制方法及一种终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/075578 WO2020168487A1 (zh) 2019-02-20 2019-02-20 一种终端使用控制方法及一种终端

Publications (1)

Publication Number Publication Date
WO2020168487A1 true WO2020168487A1 (zh) 2020-08-27

Family

ID=72143922

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075578 WO2020168487A1 (zh) 2019-02-20 2019-02-20 一种终端使用控制方法及一种终端

Country Status (1)

Country Link
WO (1) WO2020168487A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407963A (zh) * 2014-11-10 2015-03-11 集怡嘉数码科技(深圳)有限公司 一种距离控制方法和终端设备
CN105678146A (zh) * 2016-01-05 2016-06-15 上海斐讯数据通信技术有限公司 一种终端及其操作方法
CN107277258A (zh) * 2017-07-05 2017-10-20 深圳传音控股有限公司 一种基于智能终端的控制方法及控制系统
US20170318227A1 (en) * 2016-04-29 2017-11-02 Hannstouch Solution Incorporated Mobile device and eye-protection control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407963A (zh) * 2014-11-10 2015-03-11 集怡嘉数码科技(深圳)有限公司 一种距离控制方法和终端设备
CN105678146A (zh) * 2016-01-05 2016-06-15 上海斐讯数据通信技术有限公司 一种终端及其操作方法
US20170318227A1 (en) * 2016-04-29 2017-11-02 Hannstouch Solution Incorporated Mobile device and eye-protection control method thereof
CN107277258A (zh) * 2017-07-05 2017-10-20 深圳传音控股有限公司 一种基于智能终端的控制方法及控制系统

Similar Documents

Publication Publication Date Title
US20240098083A1 (en) Authenticating a user device via a monitoring device
CN105550554B (zh) 一种防偷窥方法及移动终端
US9398007B1 (en) Deferred authentication methods and systems
RU2669682C2 (ru) Способ и устройство для определения полномочий управления пользовательским устройством
US10311278B2 (en) Method for encrypting application and terminal
US10699116B2 (en) Eye gaze authentication
US9075974B2 (en) Securing information using entity detection
US10380420B2 (en) Electronic device and screen adjusting method based on condition of user's eye
US20170150025A1 (en) Image exposure method for mobile terminal based on eyeprint recognition and image exposure system
CN104464647B (zh) 一种背光亮度调节方法及终端
US10318721B2 (en) System and method for person reidentification
WO2021017843A1 (zh) 一种屏幕亮度调节方法及装置
US20160182944A1 (en) Television volume control method and system
US20140232843A1 (en) Gain Value of Image Capture Component
US10033973B1 (en) Systems and methods for customizing a personalized user interface using face recognition
TWI739096B (zh) 資料處理方法和電子設備
US20160294835A1 (en) Initiating a Secure Action Via Physical Manipulation
WO2021003752A1 (zh) 一种访问控制方法、装置、智能设备及存储介质
CN103995822A (zh) 一种终端及信息搜索方法
CN105025175A (zh) 显示装置及显示控制方法
EP3618474B1 (en) Method for setting password for electronic cigarette, system, storage medium, and electronic cigarette
WO2020168488A1 (zh) 终端屏幕控制方法及终端
US11263301B2 (en) User authentication using variant illumination
WO2020168487A1 (zh) 一种终端使用控制方法及一种终端
US20130258074A1 (en) Electronic device and method for prompting overtime usage of electronic device

Legal Events

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

Ref document number: 19916242

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19916242

Country of ref document: EP

Kind code of ref document: A1