A method, system, computer device and storage medium for turning off the screen of a smart phone

By obtaining and analyzing the facial feature information of mobile phone users, estimating their age and matching the entertainment schedule, the automatic closing of the smartphone screen is achieved, solving the problem of difficulty in real-time control of children's mobile phone entertainment time in the existing technology, and improving the children's The management efficiency of mobile phone use protects eyesight.

CN117354417BActive Publication Date: 2025-01-03SHENZHEN DUOWEI ZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311298662.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2025-01-03
Estimated Expiration
2043-10-09

AI Technical Summary

Technical Problem

The existing technology is difficult to control children's mobile entertainment time in real time, especially when parents cannot supervise them at all times, children may play with their mobile phones at night, resulting in problems such as vision loss.

Method used

By obtaining the face image of the mobile phone user, extracting feature information, calculating the face feature value, determining whether it is a child, and estimating the age based on the child's facial feature information, so as to match the entertainment schedule in the system database and setting the mobile phone screen Automatically close the time.

Benefits of technology

Real-time control of the use time of children's mobile phones is achieved, and parents' need for constant supervision is avoided, and children are effectively prevented from overuse of mobile phones at night, reducing the risk of myopia.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117354417B_ABST
    Figure CN117354417B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of smart phone screens, and discloses a method and system for turning off the screen of a smart phone, which comprises obtaining a facial image of a mobile phone user; determining whether the facial image is a child's image; if the facial image is a child's image, obtaining facial feature information of the child, inputting the facial feature information into an age estimation model, and obtaining the estimated age of the child; inputting the estimated age of the child into a database and matching it with an entertainment schedule to obtain the entertainment duration; and setting the automatic turning off time of the mobile phone screen according to the entertainment duration; the present invention obtains the facial feature information of the child, estimates the age according to the facial feature information of the child, and matches the estimated age with the entertainment schedule in the system database to limit the entertainment duration, thereby controlling the mobile phone usage time of the child in real time. Compared with the prior art, the present invention can automatically and recognize and limit the entertainment time of the child through the mobile phone, without the need for parents to supervise at all times.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smartphone screens, and in particular to a method and system for turning off a smartphone screen. Background Art

[0002] With the development of mobile communications and the continuous improvement of people's living standards, the use of various mobile terminals such as mobile phones is becoming more and more popular. Smartphones are the most frequently used electronic devices. Long-term use will lead to decreased vision. The subsequent myopia problem is not only becoming more and more popular, but also occurring at a younger age. Children, in particular, are easily attracted by interesting content on mobile phones. Therefore, this phenomenon must be controlled.

[0003] In the prior art, in order to achieve corresponding control over children, it is usually necessary to limit the time they spend playing with mobile phones. Parents are required to collect their mobile phones after the entertainment time is over. However, parents are often unable to be with their children all the time to control their children's mobile phone entertainment time. For example, after turning off the lights at night, some children will secretly play with their mobile phones, making it difficult to achieve real-time control of children's game time. Summary of the invention

[0004] The main purpose of this application is to provide a method and system for turning off the screen of a smart phone, aiming to solve the technical problems raised in the prior art.

[0005] This application proposes a method for turning off a smartphone screen, comprising:

[0006] Obtaining a facial image of a mobile phone user;

[0007] Extract the focal length of the phone when taking the face image;

[0008] Extract the distance between the face and the mobile phone screen when taking the face image;

[0009] Acquiring the facial imaging height of the mobile phone user according to the facial image;

[0010] The face width is calculated according to the focal length of the mobile phone, the distance between the face and the mobile phone screen, and the face imaging height, wherein the calculation formula is:

[0011]

[0012] Among them, H represents the width of the face, h represents the height of the face image, D represents the distance between the face and the phone screen, and F represents the focal length of the phone;

[0013] Extract binocular feature values ​​and binocular weight coefficients in facial images;

[0014] Extract mouth and nose feature values ​​and mouth and nose weight coefficients in facial images;

[0015] The facial feature value of the user is calculated according to the facial width, binocular feature value, binocular weight coefficient, mouth and nose feature value and mouth and nose weight coefficient, wherein the calculation formula is:

[0016]

[0017] Among them, E represents the facial feature value, H represents the facial width, L1 represents the binocular feature value, Q1 represents the binocular weight coefficient, L2 represents the mouth and nose feature value, and Q2 represents the mouth and nose weight coefficient;

[0018] Determining whether the facial feature value is less than a preset feature value;

[0019] If the facial feature value is less than a preset feature value, the facial image corresponding to the facial feature value is determined to be a child image;

[0020] If it is a child image, obtain facial feature information of the child image;

[0021] Get the facial feature values ​​of the child;

[0022] Get the size of the child's face area;

[0023] Get the distance between the child's eyes and the tip of his nose;

[0024] Get the distance between the child's eyes and the corners of his mouth;

[0025] Get the distance from the tip of the child's nose to the corner of the mouth;

[0026] The characteristic values ​​of the distribution of the child's facial features are calculated according to the face area, the distance between the eyes and the nose tip, the distance between the eyes and the corners of the mouth, and the distance from the nose tip to the corners of the mouth, wherein the calculation formula is:

[0027]

[0028] Among them, f x represents the distribution characteristic value of the child's facial features, s1 represents the distance between the eyes and the tip of the nose, s2 represents the distance between the eyes and the corners of the mouth, s3 represents the distance from the tip of the nose to the corners of the mouth, and S represents the facial area size;

[0029] Obtain standard feature values ​​of distribution of facial features of adults;

[0030] Calculating the estimated age of the child based on the child's facial feature values, the child's facial features distribution feature values ​​and the adult's facial features distribution standard feature values;

[0031] The calculation formula is:

[0032] z=∑(f x -k)*E;

[0033] Among them, z represents the estimated age of the child, f x represents the characteristic value of the distribution of children's facial features, k represents the standard characteristic value of the distribution of adults' facial features, and E represents the facial characteristic value;

[0034] Inputting the estimated age of the child into a database and matching it with the entertainment schedule to obtain the entertainment duration;

[0035] Set the automatic screen off time of the mobile phone according to the entertainment duration.

[0036] Preferably, the step of inputting the estimated age of the child into a database to match the entertainment schedule to obtain the entertainment duration comprises:

[0037] Obtaining an age table, wherein the age table includes toddlers, children, and teenagers;

[0038] According to the said toddlers, children and teenagers, a recreational timetable is set up respectively, so as to obtain one hour of recreational time, three hours of recreational time and five hours of recreational time;

[0039] Enter the estimated age of the child into the age table to get the actual entertainment time.

[0040] The present application also provides a smart phone screen closing system, comprising:

[0041] A first acquisition module, used to acquire a facial image of a mobile phone user;

[0042] A determination module for extracting the focal length of the mobile phone when taking a facial image;

[0043] Extract the distance between the face and the mobile phone screen when taking the face image;

[0044] Acquiring the facial imaging height of the mobile phone user according to the facial image;

[0045] The face width is calculated according to the focal length of the mobile phone, the distance between the face and the mobile phone screen, and the face imaging height, wherein the calculation formula is:

[0046]

[0047] Among them, H represents the width of the face, h represents the height of the face image, D represents the distance between the face and the phone screen, and F represents the focal length of the phone;

[0048] Extract binocular feature values ​​and binocular weight coefficients in facial images;

[0049] Extract mouth and nose feature values ​​and mouth and nose weight coefficients in facial images;

[0050] The facial feature value of the user is calculated according to the facial width, binocular feature value, binocular weight coefficient, mouth and nose feature value and mouth and nose weight coefficient, wherein the calculation formula is:

[0051]

[0052] Among them, E represents the facial feature value, H represents the facial width, L1 represents the binocular feature value, Q1 represents the binocular weight coefficient, L2 represents the mouth and nose feature value, and Q2 represents the mouth and nose weight coefficient;

[0053] Determining whether the facial feature value is less than a preset feature value;

[0054] If the facial feature value is less than a preset feature value, the facial image corresponding to the facial feature value is determined to be a child image;

[0055] If it is a child image, obtain facial feature information of the child image;

[0056] The first input module is used to obtain the facial feature value of the child;

[0057] Get the size of the child's face area;

[0058] Get the distance between the child's eyes and the tip of his nose;

[0059] Get the distance between the child's eyes and the corners of his mouth;

[0060] Get the distance from the tip of the child's nose to the corner of the mouth;

[0061] The characteristic values ​​of the distribution of the child's facial features are calculated according to the face area, the distance between the eyes and the nose tip, the distance between the eyes and the corners of the mouth, and the distance from the nose tip to the corners of the mouth, wherein the calculation formula is:

[0062]

[0063] Among them, f x represents the distribution characteristic value of the child's facial features, s1 represents the distance between the eyes and the tip of the nose, s2 represents the distance between the eyes and the corners of the mouth, s3 represents the distance from the tip of the nose to the corners of the mouth, and S represents the facial area size;

[0064] Obtain standard feature values ​​of distribution of facial features of adults;

[0065] Calculating the estimated age of the child based on the child's facial feature values, the child's facial features distribution feature values ​​and the adult's facial features distribution standard feature values;

[0066] The calculation formula is:

[0067] z=∑(f x -k)*E;

[0068] Among them, z represents the estimated age of the child, fx represents the characteristic value of the distribution of children's facial features, k represents the standard characteristic value of the distribution of adults' facial features, and E represents the facial characteristic value;

[0069] A second input module is used to input the estimated age of the child into a database to match the entertainment schedule to obtain the entertainment duration;

[0070] The setting module is used to set the automatic shut-off time of the mobile phone screen according to the entertainment time.

[0071] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method for turning off the smartphone screen when executing the computer program.

[0072] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned method for turning off the screen of a smartphone are implemented.

[0073] The beneficial effects of the present application are as follows: the present invention obtains the facial feature information of the child, wherein the facial feature information includes facial feature distribution feature information, facial shape feature information and facial feature shape feature information, estimates the age according to the facial feature information of the child, and then matches the estimated age with the entertainment schedule in the system database to limit the entertainment time, thereby controlling the child's mobile phone usage time in real time. Compared with the prior art, the present invention can automatically and recognize the limit of the child's entertainment time through the mobile phone, without the need for parents to supervise at all times. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 Schematic diagram of the steps of a method for turning off the screen of a smartphone according to an embodiment of the present application.

[0075] Figure 2 This is a schematic diagram of the structure of a smart phone screen turning off system according to an embodiment of the present application.

[0076] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0077] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0078] like Figure 1 As shown, the present application proposes a method for turning off a smartphone screen, comprising:

[0079] S1, obtaining a facial image of a mobile phone user;

[0080] S2, judging whether the facial image is a child's image according to the facial image;

[0081] S3. If the image is of a child, obtain facial feature information of the child image;

[0082] S4, inputting the facial feature information into an age estimation model to obtain the estimated age of the child;

[0083] S5, inputting the estimated age of the child into a database and matching it with the entertainment schedule to obtain the entertainment duration;

[0084] S6. Setting the automatic screen-off time of the mobile phone according to the entertainment duration.

[0085] As described in the above steps S1-S6, today's mobile era and economic development have led to more and more children owning their own mobile phones. Because of this, more and more people are trapped in the virtual world. They play games day and night, especially playing with mobile phones after turning off the lights at night. The strong radiation from the mobile phone screen causes myopia in children. There is no APP to control the children's game time, which cannot effectively prevent children from playing games at night. In order to achieve corresponding management and control of children, parents are currently required to collect their mobile phones after the entertainment time is over. However, parents are often unable to control their children's mobile phone entertainment time at all times. The present invention obtains the facial feature information of the child and estimates the age according to the facial feature information of the child, so as to match the estimated age with the entertainment schedule in the system database and limit the entertainment time, thereby controlling the child's mobile phone usage time in real time. Compared with the prior art, the present invention can automatically and recognize the limit of the child's entertainment time through the mobile phone without the need for parents to supervise at all times.

[0086] In a further embodiment, the step of determining whether the facial image is a child image comprises:

[0087] S7, extracting the face width in the face image;

[0088] S8, extracting binocular feature values ​​and binocular weight coefficients in the facial image;

[0089] S9, extracting mouth and nose feature values ​​and mouth and nose weight coefficients in the facial image;

[0090] S10, calculating the user's facial feature value according to the facial width, binocular feature value, binocular weight coefficient, mouth and nose feature value and mouth and nose weight coefficient, wherein the calculation formula is:

[0091]

[0092] Where, E represents the facial feature value, H represents the facial width, L1 represents the binocular feature value, Q1 represents the binocular weight coefficient, L2 represents the mouth and nose feature value, and Q2 represents the mouth and nose feature coefficient;

[0093] S11, determining whether the facial feature value is less than a preset feature value;

[0094] If the facial feature value is less than a preset feature value, the facial image corresponding to the facial feature value is determined to be a child image.

[0095] The step of extracting the face width in the face image comprises:

[0096] S12, extracting the focal length of the mobile phone when taking the facial image;

[0097] S13, extracting the distance between the face and the mobile phone screen when the facial image is captured;

[0098] S14, obtaining the facial imaging height of the mobile phone user according to the facial image;

[0099] S15, calculating the face width according to the focal length of the mobile phone, the distance between the face and the mobile phone screen, and the face imaging height, wherein the calculation formula is:

[0100]

[0101] Among them, H represents the width of the face, h represents the facial imaging height, D represents the distance between the face and the mobile phone screen, and F represents the focal length of the mobile phone.

[0102] As described in the above steps S7-S15, in the present invention, the face width of the mobile phone user is calculated by the focal length of the mobile phone, the distance between the face and the mobile phone screen, and the face imaging height, and then the face feature value of the user can be calculated by the face width, binocular feature value, binocular weight coefficient, mouth and nose feature value and mouth and nose weight coefficient, wherein the binocular feature value can be the inner corner, outer corner, concave or protruding features of the eye, and similarly, the mouth and nose feature value can also be the shape, width or size features. Compared with the prior art, which directly judges only by the shape of the eyes, nose, mouth, etc., the user's facial feature value obtained by the above calculation method basically covers the features of the human facial features, so that the calculated facial feature value is closer to the actual situation, and then the calculated facial feature value is used to judge whether the mobile phone user is an adult or a child. Specifically, if the facial feature value is greater than the preset feature value, the mobile phone user is determined to be an adult, otherwise it is a child. The above calculation method can first distinguish whether the mobile phone user is an adult. Only when the mobile phone user is a child, the mobile phone will further calculate the child's age to match the entertainment time.

[0103] In a further embodiment, the step of inputting the facial feature information into an age estimation model to obtain the estimated age of the child comprises:

[0104] S16, obtaining facial feature values ​​of the child;

[0105] S17, obtaining the distribution characteristic values ​​of the child's facial features corresponding to the child's facial features;

[0106] S18, obtaining standard characteristic values ​​of distribution of facial features of adults;

[0107] S19, calculating the estimated age of the child based on the child's facial feature values, the child's facial features distribution feature values ​​and the adult's facial features distribution standard feature values;

[0108] The calculation formula is:

[0109] z=∑(f x -k)*E;

[0110] Among them, z represents the estimated age of the child, f x represents the characteristic value of the distribution of children's facial features, k represents the standard characteristic value of the distribution of adults' facial features, and E represents the facial characteristic value.

[0111] The step of obtaining the distribution characteristic values ​​of the child's facial features corresponding to the child's facial features comprises:

[0112] S20, obtaining the size of the child's face area;

[0113] S21, obtaining the distance between the child's eyes and the tip of his nose;

[0114] S22, obtaining the distance between the child's eyes and the corners of his mouth;

[0115] S23, obtaining the distance from the nose tip to the mouth corner of the child;

[0116] S24, calculating the distribution characteristic value of the child's facial features according to the face area, the distance between the eyes and the nose tip, the distance between the eyes and the mouth corners, and the distance from the nose tip to the mouth corners, wherein the calculation formula is:

[0117]

[0118] Among them, f x represents the characteristic value of the distribution of children's facial features, s1 represents the distance between the eyes and the tip of the nose, s2 represents the distance between the eyes and the corners of the mouth, s3 represents the distance from the tip of the nose to the corners of the mouth, and S represents the facial area size.

[0119] As described in the above steps S16-S24, the present invention calculates the characteristic values ​​of the distribution of the child's facial features according to the facial area size, the distance between the eyes and the tip of the nose, the distance between the eyes and the corners of the mouth, and the distance from the nose tip to the corners of the mouth, and then calculates the estimated age of the child according to the facial characteristic values ​​of the child, the characteristic values ​​of the distribution of the child's facial features, and the standard characteristic values ​​of the distribution of the adult's facial features. Compared with the prior art of measuring the lateral width of the face, the distance from the inner corner of the left eye to the inner corner of the right eye, and the distance from the left nose wing to the right nose wing by a ruler or measuring tool, and then calculating the ratio of the width of the face to the distance between the eyes and the distance between the eyes and the width of the face to the width of the mouth and nose, respectively, and judging the age according to the calculated ratios, the above calculation method is more accurate through the characteristic calculation of the distance between the eyes and the tip of the nose, the distance between the eyes and the corners of the mouth, and the distance from the nose tip to the corners of the mouth, so that the estimated age is closer to the actual age with a smaller error.

[0120] In a further embodiment, the step of inputting the estimated age of the child into a database and matching it with the entertainment schedule to obtain the entertainment duration includes:

[0121] S25, obtaining an age table, wherein the age table includes young children, children and teenagers;

[0122] S26, setting up entertainment schedules for the toddlers, children and teenagers respectively, to obtain one hour of entertainment time, three hours of entertainment time and five hours of entertainment time;

[0123] S27. Input the estimated age of the child into the age table to obtain the actual entertainment time.

[0124] As described in the above steps S25-S27, the present invention matches and selects the entertainment schedules of toddlers, children and teenagers pre-set in the database based on the child's estimated age, so that the mobile phone can choose whether the mobile phone user has one hour of entertainment time, three hours of entertainment time or five hours of entertainment time according to the child's estimated age. Finally, when the entertainment time is up, the mobile phone will automatically lock the screen.

[0125] like Figure 2 As shown, the present application also provides a smart phone screen closing system, including:

[0126] The first acquisition module is used to acquire the body image size information of the mobile phone user;

[0127] A determination module, used for determining adults and children according to the human body imaging size information;

[0128] The second acquisition module is used to acquire multiple facial feature information of the child;

[0129] A first input module, used for inputting the facial feature information into an age estimation model to obtain an estimated age of the child;

[0130] A second input module is used to input the estimated age of the child into a database to match the entertainment schedule to obtain the entertainment duration;

[0131] The setting module is used to set the automatic shut-off time of the mobile phone screen according to the entertainment time.

[0132] Preferably, the determining module comprises:

[0133] An acquisition unit, used for acquiring actual human height;

[0134] A judging unit, used for judging whether the actual human body height is greater than a preset human body height;

[0135] If the actual human height is greater than the preset human height, the mobile phone user is determined to be an adult;

[0136] If the actual human body height is less than the preset human body height, the mobile phone user is determined to be a child.

[0137] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method for turning off the smartphone screen when executing the computer program.

[0138] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned method for turning off the screen of a smartphone are implemented.

[0139] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0141] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for turning off a smartphone screen, characterized in that: include: Obtaining a facial image of a mobile phone user; Extract the focal length of the phone when taking the face image; Extract the distance between the face and the mobile phone screen when taking the face image; Acquiring the facial imaging height of the mobile phone user according to the facial image; The face width is calculated according to the focal length of the mobile phone, the distance between the face and the mobile phone screen, and the face imaging height, wherein the calculation formula is: Among them, H represents the width of the face, h represents the height of the face image, D represents the distance between the face and the phone screen, and F represents the focal length of the phone; Extract binocular feature values ​​and binocular weight coefficients from facial images; Extract mouth and nose feature values ​​and mouth and nose weight coefficients in facial images; The facial feature value of the user is calculated according to the facial width, binocular feature value, binocular weight coefficient, mouth and nose feature value and mouth and nose weight coefficient, wherein the calculation formula is: Among them, E represents the facial feature value, H represents the facial width, L1 represents the binocular feature value, Q1 represents the binocular weight coefficient, L2 represents the mouth and nose feature value, and Q2 represents the mouth and nose weight coefficient; Determining whether the facial feature value is less than a preset feature value; If the facial feature value is less than a preset feature value, the facial image corresponding to the facial feature value is determined to be a child image; If it is a child image, obtain facial feature information of the child image; Get the facial feature values ​​of the child; Get the size of the child's face area; Get the distance between the child's eyes and the tip of his nose; Get the distance between the child's eyes and the corners of his mouth; Get the distance from the tip of the child's nose to the corner of the mouth; The characteristic values ​​of the distribution of the child's facial features are calculated according to the face area, the distance between the eyes and the nose tip, the distance between the eyes and the corners of the mouth, and the distance from the nose tip to the corners of the mouth, wherein the calculation formula is: Among them, f x represents the distribution characteristic value of the child's facial features, s1 represents the distance between the eyes and the tip of the nose, s2 represents the distance between the eyes and the corners of the mouth, s3 represents the distance from the tip of the nose to the corners of the mouth, and S represents the facial area size; Obtain standard feature values ​​of distribution of facial features of adults; Calculating the estimated age of the child based on the child's facial feature values, the child's facial features distribution feature values ​​and the adult's facial features distribution standard feature values; The calculation formula is: z=∑(f x -k)*E; Among them, z represents the estimated age of the child, f x represents the characteristic value of the distribution of children's facial features, k represents the standard characteristic value of the distribution of adults' facial features, and E represents the facial characteristic value; Inputting the estimated age of the child into a database and matching it with the entertainment schedule to obtain the entertainment duration; Set the automatic screen off time of the mobile phone according to the entertainment duration.

2. The method for turning off the screen of a smart phone according to claim 1, characterized in that: The step of inputting the estimated age of the child into a database to match the entertainment schedule to obtain the entertainment duration includes: Obtaining an age table, wherein the age table includes toddlers, children, and teenagers; According to the said toddlers, children and teenagers, a recreational timetable is set up respectively, so as to obtain one hour of recreational time, three hours of recreational time and five hours of recreational time; Enter the estimated age of the child into the age table to get the actual entertainment time.

3. A smart phone screen closing system, characterized in that: include: A first acquisition module, used to acquire a facial image of a mobile phone user; A determination module for extracting the focal length of the mobile phone when taking a facial image; Extract the distance between the face and the mobile phone screen when taking the face image; Acquiring the facial imaging height of the mobile phone user according to the facial image; The face width is calculated according to the focal length of the mobile phone, the distance between the face and the mobile phone screen, and the face imaging height, wherein the calculation formula is: Among them, H represents the width of the face, h represents the height of the face image, D represents the distance between the face and the phone screen, and F represents the focal length of the phone; Extract binocular feature values ​​and binocular weight coefficients from facial images; Extract mouth and nose feature values ​​and mouth and nose weight coefficients in facial images; The facial feature value of the user is calculated according to the facial width, binocular feature value, binocular weight coefficient, mouth and nose feature value and mouth and nose weight coefficient, wherein the calculation formula is: Among them, E represents the facial feature value, H represents the facial width, L1 represents the binocular feature value, Q1 represents the binocular weight coefficient, L2 represents the mouth and nose feature value, and Q2 represents the mouth and nose weight coefficient; Determining whether the facial feature value is less than a preset feature value; If the facial feature value is less than a preset feature value, the facial image corresponding to the facial feature value is determined to be a child image; If it is a child image, obtain facial feature information of the child image; The first input module is used to obtain the facial feature value of the child; Get the size of the child's face area; Get the distance between the child's eyes and the tip of his nose; Get the distance between the child's eyes and the corners of his mouth; Get the distance from the tip of the child's nose to the corner of the mouth; The characteristic values ​​of the distribution of the child's facial features are calculated according to the face area, the distance between the eyes and the nose tip, the distance between the eyes and the corners of the mouth, and the distance from the nose tip to the corners of the mouth, wherein the calculation formula is: Among them, f x represents the distribution characteristic value of the child's facial features, s1 represents the distance between the eyes and the tip of the nose, s2 represents the distance between the eyes and the corners of the mouth, s3 represents the distance from the tip of the nose to the corners of the mouth, and S represents the facial area size; Obtain standard feature values ​​of distribution of facial features of adults; Calculating the estimated age of the child based on the child's facial feature values, the child's facial features distribution feature values ​​and the adult's facial features distribution standard feature values; The calculation formula is: z=∑(f x -k)*E; Among them, z represents the estimated age of the child, f x represents the characteristic value of the distribution of children's facial features, k represents the standard characteristic value of the distribution of adults' facial features, and E represents the facial characteristic value; A second input module is used to input the estimated age of the child into a database to match the entertainment schedule to obtain the entertainment duration; The setting module is used to set the automatic shut-off time of the mobile phone screen according to the entertainment time.

4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.