CN109981887B - Method, device, medium and electronic equipment for controlling power-on state of terminal screen - Google Patents

Method, device, medium and electronic equipment for controlling power-on state of terminal screen Download PDF

Info

Publication number
CN109981887B
CN109981887B CN201910122037.4A CN201910122037A CN109981887B CN 109981887 B CN109981887 B CN 109981887B CN 201910122037 A CN201910122037 A CN 201910122037A CN 109981887 B CN109981887 B CN 109981887B
Authority
CN
China
Prior art keywords
terminal
carbon dioxide
concentration
user
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910122037.4A
Other languages
Chinese (zh)
Other versions
CN109981887A (en
Inventor
张国君
韩乐乐
李朋
黄炯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Hefei BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Hefei BOE Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Hefei BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201910122037.4A priority Critical patent/CN109981887B/en
Publication of CN109981887A publication Critical patent/CN109981887A/en
Application granted granted Critical
Publication of CN109981887B publication Critical patent/CN109981887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The disclosure relates to the technical field of intelligent control, in particular to a method, a device, a medium and electronic equipment for controlling the power-on state of a terminal screen. The method comprises the following steps: determining a concentration threshold of carbon dioxide according to the actual respiratory state of the user; determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal; and controlling the screen of the terminal to be powered off in response to the concentration measured value being smaller than the concentration threshold value so that the terminal can turn off the screen. When the concentration measured value is smaller than the concentration threshold value, the fact that the user does not use the terminal currently is indicated, the screen is automatically controlled to be powered off, the intelligent degree of control over the power-on state of the terminal screen is improved, and user experience is improved. In addition, different carbon dioxide concentration thresholds are set according to different actual breathing states of the user, and the control accuracy of the power-on state of the terminal screen is improved.

Description

Method, device, medium and electronic equipment for controlling power-on state of terminal screen
Technical Field
The present disclosure relates to the field of intelligent control technologies, and in particular, to a method and an apparatus for controlling a power-on state of a terminal screen, and a computer-readable storage medium and an electronic device implementing the method for controlling the power-on state of the terminal screen.
Background
Electronic terminals typically present information to a user through a screen. Specifically, when the screen is powered on, the electronic terminal displays information to the outside through the screen, so that a user can acquire the information displayed by the screen; when the screen is powered off (i.e. turned off), the electronic terminal does not display information to the outside.
In the prior art, a user can actively power off a screen, so that the electronic terminal can turn off the screen. In addition, some electronic terminals can automatically turn off the screen if any operation instruction of the user is not received within a preset time period in an open state.
However, in the prior art, the intelligence of the control method for the power-on state of the terminal screen needs to be improved.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The invention aims to provide a control method and a control device for the power-on state of a terminal screen, a computer-readable storage medium and an electronic terminal for realizing the control method for the power-on state of the terminal screen, and further improve the intelligence degree of the control method for the power-on state of the terminal screen by electrons at least to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for controlling a power-on state of a terminal screen, the method including:
determining a concentration threshold of carbon dioxide according to the actual respiratory state of the user;
determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal;
and controlling the screen of the terminal to be powered off in response to the concentration measured value being smaller than the concentration threshold value so that the terminal can turn off the screen.
In some embodiments of the present disclosure, based on the foregoing solution, the method further includes:
and controlling a screen of the terminal to keep a power-on state in response to the concentration measurement value being greater than or equal to the concentration threshold value.
In some embodiments of the present disclosure, based on the foregoing, before determining the concentration measurement value of carbon dioxide at the terminal according to the concentration value of carbon dioxide exhaled by the user when using the terminal, the method further comprises:
detecting whether the terminal receives an operation instruction within a first preset time length;
in response to that the terminal does not receive an operation instruction within the first preset time period, acquiring a concentration value of carbon dioxide exhaled by the user, and determining a concentration measurement value of the carbon dioxide at the terminal according to the concentration value of the carbon dioxide exhaled by the user when the terminal is used;
in response to the fact that the terminal receives an operation instruction within the first preset time length is detected, controlling a screen of the terminal to be kept in a power-on state;
wherein the operation instructions include, but are not limited to: and the operation instruction comprises a touch screen operation instruction of the terminal and an operation instruction of a key of the terminal.
In some embodiments of the present disclosure, based on the foregoing, before determining the concentration measurement value of carbon dioxide at the terminal according to the concentration value of carbon dioxide exhaled by the user when using the terminal, the method further comprises:
determining a preset flow rate threshold according to the actual breathing state of the user, acquiring the airflow speed at the terminal within a second preset time length, and judging whether the airflow speed at the terminal is smaller than the preset flow rate threshold or not;
in response to the gas flow rate at the terminal being greater than or equal to a preset flow rate threshold value within the second preset time period, acquiring a concentration value of carbon dioxide exhaled by the user;
in response to that the air flow speed at the terminal is smaller than the preset air flow speed threshold value within the second preset time period, controlling the screen of the terminal to be powered off so that the terminal can turn off the screen;
wherein the preset flow rate threshold is less than or equal to a gas flow rate value generated at the terminal by respiration of the user.
In some embodiments of the present disclosure, based on the foregoing solution, before determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when using the terminal, the method includes:
setting numerical values of N different target distances, and acquiring carbon dioxide concentration values at the terminal for N times at intervals of a third preset time length in the actual breathing state of the user, wherein the target distances are the distances between the terminal and the mouth and nose of the user;
and determining the relation between the target intervals and the carbon dioxide concentration value at the terminal according to the N target intervals and the N carbon dioxide concentration values corresponding to the N target intervals so as to determine the carbon dioxide concentration threshold value at the terminal under different target interval values.
In some embodiments of the present disclosure, based on the foregoing solution, determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user while using the terminal includes:
and acquiring a numerical value of the current target distance, and determining a current carbon dioxide concentration threshold value according to the relation between the target distance and the carbon dioxide concentration value at the terminal.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a power-on state of a terminal screen, the apparatus including:
a concentration threshold determination module configured to determine a concentration threshold of carbon dioxide from an actual respiratory state of a user;
a concentration measurement value acquisition module configured to determine a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user while using the terminal;
the control module is configured to respond to the fact that the concentration measured value is smaller than the concentration threshold value, and control the screen of the terminal to be powered off so that the terminal can be turned off.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the method in any of the above embodiments of the first aspect via execution of the executable instructions.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in one embodiment of the present disclosure, whether a user is using a terminal is determined by detecting a concentration value of carbon dioxide at the terminal. Specifically, the concentration threshold of carbon dioxide is determined according to the actual respiratory state of the user, and further, when the user uses the terminal, the concentration value of carbon dioxide exhaled by the user is acquired in real time to determine the concentration measurement value of carbon dioxide at the terminal for comparison with the concentration threshold of carbon dioxide. When the concentration measured value is smaller than the concentration threshold value, which indicates that the user does not use the terminal at present, the screen of the terminal is controlled to be powered off, so that the terminal can turn off the screen, the electric quantity loss of the terminal is reduced, and the service life of the terminal is prolonged. Meanwhile, the terminal automatically controls the screen to be powered off in a state without being used by a user, so that the intelligent degree of control over the power-on state of the terminal screen is improved, and the improvement of user experience is facilitated.
In addition, different carbon dioxide concentration thresholds are set according to different actual breathing states of the user, and the control accuracy of the power-on state of the terminal screen is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 schematically illustrates a flowchart of a control method of a power-on state of a terminal screen in an exemplary embodiment of the present disclosure;
fig. 2 schematically shows a flowchart of a setting method of a concentration threshold value of carbon dioxide in an exemplary embodiment of the present disclosure;
FIG. 3 shows a schematic diagram of target locations in an exemplary embodiment of the present disclosure;
fig. 4 schematically illustrates a flowchart of a control method for a power-on state of a terminal screen in another exemplary embodiment of the present disclosure;
fig. 5 schematically illustrates a flowchart of a control method for a power-on state of a terminal screen in still another exemplary embodiment of the present disclosure;
fig. 6 schematically shows a flowchart of a control method for a power-on state of a terminal screen in still another exemplary embodiment of the present disclosure;
fig. 7 schematically illustrates a flowchart of a control method for a power-on state of a terminal screen in an exemplary embodiment of the present disclosure;
fig. 8 is a block diagram schematically illustrating a control apparatus for a power-on state of a terminal screen in an exemplary embodiment of the present disclosure;
fig. 9 schematically illustrates a computer-readable storage medium for implementing the above-described control method of the power-on state of the terminal screen; and the number of the first and second groups,
fig. 10 schematically shows an example block diagram of an electronic device for implementing the above-described control method of the power-on state of the terminal screen.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc. Additionally, it will also be readily appreciated that the steps may be performed synchronously or asynchronously, e.g., among multiple modules/processes/threads.
In the prior art, the terminal generally achieves the purpose of screen turning off by presetting screen turning off time (except for manual turning off), and when no operation is performed for a long time, the mobile phone can turn off the screen by presetting the screen turning off time. The intelligent degree of the control method for the power-on state of the terminal screen is low, so that the user experience is poor. Specifically, on one hand, for users who frequently use terminals (for example, mobile phones, ipads and other viewing time, messages and the like), the terminals can cause unnecessary waste of their own electric quantity every day under the condition of not being used to manual closing. On the other hand, under the condition that the terminal is used for browsing the webpage or the picture for a long time and no operation instruction is issued to the terminal in the period, the terminal enters a screen-off mode when the preset screen-off time is reached, and therefore great inconvenience is brought to readers.
First, a method for controlling a power-on state of a terminal screen is provided in the present exemplary embodiment, and fig. 1 schematically illustrates a flowchart of a method for controlling a power-on state of a terminal screen in an exemplary embodiment of the present disclosure, which overcomes at least the above-mentioned problems due to limitations and disadvantages of the related art to some extent.
The execution subject of the control method for the power-on state of the terminal screen provided by the embodiment can be a device with a calculation processing function, such as a server.
Referring to fig. 1, the method may include the steps of:
step S101, determining a concentration threshold of carbon dioxide according to the actual respiratory state of a user;
step S102, determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal; and the number of the first and second groups,
and S103, responding to the fact that the concentration measured value is smaller than the concentration threshold value, and controlling the screen of the terminal to be powered off so that the terminal can turn off the screen.
In the technical scheme provided by the embodiment shown in fig. 1, whether a user uses the terminal is judged by detecting the concentration value of carbon dioxide at the terminal. Specifically, the threshold concentration of carbon dioxide is first determined based on the actual respiratory state of the user. Further, when the user uses the terminal, the concentration value of the carbon dioxide exhaled by the user is acquired in real time to determine the concentration measurement value of the carbon dioxide at the terminal for comparison with the concentration threshold value of the carbon dioxide. When the concentration measured value is smaller than the concentration threshold value, which indicates that the user does not use the terminal at present, the screen of the terminal is controlled to be powered off, so that the terminal can turn off the screen, the electric quantity loss of the terminal is reduced, and the service life of the terminal is prolonged. Meanwhile, the terminal automatically controls the screen to be powered off in a state without being used by a user, so that the intelligent degree of control over the power-on state of the terminal screen is improved, and the improvement of user experience is facilitated.
In addition, different carbon dioxide concentration thresholds are set according to different actual breathing states of the user, and the control accuracy of the power-on state of the terminal screen is improved.
In the technical scheme, the terminal can be a touch screen type terminal or a mechanical button type terminal with a display screen. The method comprises the following steps: mobile phones, ipads, computers, etc. In the following embodiments, a touch-screen mobile phone is taken as an example unless otherwise specified.
The following is a detailed explanation of the specific implementation of the individual steps in the example shown in fig. 1.
In an exemplary embodiment, fig. 2 schematically illustrates a flowchart of a setting method of a concentration threshold value of carbon dioxide in an exemplary embodiment of the present disclosure. A specific embodiment of step S101 may be explained. Referring to fig. 2, the method includes steps S201 to S203.
In step S201, setting values of N different target distances, and acquiring a carbon dioxide concentration value at the terminal N times at intervals of a third preset time in an actual respiratory state of the user, where the target distance is a distance between the terminal and the mouth and nose of the user.
In an exemplary embodiment, the concentration of carbon dioxide at the terminal (illustrated as a cell phone) is related to the distance of the user from the cell phone. Referring to fig. 3, the target distance is set to a distance S between the mobile phone a and the mouth-nose B of the user. For example, when a general user uses a mobile phone, the target distance is generally between 20cm and 40 cm.
In an exemplary embodiment, since the target distance is different, that is, the distance from the mouth and nose of the user to the mobile phone is different when the user uses the mobile phone, the concentration of carbon dioxide obtained when the gas exhaled by the user reaches the mobile phone is different. Thus, in this embodiment, N different values of the target pitch will be set. And under the actual breathing state of the user, acquiring the concentration value of the carbon dioxide at the terminal N times at intervals of a third preset time length.
Illustratively, the value of N is 3, and the data of the specific 3 target distances may be 20cm, 30cm and 40cm, respectively. The third preset time duration may be a unit time duration corresponding to a breath of the user, and may be determined according to a unit time duration basis corresponding to each user, and specifically, the preset time duration may be an integral multiple of the unit time duration corresponding to the breath of the user. For example, if the user breathes one breath for 5 seconds, the third preset time period may be 3 × 5 to 15 seconds. That is, the value of the above-mentioned target distance is set to 20cm, that is, the distance S between the hand piece a and the mouth and nose B of the user is made 20cm, the user breathes for 15 seconds, and the concentration value a1 of carbon dioxide at the hand piece during the period is acquired. Similarly, the value of the target distance is set to be 30cm, that is, the distance S between the mobile phone a and the mouth and nose B of the user is made to be 30cm, the user breathes for 15 seconds, and the concentration value a2 of carbon dioxide at the mobile phone during the breathing process is obtained; the value of the target distance is set to 40cm, that is, the distance S between the mobile phone a and the mouth and nose B of the user is set to 40cm, the user breathes for 15 seconds, and the concentration value a3 of carbon dioxide at the mobile phone during the breathing process is acquired.
In an exemplary embodiment, a mean value of a plurality of density values acquired in a third preset time period may be used as the density value corresponding to the target distance.
In step S202, a relationship between the target pitch and the carbon dioxide concentration value at the terminal is determined according to the values of the N target pitches and N carbon dioxide concentration values corresponding to the values of the N target pitches, so as to determine the carbon dioxide concentration threshold at the terminal under different values of the target pitches.
Still referring to the above-described embodiment, the relationship between the target pitch and the concentration value of carbon dioxide is mathematically fitted according to the target pitches being 20cm, 30cm and 40cm and the corresponding measured concentration values being a1, a2 and a 3. Illustratively, the target spacing is linearly related to the concentration of carbon dioxide. Thus, for this user, the threshold concentration of carbon dioxide at the terminal may be determined at different values of the target spacing.
In step S203, a value of a current target distance is obtained, and a current carbon dioxide concentration threshold is determined according to a relationship between the target distance and the carbon dioxide concentration value at the terminal.
In an exemplary embodiment, a value of a current distance from the mobile phone to the nose and mouth of the user may be obtained, and a current carbon dioxide concentration threshold value may be determined according to a relationship between the target distance determined in the above steps and the carbon dioxide concentration value at the terminal.
With continued reference to fig. 1, after determining the threshold concentration of carbon dioxide from the actual respiratory state of the user in step S101 according to the method shown in fig. 2, a measured concentration value of carbon dioxide at the terminal is determined in step S102 from the concentration value of carbon dioxide exhaled by the user when using the terminal.
In an exemplary embodiment, by detecting whether the display screen of the mobile phone is in a power-on state, if the display screen is in the power-on state, a concentration value of carbon dioxide exhaled by the user at the terminal (for example, a position where the user holds the mobile phone) may be obtained, so as to compare the obtained disconnected detection value of the carbon dioxide with the concentration threshold value.
In an exemplary embodiment, a device for detecting carbon dioxide concentration by a user can be added in the terminal mobile phone, and is used for acquiring the carbon dioxide concentration value when the expired air of the user arrives at the mobile phone. Specifically, referring to FIG. 3, when the user uses the handset, the direction of the exhaled air at the nose and mouth of the user is generally near the bottom end of the handset. Therefore, the device for detecting the concentration of the carbon dioxide can be arranged at the bottom end of the mobile phone, so that the accuracy of measuring the concentration of the carbon dioxide is further improved.
In the embodiment shown in fig. 1, in step S103, in response to that the concentration measurement value is smaller than the concentration threshold, the screen of the terminal is controlled to be powered off, so that the terminal can turn off the screen. When the concentration measured value is smaller than the concentration threshold value, which indicates that the user does not use the terminal at present, the screen of the terminal is controlled to be powered off, so that the terminal can turn off the screen, the electric quantity loss of the terminal is reduced, and particularly, the service life of the terminal is prolonged beneficially through the terminal powered by a battery. Meanwhile, the terminal automatically controls the screen to be powered off in a state without being used by a user, so that the intelligent degree of control over the power-on state of the terminal screen is improved, and the improvement of user experience is facilitated.
In an exemplary embodiment, fig. 4 schematically illustrates a flowchart of a control method of a power-on state of a terminal screen in another exemplary embodiment of the present disclosure. Referring to fig. 4, the method includes:
step S401, determining a concentration threshold of carbon dioxide according to the actual respiratory state of a user;
step S402, determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal;
step S403, judging that the concentration measurement value is smaller than the concentration threshold value; if yes, executing step S404, and controlling the screen of the terminal to be powered off so that the terminal can turn off the screen; if not, executing step S405, and controlling the screen of the terminal to keep the power-on state.
In an exemplary embodiment, the specific implementation of steps S401 to S404 is the same as the specific implementation of steps S101 to S103, and is not described herein again.
In the technical solution provided by the embodiment shown in fig. 4, when the concentration measurement value is greater than or equal to the concentration threshold value, which indicates that the user is still using the terminal at present, the screen of the terminal is controlled to be kept in the power-on state, so as to avoid the screen of the terminal from being turned off, and the terminal screen is intelligently kept in the power-on state, which is beneficial to improving the user experience of the user. For example, for the case that the terminal is used for browsing a webpage or a picture for a long time and no operation instruction is issued to the terminal in the period, if the terminal reaches the preset screen-saving time, the terminal enters the screen-saving mode, and great inconvenience is brought to the reader. And whether the user is using the terminal is judged by detecting the carbon dioxide concentration in the embodiment, so that the judgment accuracy can be improved, and the terminal is prevented from automatically turning off the screen under the condition that the user uses the terminal.
In an exemplary embodiment, fig. 5 schematically illustrates a flowchart of a control method for a power-on state of a terminal screen in still another exemplary embodiment of the present disclosure. The embodiment shown in fig. 5 is based on fig. 4, and determines whether an operation instruction is received within a preset time before the method for detecting the concentration value of carbon dioxide (such as the method provided in the embodiment shown in fig. 4) is started to determine whether the user uses the function of the terminal. With particular reference to fig. 5, the method comprises:
step S501, determining a concentration threshold of carbon dioxide according to the actual respiratory state of a user;
step S502, detecting whether the terminal receives an operation instruction within a first preset time length; if not, executing step S503-step S506; if yes, go to step S506 directly.
In step S503, a concentration value of carbon dioxide exhaled by the user is obtained, so as to determine a concentration measurement value of carbon dioxide at a terminal according to the concentration value of carbon dioxide exhaled by the user when the user uses the terminal;
in step S504, it is determined that the concentration measurement value is less than the concentration threshold value; if so, executing step S505, and controlling the screen of the terminal to be powered off so that the terminal can turn off the screen; if not, executing step S506, and controlling the screen of the terminal to keep the power-on state.
In an exemplary embodiment, the specific implementation of step S501 is the same as the specific implementation of step S401, and the specific implementation of steps S503 to S506 is the same as the specific implementation of steps S402 to S404, which are not described again here.
It should be noted that, in the embodiment shown in fig. 5, on the basis of the embodiment shown in fig. 4, it is detected through step S502 whether the terminal receives an operation instruction within a first preset time period, where the first preset time period may be set according to an actual requirement of a user, for example, 15 seconds, and the operation instruction includes but is not limited to: and indicating the touch screen operation and indicating the operation of the keys of the terminal.
Further, if there is an operation instruction within the first preset time period, which indicates that the user is using the mobile phone, step S506 is performed directly, and the screen of the terminal is controlled to maintain the power-on state. The technical scheme can save the step of judging whether the user uses the terminal by a method for detecting the concentration value of the carbon dioxide, thereby simply and quickly judging that the user uses the terminal. In addition, if no operation instruction is detected within the first preset time period, the method for detecting the concentration value of carbon dioxide (such as the method provided by the embodiment shown in fig. 4) is turned on to determine whether the user is using the function of the terminal.
In the technical scheme provided by the embodiment shown in fig. 5, the control accuracy of the power-on state of the terminal screen is further improved, for example, it can be prevented that the screen-off operation is mistaken due to the fact that the carbon dioxide concentration is collected slowly in special use cases (for example, a user uses a mobile phone for a long distance in some cases).
In an exemplary embodiment, fig. 6 schematically illustrates a flowchart of a control method for a power-on state of a terminal screen in an exemplary further embodiment of the present disclosure. The embodiment shown in fig. 6 is based on fig. 4, and before the method for detecting the concentration value of carbon dioxide (such as the method provided in the embodiment shown in fig. 4) is started to judge whether the user uses the function of the terminal, whether the airflow speed at the terminal meets the preset flow speed threshold value within the preset time is judged. With particular reference to fig. 6, the method comprises:
step S601, determining a concentration threshold of carbon dioxide according to the actual respiratory state of a user;
step S602, determining a preset flow rate threshold according to the actual breathing state of the user, and acquiring the air flow rate at the terminal within a second preset time period;
step S603, determining whether the airflow speed at the terminal is less than the preset flow speed threshold; if not, executing step S604-step S607; if yes, go to step S606 directly.
Wherein, in step S604, a concentration measurement value of carbon dioxide at a terminal is determined according to a concentration value of carbon dioxide exhaled by the user when using the terminal;
in step S605, it is determined that the concentration measurement value is smaller than the concentration threshold value; if yes, executing step S606, and controlling the screen of the terminal to be powered off so that the terminal can turn off the screen; if not, executing step S607 to control the screen of the terminal to keep the power-on state.
In an exemplary embodiment, the specific implementation of steps S604 to S607 is the same as the specific implementation of steps S402 to S404, and is not described herein again.
It should be noted that, the embodiment shown in fig. 6 provides a technical solution that, on the basis of the embodiment shown in fig. 4, specifically, the preset flow rate threshold is determined according to the actual respiratory state of the user through the above step S602, and the airflow rate at the terminal end within the second preset time period is obtained. Wherein the predetermined flow rate threshold is less than or equal to a flow rate of gas generated at the terminal by respiration of the user.
In an exemplary embodiment, the preset flow rate threshold is less than or equal to a value of a flow rate of gas generated at the terminal by respiration of the user. Moreover, the determination of the preset flow rate threshold is similar to the determination direction of the carbon dioxide concentration threshold shown in fig. 2, and is not repeated here.
Further, it is also determined in the above step S603 whether the airflow speed at the terminal end is less than the preset flow speed threshold. Since the preset flow rate threshold is smaller than or equal to the gas flow rate value generated by the respiration of the user at the terminal, whether the user normally uses the mobile phone can be detected by detecting the quality of the gas flow at the terminal.
In an exemplary embodiment, if the airflow rate at the terminal is below a preset flow rate threshold, two possible situations may be determined. In the first case, the terminal is not located around the user currently, that is, the user is not using the mobile phone, the screen of the terminal is directly controlled to be powered off through the step S606, so that the terminal enters the screen-saving mode. In the second case, the terminal is in an environment where air does not circulate (for example, in a closed space), and the step S606 can also prevent the screen from being turned off by mistake due to an excessively high concentration of carbon dioxide in the air in the closed space. Therefore, if the terminal user uses the mobile phone in an environment with high carbon dioxide concentration, the user is advised to close the screen-off control system based on carbon dioxide concentration detection, and when the terminal user returns to a normal environment, the user can open the screen-off control system again to avoid misoperation caused by inaccurate concentration measurement value of carbon dioxide at the terminal.
In an exemplary embodiment, if the airflow speed at the detection terminal is greater than the preset flow speed threshold, it indicates that the user is using the mobile phone normally. Further, the method for detecting the concentration value of carbon dioxide (the method provided in the embodiment shown in fig. 4) is turned on again to determine whether the user is using the function of the terminal.
In an exemplary embodiment, fig. 7 schematically illustrates a flowchart of a control method for a power-on state of a terminal screen in an exemplary embodiment of the present disclosure.
Referring to fig. 7, the method includes:
step S701, determining a concentration threshold of carbon dioxide according to the actual respiratory state of a user;
step S702, detecting whether the terminal receives an operation instruction within a first preset time length; if not, executing step S703-step S708; if yes, go to step S708 directly.
In step S703, a preset flow rate threshold is determined according to the actual respiratory state of the user, and the airflow rate at the terminal within a second preset duration is obtained;
in step S704, it is determined whether the airflow speed at the terminal end is less than the preset flow speed threshold; if not, executing step S705-step S708; if yes, go directly to step S707.
Wherein, in step S705, a concentration measurement value of carbon dioxide at a terminal is determined according to a concentration value of carbon dioxide exhaled by the user when using the terminal;
in step S706, it is determined that the concentration measurement value is smaller than the concentration threshold value; if yes, executing step S707, and controlling the screen of the terminal to be powered off so that the terminal can turn off the screen; if not, step S708 is executed to control the screen of the terminal to maintain the power-on state.
The embodiment shown in fig. 7 combines the embodiment shown in fig. 5 and the embodiment shown in fig. 6, and has the technical effects of the embodiments shown in fig. 5 and 6. Therefore, the detailed implementation of each step and the corresponding technical effect of the embodiment shown in fig. 7 can refer to the corresponding descriptions of fig. 5 and fig. 6, and are not repeated herein.
The following describes an embodiment of the apparatus of the present disclosure, which can be used to execute the above-mentioned control method for the power-on state of the terminal screen of the present disclosure.
Fig. 8 shows a schematic structural diagram of a control device for a power-on state of a terminal screen according to an embodiment of the present disclosure, and referring to fig. 8, the present embodiment provides a control device 800 for a power-on state of a terminal screen, including: a concentration threshold determination module 801, a concentration measurement acquisition module 802, and a control module 803.
Wherein the concentration threshold determination module 801 is configured to: determining a concentration threshold of carbon dioxide according to the actual respiratory state of the user;
the concentration measurement value acquisition module 802 is configured to: determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal; and the number of the first and second groups,
the control module 803 is configured to: and controlling the screen of the terminal to be powered off in response to the concentration measured value being smaller than the concentration threshold value so that the terminal can turn off the screen.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the control module 803 is further configured to: and controlling a screen of the terminal to keep a power-on state in response to the concentration measurement value being greater than or equal to the concentration threshold value.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the apparatus 800 for controlling a power-on state of a terminal screen further includes: and an operation indication detection module.
Before the above concentration measurement value obtaining module 802 determines the concentration measurement value of carbon dioxide at the terminal according to the concentration value of carbon dioxide exhaled by the user when using the terminal, the above operation instruction detecting module is configured to: detecting whether the terminal receives an operation instruction within a first preset time length;
in response to that it is not detected that the terminal receives an operation instruction within the first preset time period, the above-mentioned concentration measurement value obtaining module 802 obtains a concentration value of carbon dioxide exhaled by the user, so as to determine a concentration measurement value of carbon dioxide at the terminal according to the concentration value of carbon dioxide exhaled by the user when the user uses the terminal; in response to detecting that the terminal receives an operation instruction within the first preset time period, the control module 803 controls the screen of the terminal to keep a power-on state;
wherein the operation instructions include, but are not limited to: and indicating the touch screen operation and indicating the operation of the keys of the terminal.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the apparatus 800 for controlling a power-on state of a terminal screen further includes: an air flow velocity acquisition module.
Before the above concentration measurement value acquisition module 802 determines the concentration measurement value of carbon dioxide at the terminal from the concentration value of carbon dioxide exhaled by the user when using the terminal, the above airflow rate acquisition module is configured to: determining a preset flow rate threshold according to the actual breathing state of the user, acquiring the airflow speed at the terminal within a second preset time length, and judging whether the airflow speed at the terminal is smaller than the preset flow rate threshold or not;
in response to that the gas flow rate at the terminal is greater than or equal to a preset flow rate threshold value within the second preset time period, the above-mentioned concentration measurement value obtaining module 802 obtains a concentration value of the carbon dioxide exhaled by the user;
in response to that the airflow speed at the terminal is smaller than the preset flow speed threshold value within the second preset time period, the control module 803 controls the screen of the terminal to be powered off, so that the terminal turns off the screen;
wherein the preset flow rate threshold is less than or equal to a gas flow rate value generated at the terminal by respiration of the user.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the apparatus 800 for controlling a power-on state of a terminal screen further includes: the operation indication detection module and the airflow speed acquisition module.
Before the above concentration measurement value obtaining module 802 determines the concentration measurement value of carbon dioxide at the terminal according to the concentration value of carbon dioxide exhaled by the user when using the terminal, the above operation instruction detecting module is configured to: detecting whether the terminal receives an operation instruction within a first preset time length;
in response to that it is not detected that the terminal receives an operation instruction within the first preset time period, the above-mentioned concentration measurement value obtaining module 802 obtains a concentration value of carbon dioxide exhaled by the user, so as to determine a concentration measurement value of carbon dioxide at the terminal according to the concentration value of carbon dioxide exhaled by the user when the user uses the terminal; in response to detecting that the terminal receives an operation instruction within the first preset time period, the control module 803 controls the screen of the terminal to keep a power-on state;
wherein the operation instructions include, but are not limited to: and indicating the touch screen operation and indicating the operation of the keys of the terminal.
The airflow speed acquisition module is configured to: determining a preset flow rate threshold according to the actual breathing state of the user, acquiring the airflow speed at the terminal within a second preset time length, and judging whether the airflow speed at the terminal is smaller than the preset flow rate threshold or not;
in response to that the gas flow rate at the terminal is greater than or equal to a preset flow rate threshold value within the second preset time period, the above-mentioned concentration measurement value obtaining module 802 obtains a concentration value of the carbon dioxide exhaled by the user;
in response to that the airflow speed at the terminal is smaller than the preset flow speed threshold value within the second preset time period, the control module 803 controls the screen of the terminal to be powered off, so that the terminal turns off the screen;
wherein the preset flow rate threshold is less than or equal to a gas flow rate value generated at the terminal by respiration of the user.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the apparatus 800 for controlling a power-on state of a terminal screen further includes: and a carbon dioxide concentration threshold setting module.
Before the concentration threshold determination module 801 determines the concentration threshold of carbon dioxide according to the actual respiratory state of the user, the carbon dioxide concentration threshold setting module is configured to: under the actual breathing state of the user, sequentially acquiring carbon dioxide concentration values at the terminal N times at N different distances between the terminal and the mouth and nose of the user at intervals of a third preset time length; and determining the relation between the carbon dioxide concentration value at the terminal and the distance between the terminal and the mouth and nose of the user according to the N different distances and the corresponding N carbon dioxide concentration values so as to determine the carbon dioxide concentration threshold value at the terminal under different distances.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, in the concentration threshold determination module 801, the concentration threshold determination module is specifically configured to:
and acquiring the distance between the terminal and the mouth and nose of the user, and determining a corresponding carbon dioxide concentration threshold according to the distance between the terminal and the mouth and nose of the user.
For details that are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the above-described embodiments of the method for controlling the power-on state of the terminal screen of the present invention for details that are not disclosed in the embodiments of the apparatus of the present invention, since each functional module of the apparatus for controlling the power-on state of the terminal screen of the present invention corresponds to the steps of the above-described embodiments of the method for controlling the power-on state of the terminal screen.
For details which are not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the method for controlling the power-on state of the terminal screen described above for the details which are not disclosed in the embodiments of the apparatus of the present disclosure.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 9, a program product 900 for implementing the above method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
An electronic device 1000 according to this embodiment of the disclosure is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, and a bus 1030 that couples various system components including the memory unit 1020 and the processing unit 1010.
Wherein the storage unit stores program code that is executable by the processing unit 1010 to cause the processing unit 1010 to perform steps according to various exemplary embodiments of the present disclosure described in the above section "exemplary methods" of the present specification. For example, the processing unit 1010 may perform step S101 as shown in fig. 1: determining a concentration threshold of carbon dioxide according to the actual respiratory state of the user; step S102: determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal; and, step S103: and controlling the screen of the terminal to be powered off in response to the concentration measured value being smaller than the concentration threshold value so that the terminal can turn off the screen.
The storage unit 1020 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)10201 and/or a cache memory unit 10202, and may further include a read-only memory unit (ROM) 10203.
The memory unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1030 may be any one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, and a local bus using any of a variety of bus architectures.
The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 1050. Also, the electronic device 1000 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1060. As shown, the network adapter 1060 communicates with the other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (8)

1. A method for controlling the power-on state of a terminal screen is characterized by comprising the following steps:
setting N different values of target intervals, and respectively acquiring carbon dioxide concentration values within a third preset time length under the actual breathing state that the distance between the mouth and the nose of a user and a terminal is equal to each target interval so as to obtain N carbon dioxide concentration values corresponding to the N values of the target intervals; the third preset time length is integral multiple of unit time length corresponding to breath of the user;
performing mathematical fitting on the values of the N target intervals and N carbon dioxide concentration values corresponding to the values of the N target intervals, and determining the relation between the target intervals and the carbon dioxide concentration value at the terminal so as to determine the concentration threshold value of the carbon dioxide at the terminal under different values of the target intervals;
acquiring a numerical value of a current target distance, and determining a current carbon dioxide concentration threshold according to a relation between the target distance and a carbon dioxide concentration value at the terminal;
determining a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user when the user uses the terminal;
and controlling the screen of the terminal to be powered off in response to the concentration measured value being smaller than the concentration threshold value so that the terminal can turn off the screen.
2. The method for controlling the power-on state of the terminal screen according to claim 1, further comprising:
and controlling a screen of the terminal to keep a power-on state in response to the concentration measurement value being greater than or equal to the concentration threshold value.
3. The method for controlling a power-on state of a terminal screen according to claim 1, wherein before determining the concentration measurement value of carbon dioxide at the terminal based on the concentration value of carbon dioxide exhaled by the user when using the terminal, the method further comprises:
detecting whether the terminal receives an operation instruction within a first preset time length;
in response to that the terminal does not receive an operation instruction within the first preset time period, acquiring a concentration value of carbon dioxide exhaled by the user, and determining a concentration measurement value of the carbon dioxide at the terminal according to the concentration value of the carbon dioxide exhaled by the user when the terminal is used;
in response to the fact that the terminal receives an operation instruction within the first preset time length is detected, controlling a screen of the terminal to be kept in a power-on state;
wherein the operation instructions include, but are not limited to: and the operation instruction comprises a touch screen operation instruction of the terminal and an operation instruction of a key of the terminal.
4. The method for controlling a power-on state of a terminal screen according to claim 3, wherein before determining the concentration measurement value of carbon dioxide at the terminal based on the concentration value of carbon dioxide exhaled by the user when using the terminal, the method further comprises:
determining a preset flow rate threshold according to the actual breathing state of the user, acquiring the airflow speed at the terminal within a second preset time length, and judging whether the airflow speed at the terminal is smaller than the preset flow rate threshold or not;
in response to the gas flow rate at the terminal being greater than or equal to a preset flow rate threshold value within the second preset time period, acquiring a concentration value of carbon dioxide exhaled by the user;
in response to that the air flow speed at the terminal is smaller than the preset air flow speed threshold value within the second preset time period, controlling the screen of the terminal to be powered off so that the terminal can turn off the screen;
wherein the preset flow rate threshold is less than or equal to a gas flow rate value generated at the terminal by respiration of the user.
5. The method for controlling a power-on state of a terminal screen according to claim 1, wherein before determining the concentration measurement value of carbon dioxide at the terminal based on the concentration value of carbon dioxide exhaled by the user when using the terminal, the method further comprises:
determining a preset flow rate threshold according to the actual breathing state of the user, acquiring the airflow speed at the terminal within a second preset time length, and judging whether the airflow speed at the terminal is smaller than the preset flow rate threshold or not;
in response to the gas flow rate at the terminal being greater than or equal to a preset flow rate threshold value within the second preset time period, acquiring a concentration value of carbon dioxide exhaled by the user;
in response to that the air flow speed at the terminal is smaller than the preset air flow speed threshold value within the second preset time period, controlling the screen of the terminal to be powered off so that the terminal can turn off the screen;
wherein the preset flow rate threshold is less than or equal to a gas flow rate value generated at the terminal by respiration of the user.
6. A control apparatus for controlling a power-on state of a terminal screen, the apparatus comprising:
the carbon dioxide concentration threshold setting module is configured to set N different values of the target interval, and respectively acquire a carbon dioxide concentration value within a third preset time length in an actual breathing state in which the distance between the mouth and the nose of the user and the terminal is equal to each target interval so as to acquire N carbon dioxide concentration values corresponding to the N values of the target interval; the third preset time length is integral multiple of unit time length corresponding to breath of the user; performing mathematical fitting on the values of the N target intervals and N carbon dioxide concentration values corresponding to the values of the N target intervals, and determining the relation between the target intervals and the carbon dioxide concentration value at the terminal so as to determine the carbon dioxide concentration threshold value at the terminal under different values of the target intervals;
a concentration threshold determination module configured to determine a current concentration threshold of carbon dioxide according to a value of a current target distance and according to a relation between the target distance and a carbon dioxide concentration value at the terminal;
a concentration measurement value acquisition module configured to determine a concentration measurement value of carbon dioxide at a terminal according to a concentration value of carbon dioxide exhaled by the user while using the terminal;
the control module is configured to respond to the fact that the concentration measured value is smaller than the concentration threshold value, and control the screen of the terminal to be powered off so that the terminal can be turned off.
7. An electronic device, comprising:
a processor; and
a memory storing a computer program which, when executed by the processor, implements the method of controlling the power-on state of the terminal screen according to any one of claims 1 to 5.
8. A computer storage medium storing a computer program which, when executed by a processor, implements the method of controlling the power-on state of a terminal screen according to any one of claims 1 to 5.
CN201910122037.4A 2019-02-19 2019-02-19 Method, device, medium and electronic equipment for controlling power-on state of terminal screen Active CN109981887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910122037.4A CN109981887B (en) 2019-02-19 2019-02-19 Method, device, medium and electronic equipment for controlling power-on state of terminal screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910122037.4A CN109981887B (en) 2019-02-19 2019-02-19 Method, device, medium and electronic equipment for controlling power-on state of terminal screen

Publications (2)

Publication Number Publication Date
CN109981887A CN109981887A (en) 2019-07-05
CN109981887B true CN109981887B (en) 2021-09-07

Family

ID=67077053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910122037.4A Active CN109981887B (en) 2019-02-19 2019-02-19 Method, device, medium and electronic equipment for controlling power-on state of terminal screen

Country Status (1)

Country Link
CN (1) CN109981887B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101242481B1 (en) * 2011-01-04 2013-03-13 목포대학교산학협력단 Multimodal Interface Support User Device Using User Touch and Breath, and Control Method Thereof
CN104853025B (en) * 2014-02-18 2017-11-14 联发科技(新加坡)私人有限公司 A kind of control method and device of mobile terminal
CN104503281B (en) * 2014-11-28 2017-06-23 京东方科技集团股份有限公司 The control method and electronic equipment of electronic equipment
CN105867790A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Terminal equipment and control method and device thereof
CN106371589A (en) * 2016-08-29 2017-02-01 深圳天珑无线科技有限公司 Mobile device operation method and apparatus, and mobile device
CN106775355B (en) * 2016-12-28 2020-03-20 珠海市魅族科技有限公司 Method and system for controlling terminal equipment through gas
CN108366416A (en) * 2018-02-28 2018-08-03 维沃移动通信有限公司 One kind putting out screen method and mobile terminal

Also Published As

Publication number Publication date
CN109981887A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
KR101477179B1 (en) Method And Mobile Terminal For Determining and Displaying Power Efficiency of Application
US11086290B2 (en) Electronic apparatus for monitoring state of machine tool and control method thereof
CN107577522B (en) Application control method, device, storage medium and electronic equipment
US9784797B2 (en) Method for controlling and an electronic device thereof
CN107734373A (en) Barrage sending method and device, storage medium, electronic equipment
CN109164858B (en) Method and electronic device for controlling current
KR20170075327A (en) Electronic device for managing power and method for controlling thereof
EP3955014B1 (en) Method and apparatus for obtaining residual electric quantity, and electronic device
KR20170134090A (en) Method for controlling charge for improving receive sensitivity and electronic device for the same
CN102591457A (en) Human presence detection
CN112182067A (en) Individual height prediction method and device, electronic equipment and storage medium
CN110727473B (en) Resource control method, device, system, storage medium and electronic equipment
KR101829710B1 (en) Apparatus and method for determining battery current consumption in portable terminal
CN109885270B (en) Display device control method, display device, and storage medium
CN109981887B (en) Method, device, medium and electronic equipment for controlling power-on state of terminal screen
CN109597482B (en) Automatic page turning method and device for electronic book, medium and electronic equipment
CN107221984B (en) Terminal device, temperature rise control method and device during charging of terminal device, and storage medium
CN114222978A (en) Power consumption information processing method and device, electronic equipment and storage medium
CN110889544A (en) Method and device for predicting operation indexes of power distribution network
KR102406634B1 (en) Personalized recommendation method and system based on future interaction prediction
CN109472708A (en) Nursing insurance measuring method, device, electronic equipment, storage medium
US9001146B2 (en) Automatically determining an object display mode to display objects
CN115531875A (en) Virtual scene zooming method and device, storage medium and electronic equipment
KR20180048098A (en) Electronic device providing information of battery and method of operating the same
WO2018213118A1 (en) Management of a therapeutic oxygen delivery system

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
GR01 Patent grant
GR01 Patent grant