CN113132535A - Screen state control method and device, storage medium and mobile terminal - Google Patents

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

Info

Publication number
CN113132535A
CN113132535A CN202110439083.4A CN202110439083A CN113132535A CN 113132535 A CN113132535 A CN 113132535A CN 202110439083 A CN202110439083 A CN 202110439083A CN 113132535 A CN113132535 A CN 113132535A
Authority
CN
China
Prior art keywords
preset distance
distance
user
screen
equal
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.)
Granted
Application number
CN202110439083.4A
Other languages
Chinese (zh)
Other versions
CN113132535B (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.)
Guangzhou Zhongen Digital Intelligence Technology Co ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202110439083.4A priority Critical patent/CN113132535B/en
Publication of CN113132535A publication Critical patent/CN113132535A/en
Application granted granted Critical
Publication of CN113132535B publication Critical patent/CN113132535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The application provides a screen state control method, a device, a storage medium and a mobile terminal, wherein the method comprises the following steps: when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance; and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance. According to the embodiment of the application, the response speed of the mobile terminal can be improved and the user experience can be improved when the mobile terminal is controlled by the proximity sensor.

Description

Screen state control method and device, storage medium and mobile terminal
Technical Field
The invention relates to the technical field of electronics, in particular to a screen state control method and device, a storage medium and a mobile terminal.
Background
At present, in the process of a mobile terminal calling, in order to prevent false touch, a proximity sensor is generally adopted to realize that the mobile terminal is close to a screen being turned off and far from a screen being turned on during the calling. Wherein, proximity sensor can detect the distance between mobile terminal and the place ahead object, but in practical application, because when holding mobile terminal, have slight removal, influence proximity sensor's judgement, the response that mobile terminal passes through proximity sensor control bright screen and goes out the screen can appear is slower, and user experience is poor.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a screen state control method and device, a storage medium and a mobile terminal. When the mobile terminal is controlled through the proximity sensor, the response speed of the mobile terminal can be improved, and the user experience is improved.
The embodiment of the application provides a screen state control method, which comprises the following steps: when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance;
and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance.
In some embodiments, when it is detected that the distance to the user is greater than a first preset distance and less than or equal to a second preset distance, the method further includes:
closing a designated function program, wherein the designated function program comprises: a touch function program and/or a voice assistant program.
In some embodiments, after said shutting down the specified function comprises:
acquiring a first duration of which the distance from the user is greater than a first preset distance and less than or equal to a second preset distance;
and when the first duration is longer than a first preset time, starting the specified function program.
In some embodiments, after said executing the close screen command, comprising:
when the distance between the user and the user is detected to be larger than a third preset distance and smaller than or equal to a fourth preset distance, calling a screen starting command from an external memory into a second file to be executed, wherein the second file to be executed is stored in an internal memory, and the third preset distance is smaller than the fourth preset distance;
and when the distance between the user and the mobile terminal is detected to be greater than the fourth preset distance, executing a screen opening command.
In some embodiments, when it is detected that the distance to the user is greater than a third preset distance and less than or equal to a fourth preset distance, the method further includes:
starting a designated function program, wherein the designated function program comprises: a touch function program and a voice assistant program.
In some embodiments, after said starting the specified function, the method further comprises:
and acquiring a second duration which meets the condition that the distance between the user and the user is greater than a third preset distance and less than or equal to a fourth preset distance, and closing the specified function program when the second duration is greater than a second preset time.
An embodiment of the present application further provides a screen state control device, the device includes:
the first call-in module is used for calling a screen closing command into a file to be executed from an external memory when detecting that the distance between the first call-in module and a user is greater than a first preset distance and less than or equal to a second preset distance, wherein the execution file is stored in an internal memory, and the first preset distance is less than the second preset distance;
and the first processing module is used for executing a screen closing command when detecting that the distance between the first processing module and the user is less than or equal to a first preset distance.
In some embodiments, the first call-in module further comprises:
the first closing submodule is used for closing the appointed function program when detecting that the distance between the first closing submodule and the user is larger than a first preset distance and smaller than or equal to a second preset distance, and the appointed function program comprises: a touch function program and/or a voice assistant program.
The embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the steps in the above-mentioned screen state control method.
The embodiment of the application also provides a mobile terminal, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the steps in the screen state control method by calling the computer program stored in the memory.
The embodiment of the application provides a screen state control method, which comprises the following steps: when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance; and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance. The response speed of the mobile terminal is improved and the user experience is improved when the mobile terminal is controlled through the proximity sensor.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart illustrating a screen state control method according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a screen state control device according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a screen state control device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a screen state control device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a screen state control device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a screen state control device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The present disclosure provides a control method of a screen state, which can be applied to a mobile terminal. The mobile terminal can be a smart phone, a tablet computer, a desktop computer, a smart watch and other devices.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a screen status control method according to an embodiment of the present disclosure. The control method of the screen state is applied to a mobile terminal, and the mobile terminal is provided with a screen, a camera and the like. The method may comprise the steps of:
step 101, when it is detected that the distance from the user is greater than a first preset distance and less than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is less than the second preset distance.
Specifically, the external memory can hold data for a long period of time, but exchange data is slow; the data exchange speed of the internal memory is high, but the data can not be stored for a long time, after the power is off, the data can be deleted, but the data of the internal memory can be directly calculated and processed by the central processing unit. In practical applications, the external memory may be a hard disk of the mobile terminal.
More specifically, when the proximity sensor detects that the distance from the user is greater than 1 centimeter and less than or equal to 5 centimeters, the close screen command is called from the hard disk into the first file to be executed, the first file to be executed is stored in the internal memory, that is, the close screen command is temporarily stored in the internal memory, the close screen command may be in a suspended state, or the close screen command is in a temporarily unexecuted state.
In some embodiments, the first preset distance and the second preset distance may be set and adjusted according to actual conditions.
In some embodiments, when it is detected that the distance to the user is greater than the first preset distance and less than or equal to the second preset distance, the designated function program may be further closed, where the designated function program includes: a touch function program and/or a voice assistant program.
Specifically, when it is detected that the distance from the user is greater than 1 cm and less than or equal to 5 cm, the touch scanning circuit, the touch program, or the voice wake-up program of the terminal may be turned off.
In some embodiments, after the designated function program is closed, a first duration of time that the distance from the user is greater than a first preset distance and less than or equal to a second preset distance may be obtained; when the first duration is less than a first preset time, starting a designated function program, wherein the designated function program comprises: a touch function program and/or a voice assistant program.
Specifically, after the designated function program is closed, a first duration that a distance from the user is greater than a first preset distance and is less than or equal to a second preset distance may be obtained, and when the first duration is less than 5 seconds, the designated function program is resumed.
More specifically, the distance between the mobile terminal and the user is between a first preset distance and a second preset distance, and the stay time is shorter than a first preset time, which may indicate that the user is only within the preset distance for a short time and is not in a call answering process, so as to avoid influencing the normal use of the terminal, and then the specified function program is recovered.
In some embodiments, the first preset time may be set and adjusted according to actual conditions. For example, the moving speed of the mobile terminal by the user when the mobile terminal needs to answer the call can be collected, the first preset time can be automatically adjusted according to the speed data collected for many times, and the user can input an appropriate value on a corresponding setting interface.
And 102, executing a screen closing command when the distance between the user and the screen is detected to be less than or equal to a first preset distance.
Specifically, when it is detected that the distance from the user is less than or equal to 1 cm, turning off the backlight and/or adjusting the pixel color of the screen to black is performed.
In some embodiments, after executing the command to close the screen, when detecting that the distance from the user is greater than a third preset distance and less than or equal to a fourth preset distance, calling the command to open the screen into a second file to be executed from an external memory, where the second file to be executed is stored in an internal memory, and the third preset distance is less than the fourth preset distance; and when the distance between the user and the mobile terminal is detected to be greater than the fourth preset distance, executing a screen opening command.
Specifically, after executing the command of closing the screen, when detecting that the distance from the user is greater than 5 centimeters and less than or equal to 10 centimeters, calling the command of opening the screen into a second file to be executed from the external memory, wherein the second file to be executed is stored in the internal memory, and when detecting that the distance from the user is greater than 10 centimeters, executing the command of opening the screen.
Specifically, when the proximity sensor detects that the distance from the user is greater than 5 centimeters and less than or equal to 10 centimeters, the on-screen command is called from the hard disk into a second file to be executed, where the second file to be executed is stored in the internal memory, that is, the off-screen command is temporarily stored in the internal memory, and the off-screen command may be in a suspended state, or the off-screen command is in a temporarily unexecuted state. When a distance greater than 10 centimeters from the user is detected, then an open screen command is executed.
In some embodiments, the third preset distance and the fourth preset distance may be set and adjusted according to actual conditions.
In some embodiments, when it is detected that the distance to the user is greater than the third preset distance and less than or equal to the fourth preset distance, the method may further start a designated function program, where the designated function program includes: a touch function program and a voice assistant program.
Specifically, when it is detected that the distance from the user is greater than 5 cm and less than or equal to 10 cm, the touch scanning circuit, the touch program, or the voice wake-up program of the terminal may be turned off.
In some embodiments, after the designated function program is started, a second duration satisfying that the distance from the user is greater than a third preset distance and less than or equal to a fourth preset distance is obtained, and when the second duration is greater than a second preset time, the designated function program is closed.
Specifically, after the designated function program is started, a second duration when the distance from the user is greater than 5 centimeters and less than or equal to 10 centimeters may be obtained, and when the second duration exceeds 5 seconds, the designated function program is closed.
More specifically, the distance between the mobile terminal and the user is between a third preset distance and a fourth preset distance, and the stay time exceeds a second preset time, which may indicate that the user is still in the process of answering a call, and in order to prevent a false touch, the above-mentioned designated function program is closed.
In some embodiments, the second preset time may be set and adjusted according to actual conditions. For example, the moving speed of the mobile terminal by the user when the mobile terminal needs to answer the call can be collected, the second preset time can be automatically adjusted according to the speed data collected for many times, and the user can input an appropriate value on a corresponding setting interface.
In some embodiments, the distance between the mobile terminal and the user may be a straight line distance between the mobile terminal and a human face.
In particular, in practical applications, the proximity sensor may detect a distance to an object by emitting infrared rays, an electromagnetic field, or an electromagnetic beam. In a mobile phone terminal, most proximity sensors include an infrared light emitter and an infrared light detector. The infrared light emitter transmits light out of the surface of the screen and when the screen is close enough to the user's head, the infrared light is reflected back into the infrared light detector, which is also located below the surface of the screen.
In some embodiments, when the infrared light detector of the proximity sensor detects that the amount of infrared light satisfies the first infrared light value, the first infrared light value corresponds to the infrared light value when the distance between the mobile terminal and the user is greater than a first preset distance and less than or equal to a second preset distance, the proximity sensor sends a first response voltage to the circuit, wherein, a voltage comparator is arranged in the circuit, the voltage comparator is provided with a first threshold value and a second threshold value, wherein the first threshold is less than the second threshold, when the first response voltage is greater than the first threshold and less than or equal to the second threshold, the circuit wakes up the central processing unit, the central processing unit executes the pre-close screen command, that is, the central processing unit calls the screen closing command from the external memory to the first file to be executed, the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance. That is, the close screen command is temporarily stored in the internal memory, and the close screen command may be in a suspended state, or the close screen command may be in a temporarily unexecuted state.
In some embodiments, when the infrared light detector of the proximity sensor detects that the amount of infrared light satisfies a second infrared light value corresponding to the infrared light value when the distance between the mobile terminal and the user is less than or equal to the first preset distance, the proximity sensor sends a second response voltage to the circuit, wherein a voltage comparator is disposed in the circuit, the voltage comparator sets a first threshold and a second threshold, the first threshold is less than the second threshold, and when the first response voltage satisfies the second threshold, the circuit wakes up the central processor, and the central processor executes a screen turn-off command, that is, the central processor executes to turn off the backlight and/or adjust the pixel color of the screen to black.
The embodiment of the application provides a screen state control method, which comprises the following steps: when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance; and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance. The response speed of the mobile terminal is improved and the user experience is improved when the mobile terminal is controlled through the proximity sensor.
The embodiment of the application further provides a screen state control device, the screen state control device can be integrated in a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer, a desktop computer, a smart watch and other devices.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a screen state control device according to an embodiment of the present application. The screen state control device 20 may include:
a first call-in module 21, configured to, when it is detected that a distance from a user is greater than a first preset distance and is less than or equal to a second preset distance, execute a call to close a screen to a file to be executed from an external memory, where the file to be executed is stored in an internal memory, and the first preset distance is less than the second preset distance;
and the first processing module 22 is configured to execute a close screen command when detecting that the distance from the user is less than or equal to a first preset distance.
Referring to fig. 3, the first call-in module 21 further includes: a first close submodule 211, a first obtain submodule 212 and a first open submodule 213.
In some embodiments, the first shutdown submodule 211 is specifically configured to: when the distance between the user and the designated function program is detected to be greater than a first preset distance and less than or equal to a second preset distance, closing the designated function program, wherein the designated function program comprises the following steps: a touch function program and/or a voice assistant program.
In some embodiments, the first obtaining sub-module 212 is specifically configured to: after the designated function program is closed, a first duration in which the distance from the user is greater than a first preset distance and less than or equal to a second preset distance may be acquired.
In some embodiments, the first enabling submodule 213 is specifically configured to: when the first duration is less than a first preset time, starting a designated function program, wherein the designated function program comprises: a touch function program and/or a voice assistant program.
Referring to fig. 4, the screen state control device 20 further includes: a second call-in module 23 and a second processing module 24.
In some embodiments, the second call-in module 23 is specifically configured to:
after the screen closing command is executed, when the fact that the distance between the screen closing command and the user is larger than a third preset distance and smaller than or equal to a fourth preset distance is detected, the screen opening command is called into a second file to be executed from an external memory, the second file to be executed is stored in an internal memory, and the third preset distance is smaller than the fourth preset distance.
Referring to fig. 5, the second call-in module 23 further includes: a second obtaining submodule 231 and a second closing submodule 232, where the second obtaining submodule 231 is specifically configured to: after the designated function program is started, a second duration when the distance from the user is greater than a third preset distance and less than or equal to a fourth preset distance may be obtained. The second closing submodule 232 is specifically configured to: and when the second duration exceeds a second preset monitoring, closing the specified function program.
In some embodiments, the second processing module 24 is specifically configured to:
and when the distance between the user and the mobile terminal is detected to be greater than the fourth preset distance, executing a screen opening command.
Referring to fig. 6, the second processing module 24 further includes a second open sub-module 241, a third obtain sub-module 242, and a third close sub-module 243.
In some embodiments, the second start submodule 241 is specifically configured to: when detecting that the distance between the user and the user is greater than a third preset distance and less than or equal to a fourth preset distance, the method can also start a designated function program, wherein the designated function program comprises the following steps: a touch function program and a voice assistant program.
In some embodiments, the third obtaining sub-module 242 is specifically configured to: and after the appointed function program is started, acquiring a second duration which meets the condition that the distance between the user and the appointed function program is greater than a third preset distance and less than or equal to a fourth preset distance. And a third closing sub-module 243, configured to close the designated function program when the second duration is greater than the second preset time.
The embodiment of the present application provides a screen state control device, the device 20 includes: the system comprises a first calling-in module 21 and a first processing module 22, wherein the first calling-in module 21 is configured to, when it is detected that a distance from a user is greater than a first preset distance and less than or equal to a second preset distance, execute a command of turning off a screen to be called into a file to be executed from an external memory, the file to be executed is stored in an internal memory, and the first preset distance is less than the second preset distance; and the first processing module 22 is configured to execute a close screen command when detecting that the distance from the user is less than or equal to a first preset distance. According to the embodiment of the application, the response speed of the mobile terminal can be improved and the user experience can be improved when the mobile terminal is controlled by the proximity sensor.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal may be used to implement the terminal WiFi control method provided in the foregoing embodiment. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 7, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 7 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the terminal WiFi control method in the above-mentioned embodiment, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 120 may further include memory located remotely from processor 180, which may be connected to mobile terminal 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. The display unit 140 is a screen in the above embodiment.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. As for other sensors such as a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, which may assist the user in e-mail, web browsing, and streaming media access through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 7 illustrates the transmission module 170, it is understood that it does not belong to the essential constitution of the mobile terminal 1200, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, a screen closing command is called into a first file to be executed from an external memory, the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance.
In some embodiments, when it is detected that the distance to the user is greater than the first preset distance and less than or equal to the second preset distance, the designated function program may be further closed, where the designated function program includes: a touch function program and/or a voice assistant program.
In some embodiments, after the designated function program is closed, a first duration of time that the distance from the user is greater than a first preset distance and less than or equal to a second preset distance may be obtained; when the first duration is less than a first preset time, starting a designated function program, wherein the designated function program comprises: a touch function program and/or a voice assistant program.
And executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance.
In some embodiments, after executing the command to close the screen, when detecting that the distance from the user is greater than a third preset distance and less than or equal to a fourth preset distance, calling the command to open the screen into a second file to be executed from an external memory, where the second file to be executed is stored in an internal memory, and the third preset distance is less than the fourth preset distance; and when the distance between the user and the mobile terminal is detected to be greater than the fourth preset distance, executing a screen opening command.
In some embodiments, when it is detected that the distance to the user is greater than the third preset distance and less than or equal to the fourth preset distance, the method may further start a designated function program, where the designated function program includes: a touch function program and a voice assistant program.
In some embodiments, after the designated function program is started, a second duration satisfying that the distance from the user is greater than a third preset distance and less than or equal to a fourth preset distance is obtained, and when the second duration is greater than a second preset time, the designated function program is closed.
An embodiment of the present application provides a mobile terminal 1200, where the mobile terminal 1200 may perform the following steps: when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance; and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance. According to the embodiment of the application, the response speed of the mobile terminal can be improved and the user experience can be improved when the mobile terminal is controlled by the proximity sensor.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the methods for transferring a virtual resource provided in the present application. For example, the instructions may perform the steps of:
when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance;
and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance.
In this embodiment, the storage medium may be the external memory or the internal memory, or may be another independent memory.
In some embodiments, when it is detected that the distance to the user is greater than a first preset distance and less than or equal to a second preset distance, the method further includes:
closing a designated function program, wherein the designated function program comprises: a touch function program and/or a voice assistant program.
In some embodiments, after said shutting down the specified function comprises:
acquiring a first duration of which the distance from the user is greater than a first preset distance and less than or equal to a second preset distance;
and when the first duration is longer than a first preset time, starting the specified function program.
In some embodiments, after said executing the close screen command, comprising:
when the distance between the user and the user is detected to be larger than a third preset distance and smaller than or equal to a fourth preset distance, calling a screen starting command from an external memory into a second file to be executed, wherein the second file to be executed is stored in an internal memory, and the third preset distance is smaller than the fourth preset distance;
and when the distance between the user and the mobile terminal is detected to be greater than the fourth preset distance, executing a screen opening command.
In some embodiments, when it is detected that the distance to the user is greater than a third preset distance and less than or equal to a fourth preset distance, the method further includes:
starting a designated function program, wherein the designated function program comprises: a touch function program and a voice assistant program.
In some embodiments, after said starting the specified function, the method further comprises:
and acquiring a second duration which meets the condition that the distance between the user and the user is greater than a third preset distance and less than or equal to a fourth preset distance, and closing the specified function program when the second duration is greater than a second preset time.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any screen state control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any screen state control method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the sake of detail in the foregoing embodiments.
The screen state control method, device, storage medium and mobile terminal provided by the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A screen status control method, comprising:
when the distance between the user and the user is detected to be larger than a first preset distance and smaller than or equal to a second preset distance, calling a screen closing command from an external memory into a first file to be executed, wherein the first file to be executed is stored in an internal memory, and the first preset distance is smaller than the second preset distance;
and executing a screen closing command when the distance from the user is detected to be less than or equal to a first preset distance.
2. The method according to claim 1, wherein when it is detected that the distance to the user is greater than a first preset distance and less than or equal to a second preset distance, the method further comprises:
closing a designated function program, wherein the designated function program comprises: a touch function program and/or a voice assistant program.
3. The method of claim 2, after said shutting down a specified function, comprising:
acquiring a first duration of which the distance from the user is greater than a first preset distance and less than or equal to a second preset distance;
and when the first duration is less than a first preset time, starting the specified function program.
4. The method of claim 1, wherein after said executing a close screen command, comprising:
when the distance between the user and the user is detected to be larger than a third preset distance and smaller than or equal to a fourth preset distance, calling a screen starting command from an external memory into a second file to be executed, wherein the second file to be executed is stored in an internal memory, and the third preset distance is smaller than the fourth preset distance;
and when the distance between the user and the mobile terminal is detected to be greater than the fourth preset distance, executing a screen opening command.
5. The method according to claim 4, wherein when it is detected that the distance to the user is greater than a third preset distance and less than or equal to a fourth preset distance, the method further comprises:
starting a designated function program, wherein the designated function program comprises: a touch function program and a voice assistant program.
6. The method of claim 4, after said starting a specified function, comprising:
and acquiring a second duration which meets the condition that the distance between the user and the user is greater than a third preset distance and less than or equal to a fourth preset distance, and closing the specified function program when the second duration is greater than a second preset time.
7. A screen status control apparatus, comprising:
the first call-in module is used for calling a screen closing command into a file to be executed from an external memory when detecting that the distance between the first call-in module and a user is greater than a first preset distance and less than or equal to a second preset distance, wherein the execution file is stored in an internal memory, and the first preset distance is less than the second preset distance;
and the first processing module is used for executing a screen closing command when detecting that the distance between the first processing module and the user is less than or equal to a first preset distance.
8. The method screen state control device of claim 7, wherein the first call-in module further comprises:
a first closing submodule, configured to close a designated function program when it is detected that a distance from a user is greater than a first preset distance and is less than or equal to a second preset distance, where the designated function program includes: a touch function program and/or a voice assistant program.
9. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the steps in the screen state control method according to any one of claims 1 to 6.
10. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, the memory having stored therein a computer program, the processor being configured to execute the steps in the screen state control method according to any one of claims 1 to 6 by calling the computer program stored in the memory.
CN202110439083.4A 2021-04-23 2021-04-23 Screen state control method and device, storage medium and mobile terminal Active CN113132535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110439083.4A CN113132535B (en) 2021-04-23 2021-04-23 Screen state control method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110439083.4A CN113132535B (en) 2021-04-23 2021-04-23 Screen state control method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN113132535A true CN113132535A (en) 2021-07-16
CN113132535B CN113132535B (en) 2023-07-14

Family

ID=76779380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110439083.4A Active CN113132535B (en) 2021-04-23 2021-04-23 Screen state control method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN113132535B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103303A (en) * 2022-06-22 2022-09-23 中国联合网络通信集团有限公司 Application management method, server and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4873629A (en) * 1984-06-20 1989-10-10 Convex Computer Corporation Instruction processing unit for computer
CN101640770A (en) * 2008-08-18 2010-02-03 青岛海信信芯科技有限公司 Data loading method and video equipment of onscreen display menu
US20120139877A1 (en) * 2010-12-02 2012-06-07 Isamu Kawabe Proximity sensor and electronic device
CN102968323A (en) * 2012-11-30 2013-03-13 北京奇虎科技有限公司 Computer terminal and method for accelerating starting-up of computer system
CN106453960A (en) * 2016-11-30 2017-02-22 惠州Tcl移动通信有限公司 Method and system for increasing responding speed of proximity sensor of mobile terminal
CN106933479A (en) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 The control method and mobile terminal of screen state
CN107046601A (en) * 2017-03-24 2017-08-15 努比亚技术有限公司 A kind of mobile terminal and screen control method
CN108924360A (en) * 2018-07-10 2018-11-30 Oppo广东移动通信有限公司 Display methods, storage medium and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4873629A (en) * 1984-06-20 1989-10-10 Convex Computer Corporation Instruction processing unit for computer
CN101640770A (en) * 2008-08-18 2010-02-03 青岛海信信芯科技有限公司 Data loading method and video equipment of onscreen display menu
US20120139877A1 (en) * 2010-12-02 2012-06-07 Isamu Kawabe Proximity sensor and electronic device
CN102968323A (en) * 2012-11-30 2013-03-13 北京奇虎科技有限公司 Computer terminal and method for accelerating starting-up of computer system
CN106453960A (en) * 2016-11-30 2017-02-22 惠州Tcl移动通信有限公司 Method and system for increasing responding speed of proximity sensor of mobile terminal
CN106933479A (en) * 2017-03-07 2017-07-07 广东欧珀移动通信有限公司 The control method and mobile terminal of screen state
CN107046601A (en) * 2017-03-24 2017-08-15 努比亚技术有限公司 A kind of mobile terminal and screen control method
CN108924360A (en) * 2018-07-10 2018-11-30 Oppo广东移动通信有限公司 Display methods, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103303A (en) * 2022-06-22 2022-09-23 中国联合网络通信集团有限公司 Application management method, server and storage medium
CN115103303B (en) * 2022-06-22 2024-03-12 中国联合网络通信集团有限公司 Application management method, server and storage medium

Also Published As

Publication number Publication date
CN113132535B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
US11366510B2 (en) Processing method for reducing power consumption and mobile terminal
CN108712566B (en) Voice assistant awakening method and mobile terminal
WO2021052413A1 (en) Energy-saving signal monitoring time determination and configuration method, and related device
EP2953003A1 (en) Touch screen terminal and working method thereof
WO2019047862A1 (en) Fingerprint acquisition method and terminal device and storage medium
CN106940997B (en) Method and device for sending voice signal to voice recognition system
EP4236108A1 (en) Signal transmission method and apparatus, and terminal device, smart device, and electronic device
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
CN113132535A (en) Screen state control method and device, storage medium and mobile terminal
CN111026456A (en) Application management method and device, storage medium and electronic equipment
CN111372003A (en) Camera switching method and device and terminal
CN108170360B (en) Control method of gesture function and mobile terminal
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN110471622B (en) SD card data writing method and device, storage medium and terminal
CN108287755B (en) Application program control method and mobile terminal
CN108681467B (en) System awakening method and terminal
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN111694419A (en) Sensor control method and electronic device
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN106850985B (en) Control method, device and the mobile terminal of mobile terminal sensor
CN112114649B (en) Temperature adjusting method and device, storage medium and mobile terminal
CN111654578B (en) Mobile terminal sensor restoration method

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
TA01 Transfer of patent application right

Effective date of registration: 20230627

Address after: Unit A5-2, Room 501 and Room 502, Floor 5, No. 233, Tianhe North Road, Tianhe District, Guangzhou, Guangdong 510000

Applicant after: Guangzhou Zhongen Digital Intelligence Technology Co.,Ltd.

Address before: 6 / F, No. B5, Lane 999, Yangfan Road, Meixu street, Yinzhou District, Ningbo City, Zhejiang Province

Applicant before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant