CN110830644B - Display screen control method and device, electronic equipment and storage medium - Google Patents

Display screen control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110830644B
CN110830644B CN201910871391.7A CN201910871391A CN110830644B CN 110830644 B CN110830644 B CN 110830644B CN 201910871391 A CN201910871391 A CN 201910871391A CN 110830644 B CN110830644 B CN 110830644B
Authority
CN
China
Prior art keywords
screen
approaching
display screen
instruction
sensing data
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
CN201910871391.7A
Other languages
Chinese (zh)
Other versions
CN110830644A (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201910871391.7A priority Critical patent/CN110830644B/en
Publication of CN110830644A publication Critical patent/CN110830644A/en
Priority to PCT/CN2020/113124 priority patent/WO2021052181A1/en
Application granted granted Critical
Publication of CN110830644B publication Critical patent/CN110830644B/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
    • 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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to the technical field of mobile intelligent terminals, in particular to a display screen control method and device, electronic equipment and a storage medium. The method in one embodiment comprises: acquiring a screen brightness parameter, and generating an ultrasonic approaching function awakening instruction when the screen is in a bright screen state and a voice call control parameter exists according to the screen brightness parameter, wherein the voice call control parameter is used for controlling and executing voice call; receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data; when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.

Description

Display screen control method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of mobile intelligent terminals, in particular to a display screen control method and device, electronic equipment and a storage medium.
Background
With the development of science and technology, mobile intelligent terminals such as smart phones and tablets are widely applied to the lives of people, and the lives of people are greatly facilitated. Generally speaking, the mobile intelligent terminal is provided with a touch screen, and man-machine interaction can be carried out through the touch screen. The screen control mode in the mobile terminal is mainly to emit infrared rays through an infrared sensor, calculate the distance between the screen and a shelter according to the received infrared rays and further control the on-off of the screen.
For example, when a face approaches a mobile phone, if the infrared sensor detects that the distance between the face and the screen reaches a screen-off distance threshold, the screen is turned off; and if the infrared sensor detects that the distance between the face and the screen reaches a screen lightening distance threshold value, lightening the screen. Traditional screen control mode relies on infrared sensor to realize promptly, and when infrared sensor broke down, the screen bright close function of going out can't use, leads to the problem that there is poor stability in the close function of mobile terminal display screen like this.
Disclosure of Invention
In view of the above, it is necessary to provide a display screen control method, apparatus, electronic device, and storage medium capable of improving stability.
A display screen control method, the method comprising:
acquiring a screen brightness parameter;
when the screen is identified to be in a bright screen state and voice call control parameters exist according to the screen brightness parameters, generating an ultrasonic approaching function awakening instruction, wherein the voice call control parameters are used for controlling and executing voice call;
receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data;
when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.
In one embodiment, the method further comprises:
when the voice call control parameter is detected to be absent, a display screen approaching function awakening instruction is generated;
and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data.
In one embodiment, the method further comprises:
when the display screen approaching function failure instruction and the ultrasonic approaching function effective instruction are detected to exist, an ultrasonic approaching function awakening instruction is generated;
and receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data.
In one embodiment, the method further comprises:
acquiring real-time data in a preset register;
when the real-time data are consistent with a preset value, generating a display screen approaching function effective instruction;
and when the real-time data is inconsistent with the preset value, generating a display screen approaching function failure instruction.
In one embodiment, the method further comprises:
acquiring the recording of a microphone in real time;
when the recording comprises a preset ultrasonic frequency spectrum, generating an ultrasonic approaching function effective instruction;
and when the preset ultrasonic frequency spectrum is not included in the recording, generating an ultrasonic approaching function failure instruction.
In one embodiment, the method further comprises:
when the screen is identified to be in a screen-off state according to the screen brightness parameters, an infrared approaching function awakening instruction is generated;
and receiving the infrared proximity sensing data, and generating a third on-off screen control instruction according to the received infrared proximity sensing data.
A display screen control apparatus, the apparatus comprising:
the brightness detection module is used for acquiring a screen brightness parameter;
the ultrasonic wave approaching and awakening module is used for generating an ultrasonic wave approaching function awakening instruction when the screen is identified to be in a bright screen state and a voice call control parameter exists according to the screen brightness parameter, and the voice call control parameter is used for controlling and executing voice call;
the ultrasonic wave approaching module is used for receiving ultrasonic wave approaching sensing data and generating a first on-off screen control instruction according to the received ultrasonic wave approaching sensing data;
and the display screen approaching module is used for generating a display screen approaching function awakening instruction when detecting that the ultrasonic approaching function failure instruction exists, receiving display screen approaching sensing data, and generating a second bright-and-dark screen control instruction according to the received display screen approaching sensing data.
An electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a screen brightness parameter;
when the screen is identified to be in a bright screen state and voice call control parameters exist according to the screen brightness parameters, generating an ultrasonic approaching function awakening instruction, wherein the voice call control parameters are used for controlling and executing voice call;
receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data;
when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a screen brightness parameter;
when the screen is identified to be in a bright screen state and voice call control parameters exist according to the screen brightness parameters, generating an ultrasonic approaching function awakening instruction, wherein the voice call control parameters are used for controlling and executing voice call;
receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data;
when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.
According to the display screen control method, the display screen control device, the electronic equipment and the storage medium, the screen is controlled to be on or off by combining the ultrasonic wave approaching function and the display screen approaching function in the screen-on state, when the ultrasonic wave approaching function fails, the screen is controlled to be on or off by the display screen approaching function, so that the stability of screen control is ensured when the current state of the screen of the mobile terminal is in the screen-on state, and the ultrasonic wave approaching function is preferentially started when the current state of the screen of the mobile terminal is in the screen-on state, so that the power consumption of the mobile terminal for starting the approaching function can be reduced.
Drawings
FIG. 1 is a diagram illustrating an internal structure of a mobile terminal according to an embodiment;
FIG. 2 is a flowchart illustrating a method for controlling a display screen according to an embodiment;
FIG. 3 is a flowchart illustrating a method for controlling a display screen according to another embodiment;
FIG. 4 is a block diagram showing the structure of a display screen control device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, a mobile terminal is provided, the internal structure of which is shown in fig. 1. The terminal includes a processor, a memory, and a display screen connected by a system bus. Wherein the processor is configured to provide computational and control capabilities. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The computer program is executed by a processor to implement a display screen control method. The display of the terminal may be a touch display, such as a capacitive screen or an electronic screen.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is only a block diagram of a portion of the architecture associated with the subject application and does not constitute a limitation on the terminals to which the subject application applies, and that a particular mobile terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, as shown in fig. 2, a display screen control method is provided, which is described by taking the application of the method to the mobile terminal in fig. 1 as an example, and includes the following steps:
step 202, acquiring a screen brightness parameter.
The screen brightness parameter is used for representing the current state of the screen, and specifically may include a screen-on state and a screen-off state.
And 204, when the screen is in a bright screen state and voice call control parameters exist according to the screen brightness parameters, generating an ultrasonic approaching function awakening instruction, wherein the voice call control parameters are used for controlling and executing voice call.
Specifically, the voice call control parameter is sent by a voice call device of the mobile terminal, the voice call device of the mobile terminal comprises a microphone and an earphone, the microphone is an energy conversion device for converting a voice signal into an electric signal, namely, the voice of speaking at the side of the mobile terminal is collected; the receiver is a transducer for converting the electric signal into the sound signal, i.e. the electric signal generated by the speaking of the other party who is in communication with the mobile terminal side is converted into the sound for playing. Wherein the ultrasonic wave approaching function awakening instruction is used for starting the ultrasonic wave approaching function.
And step 206, receiving the ultrasonic proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic proximity sensing data.
The ultrasonic approaching function can be started specifically by starting the ultrasonic sensor, transmitting an ultrasonic signal through the ultrasonic sensor and receiving a reflected ultrasonic signal through the ultrasonic sensor. When the intensity of the reflected ultrasonic signal is greater than a preset threshold value, the mobile terminal is judged to be in a shielding state, and the screen is controlled to be in a screen-off state. When the intensity of the reflected ultrasonic signal is smaller than or equal to a preset threshold value, the mobile terminal is judged not to be in a shielding state, and the screen is controlled to be in a bright screen state.
And 208, when the ultrasonic approaching function failure instruction is detected, generating a display screen approaching function awakening instruction, receiving display screen approaching sensing data, and generating a second on-off screen control instruction according to the received display screen approaching sensing data.
The state of the ultrasonic wave approaching function comprises an effective state and a failure state, the effective state means that the screen on-off control of the screen can be realized through the ultrasonic wave approaching function, and the failure state means that the screen on-off control of the screen cannot be realized through the ultrasonic wave approaching function. The function of turning on the display screen to approach the display screen can be specifically achieved by turning on a TP (Touch Pad, display screen) sensor, transmitting a signal through the TP sensor, and receiving a reflected signal through the TP sensor. When the intensity of the reflected signal is larger than a preset threshold value, the mobile terminal is judged to be in a shielding state, and the screen is controlled to be in a screen-off state. And when the intensity of the reflected signal is smaller than or equal to a preset threshold value, judging that the mobile terminal is not in a shielding state, and controlling the screen to be in a bright screen state.
According to the display screen control method, the screen is controlled to be on or off by combining the ultrasonic wave approaching function and the display screen approaching function in the screen-on state, when the ultrasonic wave approaching function fails, the screen is controlled to be on or off by the display screen approaching function, so that the stability of screen control is ensured when the current state of the screen of the mobile terminal is in the screen-on state, and the ultrasonic wave approaching function is started when the current state of the screen of the mobile terminal is in the screen-on state, so that the power consumption of the mobile terminal for starting the approaching function can be reduced.
In one embodiment, the display screen control method further includes: when the voice call control parameter is detected to be absent, a display screen approaching function awakening instruction is generated; and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data. When the condition that the receiver does not work normally is detected, the screen closing control is carried out through the ultrasonic wave approaching function, power consumption generated by the mobile terminal is large, and therefore when the condition that the state of the voice call equipment is the closed state, the display screen approaching function is started, and the screen is controlled to be turned on and off through the display screen approaching function, so that energy consumption is reduced.
In one embodiment, the display screen control method further includes: when the display screen approaching function failure instruction and the ultrasonic approaching function effective instruction are detected to exist, an ultrasonic approaching function awakening instruction is generated; and receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data. Under the bright screen scene, when detecting that there is the display screen to be close the function failure instruction, can't be close the function through the display screen promptly and realize the bright screen control of going out to the screen, switch to this moment and be close the function through the ultrasonic wave and carry out bright screen control of going out to the screen to guarantee that when the display screen is close the functional failure, mobile terminal's the function of being close still can use, improves user experience degree.
In one embodiment, the display screen control method further includes: acquiring real-time data in a preset register; when the real-time data are consistent with the preset value, generating a display screen approaching function effective instruction; and when the real-time data is inconsistent with the preset value, generating a display screen approaching function failure instruction. The TP sensor corresponds to different modes under different working states, such as a normal touch mode, a black screen gesture mode and a TP proximity mode, and the setting of the modes is realized by writing different values to a fixed register, so that the method for judging whether the TP proximity function is invalid can be realized by acquiring the value of a preset register and judging whether the value is consistent with an expected value.
In one embodiment, the display screen control method further includes: acquiring the recording of a microphone in real time; when the recording comprises a preset ultrasonic frequency spectrum, generating an ultrasonic approaching function effective instruction; and when the preset ultrasonic frequency spectrum is not included in the recording, generating an ultrasonic approaching function failure instruction. The sound of the microphone can be recorded, and then the interface is called to analyze whether the recorded frequency spectrum comprises the ultrasonic frequency spectrum emitted by the ultrasonic sensor, so as to judge whether the ultrasonic approaching function is invalid.
In one embodiment, the display screen control method further includes: when the screen is identified to be in a screen-off state according to the screen brightness parameters, an infrared approaching function awakening instruction is generated; and receiving the infrared proximity sensing data, and generating a third on-off screen control instruction according to the received infrared proximity sensing data. Because in the comprehensive screen technology, the infrared sensor is generally placed below the screen, the screen on-off control is realized by using the infrared sensor in the screen on-off scene, and the problem of screen flash points can exist, the screen on-off control is realized by the infrared sensing approaching function in the screen off scene. Comparing the infrared proximity sensing data with a preset value to realize on-off screen control, and specifically, controlling the screen to be off when the real-time distance between the screen and the shielding object is less than or equal to the preset off-screen distance; and when the real-time distance between the screen and the shielding object is greater than or equal to the preset bright screen distance, controlling the screen to be bright.
In one embodiment, a display screen control method, as shown in fig. 3, includes the steps of: step 310, acquiring a screen brightness parameter; step 321, when the screen is identified to be in a bright screen state according to the screen brightness parameter and a voice call control parameter exists, generating an ultrasonic approaching function awakening instruction, wherein the voice call control parameter is used for controlling and executing voice call; step 323, receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data; step 325, when detecting that the ultrasonic wave approaching function failure instruction exists, generating a display screen approaching function awakening instruction, receiving display screen approaching sensing data, and generating a second on-off screen control instruction according to the received display screen approaching sensing data; step 327, when detecting that there is a display screen proximity function failure instruction, entering step 321 of generating an ultrasonic proximity function wake-up instruction; step 329, when detecting that no voice call control parameter exists, generating a display screen approaching function awakening instruction; receiving display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data; and 330, when the screen is identified to be in a screen-off state according to the screen brightness parameters, generating an infrared proximity function awakening instruction, receiving infrared proximity sensing data, and generating a third screen-on and screen-off control instruction according to the received infrared proximity sensing data. Therefore, the approaching function can be realized no matter the current state of the screen of the mobile terminal is in a bright screen state or a screen off state, and the ultrasonic approaching function is preferentially started when the current state of the screen of the mobile terminal is in the bright screen state, so that the power consumption of the mobile terminal for starting the approaching function can be reduced.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a display screen control apparatus including: a bright screen detection module 402, an ultrasonic proximity wakeup module 404, an ultrasonic proximity module 406, and a display screen proximity module 408. And the brightness detection module is used for acquiring the screen brightness parameters. And the ultrasonic wave approaching and awakening module is used for generating an ultrasonic wave approaching function awakening instruction when the screen is identified to be in a bright screen state and a voice call control parameter exists according to the screen brightness parameter, and the voice call control parameter is used for controlling and executing the voice call. And the ultrasonic wave approaching module is used for receiving the ultrasonic wave approaching sensing data and generating a first on-off screen control instruction according to the received ultrasonic wave approaching sensing data. And the display screen approaching module is used for generating a display screen approaching function awakening instruction when detecting that the ultrasonic approaching function failure instruction exists, receiving display screen approaching sensing data, and generating a second bright-and-dark screen control instruction according to the received display screen approaching sensing data.
In one embodiment, the display screen control apparatus further comprises: the proximity selection module is used for generating a display screen proximity function awakening instruction when the voice call control parameter is detected to be absent; and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data.
In one embodiment, the display screen control device further comprises a display screen proximity failure module, configured to generate an ultrasonic proximity function wake-up instruction when detecting that the display screen proximity function failure instruction and the ultrasonic proximity function valid instruction exist; and receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data.
In one embodiment, the display screen control device further comprises a display screen approach instruction generation module, configured to obtain real-time data in a preset register; when the real-time data are consistent with the preset value, generating a display screen approaching function effective instruction; and when the real-time data is inconsistent with the preset value, generating a display screen approaching function failure instruction.
In one embodiment, the display screen control device further comprises an ultrasonic approach instruction generation module for acquiring the recording of the microphone in real time; when the recording comprises a preset ultrasonic frequency spectrum, generating an ultrasonic approaching function effective instruction; and when the preset ultrasonic frequency spectrum is not included in the recording, generating an ultrasonic approaching function failure instruction.
In one embodiment, the display screen control device further comprises a screen-off processing module, configured to generate an infrared proximity function wake-up instruction when the screen is identified to be in a screen-off state according to the screen brightness parameter; and receiving the infrared proximity sensing data, and generating a third on-off screen control instruction according to the received infrared proximity sensing data.
For specific limitations of the display screen control device, reference may be made to the above limitations of the display screen control method, which are not described herein again. The modules in the display screen control device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring a screen brightness parameter, and generating an ultrasonic approaching function awakening instruction when the screen is in a bright screen state and a voice call control parameter exists according to the screen brightness parameter, wherein the voice call control parameter is used for controlling and executing voice call; receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data; when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: when the voice call control parameter is detected to be absent, a display screen approaching function awakening instruction is generated; and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: when the display screen approaching function failure instruction and the ultrasonic approaching function effective instruction are detected to exist, an ultrasonic approaching function awakening instruction is generated; and receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring real-time data in a preset register; when the real-time data are consistent with the preset value, generating a display screen approaching function effective instruction; and when the real-time data is inconsistent with the preset value, generating a display screen approaching function failure instruction.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: acquiring the recording of a microphone in real time; when the recording comprises a preset ultrasonic frequency spectrum, generating an ultrasonic approaching function effective instruction; and when the preset ultrasonic frequency spectrum is not included in the recording, generating an ultrasonic approaching function failure instruction.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: when the screen is identified to be in a screen-off state according to the screen brightness parameters, an infrared approaching function awakening instruction is generated; and receiving the infrared proximity sensing data, and generating a third on-off screen control instruction according to the received infrared proximity sensing data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a screen brightness parameter, and generating an ultrasonic approaching function awakening instruction when the screen is in a bright screen state and a voice call control parameter exists according to the screen brightness parameter, wherein the voice call control parameter is used for controlling and executing voice call; receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data; when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: when the voice call control parameter is detected to be absent, a display screen approaching function awakening instruction is generated; and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: when the display screen approaching function failure instruction and the ultrasonic approaching function effective instruction are detected to exist, an ultrasonic approaching function awakening instruction is generated; and receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring real-time data in a preset register; when the real-time data are consistent with the preset value, generating a display screen approaching function effective instruction; and when the real-time data is inconsistent with the preset value, generating a display screen approaching function failure instruction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring the recording of a microphone in real time; when the recording comprises a preset ultrasonic frequency spectrum, generating an ultrasonic approaching function effective instruction; and when the preset ultrasonic frequency spectrum is not included in the recording, generating an ultrasonic approaching function failure instruction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: when the screen is identified to be in a screen-off state according to the screen brightness parameters, an infrared approaching function awakening instruction is generated; and receiving the infrared proximity sensing data, and generating a third on-off screen control instruction according to the received infrared proximity sensing data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A display screen control method, the method comprising:
acquiring a screen brightness parameter;
when the screen is identified to be in a bright screen state according to the screen brightness parameter and a voice call control parameter exists, generating an ultrasonic approaching function awakening instruction, wherein the voice call control parameter is sent by voice call equipment of the mobile terminal and is used for controlling and executing voice call, and when the voice call control parameter exists, the state of the voice call equipment at the moment is represented to be in an open state;
receiving ultrasonic wave proximity sensing data, and generating a first screen on-off control instruction according to the received ultrasonic wave proximity sensing data;
when the ultrasonic approaching function failure instruction is detected, a display screen approaching function awakening instruction is generated, display screen approaching sensing data is received, and a second on-off screen control instruction is generated according to the received display screen approaching sensing data.
2. The method of claim 1, further comprising:
when the voice call control parameter is detected to be absent, a display screen approaching function awakening instruction is generated;
and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data.
3. The method of claim 2, further comprising:
when the display screen approaching function failure instruction and the ultrasonic approaching function effective instruction are detected to exist, an ultrasonic approaching function awakening instruction is generated;
and receiving ultrasonic wave proximity sensing data, and generating a first on-off screen control instruction according to the received ultrasonic wave proximity sensing data.
4. The method of claim 3, further comprising:
acquiring real-time data in a preset register;
when the real-time data are consistent with a preset value, generating a display screen approaching function effective instruction;
and when the real-time data is inconsistent with the preset value, generating a display screen approaching function failure instruction.
5. The method of claim 1, further comprising:
acquiring the recording of a microphone in real time;
when the recording comprises a preset ultrasonic frequency spectrum, generating an ultrasonic approaching function effective instruction;
and when the preset ultrasonic frequency spectrum is not included in the recording, generating an ultrasonic approaching function failure instruction.
6. The method of claim 1, further comprising:
when the screen is identified to be in a screen-off state according to the screen brightness parameters, an infrared approaching function awakening instruction is generated;
and receiving the infrared proximity sensing data, and generating a third bright screen control instruction according to the received infrared proximity sensing data.
7. A display screen control apparatus, characterized in that the apparatus comprises:
the brightness detection module is used for acquiring a screen brightness parameter;
the ultrasonic wave approaching and awakening module is used for generating an ultrasonic wave approaching function awakening instruction when the screen is identified to be in a bright screen state according to the screen brightness parameter and a voice call control parameter exists, the voice call control parameter is sent out by voice call equipment of the mobile terminal and is used for controlling execution of voice call, and when the voice call control parameter exists, the state of the voice call equipment at the moment is represented to be in an open state;
the ultrasonic wave approaching module is used for receiving ultrasonic wave approaching sensing data and generating a first on-off screen control instruction according to the received ultrasonic wave approaching sensing data;
and the display screen approaching module is used for generating a display screen approaching function awakening instruction when detecting that the ultrasonic approaching function failure instruction exists, receiving display screen approaching sensing data, and generating a second bright-and-dark screen control instruction according to the received display screen approaching sensing data.
8. The apparatus of claim 7, further comprising: the proximity selection module is used for generating a display screen proximity function awakening instruction when the voice call control parameter is detected to be absent; and receiving the display screen proximity sensing data, and generating a second on-off screen control instruction according to the received display screen proximity sensing data.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910871391.7A 2019-09-16 2019-09-16 Display screen control method and device, electronic equipment and storage medium Active CN110830644B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910871391.7A CN110830644B (en) 2019-09-16 2019-09-16 Display screen control method and device, electronic equipment and storage medium
PCT/CN2020/113124 WO2021052181A1 (en) 2019-09-16 2020-09-03 Display screen control method and apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910871391.7A CN110830644B (en) 2019-09-16 2019-09-16 Display screen control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110830644A CN110830644A (en) 2020-02-21
CN110830644B true CN110830644B (en) 2021-04-20

Family

ID=69547984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910871391.7A Active CN110830644B (en) 2019-09-16 2019-09-16 Display screen control method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110830644B (en)
WO (1) WO2021052181A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830644B (en) * 2019-09-16 2021-04-20 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium
CN113746984A (en) * 2020-05-13 2021-12-03 中兴通讯股份有限公司 Terminal, proximity detection method, and computer-readable storage medium
CN112116803B (en) * 2020-09-04 2022-02-22 北京小米移动软件有限公司 Information processing method and device, electronic device and storage medium
CN114513573A (en) * 2020-11-16 2022-05-17 深圳市万普拉斯科技有限公司 Screen control method and device, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002168836A (en) * 2000-12-01 2002-06-14 Hitachi Kenki Fine Tech Co Ltd Method and apparatus for ultrasonic image inspection
CN104935749A (en) * 2015-06-23 2015-09-23 惠州Tcl移动通信有限公司 Mobile terminal and method for turning off screen during calling through microphone
CN105282320A (en) * 2015-06-16 2016-01-27 维沃移动通信有限公司 Control method of terminal and terminal
CN105391853A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Voice call control method and voice call control device
CN105425685A (en) * 2015-12-30 2016-03-23 青岛歌尔声学科技有限公司 Dual-sensor signal acquisition circuit
CN105827801A (en) * 2015-08-28 2016-08-03 维沃移动通信有限公司 Control method of terminal screen and terminal
CN106131334A (en) * 2016-07-11 2016-11-16 广东欧珀移动通信有限公司 Control the method and device of mobile terminal screen state
CN106200989A (en) * 2016-09-08 2016-12-07 广东小天才科技有限公司 A kind of method and device of mobile terminal bright screen
CN106790955A (en) * 2016-11-25 2017-05-31 北京小米移动软件有限公司 Terminal control method and device
CN107682558A (en) * 2017-10-26 2018-02-09 维沃移动通信有限公司 A kind of screen control method and mobile terminal
CN107943267A (en) * 2017-11-21 2018-04-20 北京小米移动软件有限公司 A kind of method and apparatus for controlling screen
CN108829542A (en) * 2018-06-20 2018-11-16 Oppo广东移动通信有限公司 Mobile terminal and its control method, storage medium
CN109358755A (en) * 2018-11-12 2019-02-19 Oppo(重庆)智能科技有限公司 Gesture detecting method, device and mobile terminal for mobile terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202750176U (en) * 2012-08-25 2013-02-20 深圳军安科技发展有限公司 3G wireless communication based remote video monitoring system
KR20180021532A (en) * 2016-08-22 2018-03-05 엘지전자 주식회사 Mobile terminal
CN106412243B (en) * 2016-09-05 2019-08-30 努比亚技术有限公司 A kind of method and terminal of monitoring distance inductor exception
US10340968B1 (en) * 2018-05-18 2019-07-02 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN108965583B (en) * 2018-06-15 2021-03-09 Oppo广东移动通信有限公司 Proximity detection method and related equipment
CN108958604B (en) * 2018-06-28 2020-12-29 努比亚技术有限公司 Interaction control method, mobile terminal and computer readable storage medium
CN109388285A (en) * 2018-09-25 2019-02-26 Oppo广东移动通信有限公司 Proximity test mode switching method, device, electronic equipment and storage medium
CN109542279B (en) * 2018-10-30 2022-08-26 维沃移动通信有限公司 Terminal device control method and terminal device
CN110830644B (en) * 2019-09-16 2021-04-20 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002168836A (en) * 2000-12-01 2002-06-14 Hitachi Kenki Fine Tech Co Ltd Method and apparatus for ultrasonic image inspection
CN105282320A (en) * 2015-06-16 2016-01-27 维沃移动通信有限公司 Control method of terminal and terminal
CN104935749A (en) * 2015-06-23 2015-09-23 惠州Tcl移动通信有限公司 Mobile terminal and method for turning off screen during calling through microphone
CN105827801A (en) * 2015-08-28 2016-08-03 维沃移动通信有限公司 Control method of terminal screen and terminal
CN105391853A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Voice call control method and voice call control device
CN105425685A (en) * 2015-12-30 2016-03-23 青岛歌尔声学科技有限公司 Dual-sensor signal acquisition circuit
CN106131334A (en) * 2016-07-11 2016-11-16 广东欧珀移动通信有限公司 Control the method and device of mobile terminal screen state
CN106200989A (en) * 2016-09-08 2016-12-07 广东小天才科技有限公司 A kind of method and device of mobile terminal bright screen
CN106790955A (en) * 2016-11-25 2017-05-31 北京小米移动软件有限公司 Terminal control method and device
CN107682558A (en) * 2017-10-26 2018-02-09 维沃移动通信有限公司 A kind of screen control method and mobile terminal
CN107943267A (en) * 2017-11-21 2018-04-20 北京小米移动软件有限公司 A kind of method and apparatus for controlling screen
CN108829542A (en) * 2018-06-20 2018-11-16 Oppo广东移动通信有限公司 Mobile terminal and its control method, storage medium
CN109358755A (en) * 2018-11-12 2019-02-19 Oppo(重庆)智能科技有限公司 Gesture detecting method, device and mobile terminal for mobile terminal

Also Published As

Publication number Publication date
CN110830644A (en) 2020-02-21
WO2021052181A1 (en) 2021-03-25

Similar Documents

Publication Publication Date Title
CN110830644B (en) Display screen control method and device, electronic equipment and storage medium
RU2615320C2 (en) Method, apparatus and terminal device for image processing
CN108363557B (en) Human-computer interaction method and device, computer equipment and storage medium
CN104765559A (en) Misoperation preventing method
CN107220058A (en) The realization method and system of Business Rule Engine
WO2020172991A1 (en) Terminal unlocking method and terminal
CN110753154A (en) Control method and device of mobile terminal, electronic equipment and storage medium
JP7397861B2 (en) Stylus pen detection method, system and related equipment
US10951754B2 (en) Method for responding to incoming call by means of fingerprint recognition, storage medium, and mobile terminal
CN111464992A (en) Power-saving control method, device and system based on intelligent garbage can
US11620995B2 (en) Voice interaction processing method and apparatus
CN108665889B (en) Voice signal endpoint detection method, device, equipment and storage medium
CN102075603B (en) Mobile communication terminal and incoming call prompting method thereof
CN104777902A (en) Screen state control method
CN110727821A (en) Method, apparatus, system and computer storage medium for preventing device from being awoken by mistake
CN107197090A (en) The method of reseptance and mobile terminal of a kind of voice signal
CN114879894B (en) Function starting method, user interface and electronic equipment
CN113671846A (en) Intelligent device control method and device, wearable device and storage medium
CN110290348A (en) A kind of smart electronics opal and its awakening method, device
CN110460700A (en) The control method and device of display screen, electronic equipment, storage medium
CN105549376A (en) Terminal alarm clock control method and device
CN111665985A (en) Touch sampling control method, device, terminal and storage medium
CN110634253B (en) Doorbell abnormity warning method and related products
CN111986670A (en) Voice control method, device, electronic equipment and computer readable storage medium
CN104778039A (en) Terminal

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