WO2021052408A1 - 一种电子设备显示方法及电子设备 - Google Patents

一种电子设备显示方法及电子设备 Download PDF

Info

Publication number
WO2021052408A1
WO2021052408A1 PCT/CN2020/115860 CN2020115860W WO2021052408A1 WO 2021052408 A1 WO2021052408 A1 WO 2021052408A1 CN 2020115860 W CN2020115860 W CN 2020115860W WO 2021052408 A1 WO2021052408 A1 WO 2021052408A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
color channel
intensity value
hwc
application mode
Prior art date
Application number
PCT/CN2020/115860
Other languages
English (en)
French (fr)
Inventor
张秀峰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20866818.6A priority Critical patent/EP4024194A4/en
Priority to US17/760,672 priority patent/US11978384B2/en
Publication of WO2021052408A1 publication Critical patent/WO2021052408A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/026Control of mixing and/or overlay of colours in general
    • 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/2092Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G3/2096Details of the interface to the display terminal specific for a flat panel
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • G09G5/397Arrangements specially adapted for transferring the contents of two or more bit-mapped memories to the screen simultaneously, e.g. for mixing or overlay
    • 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/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/10Mixing of images, i.e. displayed pixel being the result of an operation, e.g. adding, on the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2352/00Parallel handling of streams of display data

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to an electronic equipment display method and electronic equipment.
  • a display screen of an electronic device includes at least two display areas, which can display different content through different display areas.
  • the display screen of the electronic device may be a curved screen including a first display area with a smaller curvature and a second display area with a greater curvature.
  • the second display area 20 may be arranged on the upper and lower sides or the left and right sides of the first display area 10 respectively.
  • the second display area 20 may be arranged on four sides of the first display area 10, respectively.
  • the curvature of the first display area is small, it is usually used to display the screen to be displayed by the electronic device, and the curvature of the second display area is large. In order to avoid the problem of display screen distortion, it is usually used as a touch area. , To display touch buttons or icons, etc., or to prompt messages such as missed calls.
  • a hardware composer (HWC) is installed in the electronic device.
  • HWC hardware composer
  • each display area is divided into multiple layers, and each layer corresponding to each display area is generated through the HWC, and each image
  • the layer performs superimposition processing to obtain the superimposed image, and then push the superimposed image to the display screen, and the superimposed image is displayed on the display screen, and the superimposed image is the image that the display screen needs to display.
  • GPU graphics processing unit
  • the GPU is required to obtain each layer from the memory, and the superimposed image needs to be transferred to the memory. Therefore, multiple data interactions between the GPU and the memory are required, resulting in high power consumption.
  • embodiments of the present application disclose an electronic device display method and electronic device.
  • an embodiment of the present application provides a display method for an electronic device.
  • the display screen of the electronic device includes a first display area and a second display area, including:
  • the electronic device determines the first application mode
  • the electronic device adjusts the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode
  • the electronic device superimposes the background color layer corresponding to the intensity value of the adjusted color channel and each of the first layers through the HWC. During the superposition process, the background color layer is located in each of the first layers. A lower layer of a layer, where the background color layer is a layer corresponding to the second display area;
  • the electronic device displays the superimposed image through the display screen.
  • the electronic device adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the electronic device adjusts the intensity value of the color channel stored in the HWC according to the change amount and adjustment interval corresponding to each color channel;
  • the difference between the intensity value of the color channel after each adjustment and the intensity value of the color channel before the adjustment is the amount of change.
  • the second display area can display different colors every adjustment interval.
  • the electronic device adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the electronic device determines an adjustment period, where the adjustment period includes at least two time periods;
  • the electronic device periodically adjusts the intensity value of the color channel stored in the HWC according to the intensity value of the color channel corresponding to each time period;
  • the electronic device adjusts the intensity value of the color channel stored in the HWC to an initial value, and the initial value is Before the communication message, the intensity value of the color channel stored in the HWC.
  • the image of the second display area can be changed periodically, and the image of the second display area is also different at different time periods in each adjustment period, thereby realizing a message prompt.
  • the electronic device adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the electronic device When the first application mode instructs the electronic device to play audio, the electronic device acquires the frequency and/or amplitude of the audio;
  • the electronic device adjusts the intensity value of the first color channel stored in the HWC according to the corresponding relationship between the frequency of the audio and the first color channel, and/or the electronic device adjusts the intensity value of the first color channel stored in the HWC according to the amplitude of the audio and the second color channel Corresponding relationship, adjusting the intensity value of the second color channel stored in the HWC.
  • the second display area of the electronic device can be rendered in different colors according to the played audio.
  • the electronic device adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the intensity value of the color channel stored in the HWC is adjusted to the first intensity value.
  • the first intensity value may be the intensity value of the color channel under the highlight condition, so that when the electronic device performs a photographing operation, the second display area can present a bright color, which plays a role of supplementing light.
  • the HWC includes: a register
  • the register is used to store the intensity value of each color channel
  • the register is used to store the intensity values of the respective color channels corresponding to the different areas.
  • an embodiment of the present application provides an electronic device, including: a processor, a hardware synthesizer HWC, and a display screen;
  • the display screen includes a first display area and a second display area
  • the processor is configured to determine a first application mode, and adjust the intensity value of a color channel stored in a hardware synthesizer HWC of the electronic device according to the first application mode;
  • the HWC is used to determine each first layer corresponding to the first display area, and superimpose the background color layer corresponding to the intensity value of the adjusted color channel and each of the first layers.
  • the background color layer is located at a lower layer of each of the first layers, and the background color layer is a layer corresponding to the second display area;
  • the display screen is used to display the superimposed image.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor adjusts the intensity value of the color channel stored in the HWC according to the change amount and adjustment interval corresponding to each color channel;
  • the difference between the intensity value of the color channel after each adjustment and the intensity value of the color channel before the adjustment is the amount of change.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor determines an adjustment period, where the adjustment period includes at least two time periods;
  • the processor periodically adjusts the intensity value of the color channel stored in the HWC according to the intensity value of the color channel corresponding to each time period;
  • the processor adjusts the intensity value of the color channel stored in the HWC to an initial value, and the initial value is Before the communication message, the intensity value of the color channel stored in the HWC.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor obtains the frequency and/or amplitude of the audio
  • the processor adjusts the intensity value of the first color channel stored in the HWC according to the corresponding relationship between the frequency of the audio and the first color channel, and/or the electronic device adjusts the intensity value of the first color channel stored in the HWC according to the magnitude of the audio and the second color channel. Corresponding relationship, adjusting the intensity value of the second color channel stored in the HWC.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor adjusts the intensity value of the color channel stored in the HWC to the first intensity value.
  • the HWC includes: a register
  • the register is used to store the intensity value of each color channel
  • the register is used to store the intensity values of the respective color channels corresponding to the different areas.
  • an embodiment of the present application provides an instruction stored in the computer-readable storage medium, which when run on a computer, causes the computer to execute the method described in the first aspect.
  • an embodiment of the present application provides a computer program product containing instructions, which when the computer program product runs on an electronic device, causes the electronic device to execute the method described in the first aspect.
  • the method of the embodiment of the present application determines the first layer corresponding to the first display area through the HWC, and determines the background color layer by adjusting the intensity value of the color channel stored in the HWC , Without the need for HWC to generate all layers, thereby reducing the number of layers generated by HWC, and avoiding the problem of being unable to determine the image to be displayed on the display due to the limitation of HWC.
  • Figure 1 (a) is a schematic diagram of a display screen of an electronic device disclosed in the prior art
  • Figure 1(b) is a schematic diagram of a display screen of another electronic device disclosed in the prior art
  • Figure 1(c) is a schematic diagram of a display screen of another electronic device disclosed in the prior art
  • FIG. 2 is a schematic structural diagram of an electronic device disclosed in an embodiment of the application.
  • FIG. 3 is a schematic diagram of a work flow of an electronic device display method disclosed in an embodiment of the application.
  • FIG. 4 is a schematic diagram of a layer disclosed in an embodiment of the application.
  • Figure 5(a) is a schematic diagram of a background color layer and a first layer disclosed in an embodiment of the application;
  • FIG. 5(b) is a schematic diagram of yet another background color layer and the first layer disclosed in the embodiments of this application;
  • Fig. 6 is a schematic structural diagram of a hardware synthesizer disclosed in an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of another electronic device disclosed in an embodiment of the application.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • embodiments of the present application disclose a display method and device for electronic equipment.
  • the electronic device may be a mobile phone, a tablet computer, a smart wearable device, etc.
  • the structure of the electronic device may be as shown in FIG. 2, where FIG. 2 is an application of the electronic device operation method provided by the embodiment of the application Schematic diagram of the structure of the electronic device.
  • the electronic device 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, and a battery 142, Sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194 and so on.
  • USB universal serial bus
  • the display screen 194 is a curved screen.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the electronic device when the electronic device is a mobile phone, the electronic device may further include: antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone Interface 170D, subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can be the nerve center and command center of the electronic device.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device.
  • the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and the peripheral device. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in this embodiment is merely a schematic description, and does not constitute a structural limitation of the electronic device.
  • the electronic device may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • 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 charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G and the like applied to electronic devices.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change 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 can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oled, quantum dot light-emitting diode (QLED), etc.
  • the electronic device may include one or N display screens 194, and N is a positive integer greater than one.
  • GUIs graphical user interfaces
  • the size of the display screen 194 of an electronic device is fixed, and only limited controls can be displayed on the display screen 194 of the electronic device.
  • Control is a kind of GUI element, it is a kind of software component, contained in the application, and controls all the data processed by the application and the interactive operations on these data. The user can interact with the control through direct manipulation. , So as to read or edit the relevant information of the application.
  • controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and Widgets.
  • the display screen 194 may display virtual keys.
  • Electronic equipment can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194, and application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device may include 1 or N cameras 193, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device can support one or more video codecs.
  • the electronic device can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • NPU can realize the intelligent cognition of electronic equipment and other applications, such as: image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121.
  • the processor 110 may implement AP deployment through the solution disclosed in the embodiment of the present application by executing instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device can 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. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device may be provided with at least one microphone 170C. In some other embodiments, the electronic device may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the strength of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B can be used to determine the movement posture of the electronic device.
  • the angular velocity of the electronic device around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyroscope sensor 180B detects the angle of the shake of the electronic device, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device through a reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device when the electronic device is a flip machine, the electronic device can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device in various directions (generally three axes). When the electronic device is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • Distance sensor 180F used to measure distance.
  • Electronic equipment can measure distance through infrared or laser.
  • the electronic device may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device emits infrared light to the outside through the light-emitting diode.
  • Electronic devices use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device can determine that there is no object near the electronic device.
  • the electronic device can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer calls with fingerprints.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device uses the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device when the temperature is lower than another threshold, the electronic device heats the battery 142 to avoid abnormal shutdown of the electronic device due to low temperature.
  • the electronic device boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device can receive key input, and generate key signal input related to user settings and function control of the electronic device.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device.
  • the electronic device can support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
  • an operating system runs.
  • the iOS operating system developed by Apple the Android open source operating system developed by Google
  • the Windows operating system developed by Microsoft You can install and run applications on this operating system.
  • an embodiment of the present application discloses a display method of an electronic device.
  • the display screen of the electronic device includes a first display area and a second display area.
  • the display screen of the electronic device is a curved screen
  • the curved screen includes a first display area with a smaller curvature and a second display area with a greater curvature.
  • the curvature of the first display area is small, it is usually used to display the screen to be displayed by the electronic device, while the curvature of the second display area is large, which avoids the problem of display screen distortion, so it is usually used as a touch area , To display touch buttons or icons, etc., or to prompt messages such as missed calls.
  • the display screen of the electronic device is in the form of split screens, and different split screens are different display areas.
  • the display screen of the electronic device may also be in other forms, which is not limited in the embodiment of the present application.
  • the electronic device display method disclosed in the embodiment of the present application includes the following steps:
  • Step S11 The electronic device determines the first application mode.
  • the application mode of the electronic device includes multiple types.
  • the first application mode may indicate whether the electronic device receives an unchecked communication message, or the first application mode may indicate the power level of the electronic device. Whether it is sufficient, or the first application mode may indicate the working status of the electronic device, etc.
  • the first application mode may also be of other types, which is not limited in the embodiment of the present application.
  • Step S12 The electronic device adjusts the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode.
  • the color channels are R (red), G (green) and B (blue) three color channels, correspondingly, the intensity of the three color channels The value is 0 to 255.
  • the color channels may also be of other types, which is not limited in the embodiment of the present application.
  • the electronic device includes a processor 110, and the processor 110 includes a display processing unit (DPU) for processing display-related data, such as For color calibration, etc.
  • the DPU may also be called a display subsystem (display subsystem, DSS), and the HWC may be provided in the DPU.
  • the HWC is provided with a register, which can be used to store the intensity value of each color channel.
  • Step S13 The electronic device determines each first layer corresponding to the first display area according to the HWC.
  • a layer is a picture that contains elements such as text or graphics.
  • the layers are superimposed in order to form an image.
  • the schematic diagram of the layers is shown in Figure 4.
  • Figure 4 there are three layers, 101, 102, and 103.
  • the three layers can contain elements such as text or graphics, and three After the layers are superimposed, the result is an image.
  • the layer in the first display area is referred to as the first layer.
  • the HWC can read the relevant data of each first layer in the first display area through the memory, and determine each first layer accordingly.
  • Step S14 The electronic device superimposes the background color layer corresponding to the intensity value of the adjusted color channel and the respective first layer through the HWC. During the superposition process, the background color layer is located in the The lower layer of each first layer.
  • the background color layer is a layer corresponding to the second display area.
  • the images displayed in the first display area and the second display area are different.
  • the layer of the second display area is determined through the intensity value of the color channel stored in the HWC, and the layer of the second display area is determined by adjusting the HWC.
  • the stored intensity value of the color channel realizes the adjustment of the layer content in the second display area.
  • the first display area and the second display area are located in different areas in the display screen.
  • the background color layer and the first layer have no overlapping area.
  • the schematic diagram can be as shown in FIG. 5(a).
  • the background color layer 104 and the first layer 105 are included.
  • the second display area displays the content of the background color layer 104
  • the first display area displays the content of the first layer 105 and the first layer 106 after being superimposed.
  • the schematic diagram of the background color layer and the first layer may be as shown in FIG. 5(b).
  • the background color layer 107 and the first image The first layer 108 and the first layer 109, wherein the first layer 108 and the first layer 109 are located directly above the background color layer 107, and the area of the background color layer 107 is larger than that of the first layer 108 And the area of the first layer 109.
  • the first layer 108 and the first layer 109 cover a part of the base color layer 107, and the base color layer 107 is not included in the first layer 108 and the first layer.
  • the area covered by the layer 109 is the area corresponding to the second display area.
  • the second display area displays the content of the background color layer 107
  • the first display area displays the background color layer 107 and the first display area.
  • the content after the layer 108 and the first layer 109 are superimposed.
  • the curved screen when the display screen of the electronic device is a curved screen, and, as shown in Figure 1 (a) to Figure 1 (c), the curved screen includes a first display area with a smaller curvature and a second display area with a greater curvature.
  • the background color layer can be the layer corresponding to the entire display screen, that is, the area covering the entire display screen, and each first layer is the layer of the second display area, and each layer of the first display area is superimposed
  • the background color layer in this case, in the acquired superimposed image, the image displayed in the first display area is the background color layer, the first layer, and the content after the first layer is superimposed
  • the second display area displays the content of the background layer.
  • Step S15 The electronic device displays the superimposed image through the display screen.
  • the method of the embodiment of the present application determines the first layer corresponding to the first display area through the HWC, and determines the background color layer by adjusting the intensity value of the color channel stored in the HWC , Without the need for HWC to generate all layers, thereby reducing the number of layers generated by HWC, and avoiding the problem of being unable to determine the image to be displayed on the display due to the limitation of HWC.
  • an embodiment of the present application discloses a schematic structural diagram of the HWC shown in FIG. 6.
  • the HWC generally includes a plurality of hardware channels 210, a background color adjustment device 220, a layer overlay device 230, and a bus 240.
  • one end of the multiple hardware channels 210 is connected to the memory 250 of the electronic device through a bus 240, and the other end of the multiple hardware channels 210 is connected to the layer overlay device 230.
  • the background color adjustment device 220 is connected to the layer overlay device 230.
  • the background color adjusting device 220 is used to store the intensity value of the color channel.
  • the hardware channel 210 is used to determine the layer corresponding to itself.
  • both the first display area and the second display area are divided into multiple layers, and each hardware channel 210 corresponds to a layer in the first display area or the second display area, and is used for the slave memory It reads the data of the layer corresponding to itself, determines the corresponding layer according to the data, and transmits the determined layer to the layer overlay device 230.
  • the background color adjustment device 220 in the HWC is used to determine the background color of the image to be displayed on the display screen, and the layer overlay device 230 adjusts the intensity of the color channel stored in the device 220 according to the background color. Value, which determines the background color layer.
  • the layer overlay device 230 is used to overlay the layers of the first display area and the second display area transmitted by each hardware channel 210, and the background color layer, and push the acquired image to The display screen, so that the display screen can obtain the superimposed image and display it.
  • the layers in the first display area and the layers in the second display area are both located in the background color map determined by the background color adjustment device.
  • the upper layer of the layer, and during the superimposition process, the background color layer corresponding to the intensity value of the color channel stored in the background color adjustment device is placed at the bottom layer, and the upper layer of the background color layer is the layer of the first display area.
  • the layer of the second display area the background color layer is covered.
  • the intensity value of the color channel stored in the background color adjustment device will not affect the image displayed on the display screen. Therefore, the intensity value of the color channel stored therein always remains unchanged.
  • the background color adjustment device The stored intensity values of the three color channels of R, G, and B are always 0.
  • each hardware channel needs to generate a layer, and the number of hardware channels in the HWC is usually limited. Therefore, when the number of layers in the first display area and the number of layers in the second display area are When there are more, the number of hardware channels is often insufficient, resulting in the inability to obtain the image required by the display screen.
  • the layer overlay device 230 in the HWC is connected to the hardware channel 210 and the background color adjustment device 220 respectively.
  • each hardware channel 210 in the HWC determines the first layer corresponding to the first display area by reading the data of each layer in the first display area in the memory.
  • the electronic device can adjust the intensity value of the color channel stored in the background color adjustment device 220 in the HWC according to the first application mode, and then the layer superimposing device 230 performs the adjustment on each of the first layers and the adjusted The base color layer corresponding to the intensity value of the color channel is superimposed.
  • the background color layer is located below each of the first layers. In this case, the content of the background color layer is the content displayed in the second display area.
  • the background color layer corresponding to the intensity value of the adjusted color channel is red
  • the background color layer is in the lower layer during the superposition process
  • the upper layer of the background color layer is corresponding to the first display area.
  • the first layer, in the acquired superimposed image, the second display area in the display screen presents the color of the background layer, that is, the second display area presents red
  • the first display area Display the content of the background color layer and each first layer superimposed.
  • the embodiment of the present application determines the content displayed in the second display area through the built-in background color adjustment device in the HWC, and does not require the hardware channel in the HWC to determine the layer corresponding to the second display area, which reduces the need for hardware channels. Therefore, the problem of insufficient hardware channels is avoided, thereby solving the problems of the first method in the prior art. In addition, there is no need for multiple data interactions between the GPU and the memory, which reduces power consumption, thereby solving the problems of the second method in the prior art.
  • the electronic device adjusts the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode.
  • the electronic device can adjust the intensity value of the color channel stored in the background color adjustment device according to different methods.
  • the electronic device adjusts settings in the hardware synthesizer HWC of the electronic device according to the first application mode
  • the intensity value of the stored color channel including:
  • the electronic device adjusts the intensity value of the color channel stored in the HWC according to the change amount and adjustment interval corresponding to each color channel.
  • the difference between the intensity value of the color channel after each adjustment and the intensity value of the color channel before the adjustment is the amount of change.
  • the second display area can display different colors every adjustment interval to remind the user or play a beautifying effect.
  • the intensity value of the color channel in the background color adjustment device can be adjusted at every adjustment interval, and each time the adjustment is made, the intensity value of the previous color channel is increased.
  • the amount of change corresponding to the color channel can be 5, and the intensity value of the R color channel before the first adjustment is 30, then after the first adjustment, the intensity value of the R color channel is adjusted to 35.
  • the intensity value after the intensity value is adjusted to the color threshold, it can also be adjusted to an initial value.
  • the initial value is the intensity value corresponding to each color channel before the intensity value of the color channel is adjusted for the first time.
  • the preset threshold value can be determined to be 255. In this case, when the intensity value of the color channel is adjusted to 255, the The intensity value of the color channel is adjusted back to the initial value.
  • the message prompt can also be performed through the second display area.
  • the electronic device adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the electronic device determines an adjustment period, where the adjustment period includes at least two time periods.
  • the communication message may include short message, incoming call information, email message, or instant messaging application information, etc., for example, may include WeChat message, etc.
  • the electronic device periodically adjusts the intensity value of the color channel stored in the HWC according to the intensity value of the color channel corresponding to each time period.
  • each adjustment period is set to include at least two time periods, and the intensity value of the color channel corresponding to each time period is preset, so that in different time periods of one adjustment period, the background color
  • the intensity values of the color channels stored in the adjustment device are different.
  • the image of the second display area determined by the intensity value of the color channel stored in the background color adjustment device exhibits periodic changes, and in different periods of each adjustment period, the second display area The image of the display area is also different, thus realizing the message prompt.
  • the intensity values of the color channels corresponding to at least two time periods in the adjustment period change from strong to weak.
  • the color of the image displayed in the second display area periodically changes from strong to weak.
  • the electronic device adjusts the intensity value of the color channel in the HWC to an initial value, and the initial value is when the electronic device receives the Before the communication message, the intensity value of the color channel stored in the HWC.
  • the intensity value of the color channel in the HWC can be determined according to the intensity value of the color channel corresponding to each time period in the adjustment period. The value is adjusted so as to prompt the user.
  • the intensity value of the color channel in the HWC can be adjusted to the initial value.
  • the electronic device may also adjust the intensity value of the color channel stored in the HWC according to the audio during the audio playback.
  • the electronic device adjusting the intensity value of the color channel stored in the HWC according to the first application mode includes:
  • the electronic device When the first application mode instructs the electronic device to play audio, the electronic device acquires the frequency and/or amplitude of the audio.
  • the electronic device adjusts the intensity value of the first color channel stored in the HWC according to the corresponding relationship between the frequency of the audio and the first color channel, and/or the electronic device adjusts the intensity value of the first color channel stored in the HWC according to the amplitude of the audio and the second color channel Corresponding relationship, adjusting the intensity value of the second color channel stored in the HWC.
  • the corresponding relationship between the frequencies of different audios and the first color channel is set.
  • the intensity of the first color channel can be determined according to the corresponding relationship and the frequency of the currently played audio. Value to be adjusted.
  • the corresponding relationship between the amplitude of different audio and the second color channel can be set.
  • the intensity value of the second color channel can be adjusted according to the corresponding relationship and the amplitude of the currently played audio.
  • the second display area of the electronic device can be rendered in different colors according to the played audio.
  • the intensity value of the color channel stored in the HWC can be adjusted according to the frequency and/or amplitude of the song being played, thereby adjusting the content displayed in the second display area.
  • the electronic device adjusting the intensity value of the color channel stored in the HWC according to the first application mode includes:
  • the intensity value of the color channel stored in the HWC is adjusted to the first intensity value.
  • the first intensity value may be the intensity value of the color channel in the case of highlighting, so that when the electronic device is performing a photographing operation, the second display area can present a bright color, which serves as a supplement to light. effect.
  • the HWC includes: a register.
  • the register is used to store the intensity value of each color channel.
  • the color displayed by each pixel in the second display area of the curved screen is the same, which means that the color in the second display area is displayed as a single color.
  • the register included in the background color adjustment device is used to store the intensity value of each color channel.
  • the register can store the intensity value of different color channels through different fields, or each color channel corresponds to a register , The intensity value of the color channel is stored in the register corresponding to the color channel.
  • the register is used to store the intensity values of the respective color channels corresponding to the different areas.
  • the second display area can also be divided into different areas, and each area displays a different color.
  • the HWC includes a register for the intensity value of each color channel corresponding to the different area.
  • the register can store the intensity value of each color channel corresponding to different areas through different fields, or there are multiple registers, and each register is used to store a certain color corresponding to a certain area in the second display area. The intensity value of the channel.
  • the register is set in the background color adjustment device.
  • the embodiment of the present application discloses an electronic device.
  • the electronic device includes a processor 100, a hardware synthesizer HWC 200, and a display screen 300.
  • the display screen 300 includes a first display area and a second display area.
  • the processor 100 is configured to determine the first application mode, and adjust the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode.
  • the HWC 200 is used to determine each first layer corresponding to the first display area, and superimpose the background color layer corresponding to the intensity value of the adjusted color channel and each of the first layers, during the superimposition process
  • the background color layer is located below each of the first layers, and the background color layer is a layer corresponding to the second display area.
  • the display screen 300 is used to display the superimposed image.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor adjusts the intensity value of the color channel stored in the HWC according to the change amount and adjustment interval corresponding to each color channel.
  • the difference between the intensity value of the color channel after each adjustment and the intensity value of the color channel before the adjustment is the amount of change.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor determines an adjustment period, where the adjustment period includes at least two time periods.
  • the processor periodically adjusts the intensity value of the color channel stored in the HWC according to the intensity value of the color channel corresponding to each time period.
  • the processor adjusts the intensity value of the color channel stored in the HWC to an initial value, and the initial value is Before the communication message, the intensity value of the color channel stored in the HWC.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor obtains the frequency and/or amplitude of the audio.
  • the processor adjusts the intensity value of the first color channel stored in the HWC according to the corresponding relationship between the frequency of the audio and the first color channel, and/or the electronic device adjusts the intensity value of the first color channel stored in the HWC according to the magnitude of the audio and the second color channel. Corresponding relationship, adjusting the intensity value of the second color channel stored in the HWC.
  • the processor adjusting the intensity value of the color channel stored in the hardware synthesizer HWC of the electronic device according to the first application mode includes:
  • the processor adjusts the intensity value of the color channel stored in the HWC to the first intensity value.
  • the HWC includes a register.
  • the register is used to store the intensity value of each color channel.
  • the register is used to store the intensity values of the respective color channels corresponding to the different areas.
  • an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium includes instructions.
  • the computer-readable medium when installed in any device and runs on a computer, it can implement all or part of the steps in the embodiments corresponding to FIGS. 2 and 3.
  • the storage medium of the computer readable medium may be a magnetic disk, an optical disc, a read-only memory (English: read-only memory, abbreviated as: ROM) or a random access memory (English: random access memory, abbreviated as: RAM), etc. .
  • another embodiment of the present application also discloses a computer program product containing instructions.
  • the computer program product runs on an electronic device, the electronic device can implement all or all of the embodiments corresponding to FIG. 3. Part of the steps.
  • the various illustrative logic units and circuits described in the embodiments of this application can be implemented by general-purpose processors, digital information processors, application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, Discrete gates or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions.
  • the general-purpose processor may be a microprocessor.
  • the general-purpose processor may also be any traditional processor, controller, microcontroller, or state machine.
  • the processor can also be implemented by a combination of computing devices, such as a digital information processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital information processor core, or any other similar configuration. achieve.
  • the steps of the method or algorithm described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two.
  • the software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or any other storage medium in the art.
  • the storage medium may be connected to the processor, so that the processor can read information from the storage medium, and can store and write information to the storage medium.
  • the storage medium may also be integrated into the processor.
  • the processor and the storage medium may be set in the ASIC, and the ASIC may be set in the UE.
  • the processor and the storage medium may also be provided in different components in the UE.
  • the size of the sequence number of each process does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not correspond to the difference in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the technology in the embodiments of the present invention can be implemented by means of software plus a necessary universal hardware platform.
  • the technical solutions in the embodiments of the present invention can be embodied in the form of software products, which can be stored in a storage medium, such as ROM/RAM. , Magnetic disks, optical disks, etc., including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in the various embodiments or some parts of the embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种电子设备显示方法及电子设备,其中,所述电子设备的显示屏包括第一显示区域和第二显示区域。该方法中,电子设备确定第一应用模式(S11),根据第一应用模式,调整HWC中存储的颜色通道的强度值(S12),然后根据HWC,确定第一显示区域对应的各个第一图层(S13),通过HWC,叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层(S14),在叠加过程中,底色图层位于所述各个第一图层的下层,所述底色图层为所述第二显示区域对应的图层,再通过所述显示屏显示叠加后的图像(S15)。该方法无需HWC生成所有图层,避免出现由于受到HWC的限制,无法确定显示屏所需显示的图像的问题。并且,无需GPU与内存之间进行多次的数据交互,从而减少了功耗。

Description

一种电子设备显示方法及电子设备 技术领域
本申请涉及电子设备技术领域,具体涉及一种电子设备显示方法及电子设备。
背景技术
随着技术的发展,目前出现多种类型的电子设备,以满足用户的多样化需求。其中,有一种电子设备的显示屏包括至少两个显示区域,能够通过不同显示区域显示不同的内容。
例如,所述电子设备的显示屏可以为曲面屏,该曲面屏包括曲率较小的第一显示区域和曲率较大的第二显示区域。参见图1(a)和图1(b),所述第二显示区域20可分别设置在第一显示区域10上下两侧或者左右两侧。或者,如图1(c)所示,所述第二显示区域20可分别设置在第一显示区域10的四个边侧。其中,由于第一显示区域的曲率较小,因此通常用于显示电子设备所要显示的画面,而第二显示区域的曲率较大,为了避免出现显示画面变形的问题,因此通常用作触控区域,显示触控按键或图标等,或者,用于提示未接来电等信息。
为了获取显示屏所需显示的图像,现有技术可采用以下两种方法。在电子设备中设置有硬件合成器(hardware composer,HWC),在第一种方法中,各个显示区域被划分为多个图层,通过HWC生成各个显示区域对应的各个图层,并对各个图层进行叠加处理,获取叠加后的图像,再将叠加后的图像推送至显示屏,由显示屏显示显示叠加后的图像,该叠加后的图像即为显示屏所需显示的图像。
第二种方法中,需要应用图形处理器(graphics processingunit,GPU)。GPU用于通过内存获取各个显示区域对应的各个图层,对各个图层进行叠加处理,获取叠加后的图像,再将叠加后的图像传输至内存,内存再通过HWC,将叠加后的图像推送至显示屏,以供所述显示屏显示。
但是,发明人在本申请的研究过程中发现,在第一种方法中,HWC能够生成的图层的数量有限,当各个显示区域对应的图层数量较多时,HWC则无法完全确定各个图层,从而无法确定显示屏所需显示的图像。在第二种方法中,需要GPU从内存中获取各图层,以及需要将叠加后的图像传输至内存,因此,需要GPU与内存之间进行多次的数据交互,从而导致功耗较大。
发明内容
在现有技术中,当通过HWC确定显示屏显示的图像时,受到HWC的限制,有时无法确定显示屏所需显示的图像;而通过GPU确定显示屏显示的图像时,通常存在功耗较大的问题。为了解决上述技术问题,本申请实施例公开一种电子设备显示方法及电子设备。
第一方面,本申请实施例提供一种电子设备显示方法,所述电子设备的显示屏包括第一显示区域和第二显示区域,包括:
电子设备确定第一应用模式;
所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC 中存储的颜色通道的强度值;
所述电子设备根据所述HWC,确定所述第一显示区域对应的各个第一图层;
所述电子设备通过所述HWC,叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层,在叠加过程中,所述底色图层位于所述各个第一图层的下层,所述底色图层为所述第二显示区域对应的图层;
所述电子设备通过所述显示屏显示叠加后的图像。
通过上述方法,无需HWC生成所有图层,从而减少了HWC生成的图层的数量,避免出现由于受到HWC的限制,无法确定显示屏所需显示的图像的问题。并且,无需GPU与内存之间进行多次的数据交互,从而减少了功耗。
一种可选的设计中,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述电子设备根据各个颜色通道对应的变化量和调整间隔,调整所述HWC中存储的颜色通道的强度值;
其中,每次调整之后的颜色通道的强度值与调整之前的颜色通道的强度值之间的差值为所述变化量。
当所述电子设备的电量大于第一阈值时,则表明电子设备的电量充足。这种情况下,第二显示区域可每隔调整间隔,显示不同的颜色。
一种可选的设计中,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备接收到通讯消息,并且所述通讯消息未被查看时,所述电子设备确定调整周期,其中,所述调整周期包括至少两个时间段;
所述电子设备根据每个时间段对应的颜色通道的强度值,周期性的调整所述HWC中存储的颜色通道的强度值;
当所述第一应用模式指示所述通讯消息被查看时,所述电子设备将所述HWC中存储的颜色通道的强度值调整为初始值,所述初始值为所述电子设备在接收到所述通讯消息之前,所述HWC中存储的颜色通道的强度值。
通过上述步骤,能够使第二显示区域的图像现周期性的变化,并且,每个调整周期内的不同时段下,第二显示区域的图像也不同,从而实现消息提示。
一种可选的设计中,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备播放音频时,所述电子设备获取所述音频的频率和/或幅度;
所述电子设备根据音频的频率与第一颜色通道的对应关系,调整所述HWC中存储的第一颜色通道的强度值,和/或,所述电子设备根据音频的幅度与第二颜色通道的对应关系,调整所述HWC存储的第二颜色通道的强度值。
通过上述方法,能够使电子设备的第二显示区域根据播放的音频呈现不同的颜色。
一种可选的设计中,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备进行拍照操作时,将所述HWC中存储的颜色 通道的强度值调整为第一强度值。
其中,所述第一强度值可为高亮情况下的颜色通道的强度值,从而能够在电子设备进行拍照操作时,使第二显示区域呈现高亮的颜色,起到补光的作用。
一种可选的设计中,所述HWC包括:寄存器;
当所述第二显示区域中各个像素显示的颜色相同时,所述寄存器用于存储各个颜色通道的强度值;
当所述第二显示区域中不同区域显示的颜色不同时,所述寄存器用于存储所述不同区域对应的各个颜色通道的强度值。
第二方面,本申请实施例提供一种电子设备,包括:处理器、硬件合成器HWC和显示屏;
其中,所述显示屏包括第一显示区域和第二显示区域;
所述处理器用于确定第一应用模式,并根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值;
所述HWC用于确定所述第一显示区域对应的各个第一图层,并叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层,在叠加过程中,所述底色图层位于所述各个第一图层的下层,所述底色图层为所述第二显示区域对应的图层;
所述显示屏用于显示叠加后的图像。
一种可选的设计中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述处理器根据各个颜色通道对应的变化量和调整间隔,调整所述HWC中存储的颜色通道的强度值;
其中,每次调整之后的颜色通道的强度值与调整之前的颜色通道的强度值之间的差值为所述变化量。
一种可选的设计中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备接收到通讯消息,并且所述通讯消息未被查看时,所述处理器确定调整周期,其中,所述调整周期包括至少两个时间段;
所述处理器根据每个时间段对应的颜色通道的强度值,周期性的调整所述HWC中存储的颜色通道的强度值;
当所述第一应用模式指示所述通讯消息被查看时,所述处理器将所述HWC中存储的颜色通道的强度值调整为初始值,所述初始值为所述电子设备在接收到所述通讯消息之前,所述HWC中存储的颜色通道的强度值。
一种可选的设计中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备播放音频时,所述处理器获取所述音频的频率和/或幅度;
所述处理器根据音频的频率与第一颜色通道的对应关系,调整所述HWC中存储的第一颜色通道的强度值,和/或,所述电子设备根据音频的幅度与第二颜色通道的对应关系,调整所述HWC存储的第二颜色通道的强度值。
一种可选的设计中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备进行拍照操作时,所述处理器将所述HWC中存储的颜色通道的强度值调整为第一强度值。
一种可选的设计中,所述HWC包括:寄存器;
当所述第二显示区域中各个像素显示的颜色相同时,所述寄存器用于存储各个颜色通道的强度值;
当所述第二显示区域中不同区域显示的颜色不同时,所述寄存器用于存储所述不同区域对应的各个颜色通道的强度值。
第三方面,本申请实施例提供一种所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得所述计算机执行如第一方面所述的方法。
第四方面,本申请实施例提供一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如第一方面所述的方法。
与现有技术的第一种方法相比,本申请实施例的方法通过HWC确定第一显示区域对应的第一图层,并通过调整HWC中存储的颜色通道的强度值,确定底色图层,无需HWC生成所有图层,从而减少了HWC生成的图层的数量,避免出现由于受到HWC的限制,无法确定显示屏所需显示的图像的问题。并且,与现有技术的第二种方法相比,无需GPU与内存之间进行多次的数据交互,从而减少了功耗。
附图说明
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1(a)为现有技术公开的一种电子设备的显示屏示意图;
图1(b)为现有技术公开的又一种电子设备的显示屏示意图;
图1(c)为现有技术公开的又一种电子设备的显示屏示意图;
图2为本申请实施例公开的一种电子设备的结构示意图;
图3为本申请实施例公开的一种电子设备显示方法的工作流程示意图;
图4为本申请实施例公开的一种图层的示意图;
图5(a)为本申请实施例公开的一种底色图层和第一图层的示意图;
图5(b)为本申请实施例公开的又一种底色图层和第一图层的示意图;
图6为本申请实施例公开的一种硬件合成器的结构示意图;
图7为本申请实施例公开的又一种电子设备的结构示意图。
具体实施方式
本申请说明书和权利要求书及附图说明中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于限定特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如” 等词旨在以具体方式呈现相关概念。
在现有技术中,当通过HWC确定显示屏显示的图像时,受到HWC的限制,有时确定显示屏所需显示的图像;而通过GPU确定显示屏显示的图像时,通常存在功耗较大的问题。为了解决上述技术问题,本申请实施例公开一种电子设备显示方法及装置。
其中,本申请各个实施例公开的方案可应用于电子设备。其中,该电子设备可以是手机、平板电脑和智能穿戴设备等设备,在一个示例中,电子设备的结构可以如图2所示,其中,图2为应用本申请实施例提供的电子设备操作方法的电子设备的结构示意图。如图2所示,电子设备可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194等。在本申请实施例中,所述显示屏194即为曲面屏。其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。进一步的,当所述电子设备为手机时,所述电子设备还可以包括:天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本实施例示意的结构并不构成对电子设备的具体限定。在另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。
其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码 分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oled,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备的显示屏194上可以显示一系列图形用户界面(graphical user interface,GUI),这些GUI都是该电子设备的主屏幕。一般来说,电子设备的显示屏194的尺寸是固定的,只能在该电子设备的显示屏194中显示有限的控件。控件是一种GUI元素,它是一种软件组件,包含在应用程序中,控制着该应用程序处理的所有数据以及关于这些数据的交互操作,用户可以通过直接操作(direct manipulation)来与控件交互,从而对应用程序的有关信息进行读取或者编辑。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。例如,在本申请实施例中,显示屏194可以显示虚拟按键。
电子设备可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。这样,电子设备可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备的各种功能应用以及数据处理。例如,在本实施例中,处理器110可以通过执行存储在内部存储器121中的指令,通过本申请实施例公开的方案实现AP的部署。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备的各种功能应用以及数据处理。
电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备可以设置至少一个麦克风170C。在另一些实施例中,电子设备可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association ofthe USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备根据压力传感器180A检测所述触摸操作强度。电子设备也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备是翻盖机时,电子设备可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备在各个方向上(一般为三轴)加速度的大小。当电子设备静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备通过发光二极管向外发射红外光。电子设备使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备附近有物体。当检测到不充分的反射光时,电子设备可以确定电子设备附近没有物体。电子设备可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备利用温度传感器180J检 测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备对电池142加热,以避免低温导致电子设备异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。
另外,在上述部件之上,运行有操作系统。例如苹果公司所开发的iOS操作系统,谷歌公司所开发的Android开源操作系统,微软公司所开发的Windows操作系统等。在该操作系统上可以安装运行应用程序。
进一步的,本申请实施例公开一种电子设备显示方法,该电子设备的显示屏包括第一显示区域和第二显示区域。
在一个示例中,所述电子设备的显示屏为曲面屏,该曲面屏包括曲率较小的第一显示 区域和曲率较大的第二显示区域。其中,由于第一显示区域的曲率较小,因此通常用于显示电子设备所要显示的画面,而第二显示区域的曲率较大,了避免出现显示画面变形的问题,因此通常用作触控区域,显示触控按键或图标等,或者,用于提示未接来电等信息。
在另一个示例中,所述电子设备的显示屏为分屏的形式,不同分屏为不同显示区域。
当然,所述电子设备的显示屏还可以为其他形式,本申请实施例对此不作限定。
下面将具体结合附图阐述本申请的实施例,以明确本申请公开的电子设备显示方法。
参见图3所示的工作流程示意图,在本申请实施例公开的电子设备显示方法中,包括以下步骤:
步骤S11、电子设备确定第一应用模式。
其中,所述电子设备的应用模式包括多种类型,例如,所述第一应用模式可指示电子设备是否接收到未被查看的通讯消息,或者,所述第一应用模式可指示电子设备的电量是否充足,或者,所述第一应用模式可指示电子设备的工作状态等。
当然,所述第一应用模式还可以为其他类型,本申请实施例对此不做限定。
步骤S12、所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值。
在一个示例中,当电子设备应用的是RGB颜色模型时,所述颜色通道分别为R(red)、G(green)和B(blue)三个颜色通道,相应的,三个颜色通道的强度值为0至255。
当然,当电子设备应用其他形式的颜色模型时,所述颜色通道也可以为其他类型,本申请实施例对此不作限定。
在一些实施例中,参见图2所示的结构示意图,所述电子设备包括处理器110,所述处理器110包括显示处理单元(display processing unit,DPU),用于处理显示相关的数据,例如进行颜色校准等,所述DPU也可以称为显示子系统(display subsystem,DSS),所述HWC可设置在所述DPU中。该HWC中设置有寄存器,该寄存器可用于存储各个颜色通道的强度值。
步骤S13、所述电子设备根据所述HWC,确定所述第一显示区域对应的各个第一图层。
图层是包含有文字或图形等元素的图片,各图层按顺序叠加在一起,组合形成一幅图像。在一个示例中,图层的示意图如图4所示,在图4中,包括3个图层,分别为101、102和103,三个图层中可包含文字或图形等元素,并且,三个图层叠加之后,形成的即为一幅图像。
在本申请实施例中,将第一显示区域的图层称为第一图层。HWC可通过内存,读取第一显示区域的各个第一图层的相关数据,并据此确定各个第一图层。
步骤S14、所述电子设备通过所述HWC,叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层,在叠加过程中,所述底色图层位于所述各个第一图层的下层。
其中,所述底色图层为所述第二显示区域对应的图层。
在本申请实施中,第一显示区域和第二显示区域显示的图像不同,这种情况下,通过HWC中存储的颜色通道的强度值,确定第二显示区域的图层,并通过调整HWC中存储的颜色通道的强度值,实现对第二显示区域的图层内容的调整。
另外,第一显示区域和第二显示区域位于显示屏中的不同区域。在一个示例中,底色图层和第一图层没有重叠区域,其示意图可如图5(a)所示,在图5(a)中,包括底色图 层104、第一图层105和第一图层106,在叠加之后,第二显示区域显示底色图层104的内容,而第一显示区域显示第一图层105和第一图层106叠加之后的内容。
在另一个示例中,在一个示例中,底色图层和第一图层的示意图可如图5(b)所示,在图5(b)中,包括底色图层107、第一图层108和第一图层109,其中,第一图层108和第一图层109位于所述底色图层107的正上方,并且底色图层107的面积大于所述第一图层108和第一图层109的面积。这种情况下,在叠加之后,第一图层108和第一图层109覆盖在底色图层107的部分区域,而所述底色图层107中未被第一图层108和第一图层109覆盖的区域,即为所述第二显示区域所对应的区域,所述第二显示区域显示底色图层107的内容,并且,第一显示区域显示底色图层107、第一图层108和第一图层109叠加之后的内容。
其中,当电子设备的显示屏为曲面屏,并且,如图1(a)至图1(c)所示,该曲面屏包括曲率较小的第一显示区域和曲率较大的第二显示区域时,底色图层可以为整个显示屏对应的图层,即覆盖整个显示屏的区域,而各个第一图层为所述第二显示区域的图层,第一显示区域的各个图层叠加在所述底色图层之后,这种情况下,获取到的叠加后的图像中,第一显示区域显示的图像为底色图层、第一图层和第一图层叠加之后的内容,第二显示区域显示的是底色图层的内容。
步骤S15、所述电子设备通过所述显示屏显示叠加后的图像。
与现有技术的第一种方法相比,本申请实施例的方法通过HWC确定第一显示区域对应的第一图层,并通过调整HWC中存储的颜色通道的强度值,确定底色图层,无需HWC生成所有图层,从而减少了HWC生成的图层的数量,避免出现由于受到HWC的限制,无法确定显示屏所需显示的图像的问题。并且,与现有技术的第二种方法相比,无需GPU与内存之间进行多次的数据交互,从而减少了功耗。
进一步的,为了明确本申请中获取叠加后的图像的方法,本申请实施例公开图6所示的HWC的结构示意图。
参见图6,所述HWC通常包括多个硬件通道210、底色调整器件220、图层叠加器件230以及总线240。
其中,所述多个硬件通道210的一端通过总线240与电子设备的内存250相连接,并且,所述多个硬件通道210的另一端与所述图层叠加器件230相连接。所述底色调整器件220与所述图层叠加器件230相连接。
所述底色调整器件220用于存储颜色通道的强度值。
所述硬件通道210用于确定自身对应的图层。在现有技术中,第一显示区域和第二显示区域均被划分为多个图层,每一个硬件通道210分别对应第一显示区域或第二显示区域中的一个图层,并用于从内存中读取自身对应的图层的数据,根据该数据确定相应的图层,并将确定的图层传输至图层叠加器件230。
另外,在现有技术中,所述HWC中的底色调整器件220用于确定显示屏所需显示的图像的底色,图层叠加器件230根据底色调整器件220中存储的颜色通道的强度值,确定底色图层。
这种情况下,所述图层叠加器件230用于将各个硬件通道210传输的第一显示区域和第二显示区域的图层,以及底色图层进行叠加处理,并将获取的图像推送至显示屏,以使 显示屏获取叠加后的图像并显示。
其中,在现有技术中,所述图层叠加器件230在叠加的过程中,第一显示区域的图层和第二显示区域的图层均位于通过所述底色调整器件确定的底色图层的上层,并且在叠加过程中,底色调整器件中存储的颜色通道的强度值所对应的底色图层被放置在最底层,底色图层的上层分别为第一显示区域的图层和第二显示区域的图层,该底色图层被覆盖。
这种情况下,底色调整器件中存储的颜色通道的强度值不会对显示屏显示的图像造成影响,因此,其中存储的颜色通道的强度值始终保持不变,例如,底色调整器件中存储的R、G和B三个颜色通道的强度值始终为0。
但是,由于在现有技术中,每个硬件通道需要生成一个图层,而HWC内的硬件通道数量通常是有限的,因此,当第一显示区域的图层和第二显示区域的图层数量较多时,硬件通道的数量往往不足,导致无法获取显示屏所需显示的图像。
而在本申请实施例中,HWC中的图层叠加器件230分别与硬件通道210和底色调整器件220相连接。其中,HWC中的各个各个硬件通道210,通过读取内存中的第一显示区域的各个图层的数据,确定第一显示区域对应的第一图层。并且,电子设备可根据第一应用模式,调整HWC中的底色调整器件220中存储的颜色通道的强度值,然后,图层叠加器件230再对所述各个第一图层,以及调整后的颜色通道的强度值对应的底色层进行叠加。在叠加过程中,所述底色图层位于所述各个第一图层的下层,这种情况下,底色图层的内容即为第二显示区域所显示的内容。
例如,当调整后的颜色通道的强度值对应的底色图层为红色时,由于在叠加过程中,该底色图层在下层,而底色图层的上层均为第一显示区域对应的第一图层,则获取到的叠加后的图像中,所述显示屏中的第二显示区域呈现所述底色图层的颜色,即所述第二显示区域呈现红色,而第一显示区域显示底色图层和各个第一图层叠加后的内容。
也就是说,本申请实施例通过HWC中内置的底色调整器件,确定第二显示区域显示的内容,无需HWC中的硬件通道确定所述第二显示区域对应的图层,减少了对硬件通道的占用,避免出现硬件通道不足的问题,从而解决了现有技术的第一种方法所具有的问题。并且,无需GPU与内存之间进行多次的数据交互,减少了功耗,从而解决了现有技术的第二种方法所具有的问题。
另外,在本申请实施例中,公开了电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值的操作,其中,对于不同的应用模式,电子设备可根据不同方式调整底色调整器件中存储的颜色通道的强度值。
在一个示例中,当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述电子设备根据各个颜色通道对应的变化量和调整间隔,调整所述HWC中存储的颜色通道的强度值。
其中,每次调整之后的颜色通道的强度值与调整之前的颜色通道的强度值之间的差值为所述变化量。
当所述电子设备的电量大于第一阈值时,则表明电子设备的电量充足。这种情况下,第二显示区域可每隔调整间隔,显示不同的颜色,以提示使用者,或起到美化的作用。
在调整过程中,可每隔调整间隔,对底色调整器件中的颜色通道的强度值进行一次调节,并且,每次在调节时,在调整之前的颜色通道的强度值的基础上,增加该颜色通道对应的变化量。例如,R颜色通道的变化量可为5,第一次调整之前R颜色通道的强度值为30,则第一次调整之后,R颜色通道的强度值被调整为35。
进一步的,上述方法中,当强度值被调整至颜色阈值之后,还可调整至初始值,该初始值为对所述颜色通道的强度值进行第一次调整之前,各个颜色通道对应的强度值。例如,R、G和B三个颜色通道的强度值最高为255,则可确定所述预设的阈值为255,这种情况下,当其中颜色通道的强度值被调整至255时,则将该颜色通道的强度值调整回初始值。
进一步的,在本申请实施例中,还可通过第二显示区域进行消息提示。这种情况下,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备接收到通讯消息,并且所述通讯消息未被查看时,所述电子设备确定调整周期,其中,所述调整周期包括至少两个时间段。
其中,所述通讯消息可包括短信息,来电信息、邮件信息或者即时通讯应用的信息等,例如,可以包括微信信息等。
所述电子设备根据每个时间段对应的颜色通道的强度值,周期性的调整所述HWC中存储的颜色通道的强度值。
在本申请实施例中,设定每个调整周期包括至少两个时间段,并且,预先设置了每个时间段对应的颜色通道的强度值,从而在一个调整周期的不同时间段内,底色调整器件中存储的颜色通道的强度值不同。这种情况下,通过所述底色调整器件中存储的颜色通道的强度值所确定的第二显示区域的图像,呈现周期性的变化,并且,每个调整周期内的不同时段下,第二显示区域的图像也不同,从而实现消息提示。
在一个示例中,调整周期中的至少两个时间段对应的颜色通道的强度值由强变弱,这种情况下,第二显示区域显示的图像的颜色周期性的呈现由强到弱的变化。
当所述第一应用模式指示所述通讯消息被查看时,所述电子设备将所述HWC中的颜色通道的强度值调整为初始值,所述初始值为所述电子设备在接收到所述通讯消息之前,所述HWC中存储的颜色通道的强度值。
通过本申请实施例的方案,能够在电子设备接收到通讯消息,并且所述通讯消息未被查看时,根据调整周期内各个时间段对应的颜色通道的强度值,对HWC中的颜色通道的强度值进行调整,从而起到提示使用者的作用。
当所述第一应用模式指示所述通讯消息被查看时,则无需提示使用者,这种情况下,可再将HWC中的颜色通道的强度值调整为初始值。
在另一个示例中,电子设备还可以在播放音频的过程中,根据音频对HWC中存储的颜色通道的强度值进行调整。这种情况下,所述电子设备根据所述第一应用模式,调整HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备播放音频时,所述电子设备获取所述音频的频率和/或幅度。
所述电子设备根据音频的频率与第一颜色通道的对应关系,调整所述HWC中存储的第一颜色通道的强度值,和/或,所述电子设备根据音频的幅度与第二颜色通道的对应关系, 调整所述HWC中存储的第二颜色通道的强度值。
在本申请实施例中,设定了不同音频的频率与第一颜色通道的对应关系,在播放音频的过程中,可根据该对应关系以及当前播放的音频的频率,对第一颜色通道的强度值进行调整。另外,还可以设定不同音频的幅度与第二颜色通道的对应关系,在播放音频的过程中,可根据该对应关系以及当前播放的音频的幅度,对第二颜色通道的强度值进行调整。
通过本申请实施例,能够使电子设备的第二显示区域根据播放的音频呈现不同的颜色。例如,当电子设备在播放歌曲时,可根据播放歌曲的频率和/或幅度,对HWC中存储的颜色通道的强度值进行相应的调整,从而调整了第二显示区域显示的内容。
另一个示例中,所述电子设备根据所述第一应用模式,调整HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备进行拍照操作时,将所述HWC中存储的颜色通道的强度值调整为第一强度值。
这种情况下,所述第一强度值可为高亮情况下的颜色通道的强度值,从而能够在电子设备进行拍照操作时,使第二显示区域呈现高亮的颜色,起到补光的作用。
进一步的,在本申请实施例中,所述HWC包括:寄存器。
当所述曲面屏的第二显示区域中各个像素显示的颜色相同时,所述寄存器用于存储各个颜色通道的强度值。
所述曲面屏的第二显示区域中各个像素显示的颜色相同,指的是该第二显示区域中的颜色显示为单一的颜色。这种情况下,底色调整器件包括的寄存器用于存储各个颜色通道的强度值,例如,所述寄存器可通过不同的字段,存储不同颜色通道的强度值,或者,每一个颜色通道对应一个寄存器,该颜色通道对应的寄存器中存储该颜色通道的强度值。
当所述曲面屏的第二显示区域中不同区域显示的颜色不同时,所述寄存器用于存储所述不同区域对应的各个颜色通道的强度值。
在本申请实施例中,还可将第二显示区域划分为不同的区域,每个区域显示不同的颜色,这种情况下,HWC包括的寄存器用于不同区域对应的各个颜色通道的强度值。例如,所述寄存器可通过不同字段,存储不同区域对应的各个颜色通道的强度值,或者,所述寄存器为多个,每个寄存器用于存储第二显示区域中某一个区域对应的某一个颜色通道的强度值。
另外,当HWC通过底色调整器件存储各个颜色通道的强度值时,所述寄存器设置在所述底色调整器件中。
下述为本发明装置实施例,可以用于执行本发明方法实施例。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。
本申请实施例公开一种电子设备,参见图7所示的结构示意图,所述电子设备包括:处理器100、硬件合成器HWC 200和显示屏300。
其中,所述显示屏300包括第一显示区域和第二显示区域。
所述处理器100用于确定第一应用模式,并根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值。
所述HWC 200用于确定所述第一显示区域对应的各个第一图层,并叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层,在叠加过程中,所述底色图层位 于所述各个第一图层的下层,所述底色图层为所述第二显示区域对应的图层。
所述显示屏300用于显示叠加后的图像。
进一步的,在本申请实施例公开的电子设备中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述处理器根据各个颜色通道对应的变化量和调整间隔,调整所述HWC中存储的颜色通道的强度值。
其中,每次调整之后的颜色通道的强度值与调整之前的颜色通道的强度值之间的差值为所述变化量。
进一步的,在本申请实施例公开的电子设备中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备接收到通讯消息,并且所述通讯消息未被查看时,所述处理器确定调整周期,其中,所述调整周期包括至少两个时间段。
所述处理器根据每个时间段对应的颜色通道的强度值,周期性的调整所述HWC中存储的颜色通道的强度值。
当所述第一应用模式指示所述通讯消息被查看时,所述处理器将所述HWC中存储的颜色通道的强度值调整为初始值,所述初始值为所述电子设备在接收到所述通讯消息之前,所述HWC中存储的颜色通道的强度值。
进一步的,在本申请实施例公开的电子设备中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备播放音频时,所述处理器获取所述音频的频率和/或幅度。
所述处理器根据音频的频率与第一颜色通道的对应关系,调整所述HWC中存储的第一颜色通道的强度值,和/或,所述电子设备根据音频的幅度与第二颜色通道的对应关系,调整所述HWC存储的第二颜色通道的强度值。
进一步的,在本申请实施例公开的电子设备中,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
当所述第一应用模式指示所述电子设备进行拍照操作时,所述处理器将所述HWC中存储的颜色通道的强度值调整为第一强度值。
进一步的,在本申请实施例公开的电子设备中,所述HWC包括:寄存器。
当所述第二显示区域中各个像素显示的颜色相同时,所述寄存器用于存储各个颜色通道的强度值。
当所述第二显示区域中不同区域显示的颜色不同时,所述寄存器用于存储所述不同区域对应的各个颜色通道的强度值。
具体实现中,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括指令。其中,设置在任意设备中计算机可读介质其在计算机上运行时,可实施包括图2、图3对应的实施例中的全部或部分步骤。所述计算机可读介质的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。
另外,本申请另一实施例还公开一种包含指令的计算机程序产品,当所述计算机程序 产品在电子设备上运行时,使得所述电子设备可实施包括图3对应的实施例中的全部或部分步骤。
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信息处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信息处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信息处理器核,或任何其它类似的配置来实现。
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于UE中。可选地,处理器和存储媒介也可以设置于UE中的不同的部件中。
应理解,在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
本说明书的各个部分均采用递进的方式进行描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点介绍的都是与其他实施例不同之处。尤其,对于装置和系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例部分的说明即可。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通 用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。
以上所述的本发明实施方式并不构成对本发明保护范围的限定。

Claims (14)

  1. 一种电子设备显示方法,其特征在于,所述电子设备的显示屏包括第一显示区域和第二显示区域,包括:
    电子设备确定第一应用模式;
    所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值;
    所述电子设备根据所述HWC,确定所述第一显示区域对应的各个第一图层;
    所述电子设备通过所述HWC,叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层,在叠加过程中,所述底色图层位于所述各个第一图层的下层,所述底色图层为所述第二显示区域对应的图层;
    所述电子设备通过所述显示屏显示叠加后的图像。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述电子设备根据各个颜色通道对应的变化量和调整间隔,调整所述HWC中存储的颜色通道的强度值;
    其中,每次调整之后的颜色通道的强度值与调整之前的颜色通道的强度值之间的差值为所述变化量。
  3. 根据权利要求1所述的方法,其特征在于,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备接收到通讯消息,并且所述通讯消息未被查看时,所述电子设备确定调整周期,其中,所述调整周期包括至少两个时间段;
    所述电子设备根据每个时间段对应的颜色通道的强度值,周期性的调整所述HWC中存储的颜色通道的强度值;
    当所述第一应用模式指示所述通讯消息被查看时,所述电子设备将所述HWC中存储的颜色通道的强度值调整为初始值,所述初始值为所述电子设备在接收到所述通讯消息之前,所述HWC中存储的颜色通道的强度值。
  4. 根据权利要求1所述的方法,其特征在于,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备播放音频时,所述电子设备获取所述音频的频率和/或幅度;
    所述电子设备根据音频的频率与第一颜色通道的对应关系,调整所述HWC中存储的第一颜色通道的强度值,和/或,所述电子设备根据音频的幅度与第二颜色通道的对应关系,调整所述HWC存储的第二颜色通道的强度值。
  5. 根据权利要求1所述的方法,其特征在于,所述电子设备根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备进行拍照操作时,将所述HWC中存储的颜色通道的强度值调整为第一强度值。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,
    所述HWC包括:寄存器;
    当所述第二显示区域中各个像素显示的颜色相同时,所述寄存器用于存储各个颜色通道的强度值;
    当所述第二显示区域中不同区域显示的颜色不同时,所述寄存器用于存储所述不同区域对应的各个颜色通道的强度值。
  7. 一种电子设备,其特征在于,包括:处理器、硬件合成器HWC和显示屏;
    其中,所述显示屏包括第一显示区域和第二显示区域;
    所述处理器用于确定第一应用模式,并根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值;
    所述HWC用于确定所述第一显示区域对应的各个第一图层,并叠加调整后的颜色通道的强度值对应的底色图层以及所述各个第一图层,在叠加过程中,所述底色图层位于所述各个第一图层的下层,所述底色图层为所述第二显示区域对应的图层;
    所述显示屏用于显示叠加后的图像。
  8. 根据权利要求7所述的电子设备,其特征在于,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备的电量大于第一阈值时,所述处理器根据各个颜色通道对应的变化量和调整间隔,调整所述HWC中存储的颜色通道的强度值;
    其中,每次调整之后的颜色通道的强度值与调整之前的颜色通道的强度值之间的差值为所述变化量。
  9. 根据权利要求7所述的电子设备,其特征在于,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备接收到通讯消息,并且所述通讯消息未被查看时,所述处理器确定调整周期,其中,所述调整周期包括至少两个时间段;
    所述处理器根据每个时间段对应的颜色通道的强度值,周期性的调整所述HWC中存储的颜色通道的强度值;
    当所述第一应用模式指示所述通讯消息被查看时,所述处理器将所述HWC中存储的颜色通道的强度值调整为初始值,所述初始值为所述电子设备在接收到所述通讯消息之前,所述HWC中存储的颜色通道的强度值。
  10. 根据权利要求7所述的电子设备,其特征在于,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备播放音频时,所述处理器获取所述音频的频率和/或幅度;
    所述处理器根据音频的频率与第一颜色通道的对应关系,调整所述HWC中存储的第一颜色通道的强度值,和/或,所述电子设备根据音频的幅度与第二颜色通道的对应关系,调整所述HWC存储的第二颜色通道的强度值。
  11. 根据权利要求7所述的电子设备,其特征在于,所述处理器根据所述第一应用模式,调整设置在所述电子设备的硬件合成器HWC中存储的颜色通道的强度值,包括:
    当所述第一应用模式指示所述电子设备进行拍照操作时,所述处理器将所述HWC中存储的颜色通道的强度值调整为第一强度值。
  12. 根据权利要求7至11任一项所述的电子设备,其特征在于,
    所述HWC包括:寄存器;
    当所述第二显示区域中各个像素显示的颜色相同时,所述寄存器用于存储各个颜色通道的强度值;
    当所述第二显示区域中不同区域显示的颜色不同时,所述寄存器用于存储所述不同区域对应的各个颜色通道的强度值。
  13. 一种计算机可读存储介质,其特征在于,
    所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得所述计算机执行如权利要求1-6任一项所述的方法。
  14. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1-6中任一项所述的方法。
PCT/CN2020/115860 2019-09-18 2020-09-17 一种电子设备显示方法及电子设备 WO2021052408A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20866818.6A EP4024194A4 (en) 2019-09-18 2020-09-17 ELECTRONIC DEVICE DISPLAY METHOD AND ELECTRONIC DEVICE
US17/760,672 US11978384B2 (en) 2019-09-18 2020-09-17 Display method for electronic device and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910883068.1 2019-09-18
CN201910883068.1A CN112527220B (zh) 2019-09-18 2019-09-18 一种电子设备显示方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021052408A1 true WO2021052408A1 (zh) 2021-03-25

Family

ID=74883390

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115860 WO2021052408A1 (zh) 2019-09-18 2020-09-17 一种电子设备显示方法及电子设备

Country Status (4)

Country Link
US (1) US11978384B2 (zh)
EP (1) EP4024194A4 (zh)
CN (1) CN112527220B (zh)
WO (1) WO2021052408A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625983B (zh) * 2021-08-10 2024-08-27 Oppo广东移动通信有限公司 图像显示方法、装置、计算机设备及存储介质
CN113986162B (zh) * 2021-09-22 2022-11-11 荣耀终端有限公司 图层合成方法、设备及计算机可读存储介质
CN115915543B (zh) * 2022-11-25 2024-08-30 深圳爱图仕创新科技股份有限公司 一种智能灯具的光效实现方法、装置、设备和介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373363A (zh) * 2015-12-14 2016-03-02 魅族科技(中国)有限公司 一种显示方法和显示装置
US20160155427A1 (en) * 2014-11-27 2016-06-02 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device for displaying graphical user interface and method thereof
US20170124963A1 (en) * 2015-11-04 2017-05-04 Acer Incorporated Display adjustment method and electronic device thereof
CN109542376A (zh) * 2018-11-06 2019-03-29 西安易朴通讯技术有限公司 屏幕的显示调节方法、装置和介质
CN110187858A (zh) * 2016-09-28 2019-08-30 华为技术有限公司 图像显示方法及系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9524700B2 (en) * 2009-05-14 2016-12-20 Pure Depth Limited Method and system for displaying images of various formats on a single display
CN103425452A (zh) * 2013-08-06 2013-12-04 广东欧珀移动通信有限公司 一种用于移动终端的多图层叠加显示方法及其装置
US20160025977A1 (en) * 2014-07-22 2016-01-28 Osterhout Group, Inc. External user interface for head worn computing
US10453402B2 (en) * 2015-03-26 2019-10-22 Motorola Mobility Llc Method and apparatus for content adaptive backlight control
TWI566145B (zh) * 2015-09-02 2017-01-11 宏碁股份有限公司 觸控感測系統與觸控感測方法
US11003236B2 (en) * 2016-10-20 2021-05-11 Hewlett-Packard Development Company, L.P. Changing displayed colors to save power
US20180122038A1 (en) * 2016-10-28 2018-05-03 Qualcomm Incorporated Multi-layer fetch during composition
US10257487B1 (en) * 2018-01-16 2019-04-09 Qualcomm Incorporated Power efficient video playback based on display hardware feedback
US20190221176A1 (en) * 2018-01-16 2019-07-18 Pure Depth, Inc. Passive rgbw panel for multi-layer display
CN109165013A (zh) * 2018-07-04 2019-01-08 惠州市德赛西威汽车电子股份有限公司 应用程序中多图层叠加显示方法、装置、存储介质及终端
CN109871192B (zh) * 2019-03-04 2021-12-31 京东方科技集团股份有限公司 一种显示方法、装置、电子设备及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160155427A1 (en) * 2014-11-27 2016-06-02 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device for displaying graphical user interface and method thereof
US20170124963A1 (en) * 2015-11-04 2017-05-04 Acer Incorporated Display adjustment method and electronic device thereof
CN105373363A (zh) * 2015-12-14 2016-03-02 魅族科技(中国)有限公司 一种显示方法和显示装置
CN110187858A (zh) * 2016-09-28 2019-08-30 华为技术有限公司 图像显示方法及系统
CN109542376A (zh) * 2018-11-06 2019-03-29 西安易朴通讯技术有限公司 屏幕的显示调节方法、装置和介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4024194A4 *

Also Published As

Publication number Publication date
US20220392394A1 (en) 2022-12-08
EP4024194A4 (en) 2022-11-23
CN112527220B (zh) 2022-08-26
CN112527220A (zh) 2021-03-19
US11978384B2 (en) 2024-05-07
EP4024194A1 (en) 2022-07-06

Similar Documents

Publication Publication Date Title
WO2021052214A1 (zh) 一种手势交互方法、装置及终端设备
WO2020244623A1 (zh) 一种空鼠模式实现方法及相关设备
US12095941B2 (en) Message notification method and electronic device
WO2020062159A1 (zh) 无线充电方法及电子设备
WO2021083128A1 (zh) 一种声音处理方法及其装置
WO2022100610A1 (zh) 投屏方法、装置、电子设备及计算机可读存储介质
WO2021190344A1 (zh) 多屏幕显示电子设备和电子设备的多屏幕显示方法
WO2020238890A1 (zh) 信息处理方法和设备
WO2021052408A1 (zh) 一种电子设备显示方法及电子设备
WO2021036898A1 (zh) 折叠屏设备中应用打开方法及相关装置
WO2020056684A1 (zh) 通过转发模式连接的多tws耳机实现自动翻译的方法及装置
WO2021052407A1 (zh) 一种电子设备操控方法及电子设备
WO2021031865A1 (zh) 通话方法及装置
EP4175302A1 (en) Multi-device collaboration method, electronic device, and multi-device collaboration system
WO2022042770A1 (zh) 控制通信服务状态的方法、终端设备和可读存储介质
US11889386B2 (en) Device searching method and electronic device
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
CN114115770A (zh) 显示控制的方法及相关装置
CN113593567B (zh) 视频声音转文本的方法及相关设备
WO2021052388A1 (zh) 一种视频通信方法及视频通信装置
WO2021037034A1 (zh) 一种应用状态切换方法及终端设备
WO2020078267A1 (zh) 在线翻译过程中的语音数据处理方法及装置
CN114006698B (zh) token刷新方法、装置、电子设备及可读存储介质
WO2022022401A1 (zh) 一种usb接口进水检测的方法及电子设备
CN110737916A (zh) 通信终端及处理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20866818

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020866818

Country of ref document: EP

Effective date: 20220329