CN111459233B - Display method, electronic device and storage medium - Google Patents

Display method, electronic device and storage medium Download PDF

Info

Publication number
CN111459233B
CN111459233B CN202010321228.6A CN202010321228A CN111459233B CN 111459233 B CN111459233 B CN 111459233B CN 202010321228 A CN202010321228 A CN 202010321228A CN 111459233 B CN111459233 B CN 111459233B
Authority
CN
China
Prior art keywords
bending
area
coordinates
electronic device
brightness
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
CN202010321228.6A
Other languages
Chinese (zh)
Other versions
CN111459233A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010321228.6A priority Critical patent/CN111459233B/en
Publication of CN111459233A publication Critical patent/CN111459233A/en
Application granted granted Critical
Publication of CN111459233B publication Critical patent/CN111459233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed

Abstract

The embodiment of the invention provides a display method, electronic equipment and a storage medium, wherein the electronic equipment is flexible electronic equipment, and the method comprises the following steps: under the condition that the flexible electronic equipment is in a bending state, the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment are obtained, wherein the bending area is an area where the screen deforms when the flexible electronic equipment is in the bending state; correcting pixel values of the bending region based on the bending angle, the screen brightness and coordinates of the bending region; and adjusting the color of the bending region according to the corrected pixel value of the bending region. Therefore, the flexible electronic equipment can correspondingly adjust the pixel value of the bending area according to the bending state of the flexible electronic equipment, so that the electronic equipment is prevented from influencing the watching of a user when the electronic equipment is in the bending state.

Description

Display method, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a display method, electronic equipment and a storage medium.
Background
Referring to fig. 1a, when the folding screen of the conventional electronic device 11 is in a folded and bent state, the screen of the bending area 12 at the hinge position is pressed in a smaller space, so that when the screen is displayed, the brightness of the bending area 12 is slightly higher than that of other areas in visual effect, and a bright line is formed in the middle of the whole viewing screen to divide the screen into two parts, thereby affecting the viewing of users.
Disclosure of Invention
The embodiment of the invention provides a display method, electronic equipment and a storage medium, which can solve the problem that the user watching is affected when the conventional flexible electronic equipment is in a bending state.
In a first aspect, an embodiment of the present invention provides a display method, applied to a flexible electronic device, where the method includes:
acquiring a bending angle, screen brightness and coordinates of a bending area of the flexible electronic equipment when the flexible electronic equipment is in a bending state, wherein the bending area is an area where a screen deforms when the flexible electronic equipment is in the bending state;
correcting pixel values of the bending region based on the bending angle, the screen brightness and coordinates of the bending region;
and adjusting the color of the bending region according to the corrected pixel value of the bending region.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device is a flexible electronic device, and the electronic device includes:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment when the flexible electronic equipment is in a bending state, and the bending area is an area where the screen is deformed when the flexible electronic equipment is in the bending state;
the correction module is used for correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinates of the bending area;
and the display module is used for adjusting the color of the bending region according to the corrected pixel value of the bending region.
In a third aspect, an embodiment of the present invention provides an electronic device, which is a flexible electronic device, including a processor, a memory, and a program stored in the memory and executable on the processor, where the program when executed by the processor implements the steps of the display method according to the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the display method according to the first aspect.
In the embodiment of the invention, under the condition that the flexible electronic equipment is in a bending state, the pixel value of the bending region is corrected based on the bending angle, the screen brightness and the coordinates of the bending region, and the color of the bending region is adjusted according to the corrected pixel value of the bending region. Therefore, the flexible electronic equipment can correspondingly adjust the color displayed in the bending area according to the bending state of the flexible electronic equipment, so that the electronic equipment is prevented from influencing the watching of a user when the electronic equipment is in the bending state.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a schematic diagram illustrating a bending state of a conventional flexible electronic device;
FIG. 1b is a schematic diagram of a coordinate system established in a screen of an electronic device;
fig. 2 is a schematic flow chart of a display method according to an embodiment of the present invention;
fig. 3 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In embodiments of the invention, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Relational terms such as "first" and "second", and the like, are used solely to distinguish one from another, and do not necessarily imply a relationship or order between such names.
The electronic device in the embodiment of the invention can be a mobile phone, a tablet personal computer, a notebook computer, an Ultra-Mobile Personal Computer (UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA) and the like.
The electronic device is a flexible electronic device, as shown in fig. 1a, and the flexible electronic device has a folding screen, where the folding screen can perform bending motion within a certain angle range through an internal hinge structure, and the whole screen is divided into two screens, namely, a first screen 111 and a second screen 121 through bending, and in the process of bending the folding screen, a region where bending deformation occurs is called a bending region, or may also be called a hinge region, a folding region, and the name of the region is not specifically limited in the embodiment of the present invention.
Referring to fig. 2, an embodiment of the present invention provides a display method, where an execution body of the method is a flexible electronic device, and the method includes the following steps:
step 201: under the condition that the flexible electronic equipment is in a bending state, obtaining the bending angle, screen brightness and coordinates of a bending area of the flexible electronic equipment;
step 202: correcting pixel values of the bending region based on the bending angle, the screen brightness and coordinates of the bending region;
step 203: and adjusting the color of the bending region according to the corrected pixel value of the bending region.
The bending region is a region where the screen is deformed when the flexible electronic device is in a bending state, for example, the bending region 12 in fig. 1a or fig. 1 b.
The above-mentioned bending angle refers to a bending angle in a current bending state, for example, an angle between the first screen 111 and the second screen 121 in fig. 1a, and the angle value may be obtained by an angle measurement device or an angle sensor disposed inside the electronic device, and the manner of obtaining the bending angle is not specifically limited in the embodiment of the present invention.
The brightness of the screen refers to the current brightness value of the folded screen, and it can be understood that the different visual effects of the bending area are caused by the bending and squeezing of the screen in a smaller space, and the brightness value of the bending area is the same as the brightness values of other areas when the whole screen is controlled to display.
The coordinates of the bending region refer to the coordinates of the region of the screen where bending deformation occurs when the folding screen is bent, and specifically, as shown in fig. 1b, a coordinate system may be established in the whole screen, and the coordinates of the bending region may be determined based on the coordinates of four vertices of the bending region. The origin of the coordinate system shown in fig. 1b is located at the upper left corner of the whole screen, and it can be understood that the origin of the coordinate system may be located at any position in the whole screen, and the position of the origin of the coordinate system is not specifically limited in the embodiment of the present invention.
In the embodiment of the invention, when the flexible electronic equipment is bent, the bending angle, the screen brightness and the coordinates of the bending area in the current state are obtained, and the pixel values in the bending area are corrected according to the parameters, namely, the pixel values in the bending area are calculated and adjusted based on the bending angle, the screen brightness and the coordinates of the bending area, so that the display color in the bending area is changed, and the brightness of the bending area can be kept consistent with the brightness of other areas in view of visual effect after the bending.
In some embodiments, correcting the pixel value of the bending region based on the bending angle, the screen brightness, and the coordinates of the bending region includes: determining correction parameters based on the bending angle, the screen brightness and coordinates of the bending area; and correcting the pixel value of the bending region according to the correction parameter.
In the embodiment of the invention, corresponding correction parameters are determined according to the information of the bending angle, the screen brightness and the coordinates of the bending area, and the pixel values of the bending area are corrected through the correction parameters.
Alternatively, the pixel values of the correction bending region may be the pixel values of all the pixel points of the correction bending region, the pixel values of the partial pixel points of the correction bending region, or the pixel values of the partial pixel blocks of the correction bending region. The embodiment of the present invention is not limited thereto.
Specifically, based on the calculation results of the bending angle, the screen brightness, the coordinates of the bending region and the correction parameters, red-Green-Blue (RGB) values required by the bending region are determined so as to change the color of the bending region, so that the bending region and other regions can keep consistent in visual effect.
For example: the folding screen displays RGB values as R according to the control instruction: 255, respectively; g:0; b:0, when the folding screen is folded, the folding area is also output R:255, respectively; g:0; b:0, but because the screen is bent and extruded, the red color of the bending area is brighter than other areas in visual effect, and at the moment, the electronic equipment calculates according to the bending angle, the screen brightness, the coordinates of the bending area and correction parameters, so that the RGB value required to be output by the bending area is R:180; g:2; b:2, which is consistent with the red brightness of other areas in visual effect after being bent and pressed by the screen, thereby realizing that the bent areas are consistent with the other areas in visual effect.
Further, the embodiment of the invention provides a specific calculation process:
by the formulaRGB values of the bending region are calculated.
Wherein O is rgb (x, y) is RGB value corrected at the (x, y) position of the bending region coordinates, I rgb (x, y) is RGB value before correction of the coordinates (x, y) of the bending region, factor is a brightness factor for representing a factor to be multiplied for adjusting brightness, angle is a bending angle, lum is a screen brightness, m (x, y) is a first correction parameter for representing an offset value to be increased according to a screen characteristic, k (x, y) is a second correction parameter for a factor to be multiplied with the bending angle, n (x, y) is a third correction parameter for representing a color offset value to be increased at the coordinates (x, y), x E [ x1, x2 ]],y∈[y1,y2]X1 is the bending area in the first direction,for example, the start point in the x-axis direction in fig. 1b, x2 is the end point of the bending region in the first direction, y1 is the start point of the bending region in the second direction, for example, the y-axis direction in fig. 1b, and y1 is the end point of the bending region in the second direction.
Continuing with the above-mentioned RGB values R:255, respectively; g:0; b:0 is adjusted to RGB value R:255, respectively; g:0; b: the scenario of 0 is exemplified by:
assuming that the size of the folding screen is 2400×2400, the current screen brightness lum=0.5, the folding angle angle=60, the folding region is located in the middle of the folding screen, specifically, the origin of the coordinate system is located at the upper left corner of the folding screen, the coordinates of the folding region are x1=1150, x2=1250, y1=0, y2=2400, at this time, the electronic device determines the corresponding first correction parameter m (x, y) =2, the second correction parameter k (x, y) =0.02, and the third correction parameter n (x, y) =0.02 according to the folding angle, the screen brightness, and the coordinates of the folding region. And substituting the R, G, B value in the RGB values into a formula to calculate, namely calculating to obtain the R, G, B value in the RGB values required to be output in the bending region.
In some embodiments, the method may further comprise: the first mapping relation between the coordinates of the bending angle, the screen brightness and the bending area and the correction parameters is configured, and the method for determining the correction parameters specifically comprises the following steps: according to a preset first mapping relation, determining correction parameters corresponding to the bending angle, the screen brightness and coordinates of the bending area; the first mapping relationship is a mapping relationship between the bending angle, the screen brightness, coordinates of the bending region and the correction parameters.
Optionally, in the embodiment of the present invention, the first mapping relationship is preconfigured in the electronic device, and correction parameters corresponding to different bending angles, screen brightness and coordinates of the bending region may be determined according to the first mapping relationship.
The first mapping relationship may be tested by a tester through multiple tests to test different kinds of folded screens, for example: organic Light-Emitting Diode (OLED), active-matrix Organic Light-Emitting Diode (AMOLED), and in different bending states, for example: corresponding correction coefficients under the conditions of 30 degrees, 60 degrees, 90 degrees and the like are folded, and test results are stored in the electronic equipment, so that in the using process of the electronic equipment, the corresponding correction coefficients can be directly adjusted according to the folding angle, the screen brightness and the coordinates of the folding area, and the display effect of the folding area can be adjusted.
Further, in consideration of individual differences among different persons, it is possible that the correction effect of the correction parameter determined by the tester does not satisfy the user's demand, and thus the function of autonomous configuration of the user can be added. Specifically, the method further comprises the following steps: receiving a first input of a user into the bending region; responding to the first input, selecting a target position or a target area in the bending area, and displaying a first control for adjusting correction parameters of the target position or the target area; receiving a second input of a user to the first control; generating a second mapping relation among the target position or the target area, the brightness of the screen, the coordinates of the bending area and the correction parameters in response to the second input;
in the embodiment of the present invention, if the user considers that the correction effect of the pre-configured correction parameter in the electronic device cannot meet the requirement of the visual effect, the first input may be, for example: and selecting a target position or a target area in the bending area by clicking operation or sliding operation and the like, and correspondingly, the electronic equipment can display a first control in the screen, wherein the first control is a configuration option interface for configuring correction parameters, and a user performs operation input in the configuration option interface through second input to adjust the correction parameters k, m and n so as to configure a second mapping relation among the bending angle, screen brightness and coordinates of the bending area in the target position or the target area and the correction parameters, as shown in fig. 3.
Therefore, the correction parameters of the local position or the area in the bending area are adjusted based on the autonomous configuration of the user, so that the display effect of the folding screen of the electronic equipment can meet different requirements of different users, and the use flexibility of the electronic equipment is improved.
Referring to fig. 4, an embodiment of the present invention provides an electronic device 400, the electronic device 400 being a flexible electronic device, the electronic device 400 including:
the obtaining module 401 is configured to obtain, when the flexible electronic device is in a bending state, a bending angle of the flexible electronic device, brightness of a screen, and coordinates of a bending region, where the bending region is a region where the screen is deformed when the flexible electronic device is in the bending state;
a correction module 402, configured to correct a pixel value of the bending region based on the bending angle, the screen brightness, and the coordinates of the bending region;
the display module 403 is configured to adjust a color of the bending region according to the corrected pixel value of the bending region.
Optionally, the correction module 402 includes:
a determining unit, configured to determine a correction parameter based on the bending angle, the screen brightness, and coordinates of the bending region;
and the correction unit is used for correcting the pixel value of the bending region according to the correction parameter.
Optionally, the correction unit is further configured to:
by the formulaCalculating RGB values of the bending area;
wherein O is rgb (x, y) is RGB value corrected at the (x, y) position of the bending region coordinates, I rgb (x, y) is RGB value before correction of the coordinates (x, y) of the bending area, factor is brightness factor, angle is the bending angle, lum is the screen brightness, m (x, y) is the first correction parameter, k (x, y) is the second correction parameter, n (x, y) is the third correction parameter, xε [ x1, x2 ]],y∈[y1,y2]X1 is the starting point of the bending region in the first direction, x2 is the ending point of the bending region in the first direction, y1 is the starting point of the bending region in the second direction, and y1 is the ending point of the bending region in the second direction.
Optionally, the electronic device 400 further includes:
the determining unit is further configured to determine the correction parameter corresponding to the bending angle, the screen brightness, and the coordinates of the bending region according to a preset first mapping relationship;
the first mapping relationship is a mapping relationship among the bending angle, the screen brightness, the coordinates of the bending region and the correction parameters.
Optionally, the electronic device 400 further includes:
the first receiving module is used for receiving a first input of a user in the bending area;
the control module is used for responding to the first input, selecting a target position or a target area in the bending area and displaying a first control for adjusting correction parameters in the target position or the target area;
the second receiving module is used for receiving a second input of the user to the first control;
and the generation module is used for responding to the second input and generating a second mapping relation among the bending angle, the screen brightness and the coordinates of the bending area in the target position or the target area and the correction parameter.
In the embodiment of the invention, corresponding correction coefficients are determined according to the bending angle, the screen brightness and the coordinates of the bending area, and the pixel value of the bending area is calculated through the bending angle, the screen brightness, the coordinates of the bending area and the correction coefficients; and adjusting the color of the bending region according to the corrected pixel value of the bending region. Therefore, the electronic equipment can correspondingly adjust the pixel value of the bending area according to the state of the folding screen, so that the electronic equipment is prevented from influencing the watching of a user when in the bending state.
Fig. 5 is a schematic hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device is a flexible electronic device, and as shown, the electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power source 511. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
Optionally, a computer program stored on the memory 509 and executable on said processor 510, which computer program, when executed by the processor 510, performs the steps of:
acquiring a bending angle, screen brightness and coordinates of a bending area of the flexible electronic equipment when the flexible electronic equipment is in a bending state, wherein the bending area is an area where a screen deforms when the flexible electronic equipment is in the bending state;
correcting pixel values of the bending region based on the bending angle, the screen brightness and coordinates of the bending region;
and adjusting the color of the bending region according to the corrected pixel value of the bending region.
Therefore, the flexible electronic equipment can correspondingly adjust the pixel value of the bending area according to the bending state of the flexible electronic equipment, so that the electronic equipment is prevented from influencing the watching of a user when the electronic equipment is in the bending state.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 510; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used for receiving an audio or video signal. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. Microphone 5042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 501 in case of a phone call mode.
The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or the backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 505 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 506 is used to display information input by a user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 5071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). Touch panel 5071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 510 to determine a type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and an external device.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The electronic device 500 may also include a power supply 511 (e.g., a battery) for powering the various components, and preferably the power supply 511 may be logically connected to the processor 510 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 500 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program when executed by the processor implements each process of the method embodiment shown in fig. 2 to 3 and achieves the same technical effects, and for avoiding repetition, a description is omitted herein.
The embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements each process of the method embodiments shown in fig. 2 to 3 and achieves the same technical effects, and is not repeated herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (12)

1. A display method applied to a flexible electronic device, the method comprising:
acquiring a bending angle, screen brightness and coordinates of a bending area of the flexible electronic equipment when the flexible electronic equipment is in a bending state, wherein the bending area is an area where the screen is deformed when the flexible electronic equipment is in the bending state, and the brightness value of the bending area is the same as the brightness value of other areas in the screen;
correcting pixel values of the bending region based on the bending angle, the screen brightness and coordinates of the bending region;
and adjusting the color of the bending region according to the corrected pixel value of the bending region so as to ensure that the brightness of the bending region is consistent with the brightness of other regions in visual effect.
2. The method of claim 1, wherein the correcting the pixel value of the bending region based on the bending angle, the screen brightness, and the coordinates of the bending region comprises:
determining correction parameters based on the bending angle, the screen brightness and coordinates of the bending area;
and correcting the pixel value of the bending region according to the correction parameter.
3. The method of claim 2, wherein correcting the pixel values of the inflection region according to the correction parameters comprises:
by the formulaCalculating RGB values of the bending area;
wherein O is rgb (x, y) is RGB value corrected at the (x, y) position of the bending region coordinates, I rgb (x, y) is RGB value before correction of the coordinates (x, y) of the bending area, factor is brightness factor, angle is the bending angle, lum is the screen brightness, m (x, y) is the first correction parameter, k (x, y) is the second correction parameter, n (x, y) is the third correction parameter, xε [ x1, x2 ]],y∈[y1,y2]X1 is the starting point of the bending region in the first direction, x2 is the ending point of the bending region in the first direction, y1 is the starting point of the bending region in the second direction, and y2 is the ending point of the bending region in the second direction.
4. The method of claim 2, wherein determining correction parameters based on the bend angle, the screen brightness, and coordinates of the bend region comprises:
determining the correction parameters corresponding to the bending angle, the screen brightness and the coordinates of the bending area according to a preset first mapping relation;
the first mapping relationship is a mapping relationship among the bending angle, the screen brightness, the coordinates of the bending region and the correction parameters.
5. The method according to claim 2, wherein the method further comprises:
receiving a first input of a user into the bending region;
responding to the first input, selecting a target position or a target area in the bending area, and displaying a first control for adjusting correction parameters in the target position or the target area;
receiving a second input of a user to the first control;
and generating a second mapping relation among the bending angle, the screen brightness and the coordinates of the bending area in the target position or the target area and the correction parameters in response to the second input.
6. An electronic device, the electronic device being a flexible electronic device, the electronic device comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment when the flexible electronic equipment is in a bending state, the bending area is an area where the screen is deformed when the flexible electronic equipment is in the bending state, and the brightness value of the bending area is the same as the brightness value of other areas in the screen;
the correction module is used for correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinates of the bending area;
and the display module is used for adjusting the color of the bending region according to the corrected pixel value of the bending region so as to ensure that the brightness of the bending region is consistent with the brightness of other regions in visual effect.
7. The electronic device of claim 6, wherein the correction module comprises:
a determining unit, configured to determine a correction parameter based on the bending angle, the screen brightness, and coordinates of the bending region;
and the correction unit is used for correcting the pixel value of the bending region according to the correction parameter.
8. The electronic device of claim 7, wherein the correction unit is further configured to:
by the formulaCalculating RGB values of the bending area;
wherein O is rgb (x, y) is RGB value corrected at the (x, y) position of the bending region coordinates, I rgb (x, y) is RGB value before correction of the coordinates (x, y) of the bending area, factor is brightness factor, angle is the bending angle, lum is the screen brightness, m (x, y) is the first correction parameter, k (x, y) is the second correction parameter, n (x, y) is the third correction parameter, xε [ x1, x2 ]],y∈[y1,y2]X1 is the starting point of the bending region in the first direction, x2 is the ending point of the bending region in the first direction, y1 is the starting point of the bending region in the second direction, and y2 is the ending point of the bending region in the second direction.
9. The electronic device of claim 7, wherein the electronic device further comprises:
the determining unit is further configured to determine the correction parameter corresponding to the bending angle, the screen brightness, and the coordinates of the bending region according to a preset first mapping relationship;
the first mapping relationship is a mapping relationship among the bending angle, the screen brightness, the coordinates of the bending region and the correction parameters.
10. The electronic device of claim 7, wherein the electronic device further comprises:
the first receiving module is used for receiving a first input of a user in the bending area;
the control module is used for responding to the first input, selecting a target position or a target area in the bending area and displaying a first control for adjusting correction parameters in the target position or the target area;
the second receiving module is used for receiving a second input of the user to the first control;
and the generation module is used for responding to the second input and generating a second mapping relation among the bending angle, the screen brightness and the coordinates of the bending area in the target position or the target area and the correction parameter.
11. An electronic device being a flexible electronic device, characterized in that it comprises a processor, a memory and a program stored on the memory and executable on the processor, which program, when executed by the processor, implements the steps of the display method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the display method according to any one of claims 1 to 5.
CN202010321228.6A 2020-04-22 2020-04-22 Display method, electronic device and storage medium Active CN111459233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010321228.6A CN111459233B (en) 2020-04-22 2020-04-22 Display method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010321228.6A CN111459233B (en) 2020-04-22 2020-04-22 Display method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111459233A CN111459233A (en) 2020-07-28
CN111459233B true CN111459233B (en) 2023-10-03

Family

ID=71683767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010321228.6A Active CN111459233B (en) 2020-04-22 2020-04-22 Display method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111459233B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035039B (en) * 2020-08-31 2022-02-08 维沃移动通信有限公司 Information display control method and device, electronic equipment and readable storage medium
CN113099206A (en) * 2021-04-01 2021-07-09 苏州科达科技股份有限公司 Image processing method, device, equipment and storage medium
CN113674657A (en) * 2021-08-20 2021-11-19 Oppo广东移动通信有限公司 Crease compensation method and device, electronic equipment and storage medium
CN114113141A (en) * 2021-11-29 2022-03-01 合肥维信诺科技有限公司 Method and device for determining crease degree of display screen

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305579A (en) * 2018-01-26 2018-07-20 昆山国显光电有限公司 Screen adjustment method and display device
CN108538203A (en) * 2018-04-16 2018-09-14 努比亚技术有限公司 Flexible screen abnormal curvatures alarm method, mobile terminal and readable storage medium storing program for executing
CN108648626A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Display panel control method, device, terminal and readable storage medium storing program for executing
CN108877525A (en) * 2018-06-29 2018-11-23 武汉天马微电子有限公司 A kind of bent display panel and its display driving method
CN109710161A (en) * 2018-12-29 2019-05-03 中兴通讯股份有限公司 A kind of display control method and device, electronic equipment
CN110288934A (en) * 2019-06-25 2019-09-27 北京向上一心科技有限公司 Imaging keeping method, device and mobile terminal based on flexible screen
CN110956924A (en) * 2018-09-26 2020-04-03 北京小米移动软件有限公司 Screen brightness adjusting method and device, electronic equipment and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6167324B2 (en) * 2012-07-25 2017-07-26 株式会社Joled Display device, image processing device, and image processing method
US20160093240A1 (en) * 2014-09-30 2016-03-31 Dell Products, Lp System for Varying Light Output in a Flexible Display
KR20170070574A (en) * 2015-12-14 2017-06-22 삼성전자주식회사 Electronic device having flexible display and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305579A (en) * 2018-01-26 2018-07-20 昆山国显光电有限公司 Screen adjustment method and display device
CN108538203A (en) * 2018-04-16 2018-09-14 努比亚技术有限公司 Flexible screen abnormal curvatures alarm method, mobile terminal and readable storage medium storing program for executing
CN108648626A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Display panel control method, device, terminal and readable storage medium storing program for executing
CN108877525A (en) * 2018-06-29 2018-11-23 武汉天马微电子有限公司 A kind of bent display panel and its display driving method
CN110956924A (en) * 2018-09-26 2020-04-03 北京小米移动软件有限公司 Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN109710161A (en) * 2018-12-29 2019-05-03 中兴通讯股份有限公司 A kind of display control method and device, electronic equipment
CN110288934A (en) * 2019-06-25 2019-09-27 北京向上一心科技有限公司 Imaging keeping method, device and mobile terminal based on flexible screen

Also Published As

Publication number Publication date
CN111459233A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN107957839B (en) Display control method and mobile terminal
CN111459233B (en) Display method, electronic device and storage medium
CN108073343B (en) display interface adjusting method and mobile terminal
CN110969981B (en) Screen display parameter adjusting method and electronic equipment
CN108319390B (en) Control method of flexible screen and mobile terminal
WO2020253382A1 (en) Information displaying method and terminal device
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN111613176B (en) Ambient light detection method and electronic device
CN107846583B (en) Image shadow compensation method and mobile terminal
CN111031234B (en) Image processing method and electronic equipment
CN109257505B (en) Screen control method and mobile terminal
CN111562896B (en) Screen projection method and electronic equipment
CN110933494A (en) Picture sharing method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN110290263B (en) Image display method and mobile terminal
CN110928407B (en) Information display method and device
US11947790B2 (en) Interface display method and terminal, and computer readable storage medium
CN109597546B (en) Icon processing method and terminal equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN107729100B (en) Interface display control method and mobile terminal
CN107977947B (en) Image processing method and mobile terminal
CN111045769B (en) Background picture switching method and electronic equipment
CN111147754B (en) Image processing method and electronic device
CN110471682B (en) Application program updating method and mobile terminal

Legal Events

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