WO2019041321A1 - Mobile terminal screen switch-off control method, apparatus, and computer storage medium - Google Patents

Mobile terminal screen switch-off control method, apparatus, and computer storage medium Download PDF

Info

Publication number
WO2019041321A1
WO2019041321A1 PCT/CN2017/100271 CN2017100271W WO2019041321A1 WO 2019041321 A1 WO2019041321 A1 WO 2019041321A1 CN 2017100271 W CN2017100271 W CN 2017100271W WO 2019041321 A1 WO2019041321 A1 WO 2019041321A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
screen
brightness value
controlling
preset
Prior art date
Application number
PCT/CN2017/100271
Other languages
French (fr)
Chinese (zh)
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 CN201780096530.2A priority Critical patent/CN111373725A/en
Priority to PCT/CN2017/100271 priority patent/WO2019041321A1/en
Publication of WO2019041321A1 publication Critical patent/WO2019041321A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements

Definitions

  • the present invention relates to the field of mobile terminal applications, and in particular, to a screen-out control method and apparatus for a mobile terminal, and a computer storage medium.
  • the main object of the present invention is to provide a method for controlling the screen of a mobile terminal, which aims to solve the technical problem that a conventional mobile terminal needs to manually turn off the screen and waste power.
  • the present invention provides a screen-out control method for a mobile terminal, in which a light sensor is built in a screen side of the mobile terminal, and the screen-out control method of the mobile terminal includes:
  • the mobile terminal When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
  • the screen side of the mobile terminal has a distance sensor
  • the method for controlling the screen of the mobile terminal further includes:
  • the step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to a preset distance value.
  • the method for controlling the screen of the mobile terminal further includes:
  • the step of acquiring the distance value detected by the distance sensor is performed, wherein the brightness value of the preset time period is smaller than the preset brightness value.
  • the method for controlling the screen of the mobile terminal further includes:
  • the step of controlling the mobile terminal to turn off the screen is performed when the current time point is not in the preset time period.
  • the method for controlling the screen of the mobile terminal further includes:
  • the step of controlling the mobile terminal to turn off the screen is performed when the duration is greater than a preset duration.
  • the method for controlling the screen of the mobile terminal further includes:
  • the mobile terminal When the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
  • the method for controlling the screen of the mobile terminal further includes:
  • the method for controlling the screen of the mobile terminal further includes:
  • the mobile terminal is controlled to illuminate the screen upon detecting that the mobile terminal is picked up.
  • the present invention further provides an apparatus for controlling a blackout control of a mobile terminal
  • the apparatus for controlling a blackout control of the mobile terminal includes a memory, a processor, a light sensor, a distance sensor, and a computer program stored on the memory and operable on the processor, the light sensor detecting a brightness value of an environment in which the mobile terminal is located, the distance sensor detecting a distance between the mobile terminal and an object approaching the mobile terminal Value, the computer program being executed by the processor to implement the steps of the method as described above.
  • the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a screen blanking control program of a mobile terminal, and the screen blanking control program of the mobile terminal
  • the steps of the method as described above are implemented when executed by the processor.
  • the invention discloses a screen blanking control method for a mobile terminal, wherein a light sensor is built in the screen side of the mobile terminal, and the brightness value detected by the light sensor is obtained by real time or timing, and the movement is controlled when the brightness value is less than or equal to the preset brightness value.
  • the terminal is turned off, and when the mobile terminal is not used, the mobile terminal is controlled to be turned off, thereby avoiding waste of power and prolonging the usage time of the mobile terminal.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for controlling a screen for a mobile terminal according to the present invention
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention.
  • FIG. 6 is a schematic flowchart diagram of a fifth embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention.
  • FIG. 7 is a schematic flowchart of a sixth embodiment of a method for controlling a screen for a mobile terminal according to the present invention.
  • FIG. 8 is a schematic flowchart of a seventh embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention.
  • FIG. 9 is a schematic flowchart of an eighth embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention.
  • the mobile terminal When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
  • the present invention provides a solution for obtaining the brightness value detected by the light sensor by real time or timing, and controlling the mobile terminal to turn off the screen when the brightness value is less than or equal to the preset brightness value.
  • the mobile terminal is controlled to be turned off, thereby avoiding waste of power and prolonging the usage time of the mobile terminal.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
  • the mobile terminal in the embodiment of the present invention may be a smart phone, or may be a portable and convenient mobile terminal device such as a tablet computer.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a light sensor 1006, a distance sensor 1007, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the light sensor 1006 is for detecting a brightness value of an environment in which the mobile terminal is located.
  • the distance sensor 1007 is for detecting a distance value between the mobile terminal and an object close to the mobile terminal.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • a memory 1005 as a computer storage medium may include a program of an operating system, a network communication module, a user interface module, and a screen-out control method of the mobile terminal.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 may be used to call a program of the screen-out control method of the mobile terminal stored in the memory 1005, and perform the following operations:
  • the mobile terminal When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to a preset distance value.
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the step of acquiring the distance value detected by the distance sensor is performed, wherein the brightness value of the preset time period is smaller than the preset brightness value.
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the step of controlling the mobile terminal to turn off the screen is performed when the current time point is not in the preset time period.
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the step of controlling the mobile terminal to turn off the screen is performed when the duration is greater than a preset duration.
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the mobile terminal When the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
  • the mobile terminal is controlled to illuminate the screen upon detecting that the mobile terminal is picked up.
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a method and apparatus for controlling a blackout of a mobile terminal according to the present invention
  • the embodiment provides a method and device for controlling the screen of the mobile terminal.
  • the method and device for controlling the screen of the mobile terminal include the following steps:
  • Step S10 acquiring the brightness value detected by the light sensor in real time or timing
  • a light sensor built into the mobile terminal when the mobile terminal screen is placed face down on the table, or when the mobile terminal screen is placed face up on the table, and an object is placed on the screen of the mobile terminal, or when the mobile terminal is placed in the backpack Obtain the light brightness value of the environment in which the mobile terminal is located.
  • the working principle of the light sensor belongs to the prior art and will not be described here.
  • Step S20 controlling the mobile terminal to turn off the screen when the brightness value is less than or equal to the preset brightness value.
  • the mobile terminal lights up the screen, and the brightness value detected by the light sensor is relatively large.
  • the screen of the mobile terminal may be blocked and is not used. State, at this time, the mobile terminal is controlled to be off.
  • the blank screen control method of the mobile terminal provided by the embodiment, the built-in light sensor on the screen side of the mobile terminal acquires the brightness value detected by the light sensor by real time or timing, and controls the mobile terminal when the brightness value is less than or equal to the preset brightness value.
  • the screen is turned off, and when the mobile terminal is not used, the mobile terminal is controlled to be turned off, thereby avoiding waste of power and prolonging the usage time of the mobile terminal.
  • a second embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the first embodiment.
  • the method for controlling the screen of the mobile terminal further includes:
  • Step S30 acquiring a distance value detected by the distance sensor when the brightness value is less than or equal to the preset brightness value
  • Step S20 the step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to the preset distance value.
  • the distance sensor detects whether an object is infinitely close to the mobile terminal, and further determines whether the mobile terminal is in an unused state, so that the judgment result is more accurate.
  • the whole program is more complete.
  • the working principle of the distance sensor belongs to the prior art and will not be described here.
  • a third embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the second embodiment.
  • the method for controlling the screen of the mobile terminal further includes:
  • Step S40 acquiring a current time point when the brightness value is less than or equal to the preset brightness value
  • Step S30 the step of acquiring the distance value detected by the distance sensor is performed when the current time point is in the preset time period, wherein the brightness value of the preset time period is smaller than the preset brightness value.
  • the time period of the night is used as the preset time period, and the operation of acquiring the current time point is added. If the current time point acquired is the time period of the night, considering the time period in the evening, The ambient light in the mobile terminal is dim. The brightness value detected by the light sensor cannot be very accurately determined that the mobile terminal is in an unused state at this time. Therefore, it is necessary to obtain the distance value detected by the distance sensor as a further judgment to avoid the night. The dim light of the environment itself affects the brightness value detected by the light sensor.
  • the preset time period may be set by the mobile terminal user, and the time period during which the mobile terminal user rests at night may be set as the preset time period. At this time, the mobile terminal is in a state of not being used, and the mobile terminal is directly controlled to be turned off without obtaining The distance value detected by the distance sensor is further judged.
  • the step S40 includes:
  • Step S20 Perform the step of controlling the mobile terminal to turn off the screen when the current time point is not in the preset time period.
  • the time period of the night is used as the preset time period, and the operation of acquiring the current time point is added. If the current time point obtained is the time period of the day, the brightness value detected by the light sensor may be It is determined that the mobile terminal is in an unused state. By obtaining the current time point as the daytime period, the scheme forms a contrast with the brightness value detected by the light sensor, thereby making the judgment of the whole scheme well-documented and conditionally supported.
  • a fifth embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the first embodiment.
  • the method for controlling the screen of the mobile terminal further includes:
  • Step S50 When the brightness value is less than or equal to the preset brightness value, obtain a duration duration in which the brightness value is less than or equal to the preset brightness value;
  • step S20 when the duration is longer than the preset duration, the step of controlling the mobile terminal to turn off the screen is performed.
  • a certain time is set as a preset duration, for example, one minute, by obtaining a duration duration in which the luminance value is less than or equal to the preset luminance value, and if the duration is greater than the preset duration, the mobile may be determined to be determined.
  • the terminal is not used for a certain period of time. This judgment is simple and intuitive, and makes the whole solution more precise.
  • the step S20 includes:
  • step S10 the brightness value detected by the light sensor is obtained in real time or timing
  • Step S60 when the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
  • the mobile terminal after the mobile terminal is turned off, if the brightness value detected by the light sensor is greater than the preset brightness value, the mobile terminal is in the used state, and the mobile terminal is controlled to light the screen. If there is a running process before the mobile terminal goes out, for example, a video playing process, when the mobile terminal lights up the screen and receives an instruction based on releasing the lock screen mode of the mobile terminal, the mobile terminal restarts the video playing process, so that the mobile terminal is not The screen-out operation performed when it is used does not affect the normal operation of its internal processes. Other processes involving the display of the screen display of the mobile terminal are not mentioned here.
  • a seventh embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the sixth embodiment.
  • the method for controlling the screen of the mobile terminal further includes:
  • Step S30 acquiring a distance value detected by the distance sensor when the brightness value is greater than the preset brightness value
  • Step S60 when the distance value is greater than the preset distance value, performing the step of controlling the mobile terminal to illuminate the screen.
  • an operation of acquiring a distance value detected by the distance sensor is added to prevent the mobile terminal from being placed on the table upward, and the screen is blocked by the object, but the light is The external aperture of the sensor on the screen side is not blocked, so that the mobile terminal is in a more accurate state, so that the whole scheme is more complete and the judgment basis is more sufficient.
  • step S20 includes:
  • Step S60 when it is detected that the mobile terminal is picked up, the mobile terminal is controlled to light the screen.
  • the acceleration sensor built in the mobile terminal detects that the mobile terminal is picked up, the mobile terminal is controlled to illuminate the screen for use by the mobile terminal user.
  • the working principle of the acceleration sensor belongs to the prior art and will not be described here. If there is a running process before the mobile terminal goes out, for example, a video playing process, when the mobile terminal lights up the screen and receives an instruction based on releasing the lock screen mode of the mobile terminal, the mobile terminal restarts the video playing process, so that the mobile terminal is not The screen-out operation performed when it is used does not affect the normal operation of its internal processes. Other processes involving the display of the screen display of the mobile terminal are not mentioned here.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a cloud server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed in the present invention is a mobile terminal screen switch-off control method, a light sensor being inbuilt on the screen side of the mobile terminal; acquiring in real time or at fixed times the brightness value detected by the light sensor; and, when the brightness value is less than or equal to a preset brightness, controlling the screen of the mobile terminal to switch off. Also disclosed in the present invention are a mobile terminal switch-off control method and apparatus; when the mobile terminal is not being used, the screen of the mobile terminal is controlled to switch off, preventing waste of the power charge, and prolonging the duration of use of the mobile terminal power charge.

Description

移动终端的熄屏控制方法、装置和计算机存储介质  Screen-out control method, device and computer storage medium for mobile terminal
技术领域Technical field
本发明涉及移动终端应用领域,尤其涉及一种移动终端的熄屏控制方法、装置和计算机存储介质。The present invention relates to the field of mobile terminal applications, and in particular, to a screen-out control method and apparatus for a mobile terminal, and a computer storage medium.
背景技术Background technique
随着科技的日益发展,移动终端的使用越来越普及,例如手机,已成为人们生活中不可缺少的一部分。通过手机上安装的应用程序,人们可以获得最新的资讯,可以娱乐以打发闲暇时间,也可以和亲人、朋友及同事交流、资源共享等。因此,手机的使用时长显得越来越重要。With the development of technology, the use of mobile terminals has become more and more popular, such as mobile phones, which has become an indispensable part of people's lives. Through the application installed on the mobile phone, people can get the latest information, can entertain and spend leisure time, and can communicate with relatives, friends and colleagues, and share resources. Therefore, the length of use of mobile phones is becoming more and more important.
在平时使用手机时,很多时候不用了,经常会忘记手动熄屏,如此会造成手机电量的浪费,缩短手机的使用时长。When you use your mobile phone in normal times, you often don't need it. You often forget to manually turn off the screen. This will cause a waste of your mobile phone and shorten the length of your phone.
发明内容Summary of the invention
本发明的主要目的在于提供一种移动终端的熄屏控制方法,旨在解决传统的移动终端需要手动熄屏,造成电量浪费的技术问题。The main object of the present invention is to provide a method for controlling the screen of a mobile terminal, which aims to solve the technical problem that a conventional mobile terminal needs to manually turn off the screen and waste power.
为实现上述目的,本发明提供一种移动终端的熄屏控制方法,移动终端的屏幕侧内置光线传感器,所述移动终端的熄屏控制方法包括:In order to achieve the above object, the present invention provides a screen-out control method for a mobile terminal, in which a light sensor is built in a screen side of the mobile terminal, and the screen-out control method of the mobile terminal includes:
实时或定时获取光线传感器检测到的亮度值;Obtaining the brightness value detected by the light sensor in real time or timing;
在所述亮度值小于或等于预设亮度值时,控制所述移动终端熄屏。When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
优选地,所述移动终端的屏幕侧内置距离传感器,所述移动终端的熄屏控制方法还包括:Preferably, the screen side of the mobile terminal has a distance sensor, and the method for controlling the screen of the mobile terminal further includes:
在所述亮度值小于或等于预设亮度值时,获取距离传感器检测到的距离值;Obtaining a distance value detected by the distance sensor when the brightness value is less than or equal to a preset brightness value;
在所述距离值小于或等于预设距离值时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to a preset distance value.
优选地,所述移动终端的熄屏控制方法还包括:Preferably, the method for controlling the screen of the mobile terminal further includes:
在所述亮度值小于或等于预设亮度值时,获取当前时间点;Obtaining a current time point when the brightness value is less than or equal to a preset brightness value;
在所述当前时间点处于预设时间段时,执行所述获取距离传感器检测到的距离值的步骤,其中,所述预设时间段的亮度值小于所述预设亮度值。When the current time point is in the preset time period, the step of acquiring the distance value detected by the distance sensor is performed, wherein the brightness value of the preset time period is smaller than the preset brightness value.
优选地,所述获取当前时间点的步骤之后,所述移动终端的熄屏控制方法还包括:Preferably, after the step of acquiring the current time point, the method for controlling the screen of the mobile terminal further includes:
在所述当前时间点不处于所述预设时间段时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the current time point is not in the preset time period.
优选地,所述移动终端的熄屏控制方法还包括:Preferably, the method for controlling the screen of the mobile terminal further includes:
在所述亮度值小于或等于预设亮度值时,获取所述亮度值小于或等于预设亮度值的持续时长;And obtaining, when the brightness value is less than or equal to the preset brightness value, a duration duration in which the brightness value is less than or equal to the preset brightness value;
在所述持续时长大于预设时长时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the duration is greater than a preset duration.
优选地,所述控制所述移动终端熄屏的步骤之后,所述移动终端的熄屏控制方法还包括:Preferably, after the step of controlling the screen of the mobile terminal to be turned off, the method for controlling the screen of the mobile terminal further includes:
执行实时或定时获取光线传感器检测到的亮度值的步骤;Performing a step of acquiring the brightness value detected by the light sensor in real time or timing;
在所述亮度值大于预设亮度值时,控制所述移动终端点亮屏幕。When the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
优选地,所述移动终端的熄屏控制方法还包括:Preferably, the method for controlling the screen of the mobile terminal further includes:
在所述亮度值大于预设亮度值时,获取距离传感器检测到的距离值;Obtaining a distance value detected by the distance sensor when the brightness value is greater than a preset brightness value;
在所述距离值大于预设距离值时,执行所述控制所述移动终端点亮屏幕的步骤。When the distance value is greater than the preset distance value, performing the step of controlling the mobile terminal to illuminate the screen.
优选地,所述控制所述移动终端熄屏的步骤之后,所述移动终端的熄屏控制方法还包括:Preferably, after the step of controlling the screen of the mobile terminal to be turned off, the method for controlling the screen of the mobile terminal further includes:
在检测到所述移动终端被拿起时,控制所述移动终端点亮屏幕。The mobile terminal is controlled to illuminate the screen upon detecting that the mobile terminal is picked up.
此外,为实现上述目的,本发明还提供一种移动终端的熄屏控制方法的装置,其特征在于,所述移动终端的熄屏控制方法的装置包括存储器、处理器、光线传感器、距离传感器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述光线传感器检测移动终端所处环境的亮度值,所述距离传感器检测移动终端与靠近移动终端的物体之间的距离值,所述计算机程序被所述处理器执行时实现如以上所述的方法的步骤。In addition, in order to achieve the above object, the present invention further provides an apparatus for controlling a blackout control of a mobile terminal, wherein the apparatus for controlling a blackout control of the mobile terminal includes a memory, a processor, a light sensor, a distance sensor, and a computer program stored on the memory and operable on the processor, the light sensor detecting a brightness value of an environment in which the mobile terminal is located, the distance sensor detecting a distance between the mobile terminal and an object approaching the mobile terminal Value, the computer program being executed by the processor to implement the steps of the method as described above.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有移动终端的熄屏控制程序,所述移动终端的熄屏控制程序被处理器执行时实现如以上所述的方法的步骤。In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a screen blanking control program of a mobile terminal, and the screen blanking control program of the mobile terminal The steps of the method as described above are implemented when executed by the processor.
本发明提出的一种移动终端的熄屏控制方法,移动终端的屏幕侧内置光线传感器,通过实时或定时获取光线传感器检测到的亮度值,在亮度值小于或等于预设亮度值时,控制移动终端熄屏,实现在移动终端未被使用时,控制移动终端熄屏,从而避免浪费电量,延长移动终端电量的使用时长。The invention discloses a screen blanking control method for a mobile terminal, wherein a light sensor is built in the screen side of the mobile terminal, and the brightness value detected by the light sensor is obtained by real time or timing, and the movement is controlled when the brightness value is less than or equal to the preset brightness value. The terminal is turned off, and when the mobile terminal is not used, the mobile terminal is controlled to be turned off, thereby avoiding waste of power and prolonging the usage time of the mobile terminal.
附图说明DRAWINGS
图1为本发明实施例方案涉及的硬件运行环境的终端结构示意图;1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention;
图2为本发明移动终端的熄屏控制方法第一实施例的流程示意图;2 is a schematic flowchart diagram of a first embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention;
图3为本发明移动终端的熄屏控制方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a method for controlling a screen for a mobile terminal according to the present invention;
图4为本发明移动终端的熄屏控制方法第三实施例的流程示意图;4 is a schematic flowchart of a third embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention;
图5为本发明移动终端的熄屏控制方法第四实施例的流程示意图;5 is a schematic flowchart diagram of a fourth embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention;
图6为本发明移动终端的熄屏控制方法第五实施例的流程示意图;6 is a schematic flowchart diagram of a fifth embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention;
图7为本发明移动终端的熄屏控制方法第六实施例的流程示意图;7 is a schematic flowchart of a sixth embodiment of a method for controlling a screen for a mobile terminal according to the present invention;
图8为本发明移动终端的熄屏控制方法第七实施例的流程示意图;8 is a schematic flowchart of a seventh embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention;
图9为本发明移动终端的熄屏控制方法第八实施例的流程示意图;9 is a schematic flowchart of an eighth embodiment of a method for controlling a screen for blanking a mobile terminal according to the present invention;
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:The main solution of the embodiment of the present invention is:
实时或定时获取光线传感器检测到的亮度值;Obtaining the brightness value detected by the light sensor in real time or timing;
在所述亮度值小于或等于预设亮度值时,控制所述移动终端熄屏。When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
由于现有技术中在不使用移动终端时,经常会忘记手动熄屏,如此会造成手机电量的浪费,缩短手机的使用时长。In the prior art, when the mobile terminal is not used, the manual screen is often forgotten, which causes waste of the power of the mobile phone and shortens the usage time of the mobile phone.
本发明提供一种解决方案,通过实时或定时获取光线传感器检测到的亮度值,在亮度值小于或等于预设亮度值时,控制移动终端熄屏。实现在移动终端未被使用时,控制移动终端熄屏,从而避免浪费电量,延长移动终端电量的使用时长。The present invention provides a solution for obtaining the brightness value detected by the light sensor by real time or timing, and controlling the mobile terminal to turn off the screen when the brightness value is less than or equal to the preset brightness value. When the mobile terminal is not used, the mobile terminal is controlled to be turned off, thereby avoiding waste of power and prolonging the usage time of the mobile terminal.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
本发明实施例中的移动终端可以是智能手机,也可以是平板电脑等小巧便于携带的移动终端设备。The mobile terminal in the embodiment of the present invention may be a smart phone, or may be a portable and convenient mobile terminal device such as a tablet computer.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004、用户接口1003、存储器1005、光线传感器1006、距离传感器1007以及通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。光线传感器1006用于检测移动终端所处环境的亮度值。距离传感器1007用于检测移动终端与靠近移动终端的物体之间的距离值。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a light sensor 1006, a distance sensor 1007, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The light sensor 1006 is for detecting a brightness value of an environment in which the mobile terminal is located. The distance sensor 1007 is for detecting a distance value between the mobile terminal and an object close to the mobile terminal. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及移动终端的熄屏控制方法的程序。As shown in FIG. 1, a memory 1005 as a computer storage medium may include a program of an operating system, a network communication module, a user interface module, and a screen-out control method of the mobile terminal.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的移动终端的熄屏控制方法的程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 may be used to call a program of the screen-out control method of the mobile terminal stored in the memory 1005, and perform the following operations:
实时或定时获取光线传感器检测到的亮度值;Obtaining the brightness value detected by the light sensor in real time or timing;
在所述亮度值小于或等于预设亮度值时,控制所述移动终端熄屏。When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
在所述亮度值小于或等于预设亮度值时,获取距离传感器检测到的距离值;Obtaining a distance value detected by the distance sensor when the brightness value is less than or equal to a preset brightness value;
在所述距离值小于或等于预设距离值时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to a preset distance value.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
在所述亮度值小于或等于预设亮度值时,获取当前时间点;Obtaining a current time point when the brightness value is less than or equal to a preset brightness value;
在所述当前时间点处于预设时间段时,执行所述获取距离传感器检测到的距离值的步骤,其中,所述预设时间段的亮度值小于所述预设亮度值。When the current time point is in the preset time period, the step of acquiring the distance value detected by the distance sensor is performed, wherein the brightness value of the preset time period is smaller than the preset brightness value.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
在所述当前时间点不处于所述预设时间段时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the current time point is not in the preset time period.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
在所述亮度值小于或等于预设亮度值时,获取所述亮度值小于或等于预设亮度值的持续时长;And obtaining, when the brightness value is less than or equal to the preset brightness value, a duration duration in which the brightness value is less than or equal to the preset brightness value;
在所述持续时长大于预设时长时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the duration is greater than a preset duration.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
执行实时或定时获取光线传感器检测到的亮度值的步骤;Performing a step of acquiring the brightness value detected by the light sensor in real time or timing;
在所述亮度值大于预设亮度值时,控制所述移动终端点亮屏幕。When the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
在所述亮度值大于预设亮度值时,获取距离传感器检测到的距离值;Obtaining a distance value detected by the distance sensor when the brightness value is greater than a preset brightness value;
在所述距离值大于预设距离值时,执行所述控制所述移动终端点亮屏幕的步骤。When the distance value is greater than the preset distance value, performing the step of controlling the mobile terminal to illuminate the screen.
进一步地,处理器1001可以调用存储器1004中存储的移动终端的熄屏控制方法的程序,还执行以下操作:Further, the processor 1001 may call a program of the screen-out control method of the mobile terminal stored in the memory 1004, and further perform the following operations:
在检测到所述移动终端被拿起时,控制所述移动终端点亮屏幕。The mobile terminal is controlled to illuminate the screen upon detecting that the mobile terminal is picked up.
参照图2,图2为本发明移动终端的熄屏控制方法和装置第一实施例的流程示意图;Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a first embodiment of a method and apparatus for controlling a blackout of a mobile terminal according to the present invention;
本实施例提出一种移动终端的熄屏控制方法和装置,该移动终端的熄屏控制方法和装置包括步骤:The embodiment provides a method and device for controlling the screen of the mobile terminal. The method and device for controlling the screen of the mobile terminal include the following steps:
步骤S10,实时或定时获取光线传感器检测到的亮度值;Step S10, acquiring the brightness value detected by the light sensor in real time or timing;
在移动终端屏幕朝下放置在桌子上时,或在移动终端屏幕朝上放置在桌子上,且移动终端屏幕上放置有物体时,或在移动终端放置在背包里时,移动终端内置的光线传感器获取移动终端所处环境的光线亮度值。光线传感器的工作原理属于现有技术,在此不再赘述。A light sensor built into the mobile terminal when the mobile terminal screen is placed face down on the table, or when the mobile terminal screen is placed face up on the table, and an object is placed on the screen of the mobile terminal, or when the mobile terminal is placed in the backpack Obtain the light brightness value of the environment in which the mobile terminal is located. The working principle of the light sensor belongs to the prior art and will not be described here.
步骤S20,在亮度值小于或等于预设亮度值时,控制移动终端熄屏。Step S20, controlling the mobile terminal to turn off the screen when the brightness value is less than or equal to the preset brightness value.
若移动终端处于被使用状态,则移动终端点亮屏幕,此时光线传感器检测到的亮度值是比较大的。以光线暗淡环境下的亮度值作为预设亮度值,在光线传感器检测到移动终端所处环境的光线亮度值小于或等于预设亮度值时,移动终端的屏幕可能被遮挡,处于未被使用的状态,此时控制移动终端熄屏。If the mobile terminal is in the used state, the mobile terminal lights up the screen, and the brightness value detected by the light sensor is relatively large. When the brightness value of the environment in which the mobile terminal is located is less than or equal to the preset brightness value, the screen of the mobile terminal may be blocked and is not used. State, at this time, the mobile terminal is controlled to be off.
本实施例提出的移动终端的熄屏控制方法,移动终端的屏幕侧内置光线传感器,通过实时或定时获取光线传感器检测到的亮度值,在亮度值小于或等于预设亮度值时,控制移动终端熄屏,实现在移动终端未被使用时,控制移动终端熄屏,从而避免浪费电量,延长移动终端电量的使用时长。The blank screen control method of the mobile terminal provided by the embodiment, the built-in light sensor on the screen side of the mobile terminal acquires the brightness value detected by the light sensor by real time or timing, and controls the mobile terminal when the brightness value is less than or equal to the preset brightness value. The screen is turned off, and when the mobile terminal is not used, the mobile terminal is controlled to be turned off, thereby avoiding waste of power and prolonging the usage time of the mobile terminal.
进一步地,参照图3,基于第一实施例提出本发明移动终端的熄屏控制方法第二实施例,在本实施例中,该移动终端的熄屏控制方法还包括:Further, with reference to FIG. 3, a second embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the first embodiment. In this embodiment, the method for controlling the screen of the mobile terminal further includes:
步骤S30,在亮度值小于或等于预设亮度值时,获取距离传感器检测到的距离值;Step S30, acquiring a distance value detected by the distance sensor when the brightness value is less than or equal to the preset brightness value;
步骤S20,在距离值小于或等于预设距离值时,执行所述控制移动终端熄屏的步骤。Step S20, the step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to the preset distance value.
本实施例公开的技术方案中,在移动终端所处环境光线暗淡的基础上,通过距离传感器检测是否有物体无限接近移动终端,进一步判断移动终端是否处于未被使用的状态,使得判断结果更精确,整个方案更完整。距离传感器的工作原理属于现有技术,在此不再赘述。In the technical solution disclosed in the embodiment, on the basis of the dim light of the environment of the mobile terminal, the distance sensor detects whether an object is infinitely close to the mobile terminal, and further determines whether the mobile terminal is in an unused state, so that the judgment result is more accurate. The whole program is more complete. The working principle of the distance sensor belongs to the prior art and will not be described here.
进一步地,参照图4,基于第二实施例提出本发明移动终端的熄屏控制方法第三实施例,在本实施例中,该移动终端的熄屏控制方法还包括:Further, with reference to FIG. 4, a third embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the second embodiment. In this embodiment, the method for controlling the screen of the mobile terminal further includes:
步骤S40,在亮度值小于或等于预设亮度值时,获取当前时间点;Step S40: acquiring a current time point when the brightness value is less than or equal to the preset brightness value;
步骤S30,在当前时间点处于预设时间段时,执行所述获取距离传感器检测到的距离值的步骤,其中,预设时间段的亮度值小于预设亮度值。Step S30, the step of acquiring the distance value detected by the distance sensor is performed when the current time point is in the preset time period, wherein the brightness value of the preset time period is smaller than the preset brightness value.
本实施例公开的技术方案中,以晚上的时间段为预设时间段,增加了获取当前时间点的操作,若获取的当前时间点为晚上的时间段,考虑到在晚上的时间段时,移动终端所处的环境光线暗淡,光线传感器检测到的亮度值不能非常精准的判定此时移动终端处于未被使用的状态,因此需要获取距离传感器检测到的距离值作为进一步的判断,避免由于晚上环境本身光线暗淡造成对光线传感器检测到的亮度值的影响。In the technical solution disclosed in this embodiment, the time period of the night is used as the preset time period, and the operation of acquiring the current time point is added. If the current time point acquired is the time period of the night, considering the time period in the evening, The ambient light in the mobile terminal is dim. The brightness value detected by the light sensor cannot be very accurately determined that the mobile terminal is in an unused state at this time. Therefore, it is necessary to obtain the distance value detected by the distance sensor as a further judgment to avoid the night. The dim light of the environment itself affects the brightness value detected by the light sensor.
进一步地,预设时间段可由移动终端用户设置,可设置移动终端用户晚上休息的时间段作为预设时间段,此时移动终端处于不被使用的状态,直接控制移动终端熄屏,而不必获取距离传感器检测到的距离值做进一步的判断。Further, the preset time period may be set by the mobile terminal user, and the time period during which the mobile terminal user rests at night may be set as the preset time period. At this time, the mobile terminal is in a state of not being used, and the mobile terminal is directly controlled to be turned off without obtaining The distance value detected by the distance sensor is further judged.
进一步地,参照图5,基于第三实施例提出本发明移动终端的熄屏控制方法第四实施例,在本实施例中,所述步骤S40之后包括:Further, with reference to FIG. 5, a fourth embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the third embodiment. In this embodiment, the step S40 includes:
步骤S20,在当前时间点不处于预设时间段时,执行所述控制移动终端熄屏的步骤。Step S20: Perform the step of controlling the mobile terminal to turn off the screen when the current time point is not in the preset time period.
本实施例公开的技术方案中,以晚上的时间段为预设时间段,增加了获取当前时间点的操作,若获取的当前时间点为白天的时间段,由光线传感器检测到的亮度值可判定移动终端处于未被使用的状态。本方案通过获取当前时间点为白天的时间段,与光线传感器检测到的亮度值形成一个对比,由此使得整个方案的判断有据可循,有条件支撑。In the technical solution disclosed in this embodiment, the time period of the night is used as the preset time period, and the operation of acquiring the current time point is added. If the current time point obtained is the time period of the day, the brightness value detected by the light sensor may be It is determined that the mobile terminal is in an unused state. By obtaining the current time point as the daytime period, the scheme forms a contrast with the brightness value detected by the light sensor, thereby making the judgment of the whole scheme well-documented and conditionally supported.
进一步地,参照图6,基于第一实施例提出本发明移动终端的熄屏控制方法第五实施例,在本实施例中,该移动终端的熄屏控制方法还包括:Further, with reference to FIG. 6, a fifth embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the first embodiment. In this embodiment, the method for controlling the screen of the mobile terminal further includes:
步骤S50,在亮度值小于或等于预设亮度值时,获取亮度值小于或等于预设亮度值的持续时长;Step S50: When the brightness value is less than or equal to the preset brightness value, obtain a duration duration in which the brightness value is less than or equal to the preset brightness value;
步骤S20,在持续时长大于预设时长时,执行所述控制移动终端熄屏的步骤。In step S20, when the duration is longer than the preset duration, the step of controlling the mobile terminal to turn off the screen is performed.
本实施例公开的技术方案中,设置一定的时间作为预设时长,例如一分钟,通过获取亮度值小于或等于预设亮度值的持续时长,若此持续时长大于预设时长,则可判定移动终端在一定时间内未被使用,此判断依据简单直观,也使得整个方案更精准。In the technical solution disclosed in this embodiment, a certain time is set as a preset duration, for example, one minute, by obtaining a duration duration in which the luminance value is less than or equal to the preset luminance value, and if the duration is greater than the preset duration, the mobile may be determined to be determined. The terminal is not used for a certain period of time. This judgment is simple and intuitive, and makes the whole solution more precise.
进一步地,参照图7,基于第一至第五实施例任一实施例提出本发明移动终端的熄屏控制方法第六实施例,在本实施例中,所述步骤S20之后包括:Further, with reference to FIG. 7, a sixth embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on any of the first to fifth embodiments. In this embodiment, the step S20 includes:
返回执行步骤S10,即实时或定时获取光线传感器检测到的亮度值;Returning to step S10, the brightness value detected by the light sensor is obtained in real time or timing;
步骤S60,在亮度值大于预设亮度值时,控制移动终端点亮屏幕。Step S60, when the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
本实施例公开的技术方案中,移动终端熄屏后,若光线传感器检测到的亮度值大于预设亮度值,则移动终端处于被使用状态,此时控制移动终端点亮屏幕。若移动终端熄屏之前有运行的进程,例如视频播放进程,则在移动终端点亮屏幕后接收到基于解除移动终端锁屏模式的指令时,移动终端重新启动视频播放进程,如此移动终端在未被使用时进行的熄屏操作不影响其内部进程的正常运行,其他涉及移动终端屏幕播放显示的进程在此不再一一例举。In the technical solution disclosed in this embodiment, after the mobile terminal is turned off, if the brightness value detected by the light sensor is greater than the preset brightness value, the mobile terminal is in the used state, and the mobile terminal is controlled to light the screen. If there is a running process before the mobile terminal goes out, for example, a video playing process, when the mobile terminal lights up the screen and receives an instruction based on releasing the lock screen mode of the mobile terminal, the mobile terminal restarts the video playing process, so that the mobile terminal is not The screen-out operation performed when it is used does not affect the normal operation of its internal processes. Other processes involving the display of the screen display of the mobile terminal are not mentioned here.
进一步地,参照图8,基于第六实施例提出本发明移动终端的熄屏控制方法第七实施例,在本实施例中,该移动终端的熄屏控制方法还包括:Further, with reference to FIG. 8, a seventh embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on the sixth embodiment. In this embodiment, the method for controlling the screen of the mobile terminal further includes:
步骤S30,在亮度值大于预设亮度值时,获取距离传感器检测到的距离值;Step S30, acquiring a distance value detected by the distance sensor when the brightness value is greater than the preset brightness value;
步骤S60,在距离值大于预设距离值时,执行所述控制移动终端点亮屏幕的步骤。Step S60, when the distance value is greater than the preset distance value, performing the step of controlling the mobile terminal to illuminate the screen.
本实施例公开的技术方案中,在第六实施例的基础上,增加获取距离传感器检测到的距离值的操作,以避免出现移动终端屏幕朝上放置在桌子上,屏幕被物体遮挡,但光线传感器在屏幕侧的外置小孔并未被遮挡的情况,如此更精准的判定移动终端处于被使用状态,使得整个方案更完整,判断依据更充分。In the technical solution disclosed in this embodiment, on the basis of the sixth embodiment, an operation of acquiring a distance value detected by the distance sensor is added to prevent the mobile terminal from being placed on the table upward, and the screen is blocked by the object, but the light is The external aperture of the sensor on the screen side is not blocked, so that the mobile terminal is in a more accurate state, so that the whole scheme is more complete and the judgment basis is more sufficient.
进一步地,参照图9,基于第一至第五实施例任一实施例提出本发明移动终端的熄屏控制方法第八实施例,在本实施例中,所述步骤S20之后包括:Further, with reference to FIG. 9, an eighth embodiment of the method for controlling the screen of the mobile terminal of the present invention is proposed based on any of the first to fifth embodiments. In this embodiment, the step S20 includes:
步骤S60,在检测到移动终端被拿起时,控制移动终端点亮屏幕。Step S60, when it is detected that the mobile terminal is picked up, the mobile terminal is controlled to light the screen.
本实施例公开的技术方案中,在移动终端内置的加速度传感器检测到移动终端被拿起时,控制移动终端点亮屏幕供移动终端用户使用。加速度传感器的工作原理属于现有技术,在此不再赘述。若移动终端熄屏之前有运行的进程,例如视频播放进程,则在移动终端点亮屏幕后接收到基于解除移动终端锁屏模式的指令时,移动终端重新启动视频播放进程,如此移动终端在未被使用时进行的熄屏操作不影响其内部进程的正常运行,其他涉及移动终端屏幕播放显示的进程在此不再一一例举。In the technical solution disclosed in this embodiment, when the acceleration sensor built in the mobile terminal detects that the mobile terminal is picked up, the mobile terminal is controlled to illuminate the screen for use by the mobile terminal user. The working principle of the acceleration sensor belongs to the prior art and will not be described here. If there is a running process before the mobile terminal goes out, for example, a video playing process, when the mobile terminal lights up the screen and receives an instruction based on releasing the lock screen mode of the mobile terminal, the mobile terminal restarts the video playing process, so that the mobile terminal is not The screen-out operation performed when it is used does not affect the normal operation of its internal processes. Other processes involving the display of the screen display of the mobile terminal are not mentioned here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,云端服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a cloud server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种移动终端的熄屏控制方法,其特征在于,所述移动终端的屏幕侧内置光线传感器,所述移动终端的熄屏控制方法包括: A screen-off control method for a mobile terminal, wherein the screen side of the mobile terminal has a built-in light sensor, and the screen-off control method of the mobile terminal includes:
    实时或定时获取光线传感器检测到的亮度值;Obtaining the brightness value detected by the light sensor in real time or timing;
    在所述亮度值小于或等于预设亮度值时,控制所述移动终端熄屏。When the brightness value is less than or equal to the preset brightness value, the mobile terminal is controlled to be turned off.
  2. 如权利要求1所述的移动终端的熄屏控制方法,其特征在于,所述移动终端的屏幕侧内置距离传感器,所述移动终端的熄屏控制方法还包括:The screen-out control method for a mobile terminal according to claim 1, wherein the screen-side of the mobile terminal has a distance sensor, and the method for controlling the screen-out of the mobile terminal further includes:
    在所述亮度值小于或等于预设亮度值时,获取距离传感器检测到的距离值;Obtaining a distance value detected by the distance sensor when the brightness value is less than or equal to a preset brightness value;
    在所述距离值小于或等于预设距离值时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the distance value is less than or equal to a preset distance value.
  3. 如权利要求2所述的移动终端的熄屏控制方法,其特征在于,所述移动终端的熄屏控制方法还包括:The method of controlling the screen-out of the mobile terminal according to claim 2, wherein the method for controlling the screen-out of the mobile terminal further comprises:
    在所述亮度值小于或等于预设亮度值时,获取当前时间点;Obtaining a current time point when the brightness value is less than or equal to a preset brightness value;
    在所述当前时间点处于预设时间段时,执行所述获取距离传感器检测到的距离值的步骤,其中,所述预设时间段的亮度值小于所述预设亮度值。When the current time point is in the preset time period, the step of acquiring the distance value detected by the distance sensor is performed, wherein the brightness value of the preset time period is smaller than the preset brightness value.
  4. 如权利要求3所述的移动终端的熄屏控制方法,其特征在于,所述获取当前时间点的步骤之后,所述移动终端的熄屏控制方法还包括:The method of controlling the screen-out of the mobile terminal according to claim 3, wherein after the step of acquiring the current time point, the method for controlling the screen-out of the mobile terminal further comprises:
    在所述当前时间点不处于所述预设时间段时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the current time point is not in the preset time period.
  5. 如权利要求1所述的移动终端的熄屏控制方法,其特征在于,所述移动终端的熄屏控制方法还包括:The method of controlling the screen-out of the mobile terminal according to claim 1, wherein the method for controlling the screen-out of the mobile terminal further comprises:
    在所述亮度值小于或等于预设亮度值时,获取所述亮度值小于或等于预设亮度值的持续时长;And obtaining, when the brightness value is less than or equal to the preset brightness value, a duration duration in which the brightness value is less than or equal to the preset brightness value;
    在所述持续时长大于预设时长时,执行所述控制所述移动终端熄屏的步骤。The step of controlling the mobile terminal to turn off the screen is performed when the duration is greater than a preset duration.
  6. 如权利要求1-5任一项所述的移动终端的熄屏控制方法,其特征在于,所述控制所述移动终端熄屏的步骤之后,所述移动终端的熄屏控制方法还包括:The method for controlling the screen-out of a mobile terminal according to any one of claims 1 to 5, wherein after the step of controlling the screen of the mobile terminal to be turned off, the method for controlling the screen-out of the mobile terminal further includes:
    执行实时或定时获取光线传感器检测到的亮度值的步骤;Performing a step of acquiring the brightness value detected by the light sensor in real time or timing;
    在所述亮度值大于预设亮度值时,控制所述移动终端点亮屏幕。When the brightness value is greater than the preset brightness value, the mobile terminal is controlled to light the screen.
  7. 如权利要求6所述的移动终端的熄屏控制方法,其特征在于,所述移动终端的屏幕侧内置距离传感器,所述移动终端的熄屏控制方法还包括:The screen blanking control method of the mobile terminal according to claim 6, wherein the screen side of the mobile terminal has a distance sensor, and the screen blanking control method of the mobile terminal further includes:
    在所述亮度值大于预设亮度值时,获取距离传感器检测到的距离值;Obtaining a distance value detected by the distance sensor when the brightness value is greater than a preset brightness value;
    在所述距离值大于预设距离值时,执行所述控制所述移动终端点亮屏幕的步骤。When the distance value is greater than the preset distance value, performing the step of controlling the mobile terminal to illuminate the screen.
  8. 如权利要求1-5任一项所述的移动终端的熄屏控制方法,其特征在于,所述控制所述移动终端熄屏的步骤之后,所述移动终端的熄屏控制方法还包括:The method for controlling the screen-out of a mobile terminal according to any one of claims 1 to 5, wherein after the step of controlling the screen of the mobile terminal to be turned off, the method for controlling the screen-out of the mobile terminal further includes:
    在检测到所述移动终端被拿起时,控制所述移动终端点亮屏幕。The mobile terminal is controlled to illuminate the screen upon detecting that the mobile terminal is picked up.
  9. 一种移动终端,其特征在于,所述移动终端包括存储器、处理器、光线传感器、距离传感器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述光线传感器检测移动终端所处环境的亮度值,所述距离传感器检测移动终端与靠近移动终端的物体之间的距离值,所述计算机程序被所述处理器执行时实现如权利要求1至8中任一项所述的方法的步骤。A mobile terminal, comprising: a memory, a processor, a light sensor, a distance sensor, and a computer program stored on the memory and operable on the processor, the light sensor detecting movement a luminance value of an environment in which the terminal is located, the distance sensor detecting a distance value between the mobile terminal and an object approaching the mobile terminal, the computer program being executed by the processor to implement any one of claims 1 to 8 The steps of the method described.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有一种移动终端的熄屏控制程序,所述移动终端的熄屏控制程序被处理器执行时实现如权利要求1至8中任一项所述的方法的步骤。 A computer readable storage medium, characterized in that the computer readable storage medium stores a screen blanking control program of the mobile terminal, and the screen blanking control program of the mobile terminal is executed by the processor to implement the claim 1 The steps of the method of any of 8.
PCT/CN2017/100271 2017-09-01 2017-09-01 Mobile terminal screen switch-off control method, apparatus, and computer storage medium WO2019041321A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780096530.2A CN111373725A (en) 2017-09-01 2017-09-01 Screen-off control method and device for mobile terminal and computer storage medium
PCT/CN2017/100271 WO2019041321A1 (en) 2017-09-01 2017-09-01 Mobile terminal screen switch-off control method, apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100271 WO2019041321A1 (en) 2017-09-01 2017-09-01 Mobile terminal screen switch-off control method, apparatus, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2019041321A1 true WO2019041321A1 (en) 2019-03-07

Family

ID=65524719

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100271 WO2019041321A1 (en) 2017-09-01 2017-09-01 Mobile terminal screen switch-off control method, apparatus, and computer storage medium

Country Status (2)

Country Link
CN (1) CN111373725A (en)
WO (1) WO2019041321A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023240451A1 (en) * 2022-06-14 2023-12-21 北京小米移动软件有限公司 Screen control method and apparatus, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008142602A2 (en) * 2007-05-16 2008-11-27 Koninklijke Philips Electronics N. V. Dynamic power control for display screens
CN102869076A (en) * 2012-08-22 2013-01-09 惠州Tcl移动通信有限公司 Mobile-phone-based screen state control method and mobile phone employing same
CN103124314A (en) * 2013-03-07 2013-05-29 上海斐讯数据通信技术有限公司 Screen switching achieving method and mobile terminal
CN105842680A (en) * 2016-03-16 2016-08-10 广东欧珀移动通信有限公司 Data processing method and apparatus thereof
CN106161719A (en) * 2016-09-21 2016-11-23 北京珠穆朗玛移动通信有限公司 Unlocking screen false-touch prevention method and mobile terminal thereof
CN106550126A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 The control device and method of mobile terminal and its screen intensity

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167151A (en) * 2012-09-21 2013-06-19 深圳市金立通信设备有限公司 Automatic screen-locking system and method for mobile phone placed in pocket
CN104298446A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Screen control method and device of mobile terminal and mobile terminal
CN105116992B (en) * 2015-09-24 2018-01-12 北京金山安全软件有限公司 Method and device for controlling screen state of electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008142602A2 (en) * 2007-05-16 2008-11-27 Koninklijke Philips Electronics N. V. Dynamic power control for display screens
CN102869076A (en) * 2012-08-22 2013-01-09 惠州Tcl移动通信有限公司 Mobile-phone-based screen state control method and mobile phone employing same
CN103124314A (en) * 2013-03-07 2013-05-29 上海斐讯数据通信技术有限公司 Screen switching achieving method and mobile terminal
CN105842680A (en) * 2016-03-16 2016-08-10 广东欧珀移动通信有限公司 Data processing method and apparatus thereof
CN106161719A (en) * 2016-09-21 2016-11-23 北京珠穆朗玛移动通信有限公司 Unlocking screen false-touch prevention method and mobile terminal thereof
CN106550126A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 The control device and method of mobile terminal and its screen intensity

Also Published As

Publication number Publication date
CN111373725A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
WO2016085157A1 (en) Method and electronic device for voice recognition
WO2013151301A1 (en) Intelligent event information presentation method and terminal
WO2016006721A1 (en) Electronic device group paging method and electronic device thereof
WO2014183454A1 (en) Method, terminal and computer storage medium for group sending message in instant communication
WO2016123898A1 (en) Short message managing method and mobile terminal thereof
WO2019041135A1 (en) Alarm clock reminding method and device and computer-readable storage medium
WO2017107561A1 (en) Method and system for event reminding based on multiple associated devices
WO2011150814A1 (en) Infurmation processing method and user equipment
WO2018233352A1 (en) Data transmission method, device, terminal and computer-readable storage medium
WO2016101441A1 (en) File synchronization method and system
WO2015126060A1 (en) Electronic device and method for processing image
WO2016064128A1 (en) Control device, method of controlling the same, and integrated control system
WO2019114587A1 (en) Information processing method and apparatus for virtual reality terminal, and readable storage medium
WO2019233190A1 (en) Display terminal-based text-to-speech conversion method, display terminal, and storage medium
WO2018145597A1 (en) Mobile terminal-based screen light-supplementing photographing method and system, and mobile terminal
WO2018058835A1 (en) Call mode monitoring method, system and communication terminal
WO2018113315A1 (en) Internet of things positioning method, cloud server, intelligent terminal and intelligent hardware
WO2019045255A1 (en) Method for starting application and electronic device for implementing same
WO2018101676A1 (en) Electronic device and control method therefor
WO2019137219A1 (en) Method and device for adjusting brightness for video call, and computer storage medium
WO2019177325A1 (en) Electronic device for performing device-to-device communication and method therefor
WO2019041321A1 (en) Mobile terminal screen switch-off control method, apparatus, and computer storage medium
WO2018151518A1 (en) Communication configuration method of electronic device, and device thereof
WO2016013815A1 (en) Data operation method and electronic device
WO2018171570A1 (en) Method for loading driver during terminal startup process and terminal 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: 17923026

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: 17923026

Country of ref document: EP

Kind code of ref document: A1