CN111355839B - Screen display method and device - Google Patents

Screen display method and device Download PDF

Info

Publication number
CN111355839B
CN111355839B CN201811574559.XA CN201811574559A CN111355839B CN 111355839 B CN111355839 B CN 111355839B CN 201811574559 A CN201811574559 A CN 201811574559A CN 111355839 B CN111355839 B CN 111355839B
Authority
CN
China
Prior art keywords
gray scale
light brightness
environment
terminal
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811574559.XA
Other languages
Chinese (zh)
Other versions
CN111355839A (en
Inventor
翟东
苏晓煌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811574559.XA priority Critical patent/CN111355839B/en
Publication of CN111355839A publication Critical patent/CN111355839A/en
Application granted granted Critical
Publication of CN111355839B publication Critical patent/CN111355839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure relates to a screen display method and device. The method comprises the following steps: acquiring first environment light brightness of a current environment where a terminal is located; determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture; and displaying gray scale pictures corresponding to the target gray scales in areas on two sides of the screen gap. This is disclosed through at the regional grey scale picture that shows of screen breach both sides to the target grey scale that matches with the environmental brightness of current environment is confirmed automatically, thereby shows the grey scale picture of different grey scales to different environmental brightness, can effectively reduce the emergence that OLED burnt the screen problem, guarantees the bang fill-up effect in bang both sides region simultaneously, promotes user experience.

Description

Screen display method and device
Technical Field
The disclosure relates to the technical field of terminals, in particular to a screen display method and device.
Background
Many smart phone manufacturers have introduced full-screen based smart phones. A special-shaped cutting screen (Notch) belongs to one of the realization schemes of the full-screen, and the special-shaped cutting screen is a screen shape formed by cutting operations such as R-angle cutting, U-shaped slotting cutting and C-angle cutting on a screen according to different requirements. However, the adoption of the special-shaped cutting screen can lead to the generation of a gap on the upper part of the screen, and the problems that a display area is irregular, a user is not used to the use and the like exist.
Among the correlation technique, adopt the bang to fill the flat technique on the smart mobile phone that adopts special-shaped cutting screen, through filling complete black picture for screen breach district both sides for bang both sides are regional to demonstrate the display effect who is basically unanimous with screen breach district black apron, thereby reach the regional function of filling the bang, have eliminated screen upper portion and have had breach, the uneven problem in display area.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a screen display method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a screen display method, which is applied to a terminal using a special-shaped cutting screen, where the special-shaped cutting screen includes areas on two sides of a screen gap and a normal display area, the method including:
acquiring first environment light brightness of a current environment where the terminal is located;
determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and displaying gray scale pictures corresponding to the target gray scale in areas on two sides of the screen gap.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the technical scheme, the gray scale pictures are displayed in the two side areas of the screen notch, the target gray scale matched with the ambient light brightness of the current environment is automatically determined, so that the gray scale pictures of different gray scales are displayed according to different ambient light brightness, the problem of screen burning of OLED (organic light emitting diode) can be effectively reduced, the bang filling effect of the bang side areas is guaranteed, and the user experience is improved.
In one embodiment, determining a target gray scale matching the first ambient light brightness according to gray scale screen configuration information includes:
determining a target environment light brightness range matched with the first environment light brightness according to the gray scale picture configuration information;
and determining a target gray scale corresponding to the target environment light brightness range according to the gray scale picture configuration information.
In one embodiment, determining a target gray scale corresponding to the target ambient light brightness range according to the gray scale screen configuration information includes:
when the target environment light brightness range is a preset first brightness range, obtaining second environment light brightness of the environment where the terminal is located before entering the current environment;
determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information;
determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information;
and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
In one embodiment, acquiring a first ambient light level of a current environment in which the terminal is located includes:
and calling a light sensor of the terminal to measure and obtain first environment light brightness of the current environment where the terminal is located.
In one embodiment, acquiring a first ambient light level of a current environment in which the terminal is located includes:
sending a request message to a server, wherein the request message is used for requesting the server to provide first environment light brightness of the current environment where the terminal is located;
receiving a response message which is sent by the server and carries first environment light brightness of the current environment where the terminal is located;
and analyzing the response message to obtain the first environment light brightness of the current environment where the terminal is located.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen display device including:
the terminal comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring first environment light brightness of a current environment where the terminal is located;
the determining module is used for determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, and the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and the display module is used for displaying the gray scale picture corresponding to the target gray scale in the areas on two sides of the screen gap.
In one embodiment, the determining module includes:
the first determining submodule is used for determining a target environment light brightness range matched with the first environment light brightness according to the gray scale picture configuration information;
and the second determining submodule is used for determining a target gray scale corresponding to the target environment light brightness range according to the gray scale image configuration information.
In an embodiment, when the target ambient light brightness range is a preset first brightness range, the second determining submodule obtains a second ambient light brightness of an environment where the terminal is located before entering the current environment; determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information; determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information; and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
In one embodiment, the obtaining module calls a light sensor of the terminal to measure and obtain a first ambient light brightness of a current environment where the terminal is located.
In one embodiment, the obtaining module includes:
the sending submodule is used for sending a request message to a server, and the request message is used for requesting the server to provide first environment light brightness of the current environment where the terminal is located;
the receiving submodule is used for receiving a response message which is sent by the server and carries the first environment light brightness of the current environment where the terminal is located;
and the analysis submodule is used for analyzing the response message to obtain the first environment light brightness of the current environment where the terminal is located.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen display device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring first environment light brightness of a current environment where the terminal is located;
determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and displaying gray scale pictures corresponding to the target gray scale in areas on two sides of the screen gap.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic front view of a terminal employing a contoured cutting screen, according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a screen display method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a screen display method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a screen display method according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a screen display apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a screen display apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a screen display apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a screen display apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an apparatus according to an example embodiment.
FIG. 10 is a block diagram illustrating an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Among the correlation technique, adopt the bang to fill the flat technique on the smart mobile phone that adopts special-shaped cutting screen, through filling complete black picture for screen breach both sides for bang both sides are regional to demonstrate the display effect who is basically unanimous with screen breach department black apron, thereby reach the regional function of filling the bang, have eliminated screen upper portion and have had breach, the uneven problem in display area. However, for a smart phone using an Organic Light-Emitting Diode (OLED) screen, since the Light-Emitting principle of the OLED is active Light emission, and the Light-Emitting materials of red, green, and blue (RGB) pixels decrease the Light-Emitting efficiency of the Light-Emitting materials with the increase of Light-Emitting time, which finally results in the decrease of the brightness of the screen. Through the experiment, find that after continuously lighting up the regional picture of bang both sides (notch both sides are the black picture promptly, the picture that normal display area is pure white) 100 hours, switch into a whole white picture again, when bang both sides region also was white promptly, the regional luminance of bang both sides is obviously higher than the luminance of normal display area, this kind of condition is called OLED burns the screen, and OLED burns the screen and can influence the user and use, there is the user and moves back after-sale risks such as quick-witted, seriously influence user experience.
In order to solve the above problem, an embodiment of the present disclosure provides a screen display method, which is applied to a terminal that uses a special-shaped cutting screen, where the special-shaped cutting screen includes areas on two sides of a screen gap and a normal display area, and the method includes: acquiring first environment light brightness of a current environment where a terminal is located; determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture; and displaying gray scale pictures corresponding to the target gray scales in areas on two sides of the screen gap. FIG. 1 is a schematic front view of a terminal employing a contoured cutting screen in accordance with an exemplary embodiment; the special-shaped cutting screen comprises a screen gap two-side area 11 and a normal display area 12; in fig. 1, a black cover 13 is shown in the position of the screen cut. According to the screen display method provided by the embodiment of the disclosure, the gray scale images are displayed in the two side areas of the screen notch, and the target gray scale matched with the environmental brightness of the current environment is automatically determined, so that the gray scale images with different gray scales are displayed according to different environmental brightness, the problem of screen burning of an OLED (organic light emitting diode) can be effectively reduced, the leveling effect of the bang in the two side areas of the bang is ensured, and the user experience is improved.
Based on the above analysis, the following specific examples are proposed.
FIG. 2 is a flow chart illustrating a method of screen display according to an exemplary embodiment; the execution main body of the method can be a terminal, such as an electronic device like a smart phone, a tablet computer, a notebook computer, a smart television, or a wearable device (such as a bracelet, smart glasses, etc.); the method can be applied to a terminal adopting a special-shaped cutting screen, wherein the special-shaped cutting screen comprises areas on two sides of a screen gap and a normal display area; as shown in fig. 2, the method comprises the following steps 201 and 203:
in step 201, a first ambient light brightness of a current environment in which the terminal is located is obtained.
For example, the implementation manner of obtaining the first ambient light brightness of the current environment of the terminal may include at least any one of the following manners or a combination of the following manners:
in the implementation mode 1, the terminal calls a light sensor of the terminal to measure and obtain the first environment light brightness of the current environment where the terminal is located. The terminal obtains the first environment light brightness of the current environment of the terminal by calling the light sensor configured on the terminal to measure, and the scheme is simple and easy to operate and has low cost.
In the implementation mode 2, the terminal sends a request message to the server, wherein the request message is used for requesting the server to provide the first environment light brightness of the current environment where the terminal is located; the request message may include, for example, geographic location information and environmental characteristics; geographic location information such as GPS information; environmental characteristics such as indoor, outdoor or floor information. The server obtains the first environment light brightness of the current environment of the terminal through measurement of a light sensor arranged in the current environment of the terminal, and sends a response message carrying the first environment light brightness of the current environment of the terminal to the terminal. The terminal receives a response message sent by the server, and analyzes the response message to obtain the first environment light brightness of the current environment where the terminal is located.
In step 202, a target gray scale matching the first environmental light brightness is determined according to gray scale image configuration information, where the gray scale image configuration information is used to record a predetermined mapping relationship between the environmental light brightness and different gray scales of the gray scale image.
Illustratively, a target ambient light brightness range matched with the first ambient light brightness is determined according to the gray scale picture configuration information; the gray scale picture configuration information can record the mapping relation between different predetermined environmental light brightness ranges and different gray scales of the gray scale picture; and determining a target gray scale corresponding to the target environment light brightness range according to the gray scale picture configuration information.
Optionally, in order to avoid the problem of the gray scale image varying back and forth due to the frequent change of the ambient light brightness, one or more ranges for excessive brightness, such as the first brightness range, may be pre-selected in each ambient light brightness range. When the target environment light brightness range is a preset first brightness range, acquiring second environment light brightness of an environment where the terminal is located before entering the current environment; determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information; determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information; and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
For example, assume that the gray-scale frame configuration information records predetermined different ambient light brightness ranges, which are respectively: [0, 50lux), [50lux, 100lux), [100lux, 500lux), [500lux, 1000lux), [1000lux, ∞); in addition, the gray scale picture configuration information also records: the gray scale picture corresponding to the environment light brightness range [0, 50lux) is 0 gray scale, the gray scale picture corresponding to the environment light brightness range [100lux, 500lux) is 20 gray scale, and the gray scale picture corresponding to the environment light brightness range [1000lux, infinity) is 64 gray scale; the gray-scale image configuration information does not directly record the different gray scales of the gray-scale image mapped by the respective environmental light brightness ranges [50lux, 100lux) and [500lux, 1000 lux). For example, when the terminal enters an environment with the ambient light brightness of 700lux from an environment with the ambient light brightness of more than or equal to 1000lux, the gray scale of the gray scale picture in the two side areas of the screen gap is 64 gray scales; only when the terminal enters an environment with the ambient light brightness less than 500lux, the gray scale of the gray scale picture in the two side areas of the screen gap is changed into 20 gray scales. Similarly, when the terminal enters an environment with the environment brightness of 700lux from an environment with the environment brightness of less than 500lux, the gray scale of the gray scale picture in the two side areas of the screen gap is 20 gray scale, and only when the terminal enters the environment with the environment brightness of more than or equal to 1000lux, the gray scale of the gray scale picture in the two side areas of the screen gap is changed into 64 gray scale, so that the problem that the gray scale of the gray scale picture changes back and forth due to frequent change of the environment brightness can be avoided.
It should be noted that, under the condition of high reflectivity of the OLED screen, when the outdoor condition, for example, the ambient light brightness is greater than 1000lux, the influence of the ambient reflection on the bang leveling effect of the bang has caused the bang leveling to be the same as the display effect of the black picture and the 64 gray-scale picture, so that the 64 gray-scale picture can be displayed in the two side areas of the screen gap, so that the two side areas of the screen gap exhibit the display effect substantially the same as the black cover plate at the screen gap; when the environment is in an indoor environment, for example, the ambient light brightness range is [100lux, 500lux), it is found through experiments that the display effect of the gray-scale picture with 20 gray scales and the black picture is not noticeable to human eyes; and for the indoor environment and the complete dark environment at night with the environmental light brightness less than 50lux, human eyes are sensitive to the brightness, and at the moment, gray scale pictures of 0 gray scale are displayed in the areas on the two sides of the screen gap.
In step 203, gray scale frames corresponding to the target gray scales are displayed in the areas on both sides of the screen gap.
For example, the areas on the two sides of the screen gap display gray scale pictures, which are equivalent to the fact that the RGB of each pixel is lighted, are equivalent to the fact that the pixel brightness in the areas on the two sides of the screen gap, namely the bang fill area, is attenuated while the pixel brightness in the normal display area is attenuated, so that the problem that the brightness difference between the areas on the two sides of the screen gap and the normal display area is too large is solved, and the problem of screen burning of the OLED is effectively reduced. In addition, the user can flexibly set the gray scales of the gray scale pictures corresponding to different environmental light brightness ranges according to actual use requirements.
The technical scheme that this disclosure provided through at the regional grey scale picture that shows of screen breach both sides to the target grey scale that matches with the environmental brightness of current environment is confirmed automatically, thereby shows the grey scale picture of different grey scales to different environmental brightness, can effectively reduce the emergence of OLED burn the screen problem, guarantees the bang fill-up effect in bang both sides region simultaneously, promotes user experience.
Fig. 3 is a flowchart illustrating a screen display method according to an exemplary embodiment. As shown in fig. 3, on the basis of the embodiment shown in fig. 2, the screen display method related to the present disclosure may include the following steps 301 and 304:
in step 301, a light sensor of the terminal is called to measure and obtain a first ambient light brightness of a current environment where the terminal is located.
In step 302, a target ambient light brightness range matching the first ambient light brightness is determined according to the grayscale frame configuration information.
For example, the gray scale image configuration information specifically records predetermined mapping relationships between different environmental light brightness ranges and different gray scales of the gray scale image.
In step 303, a target gray level corresponding to the target ambient light brightness range is determined according to the gray level image configuration information.
In step 304, gray scale frames corresponding to the target gray scales are displayed in the areas on both sides of the screen gap.
According to the technical scheme, the gray scale pictures with different brightness can be switched and displayed in the areas on two sides of the screen gap in different external environments by acquiring the brightness of the first environment of the current environment where the terminal is located, so that the attenuation of the pixel brightness of the normal display area of the screen and the attenuation of the pixel brightness of the areas on two sides of the screen gap can be guaranteed to be consistent as much as possible, and the problem of OLED screen burning caused by inconsistent brightness after the pixel attenuation existing in the related technology is avoided.
Fig. 4 is a flowchart illustrating a screen display method according to an exemplary embodiment. As shown in fig. 4, on the basis of the embodiment shown in fig. 2, the screen display method related to the present disclosure may include the following steps 401 and 407:
in step 401, a first ambient light brightness of a current environment where the terminal is located is obtained.
In step 402, a target ambient light level range matching the first ambient light level is determined according to the grayscale frame configuration information.
In step 403, when the target ambient light brightness range is the preset first brightness range, a second ambient light brightness of the environment where the terminal is located before entering the current environment is obtained.
In step 404, a second luminance range matching the second ambient light luminance is determined according to the grayscale frame configuration information.
In step 405, a gray level corresponding to the second brightness range is determined according to the gray level screen configuration information.
In step 406, the gray scale corresponding to the second brightness range is determined as the target gray scale corresponding to the target ambient light brightness range.
In step 407, a gray scale frame corresponding to the target gray scale is displayed in the two side areas of the screen gap.
In the technical scheme provided by the embodiment of the disclosure, one or more ranges for excessive brightness, such as a first brightness range, are selected in advance from each environment brightness range in the gray scale image configuration information, and the gray scale corresponding to the second environment brightness of the environment where the terminal is located before entering the current environment is determined as the target gray scale corresponding to the target environment brightness range, so that the problem that the gray scale of the gray scale image changes back and forth due to frequent changes of the environment brightness can be avoided.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
FIG. 5 is a block diagram illustrating a screen display device that may be implemented in various ways, such as implementing all of the components of the device in a terminal or implementing the components of the device in a coupled manner on the terminal side, according to an exemplary embodiment; the device may implement the method related to the present disclosure through software, hardware or a combination of the two, as shown in fig. 5, the screen display device includes: an obtaining module 501, a determining module 502 and a displaying module 503, wherein:
the obtaining module 501 is configured to obtain a first ambient light brightness of a current environment where the terminal is located;
the determining module 502 is configured to determine a target gray scale matching the first ambient light brightness according to gray scale image configuration information, where the gray scale image configuration information is used to record a predetermined mapping relationship between the ambient light brightness and different gray scales of a gray scale image;
the display module 503 is configured to display a gray scale picture corresponding to the target gray scale in the two side areas of the screen gap.
The device provided by the embodiment of the present disclosure can be used for executing the technical scheme of the embodiment shown in fig. 2, and the execution mode and the beneficial effect are similar, which are not described herein again.
In one possible embodiment, as shown in fig. 6, the screen display device shown in fig. 5 may further include a determining module 502 configured to include: a first determining submodule 601 and a second determining submodule 602, wherein:
the first determining sub-module 601 is configured to determine a target ambient light brightness range matching the first ambient light brightness according to the grayscale picture configuration information;
the second determining sub-module 602 is configured to determine a target gray scale corresponding to the target ambient light brightness range according to the gray scale screen configuration information.
In a possible implementation manner, the second determining sub-module 602, when the target ambient light brightness range is a preset first brightness range, obtains a second ambient light brightness of an environment where the terminal is located before entering the current environment; determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information; determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information; and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
In a possible implementation manner, the obtaining module 501 calls a light sensor of the terminal to measure and obtain a first ambient light brightness of a current environment where the terminal is located.
In one possible embodiment, as shown in fig. 7, the screen display apparatus shown in fig. 5 may further include a configuration module 501 configured to include: a sending submodule 701, a receiving submodule 702, and an analyzing submodule 703, wherein:
the sending submodule 701 is configured to send a request message to the server, where the request message is used to request the server to provide a first ambient light brightness of a current environment where the terminal is located;
the receiving sub-module 702 is configured to receive a response message of the first ambient light brightness of the current environment where the portable terminal is located, which is sent by the server;
the parsing sub-module 703 is configured to parse the response message to obtain a first ambient light brightness of the current environment where the terminal is located.
Fig. 8 is a block diagram illustrating a screen display apparatus 800 according to an exemplary embodiment, the screen display apparatus 800 being adapted to a terminal, the screen display apparatus 800 including:
a processor 801;
a memory 802 for storing processor-executable instructions;
wherein the processor 801 is configured to:
acquiring first environment light brightness of a current environment where a terminal is located;
determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and displaying gray scale pictures corresponding to the target gray scales in areas on two sides of the screen gap.
In one embodiment, the processor 801 may be further configured to:
determining a target environment light brightness range matched with the first environment light brightness according to the gray scale picture configuration information;
and determining a target gray scale corresponding to the target environment light brightness range according to the gray scale picture configuration information.
In one embodiment, the processor 801 may be further configured to:
when the target environment light brightness range is a preset first brightness range, acquiring second environment light brightness of an environment where the terminal is located before entering the current environment;
determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information;
determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information;
and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
In one embodiment, the processor 801 may be further configured to:
and calling a light sensor of the terminal to measure and obtain first environment light brightness of the current environment where the terminal is located.
In one embodiment, the processor 801 may be further configured to:
sending a request message to a server, wherein the request message is used for requesting the server to provide first environment light brightness of the current environment where the terminal is located;
receiving a response message of first environment light brightness of the current environment where the portable terminal is located, which is sent by a server;
and analyzing the response message to obtain the first environment light brightness of the current environment where the terminal is located.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 9 is a block diagram illustrating an apparatus in accordance with an exemplary embodiment; the apparatus 900 is applicable to a terminal; the apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the apparatus 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 includes a screen that provides an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
FIG. 10 is a block diagram illustrating an apparatus in accordance with an example embodiment. For example, the apparatus 1000 may be provided as a server. The apparatus 1000 includes a processing component 1002 that further includes one or more processors, and memory resources, represented by memory 1003, for storing instructions, such as application programs, that are executable by the processing component 1002. The application programs stored in memory 1003 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1002 is configured to execute instructions to perform the above-described methods.
The device 1000 may also include a power component 1006 configured to perform power management of the device 1000, a wired or wireless network interface 1005 configured to connect the device 1000 to a network, and an input/output (I/O) interface 1008. The device 1000 may operate based on an operating system stored in memory 1003, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a device 900 or a device 1000, enable the device 900 or the device 1000 to perform a method, the method being applied to a terminal employing a shaped cutting screen, the shaped cutting screen including a screen gap both side area and a normal display area, the method comprising:
acquiring first environment light brightness of a current environment where a terminal is located;
determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and displaying gray scale pictures corresponding to the target gray scales in areas on two sides of the screen gap.
In one embodiment, determining a target gray level matching the first ambient light brightness according to the gray level screen configuration information includes:
determining a target environment light brightness range matched with the first environment light brightness according to the gray scale picture configuration information;
and determining a target gray scale corresponding to the target environment light brightness range according to the gray scale picture configuration information.
In one embodiment, determining a target gray scale corresponding to the target ambient light brightness range according to the gray scale screen configuration information includes:
when the target environment light brightness range is a preset first brightness range, acquiring second environment light brightness of an environment where the terminal is located before entering the current environment;
determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information;
determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information;
and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
In one embodiment, acquiring the first ambient light brightness of the current environment in which the terminal is located includes:
and calling a light sensor of the terminal to measure and obtain first environment light brightness of the current environment where the terminal is located.
In one embodiment, acquiring the first ambient light brightness of the current environment in which the terminal is located includes:
sending a request message to a server, wherein the request message is used for requesting the server to provide first environment light brightness of the current environment where the terminal is located;
receiving a response message of first environment light brightness of the current environment where the portable terminal is located, which is sent by a server;
and analyzing the response message to obtain the first environment light brightness of the current environment where the terminal is located.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A screen display method is characterized by being applied to a terminal adopting a special-shaped cutting screen, wherein the special-shaped cutting screen comprises areas on two sides of a screen gap and a normal display area, and the method comprises the following steps:
acquiring first environment light brightness of a current environment where the terminal is located;
determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and displaying gray scale pictures corresponding to the target gray scale in areas on two sides of the screen gap.
2. The method of claim 1, wherein determining a target gray level matching the first ambient light level according to gray level frame configuration information comprises:
determining a target environment light brightness range matched with the first environment light brightness according to the gray scale picture configuration information;
and determining a target gray scale corresponding to the target environment light brightness range according to the gray scale picture configuration information.
3. The method of claim 2, wherein determining a target gray level corresponding to the target ambient light brightness range according to the gray level screen configuration information comprises:
when the target environment light brightness range is a preset first brightness range, obtaining second environment light brightness of the environment where the terminal is located before entering the current environment;
determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information;
determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information;
and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
4. The method according to claim 1, wherein obtaining the first ambient light level of the current environment of the terminal comprises:
and calling a light sensor of the terminal to measure and obtain first environment light brightness of the current environment where the terminal is located.
5. The method according to claim 1, wherein obtaining the first ambient light level of the current environment of the terminal comprises:
sending a request message to a server, wherein the request message is used for requesting the server to provide first environment light brightness of the current environment where the terminal is located;
receiving a response message which is sent by the server and carries first environment light brightness of the current environment where the terminal is located;
and analyzing the response message to obtain the first environment light brightness of the current environment where the terminal is located.
6. The utility model provides a screen display device, its characterized in that, the device is the terminal that adopts special-shaped cutting screen, special-shaped cutting screen includes screen breach both sides region and normal display area, the device includes:
the terminal comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring first environment light brightness of a current environment where the terminal is located;
the determining module is used for determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, and the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and the display module is used for displaying the gray scale picture corresponding to the target gray scale in the areas on two sides of the screen gap.
7. The apparatus of claim 6, wherein the determining module comprises:
the first determining submodule is used for determining a target environment light brightness range matched with the first environment light brightness according to the gray scale picture configuration information;
and the second determining submodule is used for determining a target gray scale corresponding to the target environment light brightness range according to the gray scale image configuration information.
8. The apparatus according to claim 7, wherein the second determining sub-module obtains a second ambient light brightness of an environment where the terminal is located before entering the current environment when the target ambient light brightness range is a preset first brightness range; determining a second brightness range matched with the second ambient light brightness according to the gray scale picture configuration information; determining a gray scale corresponding to the second brightness range according to the gray scale picture configuration information; and determining the gray scale corresponding to the second brightness range as a target gray scale corresponding to the target environment light brightness range.
9. The device according to claim 6, wherein the obtaining module calls a light sensor of the terminal to measure a first ambient light brightness of a current environment in which the terminal is located.
10. The apparatus of claim 6, wherein the obtaining module comprises:
the sending submodule is used for sending a request message to a server, and the request message is used for requesting the server to provide first environment light brightness of the current environment where the terminal is located;
the receiving submodule is used for receiving a response message which is sent by the server and carries the first environment light brightness of the current environment where the terminal is located;
and the analysis submodule is used for analyzing the response message to obtain the first environment light brightness of the current environment where the terminal is located.
11. The utility model provides a screen display device, its characterized in that, the terminal of device for adopting special-shaped cutting screen, special-shaped cutting screen includes screen breach both sides region and normal display area, includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring first environment light brightness of a current environment where a terminal is located;
determining a target gray scale matched with the first environmental light brightness according to gray scale picture configuration information, wherein the gray scale picture configuration information is used for recording the mapping relation between the predetermined environmental light brightness and different gray scales of a gray scale picture;
and displaying gray scale pictures corresponding to the target gray scale in areas on two sides of the screen gap.
12. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 5.
CN201811574559.XA 2018-12-21 2018-12-21 Screen display method and device Active CN111355839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811574559.XA CN111355839B (en) 2018-12-21 2018-12-21 Screen display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811574559.XA CN111355839B (en) 2018-12-21 2018-12-21 Screen display method and device

Publications (2)

Publication Number Publication Date
CN111355839A CN111355839A (en) 2020-06-30
CN111355839B true CN111355839B (en) 2021-05-04

Family

ID=71197934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811574559.XA Active CN111355839B (en) 2018-12-21 2018-12-21 Screen display method and device

Country Status (1)

Country Link
CN (1) CN111355839B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859530A (en) * 2009-04-09 2010-10-13 索尼公司 Display device and the method that drives display device
CN106681675A (en) * 2016-11-16 2017-05-17 珠海市魅族科技有限公司 Display control method and device
CN107742497A (en) * 2017-10-31 2018-02-27 昆山国显光电有限公司 The pixel cell driving method and drive device of special-shaped display screen
CN107784971A (en) * 2017-10-31 2018-03-09 昆山国显光电有限公司 Special-shaped display screen and the display device for integrating special-shaped display screen
CN108052303A (en) * 2017-12-14 2018-05-18 广东欧珀移动通信有限公司 Electronic device, method for displaying image and Related product
CN108108137A (en) * 2017-12-15 2018-06-01 广东欧珀移动通信有限公司 Display control method and related product
CN108198534A (en) * 2018-01-12 2018-06-22 京东方科技集团股份有限公司 Display methods, display optimization device and display device
CN108510940A (en) * 2018-05-10 2018-09-07 昆山国显光电有限公司 Display screen, the compensation method of brightness of display screen and compensation device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5866512B1 (en) * 2014-09-30 2016-02-17 パナソニックIpマネジメント株式会社 Card payment terminal
JP2017208750A (en) * 2016-05-20 2017-11-24 ローム株式会社 Video monitoring device, video display system, and vehicle
CN107644610A (en) * 2017-10-31 2018-01-30 昆山国显光电有限公司 Special-shaped display screen and the display device for integrating special-shaped display screen
CN108111889B (en) * 2017-12-14 2020-09-08 Oppo广东移动通信有限公司 Electronic equipment and related product
CN107864299B (en) * 2017-12-25 2020-08-21 Oppo广东移动通信有限公司 Picture display method and related product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859530A (en) * 2009-04-09 2010-10-13 索尼公司 Display device and the method that drives display device
CN106681675A (en) * 2016-11-16 2017-05-17 珠海市魅族科技有限公司 Display control method and device
CN107742497A (en) * 2017-10-31 2018-02-27 昆山国显光电有限公司 The pixel cell driving method and drive device of special-shaped display screen
CN107784971A (en) * 2017-10-31 2018-03-09 昆山国显光电有限公司 Special-shaped display screen and the display device for integrating special-shaped display screen
CN108052303A (en) * 2017-12-14 2018-05-18 广东欧珀移动通信有限公司 Electronic device, method for displaying image and Related product
CN108108137A (en) * 2017-12-15 2018-06-01 广东欧珀移动通信有限公司 Display control method and related product
CN108198534A (en) * 2018-01-12 2018-06-22 京东方科技集团股份有限公司 Display methods, display optimization device and display device
CN108510940A (en) * 2018-05-10 2018-09-07 昆山国显光电有限公司 Display screen, the compensation method of brightness of display screen and compensation device

Also Published As

Publication number Publication date
CN111355839A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
EP3277057B1 (en) Light emission control method and device
US10832619B2 (en) Method for controlling screen display and device using the same
CN107992182B (en) Method and device for displaying interface image
US11132929B2 (en) Method and apparatus for controlling on-screen display
CN108492767A (en) Prevent the method, apparatus and storage medium of display burn-in
US11094291B2 (en) Method and device for detecting ambient light and terminal
CN108122195B (en) Picture processing method and device
CN112116670B (en) Information processing method and device, electronic equipment and storage medium
CN111210792A (en) Method and device for determining ambient light brightness, terminal and storage medium
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN112312034A (en) Exposure method and device of image acquisition module, terminal equipment and storage medium
CN108847199B (en) Brightness determination method and device
CN114067733A (en) Display screen correction method, display screen correction device and display chip
CN111355839B (en) Screen display method and device
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN115731836A (en) Display effect control method and device of display screen, terminal equipment and medium
CN116453459A (en) Screen display method and device, readable storage medium and electronic equipment
CN112086075B (en) Screen display parameter adjusting method and device and storage medium
CN112689047B (en) Display control method and device and electronic equipment
CN111314550A (en) Display control method and device, mobile terminal and storage medium
CN112087539A (en) Screen light adjusting method for terminal equipment and terminal equipment
CN114187874A (en) Brightness adjusting method and device and storage medium
CN113571027B (en) Control method and device for display screen of electronic equipment, electronic equipment and storage medium
CN112074005B (en) Power consumption control method and device
CN111292690B (en) Screen backlight brightness adjusting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant