WO2022022406A1 - 一种灭屏显示的方法和电子设备 - Google Patents

一种灭屏显示的方法和电子设备 Download PDF

Info

Publication number
WO2022022406A1
WO2022022406A1 PCT/CN2021/108074 CN2021108074W WO2022022406A1 WO 2022022406 A1 WO2022022406 A1 WO 2022022406A1 CN 2021108074 W CN2021108074 W CN 2021108074W WO 2022022406 A1 WO2022022406 A1 WO 2022022406A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
screen
layout format
text content
layout
Prior art date
Application number
PCT/CN2021/108074
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 EP21849500.0A priority Critical patent/EP4184320A4/en
Priority to US18/006,839 priority patent/US11934766B2/en
Publication of WO2022022406A1 publication Critical patent/WO2022022406A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • H04M1/724631User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device by limiting the access to the user interface, e.g. locking a touch-screen or a keypad
    • H04M1/724634With partially locked states, e.g. when some telephonic functional locked states or applications remain accessible in the locked states

Definitions

  • the present application relates to the field of terminals, and more particularly, to a method and electronic device for off-screen display.
  • the always on display (AOD) display on the mobile terminal device to display the user's personalized signature has become a major trend in the industry, aiming to improve the personalization and playability of the mobile phone.
  • the off-screen display interface of a mobile terminal generally displays information such as date, time, and battery level, and the style of these information on the off-screen display interface is always the same, which is relatively simple.
  • the present application provides a method and electronic device for off-screen display, which can automatically layout text content on the off-screen display interface, which helps to improve the user's look and feel on the off-screen display interface.
  • a method for off-screen display is provided, the method is applied to an electronic device, and the method includes: the electronic device acquires text content; the electronic device performs word segmentation processing on the text content to obtain a plurality of segmentations; the The electronic device determines at least one layout format of the text content according to the number of words of the text content, the number of the multiple word segmentations and a preset mapping relationship, wherein the preset mapping relationship is the mapping of the number of words, the number of word segmentations and the layout format relationship, the at least one layout format includes a first layout format; the electronic device detects a user's screen-locking operation; the electronic device responds to the screen-locking operation and displays the text on the first screen-off display interface according to the first layout format content.
  • the electronic device may determine at least one layout format by using the information and mapping relationship of the text content, and select the first layout format in the at least one layout format to lay out the text content, so that the user does not need to select the layout format by himself.
  • the device can automatically implement the layout of the text content, which helps improve the user's look and feel on the off-screen display interface.
  • the method further includes: the electronic device enters a non-screen-off display interface from a first off-screen display interface, and enters a second off-screen display interface from the non-screen off display interface When displaying the interface, the electronic device displays the text content on the second off-screen display interface according to a second layout format, and the at least one layout format includes the second layout format; wherein the first layout format and the second layout format The format is different.
  • the electronic device may determine multiple layout formats according to the number of words, the number of word segmentations, and the mapping relationship.
  • the electronic device can display a different layout format from the last time it entered the off-screen display interface, so that the same text-rich visual effect can be achieved without user customization, thereby helping to improve user experience.
  • the font information (for example, font color, font size, etc.) of the text content displayed according to the second layout format and the text displayed according to the first layout format
  • the font information of the content is different.
  • the first layout format includes a first part and a second part, and the plurality of word segmentations are located in the first part and the second part, wherein when the first layout format is When one part and the second part are distributed up and down, the widths of the first part and the second part are equal; or, when the first part and the second part are distributed left and right, the heights of the first part and the second part are equal .
  • the widths of the first part and the second part are equal; when the text content is in a left-right layout, the heights of the first part and the second part are equal. This contributes to a rich visual effect, which in turn helps to enhance the user's experience.
  • the number of words contained in the first part is greater than the number of words contained in the second part, and the font weight value of the first part is smaller than the font weight value of the second part.
  • the font thickness value in the first part with more characters is smaller than the font thickness value in the second part with fewer characters, which contributes to rich visual effects and improves user experience.
  • the first layout format includes a first part, a second part and a third part, and the plurality of word segments are located in the first part, the second part and the third part Among the three parts, when the first part and the second part are distributed up and down, and both the first part and the second part are located on the left or right side of the third part, the first part and the second part are The width is equal and the sum of the height of the first part and the second part is equal to the height of the third part; or, when the first part and the second part are distributed left and right, and the first part and the second part are located in When above or below the third part, the heights of the first part and the second part are equal and the sum of the widths of the first part and the second part is equal to the width of the third part.
  • the size of the part can be set according to different three-segment layouts, which contributes to rich visual effects and thus helps to improve user experience.
  • the number of words contained in the third part is greater than the number of words contained in the first part, and the font weight value of the third part is smaller than that of the first part.
  • the font thickness value in the third part with more characters is smaller than the font thickness value in the first part with fewer characters, which contributes to rich visual effects and improves user experience.
  • the ratio of the screen width occupied by the text content laid out according to the first layout format to the screen width of the electronic device is a preset value.
  • the screen width occupied by the text content laid out according to the first layout format is in a preset ratio to the screen width of the electronic device, which contributes to rich visual effects and thus helps to improve user experience.
  • an apparatus for off-screen display has the functions of the electronic device in the above-mentioned first aspect and possible implementation manners of the above-mentioned first aspect.
  • the functions can be implemented by hardware, or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above functions.
  • an electronic device comprising: one or more processors; a memory; and one or more computer programs. Wherein, one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. When the instruction is executed by the electronic device, the electronic device is caused to execute the method for off-screen display in any possible implementation of the first aspect.
  • a system-on-chip is provided, the system-on-chip is located in an electronic device, the system-on-chip includes a system-on-chip SOC, and the SOC is configured to perform the off-screen display in any possible implementation of the first aspect above. method.
  • a computer storage medium including computer instructions, when the computer instructions are executed on an electronic device, the electronic device can perform the method for off-screen display in any possible implementation of the above-mentioned first aspect.
  • a sixth aspect provides a computer program product that, when the computer program product runs on an electronic device, enables the electronic device to perform the method for off-screen display in any possible implementation of the first aspect above.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a block diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • FIG. 3 is a set of GUIs provided by an embodiment of the present application.
  • FIG. 4 is another set of GUIs provided by the embodiments of the present application.
  • FIG. 5 is another GUI provided by an embodiment of the present application.
  • FIG. 6 is another set of GUIs provided by the embodiments of the present application.
  • FIG. 7 is another set of GUIs provided by the embodiments of the present application.
  • FIG. 8 is another set of GUIs provided by the embodiments of the present application.
  • FIG. 9 is a schematic flowchart of a method for off-screen display provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a layout format of text content provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a ratio of a layout width to a screen width of text content provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a layout format of text content provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • the methods provided in the embodiments of the present application can be applied to mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (ultra mobile personal computers) -mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and other electronic devices, the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
  • AR augmented reality
  • VR virtual reality
  • notebook computers notebook computers
  • netbook personal digital assistant
  • PDA personal digital assistant
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • 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 light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may 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, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • 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 that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain 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 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can 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 may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may 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 the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . 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 for connecting 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 external memory, 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, 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 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through 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 may be provided in the same device as at least part of the modules of the processor 110 .
  • 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.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may 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 the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • 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 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 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 100 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 (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 (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto 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 transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the 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, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing 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, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics 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 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses 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 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • 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 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may 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 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media library
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • Off-screen display (always on display, AOD): Off-screen display means that when the electronic device is in the locked screen state, some areas of the touch screen remain on for a long time to display information such as time and notifications. After the screen is off, the electronic device utilizes the self-luminous feature of the display screen 194 to light up part of the display screen 194 to display information such as clock, date, notification, etc., so that the user can view related information when the screen is off.
  • FIG. 3 is a set of graphical user interfaces (graphical user interface, GUI) provided by the embodiments of the present application.
  • the GUI is the desktop of the mobile phone.
  • the GUI includes a plurality of application icons, and a setting icon 301 is included in the plurality of application icons.
  • the GUI as shown in (b) of FIG. 3 is displayed.
  • the three virtual keys located at the bottom of the mobile phone screen may not be displayed; or, they may be displayed on the desktop after the user performs corresponding settings.
  • the GUI is the setting interface of the mobile phone.
  • the GUI includes multiple functional options including wireless and network, device connection, desktop and wallpaper, sound, notification center, applications and notifications, and the like.
  • the mobile phone detects the operation of clicking on the desktop and wallpaper 302 with the user, the GUI shown in (c) of FIG. 3 is displayed.
  • the GUI is a function setting interface of the desktop and wallpaper.
  • the setting interface includes setting options such as off-screen display, magazine lock screen, theme, wallpaper, desktop settings, and desktop style.
  • the GUI is a setting interface for off-screen display.
  • the setting interface includes a preview interface displayed on off-screen, a switch control displayed on off-screen, and a control 304 corresponding to an artistic signature.
  • information such as time, date, text message, and incoming call reminder can be displayed.
  • the mobile phone After the mobile phone detects that the user clicks on the control 304, the mobile phone can display the GUI shown in (e) of FIG. 3 .
  • the mobile phone when the mobile phone detects that the user clicks on the control 304 , the mobile phone can pop up a window 305 .
  • the mobile phone can prompt the user to input an artistic signature in the window 305.
  • the mobile phone detects that the user has inputted "MAKE IT POSSIBLE" and clicks the operation of the OK control, the mobile phone can display the GUI as shown in (f) of FIG. 3 .
  • the GUI is another setting interface of the off-screen display.
  • the setting interface includes another preview interface that is displayed with the screen off.
  • the preview interface includes an off-screen display interface after adding an artistic signature.
  • the artistic signature "MAKE IT POSSIBLE" is displayed below the time and date information according to the layout format shown in the figure.
  • the artistic signature "MAKE IT POSSIBLE" may be displayed on the off-screen display interface, without displaying information such as time and date.
  • the time period for displaying the artistic signature can also be set.
  • the user can set the artistic signature to be displayed on the off-screen display interface during the time period from 8:00 am to 8:00 pm.
  • the GUI is an off-screen display interface of the mobile phone after the artistic signature is set.
  • Information such as date, time, and artistic signature can be displayed on the off-screen display interface.
  • the GUI is another off-screen display interface of the mobile phone.
  • the off-screen display interface also includes information such as date, time, and artistic signature.
  • the layout format of the artistic signature shown in (g) in FIG. 3 is different from the layout format of the artistic signature shown in (h) in FIG. 3 .
  • the mobile phone can automatically switch to a layout format of an artistic signature. In this way, the user's aesthetic fatigue can be avoided, and the user can see a new layout format in each off-screen display interface, which helps to improve the user experience.
  • the mobile phone enters the non-locking state from the off-screen display state, and then enters the off-screen display state again
  • the mobile phone enters the non-screen-locked state after passing password verification, face recognition or fingerprint recognition from the off-screen display interface shown in (g) of FIG. 3 . After that, it enters the off-screen display state from the non-lock screen state.
  • the mobile phone is in the off-screen display state as shown in (g) in Figure 3, and after detecting the user's operation of clicking the power button, it enters the non-display mode. Lock screen state. After that, it enters the off-screen display state from the non-lock screen state.
  • an unlocking method such as password verification, face recognition or fingerprint recognition
  • the mobile phone detects that the user clicks the power button, and then enters the bright-screen state (in the bright-screen state, the mobile phone may be in a non-locked screen state, or the mobile phone can also be in the lock screen state). After that, the mobile phone enters the off-screen display state from the bright-screen display state again.
  • the off-screen display state in the embodiments of the present application is relative to the state of the display screen.
  • the on-screen display state is relative to the off-screen display state.
  • the electronic device when the electronic device is in the off-screen display state, when the electronic device detects the operation of the user clicking the power button again, the electronic device enters the bright-screen display state.
  • the lock screen state in the embodiment of the present application may be a situation in which the electronic device is locked, and the lock situation includes but is not limited to: a user sets a password, fingerprint recognition, or face recognition, and the like.
  • the user can click the power button after completing the operation on the desktop of the electronic device, and the electronic device detects that the user clicks the power button and enters the locked screen state; or, the electronic device If no user operation is detected for a period of time, it will automatically enter the lock screen state.
  • the electronic device is in a locked screen state, its screen can be off or on.
  • the electronic device can light up and prompt the user to enter a password.
  • the electronic device is still in a locked screen state, but its display screen is lit; exemplary, another user enters a password.
  • the electronic device is still in the locked screen state at this time, but its display screen is still lit.
  • the non-locked screen state is relative to the locked screen state.
  • the user can unlock the electronic device by entering a password, fingerprint recognition or face recognition. After unlocking, the electronic device enters the screen.
  • Non-lock screen state is relative to the locked screen state.
  • non-screen-locking state and the bright-screen state in the embodiments of the present application may also be referred to as non-screen-off display states.
  • FIG. 4 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is a setting interface for off-screen display.
  • the setting interface includes a preview interface for off-screen display, a switch control for off-screen display, and controls corresponding to artistic signatures.
  • the mobile phone After the mobile phone detects that the user clicks on the control corresponding to the artistic signature, the mobile phone can display the GUI shown in (b) of FIG. 4 .
  • the mobile phone when the mobile phone detects that the user clicks on the control corresponding to the artistic signature, the mobile phone can pop up a window 401 .
  • the window 401 may include functions such as style selection of artistic signatures, input of text, and color selection of artistic signatures.
  • the mobile phone When the mobile phone detects that the user has entered an artistic signature (for example, "YOU CAN DO ANYTHING IF YOU REALLY WANT TO") in the text input box in the window 401, selects the style and color of the artistic signature, and clicks the operation of confirming the control,
  • the mobile phone can display a GUI as shown in (c) of FIG. 4 .
  • the window 401 may further include more functions, for example, options such as font, font size, and the like.
  • the function options in the window 401 shown in (b) of FIG. 4 are only schematic, and the mobile phone can also only provide the function of inputting the text information of the artistic signature in the window 401, so that the mobile phone can automatically switch the artistic
  • the layout style of the signature allows you to see artistic signatures with different layout styles every time you enter the off-screen display interface.
  • the GUI is another setting interface displayed in an off-screen display.
  • the setting interface includes another preview interface with off-screen display.
  • the preview interface includes an off-screen display interface after adding an artistic signature.
  • the artistic signature "YOU CAN DO ANYTHING IF YOU REALLY WANT TO” is displayed below the time and date information according to the layout format shown in the figure.
  • the GUI is an off-screen display interface of the mobile phone after the artistic signature is set.
  • Information such as date, time, and artistic signature can be displayed on the off-screen display interface.
  • the artistic signature is divided into a three-stage layout format, "YOU” is on the left, "CAN DO ANYTHING IF YOU” is on the upper right, and "REALLY WANT TO” is on the lower right.
  • the overall artistic signature is Below the information such as time, date, etc.
  • the mobile phone can change an artistic signature style (or layout format).
  • (e) to (j) in FIG. 4 are that each time the mobile phone enters the off-screen display interface, the mobile phone can display different layout styles.
  • the artistic signature is divided into a three-segment layout format, with "YOU” on the left, “CAN DO ANYTHING IF YOU REALLY” on the upper right, and "WANT TO ” on the bottom right.
  • the artistic signature is divided into a three-stage layout format, with "IF” on the right, "YOU CAN DO ANYTHING YOU REALLY” on the upper left, and "WANT TO ” on the lower left.
  • the artistic signature is divided into a three-stage layout format, with "YOU” on the right, “YOU CAN DO ANYTHING IF” on the upper left, and “REALLY WANT TO” ” on the lower left.
  • the artistic signature is divided into a three-segment layout format, with "YOU CAN DO ANYTHING" at the top, "IF” at the bottom left, and "YOU REALLY WANT TO” Below right.
  • the artistic signature is divided into a three-segment layout format, "YOU CAN DO ANYTHING" is on the upper left, "IF” is on the upper right, and "YOU REALLY WANT TO” located below.
  • the mobile phone when the mobile phone detects that the user has clicked a certain style in the window 401 shown in (b) of FIG. Artistic signature.
  • a certain style in the window 401 shown in (b) of FIG. Artistic signature Exemplarily, every time the mobile phone enters the off-screen display interface, the style shown in (d) in FIG. 4 is displayed.
  • the cell phone may offer a choice of styles of artistic signatures.
  • the mobile phone in the window 401 shown in (b) of FIG. 4 , the mobile phone can support the user to select multiple styles. After the mobile phone detects that the user has clicked on multiple styles of artistic signatures, the mobile phone can switch among the multiple styles each time the mobile phone enters the off-screen display interface (for example, the mobile phone can switch among the multiple styles at random).
  • the system language set by the user in the electronic device is Chinese
  • the user can set the AOD in other languages such as English, Russian, etc.; or, if the system language is English, then the user can also set Chinese , Russian and other languages AOD.
  • the mobile phone may prompt the user whether the text displayed by the AOD needs to be switched accordingly.
  • FIG. 6 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is a setting interface where the GUI is off-screen display.
  • the setting interface includes a preview interface for off-screen display, a switch control for off-screen display, and controls corresponding to artistic signatures.
  • the mobile phone detects that the user clicks on the corresponding control of the artistic signature, the mobile phone can display the GUI shown in (b) in Figure 6 .
  • the mobile phone can also automatically adjust the layout format of information such as time and date. For example, in (a) of Figure 4, the time and date information is aligned in the center; in (a) of Figure 6, the time and date information are in the same row, and the mobile phone can also display the remaining battery information on the off-screen display interface.
  • the mobile phone when the mobile phone detects that the user clicks the control corresponding to the artistic signature, the mobile phone can pop up a window 601 .
  • the window 601 may include functions such as style selection of artistic signatures, input of text, and color selection of artistic signatures.
  • the mobile phone When the mobile phone detects that the user has entered an artistic signature in the text input box in the window 601 (for example, "no hardship can stop our progress"), selects the style and color of the artistic signature, and clicks the operation of the OK control , the mobile phone can display the GUI as shown in (c) in Figure 6 .
  • the GUI is another setting interface displayed with the screen off.
  • the setting interface includes another preview interface with off-screen display.
  • the preview interface includes an off-screen display interface after adding an artistic signature. Among them, the artistic signature "No hardship can stop our progress" is displayed above the information such as time and date according to the layout format shown in the figure.
  • the mobile phone can display the GUI as shown in (d) of FIG. 6 .
  • the mobile phone may first perform word segmentation judgment on the artistic signature. For example, for “no hardship can stop our progress", the mobile phone can split the text into “any”, “hardship”, “hardship”, “all”, “can't”, “block “, “we”, “forward”, "of” and “pace”. After the mobile phone detects that the user has selected a certain layout format, the mobile phone can arrange the segmented words according to the layout format. For a specific distribution manner, reference may be made to the description of the internal implementation process below, which will not be repeated here.
  • the GUI is an off-screen display interface of the mobile phone after the artistic signature is set.
  • Information such as date, time, and artistic signature can be displayed on the off-screen display interface.
  • the artistic signature is divided into a three-stage layout format, "any” is on the left, “hardships” is on the upper right, and “nothing can stop us from moving forward” is on the lower right.
  • the overall artistic signature Below the information such as time, date, etc.
  • the mobile phone can change an artistic signature style (or layout format).
  • (e) to (f) in FIG. 6 are that each time the mobile phone enters the off-screen display interface, the mobile phone can display different layout styles.
  • the artistic signature is divided into a three-segment layout format, with "any difficulty” at the top left, “nothing can stop us from moving forward” at the bottom left,” Difficulty" is on the right.
  • FIG. 7 shows another set of GUIs provided by the embodiments of the present application.
  • the GUI is the desktop of the mobile phone.
  • the GUI includes a plurality of application icons, including an application store icon 701 among the plurality of application icons.
  • the mobile phone detects that the user clicks the setting icon 701 on the desktop, it can start to open the application store App, and display the GUI shown in (b) of FIG. 7 .
  • the GUI is the display interface of the application mall.
  • the display interface includes a card 702, wherein the dynamic icon 702 can be used to present a dynamic title, and the dynamic title can be an introduction to an advertisement or an App.
  • the dynamic title is "MAKE IT POSSIBLE”.
  • the dynamic title can be divided into three-section layout format, "MAKE” is on the left, "IT” is on the upper right, and "POSSIBLE” is on the lower right.
  • cards can be automatically switched on the display interface of the application mall according to a preset duration (for example, 5 seconds).
  • the GUI is another display interface of the application mall.
  • the dynamic title can be divided into a two-segment layout format, with “MAKE IT” at the top and “POSSIBLE” at the bottom.
  • the mobile phone can acquire the layout format of the dynamic title displayed on the card 702 from the server in real time, so that the mobile phone can display the dynamic title on the card according to the layout format given by the server;
  • the layout format of the dynamic title can also be obtained after the layout of the mobile phone.
  • GUI shown in FIG. 7 above is described by taking an application mall as an example, and the embodiment of the present application is not limited to this. It can also be displayed in some applications that need to display similar information. For example, the page of reading on WeChat, etc.
  • FIG. 8 shows another set of GUIs provided by the embodiments of the present application.
  • the mobile phone when the mobile phone detects that the user clicks on the control corresponding to the artistic signature, the mobile phone can pop up a window 801 .
  • the window 801 can include the style selection of the art signature, the input text (for example, "I always yearn for the unbridled and broad free sky outside the mountain gate outside the mountain gate and the mountains and rivers in autumn"), art Signature color selection and other features.
  • the GUI is a setting interface displayed in an off-screen display.
  • the setting interface includes the preview interface of off-screen display.
  • the preview interface includes an off-screen display interface after adding an artistic signature.
  • the artistic signature "Whether it's hot summer or cold winter, I yearn for the unbridled and broad free sky under the mountain outside the mountain gate, the mountains and rivers are already autumn" is displayed above the information such as time and date according to the layout format shown in the figure. .
  • the mobile phone can display the GUI as shown in (c) of FIG. 8 .
  • the GUI is an off-screen display interface of the mobile phone after the artistic signature is set.
  • Information such as date, time, and artistic signature can be displayed on the off-screen display interface.
  • the broad and free sky beyond the mountain gate is divided into a four-segment layout format, in which the positions of “outside the mountain gate” and “sky” remain unchanged, and “the broad and free sky at the foot of the mountain” is not changed.
  • “free” is divided into two ends, “the broad freedom without beams under the mountain” is on the left, and “the” is on the right.
  • the font colors of "Sky” and “Sudden Night” are black and a white background is added, and the font colors of other characters are all white.
  • the artistic signature is located above the time, date and other information.
  • the mobile phone can change an artistic signature style (or layout format).
  • (d) to (f) in FIG. 8 are that each time the mobile phone enters the off-screen display interface, the mobile phone can display different layout styles.
  • the positional relationship between the artistic signature and the time and date can be changed.
  • the artistic signature can be changed from the top to the bottom of the time and date.
  • the font direction of the artistic signature can be changed.
  • the artistic signature may be transformed into oblique display.
  • the font format for example, “Song Ti”, “Kai Ti”, etc.
  • font color, font size, etc. of the artistic signature can be changed.
  • the electronic device can dynamically and automatically layout the text in combination with word segmentation technology and layout rules, and can achieve rich visual effects of the same text without user customization, thereby helping to improve user experience.
  • FIG. 9 shows a schematic flowchart of a method 900 for off-screen display in this embodiment of the present application.
  • the method 900 can be performed by an electronic device, and the method 900 includes:
  • the electronic device acquires the text content input by the user.
  • the electronic device acquires the text content input by the user as "MAKE IT POSSIBLE".
  • the electronic device acquires the text content input by the user as "YOU CAN DO ANYTHING IF YOU REALLY WANT TO".
  • the electronic device obtains the text content input by the user as "No hardship can stop our progress".
  • the manner in which the electronic device acquires the text content input by the user is also input by the user, or may be preset by the system.
  • the electronic device performs word segmentation processing on the text content to obtain multiple word segmentations.
  • the electronic device performs word segmentation on the text content to obtain three word segmentations "MAKE”, "IT” and "POSSIBLE”.
  • the electronic device performs word segmentation on the text content to obtain 10 word segmentations, namely "any”, “difficulty”, “hardship”, “ All, Can't, Block, We, Forward, Of, and Pace.
  • NLP natural language processing
  • Latin-based languages such as English
  • words can be extracted simply and accurately in general because there are spaces between words as word margins.
  • Chinese and Japanese characters are closely connected with each other, and there is no obvious word boundary, so it is difficult to extract word segmentation.
  • text content can be segmented based on some methods.
  • the dictionary-based method is the method of string matching, which matches a text fragment of a string of text with an existing dictionary. If it matches, the text fragment can be used as a word segmentation; Matching method, reverse maximum matching method or bidirectional maximum matching method for word segmentation.
  • the word segmentation method for the text content may refer to the word segmentation method in the prior art, which is not repeated here for brevity.
  • the electronic device determines at least one layout format of the text content according to the number of words, the number of word segmentations and the preset mapping relationship of the text content, and the at least one layout format includes a first layout format.
  • the electronic device may store the mapping relationship between the number of words, the number of word segmentations, and the layout style of the text content.
  • Table 1 shows a mapping relationship between the number of words, the number of word segmentations and the layout style of the text content.
  • word segmentation combinations and layout formats shown in Table 1 are only illustrative, and other word segmentation combinations and layout formats are also possible, which are not limited in this embodiment of the present application.
  • the manner of determining the layout format in the embodiment of the present application may be obtained by the electronic device by looking up a table through a mapping relationship, or may be directly obtained by calculating the number of words and the number of word segmentations.
  • the electronic device can obtain multiple layout formats by looking up the table or by the number of words and word segmentation, and then randomly display it each time it enters the off-screen display interface, or the electronic device can also determine the layout in real time each time it enters the off-screen display interface. format, and then display according to the results determined in real time.
  • the layout can be performed in a 2-segment layout format.
  • the two-segment division method includes but is not limited to the following situations:
  • the layout can be arranged in a three-paragraph layout format.
  • the three-segment division method includes but is not limited to the following situations:
  • the participle "hardship” can be arranged on the right side, and the participles “any” and “hardship” can be arranged on the upper left side. , lay out the participles “du”, “can't”, “block”, “we”, “forward”, “of” and “pace” at the bottom left.
  • the electronic device after the electronic device is determined to follow the three-segment layout format and determines a specific division method (for example, according to any one of (1), (2), (3), or (4)) , the electronic device can randomly fill in these participles.
  • step can be laid out on the left side, "any”, “difficulty” and “difficulty” can be laid out on the upper right side, "all”, “can't”, “block”, The “We”, “Forward” and “The” layouts are below the right.
  • the electronic device detects a screen lock operation.
  • the screen lock operation may be an operation of detecting that the user clicks the power button when the electronic device displays a non-lock screen interface.
  • the screen lock operation may also be that the electronic device may also detect that the user uses the "one-key screen lock" key function.
  • the screen-locking operation may also be that the electronic device displays a non-screen-locking interface, and no operation by the user is detected within a preset time period, then the display screen of the electronic device may automatically lock the screen.
  • the electronic device displays the text content according to the first layout format on the first screen-off display interface.
  • the electronic device enters a non-screen-off display interface from the first off-screen display interface, and enters a second off-screen display interface from the non-screen off display interface, and the electronic device is on the second off-screen display interface,
  • the text content is displayed according to a second layout format, wherein the at least one layout format includes the second layout format, and the second layout format is different from the first layout format.
  • (g) in FIG. 3 may be the first off-screen display interface
  • (h) in FIG. 3 may be the second off-screen display interface.
  • the mobile phone enters the non-off-screen display interface from the off-screen display interface shown in (g) in Figure 3, and enters the off-screen display interface as shown in (h) in Figure 3 from the non-off-screen display interface
  • the mobile phone can change the layout style of the text content "MAKE IT POSSIBLE".
  • the electronic device determines multiple layout formats in S903, then the electronic device can randomly select one layout format from the multiple layout formats, so that when performing AOD, the text content is displayed according to the layout format. After that, each time the electronic device enters the AOD, it can randomly select one layout format from multiple layout formats for display.
  • the above method 900 is described by taking an AOD scenario as an example, and the embodiment of the present application is not limited thereto.
  • the user can write a signature on the desktop, and the electronic device can display the signature as a lock screen wallpaper or desktop wallpaper after layout, or it can also be set as a part of the desktop of the electronic device.
  • the embodiments for the AOD scene in the specification are also applicable to the scene of the lock screen wallpaper or the desktop wallpaper. For example, every time the electronic device lights up the screen, the layout of the text content on the lock screen wallpaper or the desktop wallpaper is different.
  • the electronic device may also determine the height and width of each section (or, each area) in the layout format.
  • Each part in the layout format may be a rectangle, a circle, an ellipse, a triangle, etc., and the embodiment of the present application is not limited thereto. The following description takes the example that each part in the layout format is a rectangle.
  • the electronic device can place "MAKE IT" in the left rectangular box and "POSSIBLE” in the right rectangular box, respectively. , where the height of the left rectangle is a and the height of the right rectangle is b, where a is equal to b.
  • the electronic device can place "MAKE IT" in the upper rectangular box, and "POSSIBLE” in the lower rectangular box, respectively.
  • the width of the upper rectangle is c
  • the width of the lower rectangle is d, where c is equal to d.
  • the electronic device can place "YOU” in the left rectangular box, and "CAN DO ANYTHING IF YOU” in the upper right corner.
  • "REALLY WANT TO” is placed in the rectangular box on the lower right side.
  • the height a of the left rectangular frame and the height of the rectangular frame above the right are equal to the sum of the heights of the rectangular frame below the right; the width c of the rectangular frame above the right is equal to the width of the rectangular frame below the right d is equal.
  • the electronic device can place "YOU CAN DO ANYTHING" in the upper rectangular box, and "IF YOU WANT TO” in the lower left side. , "REALLY” is placed in the lower right rectangle.
  • the height a of the lower left rectangular frame is equal to the height b of the lower right rectangular frame; the sum of the width c of the upper rectangular frame and the width of the lower left rectangular frame and the width of the lower right rectangular frame d is equal.
  • each part of the layout format is a rectangular frame.
  • each part of the layout format may also be an image of other shapes, such as an ellipse.
  • ellipse Taking the two-segment format as an example, when When the two ellipses are distributed up and down, the lengths of the major axes of the two ellipses are equal; when the two ellipses are distributed left and right, the lengths of the minor axes of the two ellipses are equal.
  • the ratio of the layout width to the screen width of the text content finally generated by the electronic device is a preset value.
  • the ratio of the layout width to the screen width of the text content finally generated by the electronic device is 3:4.
  • the size or resolution of the screen width of the electronic device can be obtained, so that the width occupied by each rectangular frame can be determined according to a preset value.
  • the ratio of the layout height to the screen height of the text content finally generated by the electronic device is a preset value.
  • the electronic device determines the thickness of the font in each part (or, area) according to the number of words in each part (or, area).
  • the part with fewer words has a larger font weight value (or, the font is thicker); the part with more words has a smaller font weight value (or, the font is thinner).
  • the font thickness value in this embodiment of the present application may be represented by a number (300, 600, or 1000), wherein a larger number indicates a thicker character.
  • the font weight value of "IF” is 1000
  • YOU CAN DO ANYTHING” font has a weight value of 600
  • YOU REALLY WANT TO has a font weight value of 300.
  • the electronic device can dynamically and automatically layout the text in combination with word segmentation technology and layout rules, and can achieve rich visual effects of the same text without user customization, thereby helping to improve user experience.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

灭屏显示的方法和电子设备,该方法包括:该电子设备获取文本内容;该电子设备对该文本内容进行分词处理,得到多个分词;该电子设备根据该文本内容的字数、该多个分词的数量和预设的映射关系,确定该文本内容的至少一个布局格式,至少一个布局格式包括第一布局格式;该电子设备检测到锁屏操作;该电子设备响应于锁屏操作,在灭屏显示界面上,根据第一布局格式显示该文本内容。本方法和电子设备,可以在灭屏显示界面上对文本内容进行自动布局,有助于提升用户在灭屏显示界面上的观感。

Description

一种灭屏显示的方法和电子设备
本申请要求于2020年07月28日提交中国专利局、申请号为202010738231.8、申请名称为“一种灭屏显示的方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,并且更具体地,涉及一种灭屏显示的方法和电子设备。
背景技术
目前移动终端设备上的灭屏显示(always on display,AOD)显示用户个性化签名已经成了业界的一个主要趋势,旨在提升手机的个性化和可玩性。目前移动终端的灭屏显示界面上一般会显示日期、时间、电量等信息,且这些信息在灭屏显示界面上的风格始终是一样,比较单一。
发明内容
本申请提供一种灭屏显示的方法和电子设备,可以在灭屏显示界面上对文本内容进行自动布局,有助于提升用户在灭屏显示界面上的观感。
第一方面,提供了一种灭屏显示的方法,该方法应用于电子设备中,该方法包括:该电子设备获取文本内容;该电子设备对该文本内容进行分词处理,得到多个分词;该电子设备根据该文本内容的字数、该多个分词的数量和预设的映射关系,确定该文本内容的至少一个布局格式,其中,该预设的映射关系为字数、分词数和布局格式的映射关系,该至少一个布局格式包括第一布局格式;该电子设备检测到用户的锁屏操作;该电子设备响应于锁屏操作,在第一灭屏显示界面上,根据第一布局格式显示该文本内容。
本申请实施例中,电子设备可以文本内容的信息和映射关系来确定至少一个布局格式,并选择至少一个布局格式中的第一布局格式对文本内容进行布局,这样无需用户自己选择布局格式,电子设备可以自动实现对文本内容的布局,有助于提升用户在灭屏显示界面上的观感。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该电子设备从第一灭屏显示界面进入非灭屏显示界面,且从非灭屏显示界面进入第二灭屏显示界面时,该电子设备在第二灭屏显示界面上,根据第二布局格式显示该文本内容,该至少一个布局格式包括该第二布局格式;其中,该第一布局格式与该第二布局格式不同。
本申请实施例,电子设备可以通过字数、分词数以及映射关系确定多个布局格式。在电子设备进入灭屏显示界面时,电子设备可以显示和上一次进入灭屏显示界面时不同的布局格式,这样不需要用户自定义即可实现同一文本丰富的视觉效果,从而有助于提升用户的体验。
在一些可能的实现方式中,该电子设备进入第二灭屏显示界面时,根据第二布局格式显示的文本内容的字体信息(例如,字体颜色、字号等)与根据第一布局格式显示的文本内容的字体信息不同。
结合第一方面,在第一方面的某些实现方式中,该第一布局格式中包括第一部分和第二部分,该多个分词位于该第一部分和该第二部分中,其中,当该第一部分和该第二部分为上下分布时,该第一部分和该第二部分的宽度相等;或者,当该第一部分和该第二部分为左右分布时,该第一部分和该第二部分的高度相等。
本申请实施例中,当文本内容为上下布局时,第一部分和第二部分的宽度相等;当文本内容为左右布局时,第一部分和第二部分的高度相等。这样有助于丰富的视觉效果,从而有助于提升用户的体验。
结合第一方面,在第一方面的某些实现方式中,该第一部分包含的字数大于该第二部分包含的字数,该第一部分的字体粗细值小于该第二部分的字体粗细值。
本申请实施例中,字数较多的第一部分中的字体粗细值小于字数较少的第二部分中的字体粗细值,这样有助于丰富的视觉效果,从而有助于提升用户的体验。
结合第一方面,在第一方面的某些实现方式中,该第一布局格式中包括第一部分、第二部分和第三部分,该多个分词位于该第一部分、该第二部分和该第三部分中,其中,当该第一部分和该第二部分为上下分布,且该第一部分和该第二部分均位于该第三部分的左侧或者右侧时,该第一部分和该第二部分的宽度相等且该第一部分和该第二部分的高度之和等于该第三部分的高度;或者,当该第一部分和该第二部分为左右分布,且该第一部分和该第二部分均位于该第三部分的上方或者下方时,该第一部分和该第二部分的高度相等且该第一部分和该第二部分的宽度之和等于该第三部分的宽度。
本申请实施例中,对于三段式布局,可以根据三段式布局的不同设置部分的尺寸,这样有助于丰富的视觉效果,从而有助于提升用户的体验。
结合第一方面,在第一方面的某些实现方式中,该第三部分中包含的字数大于该第一部分中包含的字数,该第三部分的字体粗细值小于该第一部分的字体粗细值。
本申请实施例中,字数较多的第三部分中的字体粗细值小于字数较少的第一部分中的字体粗细值,这样有助于丰富的视觉效果,从而有助于提升用户的体验。
结合第一方面,在第一方面的某些实现方式中,根据该第一布局格式布局的该文本内容所占的屏幕宽度与该电子设备的屏幕宽度的比例为预设值。
本申请实施例中,根据第一布局格式布局的文本内容所占的屏幕宽度与电子设备的屏幕宽度成预设比例,这样有助于丰富的视觉效果,从而有助于提升用户的体验。
第二方面,提供了一种灭屏显示的装置,该装置具有实现上述第一方面及上述第一方面的可能实现方式中电子设备的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。
第三方面,提供了一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被电子设备执行时,使得电子设备执行上述第一方面中任一项可能的实现中的灭屏显示的方法。
第四方面,提供了一种芯片***,所述芯片***位于电子设备中,该芯片***包括片 上***SOC,该SOC用于执行上述第一方面中任一项可能的实现中的灭屏显示的方法。
第五方面,提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面任一项可能的实现中的灭屏显示的方法。
第六方面,提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第一方面任一项可能的实现中的灭屏显示的方法。
附图说明
图1是本申请实施例提供的电子设备的结构示意图。
图2是本申请实施例提供的电子设备的软件结构框图。
图3是本申请实施例提供的一组GUI。
图4是本申请实施例提供的另一组GUI。
图5是本申请实施例提供的另一GUI。
图6是本申请实施例提供的另一组GUI。
图7是本申请实施例提供的另一组GUI。
图8是本申请实施例提供的另一组GUI。
图9是本申请实施例提供的灭屏显示的方法的示意性流程图。
图10是本申请实施例提供的文本内容的布局格式的示意图。
图11是本申请实施例提供的文本内容的布局宽度与屏幕宽度的比值的示意图。
图12是本申请实施例提供的文本内容的布局格式的示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“复数个”或者“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏 194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器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总线接口通信,实现电子设备100的触摸功能。
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接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
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可以用于连接充电器为电子设备100充电,也可以用于电子设备100与***设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的 解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(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转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(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)。
电子设备100通过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)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过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等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳 机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感 器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。 电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过***SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时***多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件***可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android***为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
应理解,本申请实施例中的技术方案可以用于Android、IOS、鸿蒙等***中。
在介绍本申请实施例的技术方案之前,首先介绍本申请实施例所涉及的专业术语。
灭屏显示(always on display,AOD):灭屏显示就是当电子设备处于锁屏状态时,触摸显示屏部分区域保持长亮而显示时间和通知等信息。在灭屏后,电子设备利用显示屏194自发光的特性,能够点亮显示屏194上的部分区域用以显示时钟、日期、通知等信息,以便用户在灭屏的情况下可以查看相关信息。
图3是本申请实施例提供的一组图形用户界面(graphical user interface,GUI)。
参见图3中的(a)所示的GUI,该GUI为手机的桌面。该GUI包括多个应用图标,该多个应用图标中包括设置图标301。当手机检测到用户点击桌面上的设置图标301的操作后,显示如图3中的(b)所示的GUI。
一个实施例中,如图3中的(a)所示的位于手机屏幕下方的3个虚拟按键,也可以不显示;或者,在用户进行相应的设置后显示在桌面上。
参见图3中的(b)所示的GUI,该GUI为手机的设置界面。该GUI包括多个功能选项,该多个功能选项中包括无线和网络、设备连接、桌面和壁纸、声音、通知中心、应用和通知等。当手机检测到与用户点击桌面和壁纸302的操作后,显示如图3中的(c)所示的GUI。
参见图3中的(c)所示的GUI,该GUI为桌面和壁纸的功能设置界面。其中该设置界面中包括灭屏显示、杂志锁屏、主题、壁纸、桌面设置以及桌面风格等设置选项。当手机检测到用户点击灭屏显示对应的控件303后,显示如图3中的(d)所示的GUI。
参见图3中的(d)所示的GUI,该GUI为灭屏显示的设置界面。该设置界面中包括灭屏显示的预览界面、灭屏显示的开关控件以及艺术签名对应控件304。其中,当开启灭屏显示功能后,在手机处于灭屏时,可以显示时间、日期、短信和来电提醒等信息。当手机检测到用户点击控件304的操作后,手机可以显示如图3中的(e)所示的GUI。
参见图3中的(e)所示的GUI,当手机检测到用户点击控件304的操作后,手机可以弹出窗口305。手机可以在窗口305中提示用户输入艺术签名,当手机检测到用户输入了“MAKE IT POSSIBLE”并点击了确定控件的操作后,手机可以显示如图3中的(f)所示的GUI。
参见3中的(f)所示的GUI,该GUI为灭屏显示的另一设置界面。该设置界面中包括灭屏显示的另一预览界面。其中,该预览界面上包括了加入艺术签名后的灭屏显示界面。其中,艺术签名“MAKE IT POSSIBLE”按照如图所示的布局格式显示在时间和日期等信息的下方。当手机进入灭屏显示状态后,手机可以显示如图3中的(g)所述的GUI。
应理解,本申请实施例中,在灭屏显示界面上也可以只显示“MAKE IT POSSIBLE”这一艺术签名,而不显示时间、日期等信息。或者,在灭屏显示的设置界面上,还可以设置显示时间、日期等信息的时间段,例如,用户可以设置上午9点到下午6点这一时间段内,在灭屏显示界面上显示时间、日期等信息。
或者,在灭屏显示的设置界面上,还可以设置显示艺术签名的时间段,例如,用户可以设置在上午8点至晚上8点这一时间段内,在灭屏显示界面上显示艺术签名。
参见图3中的(g)所示的GUI,该GUI为手机在设置好艺术签名后的灭屏显示界面。该灭屏显示界面上可以显示日期、时间、艺术签名等信息。
参见图3中的(h)所示的GUI,该GUI为手机的另一灭屏显示界面。该灭屏显示界面上也包括了日期、时间、艺术签名等信息。其中,图3中的(g)所示的艺术签名的布局格式和图3中的(h)所示的艺术签名的布局格式不同。
一个实施例中,每当手机进入一次灭屏显示状态,那么手机可以自动切换一种艺术签名的布局格式。这样可以避免用户的审美疲劳,用户在每一次的灭屏显示界面都可以看到一种新的布局格式,有助于提升用户体验。
应理解,本申请实施例中在灭屏显示界面对艺术签名的布局格式进行切换的触发条件可以是:
(1)手机从灭屏显示状态进入非锁屏状态,再一次进入灭屏显示状态
例如,手机从如图3中的(g)所示的灭屏显示界面,通过密码验证、人脸识别或者指纹识别后进入了非锁屏状态。之后又从非锁屏状态进入灭屏显示状态。
又例如,如果用户没有设置密码验证、人脸识别或者指纹识别等解锁方式,手机在如图3中的(g)所示的灭屏显示状态,检测到用户点击电源键的操作后,进入非锁屏状态。之后又从非锁屏状态进入灭屏显示状态。
(2)手机从灭屏显示状态进入亮屏显示状态,再一次进入灭屏显示状态
例如,手机从如图3中的(g)所示的灭屏显示界面,检测到用户点击电源键后,进 入亮屏状态(亮屏状态下,手机可以是处于非锁屏状态,或者,手机也可以处于锁屏状态)。之后,手机又从亮屏显示状态进入灭屏显示状态。
应理解,本申请实施例中的灭屏显示状态是相对于显示屏的状态而言的。当电子设备的显示屏处于熄灭时,可以理解为电子设备进入了灭屏显示状态。亮屏显示状态是相对于灭屏显示状态而言的。示例性的,当电子设备处于灭屏显示状态时,该电子设备再一次检测到用户点击电源键的操作时,该电子设备进入亮屏显示状态。
还应理解,本申请实施例中锁屏状态可以是对于电子设备上锁的情况,上锁的情况包括但不限于:用户设置密码、指纹识别或者脸部识别等。
示例性的,当电子设备处于上锁时,用户在电子设备的桌面上操作完成后,可以点击电源键,该电子设备检测到用户点击电源键的操作后,进入锁屏状态;或者,电子设备一段时间内没有检测到用户操作,则自动进入锁屏状态。当电子设备处于锁屏状态时,其屏幕可以是熄灭的,也可以是点亮的。示例性的,用户按下电源键后,电子设备可以点亮并提示其输入密码,此时电子设备还是处于锁屏状态,但是其显示屏是点亮的;示例性的,另一个用户输入密码错误后,此时电子设备还是处于锁屏状态,但是其显示屏还是点亮的。
非锁屏状态是相对于锁屏状态而言的,当电子设备处于锁屏状态时,用户可以通过输入密码、指纹识别或者脸部识别等方式对该电子设备进行解锁,解锁后,该电子进入非锁屏状态。
还应理解,本申请实施例中的非锁屏状态以及亮屏状态也可以称之为非灭屏显示状态。
图4是本申请实施例提供的另一组GUI。
参见图4中的(a)所示的GUI,该GUI为灭屏显示的设置界面。该设置界面中包括灭屏显示的预览界面、灭屏显示的开关控件以及艺术签名对应控件。当手机检测到用户点击艺术签名对应控件的操作后,手机可以显示如图4中的(b)所示的GUI。
参见图4中的(b)所示的GUI,当手机检测到用户点击艺术签名对应控件的操作后,手机可以弹出窗口401。其中,窗口401中可以包括艺术签名的风格选择、输入文字、艺术签名的颜色选择等功能。
当手机检测到用户在窗口401中的文本输入框中输入艺术签名(例如,“YOU CAN DO ANYTHING IF YOU REALLY WANT TO”)、选择艺术签名的风格和颜色,并点击了确定控件的操作后,手机可以显示如图4中的(c)所示的GUI。
一个实施例中,窗口401中还可以包括更多的功能,例如,字体、字号等等选项。
应理解,图4中的(b)所示的窗口401中的功能选项仅仅是示意性的,手机还可以在窗口401中只提供输入艺术签名的文本信息的功能,从而手机可以通过自动切换艺术签名的布局风格,实现在每一次进入灭屏显示界面时,看到不同布局风格的艺术签名。
如图4中的(c)所示的GUI,该GUI为灭屏显示的另一设置界面。设置界面中包括灭屏显示的另一预览界面。其中,该预览界面上包括了加入艺术签名后的灭屏显示界面。其中,艺术签名“YOU CAN DO ANYTHING IF YOU REALLY WANT TO”按照如图所示的布局格式显示在时间和日期等信息的下方。当手机进入灭屏显示状态后,手机可以显示如图4中的(d)所述的GUI。
参见图4中的(d)所示的GUI,该GUI为手机在设置好艺术签名后的灭屏显示界面。 该灭屏显示界面上可以显示日期、时间、艺术签名等信息。其中,艺术签名被分为了三段式的布局格式,“YOU”在左侧,“CAN DO ANYTHING IF YOU”位于右侧上方,“REALLY WANT TO”位于右侧下方,经过布局后的艺术签名整***于时间、日期等信息的下方。
此后,手机每一次进入灭屏显示界面,手机都可以变化一种艺术签名的风格(或者,布局格式)。示例性的,图4中的(e)至(j)为手机每一次进入灭屏显示界面后,手机都可以显示不同的布局风格。
示例性的,参见图4中的(e)所示,艺术签名被分为了三段式的布局格式,“YOU”在左侧,“CAN DO ANYTHING IF YOU REALLY”位于右侧上方,“WANT TO”位于右侧下方。
示例性的,参见图4中的(f)所示,艺术签名被分为了三段式的布局格式,“IF”在右侧,“YOU CAN DO ANYTHING YOU REALLY”位于左侧上方,“WANT TO”位于左侧下方。
示例性的,参见图4中的(g)所示,艺术签名被分为了三段式的布局格式,“YOU”在右侧,“YOU CAN DO ANYTHING IF”位于左侧上方,“REALLY WANT TO”位于左侧下方。
示例性的,参见图4中的(h)所示,艺术签名被分为了三段式的布局格式,“YOU CAN DO ANYTHING”在上方,“IF YOU WANT TO”位于下方左侧,“REALLY”位于下方右侧。
示例性的,参见图4中的(i)所示,艺术签名被分为了三段式的布局格式,“YOU CAN DO ANYTHING”在上方,“IF”位于下方左侧,“YOU REALLY WANT TO”位于下方右侧。
示例性的,参见图4中的(j)所示,艺术签名被分为了三段式的布局格式,“YOU”在上方左侧,“CAN DO ANYTHING”在上方右侧,“IF YOU REALLY WANT TO”位于下方。
示例性的,参见图5中所示的GUI,艺术签名被分为了三段式的布局格式,“YOU CAN DO ANYTHING”在上方左侧,“IF”在上方右侧,“YOU REALLY WANT TO”位于下方。
一个实施例中,当手机在如图4中的(b)所示的窗口401中检测到用户点击了某一种风格后,手机可以在每一次进入灭屏显示界面后都始终显示该风格的艺术签名。示例性的,手机每一次进入灭屏显示界面后,都显示如图4中的(d)所示的风格。
一个实施例中,手机可以提供多种艺术签名的风格的选择。例如,在如图4中的(b)所示的窗口401中,手机可以支持用户选择多个风格。当手机检测到用户点击多个艺术签名的风格后,每一次手机进入灭屏显示界面时可以在这多个风格中进行切换(例如,手机可以随机在多个风格中进行切换)。
应理解,本申请实施例中,如果电子设备中用户设置的***语言是中文,那么用户可以设置英文、俄文等等其他语言的AOD;或者,如果***语言是英文,那么用户也可以设置中文、俄文等其他语言的AOD。
一个实施例中,当***语言发生切换时,手机可以提示用户是否需要将AOD显示的文字进行相应的切换。
图6是本申请实施例提供的另一组GUI。
参见图6中的(a)所示的GUI,该GUI为该GUI为灭屏显示的设置界面。该设置界面中包括灭屏显示的预览界面、灭屏显示的开关控件以及艺术签名对应控件。当手机检测 到用户点击艺术签名对应控件的操作后,手机可以显示如图6中的(b)所示的GUI。
与图4中的(a)所示的GUI不同的是,手机也可以自动调整时间、日期等信息的布局格式。例如图4中的(a)中时间、日期信息为居中对齐;而在图6中的(a)中,时间、日期信息在同一行且手机还可以在灭屏显示界面显示剩余电量的信息。
参见图6中的(b)所示的GUI,当手机检测到用户点击艺术签名对应控件的操作后,手机可以弹出窗口601。其中,窗口601中可以包括艺术签名的风格选择、输入文字、艺术签名的颜色选择等功能。
当手机检测到用户在窗口601中的文本输入框中输入艺术签名(例如,“任何艰难困苦都不能阻挡我们前进的步伐”)、选择艺术签名的风格和颜色,并点击了确定控件的操作后,手机可以显示如图6中的(c)所示的GUI。
参见图6中的(c)所示的GUI,该GUI为灭屏显示的另一设置界面。设置界面中包括灭屏显示的另一预览界面。其中,该预览界面上包括了加入艺术签名后的灭屏显示界面。其中,艺术签名“任何艰难困苦都不能阻挡我们前进的步伐”按照如图所示的布局格式显示在时间和日期等信息的上方。当手机进入灭屏显示状态后,手机可以显示如图6中的(d)所述的GUI。
本申请实施例中,手机在获取到用户输入的艺术签名后,可以先对该艺术签名进行分词判断。例如,对于“任何艰难困苦都不能阻挡我们前进的步伐”,手机在分词判断后可以将该文本拆分为“任何”、“艰难”、“困苦”、“都”、“不能”、“阻挡”、“我们”、“前进”、“的”和“步伐”。当手机检测到用户选择了某一种布局格式后,手机可以将这些分词按照该布局格式进行排布。具体的分布方式可以参照下文内部实现过程的描述,在此不再赘述。
参见图6中的(d)所示的GUI,该GUI为手机在设置好艺术签名后的灭屏显示界面。该灭屏显示界面上可以显示日期、时间、艺术签名等信息。其中,艺术签名被分为三段式布局格式,“任何”位于左侧,“艰难困苦”位于右侧上方,“都不能阻挡我们前进的步伐”位于右侧下方,经过布局后的艺术签名整***于时间、日期等信息的下方。
此后,手机每一次进入灭屏显示界面,手机都可以变化一种艺术签名的风格(或者,布局格式)。示例性的,图6中的(e)至(f)为手机每一次进入灭屏显示界面后,手机都可以显示不同的布局风格。
示例性的,如图6中的(e)所示,艺术签名被分为三段式布局格式,“任何艰难”位于左侧上方,“都不能阻挡我们前进的步伐”位于左侧下方,“困苦”位于右侧。
示例性的,如图6中的(f)所示,艺术签名被分为三段式布局格式,“任何艰难困苦都不能阻挡”位于上方,“我们的步伐”位于下方左侧,“前进”位于下方右侧。
本申请实施例的可以适用于AOD场景,同时也可以适用于呈现动态标题的场景。图7示出了本申请实施例提供的另一组GUI。
参见图7中的(a)所示,该GUI为手机的桌面。该GUI包括多个应用图标,该多个应用图标中包括应用商城图标701。当手机检测到用户点击桌面上的设置图标701的操作后,可以启动打开应用商城App,显示如图7中的(b)所示的GUI。
参见图7中的(b)所示,该GUI为应用商城的显示界面。该显示界面包括卡片702,其中动态图标702中可以用于呈现动态标题,该动态标题可以是对于广告或者某个App的介绍。如图7中的(b),该动态标题为“MAKE IT POSSIBLE”。其中,动态标题可以 被分为三段式布局格式,“MAKE”位于左侧,“IT”位于右侧上方,“POSSIBLE”位于右侧下方。
应理解,应用商城的显示界面上可以按照预设时长(例如,5秒)自动切换卡片。
参见图7中的(c)所示,该GUI为应用商城的另一显示界面。如图7中的(b),当该显示界面显示的卡片再一次切换到卡片702时,动态标题可以被分为两段式布局格式,“MAKE IT”位于上方,“POSSIBLE”位于下方。
应理解,本申请实施例中,手机可以实时从服务器获取到卡片702上显示的动态标题的布局格式,从而手机可以按照服务器给出布局格式显示卡片上的动态标题;或者,卡片702上显示的动态标题的布局格式也可以是经过手机布局后得到的。
还应理解,以上图7所示的GUI是以应用商城为例进行说明的,本申请实施例中并不限于此。还可以在一些需要展示类似信息的应用程序中进行相应的显示。例如,在微信读书的页面等。
图8示出了本申请实施例提供的另一组GUI。
参见图8中的(a)所示,当手机检测到用户点击艺术签名对应控件的操作后,手机可以弹出窗口801。其中,窗口801中可以包括艺术签名的风格选择、输入文字(例如,“无论是炎夏或寒冬我都很向往山门外山下的无束广阔的自由的天空山间忽晚山河已秋”)、艺术签名的颜色选择等功能。
参见图8中的(b)所示,该GUI为灭屏显示的设置界面。设置界面中包括灭屏显示的预览界面。其中,该预览界面上包括了加入艺术签名后的灭屏显示界面。其中,艺术签名“无论是炎夏或寒冬我都很向往山门外山下的无束广阔的自由的天空山间忽晚山河已秋”按照如图所示的布局格式显示在时间和日期等信息的上方。当手机进入灭屏显示状态后,手机可以显示如图8中的(c)所述的GUI。
参见图8中的(c)所示的GUI,该GUI为手机在设置好艺术签名后的灭屏显示界面。该灭屏显示界面上可以显示日期、时间、艺术签名等信息。
其中,艺术签名被分为了“无论是炎夏或寒冬我都很向往”、“山门外山下的无束广阔的自由的天空”、“山间忽晚山河已秋”这三段。
对于第一段“无论是炎夏或寒冬我都很向往”,被分为三段式的布局格式,“我都”位于左侧上方,“无论是炎夏或寒冬”位于左侧下方,“很向往”位于右侧。
对于第二端“山门外山下的无束广阔的自由的天空”,被分为三段式布局格式,“山门外”位于左侧上方,“山下的无束广阔的自由的”位于左侧下方,“天空”位于右侧。
或者,也可以理解为“山门外山下的无束广阔的自由的天空”被分为四段式布局格式,其中,“山门外”和“天空”的位置不变,“山下的无束广阔的自由的”相比于上述布局格式,又被分为两端,“山下的无束广阔的自由”位于左侧,“的”位于右侧。
对于第三段“山间忽晚山河已秋”,被分为三段式布局格式,其中,“人间”位于左侧,“忽晚”位于中间,“山河已秋”位于右侧。
一个实施例中,“天空”和“忽晚”字体颜色为黑色且还增加了白色背景,其余字的字体颜色均为白色。
经过布局后的艺术签名整***于时间、日期等信息的上方。
此后,手机每一次进入灭屏显示界面,手机都可以变化一种艺术签名的风格(或者, 布局格式)。示例性的,图8中的(d)至(f)为手机每一次进入灭屏显示界面后,手机都可以显示不同的布局风格。
一个实施例中,手机再一次进入灭屏显示界面时,可以变换艺术签名与时间、日期的位置关系。示例性的,从图8中的(c)至(d),艺术签名可以从时间、日期的上方变换至下方。
一个实施例中,手机再一次进入灭屏显示界面时,可以变换艺术签名的字体方向。示例性的,从图8中的(d)至(e),艺术签名可以变换为倾斜显示。
一个实施例中,手机再一次进入灭屏显示界面时,可以变换艺术签名的字体格式(例如,“宋体”、“楷体”等等)、字体颜色、字号等等。
本申请实施例,电子设备可以结合分词技术以及布局规则将文本进行动态自动布局,不需要用户自定义即可实现同一文本丰富的视觉效果,从而有助于提升用户的体验。
以上介绍了本申请实施例提供的几组GUI,下面介绍本申请实施例的内部实现过程。
图9示出了本申请实施例中灭屏显示的方法900的示意性流程图。如图9所示,该方法900可以由电子设备执行,该方法900包括:
S901,电子设备获取用户输入的文本内容。
示例性的,如图3中的(e)所示,电子设备获取用户输入的文本内容为“MAKE IT POSSIBLE”。
示例性的,如图4中的(b)所示,电子设备获取用户输入的文本内容为“YOU CAN DO ANYTHING IF YOU REALLY WANT TO”。
示例性的,如图6中的(b)所示,电子设备获取用户输入的文本内容为“任何艰难困苦都不能阻挡我们前进的步伐”。
一个实施例中,电子设备获取用户输入的文本内容的方式也已是用户输入的,也可以是***预设的。
S902,电子设备对该文本内容进行分词处理,得到多个分词。
示例性的,对于文本内容“MAKE IT POSSIBLE”,电子设备对该文本内容进行分词处理后得到三个分词“MAKE”、“IT”和“POSSIBLE”。
示例性的,对于文本内容“任何艰难困苦都不能阻挡我们前进的步伐”,电子设备对该文本内容进行分词处理后得到10个分词,分别为“任何”、“艰难”、“困苦”、“都”、“不能”、“阻挡”、“我们”、“前进”、“的”和“步伐”。
自然语言处理(natural language processing,NLP)中分词技术为一个比较基础的模块。对于英文等拉丁语系的语言,由于词之间有空格作为词边际,词语一般情况下都可以简单且准确的提取出来。而中文日文等文字,除了标点符号之外,字之间紧密相连,没有明显的词边界,因此很难将分词提取出来。目前,可以基于一些方式对文本内容进行分词处理。例如,基于词典的方式,就是字符串匹配的方式,将一串文本的文字片段和已有词典进行匹配,如果匹配到,则此文字片段就可以作为一个分词;又例如,可以通过正向最大匹配法、逆向最大匹配法或者双向最大匹配法来进行分词处理。
应理解,本申请实施例中,对于文本内容进行分词处理的方式可以参考现有技术的分词方式,为了简洁,在此不再赘述。示例性的,对于中文,可以按照词组来做分割;而对于英文,可以将英文中的每一个单词作为一个分词。
S903,电子设备根据文本内容的字数、分词数量和预设的映射关系,确定该文本内容的至少一个布局格式,该至少一个布局格式中包括第一布局格式。
一个实施例中,电子设备可以保存文本内容的字数、分词数以及布局样式的映射关系。
示例性的,表1示出了一种文本内容的字数、分词数以及布局样式的映射关系。
表1
Figure PCTCN2021108074-appb-000001
应理解,表1中分词组合这一列中,数字“2”表示2个字组合为一个分词;“3”表示3个字组合为一个分词;“+2”表示该文本内容中有2个字中每个字都是单独作为分词;“+3”表示3个字中每个字都是单独作为分词,或者,表示文本中1个字作为分词和2个字作为分词的组合;“+4”表示文本中2个字作为分词和2个字作为分词的组合。
还应理解,表1中所示的分词组合以及布局格式仅仅是示意性的,还可以有其他的分词组合方式以及布局格式,本申请实施例对此并不作任何限定。
还应理解,本申请实施例中确定布局格式的方式可以是电子设备通过映射关系查表得到的,也可以是直接通过字数和分词数计算得到的。电子设备可以通过查表或者通过字数和分词数得到多个布局格式,后续在每一次进入灭屏显示界面后随机显示,或者,电子设备也可以是在每次进入灭屏显示界面时实时确定布局格式,然后根据实时确定的结果进行 显示。
示例性的,对于文本内容“奋斗吧青春”,其进行分词处理后可以得到“奋斗”、“吧”和“青春”3个分词,那么可以按照“2/+1/2”的方式进行三段式布局。
示例性的,对于文本内容“越努力越幸运”,其进行分词处理后可以得到“越”、“努力”、“越”和“幸运”这4个分词。那么可以按照“2/+2/2”的分割方式进行三段式布局。
示例性的,对于文本内容“寸金难买寸光阴”,其进行分词处理后可以得到“寸”、“金”、“难”、“买”、“寸”和“光阴”这6个分词。那么可以按照“2/+5”的分割方式进行两段式布局。或者,也可以按照“2/+2/+3”的分割方式进行三段式布局:例如,将“光阴”布局在左侧,“寸”和“金”布局在右侧上方、“难”、“买”和“寸”布局在右侧下方。
示例性的,对于文本内容“致我们终将逝去的青春”,其进行分词处理后可以得到“致”、“我们”、“终将”、“逝去”、“的”和“青春”,可以按照“1/+4/+5”的分割方式进行三段式布局。其中,“致”布局在右侧,“我们”和“终将”布局在左侧上方,“逝去”、“的”和“青春”布局在左侧下方。
示例性的,对于文本内容“MAKE IT POSSIBLE”,其文本内容中的字数为3个,分词数量为3个,那么可以按照2段式的布局格式进行布局。
本申请实施例中,对于两段式的布局格式,两段的分割方式包括但不限于以下几种情况:
(1)①左侧;②右侧;
(2)①上方;②下方。
示例性的,对于“MAKE IT POSSIBLE”,可以将“MAKE IT”布局在左侧且将“POSSIBLE”布局在右侧。
示例性的,还可以将“MAKE IT”布局在上方且将“POSSIBLE”布局在下方。
示例性的,对于文本内容“任何艰难困苦都不能阻挡我们前进的步伐”,其文本内容中的字数为18个,分词数量为10个,那么可以按照三段式的布局格式进行布局。
本申请实施例中,对于三段式的布局格式,三段的分割方式包括但不限于以下几种情况:
(1)①右侧;②左侧上方;③左侧下方;
(2)①左侧;②右侧上方;③右侧下方;
(3)①上方;②下方左侧;③下方右侧;
(4)①下方;②上方左侧;③上方右侧。
示例性的,如图6中的(d)所示,可以按照第(2)种布局格式,对于文本内容“任何艰难困苦都不能阻挡我们前进的步伐”,可以将分词“任何”布局在左侧,将分词“艰难”和“困苦”布局在右侧上方,将分词“都”、“不能”、“阻挡”、“我们”、“前进”、“的”和“步伐”布局在右侧下方。
示例性的,如图6中的(e)所示,可以按照第(1)种布局格式,可以将分词“困苦”布局在右侧,将分词“任何”和“艰难”布局在左侧上方,将分词“都”、“不能”、“阻挡”、“我们”、“前进”、“的”和“步伐”布局在左侧下方。
示例性的,如图6中的(f)所示,可以按照第(3)种布局格式,可以将分词“任何”、“艰难”、“困苦”“都”、“不能”、“阻挡”布局在上方,将分词“我们”、“的”和“步伐”布局在 下方左侧,将分词“前进”布局在下方右侧。
应理解,本申请实施例中,电子设备在确定按照三段式布局格式且确定具体的分割方式(例如,按照(1)、(2)、(3)或者(4)中任一种)后,电子设备可以随机将这些分词填入。
如图6中的(d)所示,可以将“步伐”布局在左侧,“任何”、“艰难”和“困苦”布局在右侧上方,“都”、“不能”、“阻挡”、“我们”、“前进”和“的”布局在右侧下方。
S904,电子设备检测到锁屏操作。
示例性的,该锁屏操作可以是电子设备显示非锁屏界面时检测到用户点击电源键的操作。
示例性的,该锁屏操作也可以是电子设备也可以在检测到用户使用“一键锁屏”按键功能。
示例性的,该锁屏操作还可以是电子设备显示非锁屏界面,且在预设时长内未检测到用户的任何操作,那么电子设备的显示屏可以自动锁屏。
S905,电子设备响应于锁屏操作,在第一灭屏显示界面上,根据第一布局格式显示该文本内容。
一个实施例中,电子设备从第一灭屏显示界面进入非灭屏显示界面,并从该非灭屏显示界面进入第二灭屏显示界面,该电子设备在该第二灭屏显示界面上,根据第二布局格式显示该文本内容,其中,该至少一个布局格式包括该第二布局格式,且该第二布局格式不同于该第一布局格式。
示例性的,如图3中的(g)可以为第一灭屏显示界面,如图3中的(h)可以为第二灭屏显示界面。当手机从如图3中的(g)所示的灭屏显示界面进入非灭屏显示界面,并从非灭屏显示界面进入如图3中的(h)所示的灭屏显示界面后,手机可以更换文本内容“MAKE IT POSSIBLE”的布局风格。
一个实施例中,电子设备在S903中确定多个布局格式,那么电子设备可以随机的从多个布局格式中选择一个布局格式,从而在进行AOD时,根据该布局格式显示该文本内容。之后,电子设备每一次进入AOD时,都可以随机从多个布局格式中选择一种布局格式进行显示。
应理解,以上方法900是以AOD场景为例进行说明的,本申请实施例并不限于此。例如,用户可以在桌面上自己写签名,电子设备对该签名进行布局后显示成锁屏壁纸或者桌面壁纸,或者,也可以设置成电子设备桌面的一部分。
还应理解,说明书中对于AOD场景的实施例,也同样适用于锁屏壁纸或者桌面壁纸的场景。例如,电子设备在每次点亮屏幕时,锁屏壁纸或者桌面壁纸上文本内容的布局不同。
一个实施例中,电子设备还可以确定布局格式中每一部分(或者,每一区域)的高度和宽度。布局格式中的每一部分可以是矩形,圆形,椭圆形,三角形等等图形,本申请实施例并不限于此。下面以布局格式中的每一部分为矩形为例进行说明。
示例性的,如图10中的(a)所示,对于两段式布局,电子设备可以分别将“MAKE IT”放置在左侧的矩形框中,将“POSSIBLE”放置在右侧的矩形框中,其中左侧矩形框的高度为a,右侧矩形框的高度为b,其中,a等于b。
示例性的,如图10中的(a)所示,对于两段式布局,电子设备可以分别将“MAKE IT”放置在上方的矩形框中,将“POSSIBLE”放置在下方的矩形框中,其中上方矩形框的宽度为c,下方矩形框的宽度为d,其中,c等于d。
示例性的,如图10中的(b)所示,对于三段式布局,电子设备可以将“YOU”放置在左侧的矩形框中,“CAN DO ANYTHING IF YOU”放置在右侧上方的矩形框中,“REALLY WANT TO”放置在右侧下方的矩形框中。其中,左侧矩形框的高度a和右侧上方的矩形框的高度与右侧下方的矩形框的高度的和b相等;右侧上方的矩形框的宽度c与右侧下方的矩形框的宽度d相等。
示例性的,如图10中的(c)所示,对于三段式布局,电子设备可以将“YOU CAN DO ANYTHING”放置在上方的矩形框中,“IF YOU WANT TO”放置在下方左侧的矩形框中,“REALLY”放置在下方右侧的矩形框中。其中,下方左侧的矩形框的高度a与下方右侧的矩形框的高度b相等;上方的矩形框的宽度c和下方左侧的矩形框的宽度与下方右侧的矩形框的宽度的和d相等。
应理解,上述是以布局格式中的每一部分为矩形框为例进行说明的,本申请实施例中布局格式的每一部分还可以是其他形状的图像,例如椭圆,以两段式为例,当两个椭圆上下分布时,两个椭圆的长轴长度相等;当两个椭圆左右分布时,两个椭圆的短轴长度相等。
一个实施例中,电子设备最后生成的文本内容的布局宽度与屏幕宽度的比例为预设值。
示例性的,如图11所示,电子设备最终生成的文本内容的布局宽度与屏幕宽度的比值为3:4。
电子设备在进行AOD时,可以获取电子设备屏幕宽度的尺寸或者分辨率,从而可以按照预设值确定每个矩形框所占的宽度。
一个实施例中,电子设备最后生成的文本内容的布局高度与屏幕高度的比例为预设值。
一个实施例中,电子设备根据每个部分(或者,区域)中的字数,确定每个部分(或者,区域)中字体的粗细。
例如,字越少的部分其字体粗细值越大(或者,字体越粗);自越多的部分其字体粗细值越小(或者,字体越细)。
示例性的,如图12中(a)所示的两段式布局中,当“MAKE IT”布局在左侧,“POSSIBLE”布局在右侧时,“MAKE IT”的字体粗细值为300,“POSSIBLE”的字体粗细值为1000。
应理解,本申请实施例中的字体粗细值可以由数字(300、600或者1000)来表示,其中,数字越大表示文字越粗。
示例性的,当“MAKE”布局在左侧,“IT POSSIBLE”布局在右侧时,“MAKE”的字体粗细值为1000,“IT POSSIBLE”的字体粗细值为300。
示例性的,当“MAKE IT”布局在上方,“POSSIBLE”布局在下方时,“MAKE IT”的字体粗细值为300,“POSSIBLE”的字体粗细值为1000。
示例性的,当“MAKE”布局在上方,“IT POSSIBLE”布局在下方时,“MAKE”的字体粗细值为1000,“IT POSSIBLE”的字体粗细值为300。
示例性的,如图12中(b)所示的三段式布局中,当“YOU”布局在左侧,“CAN DO  ANYTHING IF YOU”布局在右侧上方时,“REALLY WANT TO”布局在右侧下方时,“YOU”的字体粗细值为1000,“CAN DO ANYTHING IF YOU”字体的粗细值为300,“REALLY WANT TO”的字体粗细值为600。
示例性的,当“YOU”布局在左侧,“CAN DO ANYTHING”布局在右侧上方时,“IF YOU REALLY WANT TO”布局在右侧下方时,“YOU”的字体粗细值为1000,“CAN DO ANYTHING”字体的粗细值为600,“IF YOU REALLY WANT TO”的字体粗细值为300。
示例性的,当“IF”布局在右侧,“YOU CAN DO ANYTHING”布局在左侧上方时,“YOU REALLY WANT TO”布局在左侧下方时,“IF”的字体粗细值为1000,“YOU CAN DO ANYTHING”字体的粗细值为600,“YOU REALLY WANT TO”的字体粗细值为300。
示例性的,当“YOU”布局在右侧,“YOU CAN DO ANYTHING IF”布局在左侧上方时,“REALLY WANT TO”布局在左侧下方时,“YOU”的字体粗细值为1000,“YOU CAN DO ANYTHING IF”字体的粗细值为300,“REALLY WANT TO”的字体粗细值为600。
示例性,当“YOU CAN DO ANYTHING”布局在上方,“IF YOU WANT TO”布局在下方左侧时,“REALLY”布局在下方右侧时,“YOU CAN DO ANYTHING”的字体粗细值为300,“IF YOU WANT TO”字体的粗细值为600,“REALLY”的字体粗细值为1000。
示例性,当“YOU CAN DO ANYTHING”布局在上方,“IF”布局在下方左侧时,“YOU REALLY WANT TO”布局在下方右侧时,“YOU CAN DO ANYTHING”的字体粗细值为300,“YOU REALLY WANT TO”字体的粗细值为600,“IF”的字体粗细值为1000。
示例性的,当“YOU”布局在上方左侧,“CAN DO ANYTHING”布局在上方右侧时,“IF YOU REALLY WANT TO”布局在下方时,“YOU”的字体粗细值为1000,“CAN DO ANYTHING”字体的粗细值为600,“IF YOU REALLY WANT TO”的字体粗细值为1000。
示例性的,当“YOU CAN DO ANYTHING”布局在上方左侧,“IF”布局在上方右侧时,“YOU REALLY WANT TO”布局在下方时,“YOU CAN DO ANYTHING”的字体粗细值为600,“IF”字体的粗细值为1000,“YOU REALLY WANT TO”的字体粗细值为300。
本申请实施例,电子设备可以结合分词技术以及布局规则将文本进行动态自动布局,不需要用户自定义即可实现同一文本丰富的视觉效果,从而有助于提升用户的体验。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (15)

  1. 一种灭屏显示的方法,其特征在于,所述方法应用于电子设备中,所述方法包括:
    获取文本内容;
    对所述文本内容进行分词处理,得到多个分词;
    根据所述文本内容的字数、所述多个分词的数量和预设的映射关系,确定所述文本内容的至少一个布局格式,其中所述预设的映射关系为字数、分词数和布局格式的映射关系,所述至少一个布局格式包括第一布局格式;
    检测到锁屏操作;
    响应于所述锁屏操作,在第一灭屏显示界面上,根据所述第一布局格式显示所述文本内容。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述电子设备从所述第一灭屏显示界面进入非灭屏显示界面,且从所述非灭屏显示界面进入第二灭屏显示界面时,在所述第二灭屏显示界面上,根据第二布局格式显示所述文本内容,
    其中,所述第二布局格式属于所述至少一个布局格式,所述第二布局格式不同于所述第一布局格式。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一布局格式中包括第一部分和第二部分,所述多个分词分别位于所述第一部分和所述第二部分,其中,
    当所述第一部分和所述第二部分为上下分布时,所述第一部分和所述第二部分的宽度相等;或者,
    当所述第一部分和所述第二部分为左右分布时,所述第一部分和所述第二部分的高度相等。
  4. 根据权利要求3所述的方法,其特征在于,
    所述第一部分包含的字数大于所述第二部分包含的字数,所述第一部分的字体粗细值小于所述第二部分的字体粗细值。
  5. 根据权利要求1或2所述的方法,其特征在于,所述第一布局格式中包括第一部分、第二部分和第三部分,所述多个分词位于所述第一部分、所述第二部分和所述第三部分中,其中,
    当所述第一部分和所述第二部分为上下分布,且所述第一部分和所述第二部分均位于所述第三部分的左侧或者右侧时,所述第一部分和所述第二部分的宽度相等且所述第一部分和所述第二部分的高度之和等于所述第三部分的高度;或者,
    当所述第一部分和所述第二部分为左右分布,且所述第一部分和所述第二部分均位于所述第三部分的上方或者下方时,所述第一部分和所述第二部分的高度相等且所述第一部分和所述第二部分的宽度之和等于所述第三部分的宽度。
  6. 根据权利要求5所述的方法,其特征在于,
    所述第三部分中包含的字数大于所述第一部分中包含的字数,所述第三部分的字体粗细值小于所述第一部分的字体粗细值。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,根据所述第一布局格式布局的所述文本内容所占的屏幕宽度与所述电子设备的屏幕宽度的比例为预设值。
  8. 一种电子设备,其特征在于,包括:
    显示屏;
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    获取文本内容;
    对所述文本内容进行分词处理,得到多个分词;
    根据所述文本内容的字数、所述多个分词的数量和预设的映射关系,确定所述文本内容的至少一个布局格式,其中所述预设的映射关系为字数、分词数和布局格式的映射关系,所述至少一个布局格式包括第一布局格式;
    检测到锁屏操作;
    响应于所述锁屏操作,在第一灭屏显示界面上,根据所述第一布局格式显示所述文本内容。
  9. 根据权利要求8所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    从所述第一灭屏显示界面进入非灭屏显示界面,且从所述非灭屏显示界面进入第二灭屏显示界面时,在所述第二灭屏显示界面上,根据第二布局格式显示所述文本内容;
    其中,所述第二布局格式属于所述至少一个布局格式,所述第二布局格式不同于所述第一布局格式。
  10. 根据权利要求8或9所述的电子设备,其特征在于,所述第一布局格式中包括第一部分和第二部分,所述多个分词位于所述第一部分和所述第二部分中,其中,
    当所述第一部分和所述第二部分为上下分布时,所述第一部分和所述第二部分的宽度相等;或者,
    当所述第一部分和所述第二部分为左右分布时,所述第一部分和所述第二部分的高度相等。
  11. 根据权利要求10所述的电子设备,其特征在于,所述第一部分包含的字数大于所述第二部分包含的字数,所述第一部分的字体粗细值小于所述第二部分的字体粗细值。
  12. 根据权利要求8或9所述的电子设备,其特征在于,所述第一布局格式中包括第一部分、第二部分和第三部分,所述多个分词位于所述第一部分、所述第二部分和所述第三部分中,其中,
    当所述第一部分和所述第二部分为上下分布,且所述第一部分和所述第二部分均位于所述第三部分的左侧或者右侧时,所述第一部分和所述第二部分的宽度相等且所述第一部分和所述第二部分的高度之和等于所述第三部分的高度;或者,
    当所述第一部分和所述第二部分为左右分布,且所述第一部分和所述第二部分均位于所述第三部分的上方或者下方时,所述第一部分和所述第二部分的高度相等且所述第一部分和所述第二部分的宽度之和等于所述第三部分的宽度。
  13. 根据权利要求12所述的电子设备,其特征在于,
    所述第三部分中包含的字数大于所述第一部分中包含的字数,所述第三部分的字体粗细值小于所述第一部分的字体粗细值。
  14. 根据权利要求8至13中任一项所述的电子设备,其特征在于,根据所述第一布局格式布局的所述文本内容所占的屏幕宽度与所述电子设备的屏幕宽度的比例为预设值。
  15. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-7中任一项所述的灭屏显示的方法。
PCT/CN2021/108074 2020-07-28 2021-07-23 一种灭屏显示的方法和电子设备 WO2022022406A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21849500.0A EP4184320A4 (en) 2020-07-28 2021-07-23 ALWAYS ON DISPLAY METHOD AND ELECTRONIC DEVICE
US18/006,839 US11934766B2 (en) 2020-07-28 2021-07-23 Always on display method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010738231.8A CN114003319B (zh) 2020-07-28 2020-07-28 一种灭屏显示的方法和电子设备
CN202010738231.8 2020-07-28

Publications (1)

Publication Number Publication Date
WO2022022406A1 true WO2022022406A1 (zh) 2022-02-03

Family

ID=79920496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108074 WO2022022406A1 (zh) 2020-07-28 2021-07-23 一种灭屏显示的方法和电子设备

Country Status (4)

Country Link
US (1) US11934766B2 (zh)
EP (1) EP4184320A4 (zh)
CN (1) CN114003319B (zh)
WO (1) WO2022022406A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357317B (zh) * 2022-07-18 2023-11-21 荣耀终端有限公司 终端设备的显示控制方法、装置、芯片及设备
CN117707449A (zh) * 2023-05-19 2024-03-15 荣耀终端有限公司 显示控制方法及相关设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365600A (zh) * 2013-08-01 2013-10-23 中科创达软件股份有限公司 一种信息显示方法及装置
CN105892981A (zh) * 2016-03-25 2016-08-24 乐视控股(北京)有限公司 一种显示方法、装置及移动设备
CN107404576A (zh) * 2017-07-19 2017-11-28 广东欧珀移动通信有限公司 锁屏杂志浏览方法、移动终端及计算机可读存储介质
CN109189879A (zh) * 2018-09-14 2019-01-11 腾讯科技(深圳)有限公司 电子书籍显示方法及装置
US20190265886A1 (en) * 2018-02-23 2019-08-29 Samsung Electronics Co., Ltd. Apparatus and method for providing function associated with keyboard layout

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8869026B2 (en) * 2010-10-29 2014-10-21 Konica Minolta Laboratory U.S.A., Inc. Using a layout engine to display an overflowed textbox
US20130007602A1 (en) * 2011-06-29 2013-01-03 Apple Inc. Fixed layout electronic publications
US9703757B2 (en) * 2013-09-30 2017-07-11 Google Inc. Automatically determining a size for a content item for a web page
US9658988B2 (en) * 2013-10-16 2017-05-23 Google Inc. Systems and methods to segment text for layout and rendering
US10691323B2 (en) * 2015-04-10 2020-06-23 Apple Inc. Column fit document traversal for reader application
US10353986B2 (en) * 2015-08-02 2019-07-16 Apple Inc. Automatically dividing text into multiple columns
CN105701082A (zh) 2016-01-13 2016-06-22 刘敏 演示文档的自动排版方法及***
US10713430B2 (en) 2016-11-30 2020-07-14 Google Llc Systems and methods for applying layout to documents
CN107451113A (zh) 2017-07-06 2017-12-08 广东小天才科技有限公司 一种演示文档自动排版方法及***
CN108255386B (zh) * 2018-02-12 2019-07-05 掌阅科技股份有限公司 电子书手写笔记的显示方法、计算设备及计算机存储介质
CN110264545A (zh) 2019-06-19 2019-09-20 北京字节跳动网络技术有限公司 图片生成方法、装置、电子设备及存储介质
US11922712B2 (en) * 2019-07-26 2024-03-05 Patnotate Llc Technologies for content analysis
US11436404B2 (en) * 2019-09-04 2022-09-06 Adobe Inc. Techniques for automated resizing of text content responsive to layout changes
US11604930B2 (en) * 2019-09-27 2023-03-14 Konica Minolta Business Solutions U.S.A., Inc. Generation of translated electronic document from an input image by consolidating each of identical untranslated text strings into a single element for translation
CN110798636B (zh) 2019-10-18 2022-10-11 腾讯数码(天津)有限公司 字幕生成方法及装置、电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365600A (zh) * 2013-08-01 2013-10-23 中科创达软件股份有限公司 一种信息显示方法及装置
CN105892981A (zh) * 2016-03-25 2016-08-24 乐视控股(北京)有限公司 一种显示方法、装置及移动设备
CN107404576A (zh) * 2017-07-19 2017-11-28 广东欧珀移动通信有限公司 锁屏杂志浏览方法、移动终端及计算机可读存储介质
US20190265886A1 (en) * 2018-02-23 2019-08-29 Samsung Electronics Co., Ltd. Apparatus and method for providing function associated with keyboard layout
CN109189879A (zh) * 2018-09-14 2019-01-11 腾讯科技(深圳)有限公司 电子书籍显示方法及装置

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US20230274075A1 (en) 2023-08-31
CN114003319B (zh) 2024-04-23
EP4184320A1 (en) 2023-05-24
CN114003319A (zh) 2022-02-01
US11934766B2 (en) 2024-03-19
EP4184320A4 (en) 2024-01-10

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
CN112532869B (zh) 一种拍摄场景下的图像显示方法及电子设备
WO2021000881A1 (zh) 一种分屏方法及电子设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021036585A1 (zh) 一种柔性屏显示方法和电子设备
CN111669459B (zh) 键盘显示方法、电子设备和计算机可读存储介质
CN114546190A (zh) 一种应用显示方法及电子设备
WO2021013132A1 (zh) 输入方法及电子设备
WO2022007862A1 (zh) 图像处理方法、***、电子设备及计算机可读存储介质
CN110559645B (zh) 一种应用的运行方法及电子设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2020107463A1 (zh) 一种电子设备的控制方法及电子设备
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
WO2022022406A1 (zh) 一种灭屏显示的方法和电子设备
CN113170037A (zh) 一种拍摄长曝光图像的方法和电子设备
CN116048243B (zh) 一种显示方法和电子设备
WO2020233593A1 (zh) 一种前景元素的显示方法和电子设备
WO2022052786A1 (zh) 皮肤敏感度的显示方法、装置、电子设备及可读存储介质
WO2021238740A1 (zh) 一种截屏方法及电子设备
WO2022135273A1 (zh) 一种调用其他设备能力的方法、电子设备和***
WO2023029916A1 (zh) 批注展示方法、装置、终端设备及可读存储介质
WO2022078116A1 (zh) 笔刷效果图生成方法、图像编辑方法、设备和存储介质
WO2022022381A1 (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: 21849500

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021849500

Country of ref document: EP

Effective date: 20230215

NENP Non-entry into the national phase

Ref country code: DE