CN108184023B - Screen state control method, mobile terminal and computer readable storage medium - Google Patents

Screen state control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108184023B
CN108184023B CN201711498729.6A CN201711498729A CN108184023B CN 108184023 B CN108184023 B CN 108184023B CN 201711498729 A CN201711498729 A CN 201711498729A CN 108184023 B CN108184023 B CN 108184023B
Authority
CN
China
Prior art keywords
mobile terminal
area
screen
frequency
ultrasonic
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
CN201711498729.6A
Other languages
Chinese (zh)
Other versions
CN108184023A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711498729.6A priority Critical patent/CN108184023B/en
Publication of CN108184023A publication Critical patent/CN108184023A/en
Application granted granted Critical
Publication of CN108184023B publication Critical patent/CN108184023B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

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

Abstract

The invention discloses a screen state control method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: when the mobile terminal is in a call state, acquiring the fundamental frequency of an ultrasonic signal transmitted by an ultrasonic transmitting device of the mobile terminal and acquiring the frequency variation range of the ultrasonic signal received by an ultrasonic receiving device of the mobile terminal; calculating a first area and a second area according to the basic frequency and the frequency variation range; calculating an area sum between the first area and the second area; if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state. The invention realizes that the current state is maintained unchanged and the state of the screen of the mobile terminal is not changed when the mobile terminal has impact or friction, and improves the accuracy of detecting the moving away and approaching of the mobile terminal to the barrier.

Description

Screen state control method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a screen state control method, a mobile terminal, and a computer-readable storage medium.
Background
When a certain user communicates with other users through the mobile terminal, the screen of the mobile terminal is changed from bright to dark when the mobile terminal is close to the ears of the user, and the screen of the mobile terminal is changed from dark to bright when the mobile terminal is far away from the ears of the user. Therefore, when a user brings the mobile terminal close to the ear and communicates with another terminal, the screen of the mobile terminal is in a screen-off state. However, in the process of a call, when a user holds the mobile terminal, the user may change the holding posture, or a finger not originally touching the mobile terminal touches the mobile terminal, etc., which causes friction or impact to the mobile terminal, so that the mobile terminal is away from the user at a moment and approaches the user at a moment, and thus the screen of the mobile terminal may be on and off at a moment. Therefore, the conventional method for detecting the moving away and approaching of the mobile terminal to the obstacle cannot distinguish the moving away and the moving away caused by friction or impact, and has low accuracy.
Disclosure of Invention
The invention mainly aims to provide a screen state control method, a mobile terminal and a computer readable storage medium, and aims to solve the technical problem of low accuracy of the conventional method for detecting the moving of the mobile terminal away from and approaching to an obstacle.
In order to achieve the above object, the present invention provides a screen state control method, including:
when the mobile terminal is in a call state, acquiring the basic frequency of an ultrasonic signal transmitted by an ultrasonic transmitting device of the mobile terminal and acquiring the frequency variation range of the ultrasonic signal received by an ultrasonic receiving device of the mobile terminal;
calculating a first area and a second area according to the basic frequency and the frequency variation range;
calculating an area sum between the first area and the second area;
if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state.
Optionally, the frequency variation range includes an upper limit value and a lower limit value, and the step of calculating the first area according to the base frequency and the frequency variation range includes:
determining an interval corresponding to the frequency variation range according to a relational expression between the basic frequency and the upper limit value and the lower limit value;
and calculating and sending the first area according to the interval and the intensity change curve corresponding to the interval.
Optionally, before the steps of obtaining a fundamental frequency of an ultrasonic signal transmitted by the ultrasonic transmitting device of the mobile terminal and obtaining a frequency variation range of the ultrasonic signal received by the ultrasonic receiving device of the mobile terminal after the mobile terminal is in a call state, the method further includes:
and determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal relative to the obstacle.
Optionally, the preset movement speed includes a minimum movement speed and a maximum movement speed, and the step of determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal relative to the obstacle includes:
determining a lower limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the minimum movement speed and the basic frequency;
and determining the upper limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the maximum movement speed and the basic frequency.
Optionally, after the step of calculating the area sum between the first area and the second area, the method further includes:
if the area sum is larger than or equal to the preset threshold, subtracting the second area from the first area to obtain an area difference between the first area and the second area;
determining the movement trend of the mobile terminal relative to the obstacle according to the area difference;
and controlling the state of the screen of the mobile terminal according to the motion trend.
Optionally, the step of determining a movement tendency of the mobile terminal relative to the obstacle according to the area difference includes:
determining whether the area difference is a positive value or a negative value;
if the area difference is a positive value, determining that the mobile terminal approaches the obstacle;
and if the area difference is a negative value, determining that the mobile terminal is far away from the obstacle.
Optionally, the step of controlling the state of the screen of the mobile terminal according to the motion trend includes:
if the mobile terminal is determined to approach the barrier, controlling the screen of the mobile terminal to be in a screen-off state;
and if the mobile terminal is determined to be far away from the barrier, controlling the screen of the mobile terminal to be in a bright screen state.
Optionally, the ultrasonic wave transmitting device is an earphone of the mobile terminal, and the ultrasonic wave receiving device is a microphone of the mobile terminal.
In addition, to achieve the above object, the present invention also provides a mobile terminal including a memory, a processor, and a screen state control program stored on the memory and executable on the processor, the screen state control program implementing the steps of the screen state control method as described above when executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a screen state control program which, when executed by a processor, implements the steps of the screen state control method as described above.
According to the invention, after the mobile terminal is in a call state, the basic frequency of an ultrasonic signal sent by an ultrasonic sending device of the mobile terminal is obtained, and the frequency change range of the ultrasonic signal received by an ultrasonic receiving device of the mobile terminal is obtained; calculating a first area and a second area according to the basic frequency and the frequency variation range; calculating an area sum between the first area and the second area; if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state. When the mobile terminal has impact or friction, the current state is maintained unchanged, the state of the screen of the mobile terminal is not changed, and the accuracy of detecting the moving away and approaching of the mobile terminal to the barrier is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a screen state control method according to a first embodiment of the present invention;
FIG. 4 is a schematic diagram of a mobile terminal transmitting an ultrasonic signal via an earpiece and receiving an ultrasonic signal via a microphone in an embodiment of the invention;
FIG. 5 is a schematic diagram illustrating the calculation of the first area and the second area according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a screen state control method according to a second embodiment of the present invention;
FIG. 7 is a flowchart illustrating a screen state control method according to a third embodiment of the present invention;
fig. 8 is a schematic diagram illustrating the approach and the departure of the mobile terminal from an obstacle according to an embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some of the components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communication), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution), etc.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert voice data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sound (voice data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sound into voice data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation by a user (e.g., an operation of the user on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, a stylus, etc.) thereon or nearby, and drive a corresponding connection device according to a preset program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch panel transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as voice data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Further, in the mobile terminal 100 shown in fig. 1, the processor 110 is configured to call the screen state control program stored in the memory 109, and perform the following operations:
when the mobile terminal 100 is in a call state, acquiring a fundamental frequency of an ultrasonic signal transmitted by an ultrasonic transmitting device of the mobile terminal 100 and acquiring a frequency variation range of the ultrasonic signal received by an ultrasonic receiving device of the mobile terminal 100;
calculating a first area and a second area according to the basic frequency and the frequency variation range;
calculating an area sum between the first area and the second area;
if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal 100 has impact or friction, and controlling the screen of the mobile terminal 100 to be in the current state.
Further, the frequency variation range includes an upper limit value and a lower limit value, and the step of calculating the first area according to the fundamental frequency and the frequency variation range includes:
determining an interval corresponding to the frequency variation range according to a relational expression between the basic frequency and the upper limit value and the lower limit value;
and calculating and sending the first area according to the interval and the intensity change curve corresponding to the interval.
Further, before the steps of obtaining the fundamental frequency of the ultrasonic wave signal transmitted by the ultrasonic wave transmitting device of the mobile terminal 100 and obtaining the frequency variation range of the ultrasonic wave signal received by the ultrasonic wave receiving device of the mobile terminal 100 after the mobile terminal 100 is in the call state, the processor 110 is further configured to call the screen state control program stored in the memory 109, and perform the following operations:
determining a frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to a preset movement speed of the mobile terminal 100 relative to the obstacle.
Further, the preset movement speed includes a minimum movement speed and a maximum movement speed, and the step of determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal 100 relative to the obstacle includes:
determining a lower limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the minimum movement speed and the basic frequency;
and determining the upper limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the maximum movement speed and the basic frequency.
Further, after the step of calculating the sum of the areas between the first area and the second area, the processor 110 is further configured to call a screen state control program stored in the memory 109, and perform the following operations:
if the area sum is larger than or equal to the preset threshold, subtracting the second area from the first area to obtain an area difference between the first area and the second area;
determining a movement trend of the mobile terminal 100 relative to an obstacle according to the area difference;
and controlling the state of the screen of the mobile terminal 100 according to the motion trend.
Further, the step of determining the movement trend of the mobile terminal 100 relative to the obstacle according to the area difference includes:
determining whether the area difference is a positive value or a negative value;
if the area difference is a positive value, determining that the mobile terminal 100 approaches the obstacle;
if the area difference is a negative value, it is determined that the mobile terminal 100 is far from the obstacle.
Further, the step of controlling the state of the screen of the mobile terminal 100 according to the motion trend includes:
if the mobile terminal 100 is determined to approach the obstacle, controlling the screen of the mobile terminal 100 to be in a screen-off state;
and if the mobile terminal 100 is determined to be far away from the obstacle, controlling the screen of the mobile terminal 100 to be in a bright screen state.
Further, the ultrasonic wave transmitting device is an earphone of the mobile terminal 100, and the ultrasonic wave receiving device is a microphone of the mobile terminal 100.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the mobile terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function unit (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the above terminal hardware structure and communication network system, various embodiments of the screen state control method of the present invention are proposed.
The invention provides a screen state control method.
Referring to fig. 3, fig. 3 is a flowchart illustrating a screen status control method according to a first embodiment of the present invention.
In the present embodiment, an embodiment of a screen state control method is provided, and it should be noted that, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
In this embodiment, the screen status control method is optionally applied to the mobile terminal, and includes:
step S10, after the mobile terminal is in a call state, acquiring a fundamental frequency of the ultrasonic signal transmitted by the ultrasonic transmitting device of the mobile terminal and acquiring a frequency variation range of the ultrasonic signal received by the ultrasonic receiving device of the mobile terminal.
And when the mobile terminal is in a call state, the mobile terminal sends an ultrasonic wave signal through the ultrasonic wave sending device. In the relative motion process of the mobile terminal and the obstacle, the ultrasonic signal sent by the mobile terminal returns after meeting the obstacle and is received by the ultrasonic receiving device of the mobile terminal. When an ultrasonic signal is transmitted by an ultrasonic wave transmitting device, a mobile terminal acquires a fundamental frequency of the ultrasonic signal. When an ultrasonic signal is received by the ultrasonic receiving device, the mobile terminal acquires a frequency change range of the ultrasonic signal. The ultrasonic signal is a sound wave with a frequency greater than 20KHz (kilohertz), so that the frequency of the ultrasonic signal sent out by the ultrasonic sending device is correspondingly a certain frequency greater than 20KHz, such as 40KHz, and the certain frequency greater than 20KHz is the fundamental frequency of the ultrasonic signal sent by the ultrasonic sending device. In the present embodiment, the obstacle may be understood as a mobile terminal user.
In this embodiment, the variation range of the moving speed when most users use the mobile terminal, such as 0.2-20 m/s (meters per second) or 0.085-17 m/s, can be determined through a finite number of tests, that is, the speed range is the speed when most users use the mobile terminal. According to the variation range of the motion speed, the frequency variation range can be determined by the Doppler effect, and in the Doppler effect, the relation between the speed and the frequency is as follows:
Figure BDA0001534792760000111
where f is the frequency of the ultrasonic signal received by the ultrasonic receiving device, f0C is the propagation speed of the ultrasonic signal in the air, is 340m/s, and Δ v is the speed of the obstacle relative to the ultrasonic sound source, i.e., the speed when the user uses the mobile terminal; thereby changing the frequency
Figure RE-GDA0001618722630000112
When the basic frequency of the ultrasonic signal is 40KHz and the speed of the obstacle relative to the ultrasonic sound source is changed between 0.085 m/s and 17m/s, the frequency change range is 10Hz to 20 KHz. According to the basic frequency of the ultrasonic signal and the speed of most users using the mobile terminal, the corresponding frequency change range is determined, and the requirements of most users can be met.
Furthermore, the ultrasonic wave transmitting device is a receiver of the mobile terminal, and the ultrasonic wave receiving device is a microphone of the mobile terminal.
Further, the ultrasonic wave transmitting device is a receiver of the mobile terminal, the ultrasonic wave receiving device is a microphone of the mobile terminal, that is, the ultrasonic wave transmitting device is integrated in the receiver of the mobile terminal, and the ultrasonic wave receiving device is integrated in the microphone of the mobile terminal. Specifically, referring to fig. 4, the mobile terminal transmits an ultrasonic signal through an earpiece, and receives an ultrasonic signal returned after the ultrasonic signal encounters an obstacle through a microphone. Specifically, the receiver converts the current signal with changing intensity into a sound signal, and sends an ultrasonic signal to the outside while recovering the transmitted sound, and the microphone converts the received sound signal into the current signal with changing intensity for transmission and also receives the ultrasonic signal sent by the receiver. If the mobile terminal is provided with a main microphone and an auxiliary microphone, the main microphone can be set to be used for receiving sound signals during conversation, and the auxiliary microphone can be set to be used for receiving ultrasonic signals, so that mutual interference of the signals is avoided. In other embodiments, the ultrasonic wave transmitting device and the ultrasonic wave receiving device may be separately provided in the mobile terminal.
In the present embodiment, the mobile terminal functions as both the ultrasonic wave transmitting device and the ultrasonic wave receiving device. During the process of the ultrasonic wave transmitting device moving relative to the obstacle, the mobile terminal moves relative to the obstacle, so that the ultrasonic wave receiving device also moves relative to the obstacle. According to the doppler effect, when the mobile terminal moves relative to the obstacle, if the mobile terminal and the obstacle are close to each other, the ultrasonic signal is compressed, the wavelength of the ultrasonic signal becomes shorter, the frequency becomes higher, and a blue shift phenomenon is generated; if the mobile terminal and the obstacle are far away from each other, the opposite effect is generated, the wavelength of the ultrasonic signal becomes longer, and the frequency becomes lower, i.e. the red shift phenomenon is generated. It should be noted that the higher the speed of the relative movement between the mobile terminal and the obstacle, the greater the blue shift or red shift effect. It can be understood that, the movement of the mobile terminal relative to the obstacle in this embodiment is substantially the process that the user picks up the mobile terminal to approach or leave the human body when using the mobile terminal, and considering that the speed of picking up the mobile terminal by the user changes within a certain range, the frequency change of the ultrasonic signal received by the ultrasonic receiving device is correspondingly within a certain range, that is, the frequency change range.
Step S20, a first area and a second area are calculated according to the fundamental frequency and the frequency variation range.
After acquiring the fundamental frequency and the frequency variation range of the ultrasonic signal, the mobile terminal calculates a first area and a second area according to the fundamental frequency and the frequency variation range.
Further, the frequency variation range includes an upper limit value and a lower limit value, and the step of calculating the first area from the fundamental frequency and the frequency variation range includes:
step a, determining an interval corresponding to the frequency change range according to a relational expression between the basic frequency and the upper limit value and the lower limit value.
Furthermore, the frequency variation range of the ultrasonic signal includes an upper limit value and a lower limit value, the base frequency is increased or decreased depending on the difference of the relational expression between the base frequency and the frequency variation range, and the frequency variation interval is determined according to the relational expression between the base frequency and the upper limit value and the lower limit value. Specifically, the section is a section in which the frequency of the ultrasonic signal received by the ultrasonic wave receiving device is greater than the fundamental frequency. The relation is to sum the basic frequency and the frequency variation range to increase the receiving frequency. For example, when the fundamental frequency is 40KHz, the frequency variation range is 10Hz to 20KHz, the upper limit value is 20KHz, the lower limit value is 10Hz, the relational expressions corresponding to the first areas are (40+20) KHz and (40+0.01) KHz, and the corresponding intervals are (40+0.01) to (40+20) KHz.
Further, the process of calculating the second area corresponding interval according to the fundamental frequency and the frequency variation range is as follows: and determining a frequency change interval according to a relational expression between the basic frequency and the upper limit value and the lower limit value. Specifically, the section is a section in which the frequency of the ultrasonic signal received by the ultrasonic receiving device is smaller than the fundamental frequency, and the second area corresponds to a relational expression in which the fundamental frequency and the upper limit value and the lower limit value of the frequency variation range are subjected to difference calculation to reduce the reception frequency. If the basic frequency is 40KHz, the frequency variation range is 10 Hz-20 KHz, the upper limit value is 20KHz, the lower limit value is 10Hz, the corresponding relational expressions of the second area are (40-20) KHz and (40-0.01) KHz, and the corresponding intervals are (40-20) to (40-0.01) KHz.
And b, calculating and sending a first area according to the interval and the intensity change curve corresponding to the interval.
Referring to fig. 5, after the section corresponding to the calculation of the first area is determined, the intensity variation curve corresponding to the section is determined. Wherein the intensity variation curve is recorded in the transmission process of the ultrasonic signal. After the intensity change curve is determined, the intensity value of the Y axis corresponding to the starting point and the ending point of the interval, the frequency change range on the X axis of the interval and the area of a closed area enclosed by the intensity change curve of the interval are used as a first area, and the size of the first area can be obtained by integrating the X axis through the intensity change curve according to the interval corresponding to the first area.
Further, there is also a corresponding intensity variation curve in the interval for calculating the second area. The process of calculating the second area is the same as the process of calculating the first area, and is not described herein again.
Step S30, an area sum between the first area and the second area is calculated.
And step S40, if the sum of the areas is larger than a preset threshold, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state.
And when the first area and the second area are obtained through calculation, the mobile terminal calculates the area sum between the first area and the second area and judges whether the area sum is larger than a preset threshold value or not. If the sum of the areas is larger than the preset threshold value, the mobile terminal determines that impact or friction exists at present, and controls the screen to be in the current state. If the screen of the mobile terminal is in the bright screen state currently, the mobile terminal controls the screen to be in the bright screen state continuously; and if the screen of the mobile terminal is in the screen-off state currently, the mobile terminal controls the screen to be in the screen-off state continuously. Wherein the predetermined threshold value can be obtained according to a limited number of experiments. It should be noted that, when the mobile terminal has impact or friction, the generated ultrasonic signal has a wide frequency spectrum, so that both the first area and the second area are relatively large, and therefore, whether the mobile terminal has impact or friction can be detected through the sum of the areas between the first area and the second area.
In the embodiment, after the mobile terminal is in a call state, the basic frequency of the ultrasonic signal sent by the ultrasonic sending device of the mobile terminal is obtained, and the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device of the mobile terminal is obtained; calculating a first area and a second area according to the basic frequency and the frequency variation range; calculating an area sum between the first area and the second area; if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state. When the mobile terminal has impact or friction, the current state is maintained unchanged, the state of the screen of the mobile terminal is not changed, and the accuracy of detecting the distance and approach of the mobile terminal to the barrier is improved.
Further, a second embodiment of the screen status control method of the present invention is proposed based on the first embodiment. The second embodiment of the screen state control method is different from the first embodiment of the screen state control method in that, referring to fig. 6, the screen state control method further includes:
and step S50, determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal relative to the obstacle.
Due to the relative motion between the mobile terminal and the obstacle, the frequency of the ultrasonic signal received by the mobile terminal through the ultrasonic receiving device is different from the basic frequency of the ultrasonic signal sent by the ultrasonic sending device, and the frequency change range is determined by the speed change range of the relative motion between the mobile terminal and the obstacle. It is understood that the relative motion between the mobile terminal and the obstacle is essentially the relative motion that occurs when the user picks up the mobile terminal during use of the mobile terminal, causing the mobile terminal to move relative to the torso or head of the user's body. The speed of the user for picking up the mobile terminal is changed within a certain range, and the specific change range can determine the speed of most users for using the mobile terminal in a test mode. The speed meeting the requirements of most users is taken as the preset movement speed of the ultrasonic transmitting device, and the frequency change range of the ultrasonic receiving device for receiving the ultrasonic signals is determined according to the preset movement speed.
Further, the preset moving speed includes a minimum moving speed and a maximum moving speed, and the step S50 includes:
and c, determining the lower limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the minimum movement speed and the basic frequency.
And d, determining the upper limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the maximum movement speed and the basic frequency.
Further, in consideration of the fact that the speeds of different users using the mobile terminal are different, in the embodiment of the present invention, the used speed range may represent the speed of most users using the mobile terminal, that is, the preset moving speed is a speed range including the minimum moving speed and the maximum moving speed. Specifically, the lower limit value of the frequency variation range of the ultrasonic wave signal received by the ultrasonic wave receiving device can be determined according to the variation relation between the frequency and the speed in the Doppler effect, the minimum motion speed and the fundamental frequency of the ultrasonic wave signal transmitted by the ultrasonic wave transmitting device; accordingly, the upper limit value of the frequency variation range of the ultrasonic wave received by the ultrasonic wave receiving device can be determined according to the maximum movement speed.
In the embodiment, the frequency change range of the ultrasonic wave receiving device for receiving the ultrasonic wave signal is determined according to the movement speed of the mobile terminal relative to the obstacle, and the first area and the second area are calculated according to the frequency change range, so that the finally obtained calculation result accords with the operation habit of a user for operating the mobile terminal, and the accuracy of detecting the approaching movement and the departing movement of the mobile terminal relative to the obstacle is further improved.
Further, a third embodiment of the screen status control method of the present invention is presented. The third embodiment of the screen state control method is different from the first or second embodiment of the screen state control method in that, referring to fig. 7, the screen state control method further includes:
in step S60, if the sum of the areas is smaller than or equal to the preset threshold, the second area is subtracted from the first area to obtain an area difference between the first area and the second area.
And step S70, determining the movement trend of the mobile terminal relative to the obstacle according to the area difference.
And when the sum of the areas between the first area and the second area is determined to be greater than or equal to a preset threshold, the mobile terminal subtracts the second area from the first area to obtain the area difference between the first area and the second area, and the movement trend of the mobile terminal relative to the obstacle is determined according to the area difference.
Further, step S70 includes:
and e, determining whether the area difference is a positive value or a negative value.
And f, if the area difference is a positive value, determining that the mobile terminal approaches the obstacle.
And g, if the area difference is a negative value, determining that the mobile terminal is far away from the obstacle.
Further, when the area difference between the first area and the second area is calculated, it is determined whether the area difference is a positive value or a negative value. Specifically, the area difference is compared with 0, and if the area difference is smaller than 0, the area difference is determined to be a negative value; if the area difference is greater than 0, the area difference is determined to be a positive value. When the area difference is determined to be a positive value, the mobile terminal determines that the mobile terminal approaches to the obstacle currently, namely the mobile terminal makes approaching movement relative to the obstacle; when the area difference is determined to be a negative value, the mobile terminal determines that the mobile terminal is currently far away from the obstacle, namely the mobile terminal does far movement relative to the obstacle. In particular, reference is made to fig. 8.
Further, the mobile terminal may determine a distance that the mobile terminal moves relative to the obstacle by an area difference between the first area and the second area. Namely, when the mobile terminal makes an approaching motion relative to the barrier, the mobile terminal can determine the approaching distance of the mobile terminal to the barrier according to the area difference; when the mobile terminal makes a far movement relative to the obstacle, the mobile terminal can determine the far distance away from the obstacle according to the area.
And step S80, controlling the state of the screen of the mobile terminal according to the motion trend.
And after the mobile terminal determines the movement trend of the mobile terminal relative to the barrier, the mobile terminal controls the state of the mobile terminal according to the movement trend.
Further, step S80 includes:
and h, if the mobile terminal is determined to approach the barrier, controlling the screen of the mobile terminal to be in a screen-off state.
And i, if the mobile terminal is determined to be far away from the barrier, controlling the screen of the mobile terminal to be in a bright screen state.
Further, if the mobile terminal determines that the mobile terminal approaches the obstacle, the mobile terminal controls the screen to be in a screen-off state; and if the mobile terminal determines that the mobile terminal is far away from the barrier, the mobile terminal controls the screen to be in a bright screen state.
It should be noted that, in this embodiment, after the sum of the areas between the first area and the second area is smaller than or equal to the preset threshold, the mobile terminal may determine the movement trend of the mobile terminal relative to the obstacle through the area difference between the first area and the second area, and may also determine the movement trend of the mobile terminal relative to the obstacle through the ultrasonic amplitude change rate between the ultrasonic signal sent by the ultrasonic sending device and the ultrasonic signal received by the ultrasonic receiving device, and the like.
The embodiment determines the movement trend of the mobile terminal relative to the obstacle according to the difference between the first area and the second area, and intelligently controls the on and off of the screen of the mobile terminal according to the movement trend.
Further, it should be noted that the principle of the screen status control method can be applied to other places besides the call process. If the content displayed on the current screen of the mobile terminal is the text content such as novel or news, when the mobile terminal moves close to an obstacle, the mobile terminal judges that the current brightness of the screen is too low, and a user cannot clearly see the displayed content, at the moment, the mobile terminal increases the brightness of the screen and/or adjusts the size of the currently displayed text, so that the currently displayed text on the screen becomes larger; when the mobile terminal moves far away from the barrier, the mobile terminal judges that the current brightness of the screen of the mobile terminal is too high, and at the moment, the mobile terminal reduces the brightness of the screen of the mobile terminal and/or adjusts the size of the currently displayed characters to reduce the characters currently displayed on the screen of the mobile terminal.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium has stored thereon a screen state control program that when executed by a processor implements the steps of:
when the mobile terminal is in a call state, acquiring the basic frequency of an ultrasonic signal transmitted by an ultrasonic transmitting device of the mobile terminal and acquiring the frequency variation range of the ultrasonic signal received by an ultrasonic receiving device of the mobile terminal;
calculating a first area and a second area according to the basic frequency and the frequency variation range;
calculating an area sum between the first area and the second area;
if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state.
Further, the frequency variation range includes an upper limit value and a lower limit value, and the step of calculating the first area according to the fundamental frequency and the frequency variation range includes:
determining an interval corresponding to the frequency variation range according to a relational expression between the basic frequency and the upper limit value and the lower limit value;
and calculating and sending the first area according to the interval and the intensity change curve corresponding to the interval.
Further, before the steps of acquiring the fundamental frequency of the ultrasonic signal transmitted by the ultrasonic transmitting device of the mobile terminal and acquiring the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device of the mobile terminal after the mobile terminal is in a call state, the screen state control program implements the following steps when executed by the processor:
and determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal relative to the obstacle.
Further, the preset movement speed includes a minimum movement speed and a maximum movement speed, and the step of determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal relative to the obstacle includes:
determining a lower limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the minimum movement speed and the basic frequency;
and determining the upper limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the maximum movement speed and the basic frequency.
Further, after the step of calculating the sum of areas between the first area and the second area, the screen state control program when executed by a processor implements the steps of:
if the area sum is larger than or equal to the preset threshold, subtracting the second area from the first area to obtain an area difference between the first area and the second area;
determining the movement trend of the mobile terminal relative to the obstacle according to the area difference;
and controlling the state of the screen of the mobile terminal according to the motion trend.
Further, the step of determining the movement trend of the mobile terminal relative to the obstacle according to the area difference comprises:
determining whether the area difference is a positive value or a negative value;
if the area difference is a positive value, determining that the mobile terminal approaches the obstacle;
and if the area difference is a negative value, determining that the mobile terminal is far away from the obstacle.
Further, the step of controlling the state of the screen of the mobile terminal according to the motion trend comprises:
if the mobile terminal is determined to approach the barrier, controlling the screen of the mobile terminal to be in a screen-off state;
and if the mobile terminal is determined to be far away from the barrier, controlling the screen of the mobile terminal to be in a bright screen state.
Further, the ultrasonic wave transmitting device is a receiver of the mobile terminal, and the ultrasonic wave receiving device is a microphone of the mobile terminal.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the screen state control method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the present specification and drawings, and which are directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A screen status control method, comprising:
when the mobile terminal is in a call state, acquiring the fundamental frequency of an ultrasonic signal transmitted by an ultrasonic transmitting device of the mobile terminal and acquiring the frequency variation range of the ultrasonic signal received by an ultrasonic receiving device of the mobile terminal;
calculating a first area and a second area according to the basic frequency and the frequency variation range;
calculating an area sum between the first area and the second area;
if the sum of the areas is larger than a preset threshold value, determining that the mobile terminal has impact or friction, and controlling the screen of the mobile terminal to be in the current state;
wherein the step of calculating a first area and a second area from the fundamental frequency and the frequency variation range comprises:
determining an interval corresponding to the frequency variation range according to a relational expression between the basic frequency and an upper limit value and a lower limit value of the frequency variation range;
determining a section in which the frequency of the ultrasonic signal received by the ultrasonic receiving device is greater than the fundamental frequency as a first area corresponding section, and determining a section in which the frequency of the ultrasonic signal received by the ultrasonic receiving device is less than the fundamental frequency as a second area corresponding section;
determining an intensity variation curve corresponding to the first area corresponding interval, taking the intensity value of the Y axis corresponding to the starting point and the ending point of the first area corresponding interval, and taking the frequency variation range on the X axis of the first area corresponding interval and the area of a closed area surrounded by the intensity variation curve as a first area, and integrating the X axis through the intensity variation curve according to the interval corresponding to the first area to obtain the size of the first area;
and determining an intensity change curve corresponding to the second area corresponding interval, taking the intensity value of the Y axis corresponding to the starting point and the ending point of the second area corresponding interval, taking the frequency change range on the X axis of the second area corresponding interval and the area of a closed area defined by the intensity change curve as a second area, and integrating the X axis through the intensity change curve according to the interval corresponding to the second area to obtain the size of the second area.
2. The screen status control method according to claim 1, wherein before the steps of acquiring the fundamental frequency of the ultrasonic signal transmitted by the ultrasonic transmitter of the mobile terminal and acquiring the frequency variation range of the ultrasonic signal received by the ultrasonic receiver of the mobile terminal after the mobile terminal is in a call state, further comprising:
and determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset movement speed of the mobile terminal relative to the obstacle.
3. The screen status control method according to claim 2, wherein the preset moving speed includes a minimum moving speed and a maximum moving speed, and the step of determining the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the preset moving speed of the mobile terminal with respect to the obstacle comprises:
determining a lower limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the minimum movement speed and the basic frequency;
and determining the upper limit value of the frequency variation range of the ultrasonic signal received by the ultrasonic receiving device according to the maximum movement speed and the basic frequency.
4. The screen state control method of claim 1, wherein the step of calculating the sum of areas between the first area and the second area is followed by further comprising:
if the area sum is larger than or equal to the preset threshold, subtracting the second area from the first area to obtain an area difference between the first area and the second area;
determining the movement trend of the mobile terminal relative to the obstacle according to the area difference;
and controlling the state of the screen of the mobile terminal according to the motion trend.
5. The screen state control method of claim 4, wherein the determining the movement tendency of the mobile terminal with respect to an obstacle according to the area difference comprises:
determining whether the area difference is a positive value or a negative value;
if the area difference is a positive value, determining that the mobile terminal approaches the obstacle;
and if the area difference is a negative value, determining that the mobile terminal is far away from the obstacle.
6. The screen status control method of claim 5, wherein the controlling the status of the screen of the mobile terminal according to the motion tendency comprises:
if the mobile terminal is determined to approach the barrier, controlling the screen of the mobile terminal to be in a screen-off state;
and if the mobile terminal is determined to be far away from the barrier, controlling the screen of the mobile terminal to be in a bright screen state.
7. The screen status control method according to any one of claims 1 to 6, wherein the ultrasonic wave transmitting means is an earpiece of the mobile terminal, and the ultrasonic wave receiving means is a microphone of the mobile terminal.
8. A mobile terminal characterized in that it comprises a memory, a processor and a screen state control program stored on said memory and executable on said processor, said screen state control program, when executed by said processor, implementing the steps of the screen state control method according to any one of claims 1 to 7.
9. A computer-readable storage medium, having stored thereon a screen state control program which, when executed by a processor, implements the steps of the screen state control method of any one of claims 1 to 7.
CN201711498729.6A 2017-12-29 2017-12-29 Screen state control method, mobile terminal and computer readable storage medium Active CN108184023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711498729.6A CN108184023B (en) 2017-12-29 2017-12-29 Screen state control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711498729.6A CN108184023B (en) 2017-12-29 2017-12-29 Screen state control method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108184023A CN108184023A (en) 2018-06-19
CN108184023B true CN108184023B (en) 2021-03-26

Family

ID=62549609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711498729.6A Active CN108184023B (en) 2017-12-29 2017-12-29 Screen state control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108184023B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913062B (en) * 2018-09-18 2022-08-19 西安中兴新软件有限责任公司 Audio control method, device, terminal and readable storage medium
CN109218538A (en) * 2018-11-29 2019-01-15 努比亚技术有限公司 Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN110519448B (en) * 2019-07-31 2021-03-02 Oppo广东移动通信有限公司 Screen state control method and device, mobile terminal and storage medium
CN110502089A (en) * 2019-08-09 2019-11-26 深圳传音控股股份有限公司 A kind of control method of mobile terminal, device, mobile terminal and storage medium
CN110764612B (en) * 2019-10-08 2023-09-08 Oppo(重庆)智能科技有限公司 Ultrasonic processing method, ultrasonic processing device, electronic equipment and computer readable medium
CN110865710B (en) * 2019-11-19 2023-08-18 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935749A (en) * 2015-06-23 2015-09-23 惠州Tcl移动通信有限公司 Mobile terminal and method for turning off screen during calling through microphone
KR20170034745A (en) * 2015-09-21 2017-03-29 김학충 no home button device
CN107124513A (en) * 2017-05-04 2017-09-01 努比亚技术有限公司 Breath screen method, mobile terminal and computer-readable recording medium under talking state
CN107402387A (en) * 2017-08-31 2017-11-28 努比亚技术有限公司 Movement tendency based on ultrasonic wave determines method, apparatus and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN108184023A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN108196778B (en) Control method of screen state, mobile terminal and computer readable storage medium
CN108566479B (en) Screen state control method, mobile terminal and computer readable storage medium
CN108184023B (en) Screen state control method, mobile terminal and computer readable storage medium
CN107562336A (en) A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN108055412B (en) Method of controlling mobile terminal, and computer-readable storage medium
CN110266876B (en) Pressure threshold determination method and device and computer readable storage medium
CN108234767B (en) Control method of screen state, mobile terminal and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN108226880B (en) Method and device for preventing interference in ultrasonic distance detection and storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN109683797B (en) Display area control method and device and computer readable storage medium
CN108287627B (en) Interface operation method based on flexible screen, terminal and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN107566631B (en) Volume control method, mobile terminal and computer readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN112437472A (en) Network switching method, equipment and computer readable storage medium
CN109710149B (en) Interactive display method, equipment and computer readable storage medium
CN107544803B (en) Ultrasonic wave-based on-off screen control method and device and readable storage medium
CN107580106B (en) Call control method, mobile terminal and computer readable storage medium
CN107734147B (en) Step recording method, mobile terminal 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