[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116320142A - Display control method, display control device, electronic equipment and computer storage medium - Google Patents

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

Info

Publication number
CN116320142A
CN116320142A CN202111566818.6A CN202111566818A CN116320142A CN 116320142 A CN116320142 A CN 116320142A CN 202111566818 A CN202111566818 A CN 202111566818A CN 116320142 A CN116320142 A CN 116320142A
Authority
CN
China
Prior art keywords
module
information
angle
display
display state
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.)
Pending
Application number
CN202111566818.6A
Other languages
Chinese (zh)
Inventor
金潇枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111566818.6A priority Critical patent/CN116320142A/en
Publication of CN116320142A publication Critical patent/CN116320142A/en
Pending legal-status Critical Current

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
    • 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

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

Abstract

The embodiment of the application discloses a display control method, a display control device, electronic equipment and a computer storage medium, wherein the method comprises the following steps: acquiring first information determined by a camera module and acquiring a rotation angle of electronic equipment; the method comprises the steps that under the condition that a target object exists in a shooting range of a first information representation shooting module and the rotation angle is larger than a first angle threshold value, second information is sent to a front processing module; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module; under the condition that the included angle is larger than a second angle threshold or is continuously increased and the rotation angle is larger than a third angle threshold, the display state of the display module is converted from the first display state to the second display state; the third angle threshold is greater than the first angle threshold.

Description

Display control method, display control device, electronic equipment and computer storage medium
Technical Field
Embodiments of the present disclosure relate to, but are not limited to, electronic technologies, and in particular, to a display control method, apparatus, electronic device, and computer storage medium.
Background
The screen rotation means that when electronic equipment such as a mobile phone is vertical to the horizontal, in order to be more friendly when a user uses the mobile phone, the user always keeps to watch the screen in the front, and the user does not need to rotate along with the rotation of the mobile phone, so that the mobile phone can be conveniently used by the user.
However, the screen rotation in the related art is difficult to be combined with the actual demands of the user, for example, the electronic device is rotated in case that the user does not need the screen rotation, or the electronic device is not rotated in case that the user needs the screen rotation, thereby being disadvantageous to the user's convenience.
Disclosure of Invention
The embodiment of the application provides a display control method, a display control device, electronic equipment and a computer storage medium.
In a first aspect, an embodiment of the present application provides a display control method, including:
acquiring first information determined by a camera module and acquiring a rotation angle of electronic equipment;
transmitting second information to a preprocessing module under the condition that the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold value; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module;
Under the condition that the included angle is larger than a second angle threshold or is continuously increased and the rotation angle is larger than a third angle threshold, the display state of the display module is converted from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
In a second aspect, an embodiment of the present application provides a display control apparatus, including:
the acquisition unit is used for acquiring the first information determined by the camera module and acquiring the rotation angle of the electronic equipment;
the transmission unit is used for transmitting second information to the front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold value; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module;
the conversion unit is used for converting the display state of the display module from a first display state to a second display state under the condition that the included angle is determined to be larger than a second angle threshold or is continuously increased and the rotation angle is determined to be larger than a third angle threshold; the third angle threshold is greater than the first angle threshold.
In a third aspect, an embodiment of the present application provides an electronic device, including: the device comprises a processing module, a camera module, a preprocessing module and a display module; wherein,,
the processing module is used for obtaining the first information determined by the camera module and obtaining the rotation angle of the electronic equipment;
the processing module is further configured to send second information to the preprocessing module when the first information characterizes that a target object exists in a shooting range of the camera module and the rotation angle is greater than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module;
the processing module is further configured to switch the display state of the display module from the first display state to the second display state when it is determined that the included angle is greater than the second angle threshold or continuously increases and the rotation angle is greater than the third angle threshold; the third angle threshold is greater than the first angle threshold.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing one or more programs executable by one or more processing modules to implement the steps in the above methods.
In the embodiment of the application, when a target object exists in the shooting range of the first information representation shooting module and the rotation angle is larger than a first angle threshold value, second information is sent to the preprocessing module; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module; under the condition that the included angle is larger than a second angle threshold or is continuously increased and the rotation angle is larger than a third angle threshold, the display state of the display module is converted from the first display state to the second display state; the third angle threshold is greater than the first angle threshold. Therefore, the AON function can be started under the condition that the target object exists before the electronic equipment is determined, the rotation angle of the electronic equipment is larger than the first angle threshold value, the included angle between the face of the target object and the display module is further determined, and the display state of the display module is converted, so that the AON function can not be continuously started by the preprocessing module, the power consumption of the electronic equipment is reduced, in addition, the screen rotation can be performed under the condition that the user is determined to need to rotate the screen, and the convenience in use of the user is facilitated.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application.
Fig. 1 is a schematic flow chart of a display control method according to an embodiment of the present application;
fig. 2 is a flow chart of another display control method according to an embodiment of the present application;
fig. 3 is a flow chart of another display control method according to an embodiment of the present application;
fig. 4 is a flow chart of another display control method according to an embodiment of the present application;
fig. 5 is a flow chart of a display control method according to another embodiment of the present application;
fig. 6 is a flow chart of a display control method according to another embodiment of the present application;
fig. 7 is a flow chart of a display control method according to still another embodiment of the present disclosure;
fig. 8 is a schematic diagram of a display control flow provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of another display control procedure according to an embodiment of the present disclosure;
FIG. 10 is a flowchart illustrating another display control method according to another embodiment of the present disclosure;
Fig. 11 is a schematic diagram of a composition structure of a display control device according to an embodiment of the present application;
fig. 12 is a schematic hardware entity diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application will be specifically described below by way of examples and with reference to the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
It should be noted that: in the examples of this application, "first," "second," etc. are used to distinguish similar objects and not necessarily to describe a particular order or precedence.
In addition, the embodiments described in the present application may be arbitrarily combined without any collision. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The screen rotation can be to dynamically adjust the content displayed in the screen according to the state of the electronic equipment such as the mobile phone, for example, when the mobile phone is in a vertical state, the content in the mobile phone is also vertically arranged; when the mobile phone is in a horizontal state, the content in the mobile phone is changed into horizontal arrangement.
The screen rotation technology in the related art is to analyze a series of sensor parameters such as a gravity sensor, a gyroscope, a light sensor and the like to judge whether the current state of the mobile phone is changed, and if the state of the mobile phone is changed from a horizontal screen to a vertical screen or from the vertical screen to the horizontal screen, the screen rotation of the mobile phone is controlled.
The screen rotation flow in the related art is as follows: the processing module of the mobile phone continuously receives parameters sent by components such as a light sensor, a gravity sensor, a gyroscope and the like. And the current mobile phone state is judged by calculating the parameters and comparing the parameters with the data obtained by previous experiments under different scenes. And triggering the mobile phone to rotate the screen once the state of the mobile phone is judged to be changed.
In a related technical scheme, a processing module of the mobile phone obtains the current state of the mobile phone by analyzing various sensor parameters on the mobile phone, and once the state of the mobile phone is detected to change (for example, the conversion from a horizontal screen to a vertical screen or vice versa), the screen is triggered to rotate. The scheme of triggering rotation by only analyzing the state of the mobile phone is not combined with the actual user requirement, because in many cases, the state of the mobile phone is changed and does not represent that the user wants to rotate the screen, and the user can only trigger the screen by mistake in the motion state, but the original purpose of the screen rotation technology is to bring convenience in use to the user, the related technology does not consider the requirement of the user, and the scheme of rotating the mobile phone only according to the state of the mobile phone can cause a series of rotations which do not meet the expected requirement of the user, and obviously, the scheme in the related technology cannot meet the requirement of the user.
The embodiment of the application provides a method for intelligent rotation control of a screen based On Always On (AON), which mainly aims at utilizing the AON function to detect and identify the face, and enables the mobile phone screen to intelligently rotate according to the user demand by combining and analyzing the change of the included angle between the face and the screen and the change of the parameters of a mobile phone sensor.
The electronic device in the embodiment of the application may include one or a combination of at least two of the following: personal digital processing (Personal Digital Assistant, PDA), handheld device with wireless communication capability, computing device or other processing device connected to a wireless modem, server, mobile phone (mobile phone), tablet (Pad), computer with wireless transceiver capability, palm computer, desktop computer, personal digital assistant, portable media player, smart box, navigation device, smart watch, smart glasses, smart necklace or other wearable device, pedometer, digital TV, virtual Reality (VR) terminal device, augmented Reality (Augmented Reality, AR) terminal device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned aerial vehicle (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart city), wireless terminal in smart home (smart home) and car networking system, car-mounted device, car-mounted modem (modem module), wireless terminal (CPE) 23, smart home appliance, etc.
Fig. 1 is a flow chart of a display control method according to an embodiment of the present application, as shown in fig. 1, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
s101, obtaining first information determined by the camera module and obtaining a rotation angle of the electronic equipment.
The first information may represent whether a target object exists in a shooting range of the camera module.
The camera module in the electronic device may periodically or aperiodically send the first information to the processing module of the electronic device, so that the processing module may periodically or aperiodically acquire each piece of the first information.
At least one of the light sensor, the gravity sensor and the gyroscope in the electronic device can periodically or aperiodically send the detected information to the processing module of the electronic device, so that the processing module can determine the rotation angle of the electronic device based on the information detected by at least one of the light sensor, the gravity sensor and the gyroscope. The light sensor can be used for detecting the brightness of the environment, the gravity sensor can be used for detecting the inclination angle of the electronic equipment relative to the horizontal plane or the vertical direction, and the gyroscope is used for detecting the angle change information of the electronic equipment.
In other embodiments, the processing module may periodically or aperiodically read the detected information from the camera module, and from at least one of the light sensor, the gravity sensor, and the gyroscope.
The rotation angle of the electronic device may be a change angle of the electronic device during or after the rotation process, compared to the electronic device before the rotation. For example, in a case where the length direction (or the width direction) of the electronic device before rotation is parallel to the vertical direction, or an angle with the vertical direction is less than or equal to a target angle, it may be determined that the electronic device is in a portrait screen state. For another example, when the length direction (or width direction) of the electronic device before rotation is perpendicular to the vertical direction, or an angle between the electronic device and the vertical direction is greater than or equal to 90 degrees minus the target angle and less than or equal to 90 degrees plus the target angle, it may be determined that the electronic device is in the landscape screen state. The rotation angle of the electronic device may be determined based on an angle between a length direction (or a width direction) and a vertical direction of the electronic device.
The camera module may obtain a particular image, which may be an image having a pixel size smaller than the target pixel size. The pixel size of the particular image may be smaller than the pixel size of the target image. The camera module can analyze the specific image to determine whether a target object exists in the shooting range of the camera module. Therefore, whether a target object exists in the shooting range of the shooting module or not can be automatically determined through the shooting module according to the shot specific image with the smaller pixel size, and the participation of other processing modules is not needed, so that the power consumption of the electronic equipment can be reduced. In some embodiments, the target object is determined to exist in the shooting range of the shooting module under the condition that the face outline or the face shape can be determined through the pixel information of the pixel points in the specific image. The pixels in the specific image can be very sparse, so that whether a target object exists in the shooting range of the shooting module can be determined through small calculation amount based on the specific image with sparse pixels.
The camera module may send a first value to the processing module if it is determined that the first information characterizes that the target object exists in the shooting range of the camera module, and send a second value to the processing module if it is determined that the first information characterizes that the target object does not exist in the shooting range of the camera module.
The target object may be a person or any other object capable of viewing content displayed by a display module of the electronic device.
In some embodiments, the period of sending the first information configured by the camera module and/or the period of sending the detected information configured by at least one of the light sensor, the gravity sensor and the gyroscope may be preconfigured in the camera module and/or the at least one of the light sensor, the gravity sensor and the gyroscope, so that the camera module and/or the at least one of the light sensor, the gravity sensor and the gyroscope may send the detected information to the processing module based on the preconfigured period.
In other embodiments, the processing device may configure the period of sending the first information to the camera module and/or the processing device may configure the period of sending the detected information to at least one of the light sensor, the gravity sensor, the gyroscope. For example, in a case where the processing device determines that the remaining power of the electronic device is less than the power threshold, or determines that the electronic device turns on the power saving mode, it may be determined that the period of the configuration is large.
In some embodiments, the processing module may obtain the first information determined by the image capturing module and obtain the rotation angle of the electronic device when it is determined that the electronic device is in the open screen state. In other embodiments, the electronic device may obtain the first information determined by the camera module and obtain the rotation angle of the electronic device if it is determined that the electronic device is using the application of the preset type. The preset type of application may be an application that is capable of being displayed across a screen during use. For example, the preset types of applications may include: weChat, video playback class applications, video talk class applications, web browsing class applications, and the like.
In some embodiments, the processing module may send first designation information to the camera module and/or at least one of the light sensor, the gravity sensor, and the gyroscope, where the designation information is used to instruct stopping detection, if it is determined that the electronic device is in the off-screen state, or if a preset type of application is not being used. And the processing device sends second specified information to the camera module and/or at least one of the light sensor, the gravity sensor and the gyroscope when determining that the electronic device is in an open screen state or a preset type of application is being used, wherein the specified information is used for indicating to start detection.
S102, sending second information to a front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module.
The first angle threshold may be in the range of 30 degrees to 60 degrees. For example, the first angle threshold may be 30 degrees, 45 degrees, or 60 degrees.
The preprocessing module can respond to the second information, start the normally open AON function, and under the condition that the AON function is started, the preprocessing module can instruct the camera module to shoot the target image once every preset time interval, and the preprocessing module can determine the included angle between the face of the target object and the display module based on the acquired target image.
The pixel size of the target image may be smaller than the specific pixel size. In some embodiments, the preprocessing module may detect a face frame in the target image, and determine an angle between the face of the target object and the display module based on a position of the face frame in the target image. In other embodiments, the preprocessing module may detect the positions of the eyes, hair, nose, mouth, ears, etc. in the target image, and determine the included angle between the face of the target object and the display module.
The preprocessing module can determine an included angle every other preset time length, and then sends the determined included angle to the processing module.
S103, under the condition that the included angle is larger than a second angle threshold or is continuously increased, and the rotation angle is larger than a third angle threshold, converting the display state of the display module from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
The second angle threshold may be a value greater than or equal to 30 degrees and less than or equal to 90 degrees. For example, the second angle threshold may be 30 degrees, 45 degrees, 60 degrees, 75 degrees, or 90 degrees. In some embodiments, the second angle threshold may be smaller than 90 degrees, so that the display state of the display module is converted from the first display state to the second display state in the rotation process of the electronic device, and switching of the display state of the display module is smoother.
In some embodiments, the first display state may be a portrait display state and the second display state may be a landscape display state. In other embodiments, the first display state may be a landscape display state and the second display state may be a portrait display state.
The processing module may send the content to be displayed to the image conversion module, so that the image conversion module converts the display state from the first display state to the second display state, and outputs the content in the second display state to the display module, so that the display module switches from displaying the content in the first display state to displaying the content in the second display state. The image conversion module may include a graphics processor (Graphics Processing Unit, GPU), among other things.
In the embodiment of the application, when a target object exists in the shooting range of the first information representation shooting module and the rotation angle is larger than a first angle threshold value, second information is sent to the preprocessing module; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module; under the condition that the included angle is larger than a second angle threshold or is continuously increased and the rotation angle is larger than a third angle threshold, the display state of the display module is converted from the first display state to the second display state; the third angle threshold is greater than the first angle threshold. Therefore, the AON function can be started under the condition that the target object exists before the electronic equipment is determined, the rotation angle of the electronic equipment is larger than the first angle threshold value, the included angle between the face of the target object and the display module is further determined, and the display state of the display module is converted, so that the AON function can not be continuously started by the preprocessing module, the power consumption of the electronic equipment is reduced, in addition, the screen rotation can be performed under the condition that the user is determined to need to rotate the screen, and the convenience in use of the user is facilitated.
Fig. 2 is a flow chart of another display control method provided in the embodiment of the present application, as shown in fig. 2, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
s201, obtaining first information determined by the camera module and obtaining a rotation angle of the electronic device.
S202, sending second information to a front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module.
S203, under the condition that the included angle is larger than a second angle threshold or is continuously increased, and the rotation angle is larger than a third angle threshold, converting the display state of the display module from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
S204, when the included angle is smaller than or equal to the second angle threshold or gradually reduced, and the rotation angle is larger than the third angle threshold, the display state of the display module is kept in the first display state.
Fig. 3 is a flowchart of another display control method according to an embodiment of the present application, as shown in fig. 3, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
s301, obtaining first information determined by the camera module and obtaining a rotation angle of the electronic device.
S302, sending second information to a front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module.
S303, under the condition that the included angle is larger than a second angle threshold or is continuously increased, and the rotation angle is larger than a third angle threshold, converting the display state of the display module from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
In some embodiments, S305 may be performed after S303.
And S304, when the included angle is smaller than or equal to the second angle threshold or the included angle is gradually reduced and the rotation angle is larger than the third angle threshold, keeping the display state of the display module in the first display state.
In some embodiments, S305 may be performed after S304.
S305, sending third information to the preprocessing module; the third information is used for indicating the preprocessing module to close the AON function; and under the condition that the AON function is closed, the preprocessing module controls the image pickup module to stop shooting the target image.
It can be appreciated that in the event that the AON function is off, the camera module will take a particular image to determine the first information. Under the condition that the AON function is started, the camera module shoots a target image, so that the preprocessing module determines an included angle based on the target image.
In the embodiment of the application, the AON function can be closed under the condition that whether the included angle is larger than the second angle threshold value is determined by opening the normally open AON function, so that the situation that the power consumption of the electronic equipment is increased due to the fact that the AON function is opened for a long time is avoided.
Fig. 4 is a flowchart of another display control method according to an embodiment of the present application, as shown in fig. 4, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
S401, obtaining first information determined by the camera module and obtaining a rotation angle of the electronic device.
S402, sending second information to a front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module.
S403, under the condition that the included angle is larger than a second angle threshold or is continuously increased, and the rotation angle is larger than a third angle threshold, converting the display state of the display module from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
In some embodiments, S403 may be followed by S404.
S404, starting a timer of the target duration.
The target duration may be a preconfigured duration, or the target duration may be flexibly determined based on a current operating condition of the electronic device. For example, in some embodiments, the processing module may determine the target duration based on whether the current time is evening or morning. In the case where the current time is evening or morning, it is indicated that it is possible for the user to lie in the bed to play the electronic device, and thus the target period that can be configured is long. In other embodiments, the processing module may determine whether the usage scenario of the electronic device is a room or bedroom, where the usage scenario is a room or bedroom, indicating that the user is likely to lie in a bed to play the electronic device, and thus the target time period that may be configured is longer.
S405 and/or S406 may be performed after S404.
And S405, when the included angle is smaller than or equal to the second angle threshold value and the rotation angle is larger than the third angle threshold value in the running period of the timer, switching the display state of the display module from the second display state to the first display state, and sending third information to the preprocessing module.
In some implementation scenarios, the user needs to lie in a bed to use the electronic device, or needs to continue to use the electronic device after getting up, and after the user rotates the electronic device by an angle greater than the third angle threshold, but the face does not follow the rotation of the electronic device, so the electronic device can switch the display state of the display module from the first display state to the second display state, at this time, the electronic device does not immediately turn off the AON function, but predicts that the user will use the electronic device next, so the electronic device can start a timer of a target duration, and in the case that the face rotates to the front of the electronic device during the operation of the timer, the display state of the display module is switched from the second display state to the first display state.
S406, when the included angle is determined to be larger than the second angle threshold value and the rotation angle is determined to be larger than a third angle threshold value during the running of the timer, sending the third information to the preprocessing module.
Wherein the third information is used for indicating the preprocessing module to close the AON function; and under the condition that the AON function is closed, the preprocessing module controls the image pickup module to stop shooting the target image.
Fig. 5 is a flowchart of a display control method according to another embodiment of the present application, as shown in fig. 5, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
s501, obtaining first information determined by a camera module and obtaining a rotation angle of electronic equipment;
s502, obtaining the ambient light brightness detected by the light sensor under the condition that the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold.
S503, determining an image enhancement parameter based on the environment light brightness information when the environment light brightness is less than or equal to a light brightness threshold value.
Under the condition that the ambient light brightness is larger than the brightness threshold, the definition of the target image meets the requirement, and the shot target image does not need to be subjected to image enhancement. In the case where the ambient light level is less than or equal to the light level threshold, the face portion is not easily recognized, and therefore, the image enhancement processing can be performed on the target image using the image enhancement parameters.
And under the condition that the ambient light brightness is less than or equal to the brightness threshold value, different ambient light brightness has different image enhancement parameters. For example, one ambient light level is within a first light level range, the determined image enhancement parameter is a first image enhancement parameter, the other ambient light level is within a second light level range, the determined image enhancement parameter is a second image enhancement parameter, and the first image enhancement parameter and the second image enhancement parameter may be different. In some embodiments, the processing module may obtain a mapping relationship between the plurality of luminance ranges and the plurality of image enhancement parameters, thereby determining, based on the mapping relationship, an image enhancement parameter corresponding to the obtained ambient light luminance. The plurality of luminance ranges may be in one-to-one correspondence with the plurality of image enhancement parameters.
The image enhancement parameters may include at least one of: image signal processing (Image Signal Process, ISP) lightening parameters, night scene lightening parameters.
S504, sending second information and fourth information to the preprocessing module; and the fourth information indicates the preprocessing module to process the target image shot by the shooting module by adopting the image enhancement parameters, and the included angle is determined based on the processed image.
In this way, the image enhancement parameters are adopted to process the target image shot by the shooting module, so that a clearer facial image can be obtained, and the accuracy of the determined included angle is improved.
S505, under the condition that the included angle is determined to be larger than a second angle threshold or is continuously increased, and the rotation angle is determined to be larger than a third angle threshold, converting the display state of the display module from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
Fig. 6 is a flowchart of a display control method according to another embodiment of the present application, as shown in fig. 6, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
s601, when the first information determined based on the first configuration information characterizes that a target object exists in a shooting range of the shooting module and fifth information sent by the preprocessing module is received, second configuration information for identifying the target object is sent to the shooting module; the fifth information indicates that the target object is not present in the image capturing module.
S602, obtaining the first information determined by the camera module based on the second configuration information, and obtaining the rotation angle of the electronic equipment.
The first configuration information and the second configuration information may include a target object recognition model, and in the case where the image capturing module obtains the specific image, the specific image may be input to the target object recognition model, thereby determining whether the target object exists in the specific image based on the target object recognition model.
In this way, in the case where it is determined by the first configuration information that the recognition result of the target object is inaccurate, it is possible to determine whether the recognition result of the target object is present by the second configuration information.
The second configuration information may be obtained by modifying the first configuration information. The second configuration information may be obtained through user input.
In some embodiments, the first configuration information may indicate that the resolution of the particular image is a first resolution and the second configuration information may indicate that the resolution of the particular image is a second resolution, the second resolution being greater than the first resolution. In this way, since the second resolution is larger than the first resolution, the conclusion as to whether or not the target object exists within the photographing range of the photographing module, which can be determined by the second resolution, is more accurate.
In some possible embodiments, the processing module may configure the second configuration information to the image capturing module when the ambient light level is less than or equal to a certain threshold value, and configure the first configuration information to the image capturing module when the ambient light level is greater than a certain threshold value. In other possible embodiments, the processing module may configure the second configuration information to the camera module when the current time belongs to the night time period, and configure the first configuration information to the camera module when the current time belongs to the day time period.
S603, sending second information to a front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module.
S604, under the condition that the included angle is determined to be larger than a second angle threshold or is continuously increased, and the rotation angle is determined to be larger than a third angle threshold, converting the display state of the display module from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
Fig. 7 is a flowchart of a display control method according to still another embodiment of the present application, as shown in fig. 7, where the method is applied to a display control device or a processing module of an electronic device, and the method includes:
s701, obtaining facial feature information of a user using the electronic device.
In some embodiments, facial feature information of the user may be determined based on the obtained historical target images. In other embodiments, facial feature information of the user may be determined based on an album in the electronic device. In still other embodiments, facial feature information of the user may be determined based on facial information uploaded by the user.
S702, determining third configuration information which is sent to the image pickup module and used for identifying the face of the target object based on the facial feature information.
The facial feature information may be facial feature information of one image or facial feature information of at least two images. In some embodiments, the location of the face of the target object in the target image may be determined by a convolutional neural network. For example, the position of the two eyes of the target object in the target image, the position of the mouth of the target object in the target image, and so on. The third configuration information may be parameter information of the convolutional neural network. The third configuration information may be trained based on facial feature information.
S703, sending the third configuration information to the preprocessing module; the third configuration information is used for indicating the preprocessing module to identify the face of the target object based on the third configuration information.
S704, obtaining first information determined by the camera module and obtaining a rotation angle of the electronic device.
S705, sending second information to a front processing module when the first information represents that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module.
In S705, the preprocessing module may determine an angle between the face of the target object and the display module based on the third configuration information.
S706, switching the display state of the display module from a first display state to a second display state under the condition that the included angle is determined to be larger than a second angle threshold or is continuously increased and the rotation angle is determined to be larger than a third angle threshold; the third angle threshold is greater than the first angle threshold.
In this application implementation, first, a primary control may be performed, where in the primary control, an AON sensor (corresponding to the above-mentioned camera module) may be combined with a Human Existence (HE) function, and if no Human body is detected currently or parameters of the sensor indicate that no change has occurred in the state of the mobile phone (for example, no switching between landscape and portrait screen states is generated), the AON function is not turned on to perform face detection and recognition, and at this time, intelligent rotation is not enabled. The intelligent rotation is based on the user, and if the user is not found, the screen rotation is meaningless, so that most invalid identification can be effectively reduced, and the power consumption is reduced.
If the primary control is passed, the secondary control is entered, in the secondary control, if the human body is detected and the parameters of the sensor display the state of the mobile phone and change, the pre-configuration processing chip is started to start the AON function so as to perform face detection and identification. The face detection recognition may be performed by an embedded neural Network Processor (NPU) in the preprocessing module described above.
When face detection and recognition are carried out, the current light condition can be judged according to the parameters of the light sensor, and when the light state is poor, the night scene algorithm of ISP (Internet service provider) brightening and/or NPU (non point-of-view) is started to improve the recognition precision. ISP brightening may be performed by a preprocessing module prior to inputting the image to the NPU. The night vision algorithm of the NPU may be performed by the NPU.
In this way, the processing module continuously receives the included angle between the face and the screen transmitted by the NPU, and then judges the motion state of the mobile phone by combining the parameters of each sensor of the mobile phone. If the included angle between the face and the screen is continuously increased, the mobile phone sensor parameters indicate that the state of the mobile phone is changing, and the mobile phone is triggered to rotate the screen. If it is detected that the state of the mobile phone is changing, and the angle between the face of the user and the screen is not significantly changed or is continuously decreasing, it indicates that the user does not want to rotate the screen at this time (for example, when the mobile phone is used by lying on his side, the state of the mobile phone is changed at this time, the conventional screen rotation control strategy triggers the screen rotation, and in fact, the user does not want the screen rotation at this time), and the control of the screen rotation is prevented.
The processing module can also analyze the change rule of the face angle, so that the system can be informed to conduct intelligent rotation in advance. In the process of changing the angle between the face and the screen, the state of the mobile phone may not be changed (for example, the mobile phone is in the 45-degree state in fig. 1), at this time, according to the rule of analyzing the angle change, the operation of rotating the screen can be triggered in advance.
After the control is completed, the AON function is closed, the control of the screen rotation is ended, and the next wake-up trigger is waited.
The use of AON functionality in the embodiments of the application brings the following advantages to screen rotation:
1. screen rotation is more intelligent: the screen is not rotated fixedly according to the state of the mobile phone, and the use state of the user is combined, so that the mobile phone is more friendly to the user.
2. The screen rotation speed is faster: through the contained angle trend of analysis face and screen, can trigger screen rotation control in advance, compare traditional scheme that can only wait for the cell-phone state to change the back and trigger rotatory, the speed is faster, user experience is better.
3. More power consumption is saved: by the two-level control scheme, a large portion of the ineffective screen rotation control can be filtered out compared to conventional rotation schemes. Because the animation of the screen rotation is realized by the GPU, the power consumption is relatively high, and the power consumption of the electronic equipment can be saved by filtering out a large amount of invalid control.
According to the embodiment of the application, the intelligent rotation secondary control is realized by utilizing the characteristic that the AON sensor can detect the human body under the condition that a shot target image is not transmitted, and the intelligent rotation of the screen according to the user requirement is realized by utilizing the face detection and identification capability in the AON function and the traditional method for reading and analyzing the mobile phone sensor parameters.
In the embodiments of the present application: 1. the AON function is utilized to detect and identify the face information (whether the human body exists, the included angle between the face and the screen, the change trend of the included angle and the like) as the basis for controlling the intelligent rotation of the screen. 2. The whole intelligent rotation control process is divided into two stages, and whether the two stages of recognition is carried out or not is judged through the HE function of the AON sensor, so that a part of invalid rotation can be filtered, the frequency of AON starting is reduced, and the power consumption is reduced.
In the embodiment of the application, 1, in a strategy of screen rotation, a face detection scheme based on an AON function is added, and whether screen rotation is performed or not is determined by continuously analyzing the change of the face angle and judging the current state of a mobile phone by combining a mobile phone sensor when the change of the face angle meets a certain rule. Meanwhile, the screen rotation can be triggered in advance according to the rule of analyzing the angle change, and the response speed is improved. 2. The control is divided into two stages, the first stage, the AON function is started to perform intelligent rotation by utilizing the HE function (not transmitting a shot target image and having low power consumption) of the AON sensor, and under the condition that a person is identified, the sensor parameters display that the state of the mobile phone is changed; and secondly, on the basis of detecting a person, starting an AON function to perform face recognition detection, and continuously analyzing face angle change to synthesize mobile phone sensor data so as to achieve the effect of intelligent rotation.
The intelligent rotation scheme of the screen in the embodiment of the application can be based on a system, or the application program can also adopt the change of the angle between the analysis face and the screen to adjust and change the application program, so that better user experience is brought.
Fig. 8 is a schematic diagram of a display control flow provided in the embodiment of the present application, as shown in fig. 8, when the rotation angle of the electronic device is 90 degrees, but the included angle between the face of the target object and the display module is gradually increased, for example, the included angle is gradually changed from 0 degrees to 45 degrees and then to 90 degrees, the display state of the display module is changed from the first display state to the second display state, that is, the electronic device is changed from the vertical display to the horizontal display, and the horizontal display is switched before the included angle is changed to 90 degrees. For example, in the case of an included angle of 45, the display will be changed from a portrait display to a landscape display.
Fig. 9 is a schematic diagram of another display control flow provided in this embodiment of the present application, as shown in fig. 9, when the rotation angle of the electronic device is 90 degrees, but the included angle between the face of the target object and the display module is sequentially reduced, for example, the included angle is gradually changed from 90 degrees to 45 degrees and then to 0 degrees, in this case, the electronic device will maintain the first display state, that is, after the electronic device rotates 90 degrees, since the included angle between the face of the target object and the display module is always reduced, the electronic device will maintain the display of the first state.
Fig. 10 is a flowchart of another display control method according to another embodiment of the present application, as shown in fig. 10, where the method includes:
s1001, whether the AON sensor detects a person.
If detected, S1002 is performed, and if not detected, S1007 is performed.
S1002, a person is detected and a state of the electronic device is changed.
S1003, the NPU in the preprocessing module recognizes and detects the human face.
S1004, the preprocessing module calculates and analyzes the angle change between the face and the screen.
S1005, controlling the rotation of the display screen when the angle change satisfies the condition.
S1006, controlling the display module not to rotate when the angle change does not meet the condition.
S1007, the state of the electronic device changes but no person is detected.
S1008, ending the flow.
Based on the foregoing embodiments, the embodiments of the present application provide a display control apparatus, where the apparatus includes units included, and modules included in the units may be implemented by processing modules in an electronic device; but may of course also be implemented in specific logic circuits.
Fig. 11 is a schematic diagram of a composition structure of a display control device according to an embodiment of the present application, as shown in fig. 6, a display control device 1100 includes:
An obtaining unit 1101, configured to obtain the first information determined by the image capturing module, and obtain a rotation angle of the electronic device;
a transmission unit 1102, configured to send second information to a pre-processing module when the first information characterizes that a target object exists in a shooting range of the camera module and the rotation angle is greater than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module;
a converting unit 1103, configured to convert the display state of the display module from the first display state to the second display state when it is determined that the included angle is greater than the second angle threshold or continuously increases and the rotation angle is greater than the third angle threshold; the third angle threshold is greater than the first angle threshold.
In some embodiments, the converting unit 1103 is further configured to maintain the display state of the display module in the first display state when it is determined that the included angle is less than or equal to the second angle threshold or the included angle gradually decreases, and the rotation angle is greater than the third angle threshold.
In some embodiments, the transmission unit 1102 is further configured to send third information to the preprocessing module; the third information is used for indicating the preprocessing module to close the AON function; and under the condition that the AON function is closed, the preprocessing module controls the image pickup module to stop shooting the target image.
In some embodiments, the display control apparatus 1100 further includes: the timer unit is used for starting a timer of the target duration; a converting unit 1103, further configured to, during operation of the timer, determine that the included angle is smaller than or equal to the second angle threshold, and the rotation angle is greater than the third angle threshold, and convert the display state of the display module from the second display state to the first display state; the transmission unit 1102 is further configured to send third information to the preprocessing module;
the transmission unit 1102 is further configured to, during operation of the timer, determine that the included angle is greater than the second angle threshold, and if the rotation angle is greater than a third angle threshold, send the third information to the preprocessing module;
wherein the third information is used for indicating the preprocessing module to close the AON function; and under the condition that the AON function is closed, the preprocessing module controls the image pickup module to stop shooting the target image.
In some embodiments, the obtaining unit 1101 is further configured to obtain the ambient light brightness detected by the light sensor;
the display control apparatus 1100 further includes: a determining unit configured to determine an image enhancement parameter based on the ambient light brightness information in a case where the ambient light brightness is less than or equal to a brightness threshold;
the transmission unit 1102 is further configured to send fourth information to the preprocessing module; and the fourth information indicates the preprocessing module to process the target image shot by the shooting module by adopting the image enhancement parameters, and the included angle is determined based on the processed image.
In some embodiments, the transmission unit 1102 is further configured to, when the first information determined based on the first configuration information characterizes that a target object exists in a shooting range of the camera module and the fifth information sent by the preprocessing module is received, send second configuration information for identifying the target object to the camera module; the fifth information indicates that the target object is not present in the camera module;
the obtaining unit 1101 is further configured to obtain the first information determined by the image capturing module based on the second configuration information.
In some embodiments, the obtaining unit 1101 is further configured to obtain facial feature information of a user using the electronic device;
a determining unit configured to determine third configuration information for identifying the target object face, which is sent to the image capturing module, based on the facial feature information;
a transmission unit 1102, configured to send the third configuration information to the preprocessing module; the third configuration information is used for indicating the preprocessing module to identify the face of the target object based on the third configuration information.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
In the embodiment of the present application, if the display control method is implemented in the form of a software function module and sold or used as a separate product, the display control method may also be stored in a computer storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or part of what contributes to the related art may be embodied in the form of a software product stored in a storage medium, including several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application.
Fig. 12 is a schematic diagram of a hardware entity of an electronic device according to an embodiment of the present application, as shown in fig. 12, the hardware entity of the electronic device 1200 includes: a processing module 1201, a camera module 1202, a preprocessing module 1203, and a display module 1204; wherein,,
the processing module 1201 is configured to obtain the first information determined by the image capturing module 1202, and obtain a rotation angle of the electronic device;
the processing module 1201 is further configured to send second information to the preprocessing module 1203 when the first information characterizes that a target object exists in the shooting range of the imaging module 1202 and the rotation angle is greater than a first angle threshold; the second information is used for indicating the preprocessing module 1203 to start a normally open AON function, where the AON function is started, and the preprocessing module 1203 determines an included angle between the face of the target object and the display module 1204 based on the target image captured by the imaging module 1202;
the processing module 1201 is further configured to, when it is determined that the included angle is greater than a second angle threshold or continuously increases, and the rotation angle is greater than a third angle threshold, switch the display state of the display module 1204 from the first display state to the second display state; the third angle threshold is greater than the first angle threshold.
In some embodiments, the camera module 1202 may send the first information directly to the processing module 1201. In other embodiments, the camera module 1202 may send the first information to the processing module 1201 through the pre-processing module 1203.
The present embodiment provides a computer storage medium storing one or more programs executable by one or more processors to implement the steps of the display control method of any of the above embodiments.
It should be noted here that: the description of the computer storage medium and the electronic device embodiments above is similar to that of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the computer storage medium and the electronic device of the present application, please refer to the description of the method embodiments of the present application for understanding.
The display control device, processing module or pre-processing module described above may include an integration of any one or more of the following: an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a graphics processor, an embedded neural network processor, a controller, a microcontroller, a microprocessor, a programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. It will be appreciated that the electronic device implementing the functions of the processing module may be other, and embodiments of the present application are not specifically limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable programmable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic random access Memory (Ferromagnetic Random Access Memory, FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Read Only optical disk (Compact Disc Read-Only Memory, CD-ROM); but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment of the present application" or "the foregoing embodiments" or "some implementations" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the foregoing embodiments" or "some implementations" or "some embodiments" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
Without being specifically illustrated, the electronic device may perform any of the steps in the embodiments of the present application, and may be a processor of the electronic device performing the steps. Unless specifically stated, the embodiments of the present application do not limit the order in which the following steps are performed by the electronic device. In addition, the manner in which the data is processed in different embodiments may be the same method or different methods. It should be further noted that any step in the embodiments of the present application may be independently executed by the electronic device, that is, when the electronic device executes any step in the embodiments described above, execution of the other step may not be dependent.
In the description of the present application, it should be understood that the terms "center," "longitudinal," "transverse," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," etc. indicate or are based on the orientation or positional relationship shown in the drawings, merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
The methods disclosed in the several method embodiments provided in the present application may be arbitrarily combined without collision to obtain a new method embodiment.
The features disclosed in the several product embodiments provided in the present application may be combined arbitrarily without conflict to obtain new product embodiments.
The features disclosed in the several method or apparatus embodiments provided in the present application may be arbitrarily combined without conflict to obtain new method embodiments or apparatus embodiments.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the integrated units described above may be stored in a computer storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributing to the related art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
In the embodiments of the present application, descriptions of the same steps and the same content in different embodiments may be referred to each other. In the embodiment of the present application, the term "and" does not affect the sequence of the steps, for example, the electronic device executes a and executes B, which may be that the electronic device executes a first and then executes B, or that the electronic device executes B first and then executes a, or that the electronic device executes B simultaneously with executing a.
It should be noted that, the drawings in the embodiments of the present application are only for illustrating schematic positions of respective devices on an electronic apparatus, and do not represent actual positions in the electronic apparatus, the actual positions of the respective devices or the respective areas may be changed or shifted according to actual situations (for example, structures of the electronic apparatus), and proportions of different portions in the electronic apparatus in the drawings do not represent actual proportions.
As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In the embodiments of the present application, all or part of the steps may be performed, so long as a complete technical solution can be formed.
The foregoing is merely an embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A display control method, characterized by comprising:
acquiring first information determined by a camera module and acquiring a rotation angle of electronic equipment;
transmitting second information to a preprocessing module under the condition that the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold value; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module;
Under the condition that the included angle is larger than a second angle threshold or is continuously increased and the rotation angle is larger than a third angle threshold, the display state of the display module is converted from a first display state to a second display state; the third angle threshold is greater than the first angle threshold.
2. The method according to claim 1, wherein the method further comprises:
and when the included angle is smaller than or equal to the second angle threshold or gradually reduced, and the rotation angle is larger than the third angle threshold, the display state of the display module is kept in the first display state.
3. The method of claim 2, wherein the method further comprises, after the transitioning the display state of the display module from the first display state to the second display state or after maintaining the display state of the display module in the first display state:
transmitting third information to the preprocessing module; the third information is used for indicating the preprocessing module to close the AON function; and under the condition that the AON function is closed, the preprocessing module controls the image pickup module to stop shooting the target image.
4. The method of claim 1 or 2, wherein after the transitioning of the display state of the display module from the first display state to the second display state, the method further comprises:
starting a timer of a target duration;
during the running of the timer, determining that the included angle is smaller than or equal to the second angle threshold value and the rotation angle is larger than the third angle threshold value, switching the display state of the display module from the second display state to the first display state, and sending third information to the preprocessing module;
transmitting the third information to the preprocessing module when the included angle is determined to be larger than the second angle threshold value and the rotation angle is determined to be larger than a third angle threshold value during the running of the timer;
wherein the third information is used for indicating the preprocessing module to close the AON function; and under the condition that the AON function is closed, the preprocessing module controls the image pickup module to stop shooting the target image.
5. A method according to any one of claims 1 to 3, further comprising:
Obtaining the ambient light brightness detected by the light sensor;
determining an image enhancement parameter based on the ambient light level information if the ambient light level is less than or equal to a light level threshold;
transmitting fourth information to the preprocessing module; and the fourth information indicates the preprocessing module to process the target image shot by the shooting module by adopting the image enhancement parameters, and the included angle is determined based on the processed image.
6. A method according to any one of claims 1 to 3, wherein prior to obtaining the first information determined by the camera module, the method further comprises: transmitting second configuration information for identifying a target object to the camera module under the condition that the first information determined based on the first configuration information characterizes the target object exists in the shooting range of the camera module and fifth information transmitted by the preprocessing module is received; the fifth information indicates that the target object is not present in the camera module;
the obtaining the first information determined by the camera module includes: and obtaining the first information determined by the camera module based on the second configuration information.
7. A method according to any one of claims 1 to 3, wherein prior to obtaining the first information determined by the camera module, the method further comprises:
obtaining facial feature information of a user using the electronic device;
determining third configuration information for identifying the face of the target object, which is sent to the camera module, based on the facial feature information;
transmitting the third configuration information to the preprocessing module; the third configuration information is used for indicating the preprocessing module to identify the face of the target object based on the third configuration information.
8. A display control apparatus, comprising:
the acquisition unit is used for acquiring the first information determined by the camera module and acquiring the rotation angle of the electronic equipment;
the transmission unit is used for transmitting second information to the front processing module when the first information characterizes that a target object exists in the shooting range of the shooting module and the rotation angle is larger than a first angle threshold value; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the shooting module;
The conversion unit is used for converting the display state of the display module from a first display state to a second display state under the condition that the included angle is determined to be larger than a second angle threshold or is continuously increased and the rotation angle is determined to be larger than a third angle threshold; the third angle threshold is greater than the first angle threshold.
9. An electronic device, comprising: the device comprises a processing module, a camera module, a preprocessing module and a display module; wherein,,
the processing module is used for obtaining the first information determined by the camera module and obtaining the rotation angle of the electronic equipment;
the processing module is further configured to send second information to the preprocessing module when the first information characterizes that a target object exists in a shooting range of the camera module and the rotation angle is greater than a first angle threshold; the second information is used for indicating the preprocessing module to start a normally open AON function, and under the condition that the AON function is started, the preprocessing module determines an included angle between the face of the target object and the display module based on the target image shot by the camera module;
the processing module is further configured to switch the display state of the display module from the first display state to the second display state when it is determined that the included angle is greater than the second angle threshold or continuously increases and the rotation angle is greater than the third angle threshold; the third angle threshold is greater than the first angle threshold.
10. A computer storage medium storing one or more programs executable by one or more processing modules to implement the steps of the method of any of claims 1 to 7.
CN202111566818.6A 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and computer storage medium Pending CN116320142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111566818.6A CN116320142A (en) 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111566818.6A CN116320142A (en) 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN116320142A true CN116320142A (en) 2023-06-23

Family

ID=86834572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111566818.6A Pending CN116320142A (en) 2021-12-20 2021-12-20 Display control method, display control device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN116320142A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090180004A1 (en) * 2008-01-10 2009-07-16 Nikon Corporation Information displaying apparatus
EP2615524A1 (en) * 2012-01-12 2013-07-17 LG Electronics, Inc. Mobile terminal and control method thereof
CN103376893A (en) * 2012-04-25 2013-10-30 华为终端有限公司 Display picture presenting method and terminal
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN106125933A (en) * 2016-06-28 2016-11-16 维沃移动通信有限公司 The method of a kind of display interface rotation and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090180004A1 (en) * 2008-01-10 2009-07-16 Nikon Corporation Information displaying apparatus
EP2615524A1 (en) * 2012-01-12 2013-07-17 LG Electronics, Inc. Mobile terminal and control method thereof
CN103376893A (en) * 2012-04-25 2013-10-30 华为终端有限公司 Display picture presenting method and terminal
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN106125933A (en) * 2016-06-28 2016-11-16 维沃移动通信有限公司 The method of a kind of display interface rotation and mobile terminal

Similar Documents

Publication Publication Date Title
EP3779883A1 (en) Method and device for repositioning in camera orientation tracking process, and storage medium
KR102385024B1 (en) Apparatus and method of five dimensional (5d) video stabilization with camera and gyroscope fusion
CN108241434B (en) Man-machine interaction method, device and medium based on depth of field information and mobile terminal
US20160037067A1 (en) Method for generating image and electronic device thereof
KR102499139B1 (en) Electronic device for displaying image and method for controlling thereof
CN113890989B (en) Shooting method and electronic device
US8400532B2 (en) Digital image capturing device providing photographing composition and method thereof
CN114339102B (en) Video recording method and equipment
CN115706850B (en) Image shooting method, device and storage medium
KR20180094449A (en) Electronic device and method for transmitting and receiving image data in electronic device
CN109151428B (en) Automatic white balance processing method, device and computer storage medium
CN112073641B (en) Image shooting method and device, mobile terminal and storage medium
CN108513069B (en) Image processing method, image processing device, storage medium and electronic equipment
KR102694171B1 (en) Electronic device and method for providing function using corneal image thereof
WO2022142388A1 (en) Special effect display method and electronic device
WO2021185374A1 (en) Image capturing method and electronic device
CN110152293B (en) Method and device for positioning control object and method and device for positioning game object
CN112749590B (en) Object detection method, device, computer equipment and computer readable storage medium
US11463617B2 (en) Information processing apparatus, information processing system, image capturing apparatus, information processing method, and memory
US20130308829A1 (en) Still image extraction apparatus
JP2007108941A (en) Apparatus control system, remote controller, apparatus, apparatus control method, apparatus control program, and computer readable recording medium recording the same apparatus control program
CN115484383A (en) Shooting method and related device
CN114422686A (en) Parameter adjusting method and related device
CN116320142A (en) Display control method, display control device, electronic equipment and computer storage medium
CN108495038B (en) Image processing method, image processing device, storage medium and electronic equipment

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