CN111459233A - Display method, electronic device, and storage medium - Google Patents
Display method, electronic device, and storage medium Download PDFInfo
- Publication number
- CN111459233A CN111459233A CN202010321228.6A CN202010321228A CN111459233A CN 111459233 A CN111459233 A CN 111459233A CN 202010321228 A CN202010321228 A CN 202010321228A CN 111459233 A CN111459233 A CN 111459233A
- Authority
- CN
- China
- Prior art keywords
- bending
- area
- region
- bending area
- correction
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
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, obtaining the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment, wherein the bending area is an area where the screen deforms when the flexible electronic equipment is in the bending state; correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinate of the bending area; and adjusting the color of the bending area according to the corrected pixel value of the bending area. 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 influence on the watching of a user is avoided when the flexible electronic equipment is in the bending state.
Description
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 a folding screen of a conventional electronic device 11 is in a folded and bent state, a screen of a bending region 12 located at a hinge position is squeezed in a small space, so that when a screen is displayed, the brightness of the bending region 12 is slightly higher than that of other regions in a visual effect, and a bright line is formed in the middle of the screen when the screen is viewed from the whole to divide the screen into two parts, which affects the viewing of a user.
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 watching of a user is influenced when the existing flexible electronic equipment is in a bent 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:
under the condition that the flexible electronic equipment is in a bending state, obtaining the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment, wherein the bending area is an area where a screen deforms when the flexible electronic equipment is in the bending state;
correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinate of the bending area;
and adjusting the color of the bending area according to the corrected pixel value of the bending area.
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 system comprises an acquisition module, a display module and a control 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 under the condition that the flexible electronic equipment is in a bending state, and the bending area is an area where a screen deforms 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 coordinate of the bending area;
and the display module is used for adjusting the color of the bending area according to the corrected pixel value of the bending area.
In a third 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 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, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, 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 area is corrected based on the bending angle, the screen brightness and the coordinate of the bending area, and the color of the bending area is adjusted according to the corrected pixel value of the bending area. 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 being in the bending state.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1a is a schematic view 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 illustrating 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 invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Herein, relational terms such as "first" and "second", and the like, are used solely to distinguish one from another of like names, and do not imply a relationship or order between the names.
In the embodiment of the present invention, the electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
The electronic device is a flexible electronic device, as shown in fig. 1a, the flexible electronic device has a folding screen, the folding screen can perform a bending motion within a certain angle range through an internal hinge structure, the whole screen is divided into two screens by bending, namely a first screen 111 and a second screen 121, 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 like, 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 subject 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, the screen brightness and the coordinates of a bending area of the flexible electronic equipment;
step 202: correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinate of the bending area;
step 203: and adjusting the color of the bending area according to the corrected pixel value of the bending area.
The bending region is a region where the screen is deformed when the flexible electronic device is in a bent state, for example, the bending region 12 in fig. 1a or fig. 1 b.
The 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 a value of the angle may be obtained by an angle measuring device or an angle sensor disposed inside the electronic device.
The screen brightness refers to the current brightness value of the folded screen, and it can be understood that the visual effect of the bending region is different due to the bending extrusion of the screen in a small space, and when the whole screen is controlled to display, the brightness value of the bending region is the same as that of other regions.
The coordinates of the bending region refer to coordinates of a screen region where bending deformation occurs when the screen is folded, and specifically, as shown in fig. 1b, a coordinate system may be established in the entire screen, and the coordinates of the bending region may be determined based on 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.
In the embodiment of the invention, when the flexible electronic device is bent, the bending angle, the screen brightness and the coordinates of the bending area in the current state are obtained, and the pixel value in the bending area is corrected according to the parameters, namely the pixel value in the bending area is 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 the visual effect after bending.
In some embodiments, the correcting the pixel value of the bending region based on the bending angle, the screen brightness and the coordinate of the bending region includes: determining a correction parameter based on the bending angle, the screen brightness and the coordinates of the bending area; and correcting the pixel value of the bending area according to the correction parameter.
In the embodiment of the invention, the 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.
Optionally, the pixel values of the correction bending region may be pixel values of all pixel points of the correction bending region, may be pixel values of partial pixel points of the correction bending region, and may also be pixel values of 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 to change the color of the bending region, so that the bending region and other regions can be kept consistent in visual effect.
For example: the folding screen displays RGB values as R according to the control instruction: 255; g: 0; b: 0, when the folded screen is folded, the folding area is also the output R: 255; g: 0; b: 0, but due to screen bending extrusion, the red color of the bending area is brighter than the red color of other areas in visual effect, at this time, the electronic equipment performs calculation according to the bending angle, the screen brightness, the coordinates of the bending area and the correction parameters, and the obtained RGB value required to be output by the bending area is R: 180 of the total weight of the composition; g: 2; b: 2, the slightly darker red color is consistent with the red brightness of other areas in visual effect after being bent and extruded by the screen, thereby realizing that the bent area is consistent with other areas in visual effect.
Further, an embodiment of the present invention provides a specific calculation process:
Wherein, Orgb(x, y) is the RGB value after the coordinate (x, y) position correction of the bending region, Irgb(x, y) is an RGB value before correction of the position of the bending region coordinate (x, y), factor is a luminance factor for expressing a factor by which luminance adjustment is required, angle is a bending angle, lum is screen luminance, m (x, y) is a first correction parameter for expressing an offset value which needs to be added according to the characteristics of the screen, k (x, y) is a second correction parameter for expressing a factor by which the bending angle is multiplied, n (x, y) is a third correction parameter for expressing a color offset value which needs to be added at the coordinate (x, y), and x ∈ [ x1, x2 ]],y∈[y1,y2]X1 is the beginning of the bend region in a first direction, e.g., the x-axis in FIG. 1b, x2 is the end of the bend region in the first direction, y1 is the beginning of the bend region in a second direction, e.g., the y-axis in FIG. 1b, and y1 is the end of the bend region in the second direction.
Continuing with the above-described RGB values R: 255; g: 0; b: 0 is adjusted to the RGB value R: 255; g: 0; b: scenario 0 is for example:
assuming that the size of the folded screen is 2400 × 2400, the current screen brightness lum is 0.5, the folding angle is 60, the folding region is located in the middle of the folded screen, specifically, the origin of the coordinate system is located at the upper left corner of the folded screen, the coordinate of the corresponding folding region is x1 is 1150, x2 is 1250, y1 is 0, and y2 is 2400, at this time, the electronic device determines the corresponding first correction parameter m (x, y) is 2, the second correction parameter k (x, y) is 0.02, and the third correction parameter n (x, y) is 0.02 according to the folding angle, the screen brightness, and the coordinate of the folding region, and the value of R, G, B in the RGB values is respectively substituted into the formula to calculate the value of R, G, B, which the folding region needs to output.
In some embodiments, the method may further comprise: configuring a first mapping relation among a bending angle, screen brightness, and a coordinate of a bending area and a correction parameter, wherein the mode for determining the correction parameter specifically comprises the following steps: determining 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 relation is a mapping relation among the bending angle, the screen brightness, the coordinates of the bending area and the correction parameters.
Optionally, in this embodiment of the present invention, the first mapping relationship is configured in the electronic device in advance, and the correction parameters corresponding to different bending angles, screen brightness, and coordinates of the bending area may be determined through the first mapping relationship.
The first mapping relationship can be tested by a tester through a plurality of tests to obtain different types of folded screens, such as Organic light-Emitting diodes (Organic L light-Emitting diodes, O L ED), Active-matrix Organic light-Emitting diodes (AMO L ED), and corresponding correction coefficients in different bending states, such as bending by 30 degrees, 60 degrees, 90 degrees, and the like, and the test result is stored in the electronic device, so that in the using process of the electronic device, the corresponding correction coefficients can be directly adjusted and taken out according to the bending angle, the screen brightness, and the coordinates of the bending area to adjust the display effect of the bending area.
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 meet the requirements of the user, and therefore the function of autonomous configuration of the user can be increased. Specifically, the method further comprises the following steps: receiving a first input of a user in the bending area; responding to the first input, selecting a target position or a target area in the bending area, and displaying a first control for adjusting the correction parameter of the target position or the target area; receiving a second input of the first control by the user; 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 a 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 user may input, for example: and selecting a target position or a target area in the bending area by clicking operation or sliding operation, and accordingly, the electronic device may display a first control in the screen, as shown in fig. 3, where the first control is a configuration option interface for configuring the correction parameter, and a user performs operation input in the configuration option interface through a second input to adjust the correction parameters k, m, and n, so as to configure a second mapping relationship between the bending angle, the screen brightness, and the coordinate of the bending area and the correction parameter at the target position or the target area.
Therefore, the correction parameters of the local position or the area in the bending area are adjusted based on the user self-configuration, 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, where the electronic device 400 is a flexible electronic device, and the electronic device 400 includes:
an obtaining module 401, configured to obtain, when the flexible electronic device is in a bent state, a bending angle, screen brightness, and a coordinate of a bending area of the flexible electronic device, where the bending area is an area where a screen deforms when the flexible electronic device is in the bent 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 coordinate of the bending region;
a display module 403, 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 for determining a correction parameter based on the bending angle, the screen brightness and the coordinates of the bending region;
and the correction unit is used for correcting the pixel value of the bending area according to the correction parameter.
Optionally, the correction unit is further configured to:
wherein, Orgb(x, y) is the RGB value after the coordinate (x, y) position correction of the bending region, Irgb(x, y) is the RGB value before the bending region coordinate (x, y) position correction, factor is the 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, x 2)],y∈[y1,y2]X1 is the beginning of the bend region in the first direction, x2 is the end of the bend region in the first direction, y1 is the beginning of the bend region in the second direction, and y1 is the end of the bend region in the second direction.
Optionally, the electronic device 400 further includes:
the determining unit is further configured to determine the correction parameters 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 relation is the mapping relation among the bending angle, the screen brightness, the coordinates of the bending area 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 the correction parameter in the target position or the target area;
the second receiving module is used for receiving a second input of the first control by the user;
a generating module, configured to generate, in response to the second input, a second mapping relationship between the bending angle, the screen brightness, and the coordinates of the bending region in the target position or the target region and the correction parameter.
In the embodiment of the invention, the corresponding correction coefficient is determined according to the bending angle, the screen brightness and the coordinate of the bending area, and the pixel value of the bending area is calculated according to the bending angle, the screen brightness, the coordinate of the bending area and the correction coefficient; and adjusting the color of the bending area according to the corrected pixel value of the bending area. 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 being in the bending state.
Fig. 5 is a schematic diagram of a 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 in the figure, the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, 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:
under the condition that the flexible electronic equipment is in a bending state, obtaining the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment, wherein the bending area is an area where a screen deforms when the flexible electronic equipment is in the bending state;
correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinate of the bending area;
and adjusting the color of the bending area according to the corrected pixel value of the bending area.
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 influence on the watching of a user is avoided when the flexible 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 for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, 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 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
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 related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture 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 graphic 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. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, 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 a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
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 (L acquired Crystal Display, L CD), an Organic light Emitting Diode (O L ED), or the like.
The user input unit 507 may be used to receive input numeric or character information and 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 by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction 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 sensing 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 a resistive type, a capacitive type, an infrared ray, and a 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, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, 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 nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement 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, and 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 device may include a wired or wireless headset port, an external power supply (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 external devices 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 external devices.
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 by 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, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, 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 whole electronic device by using various interfaces and lines, 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements each process of the method embodiment shown in fig. 2 to 3, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method embodiments shown in fig. 2 to 3, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. A display method is applied to a flexible electronic device, and is characterized by comprising the following steps:
under the condition that the flexible electronic equipment is in a bending state, obtaining the bending angle, the screen brightness and the coordinates of a bending area of the flexible electronic equipment, wherein the bending area is an area where a screen deforms when the flexible electronic equipment is in the bending state;
correcting the pixel value of the bending area based on the bending angle, the screen brightness and the coordinate of the bending area;
and adjusting the color of the bending area according to the corrected pixel value of the bending area.
2. The method of claim 1, wherein the correcting the pixel value of the inflection region based on the inflection angle, the screen brightness, and the coordinates of the inflection region comprises:
determining a correction parameter based on the bending angle, the screen brightness and the coordinates of the bending area;
and correcting the pixel value of the bending area according to the correction parameter.
3. The method of claim 2, wherein said correcting pixel values of said inflection regions in accordance with said correction parameters comprises:
wherein, Orgb(x, y) is the RGB value after the coordinate (x, y) position correction of the bending region, Irgb(x, y) is the RGB value before the bending region coordinate (x, y) position correction, factor is the 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, x) is2],y∈[y1,y2]X1 is the beginning of the bend region in the first direction, x2 is the end of the bend region in the first direction, y1 is the beginning of the bend region in the second direction, and y1 is the end of the bend region in the second direction.
4. The method of claim 2, wherein determining correction parameters based on the bend angle, the screen brightness, and the 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 relation is the mapping relation among the bending angle, the screen brightness, the coordinates of the bending area and the correction parameters.
5. The method of claim 2, further comprising:
receiving a first input of a user in the bending area;
responding to the first input, selecting a target position or a target area in the bending area, and displaying a first control for adjusting a correction parameter in the target position or the target area;
receiving a second input of the first control by a user;
generating a second mapping relationship between the bending angle, the screen brightness, and the coordinates of the bending region in the target position or target region and the correction parameter in response to the second input.
6. An electronic device, the electronic device being a flexible electronic device, the electronic device comprising:
the system comprises an acquisition module, a display module and a control 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 under the condition that the flexible electronic equipment is in a bending state, and the bending area is an area where a screen deforms 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 coordinate of the bending area;
and the display module is used for adjusting the color of the bending area according to the corrected pixel value of the bending area.
7. The electronic device of claim 6, wherein the correction module comprises:
a determining unit for determining a correction parameter based on the bending angle, the screen brightness and the coordinates of the bending region;
and the correction unit is used for correcting the pixel value of the bending area according to the correction parameter.
8. The electronic device of claim 7, wherein the correction unit is further configured to:
wherein, Orgb(x, y) is the RGB value after the coordinate (x, y) position correction of the bending region, Irgb(x, y) is the RGB value before the bending region coordinate (x, y) position correction, factor is the 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, x 2)],y∈[y1,y2]X1 is the beginning of the bend region in the first direction, x2 is the end of the bend region in the first direction, y1 is the beginning of the bend region in the second direction, and y1 is the end of the bend region in the second direction.
9. The electronic device of claim 7, further comprising:
the determining unit is further configured to determine the correction parameters 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 relation is the mapping relation among the bending angle, the screen brightness, the coordinates of the bending area and the correction parameters.
10. The electronic device of claim 7, further comprising:
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 the correction parameter in the target position or the target area;
the second receiving module is used for receiving a second input of the first control by the user;
a generating module, configured to generate, in response to the second input, a second mapping relationship between the bending angle, the screen brightness, and the coordinates of the bending region in the target position or the target region and the correction parameter.
11. An electronic device, which is a flexible electronic device, comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing 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, when being executed by a processor, carries out the steps of the display method according to any one of claims 1 to 5.
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 true CN111459233A (en) | 2020-07-28 |
CN111459233B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035039A (en) * | 2020-08-31 | 2020-12-04 | 维沃移动通信有限公司 | 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 (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160093240A1 (en) * | 2014-09-30 | 2016-03-31 | Dell Products, Lp | System for Varying Light Output in a Flexible Display |
US20170169759A1 (en) * | 2015-12-14 | 2017-06-15 | Samsung Electronics Co., Ltd. | Electronic device having flexible display and method for controlling the same |
US20180108286A1 (en) * | 2012-07-25 | 2018-04-19 | Joled Inc. | Display device, image processing device, and image processing method |
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 | 武汉天马微电子有限公司 | Bendable display panel and display driving method thereof |
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 |
-
2020
- 2020-04-22 CN CN202010321228.6A patent/CN111459233B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180108286A1 (en) * | 2012-07-25 | 2018-04-19 | Joled Inc. | 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 |
US20170169759A1 (en) * | 2015-12-14 | 2017-06-15 | Samsung Electronics Co., Ltd. | Electronic device having flexible display and method for controlling the same |
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 | 武汉天马微电子有限公司 | Bendable display panel and display driving method thereof |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112035039A (en) * | 2020-08-31 | 2020-12-04 | 维沃移动通信有限公司 | Information display control method and device, electronic equipment and readable storage medium |
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 |
WO2023020258A1 (en) * | 2021-08-20 | 2023-02-23 | Oppo广东移动通信有限公司 | Crease compensation method and apparatus, electronic device, and storage medium |
CN114113141A (en) * | 2021-11-29 | 2022-03-01 | 合肥维信诺科技有限公司 | Method and device for determining crease degree of display screen |
CN114113141B (en) * | 2021-11-29 | 2024-05-24 | 合肥维信诺科技有限公司 | Display screen crease degree determining method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111459233B (en) | 2023-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110602473B (en) | White balance calibration method and device | |
CN111459233B (en) | Display method, electronic device and storage medium | |
WO2020253382A1 (en) | Information displaying method and terminal device | |
CN108073343B (en) | display interface adjusting method and mobile terminal | |
CN110969981A (en) | Screen display parameter adjusting method and electronic equipment | |
CN110908750B (en) | Screen capturing method and electronic equipment | |
CN111031234B (en) | Image processing method and electronic equipment | |
CN109413264B (en) | Background picture adjusting method and terminal equipment | |
CN109257504B (en) | Audio processing method and terminal equipment | |
CN109727212B (en) | Image processing method and mobile terminal | |
CN110933494A (en) | Picture sharing method and electronic equipment | |
CN111240567B (en) | Display screen angle adjusting method and electronic equipment | |
CN109597546B (en) | Icon processing method and terminal equipment | |
CN109859718B (en) | Screen brightness adjusting method and terminal equipment | |
CN109443261B (en) | Method for acquiring folding angle of folding screen mobile terminal and mobile terminal | |
CN111045769A (en) | Background picture switching method and electronic equipment | |
CN111028161A (en) | Image correction method and electronic equipment | |
CN110851098A (en) | Video window display method and electronic equipment | |
CN107944438B (en) | Document image correction method and mobile terminal | |
CN111061407B (en) | Video program operation control method, electronic device, and storage medium | |
CN109729280B (en) | Image processing method and mobile terminal | |
CN109379575B (en) | White balance processing method and mobile terminal | |
CN107977591B (en) | Two-dimensional code image identification method and mobile terminal | |
CN110933305B (en) | Electronic equipment and focusing method | |
CN111045588B (en) | Information viewing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |