CN115442458A - Image display method, image display device, electronic device, and storage medium - Google Patents

Image display method, image display device, electronic device, and storage medium Download PDF

Info

Publication number
CN115442458A
CN115442458A CN202110624376.XA CN202110624376A CN115442458A CN 115442458 A CN115442458 A CN 115442458A CN 202110624376 A CN202110624376 A CN 202110624376A CN 115442458 A CN115442458 A CN 115442458A
Authority
CN
China
Prior art keywords
screen
display
target image
display area
designated
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
CN202110624376.XA
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 CN202110624376.XA priority Critical patent/CN115442458A/en
Priority to PCT/CN2022/085525 priority patent/WO2022252807A1/en
Publication of CN115442458A publication Critical patent/CN115442458A/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/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application provides an image display method and device, electronic equipment and a storage medium, and relates to the field of image display. The method is applied to electronic equipment, the electronic equipment comprises a screen, and a functional device is arranged below a specified display area of the screen, and the method comprises the following steps: when the electronic equipment is detected to be in a specified state, determining a target image, wherein in the specified state, the screen is in a display state and the display brightness is lower than the specified brightness of the screen; and displaying the target image in the designated display area. According to the method and the device, the target image is displayed in the display area with the functional device arranged below under the condition that the screen is in the display state and the display brightness is lower than the designated brightness of the screen and the electronic equipment is in the designated state, so that the display difference between the upper display area of the functional device of the electronic equipment and other areas of the screen can be improved.

Description

Image display method, image display device, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of image display of electronic devices, and more particularly, to an image display method and apparatus, an electronic device, and a storage medium.
Background
At present, in order to realize full-screen display of portable electronic products such as mobile phones and flat panels, a sensor device is arranged below a display screen. When the sensor device is not used, the display screen can normally display, but in order to avoid the influence of the display screen on the functions of the sensor device, the display screen in the area above the sensor device is made of special materials, and the display screen has obvious display difference with other display areas under the conditions of low gray scale and low brightness, thereby influencing the use of users.
Disclosure of Invention
The application provides an image display method, an image display device, an electronic device and a storage medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides an image display method applied to an electronic device, where the electronic device includes a screen, and a functional device is disposed below a designated display area of the screen, and the method includes: when the electronic equipment is detected to be in a specified state, determining a target image, wherein in the specified state, the screen is in a display state and the display brightness is lower than the specified brightness of the screen; and displaying the target image in the designated display area.
In a second aspect, an embodiment of the present application further provides an image display apparatus, applied to an electronic device, where the electronic device includes a screen, and a functional device is disposed below a designated display area of the screen, the apparatus includes: a determination unit and a display unit. The determining unit is used for determining a target image when the electronic equipment is detected to be in a specified state, wherein in the specified state, the screen is in a display state and the display brightness is lower than the screen specified brightness; and the display unit is used for displaying the target image in the appointed display area.
In a third aspect, an embodiment of the present application further provides an electronic device, including one or more processors, a memory, and a screen, where a functional device is disposed below a designated display area of the screen; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: when the electronic equipment is detected to be in a specified state, determining a target image, wherein in the specified state, the screen is in a display state and the display brightness is lower than the specified brightness of the screen; and displaying the target image in the designated display area.
In a fourth aspect, the present application also provides a computer-readable storage medium, where a program code executable by a processor is stored, and when executed by the processor, the program code causes the processor to execute the above method.
According to the image display method, the image display device, the electronic equipment and the storage medium, when the electronic equipment is detected to be in the appointed state, the target image is determined, wherein in the appointed state, the screen is in the display state and the display brightness is lower than the appointed brightness of the screen, at the moment, the target image is displayed in the appointed display area with the functional device arranged below, and the display difference between the upper display area of the functional device of the electronic equipment and other areas of the screen can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic view of a display interface of an electronic device according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of displaying an image according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a display interface of an electronic device according to another embodiment of the present application;
FIG. 4 is a schematic diagram of a setup interface for a target image according to another embodiment of the present application;
FIG. 5 is a flowchart illustrating a method of displaying an image according to an embodiment of the present application; (ii) a
FIG. 6 is a schematic diagram of a display interface of an electronic device according to another embodiment of the present application;
FIG. 7 is a flowchart illustrating a method of displaying an image according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a display interface of an electronic device according to an embodiment of the present application;
FIG. 9 is a schematic diagram illustrating a portion of a display interface of an electronic device according to another embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a display interface of an electronic device according to yet another embodiment of the present application;
fig. 11 shows a block diagram of an image display device of an electronic device according to an embodiment of the present application;
fig. 12 shows a block diagram of an electronic device provided in an embodiment of the present application;
fig. 13 illustrates a computer-readable medium storing or carrying program code that implements an image display method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
At present, in order to realize full-screen display of portable electronic products such as mobile phones and flat panels, a sensor device is arranged below a display screen. When the sensor device is not used, the display screen can normally display pictures, and when the sensor device is started, the display function of the upper display area is temporarily closed. The sensor device usually includes a photosensitive device, and therefore, the transmittance of the display screen in the upper display area needs to be higher than that in other areas to reduce the diffraction problem in the area, so that the photosensitive device can be normally used. To meet this requirement, the prior art generally has three schemes: in the first scheme, pixels in the display area are removed according to a certain proportion; in the second scheme, a display driving circuit is used for driving two pixels, and the colors of the two pixels are completely consistent, so that obvious saw teeth can appear if color boundaries exist in a displayed picture; and in the third scheme, all the light-emitting units are reserved, one display driving unit drives one pixel unit, the display effect is better than that of the first two schemes, but the diffraction is serious due to the increase of the light-emitting units, and the function effect of the sensor device is poorer. The display screen of the upper display area related to the above three schemes is usually made of a special material, for example, a flexible AMOLED (Active-organic light-emitting diode) display screen, and since the light-emitting unit made of the special material is different from the normal display area, the color consistency of the upper display area under low brightness is poor, finally, an abnormality is obviously seen when a picture is displayed, and the boundary of the two display areas is highlighted and seen, which greatly affects the display effect of the entire screen.
The inventor finds in research that the differential display effect of the display area appearing brighter or darker at night or in a dark environment is more obvious. In order to optimize the above problem, the inventors have proposed that, in both cases, it is possible to block an abnormal display region by displaying a single image in the display region, and to provide a new function, definition, or the like to the image, thereby realizing full-screen display. Based on this, the application embodiments provide an image display method, an image display apparatus, an electronic device and a storage medium, where an execution subject of the method may be the image display apparatus provided in the application embodiments, or the electronic device integrated with the image display apparatus, where the image display apparatus may be implemented in a hardware or software manner. The electronic device may be a tablet Computer, a game console, an electronic book reader, a multimedia player, a smart watch, a mobile phone, a PC (Personal Computer), or the like. The electronic device is provided with a plurality of application programs, and a user can use the plurality of application programs to realize different functions and purposes. For example, video playing software is used to watch videos, electronic game software is used to play games, an instant chat application is used to perform text, voice or video chat, and social networking platform software is used to perform information sharing, transmission and browsing.
As shown in fig. 1, a screen schematic diagram of an electronic device provided by an embodiment of the present application is shown. In the embodiment of the present application, the screen 110 of the electronic device 100 includes a designated display area 120, and a functional device 130 is disposed below the designated display area 120. When the functional device 130 is not enabled, the functional device is hidden, the designated display area 120 is in a display state, the designated display area 120 and the main display area form a full screen, and simultaneously, an image is displayed, and human eyes cannot observe the functional device 130 through the designated display area 120, wherein the main display area is other display areas except the designated display area 120 on the screen 110; when the functional device is enabled, the designated display area 120 does not display any image.
Referring to fig. 2, a flowchart of a method of displaying an image according to another embodiment of the present application is shown, and the method is applied to an electronic device including a screen, where the screen shown in fig. 1 is taken as an example for illustration, and a functional device 130 is disposed below a designated display area 120 of the screen 110. The method comprises the following steps: s210 to S220.
Step S210: when the electronic equipment is detected to be in a specified state, determining a target image, wherein in the specified state, the screen is in a display state and the display brightness is lower than the screen specified brightness.
Only when a specified condition is satisfied, the target image is displayed, and the target image may be different under different conditions. In the embodiment of the application, it is detected that the electronic device is in a specified state, in the specified state, a screen of the electronic device is in a display state and the display brightness of the screen is lower than the specified brightness of the screen, and an image determined at the time is taken as a target image. That is, in a designated state of the electronic device, at least two items need to be detected: whether the screen of the electronic device is in a display state and the display brightness of the electronic device is lower than the screen specified brightness.
The screen of the electronic device displays an image only when the screen is in a display state. For example, whether the electronic device is in the display state may be detected in the following manner.
In the first mode, when the electronic device is in the sleep or standby state, the screen of the electronic device is turned off, and the device does not display any image, so that whether the side-printing screen is in the display state can be detected by detecting whether the electronic device is in the sleep or standby state. It can be determined that the electronic apparatus is in the display state only when the electronic apparatus is not in the sleep or standby state. And the second mode is to directly detect whether the screen of the electronic equipment is working. For example, it is detected whether the electronic apparatus supplies power to the screen, whether a light emitting device of the electronic apparatus is operating, or the like.
In a specified state of the electronic device, in addition to the screen being required to be in a display state, the display luminance of the screen needs to be detected. As described above, due to the existence of the functional device in the designated display area of the screen, the display screen of the designated display area portion is made of a special material, and the display screen of the special material is different from a normal display screen, so that the color consistency of the designated display area and the main display area is poor under low brightness. The target image is determined only when the display brightness of the screen is lower than the screen specified brightness, wherein in some embodiments, the screen specified brightness may be a critical screen brightness value when the colors of the specified display area and the main display area are not consistent, and when the brightness of the screen is lower than the screen specified brightness, the specified display area and the main display area will have color display difference. For example, the brightness 0 of the electronic device is the lowest brightness of the screen, the brightness 100 is the highest brightness of the screen, and when the brightness value of the screen is lower than 10, the color display difference between the color of the designated display area and the color of the main display area starts to appear, so that it can be determined that the brightness 10 is the critical brightness value of the screen, and then the designated brightness of the screen is also the brightness 10, which means that in the designated state of the electronic device, the screen is in the display state and the display brightness is lower than the brightness 10, and at this time, the target image is determined.
Step S220: and displaying the target image in the designated display area.
In the embodiment of the present application, the target image determined under the foregoing conditions is displayed in the designated display area. In some exemplary embodiments, the target image is an image that is distinct from the display content of the main display area of the screen. For example, as shown in fig. 1, the functional device is usually disposed on the top of the electronic device, and correspondingly, the designated display area is usually also near the top status bar, and the target image is disposed in the designated display area for displaying, so that the designated display area may be a part of the top status bar, and the target image directly displays one or more icons of the top status bar, so as to provide the user with a function of identification or reminder. Taking the display interface shown in fig. 3 as an example, the designated display area 320 is disposed on the right side of the top status bar 310, so that a target image can be displayed at the position of the designated display area 320, where the target image 330 is a "power" icon for displaying the current remaining power of the electronic device. It is to be understood that the designated display area 320 represents only one display area in which an image can be displayed, and is not specific display contents on the screen. In other embodiments, the target image may also be in accordance with the style of the main display area of the screen, such as in the style of a desktop icon, while the target image is given a similar or completely different function or definition than the desktop icon. For example, the target image may be displayed as a hovering operation ball, and different functions may be implemented by selecting the hovering operation ball through predefined or user-set touch operations. In addition, in addition to default definition of the target image by the system, a function setting page may also be provided for the user, for example, as the setting page shown in fig. 4, after the setting page user may perform custom setting on the display content or function of the target image, for example, the display content may be set to "status bar icon", "application icon", "system setting item", and the like, and after selection, specific display content may be further selected after selecting an arrow icon of an option, for example, after selecting the "status bar icon", the specific display content includes "remaining power" and "current time" options, and corresponds to an "power" icon displaying the current remaining power and a "time" icon displaying the current time, respectively.
It should be noted that, the target image is displayed in the designated display area, the image size of the target image may be set to be completely consistent with the designated display area, the display effect is that the target image completely covers the designated display area, and the target image is displayed on the screen as a complete image, and at this time, the display difference between the target image and the images in other areas of the screen may achieve the purpose of enabling the user to clearly identify the target image from the screen, and the user may not have an impression of abnormal display. It will be appreciated that the image size of the target image may also be larger or smaller than the designated display area. As an embodiment, when the image size of the target image is larger than the designated display area, the designated display area may display most of the content of the target image, and the remaining content of the target image may be used as a buffer area between the designated display area and the screen main display area, and a transition is formed between the display content of the designated display area and the display content of the screen main display area. As another example, when the image size of the target image is smaller than the designated display area, the target image may be completely displayed inside the designated display area, and for a partial area where the target image is not displayed in the designated display area, the color of the display content of the partial area may be determined according to the edge color of the target image and the color of the partial image of the main display area surrounding the designated display area, and also used as a buffer area between the designated display area and the screen main display area, so as to form a transition between the display content of the designated display area and the display content of the screen main display area.
To sum up, the technical scheme that this application embodiment provided is through detecting when electronic equipment is in appointed state, confirms the target image, wherein, under the appointed state, the screen is in display state and shows that luminance is less than the appointed luminance of screen, and the appointed display area that is provided with the function device in the below at this moment shows the target image can improve the top display area of electronic equipment function device and the demonstration difference in other regions of screen, improves the display effect, promotes user's use and experiences.
Referring to fig. 5, a flowchart of a method of displaying an image according to another embodiment of the present application is shown, and the method is applied to an electronic device including a screen, as shown in fig. 1, where a functional device 130 is disposed below a designated display area 120 of the screen. The method comprises the following steps: s510 to S540.
Step S510: and acquiring the current moment under the condition that the screen is in a display state.
In the screen backlight automatic adjustment mode of the electronic equipment, the screen brightness of the electronic equipment is adjusted according to the light intensity under the use environment. It is understood that the ambient light intensity in the natural environment will vary depending on the time of day. For example, the ambient light intensity is lower at night, the ambient light intensity is higher during the day, and the early morning and evening following the day are the two most severe moments of ambient light change. When the ambient light intensity is low at night, the electronic equipment also enters a low-brightness state in the screen backlight automatic adjustment mode; when the ambient light intensity is higher in the daytime, the electronic device also enters a state of higher brightness in the screen backlight automatic adjustment mode. Because the display abnormity can occur in the low-brightness and low-gray scale of the screen in the designated display area and the main display area, the display and non-display of the target image can be controlled according to the current moment.
As can be seen from the foregoing embodiments, the screen of the electronic device will display an image only when the screen is in the display state, and therefore in some embodiments of the present application, the current time may be acquired only when the screen is in the display state. The system clock of the electronic equipment can be directly acquired as the current time, the online time server can also be connected for calibration, and more accurate current time can be acquired.
Step S520: and if the current moment is within a specified time period and the electronic equipment is in a screen backlight automatic adjustment mode, judging that the electronic equipment is in a specified state.
In the embodiment of the application, it may be set that if the current time is within a specified time period and the electronic device is in the screen backlight automatic adjustment mode, it is determined that the electronic device is in a specified state. The specified period may be specified by the user or may be set by the system.
Because the display abnormality occurs in the designated display area and the main display area under the low-brightness and low-gray scale, and the screen brightness is low when the ambient light intensity is low in the backlight automatic adjustment mode, the target image is controlled to be displayed only in the time period when the ambient light is dark. No matter the designated time period is designated by a user or set by the system, the ambient light intensity in the environment should meet the natural law of darker light in the designated time period. The specified time period may include a start time and an end time, and the current time within the specified time period indicates that the current time is between the start time and the end time. At night the ambient light intensity is low and the light is dark, illustratively, the specified period may be set between dusk and early morning, then the start time may be set to 19.
The ambient light intensity in the natural environment is determined by the sun exposure, for example, from sunrise to sunset, and is a process of becoming stronger and weaker. Therefore, the ambient light intensity lower timing may be determined to be between the sunset timing and the sunrise timing of the next day, that is, the start timing of the specified period is set based on the sunset timing, and the end timing is set based on the sunrise timing. For example, when local time 8.
In addition, the sunrise and sunset times may vary depending on the geographical location and season of the area in which the electronic device is located. For example, when the sun shines directly into the northern hemisphere, the higher the latitude of the northern hemisphere, the earlier the sunrise and the later the sunset; the higher the latitude of the southern hemisphere, the later the sunrise and the earlier the sunset. When the sun shines directly on the southern hemisphere, the opposite is true. And the sunrise time in winter is later than that in summer. Therefore, in some embodiments, the geographic location of the area where the electronic device is located and the season of the current time may be obtained, and further, sunrise and sunset times are determined according to the longitude and latitude of the area where the electronic device is located and the current date, so as to determine the specified time period as a basis for judging whether the image is displayed at the current time.
Step S530: when the electronic equipment is detected to be in a specified state, determining a target image, wherein in the specified state, the screen is in a display state and the display brightness is lower than the screen specified brightness.
In the embodiment of the present application, the specified states are: when the screen is in a display state and the current moment is within a specified time period, the electronic equipment is in a screen backlight automatic adjustment mode and the screen display brightness is lower than the screen specified brightness. For example, according to sunrise and sunset time, determining that the designated time period is 18-8 days 00, the screen designated brightness is set to 10, and as shown in fig. 6, acquiring that the current time is 20, the screen is in a display state within the designated time period, the electronic device is in the screen backlight automatic adjustment mode, the screen display brightness is 8, and the target image at the time is determined as follows, where the screen designated brightness is lower than 10.
Step S540: and displaying the target image in the designated display area.
And in a specified state, determining a target image and displaying the target image in the specified display area. The target image is mainly used for covering a designated display area and giving a function definition to the target image. For example, the target image may be a top status bar icon, a floating operation ball, or the like displayed in the designated display area.
To sum up, the technical scheme provided by the embodiment of the application determines the target image by determining that the current time is in the designated time period when the electronic device is detected to be in the designated state, and in the designated state, the screen is in the display state and the display brightness is lower than the designated brightness of the screen, the designated display area provided with the functional device below is displayed in the designated time period to display the target image, so that the display difference between the upper display area of the functional device of the electronic device and other areas of the screen in the designated time period is improved, the display effect is improved, and the use experience of a user is improved.
Referring to fig. 7, a flowchart of a method of displaying an image according to another embodiment of the present application is shown, and the method is applied to an electronic device including a screen, where the screen shown in fig. 1 is taken as an example for illustration, and a functional device 130 is disposed below a designated display area 120 of the screen 110. Before determining the target image when the electronic device is detected to be in the designated state, the method further comprises: s710 to S720.
Step S710: and under the condition that the screen is in a display state, acquiring the current ambient light brightness.
As can be seen from the foregoing embodiments, since the designated display area and the main display area may have abnormal display in the low-brightness and low-grayscale state of the screen, in the automatic screen backlight adjustment mode of the electronic device, the screen brightness of the electronic device is adjusted according to the light intensity in the use environment, that is, the brightness of the display area can be detected by detecting the ambient light intensity. Therefore, the designated state of the electronic device can be determined according to the current time, and in the embodiment of the application, the designated state of the electronic device can be determined directly according to the ambient light brightness.
As can be seen from the foregoing embodiments, the screen of the electronic device displays an image only when the screen is in the display state, and therefore in the embodiment of the present application, the current ambient light brightness is obtained only when the screen is in the display state. In a typical embodiment, when the screen is detected to be in the display state, the light sensing device may be used to sense the intensity of light in the environment where the electronic device is located, so as to obtain the ambient light brightness.
Step S720: and if the current ambient light brightness is less than the environment specified brightness and the electronic equipment is in a screen backlight automatic adjustment mode, judging that the electronic equipment is in a specified state.
In the screen backlight automatic adjustment mode, in order to be suitable for human eyes to watch the screen, the screen brightness needs to be changed according to the change of the ambient light intensity. Generally, the stronger the ambient light, the higher the screen brightness; the weaker the ambient light, the lower the screen brightness. In addition, since the designated display area and the main display area may have abnormal display at low brightness and low gray scale of the screen, in the embodiment of the present application, the environment designated brightness may be the environment brightness corresponding to the critical screen brightness when the colors of the designated display area and the main display area are not consistent. When the ambient light brightness is lower than the environment designated brightness, a color display difference will occur between the designated display area and the main display area. Therefore, if the current ambient light brightness is less than the environment specified brightness and the electronic device is in the screen backlight automatic adjustment mode, it can be set to determine that the electronic device is in the specified state.
In the embodiment of the present application, the specified states are: when the screen is in a display state, the current ambient light brightness is smaller than the environment designated brightness, the electronic equipment is in a screen backlight automatic adjustment mode, and the screen display brightness is lower than the screen designated brightness. For example, the environment specified brightness is set to 20 lux, at this time, the corresponding screen specified brightness in the backlight automatic adjustment mode is 10, as shown in fig. 8, it is obtained by using the light sensor that the current environment brightness is 10 lux and is less than the environment specified brightness of 20 lux, the screen is in the display state, the electronic device is in the screen backlight automatic adjustment mode, the screen display brightness is 4 and is less than the screen specified brightness of 10, the current target image is determined, and finally the target image is displayed in the specified display area.
In some embodiments, before the target image is displayed, the color of the target image may also be changed according to the background color of the background image of the area adjacent to the designated display area. The method comprises the steps of firstly obtaining the background color of a background image of an adjacent area of a designated display area, setting a target color parameter according to the background color of the background image, and then setting the target image based on the target color parameter, wherein in order to make the colors of the target image and the background image of the adjacent area consistent when the target image is displayed in the designated display area, the color difference between the display color of the target image and the background color of the background image should be smaller than a first designated threshold value. Illustratively, the background color of the background image in a specific pixel range adjacent to the specified display area may be acquired, and the specific pixel range may be, for example, a 10-pixel range. Firstly, the background color of the background image in the range adjacent to 10 pixels is obtained, taking the RGB color mode as an example, the background color level values of three channels of red, green and blue are respectively obtained and recorded as Rb, gb and Bb, and then the target color parameters are set based on the background color level values. And after the target image is set based on the target color parameter, displaying the target image in the specified display area, wherein the color difference between the display color of the target image and the background color is smaller than a first specified threshold value. In particular, if the display color of the target image is consistent with the target color parameter, the color difference between the target color parameter and the background color should also be smaller than the first specified threshold, wherein the target color level values of the three channels of red, green and blue corresponding to the target color parameter can be recorded as Ro, go and Bo. Thus, the color difference between the display color of the target image and the background color can be exemplarily expressed as the difference between the three channels of the background gradation value and the target gradation value. For example, if the first designated threshold is set to 100, the difference between the background level value and the target level value for three channels should be smaller than the first designated threshold at the same time, i.e., the difference between Rb and Ro is smaller than 100, the difference between gb and Ro is smaller than 100, and the difference between Bb and Ro is also smaller than 100. Taking the background image shown in fig. 6 as an example, if the background color (Rb, gb, bb) of the background image 620 adjacent to the target image 610 of the designated display area is (187, 187,187), the display color (Ro, go, bo) of the target image 610 as the target color parameter may be (127 ).
In addition, the transparency can be set for the target image, so that the colors of the target image and the background image are more consistent, and the influence on the appearance of a user due to the fact that the target image is too obtrusive is avoided. If the transparency of the target image is set reasonably, when the target image is displayed on the background image of the designated display area of the screen in an overlapping manner, the color of part of the background image can be displayed through the target image, so that the effect presented to the user is the overlapping effect of the target image and the background image in the overlapping manner, and the overlapping color of the target image and the background image after overlapping can be used for representing the effect. And the background image of the designated display area and the background image of the adjacent area should belong to different areas of the same image picture and have color consistency, and when the target image is displayed on the background image of the designated display area in an overlaying manner, in order to ensure that the colors of the target image and the background image are consistent, in some embodiments, the color difference between the background color and the overlaying color of the background image of the designated display area should be smaller than a second designated threshold value. Similarly, taking the RGB color mode as an example, the background color level values of three channels of red, green and blue are respectively obtained, the difference value between the background color level value of the background color of the background image and the superimposed color level value of the superimposed color is smaller than a second specified threshold value, the target image is superimposed and displayed on the background image of the specified display area of the screen, and the superimposed color is determined by the superimposed color level value. The transparency of the target image is taken as the specified transparency, and the specified transparency may be set to 30% as an example. According to the transparency formula, after the determination of the superimposed color, the display color of the target image itself can be determined from the transparency, the background color and the superimposed color. In some exemplary embodiments, the transparency formula is L2= L1 (1-a) + L0 a, where L2 is the overlay color, L1 is the display color of the target image itself, L0 is the background color, and a is the transparency. In some embodiments, the second specified threshold may be the same as the first specified threshold, and the display effect is similar, but the display color of the target image itself is different. For example, the designated transparency is set to 30%, the second designated threshold is also set to 100, and the background color of the background image of the designated display area is (187, 187,187), then the superimposition color may also be set to (127 ), and the display color of the target image itself is calculated to be (101 ) according to the transparency formula.
Since the background image is usually a complex color with different shades, the smallest element for describing the image picture is called a pixel, each pixel is assigned with a definite color and position coordinate, and the pixels with various colors are combined according to the position coordinates to be displayed on the screen to be a complete picture. Therefore, in some embodiments, calculating the background color of the background image with complex colors requires determining each pixel of the background image in the coordinate range of the neighboring area of the designated display area, counting the color level of each pixel and converting the color level into the background color level of the background image, and then calculating the target color level value of the target image according to the background color level.
In other embodiments of the present application, in addition to adaptively setting the display color of the target image, the display content and the operation function of the target image may be set. For example, the display content of the target image may be set based on preset designation information, or the display content of the target image may be updated in real time based on the update content of the designation information and displayed in a designated display area. For example, if the specification information is set as a weather forecast, the display content of the target image may be a weather icon displaying current weather information, and the weather icon is changed according to the forecast information of the weather forecast, as shown in fig. 8, if the current time is 12. In addition, in some embodiments, after the target image is displayed in the designated display area, when a trigger operation based on the target image is detected, a preset action corresponding to the trigger operation is executed, and the preset action may include launching an application corresponding to the target image. Taking the example of the target image displaying the weather forecast, when a trigger operation based on the target image is detected, such as clicking a weather icon shown by the target icon, as shown in fig. 10, a corresponding page of a weather forecast program associated with the weather icon, for example, a weather forecast application homepage, is started. Of course, the target image may be set to display only the display content set based on the specified information without any interactive function, and to serve only as a function of identification and reminder, and, for example, the user may be allowed to change the display content and function of the target image in the setting interface as shown in fig. 4.
It can be understood that the functional device arranged below the designated display area of the screen can be a camera, and when the designated condition is met and the camera is not enabled, the target image can be displayed at the position of the designated display area corresponding to the camera under the screen. When the camera is started, in order to avoid shielding external light, the camera is convenient to image, and at the moment, any image is not displayed in the designated display area of the electronic equipment.
To sum up, the technical scheme that this application embodiment provided detects electronic equipment is in under the appointed state, when environment luminance is less than environment appointed luminance simultaneously, confirms the target image, and under the appointed state, the screen is in the display state and shows luminance and be less than screen appointed luminance, shows in appointed period in the below and is provided with the appointed display area display of functional device target image improves the display difference of the top display area of electronic equipment functional device and other regions of screen when environment luminance is darker, improves the display effect, promotes user's use and experiences. In addition, the display color of the target image can be changed along with the background, the interface consistency is ensured, meanwhile, the display content and the function are given to the target image, and the full-screen display is really realized.
Referring to fig. 11, a block diagram of an image display apparatus according to an embodiment of the present disclosure is shown, where the apparatus may include: a determination unit 1110 and a display unit 1120.
Further, the determining unit 1110 is configured to determine the target image when it is detected that the electronic device is in a specified state, where the screen is in a display state and the display brightness is lower than a screen specified brightness. The display unit 1120 is configured to display the target image in the designated display area.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 12, a block diagram of an electronic device according to an embodiment of the present disclosure is shown. The electronic device 1200 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 1200 in the present application may include one or more of the following components: a processor 1210, a memory 1220, a screen 1230, and one or more applications, wherein functional devices are disposed below a designated display area of the screen, the one or more applications may be stored in the memory 1220 and configured to be executed by the one or more processors 1210, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
The electronic device 1200 may also be any of a number of electronic devices including, but not limited to, cellular telephones, smart phones, smart watches, smart bracelets, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controls, pagers, laptop computers, desktop computers, printers, netbook computers, personal Digital Assistants (PDAs), portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3 (MP 3) players, portable medical devices, and digital cameras, and combinations thereof.
In some cases, electronic device 1200 may perform multiple functions (e.g., play music, display videos, store pictures, and receive and send telephone calls). If desired, the electronic device 1200 may be a device such as a cellular telephone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
Processor 1210 may include one or more processing cores. The processor 1210, using various interfaces and connections throughout the electronic device 1200, performs various functions and processes data of the electronic device 1200 by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1220, and invoking data stored in the memory 1220. Alternatively, the processor 1210 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1210, but may be implemented by a communication chip.
The Memory 1320 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 1220 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1220 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The stored data area may also be data created by the electronic device 1200 during use (e.g., phone book, audio-video data, chat log data), etc.
The screen 1230 may include an LCD, a Light Emitting Diode (LED) Display, a Three Dimensional (3D) Display, or a Plasma Display Panel (PDP), and further, the screen 1230 according to this embodiment may also have a full-screen, a curved-surface screen, a special-shaped screen, a folding screen, or other screen forms, and the application does not specifically limit the kind or form of the screen.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the processor 1210, the memory 1220 and the screen 1230 of the electronic device described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 13, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 1300 has stored therein program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 1300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 1300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1300 has storage space for program code 1310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 1310 may be compressed, for example, in a suitable form.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first region and the second region, etc. are for distinguishing different regions, and are not for describing a particular order of the regions. In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
In embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

1. An image display method applied to an electronic apparatus including a screen having a functional device provided below a designated display area, the method comprising:
when the electronic equipment is detected to be in a specified state, determining a target image, wherein in the specified state, the screen is in a display state and the display brightness is lower than the specified brightness of the screen;
and displaying the target image in the designated display area.
2. The method of claim 1, wherein before determining the target image when the electronic device is detected to be in the designated state, further comprising:
under the condition that the screen is in a display state, acquiring the current moment;
and if the current moment is within a specified time period and the electronic equipment is in a screen backlight automatic adjustment mode, judging that the electronic equipment is in a specified state.
3. The method according to claim 2, wherein the specified period includes a start time and an end time, the start time being set based on a sunset time, and the end time being set based on a sunrise time.
4. The method of claim 1, wherein before determining the target image when the electronic device is detected to be in the designated state, further comprising:
under the condition that the screen is in a display state, acquiring the current ambient light brightness;
and if the current ambient light brightness is smaller than the environment specified brightness and the electronic equipment is in a screen backlight automatic adjustment mode, judging that the electronic equipment is in a specified state.
5. The method of claim 1, wherein determining the target image comprises:
determining a background color of a background image of a region adjacent to a designated display region of the screen;
setting the target color parameter based on the background color;
setting the target image based on the target color parameter so that the color difference between the display color of the target image and the background color is smaller than a first specified threshold when the target image is displayed in the specified display area.
6. The method according to claim 1, wherein the transparency corresponding to the target image is a designated transparency, and the displaying the target image in the designated display area comprises:
and displaying the target image on a background image of a designated display area of the screen in an overlapping manner, wherein the color difference between the background color and the overlapping color of the background image is smaller than a second designated threshold, and the overlapping color is the color of the target image after being overlapped with the background image.
7. The method according to claim 1, wherein a display content of the target image is set in advance based on designation information, and the displaying the target image in the designated display area further comprises:
acquiring the updating content of the specified information;
and updating the display content of the target image in real time based on the updating content, and displaying the display content in the designated display area.
8. The method of claim 1, wherein after displaying the target image in the designated display area, further comprising:
and when the trigger operation based on the target image is detected, executing a preset action corresponding to the trigger operation.
9. The method according to claim 8, wherein the performing of the preset action corresponding to the trigger operation comprises:
and starting an application program corresponding to the target image.
10. The method of any of claims 1-9, wherein the functional device is a camera.
11. The method of claim 10, wherein displaying the target image in the designated display area comprises:
and when the camera is detected not to be started, displaying the target image in the designated display area.
12. An image display apparatus applied to an electronic device including a screen provided with a functional device below a designated display area, the apparatus comprising:
the determining unit is used for determining a target image when the electronic equipment is detected to be in a specified state, wherein in the specified state, the screen is in a display state and the display brightness is lower than the screen specified brightness;
and the display unit is used for displaying the target image in the designated display area.
13. An electronic device, comprising:
one or more processors;
a memory;
the display device comprises a screen, a display unit and a display control unit, wherein a functional device is arranged below a designated display area of the screen;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-11.
14. A computer-readable medium having stored program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1-11 when executed by the processor.
CN202110624376.XA 2021-06-04 2021-06-04 Image display method, image display device, electronic device, and storage medium Pending CN115442458A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110624376.XA CN115442458A (en) 2021-06-04 2021-06-04 Image display method, image display device, electronic device, and storage medium
PCT/CN2022/085525 WO2022252807A1 (en) 2021-06-04 2022-04-07 Image display method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110624376.XA CN115442458A (en) 2021-06-04 2021-06-04 Image display method, image display device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN115442458A true CN115442458A (en) 2022-12-06

Family

ID=84240573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110624376.XA Pending CN115442458A (en) 2021-06-04 2021-06-04 Image display method, image display device, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN115442458A (en)
WO (1) WO2022252807A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931113A (en) * 2024-03-25 2024-04-26 合肥维信诺电子有限公司 Display difference determining method and device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060020906A1 (en) * 2003-07-16 2006-01-26 Plut William J Graphics preservation for spatially varying display device power conversation
US20160239091A1 (en) * 2015-02-12 2016-08-18 Qualcomm Incorporated Controlled display of content on wearable displays
CN111443765A (en) * 2020-03-16 2020-07-24 维沃软件技术有限公司 Electronic equipment and screen display method
CN111627369B (en) * 2020-05-14 2023-04-14 Oppo广东移动通信有限公司 Display screen display method, display screen assembly and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931113A (en) * 2024-03-25 2024-04-26 合肥维信诺电子有限公司 Display difference determining method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2022252807A1 (en) 2022-12-08

Similar Documents

Publication Publication Date Title
EP3531230B1 (en) Electronic device including flexible display and method for controlling same
CN113647084B (en) Control method for screen-off display, terminal equipment and storage medium
US9542907B2 (en) Content adjustment in graphical user interface based on background content
US8933958B2 (en) Enhanced user interface elements in ambient light
EP3944080B1 (en) A method, an apparatus and a computer program product for creating a user interface view
US9502001B2 (en) Display control method and apparatus for power saving
US20150061968A1 (en) User terminal apparatus, method for controlling user terminal apparatus thereof, and expanded display system
CN108510929B (en) Display device and control method thereof
CN110999269A (en) Method for displaying content and electronic device thereof
US10115372B2 (en) Display apparatus and controlling method thereof
CN104508684A (en) Setting an operating-system color using a photograph
US20230236547A1 (en) User interfaces for indicating time
CN111667800B (en) Image display parameter adjusting method and device, storage medium and terminal
WO2018072270A1 (en) Method and device for enhancing image display
US11995747B2 (en) Method for generating identification pattern and terminal device
CN107799093A (en) Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal
CN108427586B (en) Using push terminal, method and the computer readable storage medium of theme
CN113157357A (en) Page display method, device, terminal and storage medium
CN115442458A (en) Image display method, image display device, electronic device, and storage medium
CN113407270A (en) Display method and device of electronic equipment and storage medium
CN111862873B (en) Power supply control method and terminal for display screen
CN115880193A (en) Image processing method, image processing device, electronic equipment and storage medium
CN114242023A (en) Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment
KR20150026773A (en) User terminal apparatus, method for controlling user terminal apparatus thereof, and expanded display system
US20240231854A9 (en) User interfaces for indicating time

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