CN113781959B - Interface processing method and device - Google Patents

Interface processing method and device Download PDF

Info

Publication number
CN113781959B
CN113781959B CN202111116933.3A CN202111116933A CN113781959B CN 113781959 B CN113781959 B CN 113781959B CN 202111116933 A CN202111116933 A CN 202111116933A CN 113781959 B CN113781959 B CN 113781959B
Authority
CN
China
Prior art keywords
gray scale
value
image
original image
interface
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
CN202111116933.3A
Other languages
Chinese (zh)
Other versions
CN113781959A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111116933.3A priority Critical patent/CN113781959B/en
Publication of CN113781959A publication Critical patent/CN113781959A/en
Application granted granted Critical
Publication of CN113781959B publication Critical patent/CN113781959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast

Abstract

The application discloses an interface processing method and device, and the method comprises the following steps: firstly, when a dark mode is detected to be started, an original image is obtained, wherein the original image is an image of a current interface of the electronic equipment; then obtaining a target gray scale of the original image, wherein the target gray scale is a font gray scale and/or a background gray scale; and finally, adjusting the value of the target gray scale, improving the display effect of the interface contrast in a dark mode, enabling the picture of the interface to tend to be soft, preventing the user from feeling unhappy and improving the user experience.

Description

Interface processing method and device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to an interface processing method and apparatus.
Background
The dark color mode is also called a dark color mode, and is a mode for optimizing the contrast between the interface text foreground and the dark color background of the electronic equipment and the colors of the text and the system icons to ensure that the viewing feeling of human eyes is consistent, comfortable and easy to read. The dark mode can reduce the brightness of a screen while ensuring normal display of an electronic equipment interface, and save the electric quantity of the electronic equipment, so that the cruising ability of the electronic equipment is improved.
However, the white font appears very high brightness due to the voltage DROP (IR _ DROP) phenomenon of the organic light-Emitting Diode (OLED) screen, for example, when the full white picture is 500nit, the font may reach 600nit under the voltage DROP phenomenon, so that the contrast of the interface is very high, and the user may not feel comfortable when watching for a long time.
Disclosure of Invention
The embodiment of the application provides an interface processing method and device, which can improve the display effect of the interface contrast in a dark mode and improve the user experience.
In a first aspect, an embodiment of the present application provides an interface processing method applied to an electronic device, where the method includes:
when a dark mode is detected to be started, acquiring an original image, wherein the original image is an image of a current interface of the electronic equipment;
acquiring a target gray scale of the original image, wherein the target gray scale is a font gray scale and/or a background gray scale;
and adjusting the value of the target gray scale.
In a second aspect, an embodiment of the present application provides an interface processing apparatus, which is applied to an electronic device, and the apparatus includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an original image when a dark color mode is detected to be started, and the original image is an image of a current interface of the electronic equipment;
the acquisition unit is further used for acquiring a target gray scale of the original image, wherein the target gray scale is a gray scale of a font and/or a gray scale of a background;
and the adjusting unit is used for adjusting the value of the target gray scale.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
In the embodiment of the application, an original image is obtained when a dark color mode is detected to be started, wherein the original image is an image of a current interface of the electronic equipment; then obtaining a target gray scale of the original image, wherein the target gray scale is a font gray scale and/or a background gray scale; and finally, adjusting the value of the target gray scale, improving the display effect of the interface in a dark mode, enabling the picture of the interface to tend to be soft, preventing the user from feeling unhappy and improving the user experience.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an interface processing method in a dark mode according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of an interface processing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another interface processing method provided in the embodiment of the present application;
fig. 6 is a schematic view of an interface processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
The electronic device referred to in the present application may be a portable electronic device, such as a cell phone, a tablet computer, a wearable electronic device with wireless communication functionality (e.g. a smart watch), etc., which also contains other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
By way of example, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, and a Subscriber Identity Module (SIM) card interface 195, among others.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 100 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio source (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose-output (GPIO) interface, a SIM card interface, and/or a USB interface. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), UWB, and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above instructions stored in the internal memory 121, so as to enable the electronic device 100 to perform the method for displaying page elements provided in some embodiments of the present application, and various applications, data processing, and the like. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 100, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to execute the method for displaying page elements provided in the embodiments of the present application and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a brief dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
At present, people have higher and higher requirements on display functions, and can perform processing of a plurality of display effects when a display screen displays, but the power consumption of a mobile phone is greatly increased, and the frequency of using electronic equipment by users in a dark environment is higher and higher, so that various manufacturers have put forward dark color modes to optimize the contrast between the interface text foreground and the dark color background of the electronic equipment and the colors of the text and system icons. The power consumption of the mobile phone with the OLED screen can be reduced on one hand, and on the other hand, the user can use the mobile phone at night without obvious dazzling. The background in the current dark mode is a pure black gray scale, namely 0 gray scale is used as the background; the font is a pure white gray scale, that is, 255 gray scales are used as the font, but the white font appears in a very high brightness state due to the pressure DROP (IR _ DROP) phenomenon of the OLED screen, for example, when the full white picture is 500nit, the font may reach 600nit under the pressure DROP phenomenon, so that the contrast of the interface is very high, and thus the font in the dark mode is dazzling, and a user may feel uncomfortable when watching the mobile phone screen for a long time.
In order to solve the above problem, the present application provides an interface processing method, as shown in fig. 3, an electronic device may improve a display effect of an interface contrast in a dark mode by reducing a gray scale of a font of an interface of the electronic device, may also improve a display effect of an interface contrast in a dark mode by improving a gray scale of a background, and may also improve a display effect of an interface contrast in a dark mode by increasing a percentage of a debugging picture, so that a picture of the display interface tends to be soft and not dazzling, and user experience is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of an interface processing method applied to an electronic device according to an embodiment of the present application, and as shown in fig. 4, the interface processing method includes the following operations.
S410, when the dark mode is detected to be started, obtaining an original image, wherein the original image is an image of the current interface of the electronic equipment.
In this embodiment, the dark mode may refer to a mode in which the background brightness of all views on the interface is less than a preset brightness, that is, a mode in which the color of the interface is dark. Where, luminance refers to an L component in an LAB (LAB color space) color space, and ranges from 0 to 100, representing from pure black to pure white. The LAB color space also includes an a component representing a range from magenta to green and a B component representing a range from yellow to blue. The current interface may refer to an interface currently displayed on a screen of the electronic device. The interface is usually composed of a plurality of views which are regularly combined, for example, a text box, a picture, a dialog box and other views are added on one interface view (i.e. a base view of the whole interface, and other views can be added on the interface view). A View (i.e., view) may also be referred to as a control.
When the electronic equipment starts a dark mode, before a current picture is displayed on a screen, an image (an original image) of the current picture is acquired, the original image is processed and then displayed on the screen, and the display effect of the interface contrast in the dark mode is improved, so that the picture of the display interface tends to be soft and not dazzling, and the user experience is improved.
S420, obtaining a target gray scale of the original image, wherein the target gray scale is a gray scale of a font and/or a gray scale of a background.
Each pixel in an image may represent a number of different colors, which are composed of three sub-pixels of red, green and blue (RGB). Each sub-pixel, the light source behind it, may exhibit a different brightness level. And the gray levels represent gradation levels of different brightness from the darkest to the brightest. Taking 8bit panel as an example, the color display panel can represent 2 to the power of 8, which is equal to 256 luminance levels, wherein the color of the panel is pure white when the gray scale is 255, and the color of the panel is pure black when the gray scale is 0.
In the embodiment of the application, after the original image of the current interface is acquired, since the electronic device starts the dark mode, in order to improve user experience, the gray scale of the font or the background image in the original image can be adjusted, so that the processed image tends to be soft and the user does not feel dazzling.
In one possible example, the acquiring the target gray scale of the original image includes: and acquiring the gray scale of each pixel in the original image, determining the gray scale larger than a first value as the gray scale of the font, and determining the gray scale smaller than a second value as the gray scale of the background.
At present, the background in the dark mode is a pure black gray scale, that is, a 0 gray scale is used as the background, and the font is a 255 gray scale. The black background can enable the white font to appear very high brightness, so that in order to reduce the contrast of the display picture, the color of the font on the picture can be darkened by reducing the gray scale of the font, and the display picture tends to be soft.
Specifically, the electronic device acquires the gray level of each pixel in the original image, and since the gray level of the font is the largest, the gray level larger than the first value can be determined as the gray level of the font. Since the gray level of the background is the smallest, the gray level smaller than the second value can be determined as the gray level of the background. Wherein the first value is much larger than the second value. For example, the first value may be 255, 252, 250, etc.; the second value may be 0, 4, 6, etc.
In one possible example, the acquiring the target gray scale of the original image includes: acquiring a gray level histogram of the original image; determining the gray scale of the font according to the gray scale of which the abscissa in the gray scale histogram is larger than a first value, and determining the gray scale of which the abscissa in the gray scale histogram is smaller than a second value as the gray scale of the background.
For example, the present application may also determine the gray level of a font or the gray level of a background by obtaining a gray level histogram of an original image. The abscissa of the gray level histogram is a gray level (also called a gray level or a gray level), and the ordinate is a frequency of occurrence, so that a gray level whose abscissa is greater than a first value can be determined as a gray level of a font, and a gray level smaller than a second value can be determined as a gray level of a background.
S430, adjusting the value of the target gray scale.
After the gray scale of the font or the background is obtained, the contrast of the display picture is reduced by adjusting the gray scale of the font and/or the gray scale of the background, so that the display picture can be softened.
In one possible example, the adjusting the value of the target gray level includes: and when the target gray scale is the gray scale of the font, reducing the gray scale of the font to a first preset value.
Specifically, when determining the font in the original image according to the gray scale of the pixel in the original image, the gray scale of the pixel with the gray scale larger than the first value may be directly reduced to the first preset value, that is, the gray scale of the font is reduced to the first preset value. When determining the font in the original image according to the gray histogram, the gray scale larger than the first value can be directly reduced to a first preset value to reduce the brightness of the high gray scale when performing statistics of the gray histogram, that is, the gray scale of the font is reduced to the first preset value. The contrast of the display picture is reduced, so that the fonts are not very bright and glaring.
The first preset value may be set by a user on the electronic device, or may be a default value set by the system, for example, 240, 230, 220, 210.
In one possible example, the adjusting the value of the target gray level includes: and when the target gray scale is a background gray scale, increasing the background gray scale to a second preset value, wherein the second preset value is smaller than the first preset value.
The contrast of a display picture can be reduced by increasing the gray scale of the background, for example, the gray scale of the background is increased to a second preset value, wherein the second preset value is far smaller than the first preset value. Because the background brightness is increased, the load of the OLED screen is increased, and the brightness of the fonts cannot be greatly raised. Eventually, the picture will be made slightly softer.
Specifically, when the background in the original image is determined according to the gray scale of the pixel in the original image, the gray scale of the pixel with the gray scale smaller than the second value may be directly increased to the second preset value, that is, the gray scale of the background is increased to the second preset value. When the background in the original image is determined according to the gray histogram, the gray scale smaller than the second value can be directly increased to a second preset value to improve the brightness of the low gray scale when the statistics of the gray histogram is carried out, that is, the gray scale of the background is increased to the second preset value.
It should be noted that the second preset value may be set on the electronic device by the user, or may be a default value set by the system, for example, 20, 30, 40, 50, and the like.
The interface processing method provided by the embodiment of the application can be seen, when the dark mode is detected to be started, the original image is obtained, and the original image is the image of the current interface of the electronic equipment; then obtaining a target gray scale of the original image, wherein the target gray scale is a font gray scale and/or a background gray scale; and finally, adjusting the value of the target gray scale, improving the display effect of the interface contrast in a dark mode, enabling the picture of the interface to tend to be soft, preventing the user from feeling unhappy and improving the user experience.
Referring to fig. 5, fig. 5 is a schematic flowchart of an interface processing method applied to an electronic device according to an embodiment of the present application, and as shown in fig. 5, the interface processing method includes the following operations.
S510, when the dark mode is detected to be started, obtaining an original image, wherein the original image is an image of the current interface of the electronic equipment.
When the electronic equipment starts a dark color mode, before a current picture is displayed on a screen, an image (an original image) of the current picture is acquired, the original image is processed and then displayed on the screen, and the display effect of the interface contrast in the dark color mode is improved, so that the picture of the display interface tends to be soft and not dazzling, and the user experience is improved.
S520, obtaining the gray scale of the font and/or the gray scale of the background in the original image.
At present, the background in the dark mode is a pure black gray scale, that is, a 0 gray scale is used as the background, and the font is a 255 gray scale. The black background can enable the white font to appear very high brightness, so that in order to reduce the contrast of the display picture, the color of the font on the picture can be darkened by reducing the gray scale of the font, and the display picture tends to be soft.
Specifically, the electronic device acquires the gray level of each pixel in the original image, and since the gray level of the font is the largest, the gray level larger than the first value can be determined as the gray level of the font. Since the gray level of the background is the smallest, the gray level smaller than the second value can be determined as the gray level of the background. Wherein the first value is much larger than the second value. Illustratively, the first value may be 255, 252, 250, etc.; the second value may be 0, 4, 6, etc.
Further, the method and the device can also determine the gray scale of the font or the gray scale of the background by acquiring the gray histogram of the original image. The abscissa of the gray level histogram is a gray level (also called a gray level or a gray level), and the ordinate is a frequency of occurrence, so that a gray level whose abscissa is greater than a first value can be determined as a gray level of a font, and a gray level smaller than a second value can be determined as a gray level of a background.
S530, reducing the gray level of the font and/or improving the gray level of the background.
After the gray scale of the font or the background is obtained, the contrast of the display picture is reduced by adjusting the gray scale of the font and/or the gray scale of the background, so that the display picture can be softened.
Specifically, when determining the font and/or the background in the original image according to the gray scale of the pixel in the original image, the gray scale of the pixel with the gray scale larger than the first value may be directly reduced to the first preset value and/or the gray scale of the pixel with the gray scale smaller than the second value may be increased to the second preset value. When determining the font and/or the background in the original image according to the gray level histogram, the brightness of the high gray level can be reduced by directly reducing the gray level larger than the first value to a first preset value and/or the brightness of the low gray level can be improved by increasing the gray level smaller than the second value to a second preset value when performing statistics of the gray level histogram. Thus, the contrast of the display picture is reduced, and the fonts are not very bright and glaring.
It should be noted that the first preset value and the second preset value may be set by a user on the electronic device, or may be default values set by the system.
And S540, increasing the debugging picture of the original image from a first percentage to a second percentage.
When the interface display processing is performed on the original image, the final display effect of the original image can be debugged according to the percentage of the picture size. However, the current electronic device is debugged in a picture size of 25%, wherein the smaller the percentage of the debugged picture size is, the smaller the gamma parameter becomes, and the higher the contrast of the picture is, that is, the higher the brightness of the picture is. The Gamma parameter is a parameter for representing the brightness response characteristic of the display, and when the Gamma is larger, the whole image is darker, and when the Gamma is smaller, the whole image is brighter. Therefore, the method and the device can improve the percentage of debugging pictures of the original image after adjusting the gray scale of the font and/or the background.
Further, the second percentage is greater than the first percentage, which may be 100%, 80%, 70%, 60%, 50%, etc.
For example, when a picture size of 25% is debugged, the gamma parameter of the picture in a 100% state is reduced, so that the screen is bright; at this time, if the debugging is performed by adopting the picture size of 50% or the debugging is performed by adopting the picture size of 100%, the gamma parameter of the picture is close to 2.2, and the picture becomes soft and not dazzling.
In one possible example, the increasing the debugging screen of the original image from the first percentage to the second percentage includes: acquiring a first image, wherein the first image is an interface image displayed under the first percentage debugging picture; acquiring a first gray scale and a second gray scale of the first image, wherein the first gray scale is the gray scale of a font in the first image, and the second gray scale is the gray scale of a background in the first image; respectively calculating a first difference value and a second difference value, wherein the first difference value is a difference value between the first gray scale and the first preset value, and the second difference value is a difference value between the second gray scale and the second preset value; determining a first adjusting coefficient corresponding to the first difference value and a second adjusting coefficient corresponding to the second difference value according to a mapping relation between the difference values and the coefficients; calculating a target gamma value according to the first adjusting coefficient, the first gray scale, the second gray scale and the second adjusting coefficient; and determining the second percentage corresponding to the target gamma value according to the mapping relation between the gamma value and the percentage.
Wherein the electronic device may pre-store a mapping relationship between the difference and the coefficient, and a mapping relationship between a gamma value (gamma) and the percentage. According to the method and the device, adjustment coefficients of the gray scale of the font in the first image and the gray scale of the background are determined by comparing the difference values between the gray scale of the font and the gray scale of the background in the first percent debugging picture scene and the preset gray scale respectively, then the brightness of the background part and the brightness of the font part in the adjusted first image are calculated according to the adjustment coefficients, the brightness of the font is equal to the value of the first gray scale and the first adjustment coefficient, the brightness of the background is equal to the value of the second gray scale and the second adjustment coefficient, and then the contrast of the adjusted first image can be calculated, wherein the contrast is the difference between the brightness of the font and the brightness of the background. And determining the target gamma value according to a conversion relation curve (gamma curve) of the screen output voltage and the corresponding brightness, and further determining the second percentage according to the target gamma value.
Therefore, according to the embodiment of the application, the display effect of the interface contrast ratio in the dark mode can be improved by reducing the gray scale of the font and/or improving the gray scale of the background and increasing the percentage of the debugging picture, so that the picture of the interface tends to be soft, a user does not feel dazzling, and the user experience is improved.
It will be appreciated that the electronic device, in order to implement the above-described functions, comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each function module by corresponding each function, fig. 6 shows a schematic diagram of an interface processing apparatus, as shown in fig. 6, the interface processing apparatus 600 is applied to an electronic device, and the interface processing apparatus 600 may include: an acquisition unit 601 and an adjustment unit 602.
Among other things, the acquisition unit 601 may be used to support the electronic device to perform the above S410, S420, etc., and/or other processes for the techniques described herein.
The adjustment unit 602 may be used to support the electronic device to perform the above-described S430, and/or the like, and/or other processes for the techniques described herein.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the interface processing method, so that the same effect as the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the electronic device, and for example, may be configured to support the electronic device to perform the steps performed by the obtaining unit 601 and the adjusting unit 602. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
The present embodiment also provides a computer storage medium, where a computer instruction is stored in the computer storage medium, and when the computer instruction runs on an electronic device, the electronic device is caused to execute the above related method steps to implement the interface processing method in the above embodiment.
The present embodiment also provides a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the interface processing method in the above embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the interface processing method in the above-mentioned method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. An interface processing method is applied to an electronic device, and the method comprises the following steps:
when a dark mode is detected to be started, acquiring an original image, wherein the original image is an image of a current interface of the electronic equipment;
acquiring a target gray scale of the original image, wherein the target gray scale is a font gray scale and/or a background gray scale;
adjusting the value of the target gray scale;
increasing the debug screen of the original image from a first percentage to a second percentage, comprising: acquiring a first image, wherein the first image is an interface image displayed under the first percentage debugging picture; acquiring a first gray scale and a second gray scale of the first image, wherein the first gray scale is the gray scale of a font in the first image, and the second gray scale is the gray scale of a background in the first image; respectively calculating a first difference value and a second difference value, wherein the first difference value is a difference value between the first gray scale and a first preset value, and the second difference value is a difference value between the second gray scale and a second preset value; determining a first adjusting coefficient corresponding to the first difference value and a second adjusting coefficient corresponding to the second difference value according to a mapping relation between the difference values and the coefficients; calculating a target gamma value according to the first adjusting coefficient, the first gray scale, the second gray scale and the second adjusting coefficient; and determining the second percentage corresponding to the target gamma value according to the mapping relation between the gamma value and the percentage.
2. The method of claim 1, wherein obtaining the target gray level of the original image comprises:
and acquiring the gray scale of each pixel in the original image, determining the gray scale larger than a first value as the gray scale of the font, and determining the gray scale smaller than a second value as the gray scale of the background.
3. The method of claim 1, wherein said obtaining a target gray level of said original image comprises:
acquiring a gray level histogram of the original image;
determining the gray scale of the font according to the gray scale of which the abscissa in the gray scale histogram is larger than a first value, and determining the gray scale of which the abscissa in the gray scale histogram is smaller than a second value as the gray scale of the background.
4. The method of claim 2 or 3, wherein said adjusting the value of the target gray level comprises:
and when the target gray scale is the gray scale of the font, reducing the gray scale of the font to a first preset value.
5. The method of claim 2 or 3, wherein said adjusting the value of the target gray level comprises:
and when the target gray scale is the gray scale of the background, increasing the gray scale of the background to a second preset value, wherein the second preset value is smaller than the first preset value.
6. An interface processing apparatus applied to an electronic device, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an original image when a dark color mode is detected to be started, and the original image is an image of a current interface of the electronic equipment;
the acquisition unit is further used for acquiring a target gray scale of the original image, wherein the target gray scale is a font gray scale and/or a background gray scale;
an adjusting unit for adjusting the value of the target gray scale;
the adjusting unit is further configured to increase the debugging picture of the original image from a first percentage to a second percentage, and includes: acquiring a first image, wherein the first image is an interface image displayed under the first percentage debugging picture; acquiring a first gray scale and a second gray scale of the first image, wherein the first gray scale is the gray scale of a font in the first image, and the second gray scale is the gray scale of a background in the first image; respectively calculating a first difference value and a second difference value, wherein the first difference value is a difference value between the first gray scale and a first preset value, and the second difference value is a difference value between the second gray scale and a second preset value; determining a first adjusting coefficient corresponding to the first difference value and a second adjusting coefficient corresponding to the second difference value according to a mapping relation between the difference values and the coefficients; calculating a target gamma value according to the first adjusting coefficient, the first gray scale, the second gray scale and the second adjusting coefficient; and determining the second percentage corresponding to the target gamma value according to the mapping relation between the gamma value and the percentage.
7. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
8. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202111116933.3A 2021-09-23 2021-09-23 Interface processing method and device Active CN113781959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111116933.3A CN113781959B (en) 2021-09-23 2021-09-23 Interface processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111116933.3A CN113781959B (en) 2021-09-23 2021-09-23 Interface processing method and device

Publications (2)

Publication Number Publication Date
CN113781959A CN113781959A (en) 2021-12-10
CN113781959B true CN113781959B (en) 2022-10-21

Family

ID=78852866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111116933.3A Active CN113781959B (en) 2021-09-23 2021-09-23 Interface processing method and device

Country Status (1)

Country Link
CN (1) CN113781959B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449242A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Display control method, device and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9536325B2 (en) * 2013-06-09 2017-01-03 Apple Inc. Night mode
US10186209B1 (en) * 2015-11-09 2019-01-22 Amazon Technologies, Inc. Night time control of brightness and blue light emission in device displays
CN110609722B (en) * 2019-08-09 2021-07-20 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
CN110618852B (en) * 2019-09-24 2023-12-29 Oppo广东移动通信有限公司 View processing method, view processing device and terminal equipment
CN113157357A (en) * 2020-01-23 2021-07-23 华为技术有限公司 Page display method, device, terminal and storage medium
CN112116670A (en) * 2020-09-04 2020-12-22 北京小米移动软件有限公司 Information processing method and device, electronic device and storage medium
CN112507256A (en) * 2020-12-01 2021-03-16 努比亚技术有限公司 Background adjusting method, terminal and computer readable storage medium
CN113377479A (en) * 2021-06-25 2021-09-10 展讯通信(天津)有限公司 Switching method and device of application visual theme, storage medium and terminal

Also Published As

Publication number Publication date
CN113781959A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN112598594A (en) Color consistency correction method and related device
CN113192464B (en) Backlight adjusting method and electronic equipment
CN111553846B (en) Super-resolution processing method and device
WO2021147396A1 (en) Icon management method and smart terminal
CN111768416A (en) Photo clipping method and device
CN111555825B (en) Radio frequency resource allocation method and device
US20230043815A1 (en) Image Processing Method and Electronic Device
CN111783375A (en) Chip system and related device
CN111182614A (en) Method and device for establishing network connection and electronic equipment
CN111768352A (en) Image processing method and device
CN111882642B (en) Texture filling method and device for three-dimensional model
CN113177229A (en) Data processing method and related device
CN110830645A (en) Operation method and electronic equipment
CN113781959B (en) Interface processing method and device
CN111612723B (en) Image restoration method and device
CN111767016B (en) Display processing method and device
CN114422686A (en) Parameter adjusting method and related device
CN111880661A (en) Gesture recognition method and device
WO2023030168A1 (en) Interface display method and electronic device
CN111381996A (en) Memory exception handling method and device
WO2023000745A1 (en) Display control method and related device
CN111581119B (en) Page recovery method and device
WO2021249504A1 (en) Distributed display method and related device
CN115390738A (en) Scroll screen opening and closing method and related product
CN111836226B (en) Data transmission control method, device and storage medium

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