CN110401773B - Screen state control method and related device - Google Patents

Screen state control method and related device Download PDF

Info

Publication number
CN110401773B
CN110401773B CN201910662556.XA CN201910662556A CN110401773B CN 110401773 B CN110401773 B CN 110401773B CN 201910662556 A CN201910662556 A CN 201910662556A CN 110401773 B CN110401773 B CN 110401773B
Authority
CN
China
Prior art keywords
screen
preset
state
value
self
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
CN201910662556.XA
Other languages
Chinese (zh)
Other versions
CN110401773A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910662556.XA priority Critical patent/CN110401773B/en
Publication of CN110401773A publication Critical patent/CN110401773A/en
Application granted granted Critical
Publication of CN110401773B publication Critical patent/CN110401773B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a screen state control method and a related device, which are applied to a mobile terminal, wherein the method comprises the following steps: in the process of processing a first call event, acquiring detection result data of a preset type parameter of the mobile terminal, wherein the preset type parameter comprises: the contact ratio of the self-contained data of the screen to the screen; evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data, and determining a state control strategy of the screen according to a result obtained by the evaluation; and controlling the state of the screen according to the state control strategy. By the embodiment of the application, the control requirement of the mobile terminal for the screen can be met, and the user experience and the intelligence of the mobile terminal are improved.

Description

Screen state control method and related device
Technical Field
The application relates to the technical field of mobile terminals, in particular to a screen state control method and a related device.
Background
At present, mobile terminal (like the cell-phone) is usually at the upper portion of display screen and set up distance sensor in the certain limit apart from the earphone for the user is in the in-process of answering a call, when being close to the earphone of cell-phone ear, distance sensor can effectually determine the degree that the display screen of current cell-phone is close to the human body, when the display screen of cell-phone and human distance are less than the certain distance, the screen of timely closing the cell-phone plays the power saving and avoids the mistake to touch the effect.
Disclosure of Invention
The embodiment of the application provides a screen state control method and a related device, which are beneficial to meeting the control requirement of a mobile terminal for a screen and improving the user experience and the intelligence of the mobile terminal.
In a first aspect, an embodiment of the present application provides a method for controlling a screen state, which is applied to a mobile terminal, and the method includes:
in the process of processing a first call event, acquiring detection result data of a preset type parameter of the mobile terminal, wherein the preset type parameter comprises: the contact ratio of the self-contained data of the screen to the screen;
evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data, and determining a state control strategy of the screen according to a result obtained by the evaluation;
and controlling the state of the screen according to the state control strategy.
In a second aspect, an embodiment of the present application provides a control device for a screen state, which is applied to a mobile terminal, and includes a processing unit and a communication unit, wherein,
the processing unit is configured to, during processing of a first call event, acquire detection result data of a preset type parameter of the mobile terminal through the communication unit, where the preset type parameter includes: the contact ratio of the self-contained data of the screen to the screen; the state control module is used for evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data and determining a state control strategy of the screen according to a result obtained by the evaluation; and for controlling the state of the screen in accordance with the state control policy.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
In the embodiment of the application, in the process of processing the first call event, the mobile terminal firstly obtains the detection result data of the preset type parameter of the mobile terminal, secondly evaluates the detection result data according to the preset evaluation strategy corresponding to the detection result data, and determines the state control strategy of the screen according to the result obtained by the evaluation; and finally, controlling the state of the screen according to the state control strategy. Wherein the preset type parameters include: the self-contained data of the screen is in contact with the screen. Therefore, in the embodiment of the application, the mobile terminal can adopt different control strategies according to the self-contained data of the screen and the contact proportion of the screen, and then control the state of the screen according to different control strategies, so that the control requirement of the mobile terminal on the screen in a conversation scene is met, and the intelligence of the mobile terminal is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 2A is a schematic flowchart of a method for controlling a screen state according to an embodiment of the present application;
fig. 2B is a schematic diagram illustrating an example of determining an angle of a mobile terminal with respect to a horizontal plane according to the present application;
fig. 2C is a schematic diagram of a reference motion trajectory formed according to an embodiment of the present application;
fig. 2D is an exploded schematic view of a reference motion trajectory according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating another method for controlling screen status according to an embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating another method for controlling screen status according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 6 is a block diagram of functional units of a control device of a screen state according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Mobile terminals may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth, having wireless communication capabilities. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a mobile terminal 100 according to an embodiment of the present disclosure, as shown in the figure, a front surface of the mobile terminal 100 includes a display screen 101, and a sensor 102 is disposed inside the mobile terminal 100; the sensor 102 may include: the device comprises a geomagnetic induction sensor, a gyroscope sensor, a gravity induction sensor and an acceleration sensor. In the using process of the mobile terminal 100, the state of the mobile terminal 100 (including the angle and the motion trajectory of the mobile terminal relative to the horizontal plane) can be determined according to the data detected by the sensor 102, so that when the mobile terminal 100 is in a call state, whether the current mobile terminal 100 is close to the face is judged according to the angle and the motion trajectory, and the state of the screen of the mobile terminal 100 is set to be a screen-off state under the condition that the mobile terminal 100 is close to the face is judged, so as to achieve the purposes of saving power and preventing mistaken touch.
Referring to fig. 2A, fig. 2A is a flowchart illustrating a method for controlling a screen state according to an embodiment of the present application, and is applied to a mobile terminal. As shown in the figure, the control method of the screen state includes:
step 201, in the process of processing a first call event, a mobile terminal acquires detection result data of a preset type parameter of the mobile terminal.
Wherein the preset type parameters include: the self-contained data of the screen is in contact with the screen.
The screen of the mobile terminal is provided with a conductive glass layer, an electrode array is arranged in the conductive glass layer, the electrode array is provided with an emitter and a receiver, and the capacitance of the emitter and the receiver to the ground is called self-capacitance. When the screen of the mobile terminal is close to a human body, the self-capacitance can be increased; when the mobile terminal is far away from the human body, the self-capacitance is reduced.
The contact occupation ratio is the ratio of the touch area in the screen to the area of the whole screen. The touch area refers to an area formed by N touch points of a display screen of the electronic equipment in a touch state; when detecting that the N touch points are in the touch state, the specific calculation formula is as follows: the touch area is equal to Nx the area corresponding to each touch point; the area corresponding to each touch point is an area value preset according to the actual condition of the electronic equipment.
And 202, the mobile terminal evaluates the detection result data according to a preset evaluation strategy corresponding to the detection result data, and determines a state control strategy of the screen according to a result obtained by the evaluation.
The mobile terminal can preset various state control strategies, and adopts different state control strategies according to the self-contained data and the contact ratio of the screen so as to flexibly control the state of the screen according to specific conditions.
And 203, the mobile terminal controls the state of the screen according to the state control strategy.
The state of the screen comprises a screen-off state and a screen-on state. After the mobile terminal adopts a screen state control strategy, executing detection steps included in the screen state control strategy to further detect, judging the proximity degree of the mobile terminal and the face according to a detection result, setting the screen state to be a screen off state when the proximity degree of the mobile terminal and the face meets a preset condition, and setting the screen state to be a screen bright state when the proximity degree of the mobile terminal and the face does not meet the preset condition.
In the embodiment of the application, in the process of processing the first call event, the mobile terminal firstly obtains the detection result data of the preset type parameter of the mobile terminal, secondly evaluates the detection result data according to the preset evaluation strategy corresponding to the detection result data, and determines the state control strategy of the screen according to the result obtained by the evaluation; and finally, controlling the state of the screen according to the state control strategy. Wherein the preset type parameters include: the self-contained data of the screen and the contact proportion of the screen are compared, and therefore the mobile terminal can adopt different control strategies according to the self-contained data of the screen and the contact proportion of the screen in the embodiment of the application, the state of the screen is controlled according to different control strategies, the control requirement of the mobile terminal for the screen in a conversation scene is met, and the intelligence of the mobile terminal is improved.
In one possible example, the detection result data includes self-contained data of the screen and a contact proportion of the screen; the evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data and determining the state control strategy of the screen according to a result obtained by the evaluating, including: judging whether the self-contained data meets a first preset condition or not and judging whether the contact proportion is larger than or equal to a preset proportion or not; if the self-contained data is judged to meet a first preset condition or the contact proportion is judged to be larger than or equal to a preset proportion, determining the state control strategy of the screen to be a first preset control strategy; otherwise, determining that the state control strategy of the screen is a second preset control strategy, wherein the second preset control strategy is different from the first preset control strategy.
Since the self-contained data meets the first preset condition (the mobile terminal can be considered to be close to the face), or the contact proportion is larger than or equal to the preset proportion (the screen with a large area can be considered to be attached to the face), the possibility that the current mobile terminal is close to the face is high, the detection steps of the first preset control strategy are fewer than those of the second preset control strategy, and the detection standard is low.
For example, the first preset control policy may be detecting a gesture of the mobile terminal, determining that the mobile terminal is closer to a human face when the gesture of the mobile terminal meets a condition, and setting the screen to be in an off-screen state, otherwise, setting the screen to be in an on-screen state. The second preset control strategy can be to detect the gesture and the motion track of the mobile terminal, set the screen to be in a screen-off state under the condition that both the gesture and the motion track meet the conditions, and otherwise, set the screen to be in a screen-on state.
Therefore, in the example, the mobile terminal can perform pre-judgment according to the self-contained data and the contact proportion, and when the possibility that the screen is close to the face is judged to be high, a screen control strategy comprising simpler detection steps is adopted, so that the sensitivity of state control for the screen is improved; when the possibility that the screen is close to the face is judged to be low, a screen control strategy comprising multiple detection steps is adopted so as to improve the accuracy of state control aiming at the screen; the intelligence of the electronic equipment is improved.
In one possible example, the first preset control strategy comprises the steps of: detecting a first angle value of the mobile terminal relative to a horizontal plane; judging whether the first angle value is within a preset angle value range or not; if so, setting the state of the screen as a screen-off state; and if not, setting the screen state as a bright screen state.
As shown in fig. 2B, fig. 2B is a schematic diagram for determining an angle of a mobile terminal with respect to a horizontal plane according to an embodiment of the present application; the mobile terminal can establish a plane rectangular coordinate system on a plane where a screen is located, and determine an angle X degree of an X axis relative to the gravity direction and an angle Y degree of a Y axis relative to the gravity direction according to data of a sensor (at least one of a gravity sensing sensor, a geomagnetic sensing sensor, a gyroscope sensor and an acceleration sensor); judging whether the X degree and the Y degree are both in a preset angle range; if so, setting the screen state as a bright screen state; otherwise, setting the state of the screen as a screen-off state; for example, the predetermined angle range may be 45 ° to 135 °; setting the state of the screen to a bright screen state when both X ° and Y ° are between 45 ° and 135 °; when at least one of X DEG and Y DEG is between 0 DEG and 45 DEG or 135 DEG and 180 DEG, the state of the screen is set to a screen-off state.
Therefore, in the example, the mobile terminal can predict whether the mobile terminal is close to the face of the user according to the angle of the mobile terminal relative to the horizontal plane, so that the state of the screen is controlled, and the intelligence of the mobile terminal is improved.
In one possible example, the self-capacitance data includes a self-capacitance value of at least one emitter and a self-capacitance value of at least one receiver of the screen, and the determining that the self-capacitance data satisfies a first preset condition includes: calculating an average value of the self-capacitance value of the at least one emitter and the self-capacitance value of the at least one receiver to obtain a first average value corresponding to the at least one emitter and a second average value corresponding to the at least one receiver; and if the first average value is judged to be larger than or equal to a first preset value and the second average value is judged to be larger than or equal to a second preset value, determining that the self-contained data meets the first preset condition.
The screen of the mobile terminal is provided with conductive glass, the conductive glass is provided with transverse and longitudinal electrode arrays, and two ends of each electrode array are respectively provided with an emitter and a receiver; the capacitance of the transmitter to ground and the capacitance of the receiver to ground may both be referred to as self-capacitance.
When the screen of the mobile terminal is close to a human body, the self-capacitance values of an emitter and a receiver of the screen are increased; when the screen of the mobile terminal is far away from the human body, the self-capacitance values of the emitter and the receiver of the screen are reduced.
The first preset value and the second preset value may be equal or unequal.
Therefore, in this example, the mobile terminal may calculate an average value of the self-capacitance values of the at least one emitter and the at least one receiver of the screen, and determine whether the self-capacitance data meets a preset condition according to the average value, so as to pre-determine a distance between the mobile terminal and a human body, and further adopt different state control strategies for the screen.
In one possible example, the second preset control strategy comprises the following steps: determining an increment value of the self-contained data within a first preset time before the current time point; judging whether the increment value is larger than a preset increment threshold value or not; if so, detecting a second angle value of the mobile terminal relative to a horizontal plane, and if the second angle value is judged to be within a preset angle value range, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; if not, detecting the second angle value of the mobile terminal relative to a horizontal plane and a reference motion track of the mobile terminal, and if the second angle value is within a preset angle value range and the reference motion track is a preset motion track, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; the reference motion track is a motion track detected within a second preset time before the current time point.
The increment value of the self-capacitance data can be an increment value of an average value of self-capacitance values of at least one emitter or an increment value of an average value of self-capacitance values of at least one receiver; the method for judging whether the increment value is larger than the preset increment threshold value may be: when the increment value of the average value of the self-capacitance values of the at least one emitter and the increment value of the average value of the self-capacitance values of the at least one receiver are both larger than a preset increment threshold, determining that the increment value is larger than the preset increment threshold; otherwise, determining that the increment value is smaller than or equal to a preset increment threshold value.
Because the user can quickly press the mobile terminal close to the ear in the process of making and receiving calls, the mobile terminal is as close to the human body quickly as possible, and the self-capacitance value of the screen of the mobile terminal can be increased quickly; therefore, in this example, the mobile terminal determines the probability that the mobile terminal is close to the face according to the incremental value of the self-content data within the preset time, and if the mobile terminal determines that the probability that the mobile terminal is close to the face is higher, the angle is further detected; if the mobile terminal judges that the probability of being close to the face is low, further carrying out double detection of the angle and the reference motion track; and controlling the state of the screen according to the detection result.
Referring to fig. 2C, fig. 2C is a schematic diagram illustrating a reference motion trajectory according to an embodiment of the present disclosure; when the mobile terminal processes the first call event, the user would approach the mobile terminal to the ear of the user under normal conditions, so a reference motion track with certain characteristics would be formed, the mobile terminal detects the reference motion track, performs analysis, and determines whether the motion track is a preset motion track (having track characteristics of receiving and making calls), if so, the possibility that the mobile terminal is approaching the face is high, and if not, the possibility that the mobile terminal is approaching the face is low.
Specifically, referring to fig. 2D, fig. 2D is an exploded schematic view of a reference motion trajectory according to an embodiment of the present application, and as shown in the figure, the mobile terminal may be based on a sensor (at least one of the following sensors: a geomagnetic sensor and a gyroscope)Instrument sensor, gravity sensor and acceleration sensor), and decomposes the reference motion trajectory into a horizontal component and a vertical component, the total displacement of the horizontal component being x1Total displacement of the vertical component is y1Total displacement x of horizontal component1Is divided into N intervals, and each interval is equal to a preset distance x2Determining each interval x2Distance of corresponding vertical component, as shown, x in the first interval2The corresponding vertical component has a distance y2X in the second interval2The corresponding vertical component has a distance y3X in the third interval2The corresponding vertical component has a distance y4. Since the user usually makes a lifting gesture during the process of making and receiving calls, the formed reference motion track is arc-shaped, so that the vertical distance is gradually reduced under the condition of constant horizontal distance, and y2>y3>y4(ii) a Therefore, when the mobile terminal detects that the vertical component gradually decreases, the reference motion track of the mobile terminal can be determined as the preset motion track.
Optionally, the mobile terminal may obtain a database of the preset motion trajectory from the cloud, and in the process of processing the call event, the mobile terminal may match the reference motion trajectory with the motion trajectory in the database, and if a similar motion trajectory is matched according to a preset matching criterion, the reference motion trajectory may be determined to be the preset motion trajectory.
Therefore, in this example, the mobile terminal may perform pre-determination according to the incremental value of the self-contained data, and further perform angle detection to improve the sensitivity of screen control when it is determined that the possibility of approaching a human face is high; under the condition that the possibility of being close to the human face is low, the detection of the angle and the movement track is further carried out, so that the accuracy of screen control is improved, and the intelligence of the mobile terminal is improved.
In one possible example, the preset type parameter further includes voice data, the detection result data includes first voice data in the first call event process, the state of the screen includes a screen-off state and a screen-on state, and the controlling the state of the screen according to the state control policy includes: recognizing voice information of a preset target user in the first voice data; determining a decibel value of the voice information in a third preset time before the current time point; and controlling the state of the screen according to the decibel value.
When the mobile terminal is close to the face, the decibel value of the voice of the user acquired by the microphone is increased; when the mobile terminal is far away from the face of a person, the decibel value of the voice of the user acquired by the microphone is reduced.
Therefore, in this example, the mobile terminal can prejudge whether the mobile terminal is close to the face according to the decibel value of the sound of the user in the acquired voice data, so as to control the state of the screen of the mobile terminal, and improve the flexibility of controlling the screen and the intelligence of the mobile terminal.
In one possible example, the controlling the state of the screen according to the decibel value includes: determining a variation trend of the decibel value and a decibel difference value, wherein the decibel difference value is a difference value between a decibel value of the end point of the third time length and a decibel value of the start point of the third time length; if the change trend is judged to be a preset trend, and the decibel difference value is larger than or equal to a preset numerical value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
Wherein the preset trend is a gradually increasing trend.
Therefore, in the example, the mobile terminal can judge the degree of the mobile terminal being close to the face according to the trend of the decibel value and the decibel difference value between different time points, so that the state of the screen is controlled, and the intelligence of the mobile terminal is improved.
In one possible example, the controlling the state of the screen according to the decibel value includes: determining the variation trend of the decibel value and a first decibel value corresponding to the voice information at the current time point; if the change trend is judged to be a preset trend, and the first decibel value is greater than or equal to a preset decibel threshold value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
The mobile terminal can determine the average value of the decibel values of the user in the conversation process through the historical conversation information, and set the average value as a preset decibel value. Or, the user can simulate the call state in advance, record when the mobile terminal is close to the face, and set the average value of the decibel values of the whole recording process as a preset decibel value.
Therefore, in the example, the mobile terminal can judge the degree of the mobile terminal approaching the face according to the trend of the decibel value and the decibel value of the current point, so that the state of the screen is controlled, and the intelligence of the mobile terminal is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for controlling a screen state according to an embodiment of the present application, and the method is applied to a mobile terminal. As shown in the figure, the control method of the screen state includes:
step 301, in the process of processing a first call event, a mobile terminal acquires detection result data of a preset type parameter of the mobile terminal.
The preset type parameters comprise self-contained data of the screen and contact proportion of the screen.
Step 302, the mobile terminal judges whether the self-contained data meets a first preset condition and whether the contact proportion is larger than or equal to a preset proportion.
Step 303, if the mobile terminal determines that the self-contained data meets a first preset condition or the mobile terminal determines that the contact proportion is greater than or equal to a preset proportion, determining that the state control strategy of the screen is a first preset control strategy; otherwise, determining that the state control strategy of the screen is a second preset control strategy, wherein the second preset control strategy is different from the first preset control strategy.
And step 304, the mobile terminal controls the state of the screen according to the state control strategy.
It can be seen that, in the embodiment of the application, in the process of processing the first call event, the mobile terminal firstly obtains the detection result data of the preset type parameter of the mobile terminal, and secondly determines the state control strategy of the screen according to the detection result data; and finally, controlling the state of the screen according to the state control strategy. Wherein the detection result data of the preset type parameters comprises at least one of the following data: the self-contained data of the screen of the mobile terminal and the contact proportion of the screen are clear, and therefore in the embodiment of the application, the mobile terminal can adopt different control strategies according to the self-contained data of the screen and the contact proportion of the screen, and further controls the state of the screen according to different control strategies, the control requirement of the mobile terminal for the screen in a conversation scene is met, and the intelligence of the mobile terminal is improved.
In addition, the mobile terminal can perform pre-judgment according to the self-contained data and the contact proportion, and when the possibility that the screen is close to the human face is judged to be high, a screen control strategy comprising simpler detection steps is adopted, so that the sensitivity of state control aiming at the screen is improved; when the possibility that the screen is close to the face is judged to be low, a screen control strategy comprising multiple detection steps is adopted so as to improve the accuracy of state control aiming at the screen; the intelligence of the electronic equipment is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for controlling a screen state according to an embodiment of the present application, and is applied to a mobile terminal, consistent with the embodiments shown in fig. 2A and fig. 3. As shown in the figure, the control method of the screen state includes:
step 401, in the process of processing a first call event, a mobile terminal acquires detection result data of a preset type parameter of the mobile terminal.
Wherein the preset type parameters comprise self-contained data of the screen and contact proportion of the screen
Step 402, the mobile terminal determines the state control strategy of the screen to be a second preset control strategy according to the detection result data.
Step 403, the mobile terminal determines an increment value of the self-contained data within a first preset time period before the current time point.
In step 404, the mobile terminal determines whether the increment value is greater than a preset increment threshold.
Step 405, if yes, detecting a second angle value of the mobile terminal relative to a horizontal plane, and if the second angle value is judged to be within a preset angle value range, setting the screen state as the screen off state; otherwise, setting the state of the screen as the bright screen state.
Step 406, if not, detecting the second angle value of the mobile terminal relative to a horizontal plane and a reference motion track of the mobile terminal, and if the second angle value is determined to be within a preset angle value range and the reference motion track is a preset motion track, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; the reference motion track is a motion track detected within a second preset time before the current time point.
It can be seen that, in the embodiment of the application, in the process of processing the first call event, the mobile terminal firstly obtains the detection result data of the preset type parameter of the mobile terminal, and secondly determines the state control strategy of the screen according to the detection result data; and finally, controlling the state of the screen according to the state control strategy. Wherein the detection result data of the preset type parameters comprises at least one of the following data: the self-contained data of the screen of the mobile terminal and the contact proportion of the screen are clear, and therefore in the embodiment of the application, the mobile terminal can adopt different control strategies according to the self-contained data of the screen and the contact proportion of the screen, and further controls the state of the screen according to different control strategies, the control requirement of the mobile terminal for the screen in a conversation scene is met, and the intelligence of the mobile terminal is improved.
In addition, the mobile terminal can perform pre-judgment according to the incremental value of the self-contained data, and further perform angle detection under the condition that the possibility of approaching the human face is judged to be high, so that the sensitivity of screen control is improved; under the condition that the possibility of being close to the human face is low, the detection of the angle and the movement track is further carried out, so that the accuracy of screen control is improved, and the intelligence of the mobile terminal is improved.
Consistent with the embodiments shown in fig. 2A, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a mobile terminal 500 according to an embodiment of the present application, as shown in the figure, the mobile terminal 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for performing the following steps;
in the process of processing a first call event, acquiring detection result data of a preset type parameter of the mobile terminal, wherein the preset type parameter comprises: the contact ratio of the self-contained data of the screen to the screen;
evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data, and determining a state control strategy of the screen according to a result obtained by the evaluation;
and controlling the state of the screen according to the state control strategy.
In the embodiment of the application, in the process of processing the first call event, the mobile terminal firstly obtains the detection result data of the preset type parameter of the mobile terminal, secondly evaluates the detection result data according to the preset evaluation strategy corresponding to the detection result data, and determines the state control strategy of the screen according to the result obtained by the evaluation; and finally, controlling the state of the screen according to the state control strategy. Therefore, in the embodiment of the application, the mobile terminal can adopt different control strategies according to the self-contained data of the screen and the contact proportion of the screen, and then control the state of the screen according to different control strategies, so that the control requirement of the mobile terminal on the screen in a conversation scene is met, and the intelligence of the mobile terminal is improved.
In one possible example, the detection result data of the preset type parameter includes self-contained data of the screen and a contact proportion of the screen; in terms of evaluating the detection result data according to a preset evaluation policy corresponding to the detection result data and determining a state control policy of the screen according to a result obtained by the evaluation, the instructions in the program are specifically configured to perform the following operations: judging whether the self-contained data meets a first preset condition or not and judging whether the contact proportion is larger than or equal to a preset proportion or not; if the self-contained data is judged to meet a first preset condition or the contact proportion is judged to be larger than or equal to a preset proportion, determining the state control strategy of the screen to be a first preset control strategy; otherwise, determining that the state control strategy of the screen is a second preset control strategy, wherein the second preset control strategy is different from the first preset control strategy.
In one possible example, in terms of executing the first preset control strategy, the instructions in the program are specifically configured to: detecting a first angle value of the mobile terminal relative to a horizontal plane; judging whether the first angle value is within a preset angle value range or not; if so, setting the state of the screen as a screen-off state; and if not, setting the screen state as a bright screen state.
In one possible example, the self-capacitance data includes a self-capacitance value of at least one emitter and a self-capacitance value of at least one receiver of the screen, and in terms of the determination that the self-capacitance data satisfies the first preset condition, the instructions in the program are specifically configured to perform the following operations: calculating an average value of the self-capacitance value of the at least one emitter and the self-capacitance value of the at least one receiver to obtain a first average value corresponding to the at least one emitter and a second average value corresponding to the at least one receiver; and if the first average value is judged to be larger than or equal to a first preset value and the second average value is judged to be larger than or equal to a second preset value, determining that the self-contained data meets the first preset condition.
In one possible example, in terms of executing the second preset control strategy, the instructions in the program are specifically configured to: determining an increment value of the self-contained data within a first preset time before the current time point; judging whether the increment value is larger than a preset increment threshold value or not; if so, detecting a second angle value of the mobile terminal relative to a horizontal plane, and if the second angle value is judged to be within a preset angle value range, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; if not, detecting the second angle value of the mobile terminal relative to a horizontal plane and a reference motion track of the mobile terminal, and if the second angle value is within a preset angle value range and the reference motion track is a preset motion track, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; the reference motion track is a motion track detected within a second preset time before the current time point.
In one possible example, the preset type parameter further includes voice data, the detection result data includes first voice data in the first call event process, the state of the screen includes a screen-off state and a screen-on state, and in terms of controlling the state of the screen according to the state control policy, the instructions in the program are specifically configured to perform the following operations: recognizing voice information of a preset target user in the first voice data; determining a decibel value of the voice information in a third preset time before the current time point; and controlling the state of the screen according to the decibel value.
In one possible example, in the aspect of controlling the state of the screen according to the decibel value, the instructions in the program are specifically configured to perform the following operations: determining a variation trend of the decibel value and a decibel difference value, wherein the decibel difference value is a difference value between a decibel value of the end point of the third time length and a decibel value of the start point of the third time length; if the change trend is judged to be a preset trend, and the decibel difference value is larger than or equal to a preset numerical value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
In one possible example, in the aspect of controlling the state of the screen according to the decibel value, the instructions in the program are specifically configured to perform the following operations: determining the variation trend of the decibel value and a first decibel value corresponding to the voice information at the current time point; if the change trend is judged to be a preset trend, and the first decibel value is greater than or equal to a preset decibel threshold value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one control unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of a control device 600 of a screen state according to an embodiment of the present application. The control device 600 of the screen state is applied to the mobile terminal, and the control device 600 of the screen state comprises a processing unit 601 and a communication unit 602, wherein:
the processing unit 601 is configured to, in the process of processing the first call event, obtain detection result data of a preset type parameter of the mobile terminal through the communication unit 602, where the preset type parameter includes: the contact ratio of the self-contained data of the screen to the screen; and a state control strategy for determining the screen according to the detection result data; and for controlling the state of the screen in accordance with the state control policy.
The control device 600 of the screen state may further include a storage unit 603, and the storage unit 603 is used for storing program codes and data of the electronic device. The processing unit 601 may be a processor, the communication unit 602 may be a touch display screen or a transceiver, and the storage unit 603 may be a memory.
In the embodiment of the application, in the process of processing the first call event, the mobile terminal firstly obtains the detection result data of the preset type parameter of the mobile terminal, secondly evaluates the detection result data according to the preset evaluation strategy corresponding to the detection result data, and determines the state control strategy of the screen according to the result obtained by the evaluation; and finally, controlling the state of the screen according to the state control strategy. Therefore, in the embodiment of the application, the mobile terminal can adopt different control strategies according to the self-contained data of the screen and the contact proportion of the screen, and then control the state of the screen according to different control strategies, so that the control requirement of the mobile terminal on the screen in a conversation scene is met, and the intelligence of the mobile terminal is improved.
In one possible example, the detection result data of the preset type parameter includes self-contained data of the screen and a contact proportion of the screen; in terms of evaluating the detection result data according to a preset evaluation policy corresponding to the detection result data and determining a state control policy of the screen according to a result obtained by the evaluation, the processing unit 601 is specifically configured to: judging whether the self-contained data meets a first preset condition or not and judging whether the contact proportion is larger than or equal to a preset proportion or not; if the self-contained data is judged to meet a first preset condition or the contact proportion is judged to be larger than or equal to a preset proportion, determining the state control strategy of the screen to be a first preset control strategy; otherwise, determining that the state control strategy of the screen is a second preset control strategy, wherein the second preset control strategy is different from the first preset control strategy.
In one possible example, in terms of executing the first preset control strategy, the processing unit 601 is specifically configured to: detecting a first angle value of the mobile terminal relative to a horizontal plane; judging whether the first angle value is within a preset angle value range or not; if so, setting the state of the screen as a screen-off state; and if not, setting the screen state as a bright screen state.
In a possible example, the self-capacitance data includes a self-capacitance value of at least one emitter and a self-capacitance value of at least one receiver of the screen, and in terms of the determination that the self-capacitance data satisfies the first preset condition, the processing unit 601 is specifically configured to: calculating an average value of the self-capacitance value of the at least one emitter and the self-capacitance value of the at least one receiver to obtain a first average value corresponding to the at least one emitter and a second average value corresponding to the at least one receiver; and if the first average value is judged to be larger than or equal to a first preset value and the second average value is judged to be larger than or equal to a second preset value, determining that the self-contained data meets the first preset condition.
In one possible example, in terms of executing the second preset control strategy, the processing unit 601 is specifically configured to: determining an increment value of the self-contained data within a first preset time before the current time point; judging whether the increment value is larger than a preset increment threshold value or not; if so, detecting a second angle value of the mobile terminal relative to a horizontal plane, and if the second angle value is judged to be within a preset angle value range, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; if not, detecting the second angle value of the mobile terminal relative to a horizontal plane and a reference motion track of the mobile terminal, and if the second angle value is within a preset angle value range and the reference motion track is a preset motion track, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; the reference motion track is a motion track detected within a second preset time before the current time point.
In a possible example, the preset type parameter further includes voice data, the detection result data includes first voice data in the first call event process, the state of the screen includes a screen-off state and a screen-on state, and in terms of controlling the state of the screen according to the state control policy, the processing unit 601 is specifically configured to: recognizing voice information of a preset target user in the first voice data; determining a decibel value of the voice information in a third preset time before the current time point; and controlling the state of the screen according to the decibel value.
In a possible example, in terms of the controlling the state of the screen according to the decibel value, the processing unit 601 is specifically configured to: determining a variation trend of the decibel value and a decibel difference value, wherein the decibel difference value is a difference value between a decibel value of the end point of the third time length and a decibel value of the start point of the third time length; if the change trend is judged to be a preset trend, and the decibel difference value is larger than or equal to a preset numerical value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
In a possible example, in terms of the controlling the state of the screen according to the decibel value, the processing unit 601 is specifically configured to: determining the variation trend of the decibel value and a first decibel value corresponding to the voice information at the current time point; if the change trend is judged to be a preset trend, and the first decibel value is greater than or equal to a preset decibel threshold value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated into one control unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. A control method of screen state is applied to a mobile terminal, and the method comprises the following steps:
in the process of processing a first call event, acquiring detection result data of a preset type parameter of the mobile terminal, wherein the preset type parameter comprises: the contact ratio of the self-contained data of the screen to the screen;
evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data, and determining a state control strategy of the screen according to a result obtained by the evaluation;
controlling the state of the screen according to the state control strategy;
wherein the detection result data comprises self-contained data of the screen and a contact ratio of the screen; the evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data and determining the state control strategy of the screen according to a result obtained by the evaluating, including:
judging whether the self-contained data meets a first preset condition or not and judging whether the contact proportion is larger than or equal to a preset proportion or not;
if the self-contained data meets a first preset condition or the contact proportion is larger than or equal to a preset proportion, determining the state control strategy of the screen as a first preset control strategy;
otherwise, determining the state control strategy of the screen as a second preset control strategy;
wherein the first preset control strategy comprises the steps of:
detecting a first angle value of the mobile terminal relative to a horizontal plane;
judging whether the first angle value is within a preset angle value range or not;
if so, setting the state of the screen as a screen-off state;
if not, setting the screen state as a bright screen state;
wherein, the self-capacitance data includes a self-capacitance value of at least one emitter and a self-capacitance value of at least one receiver of the screen, and the determining that the self-capacitance data satisfies a first preset condition includes:
calculating an average value of the self-capacitance value of the at least one emitter and the self-capacitance value of the at least one receiver to obtain a first average value corresponding to the at least one emitter and a second average value corresponding to the at least one receiver;
and if the first average value is judged to be larger than or equal to a first preset value and the second average value is judged to be larger than or equal to a second preset value, determining that the self-contained data meets the first preset condition.
2. The method according to claim 1, characterized in that said second preset control strategy comprises the steps of:
determining an increment value of the self-contained data within a first preset time before the current time point;
judging whether the increment value is larger than a preset increment threshold value or not;
if so, detecting a second angle value of the mobile terminal relative to a horizontal plane, and if the second angle value is judged to be within a preset angle value range, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state;
if not, detecting the second angle value of the mobile terminal relative to a horizontal plane and a reference motion track of the mobile terminal, and if the second angle value is within a preset angle value range and the reference motion track is a preset motion track, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; the reference motion track is a motion track detected within a second preset time before the current time point.
3. The method according to claim 1, wherein the preset type parameter further includes voice data, the detection result data includes first voice data during the first call event, the state of the screen includes an off-screen state and an on-screen state, and the controlling the state of the screen according to the state control policy includes:
recognizing voice information of a preset target user in the first voice data;
determining a decibel value of the voice information in a third preset time before the current time point;
and controlling the state of the screen according to the decibel value.
4. The method of claim 3, wherein the controlling the state of the screen according to the decibel value comprises:
determining a variation trend of the decibel value and a decibel difference value, wherein the decibel difference value is a difference value between a decibel value of an end point of the third preset time length and a decibel value of a start point of the third preset time length;
if the change trend is judged to be a preset trend, and the decibel difference value is larger than or equal to a preset numerical value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
5. The method of claim 3, wherein the controlling the state of the screen according to the decibel value comprises:
determining the variation trend of the decibel value and a first decibel value corresponding to the voice information at the current time point;
if the change trend is judged to be a preset trend, and the first decibel value is greater than or equal to a preset decibel threshold value; and setting the state of the screen as the screen-off state, otherwise, setting the state of the screen as the screen-on state.
6. A control method of screen state is applied to a mobile terminal, and the method comprises the following steps:
in the process of processing a first call event, acquiring detection result data of a preset type parameter of the mobile terminal, wherein the preset type parameter comprises: the contact ratio of the self-contained data of the screen to the screen;
evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data, and determining a state control strategy of the screen according to a result obtained by the evaluation;
controlling the state of the screen according to the state control strategy;
wherein the detection result data comprises self-contained data of the screen and a contact ratio of the screen; the evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data and determining the state control strategy of the screen according to a result obtained by the evaluating, including:
judging whether the self-contained data meets a first preset condition or not and judging whether the contact proportion is larger than or equal to a preset proportion or not;
if the self-contained data meets a first preset condition or the contact proportion is larger than or equal to a preset proportion, determining the state control strategy of the screen as a first preset control strategy;
otherwise, determining the state control strategy of the screen as a second preset control strategy;
wherein, the self-capacitance data includes a self-capacitance value of at least one emitter and a self-capacitance value of at least one receiver of the screen, and the determining that the self-capacitance data satisfies a first preset condition includes:
calculating an average value of the self-capacitance value of the at least one emitter and the self-capacitance value of the at least one receiver to obtain a first average value corresponding to the at least one emitter and a second average value corresponding to the at least one receiver;
if the first average value is judged to be larger than or equal to a first preset value and the second average value is judged to be larger than or equal to a second preset value, determining that the self-contained data meets the first preset condition;
wherein the second preset control strategy comprises the steps of:
determining an increment value of the self-contained data within a first preset time before the current time point;
judging whether the increment value is larger than a preset increment threshold value or not;
if so, detecting a second angle value of the mobile terminal relative to a horizontal plane, and if the second angle value is judged to be within a preset angle value range, setting the state of the screen to be a screen off state; otherwise, setting the state of the screen as a bright screen state;
if not, detecting the second angle value of the mobile terminal relative to a horizontal plane and a reference motion track of the mobile terminal, and if the second angle value is within a preset angle value range and the reference motion track is a preset motion track, setting the state of the screen to be the screen-off state; otherwise, setting the state of the screen as the bright screen state; the reference motion track is a motion track detected within a second preset time before the current time point.
7. A control device of screen state is applied to a mobile terminal, and comprises a processing unit and a communication unit, wherein,
the processing unit is configured to, during processing of a first call event, acquire detection result data of a preset type parameter of the mobile terminal through the communication unit, where the preset type parameter includes: the contact ratio of the self-contained data of the screen to the screen; the state control module is used for evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data and determining a state control strategy of the screen according to a result obtained by the evaluation; and for controlling the state of the screen in accordance with the state control policy;
wherein the detection result data comprises self-contained data of the screen and a contact ratio of the screen; the evaluating the detection result data according to a preset evaluation strategy corresponding to the detection result data and determining the state control strategy of the screen according to a result obtained by the evaluating, including:
judging whether the self-contained data meets a first preset condition or not and judging whether the contact proportion is larger than or equal to a preset proportion or not;
if the self-contained data meets a first preset condition or the contact proportion is larger than or equal to a preset proportion, determining the state control strategy of the screen as a first preset control strategy;
otherwise, determining the state control strategy of the screen as a second preset control strategy;
wherein the first preset control strategy comprises the steps of:
detecting a first angle value of the mobile terminal relative to a horizontal plane;
judging whether the first angle value is within a preset angle value range or not;
if so, setting the state of the screen as a screen-off state;
if not, setting the screen state as a bright screen state;
wherein, the self-capacitance data includes a self-capacitance value of at least one emitter and a self-capacitance value of at least one receiver of the screen, and the determining that the self-capacitance data satisfies a first preset condition includes:
calculating an average value of the self-capacitance value of the at least one emitter and the self-capacitance value of the at least one receiver to obtain a first average value corresponding to the at least one emitter and a second average value corresponding to the at least one receiver;
and if the first average value is judged to be larger than or equal to a first preset value and the second average value is judged to be larger than or equal to a second preset value, determining that the self-contained data meets the first preset condition.
8. A mobile terminal comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN201910662556.XA 2019-07-22 2019-07-22 Screen state control method and related device Active CN110401773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910662556.XA CN110401773B (en) 2019-07-22 2019-07-22 Screen state control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910662556.XA CN110401773B (en) 2019-07-22 2019-07-22 Screen state control method and related device

Publications (2)

Publication Number Publication Date
CN110401773A CN110401773A (en) 2019-11-01
CN110401773B true CN110401773B (en) 2021-03-02

Family

ID=68324858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910662556.XA Active CN110401773B (en) 2019-07-22 2019-07-22 Screen state control method and related device

Country Status (1)

Country Link
CN (1) CN110401773B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113286087B (en) * 2021-05-28 2022-09-02 杭州微影软件有限公司 Screen control method and device and thermal imager
CN115268749B (en) * 2022-07-20 2024-04-09 广州视享科技有限公司 Control method of augmented reality equipment, mobile terminal and shielding prevention system
CN115550504A (en) * 2022-08-08 2022-12-30 赫名迪科技(深圳)有限公司 Screen control method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936993A (en) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 Terminal screen control method and device
CN109840061A (en) * 2019-01-31 2019-06-04 华为技术有限公司 The method and electronic equipment that control screen is shown

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855018A (en) * 2012-07-27 2013-01-02 北京爱格码科技有限责任公司 Method for achieving proximity sensing through touch screen capacitance induction
CN103281439A (en) * 2013-05-08 2013-09-04 上海鼎讯电子有限公司 Method for utilizing TP (touch panel) device for simulating proximity sensor in mobile phone
CN105245715A (en) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 Mobile terminal and screen state control method thereof
AU2016419920B2 (en) * 2016-08-18 2020-02-27 Motorola Solutions, Inc. Portable electronic device and method of controlling a secondary feature
CN106101453A (en) * 2016-08-19 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of method controlling screen and terminal
CN109710142A (en) * 2017-10-25 2019-05-03 华为技术有限公司 A kind of method and terminal for controlling terminal screen light on and off

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936993A (en) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 Terminal screen control method and device
CN109840061A (en) * 2019-01-31 2019-06-04 华为技术有限公司 The method and electronic equipment that control screen is shown

Also Published As

Publication number Publication date
CN110401773A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN110401773B (en) Screen state control method and related device
US11038879B2 (en) Identity authentication method and apparatus, and user equipment
CN108550353B (en) Brightness adjusting method and related product
EP3644219A1 (en) Human face feature point tracking method, device, storage medium and apparatus
CN109905907B (en) Network searching method and mobile terminal
CN110035149B (en) Multi-antenna optimization method and mobile terminal
WO2019015575A1 (en) Unlocking control method and related product
CN109962514B (en) Charging method and mobile terminal
CN110139018B (en) Camera control module, camera movement control method and terminal
EP4096207A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
EP3584741A1 (en) Fingerprint registration method and related product
CN103546617A (en) Voice adjusting method and terminal
CN107784298B (en) Identification method and device
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN111131695A (en) Doorbell control method and related device
CN109101119B (en) Terminal control method and device and mobile terminal
CN106096515A (en) A kind of solution lock control method and terminal unit
CN110198379A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108171182B (en) Electronic device, face recognition method and related product
CN111046742A (en) Eye behavior detection method and device and storage medium
CN108594952B (en) Method for resisting charging interference and terminal equipment
CN108769364B (en) Call control method, device, mobile terminal and computer readable medium
CN110800277A (en) Call processing method and related product
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN108400994B (en) User authentication method, mobile terminal, server, and computer-readable storage medium

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