CN110597426A - Bright screen processing method and device, storage medium and terminal - Google Patents

Bright screen processing method and device, storage medium and terminal Download PDF

Info

Publication number
CN110597426A
CN110597426A CN201910815960.6A CN201910815960A CN110597426A CN 110597426 A CN110597426 A CN 110597426A CN 201910815960 A CN201910815960 A CN 201910815960A CN 110597426 A CN110597426 A CN 110597426A
Authority
CN
China
Prior art keywords
terminal
duration
analysis result
screen
information
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.)
Pending
Application number
CN201910815960.6A
Other languages
Chinese (zh)
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.)
JRD Communication Shenzhen Ltd
Jiekai Communications Shenzhen Co Ltd
Original Assignee
Jiekai Communications Shenzhen 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 Jiekai Communications Shenzhen Co Ltd filed Critical Jiekai Communications Shenzhen Co Ltd
Priority to CN201910815960.6A priority Critical patent/CN110597426A/en
Publication of CN110597426A publication Critical patent/CN110597426A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

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

Abstract

The embodiment of the application discloses a bright screen processing method and device, a storage medium and a terminal. According to the screen-up processing method, when the terminal is in a screen-up state, if it is detected that no user behavior operation is received within a preset time length, a currently running foreground application program is determined; and if a sample application program matched with the foreground application program exists in the preset sample set, acquiring current image information through the camera, analyzing the acquired image information, and adjusting the screen-on duration of the terminal based on an analysis result. According to the scheme, the accuracy of bright screen setting can be improved, and the influence on normal bright screen display of the terminal is avoided.

Description

Bright screen processing method and device, storage medium and terminal
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for processing a bright screen, a storage medium, and a terminal.
Background
With the development of the internet and the mobile communication network, and the rapid development of the processing capability and the storage capability of the terminal, a great amount of applications are rapidly spread and used.
In the related art, after a display screen of a terminal is turned on, if it is not detected that a user uses the terminal within a certain period of time, the terminal automatically turns off the screen to reduce power consumption. However, in this way, whether the terminal is turned off or not is controlled based on whether the user operation is received or not, the screen is turned off by mistake, and thus, the normal bright screen display of the terminal is affected.
Disclosure of Invention
The embodiment of the application provides a bright screen processing method and device, a storage medium and a terminal, and can improve the accuracy of bright screen setting.
In a first aspect, an embodiment of the present application provides a bright screen processing method, which is applied to a terminal, and includes:
when the terminal is in a bright screen state, if it is detected that no user behavior operation is received within a preset time, determining a currently running foreground application program;
judging whether a sample application program matched with the foreground application program exists in a preset sample set or not;
if so, acquiring current image information through a camera of the terminal;
analyzing the image information to obtain an analysis result;
and adjusting the screen-on duration of the terminal based on the analysis result.
In a second aspect, an embodiment of the present application provides a bright screen processing apparatus, which is applied to a terminal, and includes:
the determining unit is used for determining a currently running foreground application program if detecting that no user behavior operation is received within a preset time length when the terminal is in a bright screen state;
the judging unit is used for judging whether a sample application program matched with the foreground application program exists in a preset sample set or not;
an obtaining unit, configured to obtain current image information through a camera of the terminal when the determining unit determines that the terminal is a user terminal;
the analysis unit is used for analyzing the image information to obtain an analysis result;
and the adjusting unit is used for adjusting the screen-on duration of the terminal based on the analysis result.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute the above-mentioned bright screen processing method.
In a fourth aspect, an embodiment of the present application further provides a terminal, including a processor and a memory, where the processor is electrically connected to the memory, and the memory is used to store instructions and data; the processor is used for executing the bright screen processing method.
In the implementation of the application, when the terminal is in a bright screen state, if it is detected that no user behavior operation is received within a preset time length, a currently running foreground application program is determined; and if a sample application program matched with the foreground application program exists in the preset sample set, acquiring current image information through the camera, analyzing the acquired image information, and adjusting the screen-on duration of the terminal based on an analysis result. According to the scheme, the operation of the user on the terminal and the adjustment of the screen-on duration of the user image information are combined, the accuracy of screen-on setting can be improved, and the influence on normal screen-on display of the terminal is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a bright screen processing method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a terminal according to an embodiment of the present application.
Fig. 3 is a schematic diagram of another terminal provided in the embodiment of the present application.
Fig. 4 is another schematic flow chart of a bright screen processing method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a bright screen processing apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a bright screen processing method and device, a storage medium and a terminal. The details will be described below separately.
In an embodiment, a bright screen processing method is provided, and is applied to terminal devices such as smart phones, tablet computers, and notebook computers. Referring to fig. 1, a specific flow of the bright screen processing method may be as follows:
101. when the terminal is in a bright screen state, if it is detected that no user behavior operation is received within a preset time, determining a currently running foreground application program.
Specifically, if it is detected that the user behavior operation is not received within the preset time period, it is preliminarily indicated that the user is not currently using the terminal. At this time, it may be determined whether an application is running in the foreground, so as to further determine whether the user needs to use the terminal based on the state of the application running in the foreground.
In practical application, a monitoring mechanism can be arranged on a terminal desktop to detect whether an interface of other application programs exists on the desktop. And determining whether the application program runs in the foreground or not based on the monitoring result, and determining which application program runs in the foreground according to the monitored interface.
102. Judging whether a sample application program matched with a foreground application program exists in a preset sample set or not; if yes, go to step 103, otherwise, end the process.
The preset sample set may include a plurality of sample applications. The sample application may be an application selected by a user from all applications installed in the terminal according to actual needs. For example, the sample application may be an office application, a social application, a gaming application, a shopping application, and the like. It should be noted that the sample application in the preset sample application in this embodiment may be an application that the user considers to be important, and/or an application that the user needs to view a screen (for example, applications such as comics, novels, and videos).
Specifically, the application identifier of the sample application program may be matched with the sample identifier of the foreground application program. And if the application identifications of the two are the same, the matching is successful. The application identifier has uniqueness and can be used for distinguishing different application programs. For example, the application identifier may specifically be an installation package name of the application program, an application program name, and the like.
103. And acquiring current image information through a camera of the terminal.
In this embodiment, the terminal has a camera, and can be used to shoot the picture at the side where the terminal display screen is located. For example, the camera may be a front-facing camera.
In some embodiments, referring to fig. 2, the camera may be disposed in the display screen at a position close to the center line L to better capture a picture in front of the terminal.
In some embodiments, referring to fig. 3, the camera may also be disposed below the display screen. The display screen can be specially processed, so that the part of the display screen corresponding to the camera achieves the effect of light transmission. And then the light-in path of the camera enters the light-in surface of the camera through the display screen to acquire the external picture information.
104. And analyzing the image information to obtain an analysis result.
In this embodiment, the acquired image information may be analyzed to further determine whether the user is currently using the terminal. In some embodiments, referring to fig. 4, the step "analyzing the image information to obtain an analysis result" may include the following processes:
1041. judging whether the image information contains a face image; if yes, go to step 1402, otherwise, end the process.
1042. Determining an eye region from the face image;
1043. extracting image characteristics of the eye region;
1044. and analyzing the image characteristics to obtain an analysis result.
Specifically, the image information may be identified by using an image identification technique. And judging whether the image information contains a face image or not by an image recognition technology. And if the human face image is contained, determining the eye area from the human face image. In practical application, if the eye area is not identified, it indicates that the user is not currently watching the display screen of the terminal. If the eye area is identified, the image characteristics of the eye area can be further extracted, a corresponding analysis result can be obtained by analyzing the image characteristics, and whether the user uses the terminal can be determined according to the analysis result.
In this embodiment, when determining the eye region from the face image, Dlib may be used to detect key points of the face. The Dlib is a machine-learning C + + library and contains a plurality of algorithms commonly used for machine learning. For example, by Dlib it is possible to detect: the chin is formed by 17 face key point marks, and left and right eyebrows are respectively formed by 5 face key point marks, and the nose is formed by 9 face key point marks, and left and right eyes are respectively formed by 6 face key point marks, and the mouth is formed by 20 face key point marks, has 68 face key points in total. And determining an eye region from the face image according to the detection result of the face key point.
In some embodiments, the image features may include one or more of color features, texture features, shape features, spatial relationship features. Wherein a color feature is a global feature describing surface properties of a scene corresponding to an image or an image area. Texture features are also global features that describe the surface properties of the scene to which the image or image region corresponds. The shape feature is a local feature, and has two types of representation methods, one is a contour feature and mainly aims at the outer boundary of an object; the other is a region feature, which relates to the entire shape region. The spatial relationship features refer to the mutual spatial position or relative direction relationship among a plurality of targets segmented from the image, and these relationships can also be classified into connection/adjacency relationship, overlapping/overlapping relationship, inclusion/containment relationship, and the like.
Image feature extraction is to extract image information using a computer and determine whether a point of each image belongs to one image feature. The result of feature extraction is to divide the points on the image into different subsets, which often belong to isolated points, continuous curves or continuous regions. Features are the starting points for many computer image analysis algorithms. One of the most important characteristics of feature extraction is "repeatability", i.e. the features extracted from different images of the same scene should be the same.
In the specific implementation process, the image characteristics of the local area image can be extracted by utilizing a Fourier transform method, a window Fourier transform method, a wavelet transform method, a least square method, a boundary direction histogram method, texture characteristic extraction based on Tamura texture characteristics and the like.
In practical applications, if the user is in an eye-closing state (e.g., the user falls asleep), the eye area can be identified, and at this time, it is easy to determine that the user is using the terminal by mistake. Therefore, in order to avoid misjudgment, whether the information of eyeballs, pupils and the like is contained can be identified through the image characteristics of the eye area so as to determine whether the user opens the eyes to see the display screen. That is, in some embodiments, the step "analyzing the image features to obtain the analysis result" may include the following processes:
(11) judging whether the eye region contains pupil information according to the image characteristics to obtain a judgment result;
(12) and generating an analysis result according to the judgment result.
Specifically, when the determination result is that the pupil information is included, the analysis result may be that the user is using the terminal; when the determination result is that the pupil information is not included, the analysis result may be that the user is not using the terminal.
In some embodiments, when generating the analysis result according to the determination result, the following process may be included:
(121) when the judgment result is that the eye region contains pupil information, acquiring the position and the area of a pupil;
(122) comparing the pupil position and the pupil area with the pupil position and the pupil area in a preset face image to obtain difference information;
(123) determining the sight line deflection angle information according to the difference information;
(124) and generating the analysis result according to the sight angle information.
In this embodiment, a face image (which may also be a front face image) when the user normally views the display screen needs to be preset and acquired, where the face image includes eyeball information, pupil information, and the like in an eye area of the user. In a specific implementation process, information such as pupil positions and areas in a current face image acquired by a camera is compared with information such as pupil positions and areas of a face image acquired in advance, and difference information between the two is calculated. And then, calculating the visual line deflection angle of the eyes of the user by using a correlation algorithm according to the difference information.
In practical application, if the line of sight deflection angle is within a preset angle range, the line of sight of the user can be indicated to be on the display screen. At this time, it may be determined that the user is currently using the terminal. When the line of sight deflection angle is out of the preset angle range, the line of sight of the user can be indicated to be not on the display screen, and at the moment, the fact that the user is not using the terminal currently can be determined. Based on this, different analytical results can be obtained.
105. And adjusting the screen-on duration of the terminal based on the analysis result.
Specifically, the screen-on duration of the terminal is adjusted according to the analysis result. For example, if the analysis result is that the user is using the terminal, the screen-on duration of the terminal can be prolonged, so that the terminal display screen does not disappear when the user is still using the terminal. And when the analysis result shows that the user does not use the terminal, the power supply to the terminal display screen can be stopped, so that the terminal display screen enters a screen-off state, and the power consumption of the terminal is saved.
In some embodiments, different applications may require different durations of the bright screen due to their different functions. For example, video-type applications require longer on-screen times because video content can be captured by video sound even if the user does not need to look at the screen. Therefore, when the screen-on duration is adjusted, the screen-on duration of the video application program can be set to be longer in order to avoid the situation that the user does not watch the display screen in time and the display screen is turned off by mistake.
For the application programs such as text type and image type, the content of the application programs can be known only by eyes of the user, so that the situation that the user cannot see the display screen when using the application programs is avoided. Therefore, when the screen-up duration is adjusted for such applications that need to use eyes to know content at all, the screen-up duration for the video-type applications can be set to be shorter.
That is, in some embodiments, the step "adjusting the screen-on duration of the terminal based on the analysis result" may include the following steps:
1051. judging whether the analysis result meets a preset condition or not;
1052. when the analysis result meets a preset condition, determining the application type of a foreground application program;
1053. acquiring duration information corresponding to the application type;
1054. and adjusting the screen-on duration of the terminal based on the duration information.
Specifically, the analysis result meets a preset condition, that is, the analysis result indicates that the user is currently using the terminal. The application types can be classified based on whether the content of the application program needs to be known by eyes. In practical applications, the application types may include: applications that can only obtain application content by eye viewing the display screen, applications that can obtain application content by eye viewing the screen and other means, and applications that cannot obtain application content by eye viewing the display screen.
In some embodiments, when the screen-on duration of the terminal is adjusted based on the duration information, the method may specifically include the following steps:
(21) setting the screen-on duration of the terminal based on the duration information to obtain target duration;
(22) and from the current moment, controlling the terminal to be in a bright screen state within the target duration.
Specifically, after the screen-on duration of the terminal is adjusted, the control terminal keeps the screen-on state within the duration until the next detection that the user behavior operation is not received within the preset duration.
In some embodiments, the bright screen processing method may further include the steps of:
and within the target duration, if the switching operation of the foreground application program is detected, updating the screen-on duration of the terminal based on the specified duration.
Specifically, when the terminal is still in a bright screen state, if it is received that the user switches to use other application programs, the bright screen duration of the terminal is readjusted from this moment by the default bright screen duration (namely, the specified duration) of the terminal, and the step of determining whether the user behavior operation is detected in the preset duration from this moment is continuously executed.
For example, the foreground application is application a, and when it is detected that the eyes of the user are watching the screen, the screen-on duration is correspondingly adjusted to 10 minutes. And if the fact that the foreground application program is switched from the application program A to the application program B by the user is detected in the 5 th minute from the moment, updating the screen-on duration of the terminal to the default screen-on duration (such as 3 minutes) of the terminal. And starting to detect whether the user behavior operation is received within a preset time period after 3 minutes from the moment, and repeating the steps.
As can be seen from the above, in the bright-screen processing method provided in this embodiment, when the terminal is in a bright-screen state, if it is detected that the user behavior operation is not received within the preset time period, the currently running foreground application is determined; and if a sample application program matched with the foreground application program exists in the preset sample set, acquiring current image information through the camera, analyzing the acquired image information, and adjusting the screen-on duration of the terminal based on an analysis result. According to the scheme, the operation of the user on the terminal and the adjustment of the screen-on duration of the user image information are combined, the accuracy of screen-on setting can be improved, and the influence on normal screen-on display of the terminal is avoided.
In another embodiment of the present application, a bright screen processing apparatus is further provided, where the bright screen processing apparatus may be integrated in a terminal in a form of software or hardware, and the terminal may specifically include a mobile phone, a tablet computer, a notebook computer, and the like. As shown in fig. 5, the bright screen processing apparatus 300 may include: a determination unit 301, a determination unit 302, an acquisition unit 303, an analysis unit 304, and an adjustment unit 305, wherein:
a determining unit 301, configured to determine, when the terminal is in a bright screen state, a currently running foreground application if it is detected that a user behavior operation is not received within a preset time period;
a determining unit 302, configured to determine whether a sample application program matching the foreground application program exists in a preset sample set;
an obtaining unit 303, configured to obtain current image information through a camera of the terminal when the determining unit determines that the terminal is a user terminal;
an analyzing unit 304, configured to analyze the image information to obtain an analysis result;
an adjusting unit 305, configured to adjust a screen-on duration of the terminal based on the analysis result.
In some embodiments, the application icon is displayed in the operation interface, and the analysis unit 304 may include:
the first judging subunit is used for judging whether the image information contains a face image;
a first determining subunit, configured to determine an eye region from the face image when the determining subunit determines that the eye region is a true eye region;
an extraction subunit, configured to extract an image feature for the eye region;
and the analysis subunit is used for analyzing the image characteristics to obtain the analysis result.
In some embodiments, the analysis subunit may be to:
judging whether the eye region contains pupil information or not according to the image characteristics to obtain a judgment result;
and generating the analysis result according to the judgment result.
In some embodiments, the analysis subunit is further operable to:
when the judgment result is that the eye area contains pupil information, acquiring the position and the area of a pupil;
comparing the pupil position and the pupil area with the pupil position and the pupil area in a preset face image to obtain difference information;
determining the sight line deflection angle information according to the difference information;
and generating the analysis result according to the sight angle information.
In some embodiments, the adjusting unit 305 may include:
the second judgment subunit is used for judging whether the analysis result meets a preset condition or not;
the second determining subunit is used for determining the application type of the foreground application program when the analysis result meets a preset condition;
the obtaining subunit is used for obtaining the duration information corresponding to the application type;
and the adjusting subunit is used for adjusting the screen-on duration of the terminal based on the duration information.
In some embodiments, the adjustment subunit is to:
setting the screen-on duration of the terminal based on the duration information to obtain target duration;
and controlling the terminal to be in a bright screen state within the target duration from the current moment.
In some embodiments, the bright screen processing apparatus 300 may further include:
and the updating unit is used for updating the screen-on duration of the terminal based on the specified duration if the switching operation of the foreground application program is detected within the target duration.
As can be seen from the above, in the bright-screen processing device provided in the embodiment of the present application, when the terminal is in a bright-screen state, if it is detected that the user behavior operation is not received within the preset time period, the currently running foreground application program is determined; judging whether a sample application program matched with the foreground application program exists in a preset sample set or not; if so, acquiring current image information through a camera of the terminal; analyzing the image information to obtain an analysis result; and adjusting the screen-on duration of the terminal based on the analysis result. According to the scheme, the operation of the user on the terminal and the adjustment of the screen-on duration of the user image information are combined, the accuracy of screen-on setting can be improved, and the influence on normal screen-on display of the terminal is avoided.
In another embodiment of the present application, a terminal is further provided, where the terminal may be a terminal device such as a smart phone and a tablet computer. As shown in fig. 6, the terminal 400 includes a processor 401, a memory 402, and a camera 407. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the terminal 400, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or loading an application stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the terminal.
In this embodiment, the processor 401 in the terminal 400 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs the application stored in the memory 402, thereby implementing various functions:
when the terminal is in a bright screen state, if it is detected that no user behavior operation is received within a preset time, determining a currently running foreground application program;
judging whether a sample application program matched with the foreground application program exists in a preset sample set or not;
if so, acquiring current image information through a camera of the terminal;
analyzing the image information to obtain an analysis result;
and adjusting the screen-on duration of the terminal based on the analysis result.
In some embodiments, the processor 401 may perform the following operations when analyzing the image information:
judging whether the image information contains a face image;
if yes, determining an eye area from the face image;
extracting image features from the eye region;
and analyzing the image characteristics to obtain the analysis result.
In some embodiments, the processor 401 may perform the following operations when analyzing the image features:
judging whether the eye region contains pupil information or not according to the image characteristics to obtain a judgment result;
and generating the analysis result according to the judgment result.
In some embodiments, when generating the analysis result according to the determination result, the processor 401 may perform the following operations:
when the judgment result is that the eye area contains pupil information, acquiring the position and the area of a pupil;
comparing the pupil position and the pupil area with the pupil position and the pupil area in a preset face image to obtain difference information;
determining the sight line deflection angle information according to the difference information;
and generating the analysis result according to the sight angle information.
In some embodiments, when the screen-on duration of the terminal is adjusted based on the analysis result, the processor 401 may perform the following operations:
judging whether the analysis result meets a preset condition or not;
when the analysis result meets a preset condition, determining the application type of the foreground application program;
acquiring duration information corresponding to the application type;
and adjusting the screen-on duration of the terminal based on the duration information.
In some embodiments, when the screen-on duration of the terminal is adjusted based on the duration information, the processor 401 may perform the following operations:
setting the screen-on duration of the terminal based on the duration information to obtain target duration;
and controlling the terminal to be in a bright screen state within the target duration from the current moment.
In some embodiments, in the target duration, if a switching operation of a foreground application is detected, the processor 401 may further perform the following operations:
and updating the screen-on duration of the terminal based on the specified duration.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing instructions executable in the processor. Applications may constitute various functional modules. The processor 401 executes various functional applications and data processing by running applications stored in the memory 402.
The camera 407 may be used to collect image information. In this embodiment, the camera 407 may specifically be a front camera, so as to obtain an image picture of a side where the terminal display screen is located. The front camera can be a single camera with one lens, or can be provided with two or more lenses.
In some embodiments, as shown in fig. 7, the terminal 400 further includes: display 403, control circuit 404, radio frequency circuit 405, input unit 406, sensor 408, and power supply 409. The processor 401 is electrically connected to the display 403, the control circuit 404, the rf circuit 405, the input unit 406, the sensor 408, and the power source 409.
The display screen 403 may be used to display information input by or provided to the user as well as various graphical user interfaces of the terminal, which may be constituted by images, text, icons, video, and any combination thereof.
The control circuit 404 is electrically connected to the display 403, and is configured to control the display 403 to display information.
The rf circuit 405 is configured to transmit and receive rf signals, so as to establish wireless communication with a network device or other terminals through wireless communication, and transmit and receive signals with the network device or other terminals.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The sensor 408 is used to collect external environmental information. The sensors 408 may include ambient light sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
The power supply 409 is used to power the various components of the terminal 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 7, the terminal 400 may further include a speaker, a bluetooth module, and the like, which will not be described in detail herein.
As can be seen from the above, in the bright screen state, if it is detected that the user behavior operation is not received within the preset time period, the terminal provided in the embodiment of the present application determines the currently running foreground application; judging whether a sample application program matched with the foreground application program exists in a preset sample set or not; if so, acquiring current image information through a camera of the terminal; analyzing the image information to obtain an analysis result; and adjusting the screen-on duration of the terminal based on the analysis result. According to the scheme, the operation of the user on the terminal and the adjustment of the screen-on duration of the user image information are combined, the accuracy of screen-on setting can be improved, and the influence on normal screen-on display of the terminal is avoided.
In some embodiments, a computer-readable storage medium is also provided, having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the above-described bright screen processing methods.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The bright screen processing method, the bright screen processing device, the storage medium and the terminal provided by the embodiment of the present application are introduced in detail, a specific example is applied in the detailed description to explain the principle and the implementation of the present application, and the description of the embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A bright screen processing method is applied to a terminal and is characterized by comprising the following steps:
when the terminal is in a bright screen state, if it is detected that no user behavior operation is received within a preset time, determining a currently running foreground application program;
judging whether a sample application program matched with the foreground application program exists in a preset sample set or not;
if so, acquiring current image information through a camera of the terminal;
analyzing the image information to obtain an analysis result;
and adjusting the screen-on duration of the terminal based on the analysis result.
2. The bright screen processing method of claim 1, wherein the analyzing the image information to obtain an analysis result comprises:
judging whether the image information contains a face image;
if yes, determining an eye area from the face image;
extracting image features from the eye region;
and analyzing the image characteristics to obtain the analysis result.
3. The bright screen processing method of claim 2, wherein the analyzing the image feature to obtain the analysis result comprises:
judging whether the eye region contains pupil information or not according to the image characteristics to obtain a judgment result;
and generating the analysis result according to the judgment result.
4. The bright screen processing method according to claim 3, wherein generating the analysis result according to the determination result includes:
when the judgment result is that the eye area contains pupil information, acquiring the position and the area of a pupil;
comparing the pupil position and the pupil area with the pupil position and the pupil area in a preset face image to obtain difference information;
determining the sight line deflection angle information according to the difference information;
and generating the analysis result according to the sight angle information.
5. The bright screen processing method according to any one of claims 1 to 4, wherein the adjusting the bright screen duration of the terminal based on the analysis result comprises:
judging whether the analysis result meets a preset condition or not;
when the analysis result meets a preset condition, determining the application type of the foreground application program;
acquiring duration information corresponding to the application type;
and adjusting the screen-on duration of the terminal based on the duration information.
6. The screen-lighting processing method according to claim 5, wherein adjusting the screen-lighting duration of the terminal based on the duration information comprises:
setting the screen-on duration of the terminal based on the duration information to obtain target duration;
and controlling the terminal to be in a bright screen state within the target duration from the current moment.
7. The bright screen processing method according to claim 6, further comprising:
and updating the screen-on duration of the terminal based on the specified duration if the switching operation of the foreground application program is detected within the target duration.
8. A bright screen processing device applied to a terminal is characterized by comprising:
the determining unit is used for determining a currently running foreground application program if detecting that no user behavior operation is received within a preset time length when the terminal is in a bright screen state;
the judging unit is used for judging whether a sample application program matched with the foreground application program exists in a preset sample set or not;
an obtaining unit, configured to obtain current image information through a camera of the terminal when the determining unit determines that the terminal is a user terminal;
the analysis unit is used for analyzing the image information to obtain an analysis result;
and the adjusting unit is used for adjusting the screen-on duration of the terminal based on the analysis result.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the method of any of claims 1-7.
10. A terminal is characterized by comprising a processor and a memory, wherein the processor is electrically connected with the memory, and the memory is used for storing instructions and data; the processor is used for executing the bright screen processing method of any one of claims 1 to 7.
CN201910815960.6A 2019-08-30 2019-08-30 Bright screen processing method and device, storage medium and terminal Pending CN110597426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910815960.6A CN110597426A (en) 2019-08-30 2019-08-30 Bright screen processing method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910815960.6A CN110597426A (en) 2019-08-30 2019-08-30 Bright screen processing method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN110597426A true CN110597426A (en) 2019-12-20

Family

ID=68856602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910815960.6A Pending CN110597426A (en) 2019-08-30 2019-08-30 Bright screen processing method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110597426A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475243A (en) * 2020-04-03 2020-07-31 广东小天才科技有限公司 Page loading method and system
CN113900297A (en) * 2021-10-13 2022-01-07 安徽亿普拉斯科技有限公司 Liquid crystal display screen based on microcontroller and having intelligent backlight control function
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium
CN114523908A (en) * 2022-03-18 2022-05-24 武汉华星光电技术有限公司 Control method and control device of vehicle-mounted display screen and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2203796A1 (en) * 2007-09-26 2010-07-07 Sony Ericsson Mobile Communications AB Portable electronic equipment with automatic control to keep display turned on and method
CN108572717A (en) * 2018-04-11 2018-09-25 Oppo广东移动通信有限公司 Control method, apparatus, mobile terminal and the storage medium of mobile terminal
CN108628448A (en) * 2018-04-12 2018-10-09 Oppo广东移动通信有限公司 Bright screen method, apparatus, mobile terminal and storage medium
CN109167877A (en) * 2018-08-01 2019-01-08 Oppo(重庆)智能科技有限公司 Terminal screen control method, device, terminal device and storage medium
CN109788138A (en) * 2019-02-01 2019-05-21 Oppo广东移动通信有限公司 Screen control method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2203796A1 (en) * 2007-09-26 2010-07-07 Sony Ericsson Mobile Communications AB Portable electronic equipment with automatic control to keep display turned on and method
CN108572717A (en) * 2018-04-11 2018-09-25 Oppo广东移动通信有限公司 Control method, apparatus, mobile terminal and the storage medium of mobile terminal
CN108628448A (en) * 2018-04-12 2018-10-09 Oppo广东移动通信有限公司 Bright screen method, apparatus, mobile terminal and storage medium
CN109167877A (en) * 2018-08-01 2019-01-08 Oppo(重庆)智能科技有限公司 Terminal screen control method, device, terminal device and storage medium
CN109788138A (en) * 2019-02-01 2019-05-21 Oppo广东移动通信有限公司 Screen control method, device, terminal and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475243A (en) * 2020-04-03 2020-07-31 广东小天才科技有限公司 Page loading method and system
CN113900297A (en) * 2021-10-13 2022-01-07 安徽亿普拉斯科技有限公司 Liquid crystal display screen based on microcontroller and having intelligent backlight control function
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium
CN114523908A (en) * 2022-03-18 2022-05-24 武汉华星光电技术有限公司 Control method and control device of vehicle-mounted display screen and electronic equipment
CN114523908B (en) * 2022-03-18 2023-06-02 武汉华星光电技术有限公司 Control method and control device of vehicle-mounted display screen and electronic equipment

Similar Documents

Publication Publication Date Title
CN110597426A (en) Bright screen processing method and device, storage medium and terminal
US11321575B2 (en) Method, apparatus and system for liveness detection, electronic device, and storage medium
CN108197586B (en) Face recognition method and device
WO2018121428A1 (en) Living body detection method, apparatus, and storage medium
EP2866170B1 (en) Image processing device and image processing method
CN108712603B (en) Image processing method and mobile terminal
US10776646B2 (en) Identification method and apparatus and computer-readable storage medium
CN111079576A (en) Living body detection method, living body detection device, living body detection equipment and storage medium
CN109167893B (en) Shot image processing method and device, storage medium and mobile terminal
CN110619239A (en) Application interface processing method and device, storage medium and terminal
WO2019011098A1 (en) Unlocking control method and relevant product
US20170339287A1 (en) Image transmission method and apparatus
CN111432245B (en) Multimedia information playing control method, device, equipment and storage medium
CN107977636B (en) Face detection method and device, terminal and storage medium
CN115525140A (en) Gesture recognition method, gesture recognition apparatus, and storage medium
CN111695509A (en) Identity authentication method, identity authentication device, machine readable medium and equipment
CN111626229A (en) Object management method, device, machine readable medium and equipment
CN112183200B (en) Eye movement tracking method and system based on video image
CN113312967A (en) Detection method, device and device for detection
CN112381091A (en) Video content identification method and device, electronic equipment and storage medium
CN109040604B (en) Shot image processing method and device, storage medium and mobile terminal
CN110287861B (en) Fingerprint identification method and device, storage medium and electronic equipment
CN109218620B (en) Photographing method and device based on ambient brightness, storage medium and mobile terminal
KR20210036039A (en) Electronic device and image processing method thereof
CN105608469A (en) Image resolution determination method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220